/* Small additions for dedicated unique-page templates.
   Cannot live in the template markup alone.
   Do not upload until Remy reviews this pack.
   Scope is unique body classes only, so later CSS work on one page
   cannot change the other unique templates or the leftover Landing/Tool/Article List pages.
*/

/* Full-bleed main column, matching live group/China landings. */
body.chibet-tpl-tibet-group-tours .site-content > .ast-container,
body.chibet-tpl-china-tibet-tours .site-content > .ast-container,
body.page-template-page-tour-landing .site-content > .ast-container,
body.page-template-page-china-tibet-landing .site-content > .ast-container {
  display: block;
  max-width: none;
  padding: 0;
}

/* Quiet featured-tour hook (no invented cards or prices). */
body.chibet-tpl-tibet-group-tours .chibet-related-quiet,
body.chibet-tpl-china-tibet-tours .chibet-related-quiet,
body.chibet-tpl-tibet-tour .chibet-related-quiet {
  margin: 0;
  color: #46515a;
  font-size: 15px;
  line-height: 1.65;
}

/* ---- Tibet Tour catalog (resource 13). Not the approved-design landing. ---- */
body.chibet-tpl-tibet-tour .chibet-tour-catalog {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto 72px;
  color: #28384a;
  font-family: Montserrat, "Open Sans", sans-serif;
}
body.chibet-tpl-tibet-tour .chibet-catalog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0 0 24px;
  color: #666;
  font-size: 13px;
}
body.chibet-tpl-tibet-tour .chibet-catalog-breadcrumb a {
  color: #bd162f;
  text-decoration: none;
}
body.chibet-tpl-tibet-tour .chibet-catalog-header h1 {
  margin: 0 0 12px;
  color: #222;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
body.chibet-tpl-tibet-tour .chibet-catalog-header .kicker {
  margin: 0 0 10px;
  color: #bd162f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body.chibet-tpl-tibet-tour .chibet-catalog-intro {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: 1.0625rem;
  line-height: 1.7;
}
body.chibet-tpl-tibet-tour .chibet-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 0;
}
body.chibet-tpl-tibet-tour .chibet-catalog-index {
  margin-top: 40px;
}
body.chibet-tpl-tibet-tour .chibet-catalog-index > h2 {
  margin: 0 0 20px;
  color: #222;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
body.chibet-tpl-tibet-tour .landing-tour-index ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.chibet-tpl-tibet-tour .landing-tour-index li {
  margin: 0;
  border: 1px solid #e2e0dc;
  background: #fff;
}
body.chibet-tpl-tibet-tour .landing-tour-index a {
  display: block;
  padding: 16px 18px;
  color: #222;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}
body.chibet-tpl-tibet-tour .landing-tour-index a:hover,
body.chibet-tpl-tibet-tour .landing-tour-index a:focus {
  color: #bd162f;
  outline: 0;
}

/* ---- Travel Guide hub (resource 33). Not the Maps/News Article List chrome. ---- */
body.chibet-tpl-travel-guide .chibet-travel-guide {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto 72px;
  color: #28384a;
  font-family: Montserrat, "Open Sans", sans-serif;
}
body.chibet-tpl-travel-guide .chibet-guide-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin: 0 0 16px;
  color: #666;
  font-size: 13px;
}
body.chibet-tpl-travel-guide .chibet-guide-breadcrumbs a {
  color: #bd162f;
  text-decoration: none;
}
body.chibet-tpl-travel-guide .chibet-guide-intro h1 {
  margin: 0 0 12px;
  color: #222;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
body.chibet-tpl-travel-guide .chibet-guide-intro p {
  max-width: 720px;
  margin: 0 0 8px;
  font-size: 1.0625rem;
  line-height: 1.7;
}
body.chibet-tpl-travel-guide .hub-existing-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
body.chibet-tpl-travel-guide .hub-existing-list li {
  margin: 0;
  border-bottom: 1px solid #e6e4e0;
}
body.chibet-tpl-travel-guide .hub-existing-list a {
  display: block;
  padding: 14px 0;
  color: #222;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}
body.chibet-tpl-travel-guide .hub-existing-list a:hover,
body.chibet-tpl-travel-guide .hub-existing-list a:focus {
  color: #bd162f;
  outline: 0;
}

@media (max-width: 760px) {
  body.chibet-tpl-tibet-tour .chibet-tour-catalog,
  body.chibet-tpl-travel-guide .chibet-travel-guide {
    width: calc(100% - 36px);
    margin-bottom: 56px;
  }
  body.chibet-tpl-tibet-tour .chibet-catalog-header h1,
  body.chibet-tpl-travel-guide .chibet-guide-intro h1 {
    font-size: 1.75rem;
    line-height: 1.22;
  }
  body.chibet-tpl-tibet-tour .landing-tour-index ul,
  body.chibet-tpl-travel-guide .hub-existing-list ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  body.chibet-tpl-tibet-tour .chibet-catalog-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.chibet-tpl-tibet-tour .chibet-catalog-actions a {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.chibet-tpl-tibet-tour *,
  body.chibet-tpl-travel-guide * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
