/* BLOOOW homepage — BA-inspired layout. This file loads after the global layers;
   every selector is homepage-scoped so the existing application stays unchanged.
   Optional art drop-in paths: static/images/home/{hero,businesses,events,offers}.webp */
.home-page {
    --home-width: 1490px;
    --home-blue: #1648f5;
    --home-ink: #11182e;
    --home-subtle: #546071;
    --home-surface: rgba(255,255,255,.82);
    --home-glass: rgba(255,255,255,.80);
    --home-outline: rgba(22,45,80,.13);
    --home-shadow: 0 14px 48px rgba(23,45,83,.09);
}
:root[data-theme="dark"] .home-page {
    --home-blue: #8da3ff;
    --home-ink: #f7f8ff;
    --home-subtle: #c5cada;
    --home-surface: rgba(24,27,44,.87);
    --home-glass: rgba(29,32,50,.87);
    --home-outline: rgba(205,212,244,.19);
    --home-shadow: 0 18px 48px rgba(0,0,0,.3);
}
.home-page .blooow-header {
    position: relative;
    z-index: 30;
    padding: 16px 26px 8px;
    background: var(--page-bg);
    border-bottom: 0;
}
.home-page .blooow-header-top,
.home-page .blooow-header-frame {
    width: min(100%, var(--home-width));
    max-width: var(--home-width);
    min-height: 72px;
    display: grid;
    grid-template-columns: 140px minmax(0,1fr) auto;
    align-items: center;
    gap: clamp(12px,2vw,32px);
}
.home-page .blooow-header-brand {align-self:center;justify-self:start;}
.home-page .blooow-header-slogan {display:none !important;}
.home-page .blooow-header-center {min-width:0;width:100%;}
.home-page .blooow-header-actions {width:auto;min-width:0;gap:12px;justify-content:flex-end;}
.home-page .blooow-main-nav-shell {margin:0;padding:0;width:100%;}
.home-page .blooow-main-nav-desktop {display:flex;justify-content:center;gap:2px;}
.home-page .blooow-main-nav-mobile {display:none;}
.home-page .blooow-main-nav a,
.home-page .blooow-nav-more summary {
    color:var(--home-ink);
    opacity:1;
    padding:12px clamp(8px,1.05vw,15px);
    font-weight:750;
    font-size:clamp(.68rem,.87vw,.8rem);
    line-height:1.1;
}
.home-page .blooow-main-nav-desktop {
    width:fit-content;
    max-width:100%;
    min-height:56px;
    margin:auto;
    padding:5px;
    border:1px solid var(--home-outline);
    border-radius:999px;
    background:var(--home-glass);
    box-shadow:var(--home-shadow);
}
.home-page .blooow-main-nav a.active,
.home-page .blooow-main-nav a:hover,
.home-page .blooow-main-nav a:focus-visible,
.home-page .blooow-nav-more.active > summary {
    background:color-mix(in srgb, #2758f8 13%, var(--home-surface));
    color:var(--home-blue);
}
.home-page .home-language-switcher {
    display:flex;
    align-items:center;
    flex:0 0 auto;
    min-height:42px;
    padding:3px;
    gap:1px;
    border:1px solid var(--home-outline);
    border-radius:999px;
    background:var(--home-glass);
    box-shadow:var(--home-shadow);
}
.home-page .home-language-switcher form {margin:0;display:flex;}
.home-page .home-language-choice {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:999px;
    min-width:0;
    min-height:34px;
    padding:7px clamp(7px,.85vw,11px);
    background:transparent;
    color:var(--home-ink);
    font-size:.73rem;
    font-weight:800;
    font-family:Inter,"Noto Sans Sinhala","Noto Sans Tamil",system-ui,sans-serif;
    line-height:1.15;
    cursor:pointer;
    text-decoration:none;
    white-space:nowrap;
}
.home-page .home-language-choice.is-current {background:color-mix(in srgb,#2758f8 14%,var(--home-surface));color:var(--home-blue);cursor:default;}
.home-page .home-language-choice:not(.is-current):hover {background:color-mix(in srgb,var(--home-ink) 7%,transparent);}
/* Circular homepage theme control: the global control is a sliding switch,
   so reset its inherited stage and icon transforms completely here. */
.home-page .blooow-header-actions .blooow-theme-toggle {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #b67a22;
    border-radius: 50%;
    background: linear-gradient(145deg, #fffefa, #ffedc8);
    box-shadow: 0 2px 10px rgba(134, 82, 10, .13);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.home-page .blooow-header-actions .blooow-theme-toggle::before {display:none;}
.home-page .blooow-header-actions .blooow-theme-icon-stage,
:root[data-theme="dark"] .home-page .blooow-header-actions .blooow-theme-icon-stage,
:root[data-theme="light"] .home-page .blooow-header-actions .blooow-theme-icon-stage {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    border-radius: 50%;
    transform: none !important;
}
.home-page .blooow-header-actions .blooow-theme-icon {
    position: absolute;
    inset: auto;
    top: 50%;
    left: 50%;
    margin: 0;
    width: 23px;
    height: 23px;
    stroke-width: 2.2;
    transform: translate(-50%, -50%) !important;
}
:root[data-theme="dark"] .home-page .blooow-header-actions .blooow-theme-toggle {
    background: linear-gradient(145deg, #202c51, #101b36);
    border-color: #6885dd;
    box-shadow: 0 0 0 1px rgba(116, 147, 255, .1), 0 3px 12px rgba(0, 0, 0, .35);
}
:root[data-theme="dark"] .home-page .blooow-header-actions .blooow-theme-sun,
:root[data-theme="light"] .home-page .blooow-header-actions .blooow-theme-moon {
    display: none;
}
:root[data-theme="dark"] .home-page .blooow-header-actions .blooow-theme-moon {
    display: block;
    opacity: 1;
    color: #f8faff;
    filter: drop-shadow(0 0 3px rgba(193, 211, 255, .36));
}
:root[data-theme="light"] .home-page .blooow-header-actions .blooow-theme-sun {
    display: block;
    opacity: 1;
    color: #c76e00;
    filter: drop-shadow(0 0 2px rgba(255, 180, 44, .18));
}
.home-page .blooow-header-actions .blooow-theme-toggle:hover {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--home-blue) 16%, transparent);
}
.home-page .blooow-header-actions .blooow-theme-toggle:focus-visible {
    outline: 2px solid var(--home-blue);
    outline-offset: 3px;
}

/* Hero: gradient deliberately renders even before artwork is supplied. */
.home-page .home-experience {width:min(calc(100% - 48px),var(--home-width));margin:0 auto;padding:0 0 54px;}
.home-page .home-hero {
    position:relative;
    min-height:clamp(390px,34vw,520px);
    padding:clamp(32px,4.2vw,65px) clamp(22px,2vw,38px) 32px;
    display:flex;
    align-items:center;
    isolation:isolate;
    border-radius:24px;
    overflow:hidden;
    background:#e7eefb;
    border:1px solid var(--home-outline);
}
.home-page .home-hero::before {
    content:"";position:absolute;z-index:-2;inset:0;
    background-image:
        linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 34%,rgba(255,255,255,.65) 54%,rgba(255,255,255,.02) 100%),
        url("../images/home/hero.3b4e524f08a1.webp"),
        linear-gradient(125deg,#f7d8ae 0%,#d4e0fa 46%,#83bed9 100%);
    background-position:center,center right,center;
    background-size:cover,cover,cover;
    background-repeat:no-repeat;
}
.home-page .home-hero::after {
    content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
    background:linear-gradient(0deg,rgba(255,255,255,.60),transparent 27%);
}
:root[data-theme="dark"] .home-page .home-hero {background:#17203b;}
:root[data-theme="dark"] .home-page .home-hero::before {
    background-image:
        linear-gradient(90deg,rgba(8,12,24,.98) 0%,rgba(8,12,24,.91) 35%,rgba(8,12,24,.67) 58%,rgba(8,12,24,.27) 100%),
        url("../images/home/hero.3b4e524f08a1.webp"),
        linear-gradient(125deg,#111425,#273450 55%,#14283c 100%);
}
:root[data-theme="dark"] .home-page .home-hero::after {background:linear-gradient(0deg,rgba(8,12,24,.4),transparent 35%);}
.home-page .home-hero-content {width:min(100%,860px);position:relative;z-index:1;}
.home-page .home-hero-eyebrow {
    display:block;
    margin:0 0 13px;
    color:var(--home-blue);
    font-size:.77rem;
    font-weight:900;
    letter-spacing:.22em;
    line-height:1.5;
    text-transform:uppercase;
}
.home-page .home-hero h1 {
    max-width:830px;
    margin:0;
    color:var(--home-ink);
    font-size:clamp(2.35rem,4.3vw,4.45rem);
    line-height:1.045;
    letter-spacing:-.058em;
    font-weight:900;
    text-wrap:balance;
}
.home-page .home-headline-highlight {color:var(--home-blue);}
.home-page .home-hero p {
    max-width:640px;
    margin:14px 0 20px;
    color:var(--home-subtle);
    font-size:clamp(.88rem,1.06vw,1.05rem);
    line-height:1.55;
    font-weight:500;
}
.home-page .home-search {
    width:min(100%,875px);
    min-height:62px;
    display:flex;
    align-items:center;
    gap:13px;
    padding:6px 6px 6px 20px;
    border:1px solid rgba(29,49,80,.14);
    border-radius:999px;
    background:rgba(255,255,255,.97);
    color:#0f172a;
    box-shadow:0 10px 35px rgba(16,36,65,.12);
}
.home-page .home-search:focus-within {outline:2px solid #2858ff;outline-offset:2px;}
.home-page .home-search-label {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.home-page .home-search-icon {width:23px;height:23px;flex:0 0 23px;}
.home-page .home-search input {
    width:100%;min-width:0;flex:1;border:0;outline:0;background:transparent;color:#151d32;
    font-size:.96rem;font-weight:500;box-shadow:none;
}
.home-page .home-search input::placeholder {color:#687185;opacity:1;}
.home-page .home-search input::-webkit-search-cancel-button {cursor:pointer;}
.home-page .home-search-submit {
    width:49px;height:49px;flex:0 0 49px;display:grid;place-items:center;
    border:0;border-radius:50%;background:#1f4ef4;color:#fff;cursor:pointer;
    box-shadow:0 5px 13px rgba(34,77,244,.25);
    transition:transform .18s ease,background .18s ease;
}
.home-page .home-search-submit:hover {background:#123cda;transform:translateX(1px);}
.home-page .home-search-submit svg {width:24px;height:24px;}
.home-page .home-quick-searches {width:min(100%,875px);display:flex;align-items:center;gap:12px;margin-top:12px;color:var(--home-ink);}
.home-page .home-quick-searches-label {font-size:.75rem;font-weight:780;white-space:nowrap;}
.home-page .home-quick-searches-list {display:flex;align-items:center;gap:7px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:3px 1px 5px;}
.home-page .home-quick-searches-list a {
    display:inline-flex;align-items:center;justify-content:center;min-height:33px;flex:0 0 auto;
    padding:6px 14px;border:1px solid rgba(32,53,82,.18);border-radius:999px;
    background:rgba(255,255,255,.85);color:#151c31;text-decoration:none;
    font-size:.7rem;font-weight:750;white-space:nowrap;transition:background .15s ease,transform .15s ease;
}
.home-page .home-quick-searches-list a:hover {background:#e2eaff;transform:translateY(-1px);}
:root[data-theme="dark"] .home-page .home-quick-searches-list a {background:rgba(21,29,49,.95);border-color:rgba(217,224,255,.25);color:#eff1ff;}
:root[data-theme="dark"] .home-page .home-quick-searches-list a:hover {background:#273861;}

/* Discovery cards: images sit on the right, fade away behind readable copy. */
.home-page .home-discovery-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;}
.home-page .discovery-portal {
    --portal-accent:#2153f6;--portal-tint:rgba(33,83,246,.16);--portal-image:url("../images/home/businesses.b8a44842eaf0.webp");
    min-width:0;min-height:267px;position:relative;isolation:isolate;overflow:hidden;
    display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;
    padding:20px 24px 21px;border:1px solid var(--home-outline);border-radius:19px;
    color:#111827;text-decoration:none;
    box-shadow:0 9px 24px rgba(31,57,106,.07);
    transition:transform .18s ease,box-shadow .18s ease;
}
.home-page .discovery-portal::before {
    content:"";position:absolute;z-index:-2;inset:0;
    background-image:
        linear-gradient(90deg,rgba(235,239,255,.99) 0%,rgba(235,239,255,.94) 29%,rgba(235,239,255,.55) 56%,rgba(235,239,255,.03) 95%),
        var(--portal-image),
        linear-gradient(135deg,#e4eaff,var(--portal-tint));
    background-size:cover,cover,cover;
    background-position:center,center right,center;
    background-repeat:no-repeat;
    transition:transform .35s ease;
}
.home-page .discovery-portal::after {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,var(--portal-tint),transparent 75%);pointer-events:none;}
.home-page .discovery-portal-events {--portal-accent:#ec2556;--portal-tint:rgba(242,73,116,.13);--portal-image:url("../images/home/events.935db977a6a1.webp");}
.home-page .discovery-portal-events::before {background-image:linear-gradient(90deg,rgba(255,236,238,.99) 0%,rgba(255,236,238,.95) 28%,rgba(255,236,238,.58) 58%,rgba(255,236,238,.06) 98%),var(--portal-image),linear-gradient(130deg,#ffe5e9,#f5bbc8);}
.home-page .discovery-portal-offers {--portal-accent:#d37c00;--portal-tint:rgba(246,183,68,.18);--portal-image:url("../images/home/offers.dbcb9a4b698f.webp");}
.home-page .discovery-portal-offers::before {background-image:linear-gradient(90deg,rgba(255,248,228,.99) 0%,rgba(255,248,228,.96) 31%,rgba(255,248,228,.63) 61%,rgba(255,248,228,.05) 100%),var(--portal-image),linear-gradient(130deg,#fff4d8,#f3d49e);}
:root[data-theme="dark"] .home-page .discovery-portal {color:#f7f8fc;}
:root[data-theme="dark"] .home-page .discovery-portal-business::before {background-image:linear-gradient(90deg,rgba(14,21,45,.98),rgba(14,21,45,.90) 33%,rgba(14,21,45,.55) 67%,rgba(14,21,45,.14) 100%),var(--portal-image),linear-gradient(120deg,#0e1632,#30447c);}
:root[data-theme="dark"] .home-page .discovery-portal-events::before {background-image:linear-gradient(90deg,rgba(37,16,29,.98),rgba(37,16,29,.90) 33%,rgba(37,16,29,.55) 67%,rgba(37,16,29,.16) 100%),var(--portal-image),linear-gradient(120deg,#2a1321,#69243c);}
:root[data-theme="dark"] .home-page .discovery-portal-offers::before {background-image:linear-gradient(90deg,rgba(39,29,15,.98),rgba(39,29,15,.90) 33%,rgba(39,29,15,.55) 67%,rgba(39,29,15,.16) 100%),var(--portal-image),linear-gradient(120deg,#2c2516,#6c4a1b);}
.home-page .discovery-portal:hover,.home-page .discovery-portal:focus-visible {transform:translateY(-3px);box-shadow:0 17px 35px rgba(20,41,77,.18);}
.home-page .discovery-portal:hover::before {transform:scale(1.035);}
.home-page .discovery-portal-icon {
    width:51px;height:51px;display:grid;place-items:center;flex:0 0 auto;
    background:color-mix(in srgb,var(--portal-accent) 13%,white);
    border:1px solid color-mix(in srgb,var(--portal-accent) 30%,transparent);
    border-radius:14px;color:var(--portal-accent);
}
:root[data-theme="dark"] .home-page .discovery-portal-icon {background:color-mix(in srgb,var(--portal-accent) 19%,#11172a);}
.home-page .discovery-portal-icon svg,
.home-page .home-get-discovered-icon svg,
.home-page .home-stat svg {width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.home-page .discovery-portal-copy {position:relative;max-width:77%;margin-top:12px;}
.home-page .discovery-portal-eyebrow {display:block;color:var(--portal-accent);font-size:.58rem;line-height:1.4;font-weight:950;letter-spacing:.11em;}
.home-page .discovery-portal h2 {margin:2px 0 5px;color:inherit;font-size:clamp(1.85rem,2.45vw,2.6rem);font-weight:900;line-height:1.06;letter-spacing:-.045em;}
.home-page .discovery-portal p {min-height:38px;margin:0 0 12px;color:inherit;font-size:.79rem;line-height:1.45;opacity:.8;}
.home-page .discovery-portal-action {
    display:inline-flex;align-items:center;gap:14px;min-height:37px;padding:7px 13px;
    border:1px solid var(--portal-accent);border-radius:999px;
    color:var(--portal-accent);background:rgba(255,255,255,.14);
    font-size:.72rem;font-weight:850;white-space:nowrap;
}
.home-page .discovery-portal-action span {font-size:1.1rem;line-height:1;}
.home-page .discovery-portal:hover .discovery-portal-action {background:var(--portal-accent);color:white;}
:root[data-theme="dark"] .home-page .discovery-portal-business {--portal-accent:#91aaff;}
:root[data-theme="dark"] .home-page .discovery-portal-events {--portal-accent:#ff668e;}
:root[data-theme="dark"] .home-page .discovery-portal-offers {--portal-accent:#ffc36a;}

/* Existing Get Discovered functionality, with its existing copy and destination. */
.home-page .home-get-discovered {
    margin-top:15px;padding:18px 24px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;gap:20px;border:1px solid var(--home-outline);border-radius:18px;
    background:color-mix(in srgb,var(--page-bg) 95%,var(--page-text));color:var(--page-text);
}
.home-page .home-get-discovered-icon {width:52px;height:52px;display:grid;place-items:center;border:1px solid var(--home-outline);border-radius:14px;}
.home-page .home-get-discovered-eyebrow {display:block;margin-bottom:4px;font-size:.62rem;font-weight:900;letter-spacing:.12em;opacity:.58;}
.home-page .home-get-discovered h2 {margin:0;font-size:clamp(1.18rem,1.8vw,1.5rem);font-weight:850;line-height:1.15;}
.home-page .home-get-discovered p {margin:4px 0 0;color:var(--home-subtle);font-size:.83rem;line-height:1.5;}
.home-page .home-get-discovered-action {
    display:inline-flex;align-items:center;justify-content:center;gap:18px;
    min-height:46px;padding:10px 20px;border-radius:999px;
    border:1px solid var(--page-text);background:var(--page-text);color:var(--page-bg);
    font-size:.74rem;font-weight:850;text-align:center;text-decoration:none;white-space:nowrap;
}
.home-page .home-get-discovered-action:hover {background:var(--page-bg);color:var(--page-text);}
.home-page .home-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:22px 0 2px;}
.home-page .home-stat {display:flex;justify-content:center;align-items:center;gap:18px;min-width:0;padding:5px 14px;color:var(--home-ink);}
.home-page .home-stat + .home-stat {border-left:1px solid var(--home-outline);}
.home-page .home-stat svg {width:31px;height:31px;flex:0 0 31px;opacity:.85;}
.home-page .home-stat div {display:flex;flex-direction:column;}
.home-page .home-stat strong {font-size:1.38rem;font-weight:900;line-height:1.15;font-variant-numeric:tabular-nums;}
.home-page .home-stat span {color:var(--home-subtle);font-size:.76rem;}

@media (max-width:1140px) {
    .home-page .blooow-header-top,.home-page .blooow-header-frame {
        grid-template-columns:minmax(100px,1fr) auto;grid-template-areas:"brand actions" "nav nav";
        gap:8px 12px;min-height:0;
    }
    .home-page .blooow-header-brand {
        grid-area:brand;
        width:clamp(128px,17vw,158px);
        height:auto;
        aspect-ratio:1134 / 780;
    }
    .home-page .blooow-header-center {grid-area:nav;}
    .home-page .blooow-header-actions {grid-area:actions;}
    .home-page .blooow-main-nav-desktop {display:none;}
    .home-page .blooow-main-nav-mobile {
        display:flex;justify-content:center;gap:clamp(2px,2vw,18px);
        min-height:43px;border:1px solid var(--home-outline);border-radius:999px;
        padding:3px 6px;background:var(--home-glass);
    }
    .home-page .blooow-nav-more-menu {background:var(--page-bg);}
    .home-page .blooow-main-nav-mobile > a,
    .home-page .blooow-main-nav-mobile > .blooow-nav-more > summary {font-size:.78rem;padding:9px 14px;}
    .home-page .home-hero h1 {font-size:clamp(2.3rem,5.6vw,3.8rem);}
    .home-page .discovery-portal-copy {max-width:92%;}
}
@media (max-width:850px) {
    .home-page .home-experience {width:calc(100% - 28px);}
    .home-page .home-hero {min-height:410px;padding:40px 24px;}
    .home-page .home-hero::before {background-image:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.86) 55%,rgba(255,255,255,.32)),url("../images/home/hero.3b4e524f08a1.webp"),linear-gradient(125deg,#f7dfca,#b2cff0);}
    :root[data-theme="dark"] .home-page .home-hero::before {background-image:linear-gradient(90deg,rgba(8,12,24,.97),rgba(8,12,24,.83) 55%,rgba(8,12,24,.48)),url("../images/home/hero.3b4e524f08a1.webp"),linear-gradient(125deg,#151c30,#345170);}
    .home-page .home-discovery-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
    .home-page .discovery-portal-offers {grid-column:1/-1;min-height:220px;}
    .home-page .home-get-discovered {grid-template-columns:auto 1fr;}
    .home-page .home-get-discovered-action {grid-column:1/-1;justify-self:stretch;}
}
@media (max-width:600px) {
    .home-page .blooow-header {padding:10px 12px 8px;}
    .home-page .blooow-header-top,.home-page .blooow-header-frame {grid-template-columns:minmax(0,1fr) auto;gap:8px 4px;}
    .home-page .blooow-header-brand {
        width:clamp(96px,29vw,144px);
        max-width:none;
        height:auto;
        aspect-ratio:1134 / 780;
    }
    .home-page .blooow-header-top,.home-page .blooow-header-frame {gap:9px 7px;}
    .home-page .home-language-switcher {min-height:38px;padding:2px;}
    .home-page .home-language-choice {
        min-height:32px;
        min-width:0;
        padding:6px clamp(5px,1.3vw,8px);
        font-size:clamp(.7rem,2.8vw,.78rem);
    }
    .home-page .blooow-header-actions {gap:8px;}
    .home-page .blooow-header-actions .blooow-theme-toggle {width:40px;height:40px;min-width:40px;flex-basis:40px;}
    .home-page .blooow-main-nav-mobile {gap:0;justify-content:space-around;min-height:38px;}
    .home-page .blooow-main-nav-mobile > a,.home-page .blooow-main-nav-mobile > .blooow-nav-more > summary {font-size:clamp(.62rem,2.7vw,.75rem);padding:9px 10px;}
    .home-page .home-experience {width:calc(100% - 20px);padding-bottom:26px;}
    .home-page .home-hero {padding:36px 18px 27px;min-height:415px;border-radius:18px;align-items:flex-start;}
    .home-page .home-hero::before {background-image:linear-gradient(180deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.90) 57%,rgba(255,255,255,.55) 100%),url("../images/home/hero.3b4e524f08a1.webp"),linear-gradient(130deg,#fff3d7,#a5c8ef);background-position:center,center right,center;}
    :root[data-theme="dark"] .home-page .home-hero::before {background-image:linear-gradient(180deg,rgba(8,12,24,.97),rgba(8,12,24,.87) 60%,rgba(8,12,24,.54)),url("../images/home/hero.3b4e524f08a1.webp"),linear-gradient(130deg,#151727,#30506a);}
    .home-page .home-headline-break {display:none;}
    .home-page .home-hero h1 {font-size:clamp(2rem,8.5vw,3.05rem);line-height:1.11;letter-spacing:-.05em;}
    .home-page .home-hero-eyebrow {font-size:.66rem;}
    .home-page .home-hero p {font-size:.87rem;margin:12px 0 19px;}
    .home-page .home-search {min-height:55px;padding:5px 5px 5px 13px;gap:9px;}
    .home-page .home-search-icon {width:20px;height:20px;flex-basis:20px;}
    .home-page .home-search input {font-size:.81rem;}
    .home-page .home-search-submit {width:43px;height:43px;flex-basis:43px;}
    .home-page .home-quick-searches {display:block;margin-top:9px;}
    .home-page .home-quick-searches-label {display:block;margin-bottom:4px;}
    .home-page .home-quick-searches-list {gap:6px;}
    .home-page .home-discovery-grid {grid-template-columns:1fr;gap:11px;margin-top:12px;}
    .home-page .discovery-portal,.home-page .discovery-portal-offers {grid-column:auto;min-height:220px;padding:17px 18px;border-radius:17px;}
    .home-page .discovery-portal-copy {max-width:75%;}
    .home-page .discovery-portal h2 {font-size:2rem;}
    .home-page .discovery-portal p {font-size:.77rem;}
    .home-page .discovery-portal-icon {width:45px;height:45px;}
    .home-page .home-get-discovered {margin-top:11px;padding:15px;gap:12px;}
    .home-page .home-get-discovered-icon {width:43px;height:43px;}
    .home-page .home-get-discovered-action {min-height:43px;white-space:normal;}
    .home-page .home-stats {padding-top:17px;}
    .home-page .home-stat {gap:6px;padding:5px 4px;flex-direction:column;text-align:center;}
    .home-page .home-stat svg {width:22px;height:22px;flex-basis:22px;}
    .home-page .home-stat strong {font-size:1.14rem;}
    .home-page .home-stat span {font-size:.65rem;}
}
@media (max-width:360px) {
    .home-page .blooow-header-brand {width:clamp(88px,28vw,100px);}
    .home-page .blooow-header-actions {gap:5px;}
    .home-page .home-language-switcher {min-height:34px;padding:2px 1px;}
    .home-page .home-language-choice {min-height:30px;min-width:0;font-size:.61rem;padding-inline:4px;}
    .home-page .blooow-header-actions .blooow-theme-toggle {width:36px;height:36px;min-width:36px;flex-basis:36px;}
    .home-page .blooow-header-actions .blooow-theme-icon {width:20px;height:20px;}
    .home-page .home-hero h1 {font-size:1.9rem;}
    .home-page .discovery-portal-copy {max-width:85%;}
    .home-page .blooow-main-nav-mobile > a,.home-page .blooow-main-nav-mobile > .blooow-nav-more > summary {padding-inline:7px;}
}
@media (prefers-reduced-motion:reduce) {
    .home-page .discovery-portal,.home-page .discovery-portal::before,.home-page .home-search-submit {transition:none;}
}

/* Five mobile destinations including Home: distribute evenly without
   losing the More popover or requiring a horizontal scroll. */
@media (max-width: 1350px) {
    .home-page .blooow-main-nav-mobile > a,
    .home-page .blooow-main-nav-mobile > .blooow-nav-more {
        flex: 1 1 0; min-width: 0; text-align: center;
    }
    .home-page .blooow-main-nav-mobile > a {
        display: flex; align-items: center; justify-content: center;
    }
    .home-page .blooow-main-nav-mobile > .blooow-nav-more > summary {
        display: flex; align-items: center; justify-content: center; width: 100%;
    }
}
@media (max-width: 600px) {
    .home-page .blooow-main-nav-mobile {gap: 2px; padding: 4px;}
    .home-page .blooow-main-nav-mobile > a,
    .home-page .blooow-main-nav-mobile > .blooow-nav-more > summary {
        padding: 9px 2px;
        font-size: clamp(.59rem, 2.5vw, .75rem);
        min-height: 34px;
        line-height: 1.18;
    }
}

/* Unified scenic-image treatment · light mode only.
   Keep the text side clean; let the original WebP emerge on the right.
   Dark-mode gradients, theme controls, card behavior and image paths are unchanged. */
:root:not([data-theme="dark"]) .home-page .home-hero::before {
  background-image:linear-gradient(90deg, #fff 0%, rgba(255,255,255,.995) 24%, rgba(255,255,255,.97) 40%, rgba(255,255,255,.79) 56%, rgba(255,255,255,.38) 77%, rgba(255,255,255,.06) 100%),url("../images/home/hero.3b4e524f08a1.webp"),linear-gradient(125deg,#f7d8ae,#d4e0fa 46%,#83bed9);
}
:root:not([data-theme="dark"]) .home-page .discovery-portal-business::before {
  background-image:linear-gradient(90deg, rgba(237,242,255,.995) 0%, rgba(237,242,255,.98) 27%, rgba(237,242,255,.89) 47%, rgba(237,242,255,.68) 64%, rgba(237,242,255,.28) 84%, rgba(237,242,255,.07) 100%),var(--portal-image),linear-gradient(135deg,#e4eaff,var(--portal-tint));
}
:root:not([data-theme="dark"]) .home-page .discovery-portal-events::before {
  background-image:linear-gradient(90deg, rgba(255,239,243,.995) 0%, rgba(255,239,243,.98) 27%, rgba(255,239,243,.89) 47%, rgba(255,239,243,.68) 64%, rgba(255,239,243,.28) 84%, rgba(255,239,243,.07) 100%),var(--portal-image),linear-gradient(130deg,#ffe5e9,#f5bbc8);
}
:root:not([data-theme="dark"]) .home-page .discovery-portal-offers::before {
  background-image:linear-gradient(90deg, rgba(255,248,231,.995) 0%, rgba(255,248,231,.98) 27%, rgba(255,248,231,.89) 47%, rgba(255,248,231,.68) 64%, rgba(255,248,231,.28) 84%, rgba(255,248,231,.07) 100%),var(--portal-image),linear-gradient(130deg,#fff4d8,#f3d49e);
}
@media(max-width:640px) {
  :root:not([data-theme="dark"]) .home-page .home-hero::before {
    background-image:linear-gradient(180deg, rgba(255,255,255,.995) 0%, rgba(255,255,255,.985) 43%, rgba(255,255,255,.92) 68%, rgba(255,255,255,.68) 100%),url("../images/home/hero.3b4e524f08a1.webp"),linear-gradient(130deg,#fff3d7,#a5c8ef);
  }
  :root:not([data-theme="dark"]) .home-page .discovery-portal-business::before {
    background-image:linear-gradient(90deg, rgba(237,242,255,.995), rgba(237,242,255,.965) 34%, rgba(237,242,255,.85) 61%, rgba(237,242,255,.36) 89%, rgba(237,242,255,.14) 100%),var(--portal-image),linear-gradient(135deg,#e4eaff,#eef1ff);
  }
  :root:not([data-theme="dark"]) .home-page .discovery-portal-events::before {
    background-image:linear-gradient(90deg, rgba(255,239,243,.995), rgba(255,239,243,.965) 34%, rgba(255,239,243,.85) 61%, rgba(255,239,243,.36) 89%, rgba(255,239,243,.14) 100%),var(--portal-image),linear-gradient(135deg,#ffe5e9,#f5bbc8);
  }
  :root:not([data-theme="dark"]) .home-page .discovery-portal-offers::before {
    background-image:linear-gradient(90deg, rgba(255,248,231,.995), rgba(255,248,231,.965) 34%, rgba(255,248,231,.85) 61%, rgba(255,248,231,.36) 89%, rgba(255,248,231,.14) 100%),var(--portal-image),linear-gradient(135deg,#fff4d8,#f3d49e);
  }
}


/* BLOOOW balanced scenic refinement — October 19 */
/* Balanced scenic treatment: strong text contrast, visible original photography. */
:root:not([data-theme="dark"]) .home-page .home-hero::before {
 background-image:linear-gradient(96deg,rgba(255,255,255,.995) 0%,rgba(255,255,255,.96) 20%,rgba(255,255,255,.84) 37%,rgba(255,255,255,.48) 58%,rgba(255,255,255,.14) 79%,rgba(255,255,255,.02) 100%),url("../images/home/hero.3b4e524f08a1.webp"),linear-gradient(125deg,#f7d8ae,#d4e0fa 46%,#83bed9);
}
:root:not([data-theme="dark"]) .home-page .home-hero::after {
 background:linear-gradient(0deg,rgba(255,255,255,.18),transparent 27%);
}
:root:not([data-theme="dark"]) .home-page .discovery-portal-business::before {
 background-image:linear-gradient(96deg,rgba(237,242,255,.99) 0%,rgba(237,242,255,.94) 27%,rgba(237,242,255,.8) 48%,rgba(237,242,255,.48) 70%,rgba(237,242,255,.08) 100%),var(--portal-image),linear-gradient(135deg,#e4eaff,var(--portal-tint));
}
:root:not([data-theme="dark"]) .home-page .discovery-portal-events::before {
 background-image:linear-gradient(96deg,rgba(255,239,243,.99) 0%,rgba(255,239,243,.94) 27%,rgba(255,239,243,.8) 48%,rgba(255,239,243,.48) 70%,rgba(255,239,243,.08) 100%),var(--portal-image),linear-gradient(130deg,#ffe5e9,#f5bbc8);
}
:root:not([data-theme="dark"]) .home-page .discovery-portal-offers::before {
 background-image:linear-gradient(96deg,rgba(255,248,231,.99) 0%,rgba(255,248,231,.94) 27%,rgba(255,248,231,.8) 48%,rgba(255,248,231,.48) 70%,rgba(255,248,231,.08) 100%),var(--portal-image),linear-gradient(130deg,#fff4d8,#f3d49e);
}
/* The scrollbar was a heavy gray line below the category chips. The rail remains scrollable. */
.home-page .home-quick-searches-list {scrollbar-width:none;-ms-overflow-style:none;}
.home-page .home-quick-searches-list::-webkit-scrollbar {display:none;width:0;height:0;}
@media(max-width:600px) {
 :root:not([data-theme="dark"]) .home-page .home-hero::before {
  background-image:linear-gradient(180deg,rgba(255,255,255,.995) 0%,rgba(255,255,255,.985) 26%,rgba(255,255,255,.94) 46%,rgba(255,255,255,.71) 65%,rgba(255,255,255,.27) 83%,rgba(255,255,255,.07) 100%),linear-gradient(90deg,rgba(255,255,255,.22),rgba(255,255,255,0) 65%),url("../images/home/hero.3b4e524f08a1.webp"),linear-gradient(130deg,#fff3d7,#a5c8ef);
  background-size:cover,cover,cover,cover;
  background-position:center,center,center right,center;
 }
 :root:not([data-theme="dark"]) .home-page .discovery-portal-business::before {
  background-image:linear-gradient(104deg,rgba(237,242,255,.99) 0%,rgba(237,242,255,.96) 25%,rgba(237,242,255,.83) 46%,rgba(237,242,255,.54) 69%,rgba(237,242,255,.09) 100%),var(--portal-image),linear-gradient(135deg,#e4eaff,#eef1ff);
 }
 :root:not([data-theme="dark"]) .home-page .discovery-portal-events::before {
  background-image:linear-gradient(104deg,rgba(255,239,243,.99) 0%,rgba(255,239,243,.96) 25%,rgba(255,239,243,.83) 46%,rgba(255,239,243,.54) 69%,rgba(255,239,243,.09) 100%),var(--portal-image),linear-gradient(135deg,#ffe5e9,#f5bbc8);
 }
 :root:not([data-theme="dark"]) .home-page .discovery-portal-offers::before {
  background-image:linear-gradient(104deg,rgba(255,248,231,.99) 0%,rgba(255,248,231,.96) 25%,rgba(255,248,231,.83) 46%,rgba(255,248,231,.54) 69%,rgba(255,248,231,.09) 100%),var(--portal-image),linear-gradient(135deg,#fff4d8,#f3d49e);
 }
 .home-page .home-quick-searches-list {-webkit-mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 18px),transparent 100%);}
}
/* Make action buttons distinct even against dark images. */
:root[data-theme="dark"] .home-page .discovery-portal-action {background:rgba(9,17,34,.79);border-color:var(--portal-accent);box-shadow:0 2px 10px rgba(0,0,0,.20);}
:root[data-theme="dark"] .home-page .discovery-portal:hover .discovery-portal-action {color:#101827;}
