/* Shared author information, readable articles, and reserved manual ad slots. */
.article-shell {
    grid-template-columns: minmax(0, 1fr) 302px;
    gap: 36px;
}
.article-page { overflow-wrap: anywhere; }
.article-page section p, .article-page section li, .prose-page p, .prose-page li {
    line-height: 1.8;
}
.article-header h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid var(--border, #dce3e9);
    border-radius: 14px;
    background: #fff;
}
.author-card .author-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 8px;
    border-radius: 50%;
    background: #f0f3ff;
}
.author-card-details { min-width: 0; }
.author-card p { margin: 0 0 5px; }
.author-card .byline { margin: 5px 0; gap: 5px 16px; }
.author-policy { font-size: .875rem; }
.article-page .author-bio {
    margin-top: 36px;
    padding: 24px;
    border: 1px solid var(--border, #dce3e9);
    border-radius: 14px;
    background: #fff;
}
.article-page .author-bio > h2 { margin-top: 0; }
.article-page .author-bio p:last-child { margin-bottom: 0; }
.prose-page { overflow-wrap: anywhere; }
.prose-page ul { padding-left: 24px; }
.prose-page section { scroll-margin-top: 100px; }
.prose-page .policy-date { color: #526170; font-size: .95rem; }

/*
 * Only insert manual AdSense units matching the creative dimensions below.
 * The outer height includes a 24px label and 2px of borders.
 * Keep empty/unfilled slots reserved. Never crop, scale, or cover ad iframes.
 * Do not initialize hidden slots. Auto ads need separate configuration.
 */
.ad-placement {
    --ad-width: 300px;
    --ad-height: 250px;
    box-sizing: border-box;
    width: calc(var(--ad-width) + 2px);
    height: calc(var(--ad-height) + 26px);
    min-height: calc(var(--ad-height) + 26px);
    margin: 32px auto;
    border: 1px solid #dce1e6;
    background: #f3f5f7;
    color: #586473;
}
.ad-placement .ad-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .12em;
    text-align: center;
}
.ad-surface {
    width: var(--ad-width);
    height: var(--ad-height);
    min-height: var(--ad-height);
}
.ad-surface > .adsbygoogle {
    display: inline-block;
    width: var(--ad-width);
    height: var(--ad-height);
}
#top-leaderboard { grid-column: 1 / -1; min-height: 276px; margin-block: 0; }
#in-article-ad { min-height: 276px; }
#sidebar-ad { --ad-height: 600px; min-height: 626px; margin-top: 0; }
@media (min-width: 800px) {
    #top-leaderboard { --ad-width: 728px; --ad-height: 90px; min-height: 116px; }
}
@media (max-width: 1099px) {
    .article-shell { grid-template-columns: minmax(0, 1fr); }
    .article-aside { padding-top: 0; }
    #sidebar-ad { display: none; }
}
@media (max-width: 359px) {
    #top-leaderboard, #in-article-ad { --ad-width: 250px; }
    .author-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 279px) {
    .ad-placement { display: none; }
}
@media print {
    .ad-placement, .article-aside { display: none; }
    .article-shell { display: block; }
}
