
    @media (max-width: 600px){
    	.iskeyboard-enabled #TB_iframeContent{max-height:calc(100vh - 330px);}
    }

    /* ── Core Web Vitals & SEO Performance ────────────────────────────── */
    /* Native lazy-loading for below-the-fold thumbnails (keep hero/LCP images off content-visibility:auto) */
    img.item_photo,
    img.feed_photo,
    img.thumb_photo,
    .feed_attachment_photo img,
    .sesalbum_photo img,
    .user_photo img,
    img[data-src],
    .topic_posts_author_photo img {
        content-visibility: auto;
    }

    /* Prevent layout shift — reserve space for images before load */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure feed thumbnails never render smaller than 1200px on wide screens */
    @media (min-width: 1200px) {
        .feed_attachment_photo img,
        .sesblog_featured_photo img,
        .sesevent_photo img {
            min-width: 100%;
        }
    }

    /* ── Code Inserter: responsive width, reserved ad height to prevent CLS ───────────── */
    .code-inserter {
        display: block;
        width: 100%;
        box-sizing: border-box;
        contain: layout style;
    }
    .code-inserter:empty {
        display: none;
        min-height: 0;
    }
    .code-inserter--after-header,
    .code-inserter--before-content {
        min-height: 100px;
    }
    .code-inserter--middle,
    .code-inserter--after-content,
    .code-inserter--body-end {
        min-height: 250px;
    }
    .code-inserter ins.adsbygoogle,
    .code-inserter > iframe {
        display: block !important;
    }
    html.sema-app-banner body .layout_page_header { top: var(--sema-app-banner-height, 56px) !important; }
    html.sema-app-banner body::before { content: ""; display: block; height: var(--sema-app-banner-height, 56px); }
    