/* Hotel Belcredi – site-wide announcement popup */
.hb-popup {
  position: fixed;
  inset: 0;
  z-index: 100000100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hb-popup.is-open {
  display: flex;
}

.hb-popup__dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #ffffff;
  color: #222222;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border-top: 5px solid #5d0c13;
  font-family: "Lato", "Raleway", Arial, sans-serif;
}

.hb-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #b31616;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.hb-popup__close:focus {
  outline: 2px solid #5e0a10;
  outline-offset: 2px;
}

.hb-popup__inner {
  padding: 28px 28px 24px;
}

.hb-popup__title {
  margin: 0 40px 14px 0;
  color: #5d0c13;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.hb-popup__content {
  font-size: 16px;
  line-height: 1.6;
  color: #222222;
}

.hb-popup__content p,
.hb-popup__content ul,
.hb-popup__content ol,
.hb-popup__content blockquote,
.hb-popup__content h2,
.hb-popup__content h3 {
  margin: 0 0 0.85em;
}

.hb-popup__content h2 {
  font-size: 1.25em;
  font-weight: 700;
  color: #5d0c13;
  line-height: 1.3;
}

.hb-popup__content h3 {
  font-size: 1.1em;
  font-weight: 700;
  color: #5d0c13;
  line-height: 1.35;
}

.hb-popup__content a {
  color: #5d0c13;
  text-decoration: underline;
}

.hb-popup__content a:hover,
.hb-popup__content a:focus {
  color: #b31616;
}

.hb-popup__content ul,
.hb-popup__content ol {
  padding-left: 1.35em;
}

.hb-popup__content li {
  margin: 0 0 0.35em;
}

.hb-popup__content li:last-child {
  margin-bottom: 0;
}

.hb-popup__content blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 0.35em 0 0.35em 0.9em;
  border-left: 3px solid #5d0c13;
  color: #444444;
}

.hb-popup__content > :last-child {
  margin-bottom: 0;
}

body.hb-popup-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .hb-popup {
    padding: 12px;
  }

  .hb-popup__inner {
    padding: 22px 18px 18px;
  }

  .hb-popup__title {
    font-size: 20px;
    margin-right: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-popup,
  .hb-popup__dialog {
    transition: none !important;
    animation: none !important;
  }
}
