/* SPM Image Board 2: six stories, desktop 1 / 2 / 3. Scoped independently from Wall and Magazine layouts. */
.spm-usnews-board { width:100%; min-width:0; max-width:1440px; margin:0 auto 1.5rem; }
.spm-usnews-board *, .spm-usnews-board *::before, .spm-usnews-board *::after { box-sizing:border-box; }
.spm-usnews-board [hidden] { display:none !important; }
.spm-usnews-board-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); grid-template-rows:auto; min-width:0; gap:1rem; }
.spm-usnews-board-card { position:relative; min-width:0; margin:0; border-radius:20px; overflow:hidden; background:#0b011d; }
.spm-usnews-board-card:first-child { grid-column:1 / -1; }
.spm-usnews-board-link { display:flex; position:relative; align-items:flex-end; min-height:180px; height:100%; color:#fff !important; text-decoration:none; border-radius:20px; isolation:isolate; }
.spm-usnews-board-link::after { content:''; position:absolute; inset:0; background:linear-gradient(transparent 15%,rgba(0,0,0,.88) 100%); z-index:-1; pointer-events:none; }
.spm-usnews-board-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:20px; z-index:-2; }
.spm-usnews-board-title { color:inherit; font-size:1em; line-height:1.4; font-weight:650; padding:.8rem; margin:0; overflow-wrap:anywhere; }
.spm-usnews-board-card:first-child .spm-usnews-board-title { font-size:1.4em; }
.spm-usnews-board-link:hover .spm-usnews-board-title { text-decoration:underline; }
.spm-usnews-board-link:focus-visible { outline:3px solid #ffd568; outline-offset:-4px; }
.spm-usnews-board-status:empty { display:none; }

.spm-usnews-board-card:nth-child(2), .spm-usnews-board-card:nth-child(3) { grid-column:span 3; }
.spm-usnews-board-card:nth-child(n+4) { grid-column:span 2; }
.spm-usnews-board-link { min-height:240px; }
.spm-usnews-board-card:first-child .spm-usnews-board-link { min-height:360px; }
/* Constrain the existing U.S. slot to its container without changing its padding. */
#us-pane > .pp-feed-slot { grid-template-columns:minmax(0,1fr); min-width:0; }
#us-pane > .pp-feed-slot > div { width:100%; min-width:0; max-width:100%; }
@media (min-width:768px) and (max-width:1024px) {
 .spm-usnews-board-card:first-child .spm-usnews-board-title { font-size:1.2em; }
 .spm-usnews-board-card:first-child .spm-usnews-board-link { min-height:300px; }
}
@media (max-width:767.98px) {
 .spm-usnews-board-grid { grid-template-columns:minmax(0,1fr); }
 .spm-usnews-board-card:nth-child(n) { grid-column:auto; }
 .spm-usnews-board-card:nth-child(n) .spm-usnews-board-link { min-height:240px; }
 .spm-usnews-board-card:first-child .spm-usnews-board-title { font-size:1.05em; }
}
