/* Desktop newspaper layout: shared alignment and readable type. */
@media(min-width:901px){
 body{font-size:17px}
 header .wrap,.footer .wrap{max-width:1228px}
 .brandrow{grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr);gap:24px;padding-top:28px;padding-bottom:24px}
 .brand h1{font-size:3rem;letter-spacing:-.055em;line-height:1.25}
 .brand p{font-size:.875rem}
 .utility .wrap{height:34px;font-size:.875rem}
 .nav .wrap{flex-wrap:wrap;justify-content:center;overflow:visible;gap:0 4px}
 .nav a{font-size:1rem;padding:12px 11px;line-height:1.5}
 .breaking .wrap{min-height:44px}
 .breaking p{font-size:1rem}
 main.portal-home{max-width:1228px;padding:28px 24px 48px;box-shadow:none}
 .portal-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start;margin:0;padding:0 0 28px}
 .portal-hero>*{min-width:0}
 .portal-main-copy h2{font-size:2rem;line-height:1.4;letter-spacing:-.035em;overflow-wrap:anywhere}
 .portal-main-copy p{font-size:1.0625rem;line-height:1.75}
 .portal-main-copy .meta{font-size:.875rem;line-height:1.6;margin-top:16px}
 .portal-main-photo{display:block;width:100%;max-width:100%;height:340px;aspect-ratio:auto;align-self:start;min-height:0;min-width:0}
 .portal-main-photo .caption{left:22px;right:22px;bottom:22px}
 .portal-main-photo .caption strong{font-size:1.5rem;line-height:1.45}
 .portal-main-photo .caption span{font-size:.9375rem;line-height:1.6}
 .portal-tag{font-size:.875rem;line-height:1.5;margin-bottom:8px;padding:4px 8px}
 .portal-heading,.portal-latest h2{font-size:1.25rem;line-height:1.5;margin-bottom:16px;padding-bottom:10px}
 .portal-latest article{padding:12px 0}
 .portal-latest h3{font-size:1.0625rem;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
 .portal-latest .date{font-size:.875rem}
 .portal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px;margin:20px 0 32px}
 .portal-card a{display:block;height:100%}
 .portal-card .photo{height:auto;aspect-ratio:16/10;margin-bottom:12px}
 .portal-card h3{font-size:1.1875rem;line-height:1.55;letter-spacing:-.025em;overflow-wrap:anywhere}
 .portal-card .by{font-size:.875rem;line-height:1.6;margin-top:10px;color:#62676d}
 .portal-card p{font-size:1rem;line-height:1.65}
 .portal-home>section[id^="latest-"]{margin-top:28px}
 .portal-middle{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:28px;padding:28px 0;margin:0 0 24px}
 .portal-feature{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start}
 .portal-feature .photo{height:auto;aspect-ratio:4/3}
 .portal-feature h2{font-size:1.5rem;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
 .portal-feature p{font-size:1rem;line-height:1.75}
 .portal-thumb-list article{grid-template-columns:96px minmax(0,1fr);gap:14px}
 .portal-thumb-list article img{width:96px;height:72px}
 .portal-dark{padding:24px;margin:0 0 28px}
 .portal-dark-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
 .portal-dark-card .photo{height:auto;aspect-ratio:16/10;margin-bottom:14px}
 .portal-dark-card h3{font-size:1.1875rem;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
 .portal-side-ad,.portal-bottom-ad{font-size:.9375rem;min-height:90px;margin-top:22px}
 .portal-home .sponsor-banner{margin:24px 0 32px}
 .portal-home .sponsor-banner img{max-height:180px;object-fit:contain}
 .sponsor-label{font-size:.875rem}
 .footer{font-size:.9375rem;line-height:1.8}
}
@media(min-width:901px) and (max-width:1100px){
 .portal-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr)}
 .portal-hero>.portal-latest{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 .portal-hero>.portal-latest h2{grid-column:1/-1;margin-bottom:0}
 .portal-main-copy h2{font-size:1.8rem}
 .portal-middle{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
 .portal-feature{grid-template-columns:1fr}
}
.portal-home a:focus-visible{outline:3px solid #a10000;outline-offset:4px}
.portal-home section,.portal-home article{min-width:0}

/* Prevent intrinsic photo ratios from widening a grid column. */
.portal-main-photo{min-width:0;max-width:100%;overflow:hidden}
.portal-main-photo>img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:cover}
@media(min-width:901px){
 .portal-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.6fr) minmax(0,1fr);column-gap:28px}
 .portal-hero>.portal-latest{position:relative;min-width:0;padding-left:4px}
 .portal-main-photo .caption{max-width:calc(100% - 44px)}
}
@media(min-width:901px) and (max-width:1100px){
 .portal-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr)}
}

/* Compact latest-news rows keep the lead story and next row close together. */
.portal-home .portal-latest .portal-latest-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:start;padding:12px 0}
.portal-home .latest-image{min-width:0}
.portal-home .latest-image>a{display:block}
.portal-home .latest-image img{display:block;width:100%;height:72px;object-fit:contain;background:#f5f5f5;margin:0}
.portal-home .latest-image .agency-photo-credit{font-size:11px;line-height:1.35;padding:5px 0 0;margin:0;color:#555}
.portal-home .latest-copy{min-width:0}
.portal-home .latest-copy h3{margin:7px 0;font-size:16px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.portal-home .latest-copy .portal-tag{font-size:12px;line-height:1.4;padding:3px 5px}
.portal-home .latest-copy .date{font-size:12px;color:#666}
.view-mode-toggle{color:#222!important;background:#fff!important;border:1px solid #aaa!important;padding:10px 16px}
@media(max-width:650px){
 .portal-home .portal-latest .portal-latest-item{grid-template-columns:112px minmax(0,1fr);gap:14px}
 .portal-home .latest-image img{height:84px}
 .portal-home .latest-copy h3{font-size:18px}
 .portal-home .portal-card .photo:has(.agency-photo-credit)>img{height:84px}
}

/* Homepage thumbnails show attribution only; detailed captions belong to the story. */
.portal-home .agency-photo-credit{font-size:12px;line-height:1.4;padding:4px 0;color:#666}
.portal-home .latest-image .agency-photo-credit{font-size:12px;line-height:1.4}

.portal-more{padding:28px 16px;text-align:center;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin:24px 0}
.portal-more h2{font-size:22px;margin:0 0 10px}
.portal-more p{font-size:16px;line-height:1.6;color:#555}
.portal-more a{display:inline-block;padding:12px 24px;background:#a10000;color:#fff;font-weight:700;text-decoration:none}
.portal-home .portal-main-photo>.agency-photo-credit{position:absolute;bottom:0;left:0;right:0;z-index:3;background:rgba(255,255,255,.95);padding:4px 8px;color:#444}
.portal-home .portal-main-photo .caption{bottom:42px}
