/* Public design system refresh - CentrumPogodowe.pl */
:root {
    --bg: #eef6fb;
    --bg-soft: #f8fbfd;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.94);
    --surface-muted: rgba(241, 248, 252, 0.86);
    --text: #102033;
    --text-soft: #536577;
    --line: rgba(78, 99, 122, 0.14);
    --line-strong: rgba(78, 99, 122, 0.22);
    --accent: #0f766e;
    --accent-dark: #0b5f59;
    --accent-blue: #2563eb;
    --accent-sky: #0ea5e9;
    --accent-warn: #d97706;
    --accent-danger: #dc2626;
    --shadow-lg: 0 28px 74px rgba(16, 32, 51, 0.12);
    --shadow-md: 0 18px 46px rgba(16, 32, 51, 0.09);
    --shadow-sm: 0 10px 24px rgba(16, 32, 51, 0.07);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: min(1240px, calc(100vw - 32px));
    --font-ui: "Manrope", "Segoe UI", sans-serif;
    --font-display: "Manrope", "Segoe UI", sans-serif;
}

html {
    background: #eef6fb;
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at 14% 8%, rgba(14, 165, 233, 0.16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(15, 118, 110, 0.14), transparent 32%),
        linear-gradient(180deg, #f7fbfd 0%, #eef6fb 46%, #f8fafc 100%);
    color: var(--text);
    font-family: var(--font-ui);
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0, transparent 72%);
}

.page-orb {
    opacity: 0.28;
    filter: blur(96px);
}

.page-orb-left {
    background: rgba(14, 165, 233, 0.28);
}

.page-orb-right {
    background: rgba(15, 118, 110, 0.22);
}

.main-shell {
    padding-bottom: 86px;
}

.button,
.filter-chip,
.weather-tool-link,
.section-panel-link,
.text-link {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button,
.filter-chip {
    min-height: 46px;
    border-radius: 999px;
    letter-spacing: 0;
}

.button-primary {
    border-color: rgba(15, 118, 110, 0.18);
    background: linear-gradient(135deg, #0f766e, #0e7490);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: linear-gradient(135deg, #0b5f59, #2563eb);
}

.button-secondary,
.filter-chip,
.button-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
}

.button:hover,
.filter-chip:hover,
.text-link:hover {
    transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.24);
    outline-offset: 3px;
}

.site-header {
    z-index: 2200;
    padding: 14px 0;
}

.site-header.is-scrolled {
    background: rgba(238, 246, 251, 0.72);
    box-shadow: 0 1px 0 rgba(16, 32, 51, 0.08);
}

.header-row {
    grid-template-columns: minmax(220px, 0.78fr) minmax(170px, 0.48fr) minmax(0, auto);
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 252, 0.76)),
        rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(150%);
}

.brand {
    position: relative;
    min-width: 0;
    padding-left: 46px;
}

.brand::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
    transform: translateY(-50%);
}

.brand::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    border-radius: 2px;
    transform: translateY(-63%) rotate(45deg);
}

.brand-kicker,
.eyebrow,
.weather-tool-kicker,
.home-bento-kicker {
    letter-spacing: 0;
    text-transform: none;
}

.brand-kicker,
.eyebrow {
    color: #0f766e;
    font-size: 0.78rem;
}

.brand-title {
    color: #102033;
    font-size: 1.08rem;
    line-height: 1.18;
}

.header-clock {
    justify-self: stretch;
    min-width: 0;
    padding: 8px 14px;
    border-color: rgba(14, 165, 233, 0.13);
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.9), rgba(255, 255, 255, 0.76));
}

.clock-value {
    color: #0f766e;
}

.clock-label,
.clock-meta {
    letter-spacing: 0;
}

.header-actions {
    justify-content: flex-end;
    gap: 8px;
}

.header-actions .button {
    min-height: 42px;
    padding-inline: 14px;
    border-color: rgba(78, 99, 122, 0.12);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    box-shadow: none;
}

.header-actions .button.is-active {
    border-color: rgba(15, 118, 110, 0.22);
    background: linear-gradient(135deg, #0f766e, #0e7490);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

.header-actions .button-primary {
    background: #0f766e;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.hero-main-card,
.page-hero-card,
.page-hero-aside,
.content-card,
.profile-card,
.article-meta-card,
.empty-state,
.section-panel,
.section-overview-card,
.highlight-card,
.post-card,
.gallery-panel,
.auth-card,
.weather-tool-card,
.weather-search-panel,
.weather-overview-card,
.weather-metric-card,
.weather-day-card,
.weather-alerts-map-panel,
.weather-alerts-detail-card,
.weather-alert-summary-card,
.weather-alert-detail-item,
.weather-alert-empty-box,
.info-section-card,
.info-profile-card,
.app-guide-card,
.app-benefit-card,
.opinion-card,
.opinions-form-card {
    border: 1px solid rgba(255, 255, 255, 0.74);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(248, 252, 255, 0.82)),
        rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px) saturate(135%);
}

.page-hero,
.hero-panel,
.content-page,
.article-shell,
.posts-section,
.weather-tools-section,
.weather-results-section,
.opinions-page-shell,
.user-gallery-page,
.info-page .content-page {
    padding-top: 28px;
}

.page-hero-card h1,
.hero-copy h1,
.article-header h1,
.auth-copy h1,
.empty-state h1,
.info-page .page-hero-card h1 {
    color: #102033;
    font-family: var(--font-display);
    letter-spacing: 0;
}

.hero-text,
.section-note,
.section-panel-copy,
.page-hero-card p,
.page-hero-aside p,
.highlight-card p,
.post-card-excerpt,
.content-card p,
.profile-card p,
.empty-state p,
.auth-copy p,
.legal-card p,
.article-lead,
.footer-copy,
.footer-meta,
.row-subtitle,
.field-hint,
.card-date {
    color: var(--text-soft);
}

.page-hero-card,
.page-hero-aside {
    border-radius: 28px;
}

.page-hero-card h1 {
    max-width: 16ch;
    font-size: 3rem;
    line-height: 1.06;
}

.page-hero-aside h2,
.section-heading h2,
.section-panel-heading h2,
.profile-card h2,
.legal-card h2 {
    color: #102033;
    letter-spacing: 0;
}

.section-heading,
.section-panel-heading,
.gallery-heading,
.form-section-heading {
    align-items: flex-end;
}

.section-pill,
.meta-note,
.status-pill,
.meta-pill,
.weather-meta-chip,
.weather-condition-pill {
    border: 1px solid rgba(78, 99, 122, 0.1);
    background: rgba(255, 255, 255, 0.74);
}

.post-card,
.gallery-card,
.opinion-card,
.weather-tool-card,
.section-overview-card,
.highlight-card {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover,
.gallery-card:hover,
.weather-tool-card:hover,
.section-overview-card:hover,
.highlight-card:hover {
    border-color: rgba(14, 165, 233, 0.24);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.post-card-media,
.article-cover,
.hero-story-media,
.gallery-card img {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(15, 118, 110, 0.08));
}

.post-card h3,
.post-card-title-link,
.older-posts-item strong,
.hero-story-body h2 {
    color: #102033;
}

.text-link,
.button-text,
.section-panel-link {
    color: #0f766e;
}

.input,
.textarea,
.select,
.input-file,
.weather-search-input {
    border-color: rgba(78, 99, 122, 0.16);
    background: rgba(255, 255, 255, 0.88);
}

.home-page .main-shell {
    display: flex;
    flex-direction: column;
}

.home-page .flash-stack {
    order: -40;
}

.home-page .posts-section-latest {
    order: -20;
    padding-top: 28px;
}

.home-page .hero-panel {
    order: -30;
}

.home-page .home-bento-section {
    order: -10;
}

.home-page .hero-panel {
    padding-top: 34px;
}

.home-page .hero-main-card.home-hero-card-slim {
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.88fr);
    gap: 24px;
    padding: 30px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.18), transparent 32%),
        radial-gradient(circle at 92% 14%, rgba(15, 118, 110, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 252, 0.88));
}

.home-page .hero-main-card.home-hero-card-slim::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #0ea5e9, #0f766e 54%, #d97706);
}

.home-page .home-hero-copy {
    align-content: center;
}

.home-page .hero-copy h1 {
    max-width: 15ch;
    font-size: 3.45rem;
    line-height: 1.05;
}

.home-page .hero-text {
    max-width: 66ch;
    font-size: 1.04rem;
}

.home-page .home-featured-card {
    border-radius: 28px;
}

.home-bento-section {
    display: grid;
    gap: 18px;
    padding-top: 30px;
}

.home-bento-heading {
    margin-bottom: 0;
}

.home-bento-heading h2 {
    margin: 0;
    max-width: 17ch;
    font-size: 2.1rem;
    line-height: 1.12;
    color: #102033;
}

.home-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, auto);
    gap: 16px;
}

.home-bento-card {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: end;
    gap: 10px;
    min-width: 0;
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 252, 255, 0.78)),
        rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-md);
    color: var(--text);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-bento-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--bento-accent, #0f766e), var(--bento-accent-2, #0ea5e9));
}

.home-bento-card::after {
    content: "";
    position: absolute;
    inset: -25% -20% auto auto;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bento-accent, #0f766e) 14%, transparent);
    pointer-events: none;
}

.home-bento-card:hover,
.home-bento-card:focus-visible {
    border-color: color-mix(in srgb, var(--bento-accent, #0f766e) 28%, white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.home-bento-card-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 396px;
}

.home-bento-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--bento-accent, #0f766e) 11%, white);
    color: var(--bento-accent, #0f766e);
    font-weight: 850;
    font-size: 1.1rem;
}

.home-bento-kicker,
.home-bento-card strong,
.home-bento-card span {
    position: relative;
    z-index: 1;
}

.home-bento-kicker {
    color: color-mix(in srgb, var(--bento-accent, #0f766e) 80%, #102033);
    font-weight: 850;
    font-size: 0.8rem;
}

.home-bento-card strong {
    max-width: 18ch;
    font-size: 1.22rem;
    line-height: 1.22;
}

.home-bento-card > span:last-child {
    color: var(--text-soft);
    line-height: 1.62;
}

.home-bento-card-forecast {
    --bento-accent: #0ea5e9;
    --bento-accent-2: #0f766e;
}

.home-bento-card-alert {
    --bento-accent: #d97706;
    --bento-accent-2: #dc2626;
}

.home-bento-card-map,
.home-bento-card-temperature {
    --bento-accent: #2563eb;
    --bento-accent-2: #0ea5e9;
}

.home-bento-card-center,
.home-bento-card-publications {
    --bento-accent: #0f766e;
    --bento-accent-2: #2563eb;
}

.home-page .latest-posts-shell {
    border-radius: 30px;
}

.gallery-home-cta-card,
.opinions-home-cta-card {
    border-radius: 28px;
}

.weather-page .weather-hub-hero .page-hero-card.weather-hub-shell,
.weather-page .weather-hub-hero .page-hero-aside.weather-hub-aside,
.weather-page .weather-tools-section .weather-tool-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 253, 0.84)),
        rgba(255, 255, 255, 0.88);
}

.weather-alerts-map,
.weather-driving-map,
.fishing-map,
.tourism-map,
.fire-risk-map,
.weather-map-test-stage,
.barometric-map,
.world-capitals-map,
.weather-map-shell,
.radar-classic-map {
    border-radius: 22px;
}

.leaflet-container {
    font-family: var(--font-ui);
}

.weather-page-aurora .page-hero-card,
.weather-page-aurora .page-hero-aside,
.weather-page-aurora .aurora-status-card,
.weather-page-aurora .aurora-globe-card,
.weather-page-aurora .aurora-panel-card,
.weather-page-aurora .aurora-info-card,
.weather-page-aurora .aurora-condition-card,
.weather-page-aurora .aurora-poland-card,
.weather-page-aurora .aurora-metric-card,
.weather-page-aurora .aurora-source-item,
.weather-page-aurora .aurora-visual-tools,
.weather-page-aurora .aurora-toolbar,
.weather-page-aurora .aurora-sample-card,
.weather-page-air-pollen .page-hero-card,
.weather-page-air-pollen .page-hero-aside,
.weather-page-air-pollen .air-pollen-main-card,
.weather-page-air-pollen .air-pollen-side-card,
.weather-page-air-pollen .air-pollen-map-card,
.weather-page-blitzortung .page-hero-card,
.weather-page-blitzortung .page-hero-aside,
.weather-page-blitzortung .weather-blitz-map-card,
.weather-page-blitzortung .weather-blitz-info-card {
    border-color: rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(15, 27, 39, 0.95), rgba(8, 15, 24, 0.98));
    color: #eef6ff;
    box-shadow: 0 28px 70px rgba(4, 12, 22, 0.26);
}

.weather-page-aurora .page-hero-card h1,
.weather-page-aurora .page-hero-aside h2,
.weather-page-aurora .aurora-section-head h2,
.weather-page-aurora .aurora-info-card h2,
.weather-page-aurora .aurora-condition-label,
.weather-page-aurora .aurora-poland-label,
.weather-page-aurora .aurora-metric-card strong,
.weather-page-air-pollen .page-hero-card h1,
.weather-page-air-pollen .page-hero-aside h2,
.weather-page-air-pollen .air-pollen-map-head h2,
.weather-page-air-pollen .air-pollen-side-card h2,
.weather-page-air-pollen .air-pollen-side-card h3,
.weather-page-blitzortung .page-hero-card h1,
.weather-page-blitzortung .page-hero-aside h2,
.weather-page-blitzortung .weather-blitz-card-head h2,
.weather-page-blitzortung .weather-blitz-info-card h2,
.weather-page-blitzortung .weather-blitz-disclaimer-list h3,
.weather-page-blitzortung .weather-blitz-source-box strong,
.weather-page-blitzortung .weather-blitz-meta strong {
    color: #f7fbff;
}

.weather-page-aurora .hero-text,
.weather-page-aurora .page-hero-aside p,
.weather-page-aurora .weather-guide-list,
.weather-page-aurora .aurora-status-copy,
.weather-page-aurora .aurora-condition-copy,
.weather-page-aurora .aurora-poland-copy,
.weather-page-aurora .aurora-poland-details,
.weather-page-aurora .aurora-metric-card p,
.weather-page-aurora .aurora-info-copy p,
.weather-page-aurora .aurora-legend-row p,
.weather-page-aurora .aurora-source-footnote,
.weather-page-aurora .aurora-source-item small,
.weather-page-air-pollen .hero-text,
.weather-page-air-pollen .page-hero-aside p,
.weather-page-air-pollen .weather-guide-list,
.weather-page-air-pollen .air-pollen-side-lead,
.weather-page-air-pollen .air-pollen-side-card p,
.weather-page-air-pollen .air-pollen-toolbar__label,
.weather-page-blitzortung .hero-text,
.weather-page-blitzortung .weather-aside-intro,
.weather-page-blitzortung .weather-guide-list,
.weather-page-blitzortung .weather-blitz-info-card p,
.weather-page-blitzortung .weather-blitz-disclaimer-list p,
.weather-page-blitzortung .weather-blitz-map-help p,
.weather-page-blitzortung .weather-blitz-meta p,
.weather-page-blitzortung .weather-blitz-source-box p {
    color: rgba(228, 237, 245, 0.84);
}

.weather-page-aurora .eyebrow,
.weather-page-aurora .weather-tool-kicker,
.weather-page-air-pollen .eyebrow,
.weather-page-air-pollen .weather-tool-kicker,
.weather-page-blitzortung .eyebrow,
.weather-page-blitzortung .weather-tool-kicker {
    color: #8fd7d0;
}

.weather-page-aurora .weather-breadcrumbs,
.weather-page-aurora .weather-breadcrumbs a,
.weather-page-air-pollen .weather-breadcrumbs,
.weather-page-air-pollen .weather-breadcrumbs a,
.weather-page-blitzortung .weather-breadcrumbs,
.weather-page-blitzortung .weather-breadcrumbs a {
    color: rgba(238, 246, 255, 0.82);
}

.weather-page-aurora .button-secondary,
.weather-page-aurora .button-ghost,
.weather-page-air-pollen .button-secondary,
.weather-page-air-pollen .button-ghost,
.weather-page-blitzortung .button-secondary,
.weather-page-blitzortung .button-ghost {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    color: #f7fbff;
}

.weather-page-aurora .section-pill,
.weather-page-air-pollen .section-pill,
.weather-page-blitzortung .section-pill,
.weather-page-aurora .weather-meta-chip,
.weather-page-air-pollen .weather-meta-chip,
.weather-page-blitzortung .weather-meta-chip {
    border-color: rgba(143, 215, 208, 0.2);
    background: rgba(143, 215, 208, 0.12);
    color: #b9fff0;
}

.site-footer {
    padding: 30px 0 38px;
}

.footer-grid-light {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(241, 248, 252, 0.76)),
        rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
}

.footer-title {
    color: #102033;
}

.footer-heading {
    color: #102033;
}

.footer-bottom-light {
    padding-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 1180px) {
    .header-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .header-clock {
        grid-column: 1 / -1;
    }

    .home-page .hero-main-card.home-hero-card-slim {
        grid-template-columns: 1fr;
    }

    .home-bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    :root {
        --container: min(100%, calc(100vw - 20px));
    }

    body {
        overflow-x: hidden;
    }

    .site-header {
        padding: 10px 0;
    }

    .header-row {
        width: var(--container);
        max-width: var(--container);
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
        border-radius: 24px;
    }

    .brand {
        padding-left: 42px;
    }

    .brand::before {
        width: 32px;
        height: 32px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .header-clock {
        justify-items: start;
        text-align: left;
    }

    .header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        width: 100%;
    }

    .header-actions .button,
    .header-actions .inline-form {
        min-width: 0;
        width: 100%;
    }

    .header-actions .button {
        justify-content: center;
        padding-inline: 10px;
        white-space: normal;
        line-height: 1.25;
        text-align: center;
    }

    .page-hero,
    .hero-panel,
    .content-page,
    .article-shell,
    .posts-section,
    .weather-tools-section,
    .weather-results-section {
        padding-top: 20px;
    }

    .page-hero-card,
    .page-hero-aside,
    .hero-main-card,
    .content-card,
    .post-card,
    .section-panel,
    .gallery-panel,
    .auth-card,
    .footer-grid-light {
        border-radius: 22px;
    }

    .page-hero-card h1,
    .hero-copy h1,
    .article-header h1,
    .info-page .page-hero-card h1 {
        max-width: none;
        font-size: 2.15rem;
        line-height: 1.1;
    }

    .home-page .hero-main-card.home-hero-card-slim {
        padding: 18px;
        border-radius: 24px;
    }

    .home-page .hero-copy h1 {
        font-size: 2.25rem;
    }

    .home-page .hero-text,
    .section-note,
    .page-hero-card p,
    .page-hero-aside p {
        font-size: 0.96rem;
        line-height: 1.68;
    }

    .home-bento-section {
        padding-top: 22px;
    }

    .home-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .home-bento-card,
    .home-bento-card-large {
        grid-column: auto;
        grid-row: auto;
        min-height: 210px;
        padding: 20px;
    }

    .home-bento-heading h2,
    .home-page .latest-posts-heading h2 {
        font-size: 1.75rem;
    }

    .home-page .latest-posts-shell,
    .gallery-home-cta-card,
    .opinions-home-cta-card {
        padding: 20px;
        border-radius: 24px;
    }

    .footer-grid-light {
        padding: 22px;
    }
}

@media (max-width: 520px) {
    .header-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .home-page .hero-copy h1,
    .page-hero-card h1,
    .hero-copy h1 {
        font-size: 1.95rem;
    }
}
