/* 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;
}

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; }
