/* v1077 - Hero style H ("Night navy + marigold toran"), approved 17 Nov 2026.
   Paint only: one background for every dark-style hero (navy gradient, soft saffron glow
   top-right, marigold-and-mango-leaf garland line along the top). No elements, text, headings,
   links, meta or schema are added or changed. Pseudo-elements are left alone (many heroes use them).
   Heroes found on the live site (h1 container per page type):
     home + /stays phone (.ys819-hero), stay landings (.sl-hero), temple stays (.th988),
     city pages (.cp-hero / .cs-cover), content pages (.cp-hero), destinations (.dst-hero),
     tourist places (.tpi-hero), city travel guide (.tg-hero), travel guides (.cgi-hero),
     travel inspiration (.tc-hero), festivals (.fi-hero), localities (.lp-hero),
     how to reach (.r14-hero / .rh15-hero), articles (.ar-hero), spiritual journeys (.sjx-hero),
     travel planner (.ys758-hero), list your property (.oo-hero).
   Computer home (.te724-hero) was a light hero: it also gets text colours below (v1078).
   Not touched yet: photo heroes (.tp-hero, .cs-hero), explore (.ys810-explore-hero),
   spiritual results (.sp-hero), stay page.
   The :not(#ys-h) part only raises specificity above older !important rules. */

/* ===== THE ONE PLACE TO CHANGE THE HERO LOOK =====
   Edit these values and every hero on the site follows.
   --ys-hero-sky   : the background (glow + gradient)
   --ys-hero-toran : the garland line along the top (set to "none" to remove it everywhere)
   --ys-hero-base  : flat colour shown while the gradient paints
   --ys-hero-ink / -sub / -eyebrow / -accent / -muted : text colours on the hero
   A NEW page gets this hero by adding class="ys-hero" to its hero section (no other change). */
:root {
  --ys-hero-sky: radial-gradient(900px 420px at 88% 0%, rgba(221, 115, 54, .24), transparent 62%),
                 linear-gradient(160deg, #1e324d 0%, #13233a 100%);
  --ys-hero-toran: radial-gradient(circle at 12px 2px, #f2a33a 0 7px, transparent 8px) 0 0 / 24px 14px repeat-x,
                   linear-gradient(#2a6a42, #2a6a42) 0 0 / 100% 3px no-repeat;
  --ys-hero-base: #1a2c45;
  /* text colours, used where a hero was designed for a light background (computer home) */
  --ys-hero-ink: #ffffff;
  --ys-hero-sub: #c9d3de;
  --ys-hero-eyebrow: #f4c27a;
  --ys-hero-accent: #f4a259;
  --ys-hero-muted: #aebccb;
  --ys-hero-line: rgba(255, 255, 255, .18);  /* v1094: thin dividers on the hero (city facts row) */
  --ys-hero-chip: rgba(255, 255, 255, .08);  /* v1097: small fact boxes on the hero (travel guide) */
}

html:root body:not(#ys-h) .ys-hero,
html:root body:not(#ys-h) .ys819-hero,
html:root body:not(#ys-h) .te724-hero,
html:root body:not(#ys-h) .sl-hero,
html:root body:not(#ys-h) .th988,
html:root body:not(#ys-h) .cp-hero,
html:root body:not(#ys-h) .cs-cover,
html:root body:not(#ys-h) .dst-hero,
html:root body:not(#ys-h) .tpi-hero,
html:root body:not(#ys-h) .tg-hero,
html:root body:not(#ys-h) .cgi-hero,
html:root body:not(#ys-h) .tc-hero,
html:root body:not(#ys-h) .fi-hero,
html:root body:not(#ys-h) .lp-hero,
html:root body:not(#ys-h) .r14-hero,
html:root body:not(#ys-h) .rh15-hero,
html:root body:not(#ys-h) .ar-hero,
html:root body:not(#ys-h) .sjx-hero,
html:root body:not(#ys-h) .ys758-hero,
html:root body:not(#ys-h) .oo-hero {
  background:
    var(--ys-hero-toran),
    var(--ys-hero-sky) !important;
  background-color: var(--ys-hero-base) !important;
}

/* The temple-stays hero (.th988) and festival mode (.ysd) already hang their own toran.
   Festival mode already hangs its own toran (svg.ysd-toran / .ysd-m-toran) on heroes marked .ysd.
   There we keep the navy + glow but drop our garland line, so there are never two garlands. */
html:root body:not(#ys-h) .ys-hero.ysd,
html:root body:not(#ys-h) .ys819-hero.ysd,
html:root body:not(#ys-h) .te724-hero.ysd,
html:root body:not(#ys-h) .sl-hero.ysd,
html:root body:not(#ys-h) .th988.ysd,
html:root body:not(#ys-h) .cp-hero.ysd,
html:root body:not(#ys-h) .cs-cover.ysd,
html:root body:not(#ys-h) .dst-hero.ysd,
html:root body:not(#ys-h) .tpi-hero.ysd,
html:root body:not(#ys-h) .tg-hero.ysd,
html:root body:not(#ys-h) .cgi-hero.ysd,
html:root body:not(#ys-h) .tc-hero.ysd,
html:root body:not(#ys-h) .fi-hero.ysd,
html:root body:not(#ys-h) .lp-hero.ysd,
html:root body:not(#ys-h) .r14-hero.ysd,
html:root body:not(#ys-h) .rh15-hero.ysd,
html:root body:not(#ys-h) .ar-hero.ysd,
html:root body:not(#ys-h) .sjx-hero.ysd,
html:root body:not(#ys-h) .ys758-hero.ysd,
html:root body:not(#ys-h) .oo-hero.ysd,
html:root body:not(#ys-h) .th988 {
  background:
    var(--ys-hero-sky) !important;
  background-color: var(--ys-hero-base) !important;
}

/* v1078 - Computer home hero (.te724-hero): designed for a light background, so its text is recoloured.
   Colour only; the photos, chips, stamp, festival decorations and search box are unchanged. */
html:root body:not(#ys-h) .te724-hero .te724-issue,
html:root body:not(#ys-h) .te724-hero .ysd-hi { color: var(--ys-hero-eyebrow) !important; }
html:root body:not(#ys-h) .te724-hero h1 { color: var(--ys-hero-ink) !important; }
html:root body:not(#ys-h) .te724-hero h1 em { color: var(--ys-hero-accent) !important; }
html:root body:not(#ys-h) .te724-hero .te724-hero-copy { color: var(--ys-hero-sub) !important; }
html:root body:not(#ys-h) .te724-hero .te724-text-link { color: var(--ys-hero-ink) !important; }
html:root body:not(#ys-h) .te724-hero .te724-hero-meta { color: var(--ys-hero-muted) !important; }

/* v1094 - City page hero on computers (.cp-hero, every city except Deoghar, which uses .cs-cover).
   The light-hero rules in city-page.css (v737) colour this text navy/grey; since v1077 the hero is dark,
   so the heading, intro and facts were nearly invisible on computers. Colours only, from the same
   variables as the home hero (v1078). Phones (max-width 900px) already use light text and are unchanged. */
@media (min-width: 901px) {
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-breadcrumb,
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-breadcrumb a,
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-breadcrumb span { color: var(--ys-hero-muted) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-kicker { color: var(--ys-hero-eyebrow) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero h1,
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero h1 .cp-h1-main { color: var(--ys-hero-ink) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero h1 .cp-h1-sub { color: var(--ys-hero-accent) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp919-hi { color: var(--ys-hero-eyebrow) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-hero-description,
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-hero-description * { color: var(--ys-hero-sub) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-desc-more { color: var(--ys-hero-accent) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-hero-meta-item { border-color: var(--ys-hero-line) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-hero-meta-item strong { color: var(--ys-hero-ink) !important; }
  html:root body:not(#ys-h)[data-lead-page="city"] section.cp-hero .cp-hero-meta-item span { color: var(--ys-hero-muted) !important; }
}

/* v1097 - Travel guide heroes on computers: city guides (/travel-guide/{city}, .tg-hero) and the guides index
   (/travel-guides, .cgi-hero). Same problem as v1094: built for a light hero, the text stayed navy/grey on the dark
   v1077 background. Colours only, from the hero variables. Phones (max-width 900px) already use light text and are
   unchanged. The white cards on these heroes (featured guide, stay search) keep their own colours. */
@media (min-width: 901px) {
  html:root body:not(#ys-h) section.tg-hero .tg-crumb,
  html:root body:not(#ys-h) section.tg-hero .tg-crumb a,
  html:root body:not(#ys-h) section.tg-hero .tg-crumb span { color: var(--ys-hero-muted) !important; }
  html:root body:not(#ys-h) section.tg-hero .tg-pill { color: var(--ys-hero-eyebrow) !important; }
  html:root body:not(#ys-h) section.tg-hero h1,
  html:root body:not(#ys-h) section.tg-hero h1 .tg-h1-main { color: var(--ys-hero-ink) !important; }
  html:root body:not(#ys-h) section.tg-hero h1 .tg-h1-accent { color: var(--ys-hero-accent) !important; }
  html:root body:not(#ys-h) section.tg-hero .tg-sub,
  html:root body:not(#ys-h) section.tg-hero .tg-sub * { color: var(--ys-hero-sub) !important; }
  html:root body:not(#ys-h) section.tg-hero .tg-updated,
  html:root body:not(#ys-h) section.tg-hero .tg-updated * { color: var(--ys-hero-muted) !important; }
  html:root body:not(#ys-h) section.tg-hero .tg-hero-link { color: var(--ys-hero-sub) !important; }
  html:root body:not(#ys-h) section.tg-hero .tg-hero-link a { color: var(--ys-hero-accent) !important; }
  html:root body:not(#ys-h) section.tg-hero .tg-meta-item { background: var(--ys-hero-chip) !important; border-color: var(--ys-hero-line) !important; }
  html:root body:not(#ys-h) section.tg-hero .tg-meta-item b { color: var(--ys-hero-ink) !important; }
  html:root body:not(#ys-h) section.tg-hero .tg-meta-item span { color: var(--ys-hero-muted) !important; }

  html:root body:not(#ys-h) section.cgi-hero .cgi-crumb,
  html:root body:not(#ys-h) section.cgi-hero .cgi-crumb a,
  html:root body:not(#ys-h) section.cgi-hero .cgi-crumb span { color: var(--ys-hero-muted) !important; }
  html:root body:not(#ys-h) section.cgi-hero .cgi-kicker { color: var(--ys-hero-eyebrow) !important; }
  html:root body:not(#ys-h) section.cgi-hero .cgi-hero-copy h1 { color: var(--ys-hero-ink) !important; }
  html:root body:not(#ys-h) section.cgi-hero .cgi-hero-copy > p { color: var(--ys-hero-sub) !important; }
}

/* v1099 - Travel planner hero on computers (/travel-planner, .ys758-hero). It was built as a light hero over a cream
   wash; since v1077 the navy showed only on the right, behind the form. The wash itself is switched off in
   travel-planner-landing.css (computers only); here the text gets the hero colours. Phones are unchanged.
   The white pill and the expert form card keep their own colours. */
@media (min-width: 901px) {
  html:root body:not(#ys-h) section.ys758-hero .ys758-breadcrumb,
  html:root body:not(#ys-h) section.ys758-hero .ys758-breadcrumb a,
  html:root body:not(#ys-h) section.ys758-hero .ys758-breadcrumb span { color: var(--ys-hero-muted) !important; }
  html:root body:not(#ys-h) section.ys758-hero h1 { color: var(--ys-hero-ink) !important; }
  html:root body:not(#ys-h) section.ys758-hero h1 em { color: var(--ys-hero-accent) !important; }
  html:root body:not(#ys-h) section.ys758-hero .ys758-hero-message > p { color: var(--ys-hero-sub) !important; }
  html:root body:not(#ys-h) section.ys758-hero .ys758-hero-highlights > div { border-color: var(--ys-hero-line) !important; }
  html:root body:not(#ys-h) section.ys758-hero .ys758-hero-highlights b { color: var(--ys-hero-ink) !important; }
  html:root body:not(#ys-h) section.ys758-hero .ys758-hero-handnote { color: var(--ys-hero-ink) !important; }
}
