/* Brushed blue, soft apricot and ivory. Load after component styles. */
:root,
[data-bs-theme="light"] {
    --brand-blue: #47677f;
    --brand-blue-soft: #e8eff4;
    --brand-footer-text: #f1f5f8;
    --brand-footer-link: #f7cfaf;
    --brand-hero-sheen: linear-gradient(115deg, #faf8f5 0%, #edf2f6 60%, #fcebdd 100%);
    --brand-metal-sheen: linear-gradient(125deg, #304b60, #496a82 48%, #35566f);
    --brand-orange: #f2b58c;
    --brand-orange-deep: #92502d;
    --brand-orange-soft: #fcebdd;
    --brand-orange-panel: #f7d8bf;
    --brand-footer: #304b60;
    --brand-action: #35566f;
    --brand-action-hover: #29455b;
    --brand-action-active: #20394d;
    --brand-action-text: #fff;
    --brand-action-soft: #e8eff4;
    --brand-action-link: #35566f;
    --brand-action-ring: 53, 86, 111;
    --brand-hero: #edf2f6;
    --brand-explore-overlay: rgba(28, 46, 63, .82);
    --bd-cream: #faf8f5;
    --bd-sand: #fcebdd;
    --bd-coral: var(--brand-orange);
    --bd-coral-dark: var(--brand-orange-deep);
    --bd-ink: #243748;
    --bd-ink-soft: #42586b;
    --bd-deep-surface: var(--brand-orange-panel);
    --bd-line: #d5dfe6;
    --bd-muted: #5c6d7a;
    --app-surface: #fffefd;
    --app-surface-muted: #edf2f6;
    --ui-surface: #fffefd;
    --ui-soft: #edf2f6;
    --ui-text: #243748;
    --ui-muted: #5c6d7a;
    --ui-line: #d5dfe6;
    --ui-accent: var(--brand-action-link);
    --ui-focus: var(--brand-action-link);
    --ui-shadow: 0 5px 22px rgba(44, 68, 88, .055);
    --ui-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%2347677f' stroke-opacity='.065' d='M4 12l16 16M4 4l24 24M12 4l16 16M36 20l16-16M36 28l24-24M44 28l16-16M4 52l16-16M4 60l24-24M12 60l16-16M36 44l16 16M36 36l24 24M44 36l16 16'/%3E%3C/svg%3E");
    --bs-primary: var(--brand-action);
    --bs-primary-rgb: 53, 86, 111;
    --bs-primary-text-emphasis: #29455b;
    --bs-primary-bg-subtle: #e8eff4;
    --bs-primary-border-subtle: #b6cbd9;
    --bs-body-bg: var(--bd-cream);
    --bs-body-bg-rgb: 250, 248, 245;
    --bs-body-color: var(--ui-text);
    --bs-body-color-rgb: 36, 55, 72;
    --bs-emphasis-color: var(--ui-text);
    --bs-emphasis-color-rgb: 36, 55, 72;
    --bs-secondary-color: var(--ui-muted);
    --bs-secondary-bg: var(--brand-orange-soft);
    --bs-secondary-bg-rgb: 252, 235, 221;
    --bs-tertiary-bg: var(--ui-soft);
    --bs-tertiary-bg-rgb: 237, 242, 246;
    --bs-border-color: var(--ui-line);
    --bs-link-color: var(--brand-action-link);
    --bs-link-color-rgb: 53, 86, 111;
    --bs-link-hover-color: var(--brand-action-hover);
    --bs-link-hover-color-rgb: 41, 69, 91;
}

[data-bs-theme="dark"] {
    --brand-blue: #a7c3d7;
    --brand-blue-soft: #293e50;
    --brand-footer-text: #eef3f7;
    --brand-footer-link: #f2c5a5;
    --brand-hero-sheen: linear-gradient(115deg, #182936 0%, #253b4d 65%, #3b3029 100%);
    --brand-metal-sheen: linear-gradient(125deg, #22384b, #3d5d75 48%, #2e485e);
    --brand-orange: #f2b58c;
    --brand-orange-deep: #f2b58c;
    --brand-orange-soft: #3b3029;
    --brand-orange-panel: #4a3629;
    --brand-footer: #182a39;
    --brand-action: #456a86;
    --brand-action-hover: #50758f;
    --brand-action-active: #36566f;
    --brand-action-text: #fff;
    --brand-action-soft: #2a4153;
    --brand-action-link: #b9d5e8;
    --brand-action-ring: 185, 213, 232;
    --brand-hero: #223546;
    --brand-explore-overlay: rgba(17, 30, 43, .88);
    --bd-cream: #15212c;
    --bd-sand: #3b3029;
    --bd-coral: var(--brand-orange);
    --bd-coral-dark: var(--brand-orange-deep);
    --bd-ink: #eef3f7;
    --bd-ink-soft: #d5e2ec;
    --bd-deep-surface: var(--brand-orange-panel);
    --bd-line: #40576a;
    --bd-muted: #bbc9d4;
    --app-surface: #1e2d3a;
    --app-surface-muted: #253847;
    --ui-surface: #1e2d3a;
    --ui-soft: #253847;
    --ui-text: #eef3f7;
    --ui-muted: #bbc9d4;
    --ui-line: #40576a;
    --ui-control-line: #718c9f;
    --ui-accent: var(--brand-action-link);
    --ui-focus: var(--brand-action-link);
    --ui-shadow: 0 5px 22px rgba(0, 0, 0, .16);
    --ui-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%2389a9bf' stroke-opacity='.055' d='M4 12l16 16M4 4l24 24M12 4l16 16M36 20l16-16M36 28l24-24M44 28l16-16M4 52l16-16M4 60l24-24M12 60l16-16M36 44l16 16M36 36l24 24M44 36l16 16'/%3E%3C/svg%3E");
    --bs-primary: var(--brand-action);
    --bs-primary-rgb: 69, 106, 134;
    --bs-primary-text-emphasis: #b9d5e8;
    --bs-primary-bg-subtle: #2a4153;
    --bs-primary-border-subtle: #64849b;
    --bs-body-bg: var(--bd-cream);
    --bs-body-bg-rgb: 21, 33, 44;
    --bs-body-color: var(--ui-text);
    --bs-body-color-rgb: 238, 243, 247;
    --bs-emphasis-color: var(--ui-text);
    --bs-emphasis-color-rgb: 238, 243, 247;
    --bs-secondary-color: var(--ui-muted);
    --bs-secondary-bg: var(--brand-orange-soft);
    --bs-secondary-bg-rgb: 59, 48, 41;
    --bs-tertiary-bg: var(--ui-soft);
    --bs-tertiary-bg-rgb: 37, 56, 71;
    --bs-border-color: var(--ui-line);
    --bs-link-color: var(--brand-action-link);
    --bs-link-color-rgb: 185, 213, 232;
    --bs-link-hover-color: #dceaf5;
    --bs-link-hover-color-rgb: 220, 234, 245;
}

/* Quiet reading surfaces with cool blue structure and warm apricot accents. */
:root body, :root .admin-content { color: var(--ui-text); background-color: var(--bd-cream); }
:root .site-nav, :root .site-nav.is-scrolled,
:root .workspace-header { background-color: var(--ui-surface); border-color: var(--ui-line); }
:root .admin-sidebar { background-color: var(--ui-soft) !important; }
:root .hero { background-color: var(--brand-hero); background-image: var(--brand-hero-sheen); background-size: cover; }
:root .featured-section { background-color: var(--brand-blue-soft); }
:root .activity-section { background-color: var(--bd-cream); }
:root .trust-strip { background-color: var(--ui-soft); }
:root .trust-strip li > i, :root .hero-kicker { color: var(--brand-action-link); background-color: var(--brand-blue-soft); }
:root .eyebrow { color: var(--brand-orange-deep); }
:root .journey-card, :root .industry-card,
:root .category-grid .category-card, :root .card,
:root .offer-card, :root .activity-card { background-color: var(--ui-surface); }
:root .hero .search-field label { color: var(--ui-muted); }
:root .search-control > i, :root .hero-proof i, :root .hero-counters i { color: var(--brand-action-link); }
:root .hero .search-field:focus-within,
:root .hero .search-field:focus-within :is(.form-control, .form-select) { background-color: var(--ui-soft); }
:root .discovery-search { background-color: var(--ui-surface); border-color: var(--ui-line); }
:root .hero .search-field :is(.form-control, .form-select) { color: var(--ui-text); background-color: transparent; }
/* Dark mode: discovery.css forces dark text (#142c2e) on the hero search fields while they have focus, for the light theme's pale focus background. In
   dark mode the focus background is dark, so what you type - and the caret - vanished into it. Keep the theme's text colour in every state. */
[data-bs-theme="dark"] .hero .discovery-search .search-control :is(input, select):is(:focus, :focus-visible, :focus-within),
[data-bs-theme="dark"] .hero .search-field :is(.form-control, .form-select) { color: var(--ui-text); caret-color: var(--ui-text); }
[data-bs-theme="dark"] .hero .search-field .form-control::placeholder { color: #a9b9bb; opacity: 1; }
[data-bs-theme="dark"] .hero .search-field .form-control:-webkit-autofill { -webkit-text-fill-color: var(--ui-text); box-shadow: 0 0 0 40px var(--ui-soft) inset; }
:root .popular-searches a { color: var(--brand-action-link); background-color: var(--ui-surface); border-color: var(--ui-line); }

/* Blue emphasis replaces older green tiles while retaining their texture hover. */
:root .category-grid .category-card .icon-circle,
:root .industry-card .icon-circle { color: var(--brand-action-link); background-color: var(--brand-blue-soft); }
:root .category-grid .category-card:is(:hover, :focus-visible) { color: var(--ui-text); background-color: var(--brand-blue-soft); border-color: var(--brand-blue); }
:root .category-grid .category-card:is(:hover, :focus-visible) :is(small, .category-arrow) { color: var(--ui-text); }
:root .category-grid .category-card:is(:hover, :focus-visible) .icon-circle { color: var(--brand-action-text); background-color: var(--brand-action); }
:root .category-grid .category-all { background-color: var(--brand-orange-soft); }
:root .category-grid .category-all:is(:hover, :focus-visible) { color: #fff !important; background-color: var(--brand-action) !important; border-color: var(--brand-action) !important; }
:root .category-grid .category-all:is(:hover, :focus-visible) :is(small, .category-arrow) { color: #fff; }

/* Blue actions stay distinct from the light apricot decoration. */
:root :is(.btn-primary, .btn-dark) {
    --bs-btn-color: var(--brand-action-text);
    --bs-btn-bg: var(--brand-action);
    --bs-btn-border-color: var(--brand-action);
    --bs-btn-hover-color: var(--brand-action-text);
    --bs-btn-hover-bg: var(--brand-action-hover);
    --bs-btn-hover-border-color: var(--brand-action-hover);
    --bs-btn-active-color: var(--brand-action-text);
    --bs-btn-active-bg: var(--brand-action-active);
    --bs-btn-active-border-color: var(--brand-action-active);
    --bs-btn-disabled-color: var(--brand-action-text);
    --bs-btn-disabled-bg: var(--brand-action);
    --bs-btn-disabled-border-color: var(--brand-action);
    --bs-btn-focus-shadow-rgb: var(--brand-action-ring);
}
:root .btn-outline-primary {
    --bs-btn-color: var(--brand-action-link);
    --bs-btn-border-color: var(--brand-action-link);
    --bs-btn-hover-color: var(--brand-action-text);
    --bs-btn-hover-bg: var(--brand-action);
    --bs-btn-hover-border-color: var(--brand-action);
    --bs-btn-active-color: var(--brand-action-text);
    --bs-btn-active-bg: var(--brand-action-active);
    --bs-btn-active-border-color: var(--brand-action-active);
    --bs-btn-focus-shadow-rgb: var(--brand-action-ring);
    --bs-btn-disabled-color: var(--brand-action-link);
    --bs-btn-disabled-border-color: var(--brand-action-link);
}
:root .text-primary { color: var(--brand-action-link) !important; }
:root .business-card .profile-action, :root .profile-action,
:root .premium-spotlight-cta, :root .community-banner .btn {
    color: var(--brand-action-text); background: var(--brand-action); border-color: var(--brand-action);
}
:root .business-card .profile-action:hover, :root .profile-action:hover,
:root .premium-spotlight-cta:hover, :root .community-banner .btn:hover {
    color: var(--brand-action-text); background: var(--brand-action-hover); border-color: var(--brand-action-hover);
}
:root .profile-action > i { color: inherit; background: rgba(255, 255, 255, .13); }
:root .profile-action:hover > i { color: inherit; background: rgba(255, 255, 255, .2); }
:root :is(.discovery-chip, .filter-chip).is-active,
:root .mobile-tab.is-active, :root .admin-sidebar .nav-link.active,
:root .account-section-link.is-current, :root .profile-subnav a.is-current,
:root .results-view-switch .btn.active {
    color: var(--brand-action-text); background-color: var(--brand-action); border-color: var(--brand-action);
}
:root .pagination .page-item.active .page-link {
    color: var(--brand-action-text); background-color: var(--brand-action); border-color: var(--brand-action);
}
.form-check-input:checked { background-color: var(--brand-action); border-color: var(--brand-action); }

/* Photo backdrops and basket-weave hovers keep the same layout and behavior. */
:root .explore-city-section { background-color: var(--brand-footer); }
:root .explore-city-section::before { background: linear-gradient(100deg, var(--brand-explore-overlay), rgba(24, 42, 57, .68)); }
:root .explore-city-section .category-grid .category-card { background-color: rgba(53, 78, 98, .58); }
:root .explore-city-section .category-grid .category-card:is(:hover, :focus-visible) { background-color: rgba(53, 86, 111, .9); }
:root .explore-city-section .category-grid .category-card:is(:hover, :focus-visible) :is(small, .category-arrow) { color: #fff; }
:root .explore-city-section .category-grid .category-all,
:root .explore-city-section .category-grid .category-all:is(:hover, :focus-visible) { background-color: rgba(156, 99, 62, .78) !important; border-color: #f2c5a5 !important; }
:root .community-owner-grid { background: radial-gradient(ellipse at 94% 8%, #ffffff66, transparent 52%), var(--brand-orange-panel); }
:root .community-banner { color: var(--ui-text); }
:root .community-banner p, :root .community-claim-link { color: var(--ui-text); }
:root .community-owner-copy h2, :root .community-owner-note { color: var(--ui-text); }
:root .community-preview-label { color: var(--ui-text); background: var(--ui-surface); border-color: var(--ui-line); }
:root .community-profile-sample { background: var(--brand-metal-sheen); border-color: #c7d8e780; box-shadow: 0 20px 44px rgba(40, 66, 87, .18), inset 0 1px 0 #ffffff45; }
:root .community-profile-sample :is(strong, .community-sample-avatar) { color: #f1f5f8; }
:root .community-sample-top div > span, :root .community-owner-benefits span,
:root .community-sample-footer { color: #edf2f6; }
:root .community-sample-avatar, :root .community-owner-benefits li > i { color: #f7cfaf; background: #ffffff12; border-color: #c7d8e745; }
:root .community-sample-tag { color: #f7cfaf; border-color: #f7cfaf66; background: #172d4259; }
:root .community-sample-footer { background-color: #1b304533; }
:root .community-preview-label::before { background-color: var(--brand-blue); box-shadow: 0 0 0 4px #47677f14; }
:root .how-section { color: var(--ui-text); background-color: var(--ui-soft); }
:root .how-section :is(h2, h3) { color: var(--ui-text); }
:root .how-section p, :root .step-number { color: var(--ui-muted); }
:root .how-grid article { border-color: var(--ui-line); }
:root .step-icon { color: var(--brand-action-link); background-color: var(--ui-surface); }
:root .site-footer { color: var(--brand-footer-text); background-color: var(--brand-footer); }
:root .site-footer :is(.footer-brand, h2, .footer-intro p, .footer-bottom) { color: var(--brand-footer-text); }
:root .site-footer .footer-links a { color: var(--brand-footer-text); }
:root .site-footer :is(.footer-contact a, .footer-bottom a, .footer-contact i) { color: var(--brand-footer-link); }
:root .site-footer .footer-links a:hover { color: var(--brand-footer-link); text-decoration: underline; }
:root .footer-bottom { border-color: color-mix(in srgb, var(--brand-footer-text) 25%, transparent); }

/* More expressive light mode. Dark mode keeps the existing blue-charcoal palette. */
:root:not([data-bs-theme="dark"]) {
    --ui-muted: #506170;
    --bd-muted: #506170;
    --brand-blue: #246d99;
    --brand-blue-soft: #deedf9;
    --brand-orange: #ffb277;
    --brand-orange-deep: #97451e;
    --brand-orange-soft: #fff0e3;
    --brand-orange-panel: #ffd0a6;
    --brand-action: #174f78;
    --brand-action-hover: #103c5f;
    --brand-action-active: #0d304d;
    --brand-action-link: #174f78;
    --brand-action-ring: 23, 79, 120;
    --brand-footer: #102f4b;
    --ui-line: #c9dbe9;
    --bd-line: #c9dbe9;
    --ui-shadow: 0 7px 25px rgba(24, 69, 104, .09);
    --bs-primary-rgb: 23, 79, 120;
    --bs-primary-text-emphasis: #103c5f;
    --bs-primary-bg-subtle: #deedf9;
    --bs-primary-border-subtle: #9bbdd5;
    --bs-secondary-bg-rgb: 255, 240, 227;
    --bs-link-color-rgb: 23, 79, 120;
    --bs-link-hover-color-rgb: 16, 60, 95;
}
:root:not([data-bs-theme="dark"]) body,
:root:not([data-bs-theme="dark"]) .admin-content {
    background-image: var(--ui-texture), linear-gradient(125deg, #eef6fd, #fffdf9 55%, #fff0e3);
    background-size: 64px 64px, cover;
}
:root:not([data-bs-theme="dark"]) :is(.site-nav, .workspace-header) {
    border-bottom: 3px solid #f3b283;
    box-shadow: 0 3px 18px rgba(23, 64, 96, .07);
}
:root:not([data-bs-theme="dark"]) .hero {
    color: #fff;
    background-color: #123954;
    background-image: radial-gradient(ellipse at 110% 0%, rgba(255, 178, 119, .14), transparent 60%), linear-gradient(115deg, #0e2844, #1b5479 65%, #206186);
    background-size: cover;
    border-bottom-color: #315f82;
}
:root:not([data-bs-theme="dark"]) .hero h1 { color: #fff; }
:root:not([data-bs-theme="dark"]) .hero h1 em { color: #ffe3c6; }
:root:not([data-bs-theme="dark"]) .hero-intro > p,
:root:not([data-bs-theme="dark"]) .hero :is(.hero-proof, .hero-counters, .popular-searches > span) { color: #e5eff8; }
:root:not([data-bs-theme="dark"]) .hero :is(.hero-proof i, .hero-counters i) { color: #ffd1a8; }
:root:not([data-bs-theme="dark"]) .hero-counters strong { color: #fff; }
:root:not([data-bs-theme="dark"]) .hero-kicker { color: #173c58; background: #ffd1a8; }
:root:not([data-bs-theme="dark"]) .discovery-search {
    border-color: #d4e5f2;
    box-shadow: 0 14px 34px rgba(3, 23, 42, .25);
}
:root:not([data-bs-theme="dark"]) .trust-strip { background: #173f5f; border-bottom-color: #315f82; }
:root:not([data-bs-theme="dark"]) .trust-strip li { color: #e5eff8; border-color: #42647f; }
:root:not([data-bs-theme="dark"]) .trust-strip strong { color: #fff; }
:root:not([data-bs-theme="dark"]) .trust-strip li > i { color: #ffd1a8; background: rgba(255, 255, 255, .1); }
:root:not([data-bs-theme="dark"]) .featured-section {
    background-image: var(--ui-texture), linear-gradient(115deg, #cfe5f6, #eef6fd 70%);
    background-size: 64px 64px, cover;
}
:root:not([data-bs-theme="dark"]) .activity-section {
    background-image: var(--ui-texture), linear-gradient(115deg, #fffaf5, #ffe6d1);
    background-size: 64px 64px, cover;
}
:root:not([data-bs-theme="dark"]) .community-owner-grid {
    background: radial-gradient(ellipse at 95% 5%, #fff6e9 0%, transparent 62%), linear-gradient(115deg, #ffbd8c, #ffe6d1);
    border: 1px solid #efb88f;
    box-shadow: 0 16px 40px rgba(113, 63, 32, .09);
}
:root:not([data-bs-theme="dark"]) .how-section {
    color: #fff;
    background-image: linear-gradient(120deg, #153752, #245c80);
    background-size: cover;
}
:root:not([data-bs-theme="dark"]) .how-section :is(h2, h3) { color: #fff; }
:root:not([data-bs-theme="dark"]) .how-section p,
:root:not([data-bs-theme="dark"]) .how-section .step-number { color: #e5eff8; }
:root:not([data-bs-theme="dark"]) .how-section .eyebrow { color: #ffd1a8; }
:root:not([data-bs-theme="dark"]) .how-grid article { background: rgba(255, 255, 255, .06); border-color: #64829a; }
:root:not([data-bs-theme="dark"]) .step-icon { color: #173c58; background: #ffd1a8; }
:root:not([data-bs-theme="dark"]) .site-footer { background-image: linear-gradient(120deg, #102f4b, #204f70); }
:root:not([data-bs-theme="dark"]) :is(.btn-primary, .btn-dark),
:root:not([data-bs-theme="dark"]) .business-card .profile-action,
:root:not([data-bs-theme="dark"]) .premium-spotlight-cta,
:root:not([data-bs-theme="dark"]) .community-banner .btn {
    background-image: linear-gradient(115deg, #174f78, #246b94);
    box-shadow: 0 4px 12px rgba(23, 79, 120, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
}
:root:not([data-bs-theme="dark"]) :is(.btn-primary, .btn-dark):is(:hover, :focus-visible),
:root:not([data-bs-theme="dark"]) .business-card .profile-action:is(:hover, :focus-visible),
:root:not([data-bs-theme="dark"]) .premium-spotlight-cta:is(:hover, :focus-visible),
:root:not([data-bs-theme="dark"]) .community-banner .btn:is(:hover, :focus-visible) {
    background-image: linear-gradient(115deg, #103c5f, #174f78);
}

/* Floating surfaces: elevation replaces decorative card and shell outlines. */
:root {
    --brand-float-shadow: 0 5px 12px rgba(23, 57, 83, .045), 0 15px 36px rgba(23, 57, 83, .09);
    --brand-float-shadow-hover: 0 9px 18px rgba(23, 57, 83, .06), 0 23px 46px rgba(23, 57, 83, .14);
    --brand-shell-shadow: 0 5px 20px rgba(14, 40, 62, .1);
}
[data-bs-theme="dark"] {
    --brand-float-shadow: 0 5px 14px rgba(0, 0, 0, .16), 0 16px 36px rgba(0, 0, 0, .27);
    --brand-float-shadow-hover: 0 9px 20px rgba(0, 0, 0, .2), 0 24px 46px rgba(0, 0, 0, .35);
    --brand-shell-shadow: 0 5px 22px rgba(0, 0, 0, .24);
}
:root :is(
    .card, .business-card, .activity-card, .market-card, .offer-card,
    .category-card, .industry-card, .journey-card, .paid-spotlight-card,
    .premium-spotlight-card, .local-discovery-card, .hero-local-discovery,
    .training-video-card, .stat-tile, .skeleton-card,
    .community-banner, .community-profile-sample, .auth-shell,
    .attention-centre, .quote-guidance, .quote-form, .market-post-form,
    .first-review-card, .owner-welcome__option, .nearby-map-panel, .results-map,
    .results-error, .empty-state-compact, .account-section-links
),
:root .profile-content .col-lg-8 > section {
    border: 0 !important;
    box-shadow: var(--brand-float-shadow) !important;
}
:root :is(
    .business-card, .activity-card, .market-card, .offer-card,
    .category-card, .industry-card, .journey-card, .paid-spotlight-card
):is(:hover, :focus-within) {
    box-shadow: var(--brand-float-shadow-hover) !important;
}

/* Remove the media and footer rules visible inside listing/activity cards. */
:root :is(
    .card-header, .card-footer, .activity-card-header, .activity-card-media,
    .activity-card-footer, .business-card-actions, .industry-links,
    .community-sample-top, .community-sample-footer, .profile-summary,
    .review-proof-points
) { border: 0 !important; }
:root :is(.card, .community-banner, .community-profile-sample, .auth-shell) hr {
    border: 0;
    opacity: 0;
}

/* The main shell and search controls separate by spacing and shadow. */
:root :is(
    .site-nav, .site-nav.is-scrolled, .workspace-header, .admin-sidebar,
    .hero, .trust-strip, .trust-strip li, .activity-section,
    .search-page-heading, .profile-subnav, .footer-bottom, .site-nav .nav-end
) { border: 0 !important; }
:root :is(.site-nav, .site-nav.is-scrolled, .workspace-header, .profile-subnav) {
    box-shadow: var(--brand-shell-shadow);
}
:root :is(
    .discovery-search, .search-pill, .search-suggestion-panel, .recently-viewed,
    .compare-tray, .mobile-tabbar, .market-mobile-contact, .consent-banner
) {
    border: 0 !important;
    box-shadow: var(--brand-float-shadow);
}
:root .discovery-search .search-field { border: 0 !important; }

/* Keep visible focus on interactive cards without restoring decorative borders. */
:root .category-grid .category-card:focus-visible,
:root .journey-card:focus-visible,
:root .local-discovery-card:focus-visible {
    outline: 3px solid var(--ui-focus);
    outline-offset: 4px;
}
:root .explore-city-section .category-card:focus-visible {
    outline-color: #ffe3c6;
}

/* Borderless search chips and the browser-local Continue exploring strip. */
:root :is(.discovery-chip, .filter-chip, .active-filter, .recent-business) {
    border: 0 !important;
    box-shadow: 0 3px 10px rgba(7, 27, 44, .1);
}
:root :is(.discovery-chip, .filter-chip):not(.is-active):is(:hover, :focus-visible) {
    color: var(--brand-action-link);
    background-color: var(--brand-blue-soft);
}
:root .recent-business {
    color: var(--ui-text);
    background-color: var(--ui-surface);
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
:root .recent-business:is(:hover, :focus-visible) {
    color: var(--ui-text);
    background-color: var(--brand-blue-soft);
    box-shadow: 0 6px 16px rgba(7, 27, 44, .16);
}
:root .recently-viewed-strip { padding: 5px 3px 12px; scroll-padding-inline: 3px; }

/* Reuse Explore's basket-weave motif when an industry card is explored. */
:root .industry-card {
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
:root .industry-card:is(:hover, :focus-within) {
    background-color: var(--brand-blue-soft);
    background-image: var(--ui-texture);
    background-size: 64px 64px;
    transform: translateY(-3px);
}
:root .industry-card :is(.industry-head, .industry-links a) { color: var(--ui-text); }
:root .industry-card:is(:hover, :focus-within) .icon-circle {
    color: var(--brand-action-text);
    background-color: var(--brand-action);
}
:root .industry-card .industry-links a:is(:hover, :focus-visible) {
    color: var(--brand-action-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    :root .industry-card, :root .recent-business { transition: none; }
    :root .industry-card:is(:hover, :focus-within),
    :root .recent-business:is(:hover, :focus-visible) { transform: none; }
}

/* ---- Dark mode: make the home hero's "Local Inspiration" card stand out ----------------------------------------------------------------
   In light mode the bright blue hero makes the card read clearly. In dark mode the card sat on a dark hero under an almost opaque (65-95%) dark
   green overlay, so the photo was muddy and the card edge vanished. Now: the photo is lifted; the overlay is a sideways gradient (strong where the
   left-aligned text sits, clearer on the right) plus a scrim at the top and bottom for the header and controls; the card has a visible edge and a soft
   glow; the text has a shadow. Measured on all five slides: white text averages 6.9:1 or better against the photo behind it. Light mode is untouched.
   To go back, delete this block. */
:root[data-bs-theme="dark"] .premium-spotlight {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .26), 0 22px 56px rgba(0, 0, 0, .6), 0 0 90px rgba(104, 158, 214, .2);
}
:root[data-bs-theme="dark"] .premium-spotlight-photo { filter: brightness(1.05) saturate(1.1) contrast(1.03); }
:root[data-bs-theme="dark"] .premium-spotlight-card::after {
    background:
        linear-gradient(90deg, rgba(8, 18, 30, .86) 0%, rgba(8, 18, 30, .68) 60%, rgba(8, 18, 30, .26) 100%),
        linear-gradient(180deg, rgba(8, 18, 30, .62) 0%, rgba(8, 18, 30, .14) 20%, rgba(8, 18, 30, .14) 46%, rgba(8, 18, 30, .78) 100%);
}
:root[data-bs-theme="dark"] .premium-spotlight-content :is(h3, .premium-spotlight-category, .premium-spotlight-description),
:root[data-bs-theme="dark"] .premium-spotlight-heading :is(h2, span) {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 2px 18px rgba(0, 0, 0, .55);
}
:root[data-bs-theme="dark"] .premium-no-photo { background: radial-gradient(ellipse at 90% 0, #6a93a8, transparent 70%), #24465a !important; }
/* the search box was dark on a dark hero: give it an edge so it is findable */
:root[data-bs-theme="dark"] .hero .discovery-search { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 14px 34px rgba(0, 0, 0, .45); }
/* on a phone the text runs the full width of the card, so the scrim is uniform instead of sideways */
@media (max-width: 575.98px) {
    :root[data-bs-theme="dark"] .premium-spotlight-card::after {
        background: linear-gradient(180deg, rgba(8, 18, 30, .62) 0%, rgba(8, 18, 30, .46) 30%, rgba(8, 18, 30, .8) 100%);
    }
}
@media (prefers-contrast: more) {
    :root[data-bs-theme="dark"] .premium-spotlight-card::after { background: linear-gradient(180deg, rgba(8, 18, 30, .6), rgba(8, 18, 30, .86)); }
}
