:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2840;
    --accent: #e07a3a;
    --accent-hover: #c9682f;
    --text: #1c1c1e;
    --muted: #5c6570;
    --border: #e4e2de;
    --bg: #f7f6f3;
    --card: #ffffff;
    --shadow-sm: 0 1px 3px rgba(15, 40, 64, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 40, 64, 0.08);
    --shadow-hover: 0 12px 32px rgba(15, 40, 64, 0.12);
    --radius: 10px;
    --radius-lg: 14px;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --container: 1180px;
    --sidebar: 320px;
    --gap: 1.75rem;
    --transition: 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    overflow-x: hidden;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; border: 0; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 200;
    padding: 0.6rem 1rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top var(--transition);
}
.skip-link:focus {
    top: 0;
    color: #fff;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.5rem);
}

/* ── Header ── */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--gap);
    position: static;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
    min-width: 0;
}
.logo:hover { text-decoration: none; }

.logo-name {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    color: var(--muted);
    font-weight: 500;
    line-height: 1.3;
    max-width: 20rem;
}

.nav-toggle {
    display: none;
    flex-shrink: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 1.25rem;
    padding: 0.45rem 0.65rem;
    cursor: pointer;
    border-radius: var(--radius);
    line-height: 1;
    color: var(--primary);
    transition: background var(--transition), border-color var(--transition);
}
.nav-toggle:hover {
    background: var(--card);
    border-color: var(--primary);
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.15rem;
    list-style: none;
    font-size: clamp(0.8rem, 2vw, 0.875rem);
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
}
.main-nav a:hover {
    color: var(--primary);
    background: var(--bg);
    text-decoration: none;
}

/* ── Layout ── */
.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar);
    gap: var(--gap);
    padding-bottom: 3.5rem;
    align-items: start;
}

.content-area { min-width: 0; }

/* ── Hero featured (homepage) ── */
.hero-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--gap);
    border: 1px solid var(--border);
}

.hero-featured__media {
    display: block;
    overflow: hidden;
    min-height: 280px;
}
.hero-featured__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.hero-featured:hover .hero-featured__media img {
    transform: scale(1.03);
}

.hero-featured__body {
    padding: clamp(1.25rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
}

.hero-featured__title {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-featured__title a {
    color: var(--text);
}
.hero-featured__title a:hover { color: var(--primary); }

.hero-featured__excerpt {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-featured__cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 0.35rem;
    padding: 0.6rem 1.25rem;
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 999px;
    transition: background var(--transition), transform var(--transition);
}
.hero-featured__cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    text-decoration: none;
}

.hero-featured__body time {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* ── Article grid ── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: var(--gap);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.card-image {
    display: block;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: clamp(160px, 28vw, 200px);
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.card:hover .card-image img {
    transform: scale(1.04);
}

.card-body {
    padding: 1.15rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.card-body h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2.5vw, 1.15rem);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.card-body h2 a {
    color: var(--text);
}
.card-body h2 a:hover { color: var(--primary); }

.card-body p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body time {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

.category-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.category-tag a {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: rgba(26, 58, 92, 0.08);
    color: var(--primary);
    border-radius: 4px;
    transition: background var(--transition), color var(--transition);
}
.category-tag a:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.page-header {
    margin-bottom: var(--gap);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.page-header p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

/* ── Single article ── */
.single-article {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 4vw, 2.25rem);
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.single-article header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.single-article h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 5vw, 2.35rem);
    line-height: 1.2;
    margin: 0.65rem 0 0.5rem;
    word-break: break-word;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.featured-image {
    margin: 0 0 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}
.featured-image img {
    width: 100%;
    display: block;
}

.article-content .section-image {
    margin: 0 0 1.25rem;
    border-radius: var(--radius);
    overflow: hidden;
}
.article-content .section-image img {
    width: 100%;
    display: block;
}

.article-content + .ad-slot,
.ad-slot + .article-content {
    margin-top: 0;
}

.article-content {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2.5vw, 1.125rem);
    line-height: 1.75;
    color: #2a2a2e;
    word-break: break-word;
}
.article-content p { margin-bottom: 1.15rem; }
.article-content h2,
.article-content h3 {
    font-family: var(--font-serif);
    color: var(--text);
    margin: 1.5rem 0 0.65rem;
    line-height: 1.3;
}
.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article-content a:hover { color: var(--accent); }
.article-content iframe { max-width: 100%; border-radius: var(--radius); }

/* ── Search list ── */
.article-list { display: flex; flex-direction: column; gap: 1rem; }

.list-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.35rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.list-item:hover { box-shadow: var(--shadow-md); }

.list-item h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 3vw, 1.2rem);
    margin-bottom: 0.4rem;
    font-weight: 700;
}
.list-item h2 a { color: var(--text); }
.list-item h2 a:hover { color: var(--primary); }

.list-item time {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.4rem;
    font-weight: 500;
}

.search-meta {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.page-header .search-form {
    margin-top: 1rem;
    max-width: 28rem;
}

/* ── Sidebar ── */
.sidebar { min-width: 0; }

.widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.15rem;
    box-shadow: var(--shadow-sm);
}

.widget h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 0.6rem;
    margin-bottom: 0.85rem;
    border-bottom: 2px solid var(--accent);
}

.sidebar-list { list-style: none; }

.sidebar-list li {
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.45;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-list a {
    color: var(--text);
    font-weight: 500;
    transition: color var(--transition);
}
.sidebar-list a:hover { color: var(--accent); }

/* Featured sidebar list with thumbnails */
.sidebar-featured {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-featured__item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-featured__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-featured__link {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text);
    transition: color var(--transition);
}

.sidebar-featured__link:hover {
    color: var(--accent);
    text-decoration: none;
}

.sidebar-featured__thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
}

.sidebar-featured__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-featured__title {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

.categories-list span { color: var(--muted); font-size: 0.8rem; }

.search-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1 1 140px;
    min-width: 0;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.search-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.12);
    background: var(--card);
}

.search-form button {
    padding: 0.65rem 1.15rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    white-space: nowrap;
    transition: background var(--transition);
}
.search-form button:hover { background: var(--primary-dark); }

/* ── Ads: no wrapper box, no borders ── */
aside.ad-slot,
aside.ad-slot.ad-slot--banner,
aside.ad-slot.ad-slot--inline,
aside.ad-slot.ad-slot--sidebar {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    outline: none;
    overflow: visible;
    text-align: center;
}

aside.ad-slot:empty {
    display: none;
    margin: 0;
}

/* Interstitial: hidden container, overlay rendered by GAM */
.ad-slot.ad-slot--interstitial {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    visibility: hidden;
    pointer-events: none;
}

.ad-slot__label {
    display: block;
    margin: 0 0 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    line-height: 1.2;
}

/* GPT/GAM slot div — full content width; never force width:auto (breaks width="100%" iframes) */
aside.ad-slot > div,
aside.ad-slot [id^="div-gpt-ad"],
aside.ad-slot [id*="google_ads_iframe"] {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible !important;
    max-height: none !important;
    text-align: center;
}

aside.ad-slot ins,
aside.ad-slot img {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    border: 0;
}

/* iframe: never set height/width — GPT sets HTML attributes; height:auto ≈ 150px in browsers */
aside.ad-slot iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    border: 0;
}

aside.ad-slot ins.adsbygoogle {
    overflow: visible !important;
}

.ad-slot-wrapper--header {
    background: transparent;
    border: 0;
    padding: 0.5rem clamp(1rem, 3vw, 1.5rem);
}

.ad-slot-wrapper--header .ad-slot {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container);
}

/* ── Pagination ── */
.pagination { margin-top: 2.25rem; }

.pagination ul {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination a, .pagination span {
    display: block;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--border);
    background: var(--card);
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 2.5rem;
    text-align: center;
    border-radius: var(--radius);
    color: var(--text);
    transition: background var(--transition), border-color var(--transition);
}
.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
}
.pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    text-decoration: none;
}

.article-pagination { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.article-pagination ul { justify-content: center; }

.article-pagination .article-pagination-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    min-width: 10rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 999px;
    transition: background var(--transition), transform var(--transition);
}
.article-pagination .article-pagination-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.article-page-hook {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #faf6ee 100%);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.05rem;
    line-height: 1.5;
}
.article-page-hook--finale { color: var(--primary); }

.related-articles {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.related-articles__title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}
.related-articles__grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.related-articles__link {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), border-color var(--transition);
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.related-articles__link:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
}
.related-articles__thumb {
    flex: 0 0 72px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
}
.related-articles__thumb img {
    display: block;
    width: 72px;
    height: 54px;
    object-fit: cover;
}
.related-articles__meta { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.related-articles__item-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--text);
}
.related-articles__cat {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.next-story-card {
    margin-top: 2rem;
}
.next-story-card__link {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.next-story-card__link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.next-story-card__media {
    flex: 0 0 140px;
    border-radius: var(--radius);
    overflow: hidden;
}
.next-story-card__media img {
    display: block;
    width: 140px;
    height: 94px;
    object-fit: cover;
}
.next-story-card__body {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.next-story-card__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
}
.next-story-card__title {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    line-height: 1.3;
}
.next-story-card__excerpt {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.45;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    .next-story-card__link { flex-direction: column; align-items: stretch; }
    .next-story-card__media { flex: none; width: 100%; }
    .next-story-card__media img { width: 100%; height: auto; max-height: 180px; }
}

/* ── Footer ── */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: clamp(2rem, 5vw, 3rem) 0 1.5rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition);
}
.site-footer a:hover { color: #fff; }

.site-footer h3 {
    font-family: var(--font-serif);
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 700;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    margin: 0;
    line-height: 1.6;
    max-width: 24rem;
    font-size: 0.9rem;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem 0;
}

.footer-nav-links li { display: flex; align-items: center; }

.footer-nav-links li + li::before {
    content: "";
    display: block;
    width: 1px;
    height: 0.85em;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 1rem;
}

.footer-nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.2rem 0;
}

.footer-nav-links a:hover,
.footer-nav-links a:focus-visible {
    color: var(--accent);
    text-decoration: none;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

/* ── Static pages ── */
.static-page {
    background: var(--card);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.static-page h1 {
    font-family: var(--font-serif);
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-content {
    font-family: var(--font-serif);
    line-height: 1.7;
}

.page-content h2 {
    font-family: var(--font-serif);
    margin: 1.5rem 0 0.65rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text);
}

.page-content ul { margin: 0 0 1rem 1.25rem; }
.page-content p { margin-bottom: 0.85rem; }

.empty {
    grid-column: 1 / -1;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--muted);
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    :root { --sidebar: 100%; }

    .main-layout { grid-template-columns: 1fr; }

    .hero-featured {
        grid-template-columns: 1fr;
    }

    .hero-featured__media { min-height: 220px; }
    .hero-featured__media img { min-height: 220px; }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: 1rem;
    }

    .sidebar .widget { margin-bottom: 0; }
    .sidebar .ad-slot { margin: 0; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .site-header .container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .header-inner {
        flex-wrap: wrap;
        align-items: center;
        padding: 0.85rem 0;
        gap: 0.65rem 0.75rem;
        min-height: 3.25rem;
    }

    .logo {
        flex: 1;
        min-width: 0;
        justify-content: center;
        padding: 0.1rem 0;
        gap: 0.1rem;
    }

    .logo-name {
        font-size: clamp(1.15rem, 5vw, 1.45rem);
        line-height: 1.2;
    }

    .logo-tagline {
        font-size: 0.7rem;
        line-height: 1.25;
        max-width: none;
    }

    .nav-toggle {
        align-self: center;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        border-top: 1px solid var(--border);
        padding-top: 0.75rem;
    }

    .main-nav.open { display: block; }

    .main-nav ul {
        flex-direction: column;
        gap: 0.15rem;
    }

    .main-nav a {
        display: block;
        padding: 0.7rem 0.5rem;
        white-space: normal;
        border-radius: var(--radius);
    }

    .article-grid { grid-template-columns: 1fr; }

    .sidebar { grid-template-columns: 1fr; }

    .search-form { flex-direction: column; }
    .search-form button { width: 100%; }

    .pagination a, .pagination span {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    .single-article {
        padding: 1.15rem;
        border-radius: var(--radius);
    }
}

@media (max-width: 480px) {
    .site-header .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .header-inner {
        padding: 0.9rem 0;
        gap: 0.5rem 0.65rem;
    }

    .logo-name {
        font-size: 1.2rem;
    }

    .logo-tagline {
        font-size: 0.68rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-body { padding: 1rem; }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav-links { row-gap: 0.5rem; }

    .footer-nav-links li + li::before { margin: 0 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    .card:hover,
    .hero-featured:hover .hero-featured__media img,
    .card:hover .card-image img {
        transform: none;
    }
}
