/* Base Reset & Global Typography */
[v-cloak] { display: none; }

html { scroll-behavior: smooth; }

.font-serif-custom { font-family: 'Georgia', serif; }

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

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    background-color: #fffafb; /* Subtly warmed with a hint of rose tint */
    line-height: 1.6;
}

/* Navigation Bar Overrides */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    height: 80px;
}
.nav-container {
    max-w: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}
.nav-logo i { color: #f43f5e; margin-right: 0.75rem; } /* Rose/Pink Accent */
.nav-links { display: none; }
@media (min-width: 768px) { .nav-links { display: flex; gap: 2.5rem; } }
.nav-item {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.875rem;
}
.nav-item:hover { color: #f43f5e; }

/* Hero Section Fallback/Utility */
.hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #31102f 100%); /* Deep elegant plum/navy */
    color: white;
    padding: 6rem 1.5rem;
    text-align: center;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; opacity: 0.9; max-width: 650px; margin: 0 auto; font-weight: 300; }

/* Article Layout & Presentation Grid */
.article-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #0f172a;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}
.card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px -10px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #ffeef1; /* Soft pink-tinted border */
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(244, 63, 94, 0.1), 0 10px 10px -5px rgba(244, 63, 94, 0.04); /* Rose soft glow */
}
.card-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.card:hover .card-img { transform: scale(1.05); }
.card-icon-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    color: #f43f5e;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.card-body { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: #0f172a; line-height: 1.3; }
.card-summary {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}
.btn-more {
    color: #f43f5e;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border: none;
    background: none;
    font-size: 1rem;
    transition: transform 0.3s;
}
.btn-more:hover { transform: translateX(4px); }

/* Structured Detail Content Box Layout */
.page-container {
    max-width: 896px;
    margin: 0 auto;
}
.btn-back {
    display: flex;
    align-items: center;
    color: #64748b;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    background: white;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
}
.btn-back:hover { color: #f43f5e; border-color: #f43f5e; }
.content-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* 文章 / 静态内容页 */
.article-detail__header {
    margin-bottom: 0.25rem;
}

.article-detail__title {
    font-size: 1.0625rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 0.25rem;
    font-weight: 700;
}

.article-detail__meta {
    margin-top: 0;
}

@media (min-width: 768px) {
    .article-detail__title {
        font-size: 1.5rem;
        line-height: 1.25;
        margin-bottom: 0.5rem;
    }

    .article-detail__header {
        margin-bottom: 0.375rem;
    }
}

@media (min-width: 1024px) {
    .article-detail__title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
}

.article-detail {
    container-type: inline-size;
    container-name: article-content;
}

.article-detail__figure {
    margin: 0.375rem 0 0.25rem;
    line-height: 0;
}

.article-detail__figure + .ad-container--article-top {
    margin-top: 0.25rem;
}

.detail-hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 4rem;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .detail-hero-img {
        max-height: 14rem;
    }
}

@media (min-width: 1024px) {
    .detail-hero-img {
        max-height: 18rem;
    }
}

.article-body {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.article-body > :first-child {
    margin-top: 0;
}

.article-body p {
    margin-bottom: 0.875rem;
    color: #334155;
}

.article-body h3,
.article-body .font-bold.text-xl {
    color: #0f172a;
    font-size: 1.0625rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.article-body ul {
    margin: 0 0 0.875rem 1.25rem;
    list-style-type: disc;
}

.article-body li {
    margin-bottom: 0.375rem;
    color: #334155;
}

.article-body img {
    width: 100%;
    max-height: 8rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin: 0.75rem 0;
}

.article-body strong {
    color: #0f172a;
    font-weight: 700;
}

@media (min-width: 640px) {
    .article-body {
        font-size: 1rem;
        line-height: 1.75;
    }

    .article-body h3,
    .article-body .font-bold.text-xl {
        font-size: 1.125rem;
        margin-top: 1.5rem;
    }

    .article-body img {
        max-height: 12rem;
        border-radius: 0.75rem;
    }
}

@media (min-width: 768px) {
    .article-body {
        font-size: 1.0625rem;
        line-height: 1.8;
    }

    .article-body h3,
    .article-body .font-bold.text-xl {
        font-size: 1.25rem;
        margin-top: 1.75rem;
    }

    .article-body img {
        max-height: 16rem;
    }
}

.ad-container--article-inline {
    margin: 0.75rem 0;
    padding: 0.5rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ad-container--article-top,
.ad-container--content-bottom {
    margin: 0.25rem 0 0.375rem;
    padding: 0.125rem 0;
}

.ad-container--article-inline .ad-slot__unit {
    margin-inline: auto;
}

.ad-container--article-top .ad-slot__unit,
.ad-container--content-bottom .ad-slot__unit {
    max-width: min(var(--ad-max-w, 100%), 100%);
}

.ad-container--article-top .ad-disclosure,
.ad-container--content-bottom .ad-disclosure {
    margin: 0 0 0.2rem;
    padding: 0;
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    line-height: 1.1;
}

.ad-container--article-top .ad-slot--loading,
.ad-container--content-bottom .ad-slot--loading {
    aspect-ratio: auto;
    width: 100%;
    min-height: 0;
    height: var(--ad-min-h, 90px);
    max-height: var(--ad-min-h, 90px);
    border-radius: 0.375rem;
}

.ad-container--article-top + .article-body-wrap > .article-body > :first-child,
.ad-container--article-top + .article-body > :first-child {
    margin-top: 0;
}

.ad-container--article-mid {
    margin: 0.5rem 0;
}

.ad-container--article-mid + .article-body--continued > :first-child {
    margin-top: 0;
}

.ad-container--article-bottom.ad-container--article-mid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.ad-container--article-bottom .ad-slot__unit,
.ad-container--content-bottom .ad-slot__unit {
    max-width: min(var(--ad-max-w, 336px), 100%);
    margin-inline: auto;
}

.ad-container--article-bottom .ad-slot--loading,
.ad-container--content-bottom .ad-slot--loading {
    aspect-ratio: auto;
    width: 100%;
    min-height: 0;
    height: var(--ad-min-h, 250px);
    max-height: var(--ad-min-h, 250px);
}

.ad-container--article-bottom.ad-container--article-mid .ad-slot__unit {
    width: 100%;
}

@container article-content (min-width: 480px) {
    .ad-container--article-top .ad-slot__unit,
    .ad-container--content-bottom .ad-slot__unit {
        max-width: min(var(--ad-max-w, 728px), 100%);
    }
}

@container article-content (min-width: 480px) {
    .ad-container--article-bottom.ad-container--article-mid .ad-slot__unit {
        max-width: min(var(--ad-max-w, 336px), 100%);
    }
}

@container article-content (min-width: 720px) {
    .ad-container--article-bottom.ad-container--article-mid {
        margin: 1rem auto;
        padding: 0.5rem 0;
        max-width: min(var(--ad-max-w, 336px), 100%);
    }

    .ad-container--article-bottom.ad-container--article-mid .ad-slot--loading {
        height: var(--ad-min-h, 280px);
        max-height: var(--ad-min-h, 280px);
        border-radius: 0.5rem;
    }
}

.detail-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 18rem;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Article Typography (Prose System Harmonization) */
.prose h1 { font-size: 2.75rem; font-weight: 800; color: #0f172a; margin-bottom: 2rem; line-height: 1.2; font-family: 'Georgia', serif; }
.prose p { margin-bottom: 1.5rem; color: #334155; font-size: 1.125rem; line-height: 1.8; }
.prose h3 { color: #0f172a; font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; border-left: 4px solid #f43f5e; padding-left: 1rem; }
.prose strong { color: #0f172a; font-weight: 700; }
.prose ul { margin-left: 1.75rem; margin-bottom: 1.5rem; list-style-type: disc; }
.prose li { margin-bottom: 0.75rem; color: #334155; font-size: 1.125rem; }

/* Footer Configurations */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 0;
    margin-top: 0;
    border-top-color: #0d9488 !important;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}
.footer-title { color: white; font-size: 1.25rem; font-weight: 700; margin-bottom: 1.75rem; font-family: 'Georgia', serif; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: inherit; text-decoration: none; cursor: pointer; transition: color 0.3s; font-size: 0.95rem; }
.footer-links a:hover { color: #fda4af; } /* Soft Rose link highlights */
.footer-bottom {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.875rem;
    color: #64748b;
}

/* Page View Transition Mechanics */
.fade-enter-active, .fade-leave-active { transition: opacity 0.25s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* Category filter horizontal scroll */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* AdSense 广告容器 — 尺寸由 --ad-min-h / --ad-max-w / --ad-aspect 驱动 */
.ad-container {
    overflow: hidden;
    text-align: center;
    width: 100%;
}

/* 广告合规标识 — 清晰披露，与编辑内容区分 */
.ad-disclosure {
    display: block;
    margin: 0 0 0.375rem;
    padding: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
    user-select: none;
    pointer-events: none;
}

.ad-container--infeed .ad-disclosure {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
}

.ad-slot__unit {
    display: block;
    width: 100%;
}

/* 移动端全宽出血（适配任意父级 padding） */
.ad-container--mobile-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* 生产环境：未填充不占空间 */
.ad-container--unfilled,
.ad-slot--unfilled {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: none;
}

.ad-slot {
    display: block;
    width: 100%;
    max-width: var(--ad-max-w, 100%);
    margin-left: auto;
    margin-right: auto;
    contain: layout style;
    box-sizing: border-box;
}

.ad-slot .adsbygoogle {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.ad-slot iframe {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ad-slot--loading {
    min-height: var(--ad-min-h, 90px);
    aspect-ratio: var(--ad-aspect, auto);
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: ad-shimmer 1.4s ease-in-out infinite;
    border-radius: 0.75rem;
}

/* 信息流：固定高度占位，避免宽屏下 aspect-ratio 撑得过高 */
.ad-container--infeed .ad-slot--loading {
    aspect-ratio: auto;
    height: var(--ad-min-h, 280px);
    max-height: min(var(--ad-min-h, 280px), 55vh);
}

.ad-slot--filled {
    min-height: 0;
    aspect-ratio: auto;
    max-height: none;
}

/* 本地调试：标记广告位 */
html.ads-debug-mode .ad-slot--debug {
    position: relative;
    border: 2px dashed #0d9488;
    border-radius: 0.75rem;
    background: repeating-linear-gradient(
        -45deg,
        rgba(20, 184, 166, 0.06),
        rgba(20, 184, 166, 0.06) 8px,
        rgba(20, 184, 166, 0.12) 8px,
        rgba(20, 184, 166, 0.12) 16px
    );
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.ad-slot__debug-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    padding: 0.4rem 0.75rem;
    background: #0d9488;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    border-radius: 0.5rem 0.5rem 0 0;
}

.ad-slot__debug-key {
    font-family: ui-monospace, monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
}

.ad-slot__debug-name {
    flex: 1;
    opacity: 0.95;
}

.ad-slot__debug-meta {
    width: 100%;
    font-weight: 400;
    opacity: 0.8;
    font-family: ui-monospace, monospace;
    font-size: 0.65rem;
}

.ad-slot__debug-frame {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    opacity: 0.35;
    min-height: 3rem;
}

/* 文章页横幅广告位：调试态也保持紧凑高度 */
html.ads-debug-mode .ad-container--article-top .ad-slot--debug,
html.ads-debug-mode .ad-container--content-bottom .ad-slot--debug {
    border-radius: 0.375rem;
}

html.ads-debug-mode .ad-container--article-top .ad-slot__debug-label,
html.ads-debug-mode .ad-container--content-bottom .ad-slot__debug-label {
    padding: 0.2rem 0.5rem;
    font-size: 0.6rem;
    gap: 0.25rem 0.5rem;
    line-height: 1.2;
}

html.ads-debug-mode .ad-container--article-top .ad-slot__debug-meta,
html.ads-debug-mode .ad-container--content-bottom .ad-slot__debug-meta {
    font-size: 0.55rem;
}

html.ads-debug-mode .ad-container--article-top .ad-slot__debug-frame,
html.ads-debug-mode .ad-container--content-bottom .ad-slot__debug-frame {
    flex: 0 0 auto;
    min-height: var(--ad-min-h, 90px);
    height: var(--ad-min-h, 90px);
    max-height: var(--ad-min-h, 90px);
    font-size: 0.875rem;
    letter-spacing: 0.12em;
}

/* 广告位类型：间距与圆角 */
.ad-container--banner { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.ad-container--footer { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.ad-container--infeed {
    padding: 0.75rem 0;
}

.ad-container--article-inline .ad-disclosure {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* 移动端：文章页极致紧凑 */
@media (max-width: 767px) {
    .article-page {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 0.375rem;
        padding-bottom: 0.5rem;
    }

    .article-page__toolbar {
        margin-bottom: 0.375rem;
    }

    .article-page__card {
        padding: 0.5rem;
        border-radius: 0.625rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .article-detail__title {
        font-size: 0.875rem;
        line-height: 1.1;
        margin-bottom: 0.125rem;
        letter-spacing: -0.015em;
    }

    .article-detail__header {
        margin-bottom: 0;
    }

    .article-detail__meta {
        padding-bottom: 0.25rem;
        margin-bottom: 0;
        gap: 0.375rem 0.5rem;
        line-height: 1.2;
    }

    .article-detail__figure {
        margin: 0.125rem -0.5rem 0;
    }

    .article-detail__figure + .ad-container--article-top {
        margin-top: 0.0625rem;
    }

    .detail-hero-img {
        max-height: 3.5rem;
        border-radius: 0;
        box-shadow: none;
    }

    .article-body {
        font-size: 0.8125rem;
        line-height: 1.55;
    }

    .article-body p {
        margin-bottom: 0.5rem;
    }

    .article-body h3,
    .article-body .font-bold.text-xl {
        font-size: 0.9375rem;
        margin-top: 0.625rem;
        margin-bottom: 0.25rem;
        line-height: 1.25;
    }

    .article-body ul {
        margin-bottom: 0.5rem;
        margin-left: 1rem;
    }

    .article-body li {
        margin-bottom: 0.25rem;
    }

    .article-body img {
        max-height: 5rem;
        margin: 0.375rem 0;
    }

    .ad-container--article-inline {
        margin: 0.25rem 0;
        padding: 0.125rem 0;
    }

    .ad-container--article-top,
    .ad-container--content-bottom {
        margin: 0.0625rem 0 0.125rem;
        padding: 0.0625rem 0;
        background: #f8fafc;
        border-radius: 0.25rem;
        border: 1px solid #e8edf2;
    }

    .ad-container--article-bottom {
        margin: 0.375rem 0;
        padding: 0.25rem 0;
        background: #f8fafc;
        border-radius: 0.375rem;
        border: 1px solid #e8edf2;
    }

    .ad-container--article-top .ad-slot--loading,
    .ad-container--content-bottom .ad-slot--loading {
        height: var(--ad-min-h, 40px);
        max-height: var(--ad-min-h, 40px);
        border-radius: 0.1875rem;
    }

    .ad-container--article-top .ad-disclosure,
    .ad-container--content-bottom .ad-disclosure {
        margin-bottom: 0.0625rem;
        font-size: 0.5rem;
        letter-spacing: 0.04em;
        padding-left: 0.375rem;
        padding-right: 0.375rem;
        text-align: left;
    }

    .ad-container--article-bottom.ad-container--article-mid .ad-slot__unit {
        max-width: 100%;
    }

    .ad-container--article-bottom .ad-slot--loading {
        height: var(--ad-min-h, 200px);
        max-height: min(var(--ad-min-h, 200px), 62.5vw);
    }

    html.ads-debug-mode .ad-container--article-bottom .ad-slot__debug-frame {
        min-height: var(--ad-min-h, 200px);
        height: var(--ad-min-h, 200px);
        max-height: var(--ad-min-h, 200px);
    }

    .ad-container--article-bottom .ad-disclosure {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
        font-size: 0.5rem;
        text-align: left;
    }

    .ad-container--article-bottom .ad-slot--loading,
    .ad-container--article-bottom .ad-slot--debug {
        border-radius: 0.25rem;
    }

    html.ads-debug-mode .ad-container--article-top .ad-slot__debug-label,
    html.ads-debug-mode .ad-container--content-bottom .ad-slot__debug-label {
        padding: 0.125rem 0.375rem;
        font-size: 0.5rem;
    }

    html.ads-debug-mode .ad-container--article-top .ad-slot__debug-meta,
    html.ads-debug-mode .ad-container--content-bottom .ad-slot__debug-meta {
        display: none;
    }

    html.ads-debug-mode .ad-container--article-top .ad-slot__debug-frame,
    html.ads-debug-mode .ad-container--content-bottom .ad-slot__debug-frame {
        min-height: var(--ad-min-h, 40px);
        height: var(--ad-min-h, 40px);
        max-height: var(--ad-min-h, 40px);
        font-size: 0.625rem;
    }
    .ad-container--mobile-bleed .ad-slot--loading,
    .ad-container--mobile-bleed .ad-slot--debug {
        border-radius: 0;
    }

    .ad-container--infeed {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        padding: 0.5rem 0;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }

    .ad-container--infeed .ad-slot--loading {
        height: var(--ad-min-h, 250px);
        max-height: min(var(--ad-min-h, 250px), 72vw);
    }

    .hero-compact {
        min-height: 0;
    }

    .article-card-img {
        max-height: 7rem;
    }

    .page-container {
        margin-top: 0;
    }

    .article-detail .prose h1 { font-size: inherit; margin-bottom: 0; line-height: inherit; }
    .prose p { font-size: 0.875rem; line-height: 1.65; }
    .prose h3 { font-size: 1rem; margin-top: 1rem; }
    .prose li { font-size: 0.875rem; }

    .footer-grid {
        gap: 1rem 1.25rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ad-container--banner,
    .ad-container--footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 1024px) {
    .ad-container--infeed .ad-slot {
        max-width: min(var(--ad-max-w, 100%), 100%);
    }
}

@keyframes ad-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}