/* ==========================================================================
   fixes.css — Phase 2 corrective layer (Scenic V3)
   Loaded LAST: after site.css|site-home.css, refresh.css and premium.css.
   Every rule here is a deliberate override of an earlier layer; the reason and
   the original authoring site are cited so the Phase 4 consolidation can fold
   these in and delete this file.

   1. Typography — Inter only, self-hosted (no Google Fonts request)
   2. LB01 — tour photo gallery now follows the H1
   3. LB02 — the 9+3 commercial split and the card grids cannot collapse
   4. CTA  — .ktt-readmore is the primary orange button
   5. Home — destination cards: white text on a dark gradient
   6. Tour detail — the composed .tour-sections template (new classes only)
   7. Tour operator — .operator-flow reading order
   8. LB03 — the imported photo-hero variant becomes a navy USP band
   10. /kashmir-tour-packages/ — page-scoped hero, cards and body rhythm
   11. /tour/ — Srinagar travel agency: hero facts, route cards, identity list
   Audit references: preview-audit/layout-bugs.md
   ========================================================================== */

/* 1. Typography ===========================================================
   The four Inter woff2 files are already self-hosted and declared with
   @font-face in site.css / site-home.css (and preloaded in redesign-page.php),
   so no third-party CSS or font request is needed. refresh.css pointed the
   heading token at Playfair Display; both tokens now resolve to Inter, which
   switches every heading in the cascade without touching 32 declarations. */
:root {
  --ktt-font-head: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ktt-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
h1, h2, h3, h4, h5, h6, p, body,
summary, figcaption, li, td, th, label, button, input, select, textarea, .eyebrow {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* 2. LB01 — gallery below the H1 ==========================================
   redesign-page.php now emits .scenic-tour-gallery after <section class=
   "page-intro">. site.css already gives the gallery its height/columns
   (grid-template-rows 175px 175px at desktop); this only restores the gap the
   old above-the-intro placement used to get from the header. */
.page-intro + .scenic-tour-gallery { margin-top: 22px; }

/* 3. LB02 — grids that must not collapse ==================================
   site.css ships `.legacy-content .commercial-layout{display:block}` plus
   `.legacy-content .commercial-column{width:100%}`, which threw away the 9/3
   split; with no Bootstrap shim outside .layout-tour the columns stacked and
   the card grid got squeezed.
   The wrapper holds THREE children on /kashmir-honeymoon-packages/
   (col-lg-9 cards, col-lg-3 sidebar, col-12 guides), so it is restored as an
   explicit two-track grid with the 320px sidebar and full-width rows for the
   remaining children — `repeat(auto-fit,minmax(320px,1fr))` on this wrapper
   would have produced a 50/50 split and a 320px guide column. The card grids
   (the actual "repeat(3,minmax(0,1fr))" squeezers) do use auto-fit. */
.commercial-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 24px !important;
  align-items: start !important;
}
.commercial-layout > * {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}
.commercial-layout > .col-12,
.commercial-layout > .honeymoon-guides { grid-column: 1 / -1 !important; }

.commercial-grid,
.package-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}
.commercial-grid > .package-card,
.package-grid > .package-card {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}
@media (max-width: 980px) {
  .commercial-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .commercial-grid,
  .package-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; }
}
@media (max-width: 560px) {
  .commercial-grid,
  .package-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; }
}

/* 4. CTA — .ktt-readmore as the primary orange button =====================
   premium.css:12 authored it as a light outline button (#f6fafc on #c7d6e2)
   whose only accent appeared on hover. It is the main action on every package
   card, so it becomes the solid brand-orange CTA with an always-visible white
   label and white icon chip. --brand-orange = #ea580c (refresh.css); the
   literal is the fallback for the minified sheets that resolve #C2410C. */
.ktt-readmore {
  background: var(--brand-orange, #ea580c) !important;
  border: none !important;
  color: #fff !important;
}
.ktt-readmore:hover,
.ktt-readmore:focus-visible {
  background: var(--orange-hover, #c2410c) !important;
  color: #fff !important;
}
.ktt-readmore__text { color: #fff !important; }
.ktt-readmore__hint { color: #fff !important; opacity: .88; }
.ktt-readmore__icon,
.card-actions .ktt-readmore__icon {
  background: rgba(255, 255, 255, .2) !important;
  color: #fff !important;
}

/* 5. Home — destination cards =============================================
   The caption already sat on the :after scrim, but the card itself had no
   background, so any slow/absent photo and the card edge read as dark-on-light
   text on a pale panel. The card now carries a navy gradient underneath the
   photo and every caption layer is pinned to white. The `b` arrow chip stays
   white-with-navy so it keeps its contrast. */
.proto-destination {
  background: linear-gradient(165deg, #0b2f47 0%, #12455f 100%) !important;
}
.proto-destination:after {
  background: linear-gradient(180deg, rgba(9, 44, 66, 0) 38%, rgba(9, 44, 66, .94) 100%) !important;
}
.proto-destination > span,
.proto-destination > span strong,
.proto-destination > span small {
  color: #fff !important;
}
.proto-destination b {
  background: #fff !important;
  color: var(--navy, #0b2f47) !important;
}

/* 6. Tour detail template — composed blocks ===============================
   scenic-layout.php:ktt_compose_assemble() rewrites every tour body into
   <div class="tour-sections" data-tour-composed> with one <section class=
   "tour-block …"> per reading step (about, highlights, itinerary, inclusions,
   price, policies, FAQ, remainder). refresh.css only styled the day accordion
   and the inclusions split, and only through `.legacy-content > section`, so
   the new wrappers sat outside those selectors and rendered as bare markup.
   Every rule below targets a class that only the composer emits, so no
   existing selector is redefined. Tokens come from refresh.css
   (--ktt-line, --brand-orange) and site.css (--navy); the literals are the
   fallback when a sheet is loaded without them. */

.tour-sections > .tour-block {
  margin: 0 0 34px;
  padding: 0;
}
.tour-sections > .tour-block:last-child { margin-bottom: 0; }

.tour-sections .tour-block > h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ktt-line, #e2e8f0);
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--navy, #132b49);
}
/* Brand rule under the section label: the only accent every block shares. */
.tour-sections .tour-block > h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--brand-orange, #ea580c);
}
.tour-sections .tour-block > p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #475569;
}

/* 6.1 Highlights — icon + one-line promise, auto-fit card grid. */
.tour-highlight-grid,
.tour-highlight-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tour-highlight-grid > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid var(--ktt-line, #e2e8f0);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 40, 60, .05);
  font-size: 14.5px;
  line-height: 1.55;
  color: #334155;
}
.tour-highlight-icon {
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff4ec;
  color: var(--brand-orange, #ea580c);
}
.tour-highlight-icon .tour-icon {
  width: 19px;
  height: 19px;
}
.tour-highlight-text { flex: 1; min-width: 0; }
.tour-highlight-list > li {
  position: relative;
  padding: 11px 14px 11px 31px;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.tour-highlight-list > li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange, #ea580c);
}

/* 6.2 Collapsed "more" panels (extra highlights, extra about copy). */
.tour-sections .tour-more {
  margin-top: 16px;
  border: 1px solid var(--ktt-line, #e2e8f0);
  border-radius: 12px;
  background: #f8fafc;
}
.tour-sections .tour-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  list-style: none;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--navy, #132b49);
}
.tour-sections .tour-more > summary::-webkit-details-marker { display: none; }
.tour-sections .tour-more > summary::after {
  content: "+";
  font-size: 19px;
  line-height: 1;
  color: #94a3b8;
}
.tour-sections .tour-more[open] > summary::after {
  content: "\2212";
  color: var(--brand-orange, #ea580c);
}
.tour-sections .tour-more > summary:focus-visible {
  outline: 3px solid #d2631c;
  outline-offset: -3px;
}
.tour-sections .tour-more-body { padding: 0 16px 16px; }
.tour-sections .tour-more-body > :last-child { margin-bottom: 0; }

/* 6.3 Itinerary — the lifted intro line and the inter-day copy that is not a
   day. Both are only emitted when text had to be rescued, so they must read as
   first-class content rather than as an afterthought. */
.tour-sections .tour-itinerary-lead {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--brand-orange, #ea580c);
  border-radius: 0 12px 12px 0;
  background: #fff8f3;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}
.tour-sections .tour-itinerary-extra {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--ktt-line, #e2e8f0);
  border-radius: 14px;
  background: #f8fafc;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}
.tour-sections .tour-itinerary-extra > :last-child { margin-bottom: 0; }

/* 6.3b Quick-facts strip rescued from the imported overview. Its inner markup
   is verbatim legacy HTML, so only the wrapper and its direct children are
   normalised — nested lists keep their own styling. */
.tour-sections .tour-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.tour-sections .tour-facts > * {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--ktt-line, #e2e8f0);
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}
.tour-sections .tour-facts > * > :last-child { margin-bottom: 0; }

/* 6.4 Price factors — the table the composer always appends. */
.tour-sections .tour-cost-table {
  width: 100%;
  margin: 20px 0 0;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.6;
}
.tour-sections .tour-cost-table caption {
  caption-side: top;
  padding: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  text-align: left;
}
.tour-sections .tour-cost-table th,
.tour-sections .tour-cost-table td {
  padding: 13px 16px;
  border: 1px solid var(--ktt-line, #e2e8f0);
  text-align: left;
  vertical-align: top;
}
.tour-sections .tour-cost-table thead th {
  background: #f1f5f9;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}
.tour-sections .tour-cost-table tbody th {
  width: 30%;
  font-weight: 600;
  color: var(--navy, #132b49);
}
.tour-sections .tour-cost-table tbody td { color: #475569; }

/* Stacked table on phones: a 5-line cell cannot scroll a 360px viewport. */
@media (max-width: 700px) {
  .tour-sections .tour-cost-table,
  .tour-sections .tour-cost-table thead,
  .tour-sections .tour-cost-table tbody,
  .tour-sections .tour-cost-table tr,
  .tour-sections .tour-cost-table th,
  .tour-sections .tour-cost-table td { display: block; width: auto; }
  .tour-sections .tour-cost-table thead { display: none; }
  .tour-sections .tour-cost-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--ktt-line, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
  }
  .tour-sections .tour-cost-table th,
  .tour-sections .tour-cost-table td { border: 0; border-bottom: 1px solid var(--ktt-line, #e2e8f0); }
  .tour-sections .tour-cost-table tr > :last-child { border-bottom: 0; }
  .tour-sections .tour-cost-table tbody th { background: #f8fafc; }
}

/* 6.5 Package policies — four summary cards, links pinned to the card floor. */
.tour-sections .tour-policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
  margin: 18px 0 0;
}
.tour-sections .tour-policy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--ktt-line, #e2e8f0);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 40, 60, .05);
}
.tour-sections .tour-policy h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--navy, #132b49);
}
.tour-sections .tour-policy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}
.tour-sections .tour-policy .text-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--brand-orange, #ea580c);
  text-decoration: none;
}
.tour-sections .tour-policy .text-link:hover,
.tour-sections .tour-policy .text-link:focus-visible { text-decoration: underline; }

/* 7. Tour operator profile — reading order ================================
   scenic-layout.php:ktt_operator_reorder() sorts the /tour/ profile into
   about → services → routes → support → identity → cost → checks → FAQ →
   quotation and wraps it in .operator-flow. The wrapper only needs rhythm: the
   service cards themselves are styled by site.css (.operator-service-art). */
.operator-flow > section { margin: 0 0 32px; }
.operator-flow > section:last-child { margin-bottom: 0; }
.operator-flow > section > h2:first-child { margin-top: 0; }

/* 8. LB03 remainder — imported hero variants ==============================
   Two imported bodies carry a `.hero-section` with extra classes, so the
   exact-class drop in ktt_scenic_structure (`class="hero-section"`) leaves them in
   place: /from-ahmedabad.php (`hero-section position-relative overflow-hidden`,
   a 1620×1080 photo plus `.hero-image-container` / `.hero-overlay`, neither of
   which has a rule in any sheet — the band was pushed down by the inline photo
   and its chips fell out as badge soup) and
   /kashmir-tour-packages/classic-family.php (`hero-section text-center`, whose
   `.text-white` review link sat on a white background, i.e. invisible).
   The copy is genuinely unique per page (flight routes, meal arrangements, USPs,
   the rating link), so instead of deleting it both blocks are re-laid-out as a
   navy band: raw photo and empty overlay hidden, copy on the brand gradient,
   `.row`/`!important` utilities neutralised, chips as white/orange pills. */
.legacy-content .hero-section {
  margin: 0 0 32px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(140deg, #0b2f47 0%, #12455f 62%, #1c5b78 100%);
}
.legacy-content .hero-section .hero-image-container { display: none; }
.legacy-content .hero-section > .container {
  position: static;
  z-index: auto;
  width: auto;
  max-width: none;
  padding: 0;
}
.legacy-content .hero-section .row {
  display: block;
  margin: 0;
  /* The imported row carries Bootstrap's `.py-5` / `.py-lg-6`, which are
     `padding-block: … !important`; the shorthand here has to match. */
  padding: 26px clamp(18px, 3vw, 34px) !important;
}
.legacy-content .hero-section [class*="col-"] {
  width: 100%;
  max-width: none;
  padding: 0;
}
.legacy-content .hero-section h2,
.legacy-content .hero-section h3 {
  margin: 0 0 12px;
  color: #fff;
}
.legacy-content .hero-section p {
  max-width: 82ch;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .88);
}
.legacy-content .hero-section p:last-child { margin-bottom: 0; }
.legacy-content .hero-section a:not(.btn) {
  color: #fff;
  text-decoration: underline;
}
.legacy-content .hero-section .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
/* The chips keep their imported `bg-white text-dark` / `bg-accent text-dark`
   utilities, which are `!important`; restate them on the navy band so one chip is
   white-on-navy and the accent chip is solid orange. */
.legacy-content .hero-section .badge.bg-white {
  border-color: #fff;
  background: #fff !important;
  color: var(--navy, #132b49) !important;
}
.legacy-content .hero-section .badge.bg-accent,
.legacy-content .hero-section .badge.bg-warning {
  border-color: transparent;
  background: var(--brand-orange, #ea580c) !important;
  color: #fff !important;
}
.legacy-content .hero-section .btn {
  border-radius: 10px;
  font-weight: 650;
}
.legacy-content .hero-section .btn:not(.btn-outline-light) {
  border-color: var(--brand-orange, #ea580c);
  background: var(--brand-orange, #ea580c);
  color: #fff;
}
.legacy-content .hero-section .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .6);
  background: transparent;
  color: #fff;
}
.legacy-content .hero-section .trust-badges { margin-top: 18px; }
.legacy-content .hero-section .trust-badges.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.legacy-content .hero-section .trust-badges [class*="col-"] {
  width: auto;
  max-width: none;
}
.legacy-content .hero-section .trust-badges a { text-decoration: none; }
.legacy-content .hero-section .trust-badges small { color: rgba(255, 255, 255, .72); }
@media (max-width: 600px) {
  .legacy-content .hero-section .row { padding: 20px 16px; }
  .legacy-content .hero-section p { font-size: 14.5px; }
  .legacy-content .hero-section .trust-badges.row { grid-template-columns: minmax(0, 1fr); }
}





/* ==========================================================================
   9. Phase 4 — universal "Kashmir tour from [City]" template
   Scope: .city-template, printed by include/scenic-layout.php (ktt_city_*) for
   every layout="city" route that carries a `city` payload. City routes no
   longer render the imported legacy body, so nothing here has to fight it.
   Reused as-is: .package-grid/.package-card (site.css+refresh.css),
   .section-heading (site.css), .faq-item/.faq-question/.faq-answer
   (refresh.css), .contact-cta (refresh.css).
   ========================================================================== */
.city-template .city-block { padding-top: 44px; }
.city-template .city-block:first-child { padding-top: 0; }
.city-template .section-heading { margin-bottom: 22px; }
.city-template .section-heading h2 { margin-bottom: 10px; }

/* Intro — planning copy beside the departure photo, two columns from 940px */
.city-intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.city-intro-grid--no-media { grid-template-columns: minmax(0, 1fr); }
.city-intro-copy h2 { font-family: var(--ktt-font-head); font-size: clamp(23px, 2.6vw, 30px); line-height: 1.3; margin: 0 0 14px; color: var(--navy); }
.city-intro-copy > p { font-size: 15.5px; line-height: 1.85; color: #3f4d5f; margin: 0 0 14px; }
.city-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0 0; padding: 0; }
.city-facts > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.city-facts dt { margin: 0 0 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.city-facts dd { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--navy); }
.city-intro-actions { margin: 20px 0 0; }
.city-intro-media { margin: 0; }
.city-intro-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.city-intro-media figcaption { margin-top: 9px; font-size: 12.5px; color: var(--muted); }

/* Packages — the grid and the cards keep their published styles */
.city-packages .section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.city-packages .small-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* Travel guide — how to reach + best time, side by side */
.city-guide-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.city-guide-panel { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.city-guide-panel h3 { margin: 0 0 14px; font-family: var(--ktt-font-head); font-size: 17px; color: var(--navy); }
.city-modes, .city-seasons { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.city-mode { padding-left: 16px; border-left: 3px solid #fdba74; }
.city-mode-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.city-mode-tag { padding: 3px 9px; border-radius: 999px; background: #fff3e6; color: var(--orange); font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.city-mode strong { font-size: 15px; color: var(--navy); }
.city-mode p { margin: 0 0 8px; font-size: 14px; line-height: 1.75; color: #475569; }
.city-mode-facts { display: grid; gap: 4px; margin: 8px 0; }
.city-mode-facts > div { display: flex; gap: 8px; font-size: 13px; }
.city-mode-facts dt { flex: 0 0 74px; color: var(--muted); }
.city-mode-facts dd { margin: 0; color: #334155; }
.city-mode-tip { padding: 8px 11px; border-radius: 10px; background: #fffdf5; font-size: 13px; line-height: 1.65; color: #92400e; }
.city-season { padding-left: 16px; border-left: 3px solid var(--line); }
.city-season-tag { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.city-season strong { font-size: 14.5px; color: var(--navy); }
.city-season p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.7; color: #475569; }

/* Packages: the filter bar sits between the heading and the grid */
.city-catalogue-tools { margin: 0 0 18px; }
.city-packages .city-catalogue-tools { margin-top: 0; }

/* Departure-city index (only the "Your City" hub payload carries city.index) */
.city-index { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.city-index-title { margin: 0 0 14px; font-family: var(--ktt-font-head); font-size: 19px; color: var(--navy); }
.city-index-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.city-index-list a { display: block; padding: 6px 0; font-size: 14px; color: #194d80; text-decoration: underline; text-underline-offset: 3px; }

/* FAQ + closing CTA */
.city-faq .city-faq-list { max-width: 900px; }
.city-cta .container { flex-wrap: wrap; }
.city-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

@media (max-width: 940px) {
  .city-intro-grid, .city-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .city-intro-media { order: -1; }
  .city-template .city-block { padding-top: 34px; }
}

@media (max-width: 600px) {
  .city-guide-panel { padding: 18px; }
  .city-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city-intro-copy > p { font-size: 15px; }
  .city-mode-facts > div { flex-direction: column; gap: 0; }
  .city-mode-facts dt { flex: none; }
}

/* ==========================================================================
   10. /kashmir-tour-packages/ and /kashmir-family-packages.php — page-scoped
   presentation
   Scope: .ktp-hero (the <section class="page-intro">), .ktp-grid (the
   #packages catalogue) and .ktp-packages (the imported body wrapper). Those
   three classes are emitted by include/redesign-page.php for the
   /kashmir-tour-packages/ and /kashmir-family-packages.php routes only, so no
   other route changes. Everything below is generic enough to serve both
   catalogue pages: hero intro, card grid and body typography.
   Why each rule exists (all are overrides of site.css / refresh.css):
   - the imported body sections carry no .container, so paragraphs and tables
     ran full-bleed at ≥1200px; §10.3 gives them the .container measure.
   - .prototype .legacy-content tables had no th/td padding at all (§10.3).
   - .booking-checklist painted five identical pale-blue bands (§10.3).
   No content, price, link, meta or schema is touched here — CSS only.
   ========================================================================== */

/* 10.1 Hero — H1 block becomes a two-column intro with a real CTA row.
   Reuses the existing .intro-grid/.intro-photo component (site.css) and the
   page's own hero_image; only the type scale, surface and CTA sizes change. */
.prototype .page-intro.ktp-hero {
  padding-block: 38px 42px;
  border-bottom: 1px solid #e6eef3;
  background:
    radial-gradient(900px 300px at 92% -14%, #fdf2e7 0%, rgba(253, 242, 231, 0) 64%),
    linear-gradient(115deg, #eff5fa 0%, #f8fbfd 54%, #fdfaf6 100%);
}

.prototype .ktp-hero .intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 40px;
  align-items: center;
}

.prototype .ktp-hero .breadcrumbs { margin-bottom: 14px; }

.prototype .ktp-hero h1 {
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: #10263d;
  margin: 0 0 14px;
  max-width: 26ch;
  text-wrap: balance;
}

.prototype .ktp-hero .intro-copy > p {
  font-size: 16px;
  line-height: 1.72;
  color: #3d5567;
  max-width: 58ch;
  margin: 0;
}

.prototype .ktp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.prototype .ktp-hero-actions .button {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 650;
  border-radius: 10px;
  gap: 0;
}

.prototype .ktp-hero-actions .button.outline {
  background: #fff;
  border: 1.5px solid #b7c8d4;
  color: #10263d;
  box-shadow: none;
}

.prototype .ktp-hero-actions .button.outline:hover {
  background: #fffaf6;
  border-color: var(--orange, #b34c0d);
  color: var(--orange, #b34c0d);
}

/* The hero photo keeps its 3:2 source ratio but is height-capped so the intro
   never becomes an oversized full-screen block. */
.prototype .ktp-hero .intro-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  max-height: 340px;
  background: #dfe9f0;
  box-shadow: 0 18px 40px rgba(16, 38, 61, .16);
}

.prototype .ktp-hero .intro-photo > img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

@media (max-width: 900px) {
  .prototype .ktp-hero .intro-grid { display: block; }
  .prototype .ktp-hero h1 { font-size: clamp(27px, 5.4vw, 34px); max-width: none; }
  .prototype .ktp-hero .intro-photo {
    margin-top: 22px;
    max-height: none;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .prototype .page-intro.ktp-hero { padding-block: 26px 30px; }
  .prototype .ktp-hero .intro-copy > p { font-size: 15px; }
  .prototype .ktp-hero-actions { gap: 10px; margin-top: 20px; }
  .prototype .ktp-hero-actions .button { flex: 1 1 100%; justify-content: center; }
  .prototype .ktp-hero .intro-photo { aspect-ratio: 4 / 3; }
}

/* 10.2 Package cards — equal heights, readable type, visible buttons.
   The .prototype card already overlaps image + info panel (site.css); this
   only settles the image ratio, the price/label weights and a 44px touch
   target for both buttons. Prices, links, filters and data-* hooks untouched. */
.prototype .ktp-grid .package-grid { align-items: stretch; }

.prototype .ktp-grid .package-card { height: 100%; }

.prototype .ktp-grid .package-image {
  aspect-ratio: 1.5;
  border-radius: 14px;
  background: #e3ecf2;
}

.prototype .ktp-grid .package-image > img { border-radius: 14px; }

.prototype .ktp-grid .package-info {
  margin: -28px 10px 0;
  padding: 20px 20px 18px;
  border-radius: 14px;
  border-color: #e2eaf0;
}

.prototype .ktp-grid .package-info h3 {
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -.01em;
  margin: 0 0 10px;
  /* Two lines are reserved so every row of cards starts its meta block at the
     same y-position, whether the title wraps or not. */
  min-height: 2.56em;
}

.prototype .ktp-grid .package-info h3 a { display: block; }

.prototype .ktp-grid .package-card .card-duration {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .01em;
  padding: 5px 10px;
  border-radius: 6px;
}

.prototype .ktp-grid .package-card .package-route {
  font-size: 12.5px;
  line-height: 1.55;
  color: #4a6274;
  min-height: 38px;
  margin-bottom: 12px;
}

.prototype .ktp-grid .package-card .card-highlights { margin-bottom: 14px; }

.prototype .ktp-grid .package-info .quote-label {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: #10263d;
  padding-top: 14px;
  margin-bottom: 14px;
}

.prototype .ktp-grid .card-actions { gap: 10px; }

.prototype .ktp-grid .card-actions .button {
  min-height: 44px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 9px;
}

.prototype .ktp-grid .card-actions .button.outline {
  background: #fff;
  border: 1.5px solid #b7c8d4;
  color: #10263d;
}

.prototype .ktp-grid .card-actions .button.outline:hover {
  background: #fffaf6;
  border-color: var(--orange, #b34c0d);
  color: var(--orange, #b34c0d);
}

@media (max-width: 980px) {
  .prototype .ktp-grid .package-image { aspect-ratio: 1.62; }
}

@media (max-width: 600px) {
  .prototype .ktp-grid .package-image { aspect-ratio: 1.45; border-radius: 16px; }
  .prototype .ktp-grid .package-image > img { border-radius: 16px; }
  .prototype .ktp-grid .package-info { margin: -26px 8px 0; padding: 18px 16px 16px; }
  .prototype .ktp-grid .package-info h3 { min-height: 0; }
  .prototype .ktp-grid .package-info .quote-label { font-size: 18px; }
  .prototype .ktp-grid .card-actions .button { font-size: 12.5px; }
}

@media (max-width: 360px) {
  .prototype .ktp-grid .card-actions .button { font-size: 12px; }
}

/* 10.3 Content layout — the imported body (duration guide, itineraries, seasons,
   inclusions/exclusions, destinations, styles, city links, why-us, FAQ, quote).
   site.css expects these sections to live inside a .container, but the body
   markup carries none, so they ran edge-to-edge; §10.3 reproduces the
   .container measure (min(1200px, 100% - 64px)) and kills the five repeated
   .booking-checklist bands, replacing them with one typographic rhythm. */
.prototype .ktp-packages section:not(.container) {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
  padding-block: 46px;
}

/* Hairline separators instead of alternating filled panels. */
.prototype .ktp-packages section:not(.container) + section:not(.container) {
  border-top: 1px solid #eaf1f5;
}

.prototype .ktp-packages .booking-checklist {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
}

/* Section headings inside the body: readable measure + no squeezed text link. */
.prototype .ktp-packages .section-heading {
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 26px;
}

.prototype .ktp-packages .section-heading > div { min-width: 0; }
.prototype .ktp-packages .section-heading > .text-link { flex: 0 0 auto; }

/* Type scale for the body only. Headings/paragraphs are scoped to section
   children so shared components (.guide-card, .checklist-grid, .faq-item)
   keep their own type scale below. */
.prototype .ktp-packages h2 {
  font-size: clamp(23px, 2.3vw, 30px);
  line-height: 1.22;
  letter-spacing: -.02em;
  color: #10263d;
  margin: 0 0 12px;
}

.prototype .ktp-packages > section > h3 {
  font-size: 19px;
  line-height: 1.32;
  color: #16324a;
  margin: 26px 0 10px;
}


.prototype .ktp-packages p {
  font-size: 15px;
  line-height: 1.75;
  color: #3f5668;
  max-width: 78ch;
}

/* Destination cards (reused .guide-card component) keep their own scale. */
.prototype .ktp-packages .guide-card h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.prototype .ktp-packages .guide-card > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.65;
  max-width: none;
}

.prototype .ktp-packages .section-heading p:last-child { color: #4a6172; }

.prototype .ktp-packages ul {
  font-size: 15px;
  line-height: 1.75;
  color: #3f5668;
  max-width: 82ch;
  padding-left: 22px;
}

.prototype .ktp-packages li { margin-bottom: 8px; }
.prototype .ktp-packages li:last-child { margin-bottom: 0; }
.prototype .ktp-packages strong { color: #16324a; }

/* Day-wise itineraries: the ordered lists become a light timeline so a reader
   can scan Day 1..Day 7 without counting bullets. */
.prototype .ktp-packages ol {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 86ch;
}

.prototype .ktp-packages ol > li {
  background: #fbfdfe;
  border: 1px solid #e6eef3;
  border-left: 3px solid #cfdfe9;
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #3f5668;
}

/* Inclusions / package styles / why-us: light cards on white, not five
   full-width pale-blue bands. */
.prototype .ktp-packages .checklist-grid { gap: 16px; }

.prototype .ktp-packages .checklist-grid > div {
  background: #f7fafc;
  border: 1px solid #e2ecf2;
  border-radius: 12px;
  padding: 18px 20px;
}

.prototype .ktp-packages .checklist-grid h3 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #10263d;
}

.prototype .ktp-packages .checklist-grid p {
  font-size: 14px;
  line-height: 1.7;
  color: #45596b;
  margin: 0;
  max-width: none;
}

/* Readable tables: the compare table and the seasons table had no cell
   padding at all (.prototype .legacy-content th/td only set a background).
   Both sit inside [role=region].scenic-table-scroll, so min-width scrolls
   within the wrapper instead of forcing the page sideways on phones. */
.prototype .ktp-packages .scenic-table-scroll {
  border: 1px solid #dfe9f0;
  border-radius: 12px;
  background: #fff;
  margin: 20px 0 10px;
}

.prototype .ktp-packages .scenic-table-scroll table {
  width: 100%;
  border: 0;
  border-radius: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.prototype .ktp-packages #compare .scenic-table-scroll table { min-width: 720px; }
.prototype .ktp-packages #best-time .scenic-table-scroll table { min-width: 620px; }

.prototype .ktp-packages caption {
  caption-side: top;
  text-align: left;
  padding: 13px 16px;
  background: #f2f7fa;
  border-bottom: 1px solid #e2ecf2;
  font-size: 13px;
  font-weight: 650;
  color: #33506a;
}

.prototype .ktp-packages th,
.prototype .ktp-packages td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
  border-bottom: 1px solid #e9f0f5;
}

.prototype .ktp-packages thead th {
  background: #eef4f8;
  border-bottom: 1px solid #dde8ef;
  color: #2f4c66;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.prototype .ktp-packages tbody th { color: #10263d; font-weight: 650; }
.prototype .ktp-packages tbody tr:nth-child(even) > * { background: #f8fbfd; }
.prototype .ktp-packages tbody tr:last-child > * { border-bottom: 0; }

/* FAQ — same <details class="faq-item"> component the guides use, with a
   slightly larger question and a comfortable answer measure. */
.prototype .ktp-packages .faq-item {
  border-radius: 12px;
  margin-bottom: 10px;
}

.prototype .ktp-packages .faq-item summary {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
  color: #10263d;
}

.prototype .ktp-packages .faq-answer p {
  font-size: 14.5px;
  line-height: 1.72;
  color: #43596b;
  max-width: 92ch;
}

/* Final quote block: one emphasised panel instead of another blue band. */
.prototype .ktp-packages #get-a-quote {
  background: linear-gradient(115deg, #f2f8fb 0%, #fdf8f2 100%);
  border: 1px solid #dfeaf1;
  border-radius: 16px;
  padding: 30px 32px;
  margin-block: 26px;
}

@media (max-width: 760px) {
  .prototype .ktp-packages section:not(.container) {
    width: calc(100% - 36px);
    padding-block: 34px;
  }

  .prototype .ktp-packages .section-heading { gap: 0; }
  .prototype .ktp-packages .section-heading > .text-link { white-space: normal; }
  .prototype .ktp-packages h2 { font-size: 23px; }
  .prototype .ktp-packages > section > h3 { font-size: 18px; }
  .prototype .ktp-packages p { font-size: 14.5px; }
  .prototype .ktp-packages ol > li { padding: 11px 14px; font-size: 14.5px; }
  .prototype .ktp-packages .checklist-grid > div { padding: 16px; }
  .prototype .ktp-packages #get-a-quote { padding: 22px; margin-block: 18px; }
  .prototype .ktp-packages th,
  .prototype .ktp-packages td { padding: 10px 12px; font-size: 13.5px; }
  .prototype .ktp-packages caption { padding: 11px 12px; }
  .prototype .ktp-packages .faq-item summary { font-size: 15px; }
}

@media (max-width: 420px) {
  .prototype .ktp-packages section:not(.container) { width: calc(100% - 32px); }
  .prototype .ktp-packages ol > li { font-size: 14px; }
}



/* 11. /tour/ — Srinagar travel agency ======================================
   Hero fact row + action pair, three "route shape" cards that must not
   collapse, and the business-identity list as one hairline card. All
   selectors are scoped to .view-operator so no other route is touched. */
.prototype .view-operator .operator-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--navy);
}

.prototype .view-operator .operator-hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prototype .view-operator .operator-hero-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.prototype .view-operator .operator-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.prototype .view-operator .operator-hero-actions .button { margin: 0; }

.prototype .view-operator .operator-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0 26px;
}

.prototype .view-operator .operator-route-grid > section {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid #d6e4eb;
  border-radius: 16px;
  background: #f3f7f9;
}

.prototype .view-operator .operator-route-grid h3 { margin: 0 0 12px; font-size: 20px; }

.prototype .view-operator .operator-route-path {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.65;
  color: var(--navy);
}

.prototype .view-operator .operator-route-grid > section > p:not(.operator-route-path) {
  flex: 1;
  margin: 0 0 16px;
  font-size: 14.5px;
}

.prototype .view-operator .operator-route-grid > section > a { font-weight: 650; }

.prototype .view-operator .operator-details {
  grid-template-columns: 150px minmax(0, 1fr);
  margin: 18px 0 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.prototype .view-operator .operator-details dt { color: var(--navy); }

@media (max-width: 900px) {
  .prototype .view-operator .operator-route-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .prototype .view-operator .operator-hero-actions .button { flex: 1 1 100%; text-align: center; }
  .prototype .view-operator .operator-details { grid-template-columns: 1fr; gap: 3px; padding: 18px; }
  .prototype .view-operator .operator-details dd { margin-bottom: 10px; }
}

/* ---------- Accessibility contrast fixes (PageSpeed audit) ----------
   refresh.css brightens the brand accent to #ea580c, which is 3.56:1
   against white — below WCAG AA (4.5:1) for body text and for the
   white-on-orange buttons/badges/nav states. The darker #c2410c already
   exists in the palette (hover / accent-dark) and passes at 5.18:1, so
   restore it as the primary accent and deepen the hover shade. */
:root {
  --orange: #c2410c;
  --orange-hover: #9a3412;
  --ktt-accent: #c2410c;
  --ktt-accent-dark: #9a3412;
  --brand-orange: #c2410c;
}

/* ---------- Guide-card action links — WCAG AA contrast (PageSpeed audit) --
   "Explore Srinagar →", "Explore Gulmarg →" and "Read guide →" are white
   labels that sit over light card surfaces and, on some layouts, photo
   imagery. A strong dark text-shadow plus a subtle dark backing keeps the
   white label ≥ 4.5:1 against any background so it passes WCAG AA. */
.guide-card > span {
  align-self: flex-start;
  color: #ffffff;
  background: rgba(16, 34, 53, 0.72);
  padding: 5px 11px;
  border-radius: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.55);
}

