/* SE1 revision 36: layout stability. Do not change print geometry. */
@media screen {
    .se1-print-only { display:none !important; }
    /* Feature image dimensions are not available as Ghost post fields.
       Reserve a responsive 3:2 frame; contain preserves historic photos. */
    body.se1-heritage .gh-article-header .gh-article-image > img.gh-feature-image,
    body.se1-heritage.tag-template .gh-archive .gh-article-image > img.gh-feature-image {
        display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain;
        max-height:none; margin-inline:auto; background:transparent;
    }
    body.se1-heritage .se1-blog-post .gh-article-header .gh-article-image > img.gh-feature-image {
        width:min(100%, 630px); max-height:420px;
    }
    /* Respect explicit intrinsic sizes on editor images; never guess their ratio. */
    .gh-content img[width][height] {max-width:100%; height:auto;}
    /* Do not let failed thumbnail requests remove already occupied space. */
    .se1-image-unavailable {background:#f5f5f5;}
    .se1-tag-results .se1-result-fallback .gh-card-image {aspect-ratio:3/2;}
    /* No late social-label measurement or wrap/unwrap cycle. */
    .se1-top-social-inner {flex-wrap:nowrap;}
    .se1-top-social .gh-social-links {flex:0 1 auto; min-width:0;}
    @media (max-width:767px) {
        .se1-top-social-inner {min-height:44px;}
    }
    @media (max-width:520px) {
        .se1-top-social-inner .se1-top-social-label {display:none;}
    }
    /* Protect metadata from shrinking under sibling pressure, not by hiding ads. */
    .se1-heritage .gh-meta-share {gap:12px; flex-wrap:wrap;}
    .se1-heritage .gh-meta-share .gh-article-meta {flex:1 1 0; min-width:0;}
    .se1-heritage .gh-meta-share .gh-article-meta-wrapper {min-width:0;}
    .se1-heritage .gh-meta-share .gh-article-author-name {overflow-wrap:anywhere;}
    .se1-heritage .gh-meta-share .gh-button-share {flex:0 0 auto;}
    @media(max-width:480px) {
        .se1-heritage .gh-meta-share .gh-article-author-image a {width:40px;height:40px;}
    }
    /* Status and filter geometry are present on first render. */
    .se1-tag-browser .se1-tag-status {min-height:1.5em; line-height:1.5;}
    .se1-tag-browser .se1-tag-form[inert] {opacity:.65;}
    .se1-tag-browser .se1-tag-form select {width:100%; min-width:0;}
    /* Optional publisher-managed slots only. Set dimensions before requesting an ad.
       Never clip, resize or hide a Google-served creative. */
    .se1-ad-space {min-block-size:var(--se1-ad-reserved-height,250px);}
    .se1-ad-space--banner {--se1-ad-reserved-height:100px;}
    @media(min-width:768px) {.se1-ad-space--banner {--se1-ad-reserved-height:90px;}}
}
