body.single-post main.news-article.article-shell { box-sizing:border-box; width:calc(100% - 40px); max-width:680px; margin-inline:auto; padding-block:56px 80px; }
body.single-post .news-article > .text-link { margin:0 0 28px; }
body.single-post .news-article > h1 { margin-block:0 26px; }
body.single-post .news-article > .wp-block-post-date { border-top:1px solid #cbd0c5; padding-top:18px; margin-top:0; font-size:14px; }
body.single-post .news-article > .news-meta { margin-block:8px 28px; font-size:14px; }
body.single-post .news-article > .entry-content { border-top:1px solid #cbd0c5; padding-top:28px; margin-top:28px; }
body.single-post .news-article .entry-content > p { line-height:1.75; margin-block:0 24px; }
body.single-post .news-article .entry-content > p:first-child { font-size:clamp(19px,2vw,22px); line-height:1.6; }
body.single-post .news-article .entry-content > h2 { border-top:1px solid #cbd0c5; padding-top:30px; margin-top:40px; margin-bottom:22px; }
body.single-post .news-article .entry-content > h3 { margin-top:30px; margin-bottom:16px; }
body.single-post .news-article img { max-width:100%; height:auto; }
body.single-post .news-article .wp-block-post-featured-image { margin:28px 0; }
body.single-post .news-article .afeg-section-image { margin:26px 0; }
body.single-post .news-article figcaption { font-size:14px; line-height:1.5; margin-top:10px; }
@media(max-width:600px) { body.single-post main.news-article.article-shell { padding-block:32px 48px; } body.single-post .news-article .entry-content > h2 { margin-top:30px; padding-top:24px; } }
body.single-post .news-article .gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:28px 0; }
body.single-post .news-article .gallery .gallery-item { float:none!important; width:auto!important; margin:0!important; padding:0; }
body.single-post .news-article .gallery br { display:none; }
body.single-post .news-article .gallery .gallery-icon a { display:block; }
body.single-post .news-article .gallery .gallery-icon img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border:0!important; }
body.single-post .news-article .gallery .gallery-caption { margin:8px 0 0; font-size:14px; line-height:1.5; text-align:left; }
.afeg-gallery-open { overflow:hidden; }
dialog.afeg-lightbox { box-sizing:border-box; width:min(1100px,94vw); max-width:94vw; max-height:94dvh; padding:18px; border:0; background:#f7f5ee; color:#153f52; overflow:auto; }
.afeg-lightbox::backdrop { background:rgba(8,24,33,.88); }
.afeg-lightbox-controls,.afeg-lightbox-nav { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.afeg-lightbox button { font:inherit; font-size:15px; background:#153f52; color:#fff; border:0; padding:12px 18px; cursor:pointer; }
.afeg-lightbox button:focus-visible { outline:3px solid #bc8427; outline-offset:3px; }
.afeg-lightbox figure { margin:16px 0; }
.afeg-lightbox figure img { display:block; width:100%; height:min(65dvh,720px); object-fit:contain!important; }
.afeg-lightbox figcaption { font-size:15px; line-height:1.5; margin-top:12px; }
.afeg-lightbox figcaption:empty { display:none; }
.afeg-lightbox button[hidden] { display:none; }
@media(max-width:600px) { body.single-post .news-article .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .afeg-lightbox figure img { height:55dvh; } }

body.single-post .news-article .wp-block-post-featured-image img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; object-position:center; }

body.single-post .news-article .wp-block-post-featured-image img[src*="70Y_badge"] { object-fit:contain!important; }
body.single-post .news-article .gallery .gallery-caption,body.single-post .news-article .wp-block-gallery figcaption { display:none; }
/* Compact article metadata and one separator per section. */
body.single-post .news-article > .wp-block-post-date { margin-bottom:0!important; padding-bottom:0; line-height:1.5; }
body.single-post .news-article > .news-meta { margin-top:4px!important; margin-bottom:24px; line-height:1.5; }
.afeg-meta-label { color:#52676c; }
body.single-post .news-article .wp-block-post-featured-image img { aspect-ratio:4/3; }
body.single-post .news-article > .entry-content { border-top:0; padding-top:0; margin-top:0; }
body.single-post .news-article .entry-content > h2:first-child { margin-top:32px; }
body.single-post .news-article .afeg-section-image { margin:24px 0 28px; }
body.single-post .news-article .afeg-section-image img { display:block; max-height:440px; width:auto; max-width:100%; object-fit:contain; margin-inline:auto; }
body.single-post .news-article .afeg-section-image img[src*="70Y_badge"] { width:280px; height:auto; max-width:75%; }
body.single-post .news-article .gallery { margin-bottom:24px; }
body.single-post .news-article .gallery + h2 { margin-top:32px; }
/* Article headings are immediately readable; main-site animation is unchanged. */
body.single-post .news-article :is(h1,h2,h3,h4),body.single-post .news-article :is(h1,h2,h3,h4) span { opacity:1!important; visibility:visible!important; transform:none!important; animation:none!important; transition:none!important; }
body.single-post .news-article .uplift-line { overflow:visible!important; }
body.single-post .news-article > .wp-block-post-date,body.single-post .news-article > .news-meta { position:relative; padding-left:26px; }
body.single-post .news-article > .wp-block-post-date::before,body.single-post .news-article > .news-meta::before { content:""; position:absolute; left:0; width:17px; height:17px; background:currentColor; opacity:.75; mask-position:center; mask-repeat:no-repeat; mask-size:contain; }
body.single-post .news-article > .wp-block-post-date::before { top:20px; mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 2v6M17 2v6M3 11h18'/%3E%3C/svg%3E"); }
body.single-post .news-article > .news-meta::before { top:2px; mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M2 11 12 3l10 8M5 9v12h14V9M9 21v-8h6v8'/%3E%3C/svg%3E"); }

/* Solid metadata symbols with reversed internal details. */
body.single-post .news-article > .wp-block-post-date::before { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M6 2h2v3h8V2h2v3h2a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2V2ZM5 9v2h14V9H5Zm1 5v2h3v-2H6Zm5 0v2h3v-2h-3Zm5 0v2h3v-2h-3ZM6 18v2h3v-2H6Zm5 0v2h3v-2h-3Z'/%3E%3C/svg%3E"); }
body.single-post .news-article > .news-meta::before { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 11 12 2l11 9-2 2-1-1v10h-6v-8h-4v8H4V12l-1 1-2-2Z'/%3E%3C/svg%3E"); }

/* The shared visit invitation is supplied by the template, not article content. */
body.single-post .afeg-visit-invitation { background:#123f56; color:#f7f5ee; padding:40px; margin-top:48px; }
body.single-post .afeg-visit-invitation h2 { color:inherit; margin:0 0 20px; font-size:clamp(28px,3vw,36px); line-height:1.25; }
body.single-post .afeg-visit-invitation p { color:inherit; margin:0 0 24px; line-height:1.65; }
body.single-post .afeg-visit-invitation .afeg-visit-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:52px; box-sizing:border-box; padding:14px 24px; background:#f7f5ee; color:#123f56; font-family:inherit; font-size:16px; font-weight:600; text-decoration:none; border:0; }
body.single-post .afeg-visit-invitation .afeg-visit-button:hover { background:#e4e8de; }
body.single-post .afeg-visit-invitation .afeg-visit-phone { margin:22px 0 0; font-size:15px; }
body.single-post .afeg-visit-phone a { color:inherit; text-decoration:underline; text-underline-offset:4px; }
body.single-post .afeg-visit-invitation a:focus-visible { outline:3px solid #edb65d; outline-offset:5px; }
@media(max-width:600px) { body.single-post .afeg-visit-invitation { padding:28px 24px; margin-top:36px; } }
/* Reader-controlled video, with natural proportions and no thumbnail cropping. */
body.single-post .news-article .afeg-article-video { margin:28px auto; width:100%; }
body.single-post .news-article .afeg-video-portrait { max-width:320px; }
body.single-post .news-article .afeg-article-video video { display:block; width:100%; height:auto; max-height:70vh; object-fit:contain; background:#19394a; }
body.single-post .news-article .afeg-article-video figcaption { margin-top:12px; font-size:14px; line-height:1.5; }
body.single-post .news-article .afeg-article-video video:focus-visible { outline:3px solid #19394a; outline-offset:4px; }
