/* Community updates. Keep all supplied photographs at their original proportions. */
#page-article.community-article { display:block; }
#page-article.community-article .ahdr h1 { max-width:16ch; }
#page-article.community-article .abody { padding-top:clamp(30px,4vw,56px); }
#page-article.community-article .update-photo { margin:clamp(28px,4vw,48px) 0; }
#page-article.community-article .update-lead { margin-top:0; }
#page-article.community-article .update-photo img { display:block; width:100%; height:auto; max-height:none; aspect-ratio:auto; object-fit:contain; filter:none; border-radius:0; }
#page-article.community-article .update-scene { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(24px,4vw,48px); align-items:center; margin:clamp(32px,4vw,56px) 0; }
#page-article.community-article .update-scene .update-photo { margin:0; }
#page-article.community-article .update-copy p { font:400 18px/1.8 var(--sans); color:var(--f-body); margin:0 0 1.4em; }
#page-article.community-article .update-copy p:last-child { margin-bottom:0; }
#page-article.community-article .update-back { border-top:1px solid var(--f-line-d); padding-top:24px; margin-top:32px; font-size:14px; }
#page-news .community-update { margin-top:44px; }
#page-news .community-update .feature-img { aspect-ratio:auto; }
#page-news .community-update .feature-img img { width:100%; height:auto; object-fit:contain; filter:none; }
#page-news .community-update .feature-h { font-size:clamp(28px,3vw,40px); }
@media(max-width:820px){
 #page-article.community-article .update-scene { grid-template-columns:1fr; }
 #page-article.community-article .update-copy p { font-size:17px; }
}

/* Full, uncropped photograph within the article hero. */
#page-article.community-article .ahdr { padding-bottom:clamp(28px,4vw,48px); }
#page-article.community-article .update-hero-wrap { max-width:1280px; margin:clamp(28px,4vw,48px) auto 0; padding:0 clamp(22px,4vw,56px); }
#page-article.community-article .update-hero-image { margin:0; max-width:none; }
#page-article.community-article .update-hero-image img { width:100%; height:auto; object-fit:contain; }
#page-article.community-article .update-hero-image .acap { color:rgba(255,255,255,.82); }

/* ── Brand photographic mount ──────────────────────────────────────────
   The community update photographs previously sat flush and square-edged.
   They now carry the same radius and depth as every other photograph on the
   site (--photo-radius / --photo-shadow, presentation.css), so the Updates
   strand reads as part of the brand rather than as raw drop-ins. Image files
   are untouched; this is presentation only. */
#page-article.community-article .update-photo img,
#page-article.community-article .update-hero-image img { border-radius:var(--photo-radius); box-shadow:var(--photo-shadow); }
#page-news .community-update .feature-img img { border-radius:var(--photo-radius); box-shadow:var(--photo-shadow); }

/* Index cards lift on hover, matching .lift in style.css (-4px). The card is
   the anchor, so the whole tile moves and the photograph deepens with it. */
#page-news .community-update { transition:transform .2s ease; }
#page-news .community-update .feature-img img { transition:box-shadow .2s ease; }
@media(hover:hover) and (pointer:fine){
 #page-news .community-update:hover,
 #page-news .community-update:focus-within { transform:translateY(-4px); }
 #page-news .community-update:hover .feature-img img,
 #page-news .community-update:focus-within .feature-img img { box-shadow:0 20px 40px -14px rgba(28,42,20,.42), 0 3px 8px rgba(28,42,20,.1); }
}
@media(prefers-reduced-motion:reduce){
 #page-news .community-update,
 #page-news .community-update .feature-img img { transition:none; }
 #page-news .community-update:hover,
 #page-news .community-update:focus-within { transform:none; }
}

/* Keep links legible within captions on the dark article header. */
#page-article.community-article .update-hero-image .acap a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
#page-article.community-article .update-hero-image .acap a:hover,
#page-article.community-article .update-hero-image .acap a:focus-visible { color:#fff; }
