/* Self-hosted and preloaded (see index.php); "optional" avoids a late font swap shifting the hero (CLS). */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/dm-serif-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hero banner: orange offer panel beside the building image; dark accents reuse --theme-color3. */
.tv-hero-section .hero-inner .hero-slider .hero-area.fh-banner {
  --fh-orange: #e8501a;
  --fh-orange-2: #f97c2e;
  --fh-cream: #fff7ea;
  --fh-gold: #ffd59a;
  --fh-dark: var(--theme-color3, #083542);
  --fh-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  min-height: clamp(560px, 44vw, 720px);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--fh-orange) 0%, var(--fh-orange-2) 100%);
  box-shadow: 0 24px 60px -30px rgba(80, 40, 10, 0.45);
  color: #fff;
}

.tv-hero-section .hero-inner .hero-slider .hero-area.fh-banner::before {
  display: none;
}

/* Image column */
.fh-banner .fh-media {
  position: relative;
  order: 2;
  min-height: 100%;
}

.page-wrapper .fh-banner .fh-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Soft orange blend where the image meets the panel. */
/* .fh-banner .fh-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  z-index: 1;
  background: linear-gradient(90deg, var(--fh-orange-2) 0%, rgba(249, 124, 46, 0) 100%);
  pointer-events: none;
} */

.fh-banner .fh-tag {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 9px 16px;
  border-radius: 6px;
  background: rgba(8, 53, 66, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Text column */
.fh-banner .fh-content {
  position: relative;
  z-index: 2;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 5.5vw, 88px);
}

.fh-banner .fh-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: var(--fh-dark);
  color: var(--fh-cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fh-banner .fh-pill i {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--fh-cream);
  border-radius: 50%;
  font-size: 12px;
}

.fh-banner .fh-title {
  margin: 24px 0 0;
  max-width: 12ch;
  color: #fff;
  font-family: var(--fh-serif);
  font-size: clamp(40px, 3.9vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.fh-banner .fh-rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 24px 0 22px;
  border-radius: 3px;
  background: var(--fh-gold);
}

.fh-banner .fh-location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fh-banner .fh-location i {
  margin-top: 2px;
  color: var(--fh-gold);
}

.fh-banner .fh-location small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.68em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.fh-banner .fh-price {
  display: flex;
  align-items: center;
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(36px, 3.4vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fh-banner .fh-price-value {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--fh-gold);
}

.fh-banner .fh-price sup {
  top: -0.6em;
  font-size: 0.55em;
}

.fh-banner .fh-offer,
.fh-banner .fh-cta {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

.fh-banner .fh-offer {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--fh-cream);
  box-shadow: 0 10px 24px -14px rgba(60, 20, 0, 0.6);
}

.fh-banner .fh-offer span {
  display: block;
  color: #b2401a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fh-banner .fh-offer strong {
  display: block;
  margin-top: 2px;
  color: var(--fh-dark);
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.fh-banner .fh-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--fh-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.fh-banner .fh-cta:hover,
.fh-banner .fh-cta:focus-visible {
  background: #0c4a5c;
  color: #fff;
  transform: translateY(-2px);
}

.fh-banner .fh-cta svg {
  transition: transform 0.25s ease;
}

.fh-banner .fh-cta:hover svg {
  transform: translateX(4px);
}

/* Laptops / tablets landscape */
@media (max-width: 1199px) {
  .tv-hero-section .hero-inner .hero-slider .hero-area.fh-banner {
    grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
    min-height: 600px;
  }
}

/* Mobile and portrait tablets: content on top, banner image full width underneath. */
@media (max-width: 991px) {
  .tv-hero-section .hero-inner .hero-slider .hero-area.fh-banner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .fh-banner .fh-content {
    order: 1;
    width: 100%;
    padding: 28px 20px;
  }

  /* Image fills the full width; the fixed ratio reserves its space before it loads (no CLS). */
  .fh-banner .fh-media {
    order: 2;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .fh-banner .fh-tag {
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    font-size: 10px;
  }

  .fh-banner .fh-pill {
    font-size: 11px;
    padding: 6px 14px 6px 6px;
  }

  .fh-banner .fh-pill i {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .fh-banner .fh-title {
    max-width: none;
    margin-top: 16px;
    font-size: clamp(32px, 8.6vw, 52px);
  }

  .fh-banner .fh-rule {
    margin: 16px 0 14px;
  }

  .fh-banner .fh-location {
    font-size: clamp(15px, 4vw, 20px);
  }

  .fh-banner .fh-price {
    margin-top: 16px;
    font-size: clamp(32px, 9vw, 44px);
  }

  .fh-banner .fh-price-value {
    margin-left: 12px;
    padding-left: 12px;
  }

  .fh-banner .fh-offer,
  .fh-banner .fh-cta {
    max-width: 480px;
  }

  .fh-banner .fh-offer {
    margin-top: 18px;
    padding: 12px 16px;
  }

  .fh-banner .fh-offer span {
    font-size: 11px;
  }

  .fh-banner .fh-offer strong {
    font-size: clamp(18px, 5vw, 24px);
  }

  .fh-banner .fh-cta {
    margin-top: 12px;
    padding: 13px 16px;
    font-size: 14px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .fh-banner .fh-content {
    padding: 24px 16px;
  }

  .fh-banner .fh-offer strong {
    font-size: 16px;
  }
}
