/* China with Gyasi brand theme — loaded after the Webflow stylesheet.
   One place to keep the whole site on the brand palette:
   royal blue #1746BD, red #EB2D36, ink #101423, brand-light #eef2fd. */

:root {
  /* accent: template electric blue -> brand royal blue */
  --_color---blue: #1746BD;
  /* light tints: icy blues -> brand blue tints */
  --_color---light-blue: #b9cdf5;
  --_color---lily-white: #eef2fd;
  --_color---proclein: #eef2fd;
  /* darks: template navy -> brand ink */
  --_color---black-pearl: #101423;
  --_color---mirage: #171d33;

  /* type: match the April 2027 page and back office */
  --font-family--inter-tight: "Bricolage Grotesque", "Inter Tight", sans-serif;
  --font-family--microsoft-sans: "Bricolage Grotesque", Arial, sans-serif;
}

::selection {
  background: #1746BD;
  color: #fff;
}

/* The ghost hero headline clips its gradient to the text, but the paint
   box is the wrapper's 0.7em line box. Bricolage's descenders hang below
   it, so extend the paint area (negative margin cancels the layout shift)
   and keep a faint fill at the bottom stops. */
.hero-title-wrapper {
  background-image: linear-gradient(185deg, #fff 55%, #ffffff59 92%, #ffffff26 100%);
  padding-bottom: 64px;
  margin-bottom: -64px;
}

/* Logo sizing. The tail fin is ~3x taller than the wordmark, so the lockup is
   sized for the words (they match the nav links' weight) and the fin rises
   into the nav padding: negative margins keep the nav row at 58px. */
img.cwg-logo {
  height: 80px; width: auto; display: block;
  margin: -14px 0 -8px;
  filter: drop-shadow(0 1px 1.5px rgba(16,20,35,.45)) drop-shadow(0 0 10px rgba(16,20,35,.18));
}
@media (max-width: 991px) { img.cwg-logo { height: 70px; margin: -10px 0 -2px; } }
@media (max-width: 479px) { img.cwg-logo { height: 62px; margin: -8px 0 0; } }

/* Section badges: the template used a photo texture behind the pill, which
   made the label unreadable once real photos went in. Solid brand pills. */
.section-badge { background-image: none !important; background-color: #1746BD; }
.section-badge.w-variant-cbbf38fe-d1d9-25df-a3f8-ed2322a2901f,
.card-badge.w-variant-cbbf38fe-d1d9-25df-a3f8-ed2322a2901f { background-image: none !important; background-color: #eef2fd; }
.badge-text.w-variant-cbbf38fe-d1d9-25df-a3f8-ed2322a2901f { color: #1746BD; }

/* About page counters are now static figures (no rolling digits). */
.counter-text .counter-col { overflow: visible; height: auto; }

/* Contact page header: own group photo instead of the template hiker. */
.contact-hero.contact-bg { background-image: linear-gradient(180deg, rgba(16,20,35,.35), rgba(16,20,35,.75)), url('../images/cwg/contact-hero.jpg') !important; background-position: 50% 45%; background-size: cover; }

/* Soft scrim behind the nav so the white logo and links stay readable on
   pale hero photos (about, destinations, packages). Barely visible on dark ones. */
.navbar.w-nav { position: relative; }
.navbar.w-nav::before {
  content: ""; display: block; position: absolute; left: 0; right: 0; width: 100%; top: -20px; height: 150px;
  background: linear-gradient(180deg, rgba(16,20,35,.55) 0%, rgba(16,20,35,.28) 45%, rgba(16,20,35,0) 100%);
  pointer-events: none; z-index: -1;
}

/* Homepage hero, decluttered: one photo under an even ink overlay, one headline,
   one subline, one button. Content sits bottom-left. */
.home-hero-area {
  background-image: linear-gradient(180deg, rgba(16,20,35,.60) 0%, rgba(16,20,35,.30) 40%, rgba(16,20,35,.82) 100%), url('../images/image-14-2.webp') !important;
  background-size: auto, cover !important;
  background-position: 0 0, 50% 45% !important;
  background-repeat: no-repeat !important;
  min-height: min(92vh, 880px);
  display: flex; flex-direction: column;
}
.home-hero-area .hero-color-shape { display: none; }
.home-hero-area > .section { margin-top: auto; }
.home-hero-area .hero-wrapper { top: 0; margin-top: 0; }
.cwg-hero-sub { color: rgba(255,255,255,.86); font-size: 1.2rem; line-height: 1.45; max-width: 30rem; margin: 1rem 0 .75rem; }
@media (max-width: 479px) { .cwg-hero-sub { font-size: 1.05rem; } .home-hero-area { min-height: 82vh; } }

/* Nav dropdowns on theme: white card with a hairline border, brand tint on hover,
   brand blue for the current page, and a chevron on the pills that open a menu. */
.navdrop-list { padding-top: 10px; background: transparent; }
.drodown-link-wrap {
  padding: 8px; gap: 2px; min-width: 15.5rem; align-items: stretch;
  background: #fff; border: 1px solid #e6e6e2; border-radius: 16px;
  box-shadow: 0 14px 34px rgba(16,20,35,.16);
}
.navdrop-link {
  display: block; width: 100%; padding: 10px 14px; border-radius: 10px;
  font-family: "Bricolage Grotesque", sans-serif; font-size: 15px; font-weight: 500; line-height: 1.3;
  color: #101423; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.navdrop-link:hover, .navdrop-link:focus-visible { background: #eef2fd; color: #1746BD; }
.navdrop-link.w--current { background: #eef2fd; color: #1746BD; font-weight: 700; }
.navdrop-link.cwg-all { font-weight: 700; margin-bottom: 4px; border-radius: 10px 10px 4px 4px; box-shadow: 0 5px 0 -4px #e6e6e2; }
.navdrop .navlink.w-dropdown-toggle > div { display: flex; align-items: center; gap: 7px; }
.navdrop .navlink.w-dropdown-toggle > div::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); transition: transform .15s ease, margin .15s ease;
}
.navdrop .navlink.w-dropdown-toggle.w--open > div::after { transform: rotate(-135deg); margin-top: 3px; }
.navdrop .navlink.w-dropdown-toggle.w--open { background-color: #fff; color: #101423; }
@media (max-width: 991px) {
  /* the template fades the list in on hover; taps must not depend on that */
  .navdrop-list.w--open { position: static; padding-top: 8px; opacity: 1 !important; transform: none !important; }
  .drodown-link-wrap { min-width: 0; box-shadow: none; }
  .navdrop-link { white-space: normal; }
}
