/* Complete site experience: shared layouts, content components, and responsive UI. */
:root {
    --surface-0: #050914;
    --surface-1: #081225;
    --surface-2: #0d1b36;
    --surface-3: #142544;
    --line: rgba(148, 163, 184, 0.18);
    --cyan: #30d5f2;
    --teal: #37f0c7;
    --yellow: #ffd84d;
    --red: #ff5e73;
    --ink: #f8fbff;
    --muted: #a8b5cb;
    --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.32);
}

body { background: var(--surface-0); color: var(--ink); }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.sr-only {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

.skip-link {
    position: fixed; top: 8px; left: 8px; z-index: 3000;
    padding: 10px 16px; border-radius: 8px; color: #06111f;
    background: var(--teal); font-weight: 800; transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.navbar,
.store-navbar {
    position: sticky !important; top: 0 !important; z-index: 1000;
    background: rgba(5, 9, 20, 0.92) !important;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.nav-container { height: 78px; max-width: 1320px; }
.nav-logo { width: 132px; height: auto; display: block; }
.nav-menu { gap: clamp(14px, 2vw, 28px); }
.store-navbar .nav-links { color: var(--ink) !important; font-size: 13px; }
.nav-links { font-size: 13px; letter-spacing: .06em; }
.nav-links[aria-current="page"] { color: var(--teal) !important; }
.nav-account {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
    border: 1px solid rgba(48,213,242,.4); border-radius: 999px;
    color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800;
}
.nav-account:hover { background: rgba(48,213,242,.12); }
.account-icon { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }

.site-notice {
    background: linear-gradient(90deg, #0c3872, #055f72);
    border-bottom: 1px solid rgba(255,255,255,.12); color: white;
}
.notice-inner { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; font-size: 13px; }
.notice-pill { background: var(--yellow); color: #172038; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.notice-inner a { color: white; font-weight: 800; }

.site-hero,
.hero.site-hero {
    min-height: 630px; position: relative; isolation: isolate; overflow: hidden;
    padding: 110px 0 90px; display: flex; align-items: center;
    background:
        radial-gradient(circle at 78% 35%, rgba(48,213,242,.24), transparent 30%),
        radial-gradient(circle at 15% 80%, rgba(55,240,199,.14), transparent 34%),
        linear-gradient(135deg, #071226 0%, #0c2850 58%, #09101e 100%);
}
.site-hero::after {
    content: ''; position: absolute; inset: auto -10% -44% 38%; z-index: -1;
    width: 720px; aspect-ratio: 1; border: 1px solid rgba(48,213,242,.2); border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(48,213,242,.025), 0 0 0 140px rgba(48,213,242,.02);
}
.home-hero,
.page-index .site-hero {
    background: linear-gradient(90deg, rgba(5,9,20,.94) 0%, rgba(5,9,20,.74) 48%, rgba(5,9,20,.34) 100%),
        url('https://lh3.googleusercontent.com/lWZ2c25o8y_4pkaAwmlZbEhl1YHHGQOa7dEFpmozOnqmCcb-4zDMb4sIoHM0I6oJi7jqswaCflZjkDgbWoYbLmA3oBamglTiaI-uGui2ww=s0-e365') center / cover no-repeat;
}
.features-hero,
.page-features .site-hero {
    background: linear-gradient(90deg, rgba(5,9,20,.94), rgba(5,9,20,.55)),
        url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1800&q=85') center / cover no-repeat;
}
.page-events .site-hero {
    background: linear-gradient(90deg, rgba(5,9,20,.94), rgba(5,9,20,.48)),
        url('https://mcdn.pokemon.com/pokemon-prod/raw/upload/v1/live/static-assets/content-assets/cms2/img/misc/virtual-backgrounds/go/pokemon-outing.jpg') center / cover no-repeat;
}
.page-news .site-hero {
    background: linear-gradient(90deg, rgba(5,9,20,.95), rgba(5,9,20,.48)),
        url('https://lh3.googleusercontent.com/a1kpG6xPn5bHkrQHN8lCVxaWUFMyXAlCR_M3TqIlOgN1f9UHIyEIf1D54GwOEjokEWHFHhBrW32rtBJod92KPT7YSQQhKHo84u2ExAqIBA=s0-e365') center / cover no-repeat;
}
.page-leaderboard .site-hero {
    background: linear-gradient(90deg, rgba(5,9,20,.94), rgba(5,9,20,.52)),
        url('https://mcdn.pokemon.com/pokemon-prod/raw/upload/v1/live/static-assets/content-assets/cms2/img/misc/virtual-backgrounds/masters/volcano.jpg') center / cover no-repeat;
}
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 64px; align-items: center; }
.hero-copy { max-width: 760px; }
.hero-copy h1 { font-family: var(--font-gaming-heading); font-size: clamp(34px, 6vw, 68px); line-height: 1.18; margin: 16px 0 24px; }
.hero-copy p { color: #d2dcef; font-size: clamp(17px, 2vw, 20px); max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.hero-actions, .button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.button-primary, .button-secondary, .button-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    text-decoration: none; cursor: pointer; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button-primary { color: #061326; background: linear-gradient(135deg, var(--cyan), var(--teal)); box-shadow: 0 10px 30px rgba(48,213,242,.2); }
.button-secondary { color: white; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.07); }
.button-ghost { color: var(--cyan); background: transparent; padding-inline: 0; }
.button-primary:hover, .button-secondary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(48,213,242,.25); }
.button-primary:focus-visible, .button-secondary:focus-visible, .filter-chip:focus-visible, .accordion-trigger:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.hero-panel { padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(5,9,20,.62); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
.hero-panel-label { color: var(--cyan); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.hero-panel h2 { margin: 9px 0 8px; font-size: 23px; }
.hero-panel p { color: var(--muted); font-size: 14px; }
.mini-list { margin: 20px 0 0; display: grid; gap: 12px; list-style: none; }
.mini-list li { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.mini-list strong { color: var(--teal); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0; }
.countdown-unit { padding: 12px 5px; border-radius: 12px; background: rgba(255,255,255,.06); text-align: center; }
.countdown-value { display: block; color: var(--yellow); font-size: 22px; font-weight: 900; line-height: 1; }
.countdown-label { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }

.quick-stats { position: relative; z-index: 2; margin-top: -38px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(13,27,54,.96); box-shadow: var(--shadow-lg); }
.stat { padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--teal); font-size: clamp(22px, 3vw, 34px); }
.stat span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.section-block { padding: 100px 0; }
.section-block.compact { padding: 64px 0; }
.section-block.alt { background: var(--surface-1); border-block: 1px solid rgba(148,163,184,.08); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading.center { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.section-heading h2 { font-family: var(--font-gaming-heading); font-size: clamp(23px, 4vw, 38px); line-height: 1.35; margin-top: 10px; }
.section-heading p { max-width: 630px; color: var(--muted); }
.section-kicker { color: var(--cyan); font-weight: 900; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }

.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.content-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card {
    position: relative; overflow: hidden; min-height: 100%; padding: 26px;
    border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(150deg, rgba(20,37,68,.92), rgba(8,18,37,.95));
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-5px); border-color: rgba(48,213,242,.48); box-shadow: 0 20px 45px rgba(0,0,0,.25); }
.info-card h3 { margin: 15px 0 10px; font-size: 21px; }
.info-card p { color: var(--muted); font-size: 15px; }
.info-card .card-link { display: inline-block; margin-top: 20px; color: var(--teal); font-weight: 900; text-decoration: none; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(48,213,242,.12); font-size: 24px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.meta-pill, .type-chip { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: rgba(48,213,242,.12); color: var(--cyan); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.meta-pill.hot { color: #2a1800; background: var(--yellow); }
.meta-pill.live { color: #051a12; background: var(--teal); }
.meta-pill.red { color: white; background: var(--red); }

.media-card { padding: 0; }
.media-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.media-card-content { padding: 24px; }

.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 56px; align-items: center; }
.split-layout.reverse > :first-child { order: 2; }
.feature-visual { min-height: 400px; display: grid; place-items: center; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(circle at center, rgba(48,213,242,.2), transparent 50%), var(--surface-2); }
.restored-feature-visual img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; display: block; }
.image-showcase { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.image-showcase img { width: 100%; height: 360px; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.restored-card-image { width: calc(100% + 52px); height: 190px; margin: -26px -26px 22px; object-fit: cover; display: block; }
.feature-orb { width: 190px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(#ef3340 0 46%, #182035 46% 54%, white 54%); border: 9px solid rgba(255,255,255,.16); box-shadow: 0 28px 70px rgba(0,0,0,.34), inset 0 0 30px rgba(255,255,255,.2); }
.feature-orb::after { content: ''; display: block; width: 44px; aspect-ratio: 1; margin: calc(50% - 22px) auto 0; border: 8px solid #182035; border-radius: 50%; background: white; }
.check-list { list-style: none; display: grid; gap: 13px; margin: 24px 0; }
.check-list li { display: flex; gap: 11px; color: #d9e3f2; }
.check-list li::before { content: '✓'; flex: 0 0 22px; color: #071528; background: var(--teal); width: 22px; height: 22px; border-radius: 50%; text-align: center; font-weight: 900; line-height: 22px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab-button, .filter-chip {
    border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035);
    color: var(--muted); padding: 10px 16px; cursor: pointer; font-weight: 800;
}
.tab-button.active, .filter-chip.active { color: #061326; border-color: var(--teal); background: var(--teal); }
.tab-panel[hidden] { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.search-box { position: relative; flex: 1 1 280px; }
.search-box input, .field-control {
    width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px;
    background: rgba(255,255,255,.055); color: white; padding: 11px 16px;
}
.field-control option { color: #101828; }
.search-box input:focus, .field-control:focus { outline: 2px solid var(--cyan); border-color: transparent; }
.empty-state { display: none; padding: 42px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; color: var(--muted); }
.empty-state.visible { display: block; }

.accordion { display: grid; gap: 12px; }
.accordion-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); overflow: hidden; }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 19px 22px; border: 0; color: white; background: transparent; cursor: pointer; text-align: left; font-weight: 900; }
.accordion-trigger::after { content: '+'; color: var(--cyan); font-size: 22px; line-height: 1; }
.accordion-trigger[aria-expanded="true"]::after { content: '−'; }
.accordion-panel { padding: 0 22px 20px; color: var(--muted); }
.accordion-panel[hidden] { display: none; }

.timeline-list { position: relative; display: grid; gap: 20px; }
.event-entry { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); }
.event-date { color: var(--cyan); font-weight: 900; }
.event-date small { display: block; color: var(--muted); font-weight: 600; }
.event-entry h3 { margin-bottom: 5px; }
.event-entry p { color: var(--muted); font-size: 14px; }
.save-event { min-width: 112px; border: 1px solid rgba(48,213,242,.45); border-radius: 999px; background: transparent; color: var(--cyan); padding: 9px 14px; cursor: pointer; font-weight: 900; }
.save-event.saved { color: #061326; background: var(--teal); border-color: var(--teal); }

.progress-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--teal)); }
.metric-row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; font-size: 13px; }

.data-table { width: 100%; border-collapse: collapse; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.data-table th, .data-table td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { background: rgba(0,0,0,.2); color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.data-table tr:hover td { background: rgba(48,213,242,.04); }
.rank-number { color: var(--yellow); font-family: var(--font-gaming-heading); font-size: 12px; }
.trainer-cell { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.trainer-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(48,213,242,.14); color: var(--cyan); }

.newsletter-box { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 36px; border: 1px solid rgba(48,213,242,.24); border-radius: 24px; background: linear-gradient(135deg, rgba(12,56,114,.75), rgba(5,95,114,.55)); }
.newsletter-box p { color: #cedaf0; }
.inline-form { display: flex; gap: 10px; min-width: min(100%, 410px); }
.inline-form input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(5,9,20,.4); color: white; padding: 12px 18px; }

.site-footer { padding: 70px 0 25px; background: #03060d; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; align-items: start; }
.footer-brand { text-align: left; }
.footer-brand .footer-logo { width: 165px; margin: 0 0 20px; }
.footer-brand p { max-width: 330px; color: var(--muted); font-size: 13px; }
.footer-column h3 { margin-bottom: 16px; color: white; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: #748198; font-size: 11px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-link { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: white; text-decoration: none; font-size: 11px; font-weight: 900; }

.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 2500; display: grid; gap: 10px; pointer-events: none; }
.site-toast { max-width: 360px; padding: 14px 18px; border: 1px solid rgba(55,240,199,.4); border-radius: 12px; background: #0d1b36; color: white; box-shadow: var(--shadow-lg); animation: toast-in .35s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(15px); } }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: white; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.toast-region:not(:empty) + .back-to-top { bottom: 86px; }

.modal { width: min(680px, calc(100% - 32px)); max-height: 85vh; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-2); color: white; box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(5px); }
.modal-content { padding: 30px; }
.modal-close { float: right; border: 0; background: transparent; color: white; font-size: 24px; cursor: pointer; }

.legal-note { color: #73819a; font-size: 11px; line-height: 1.7; }
.hidden-by-filter { display: none !important; }

/* Store completion */
.store-body { background: #f4f7fb !important; }
.store-body .site-notice { background: linear-gradient(90deg, #172554, #0e7490); }
.store-body .store-showcase { color: #172033; }
.store-body .section-heading h2 { color: #111b2f; }
.store-body .section-heading p { color: #64748b; }
.store-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; }
.cart-button { position: relative; border: 0; border-radius: 999px; background: #0f172a; color: white; padding: 12px 18px; cursor: pointer; font-weight: 900; }
.cart-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; margin-left: 7px; border-radius: 999px; background: var(--yellow); color: #172033; font-size: 11px; }
.store-card.is-added { outline: 3px solid #10b981; }
.store-card:not(.coin-card) .product-display {
    background-image: url('https://static.wikia.nocookie.net/pokemongohelp/images/9/99/Pokecoin1.png/revision/latest?cb=20160923165335');
    background-position: center; background-repeat: no-repeat; background-size: contain;
}
.store-card:not(.coin-card) .product-display .product-img { opacity: 0; }
.cart-drawer { position: fixed; inset: 0 0 0 auto; z-index: 2200; width: min(420px, 100%); padding: 28px; background: white; color: #172033; box-shadow: -20px 0 60px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .35s ease; overflow-y: auto; }
.cart-drawer.open { transform: none; }
.cart-overlay { position: fixed; inset: 0; z-index: 2100; background: rgba(3,6,13,.62); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e2e8f0; }
.cart-line small { display: block; color: #64748b; }
.cart-remove { border: 0; background: transparent; color: #dc2626; cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; margin: 24px 0; font-size: 20px; font-weight: 900; }
.store-assurance { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.assurance-item { padding: 20px; border: 1px solid #dbe3ef; border-radius: 14px; background: white; text-align: center; color: #475569; font-size: 13px; }
.assurance-item strong { display: block; color: #172033; }

@media (max-width: 1050px) {
    .nav-menu { gap: 14px; }
    .nav-account { display: none; }
    .content-grid.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 968px) {
    .menu-toggle { display: flex; }
    .nav-menu { top: 78px; height: calc(100vh - 78px); padding: 30px 24px; align-items: stretch; background: rgba(5,9,20,.99); }
    .nav-menu li { width: 100%; }
    .nav-links, .store-navbar .nav-links { display: block; padding: 15px 4px; color: white !important; }
    .hero-layout, .split-layout { grid-template-columns: 1fr; }
    .hero-panel { max-width: 620px; }
    .split-layout.reverse > :first-child { order: initial; }
    .content-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
    .footer-column:last-child { grid-column: 2; }
    .newsletter-box { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .site-hero, .hero.site-hero { min-height: auto; padding: 80px 0 90px; }
    .hero-layout { gap: 36px; }
    .quick-stats { margin-top: -24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .content-grid, .content-grid.two, .content-grid.four { grid-template-columns: 1fr; }
    .section-block { padding: 72px 0; }
    .section-heading { display: block; }
    .section-heading p { margin-top: 14px; }
    .event-entry { grid-template-columns: 1fr; gap: 12px; }
    .save-event { width: 100%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand .footer-logo { margin-inline: auto; }
    .footer-brand p { margin-inline: auto; }
    .footer-column:last-child { grid-column: auto; }
    .footer-bottom { display: block; text-align: center; }
    .footer-bottom span { display: block; margin-bottom: 8px; }
    .inline-form { flex-direction: column; min-width: 100%; }
    .newsletter-box { padding: 26px; }
    .data-table { display: block; overflow-x: auto; }
    .store-assurance { grid-template-columns: 1fr; }
    .image-showcase { grid-template-columns: 1fr; }
    .image-showcase img { height: 260px; }
}

@media (max-width: 440px) {
    .container { padding-inline: 18px; }
    .hero-copy h1 { font-size: 31px; }
    .hero-actions > * { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-column:last-child { grid-column: auto; }
    .social-row { justify-content: center; }
}
