/* The same compact title, metadata and actions for school guides and past papers. */
.article-list>.article-card.school-resource-card,.home-community #home-articles>.article-card.school-resource-card,.school-column-results>.article-card.school-resource-card{display:block;grid-template-columns:none;gap:0;min-height:0;padding:16px 20px;border-radius:10px}
.school-resource-card .school-card-main{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:16px;min-width:0}
.school-resource-card .school-card-emblem{align-self:center;width:64px;height:64px;margin:0}
.school-resource-card .school-card-emblem img{width:64px;height:64px;object-fit:contain;object-position:center}
.school-resource-card .resource-card-content{min-width:0}
.article-card.school-resource-card h3{margin:0 0 7px;font-size:18px;line-height:1.5;font-weight:650;letter-spacing:0;overflow-wrap:anywhere}
.school-resource-card .school-card-tags{display:flex;flex-wrap:wrap;align-items:center;gap:4px 5px;margin:0 0 8px}
.school-resource-card .school-card-tags .article-tag{margin:0;padding:1px 6px;font-size:10px;line-height:1.7}
.school-resource-card .school-card-footer{gap:10px;font-size:11px;line-height:1.6;color:#7b8ca3}
.article-card.school-resource-card .school-card-footer .read-label{display:inline-flex;align-items:center;font-size:11px;line-height:1.6}
.school-resource-card>.content-action-bar{margin-top:8px;margin-left:80px;padding-top:5px;gap:5px}
.school-resource-card>.content-action-bar button{min-height:34px;padding:3px 2px;font-size:11px}
.school-resource-card>.content-action-bar button:not(.is-liked):not(.is-bookmarked){color:#647b9c}
@media(max-width:650px){
 .article-list>.article-card.school-resource-card,.home-community #home-articles>.article-card.school-resource-card,.school-column-results>.article-card.school-resource-card{padding:14px;border-radius:9px}
 .school-resource-card .school-card-main{grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:start}
 .school-resource-card .school-card-emblem{align-self:start;width:48px;height:48px;margin-top:2px}
 .school-resource-card .school-card-emblem img{width:48px;height:48px}
 .article-card.school-resource-card h3{margin-bottom:6px;font-size:16px;line-height:1.5}
 .school-resource-card .school-card-tags{gap:4px;margin-bottom:7px}
 .school-resource-card .school-card-tags .article-tag{padding:1px 5px;font-size:10px}
 .school-resource-card .school-card-footer{flex-wrap:wrap;gap:4px 8px;font-size:10px}
 .article-card.school-resource-card .school-card-footer .read-label{font-size:10px}
 .school-resource-card>.content-action-bar{margin-top:6px;margin-left:60px;padding-top:4px;gap:3px}
 .school-resource-card>.content-action-bar button{min-height:40px;gap:4px;padding:4px 1px;font-size:10px;line-height:1.45;white-space:normal}
 .school-resource-card>.content-action-bar button span{min-width:0;overflow-wrap:anywhere}
 .school-resource-card>.content-action-bar svg{width:13px;height:13px}
}
@media(pointer:coarse){.school-resource-card>.content-action-bar button{min-height:40px}}

.article-card.school-resource-card h3{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px}
.article-card .resource-latest-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:1px 5px;border-radius:4px;background:#e95c61;color:#fff;font-size:10px;font-weight:650;line-height:1.5;letter-spacing:0;vertical-align:middle;white-space:nowrap}
.school-resource-card .school-card-emblem{position:relative;isolation:isolate;overflow:hidden}
.school-resource-card .school-card-emblem::after{content:"";position:absolute;inset:-25%;pointer-events:none;background:linear-gradient(110deg,transparent 33%,#ffffff00 39%,#ffffff80 50%,#ffffff00 61%,transparent 67%);transform:translateX(-120%);animation:column-icon-shine 5.4s ease-in-out infinite}
.school-resource-card:nth-child(2n) .school-card-emblem::after{animation-delay:-1.1s}.school-resource-card:nth-child(3n) .school-card-emblem::after{animation-delay:-2.2s}.school-resource-card:nth-child(4n) .school-card-emblem::after{animation-delay:-3.3s}
@media(prefers-reduced-motion:reduce){.school-resource-card .school-card-emblem::after{display:none;animation:none}}

.article-card .resource-latest-badge{width:max-content;min-width:0;padding:1px 4px;animation:latest-soft-nudge 3.6s ease-in-out infinite;transform-origin:center}
@keyframes latest-soft-nudge{0%,72%,100%{transform:translateX(0) rotate(0)}77%,87%{transform:translateX(-.6px) rotate(-1.5deg)}82%,92%{transform:translateX(.6px) rotate(1.5deg)}}
@media(prefers-reduced-motion:reduce){.article-card .resource-latest-badge{animation:none}}

.content-resource-card h3>.resource-latest-badge{margin-left:7px;vertical-align:middle}

/* A compact visual cue within the existing content link. */
.article-card.resource-external .read-label,.article-card.school-resource-card .school-card-footer .read-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;width:max-content;max-width:100%;min-height:27px;padding:3px 9px;border:1px solid #dbe7fa;border-radius:7px;background:#eef4ff;color:#345b99;font-size:11px;font-weight:550;line-height:1.5;letter-spacing:0;white-space:nowrap;transition:background .18s,border-color .18s,color .18s}
.article-card .read-label .read-external-icon{display:block;flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.article-card.resource-external a:hover .read-label,.article-card.school-resource-card a:hover .read-label{border-color:#c2d5f3;background:#e5efff;color:#244d8b}
.school-resource-card .school-card-footer{flex-wrap:wrap;gap:6px 10px}
@media(max-width:650px){
 .article-card.resource-external .resource-card-main{row-gap:9px}
 .article-card.resource-external .resource-card-main>.read-label{grid-column:1/-1;justify-self:end}
 .article-card.resource-external .read-label,.article-card.school-resource-card .school-card-footer .read-label{min-height:26px;padding:3px 8px;font-size:10px}
}
