.dark-text-secondary-color {
  color: var(--color-text-dark-secondary);
}
/* ============================================================================
  1. SHARED WAVE DIVIDERS
  ============================================================================ */
.wave-divider {
  position: relative;
  width: 100%;
  margin-top: calc(-1 * clamp(44px, calc(4vw + 24px), 64px));
  z-index: 4;
  pointer-events: none;
}

.wave-divider.default {
  margin-top: calc(-1 * clamp(44px, calc(4vw + 24px), 64px));
}

.waves {
  position: relative;
  width: 100%;
  height: clamp(40px, 8vw, 80px);
  display: block;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* ============================================================================
  2. PAGE BANNER
  ============================================================================ */
.banner-top {

  width: 100%;
  display: flex;
  align-items: center;
  max-height: 400px;
  overflow: hidden;
}

.banner-top img {
  width: 100vw;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--banner-parallax-offset, 0px), 0) scale(1.02);
  transform-origin: center center;
  will-change: transform;
  -webkit-transform: translate3d(0, var(--banner-parallax-offset, 0px), 0) scale(1.02);
  -moz-transform: translate3d(0, var(--banner-parallax-offset, 0px), 0) scale(1.02);
  -ms-transform: translate3d(0, var(--banner-parallax-offset, 0px), 0) scale(1.02);
  -o-transform: translate3d(0, var(--banner-parallax-offset, 0px), 0) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .banner-top img {
    transform: none;
    will-change: auto;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .wave-divider,
  .wave-divider.default {
    margin-top: -28px;
  }
}

/* ============================================================================
  3. PAGE SUB-HEADER
  ============================================================================ */
.news-section {
  padding: 60px 15px 0 15px;
  font-weight: 500;
  background: linear-gradient(
    to bottom,
    var(--color-primary-gold) 0%,
    #fff8d6 27%,
    var(--color-bg-primary) 47%
  );
}

.news-section.default {
  background: linear-gradient(
    to bottom,
    #fcc90b 0%,
    #fff8d6 42%,
    #feedc3 61%
  ) !important;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-header {
  margin-bottom: 35px;
}

.news-header h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--color-text-dark);
  font-family: var(--font-primary);
}

.news-header p {
  font-size: 16px;
  line-height: 1.6;
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  margin-bottom: 30px;
}

.news-header a {
  padding: 6px 9px;
  background: var(--color-card-bg-muted);
  color: var(--color-text-light);
  font-family: var(--font-primary);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;

  /* Dark navy body fill */
  background-color: #0b1528;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;

  /* Pill shape border radius */
  border-radius: 20px;

  /* Outer yellow accent border */
  border: 2px solid #ffcc00;

  box-shadow:
    inset 2px 3px 6px rgba(255, 255, 255, 0.25),
    0px 6px 14px rgba(220, 160, 0, 0.4);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* ============================================================================
  4. SHARED CTA BUTTONS
  ============================================================================ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-primary-gold);
  color: var(--color-text-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--color-secondary-gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(170, 124, 17, 0.18), 0 1px 3px rgba(21, 41, 74, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(170, 124, 17, 0.24), 0 2px 5px rgba(21, 41, 74, 0.14);
}

.btn-pill:focus-visible {
  outline: 3px solid rgba(21, 41, 74, 0.35);
  outline-offset: 3px;
}

.btn-pill:active {
  transform: translateY(2px);
  box-shadow: 0 2px 5px rgba(21, 41, 74, 0.14);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  stroke: #eab308;
  transition: transform 0.2s ease;
}

.btn-pill:hover .btn-arrow {
  transform: translateY(2px);
}
.news-section-card {
  min-height: 600px;
  padding: 0 28px 50px 28px;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
}
.news-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.news-header-row::after {
  content: "";
  width: 100px;
  height: 27px;
  background:
                /* Top line: 60px wide, 2px thick */
    linear-gradient(var(--color-text-dark), var(--color-text-dark)) no-repeat
      right top / 60px 8px,
    /* Bottom line: 100px wide, 2px thick */
    linear-gradient(var(--color-text-dark), var(--color-text-dark)) no-repeat
      right bottom / 100px 8px;
}

.news-header-row span {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  background-color: #fdf9ee;
  padding: 0 23px;
  border-radius: 120px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0px 0px 24px -1px rgba(0, 0, 0, 0.19);
}

.news-header-row img {
  height: 2.3em;
  width: auto;
  object-fit: contain;
  padding-right: 8px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.news-header h2 span {
  color: var(--color-primary-gold);
}

/* ============================================================================
  5. SHARED CONTENT CARDS
  ============================================================================ */
.embossed-button {
  text-decoration: none;
  background: var(--color-primary-gold);
  color: var(--color-text-dark);
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  box-shadow:
    inset 0px 2px 2px rgba(255, 255, 255, 0.4),
    inset 0px -3px 3px rgba(0, 0, 0, 0.25),
    0px 6px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease-in-out;
}

.embossed-button:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0px 2px 2px rgba(255, 255, 255, 0.5),
    inset 0px -3px 3px rgba(0, 0, 0, 0.25),
    0px 8px 16px rgba(0, 0, 0, 0.2);
}

.embossed-button:active {
  transform: translateY(2px);
  box-shadow:
    inset 0px 3px 5px rgba(0, 0, 0, 0.3),
    0px 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .banner-top {
    height: clamp(220px, 62vw, 320px);
    max-height: none;
    padding-bottom: 0;
    margin-top: 65px;
  }

  .banner-top img {
    height: 100%;
    max-height: none;
    margin-top: 0;
    object-fit: cover;
    transform: translate3d(0, var(--banner-parallax-offset, 0px), 0)      scale(1.08);
    -webkit-transform: translate3d(0, var(--banner-parallax-offset, 0px), 0);
    -moz-transform: translate3d(0, var(--banner-parallax-offset, 0px), 0);
    -ms-transform: translate3d(0, var(--banner-parallax-offset, 0px), 0);
    -o-transform: translate3d(0, var(--banner-parallax-offset, 0px), 0);
}

  .wave-divider,
  .wave-divider.default {
    margin-top: -40px;
  }

  .waves {
    height: 40px;
  }

  .news-section {
    padding: 30px 28px 0 28px;
  }
  .news-header-row span{
    font-size: 0.85rem !important;
  }
}

.promo-cta-btn {
  margin-top: 20px;
  display: inline-block;
  background-color: var(--color-primary-gold);
  color: var(--color-text-dark-secondary);
  padding: 15px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(197, 155, 8, 0.3);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border:none;
}
.promo-cta-btn:hover {
  background-color: var(--color-secondary-gold); /* Ensure this hex contrasts clearly with --color-primary-gold */
  box-shadow: 0 6px 15px rgba(197, 155, 8, 0.45);
  color: var(--color-text-light);
  cursor: pointer;
}

.content-location-container {
  gap: 30px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 15px;
  margin-top: 50px;
  display: grid;
  /* Centers the entire grid column group within the outer container */
  justify-content: center;
  /* Centers each card inside its individual grid track */
  justify-items: center;

  /* Lock track size to 360px so leftover space is distributed evenly on margins */
  grid-template-columns: repeat(auto-fit, 360px);
  padding: 15px 0 100px;
}

.card-wrapper {
  position: relative;
}

.card-wrapper::before {
  content: "";
  position: absolute;
  top: 12px; /* Shifts down */
  left: 12px; /* Shifts right */
  right: -12px; /* Extends right edge */
  bottom: -12px; /* Extends bottom edge */
  background-color: #fcc90b; /* Yellow/Gold brand accent */
  border-radius: 20px; /* Matching rounded corners */
  z-index: 0; /* Sits directly behind the image slider */
}

/* --- CARD CONTAINER --- */
.card {
  position: relative;
  width: 100%;
  max-width: 360px;
  /* Maintains the precise 360x320 ratio automatically */
  aspect-ratio: 360 / 320;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  min-width: 0; /* Allows grid item to shrink on mobile */
  
}

.card > a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit; /* Matches parent card radius */
  overflow: hidden;       /* Clips the zoomed image within rounded corners */
}

/* --- CARD CONTAINER --- */
.card {
  position: relative;
  width: 360px;
  height: 320px;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.5));
  -webkit-filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}



/* --- IMAGE WITH TRANSPARENT CUTOUT --- */
.card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Mathematically precise cutout — creates REAL transparency for the gradient */
  /*clip-path: path(
    "M 0,10 A 10,10 0 0,1 10,0 L 264,0 A 10,10 0 0,1 274,10 L 274,74 A 10,10 0 0,0 284,84 L 350,84 A 10,10 0 0,1 360,94 L 360,310 A 10,10 0 0,1 350,320 L 10,320 A 10,10 0 0,1 0,310 Z"
  );*/
  /* clip-path: url(#cardCutoutScalable); */
  /* Smooth animation curve and timing */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
  will-change: transform;
}

.card:hover .card-bg {
  transform: scale(1.08); /* Adjust zoom level (1.05 to 1.1 works best) */
}


.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 3;
}

.card-info h1 {
  color: var(--color-text-light);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- GLASS TAGS --- */
.tag-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 250px;
  position: absolute;
  top: 10px;
  left: 14px;
  z-index: 0;
}

.glass-tag {
  background: #2f292969;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

/* --- FLOATING BUTTON --- */
.fab-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 62px;
  height: 62px;
  background-color: #f26a4f;
  border-radius: 12px;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(242, 106, 79, 0.35);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  box-shadow:
    inset 0px 2px 2px rgba(255, 255, 255, 0.4),
    inset 0px -3px 3px rgba(0, 0, 0, 0.25),
    0px 6px 12px rgba(0, 0, 0, 0.15);
}

.fab-btn:hover {
  background-color: #dc583e;
  transform: scale(1.05);
}

/* Outer Section Wrapper (handles bottom border) */
.header-section {
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* Subtle dividing line */
  font-family: sans-serif;
  margin-bottom: 40px;
}

.header-section h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0d2137;
  margin: 0;
  line-height: 1.1;
}

/* Flex Container (splits left/right content) */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Aligns subtitle text to baseline/bottom of heading */
  gap: 24px;
}

/* Left Content Styles */
.overline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 40px;
}

.overline::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #f3b900;
  border-radius: 50%;
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 14px;
  background-color: #f3b900;
  border-radius: 8px;
  z-index: -1;
}