/* ==========================================================================
   Wind Horse Tours — destination landing pages
   (template-parts/destination/landing.php, all destination templates)
   Fonts match the itinerary pages: Miller Display (headings, self-hosted
   below) + Merriweather Sans (body/UI), with Caveat for the hero tagline;
   Google Fonts are enqueued in functions.php. Everything is scoped to .bt-page and prefixed bt- so the
   site's Bootstrap (.card, .btn, .badge, .breadcrumb…) cannot leak in.
   ========================================================================== */

@font-face { font-family: "Miller Display"; src: url('../fonts/MillerDisplay-Roman.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Miller Display"; src: url('../fonts/MillerDisplay-Semibold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Miller Display"; src: url('../fonts/MillerDisplay-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }

.bt-page {
  --wh-maroon: #791E30;
  --wh-maroon-dark: #5E1624;
  --wh-orange: #E07B2E;
  --wh-gold: #8a5d17;
  --wh-gold-light: #F5D98B;
  --wh-blue: #1d4f7a;
  --wh-ink: #1f1b1a;
  --wh-text: #2a2322;
  --wh-muted: #5c5250;
  --wh-line: #e3dbd3;
  --wh-line-soft: #ece4dc;
  --wh-page: var(--wh-page-bg, #ECECE8);
  --wh-card: #ffffff;
  --wh-cream: #f7efe3;
  --wh-radius: 10px;
  --wh-shadow: 0 1px 2px rgba(0, 0, 0, .07);
  --wh-max: 1200px;
  --wh-gutter: clamp(16px, 5vw, 80px);
  --font-head: "Miller Display", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Merriweather Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  background: var(--wh-page);
  color: var(--wh-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.bt-page *, .bt-page *::before, .bt-page *::after { box-sizing: border-box; }

.bt-page h1, .bt-page h2, .bt-page h3, .bt-page h4 { font-family: var(--font-head); color: var(--wh-maroon); margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.bt-page p { margin: 0; line-height: 1.7; color: var(--wh-text); }
.bt-page a { color: var(--wh-maroon); }
.bt-page a:hover { color: var(--wh-maroon-dark); }
.bt-page img { max-width: 100%; display: block; }
.bt-page ul, .bt-page ol { margin: 0; padding: 0; list-style: none; }
.bt-page button { font-family: inherit; }

.bt-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.bt-container { width: 100%; max-width: calc(var(--wh-max) + 2 * var(--wh-gutter)); margin: 0 auto; padding: 0 var(--wh-gutter); }

/* ---------- Buttons & small parts ---------- */
.bt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border: 2px solid var(--wh-maroon); border-radius: 6px;
  background: var(--wh-maroon); color: #fff; text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.bt-page .bt-btn { color: #fff; }
.bt-page .bt-btn:hover { background: var(--wh-maroon-dark); border-color: var(--wh-maroon-dark); color: #fff; }
.bt-page .bt-btn--ghost { background: #fff; color: var(--wh-maroon); }
.bt-page .bt-btn--ghost:hover { background: var(--wh-cream); border-color: var(--wh-maroon); color: var(--wh-maroon); }
.bt-page .bt-btn--light { background: #fff; color: var(--wh-maroon); border-color: #fff; }
.bt-page .bt-btn--light:hover { background: var(--wh-cream); border-color: var(--wh-cream); color: var(--wh-maroon); }
.bt-page .bt-btn--outline-light { background: transparent; border-color: #fff; }

.bt-eyebrow { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wh-gold); }
.bt-page .bt-muted { color: var(--wh-muted); }
.bt-more { font-weight: 700; font-size: 15px; white-space: nowrap; }

.bt-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid #d6ccc3; border-radius: 999px; background: #fff;
  text-decoration: none; font-size: 14px; cursor: pointer;
}
.bt-page .bt-chip { color: #3b2a2a; }
.bt-page .bt-chip:hover { border-color: var(--wh-maroon); color: var(--wh-maroon); }
.bt-chip--sm { min-height: 36px; font-size: 13px; }

.bt-card {
  background: var(--wh-card); border-radius: var(--wh-radius); box-shadow: var(--wh-shadow);
  padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 20px;
}

.bt-section { display: flex; flex-direction: column; gap: 22px; }
.bt-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.bt-section__titles { display: flex; flex-direction: column; gap: 6px; }
.bt-page .bt-section__titles h2 { font-size: clamp(24px, 3vw, 30px); }

/* ---------- Hero ---------- */
.bt-hero {
  position: relative; min-height: clamp(260px, 38vw, 480px);
  display: flex; align-items: flex-end; justify-content: center;
  background: #4d3f3a center / cover no-repeat;
  background-image: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%), var(--bt-hero, none);
}
.bt-page .bt-hero__tagline {
  margin: 0 0 clamp(24px, 5vw, 56px); padding: 0 24px; text-align: center; color: #fff;
  font-family: 'Caveat', cursive; font-weight: 600; font-size: clamp(34px, 5vw, 58px); line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* ---------- Breadcrumb ---------- */
.bt-breadcrumb { background: #fff; border-bottom: 1px solid var(--wh-line); font-size: 14px; }
.bt-page .bt-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 auto; padding-top: 14px; padding-bottom: 14px; }
.bt-breadcrumb li + li::before { content: "›"; color: #9a8f8a; margin-right: 10px; }
.bt-page .bt-breadcrumb a { color: var(--wh-ink); text-decoration: none; }
.bt-breadcrumb [aria-current="page"] { color: var(--wh-maroon); }

/* ---------- Main layout ---------- */
.bt-main { display: flex; flex-direction: column; gap: 32px; padding-top: 40px; padding-bottom: 64px; }

/* Intro */
.bt-page .bt-intro > h1 { font-size: clamp(28px, 3.4vw, 36px); }

/* Editor content inside the intro card (headings, paragraphs, lists) */
.bt-content { display: flex; flex-direction: column; gap: 14px; }
.bt-content > :first-child { margin-top: 0; }
.bt-page .bt-content h1 { font-size: clamp(28px, 3.4vw, 36px); }
.bt-page .bt-content h2 { font-size: 24px; margin-top: 16px; }
.bt-page .bt-content h3 { font-size: 20px; margin-top: 12px; }
.bt-page .bt-content h4 { font-size: 17px; color: var(--wh-ink); margin-top: 8px; }
.bt-page .bt-content h1 + h3 { margin-top: 0; color: var(--wh-ink); }
.bt-page .bt-content h2 strong, .bt-page .bt-content h4 strong { font-weight: inherit; }
.bt-page .bt-content p { font-size: 16px; }
.bt-page .bt-content p strong { color: var(--wh-ink); }
.bt-page .bt-content ul, .bt-page .bt-content ol {  padding-left: 22px; }
.bt-page .bt-content ul { list-style: disc; }
.bt-page .bt-content ol { list-style: decimal; }
.bt-page .bt-content li { line-height: 1.65; color: var(--wh-text); padding-left: 4px; margin-bottom: 8px; }
.bt-page .bt-content li::marker { color: var(--wh-maroon); font-weight: 700; }
.bt-page .bt-content a { font-weight: 700; }
.bt-page .bt-content img { height: auto; border-radius: var(--wh-radius); }

/* ---------- Search ---------- */
.bt-search { position: relative; z-index: 5; width: 100%; max-width: 860px; align-self: center; display: flex; flex-direction: column; gap: 10px; }
.bt-search__box { position: relative; margin: 0; }
.bt-search__field {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 6px 0 22px;
  border: 1px solid #cbbcae; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.bt-search__field:focus-within { border-color: var(--wh-maroon); box-shadow: 0 0 0 3px rgba(121,30,48,.15); }
.bt-search__field svg { flex-shrink: 0; }
.bt-page .bt-search__input {
  flex: 1; min-width: 0; min-height: 52px; height: auto; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none;
  font-family: var(--font-body); font-size: 16px; color: var(--wh-ink);
}
.bt-search__input::-webkit-search-cancel-button { display: none; }
.bt-search__clear { border: 0; background: none; cursor: pointer; font-size: 22px; color: var(--wh-muted); min-width: 44px; min-height: 44px; }
.bt-search__clear[hidden] { display: none; }
.bt-search__submit {
  flex-shrink: 0; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--wh-maroon); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 15px; cursor: pointer;
}
.bt-search__submit:hover { background: var(--wh-maroon-dark); }
.bt-search__results {
  position: absolute; left: 0; right: 0; top: 68px; max-height: 440px; overflow: auto;
  background: #fff; border: 1px solid var(--wh-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.16); padding: 8px;
}
.bt-search__results[hidden] { display: none; }
.bt-result { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-bottom: 1px solid #f1ebe5; }
.bt-result:last-child { border-bottom: 0; }
.bt-result__tag { flex-shrink: 0; width: 92px; text-align: center; padding: 4px 0; border-radius: 4px; font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.bt-result__tag--trip { background: #f4ece6; color: var(--wh-maroon-dark); }
.bt-result__tag--guide { background: #eef2f6; color: var(--wh-blue); }
.bt-result__tag--experience { background: var(--wh-cream); color: #7a5213; }
.bt-result__tag--booking { background: #e8f3ec; color: #1f6b3a; }
.bt-result__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bt-result__title { font-family: var(--font-body); font-weight: 700; font-size: 15px; text-decoration: none; }
.bt-page .bt-result__meta { font-size: 13px; color: var(--wh-muted); line-height: 1.4; }
.bt-page .bt-result__book { flex-shrink: 0; padding: 8px 12px; border: 1px solid #b9cadb; border-radius: 6px; font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--wh-blue); text-decoration: none; }
.bt-page .bt-search__empty { padding: 16px 12px; font-size: 15px; color: #3b3331; }
.bt-search__popular { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.bt-search__popular > span { font-size: 13px; color: var(--wh-muted); }

/* ---------- Trip cards ---------- */
.bt-trip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bt-trip { background: #fff; border-radius: var(--wh-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.bt-trip[hidden] { display: none; }
.bt-trip__media { position: relative; display: block; height: 150px; background: #4d3f3a; overflow: hidden; }
.bt-trip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bt-trip__media:hover img { transform: scale(1.04); }
.bt-trip__days { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--wh-ink); border-radius: 999px; padding: 4px 12px; font-family: var(--font-body); font-weight: 700; font-size: 13px; }
.bt-trip__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bt-page .bt-trip__title { font-family: var(--font-body); font-size: 17px; line-height: 1.35; }
.bt-trip__title a { text-decoration: none; }
.bt-trip__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-body); font-weight: 700; font-size: 12px; }
.bt-page .bt-trip__dates { font-size: 13px; color: var(--wh-blue); }
.bt-trip .bt-btn { margin-top: auto; }

.bt-tag { padding: 4px 10px; border-radius: 4px; }
.bt-tag--style { background: #eef2f6; color: var(--wh-blue); }
.bt-tag--days { background: var(--wh-cream); color: #7a5213; }

.bt-badge { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .02em; white-space: nowrap; }
.bt-badge--group { background: var(--wh-maroon); color: #fff; }
.bt-badge--private { background: #fff; color: var(--wh-maroon); border: 1.5px solid var(--wh-maroon); }

/* ---------- Popular trips list ---------- */
.bt-popular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.bt-page .bt-popular h3 { font-size: 18px; color: var(--wh-ink); margin-bottom: 8px; }
.bt-popular li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--wh-line-soft); }
.bt-popular li a { font-family: var(--font-body); font-weight: 700; font-size: 16px; text-decoration: none; }
.bt-popular li span { flex-shrink: 0; font-size: 14px; color: var(--wh-muted); }

/* ---------- Filters ---------- */
.bt-page .bt-filters { padding: 24px 28px; gap: 16px; }
.bt-filters__group { display: flex; flex-direction: column; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.bt-page .bt-filters__group legend { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--wh-ink); padding: 0; margin-bottom: 12px; width: auto; float: none; }
.bt-filters__styles, .bt-filters__durations { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.bt-style {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 104px; padding: 14px 8px; background: #fff; border: 1px solid var(--wh-line); border-radius: var(--wh-radius);
  font-family: var(--font-body); font-weight: 600; font-size: 13px; line-height: 1.3; color: #3b2a2a; text-align: center; cursor: pointer;
}
.bt-style svg { stroke: var(--wh-maroon); }
/* Trip-type icons are two-colour artwork, so they sit on a white disc
   that stays readable when the tile turns maroon. */
.bt-style__icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 999px; background: #fff; }
.bt-style__icon img { width: 48px; height: 48px; object-fit: contain; }
.bt-page .bt-style__icon svg, .bt-page .bt-style[aria-pressed="true"] .bt-style__icon svg { stroke: var(--wh-maroon); width: 26px; height: 26px; }
.bt-duration {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 12px;
  background: #fff; border: 1.5px solid #cbbcae; border-radius: var(--wh-radius);
  font-family: var(--font-body); font-weight: 700; font-size: 15px; color: #3b2a2a; cursor: pointer;
}
.bt-duration svg { stroke: var(--wh-maroon); }
.bt-style:hover, .bt-duration:hover { border-color: var(--wh-maroon); }
.bt-style[aria-pressed="true"], .bt-duration[aria-pressed="true"] { background: var(--wh-maroon); border-color: var(--wh-maroon); color: #fff; }
.bt-style[aria-pressed="true"] svg, .bt-duration[aria-pressed="true"] svg { stroke: #fff; }
.bt-filters__none { text-align: center; padding: 24px; }
.bt-filters__none[hidden], .bt-center[hidden] { display: none; }
.bt-center { display: flex; justify-content: center; }

/* ---------- Painted banner ----------
   Drop a painted artwork at assets/img/bhutan-banner.png and add it as a
   background-image here; until then it is drawn in CSS. */
.bt-motif {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 112px; padding: 20px 16%; border-radius: var(--wh-radius);
  background:
    repeating-linear-gradient(90deg, var(--wh-gold-light) 0 10px, transparent 10px 20px) top / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--wh-gold-light) 0 10px, transparent 10px 20px) bottom / 100% 5px no-repeat,
    linear-gradient(#960000, #7a0f16);
  box-shadow: inset 0 0 0 9px #960000, inset 0 0 0 10px rgba(245, 217, 139, .6);
  text-align: center;
}
.bt-motif__label { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wh-gold-light); }
.bt-page .bt-motif h2 { color: #fff; font-size: clamp(20px, 2.6vw, 28px); }

/* ---------- Himalayan Moments ---------- */
.bt-moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bt-moment { background: #fff; border-radius: var(--wh-radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--wh-shadow); }
.bt-moment__head { display: flex; align-items: center; gap: 12px; }
.bt-moment__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--wh-cream); }
.bt-page .bt-moment h3 {font-family: var(--font-body); font-size: 16px; line-height: 1.3; color: var(--wh-ink); }
.bt-page .bt-moment p { font-size: 14px; line-height: 1.55; color: #3b3331; }
.bt-moment a { margin-top: auto; font-family: var(--font-body); font-weight: 700; font-size: 14px; text-decoration: none; }

/* ---------- Plan Your Bhutan Trip ---------- */
.bt-page .bt-plan h2 { font-size: 30px; }
.bt-plan__intro { max-width: 760px; }
/* As many columns as there are Page Categories with pages. */
.bt-plan__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; margin-top: 12px; }
.bt-page .bt-plan h3 { font-size: 17px; color: var(--wh-ink); padding-bottom: 10px; border-bottom: 3px solid var(--wh-orange); margin-bottom: 18px; }
.bt-page .bt-plan__grid nav { display: block; padding: 0; background: none; }
.bt-plan__list { display: flex; flex-direction: column; gap: 10px; }
.bt-plan__list li { display: flex; align-items: flex-start; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed #e8ddd3; }
.bt-plan__list li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E07B2E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bt-plan__list a { font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.4; text-decoration: none; }
.bt-plan__list a:hover { text-decoration: underline; }
.bt-plan__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--wh-line-soft); padding-top: 24px; margin-top: 8px; }
.bt-page .bt-plan__foot p { font-size: 14px; color: var(--wh-muted); }

/* ---------- Activities & CTA ---------- */
.bt-page .bt-activities h2 { font-size: 22px; }
.bt-activities__list { display: flex; flex-wrap: wrap; gap: 10px; }
.bt-cta { background: var(--wh-maroon); border-radius: var(--wh-radius); padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.bt-page .bt-cta h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.bt-page .bt-cta p, .bt-page .bt-cta p a { color: #f6ecec; }
.bt-cta__actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bt-moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-filters__styles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bt-trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-popular { grid-template-columns: 1fr; gap: 24px; }
  .bt-filters__styles, .bt-filters__durations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bt-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}
@media (max-width: 600px) {
  .bt-trip-grid, .bt-moments { grid-template-columns: 1fr; }
  .bt-filters__styles, .bt-filters__durations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-page .bt-filters { padding: 20px 16px; }
  .bt-motif { padding: 20px 12%; }
  .bt-search__field { padding-left: 16px; }
  .bt-search__submit { padding: 0 16px; }
  .bt-result { flex-wrap: wrap; }
  .bt-result__tag { width: auto; padding: 4px 8px; }
  .bt-popular li { flex-direction: column; align-items: flex-start; gap: 2px; }
}
