.portal-cover {
    --cover-paper: #f5f8fc;
    padding-bottom: 24px;
}

.cover-content { padding-top: clamp(16px, 2vw, 24px); }
.cover-page-title { margin: 0 0 16px; font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; }
body:has(.portal-cover) .masthead { padding-block: 18px; }

.cover-layout { display: grid; gap: 24px; align-items: start; }
.cover-layout > *, .cover-rail > * { min-width: 0; }
.cover-heading { padding-bottom: 12px; }
.cover-heading h2,
.cover-ranking h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.12rem, 1.7vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.cover-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    isolation: isolate;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
}
.cover-lead:has(.cover-lead-image) {
    min-height: clamp(16rem, 39vw, 28rem);
}
.cover-lead-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.cover-lead-copy {
    grid-area: 1 / 1;
    position: relative;
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: clamp(16px, 2.6vw, 28px);
}
.cover-lead:has(.cover-lead-image) .cover-lead-copy {
    --cover-hero-shade: rgba(9, 25, 46, .76);
    background: linear-gradient(180deg, var(--cover-hero-shade), rgba(9, 25, 46, .96));
}
.cover-lead:has(.cover-lead-image) .cover-lead-copy::before {
    position: absolute;
    inset-inline: 0;
    bottom: 100%;
    height: clamp(3rem, 8vw, 6rem);
    background: linear-gradient(180deg, transparent, var(--cover-hero-shade));
    content: '';
    pointer-events: none;
}
.cover-label {
    margin: 0 0 .45rem;
    color: #1c55c6;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .085em;
    line-height: 1.4;
    text-transform: uppercase;
}
.cover-label span { color: var(--muted); }
.cover-lead .cover-label {
    margin: 0;
    color: #c4daff;
}
.cover-lead .cover-label span { color: #dce9ff; }
.cover-lead-title {
    max-width: 40ch;
    margin: 0;
    font-family: inherit;
    font-size: clamp(1.5rem, 2.85vw, 2.2rem);
    font-weight: 760;
    line-height: 1.13;
    letter-spacing: -.028em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.cover-card-link { display: block; color: inherit; }
.cover-card-link:hover { color: inherit; text-decoration: none; }
.cover-card-link:focus-visible { outline-offset: -3px; }
.cover-lead > .cover-card-link { display: grid; grid-template-columns: minmax(0, 1fr); }
.cover-lead:has(> .cover-card-link:focus-visible),
.cover-story:has(> .cover-card-link:focus-visible) { outline: 3px solid #357dfb; outline-offset: 2px; }
.cover-story > .cover-card-link { height: 100%; }
.cover-secondary, .cover-continuation { display: grid; gap: 24px; }
.cover-feed-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cover-feed-item:has(img) > .cover-card-link {
    display: grid;
    grid-template-columns: clamp(86px, 22vw, 120px) minmax(0, 1fr);
    align-items: center;
}
.cover-story.cover-feed-item img { height: 100%; min-height: 72px; aspect-ratio: auto; }
.cover-feed-item h3 { font-size: clamp(1rem, 1.6vw, 1.18rem); }
.cover-feed-status { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
.cover-feed-status:empty { margin: 0; }
[data-feed-sentinel] { height: 1px; }
.cover-feed-retry {
    margin-top: 8px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--blue);
    font: inherit;
}
.cover-regional-grid { display: grid; gap: 16px; }
.cover-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.cover-story {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.cover-story img { display: block; width: 100%; aspect-ratio: 2.4; object-fit: cover; object-position: center 25%; }
.cover-story-copy { padding: 14px 15px 16px; }
.cover-story h3 {
    margin: 0;
    font-family: inherit;
    font-size: clamp(1.05rem, 1.65vw, 1.34rem);
    font-weight: 730;
    line-height: 1.25;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}


.cover-rail { display: grid; gap: 24px; }
.cover-latest {
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.cover-latest .cover-heading { padding-bottom: 5px; }
.cover-chronology {
    margin: 0;
    padding: 0;
    list-style: none;
}
.cover-chronology .cover-card-link { padding: 9px 0; }
.cover-chronology .cover-label, .cover-ranking .cover-label { margin-bottom: 3px; }
.cover-chronology .cover-list-title {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.cover-ranking { padding: 16px 18px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--light); }
.cover-ranking ol { margin: 5px 0 0; padding: 0; list-style: none; }
.cover-ranking .cover-card-link { padding: 8px 0; font-size: .835rem; line-height: 1.3; }
.cover-ranking li + li { border-top: 1px solid transparent; }
.cover-ranking .cover-list-title { font-weight: 650; overflow-wrap: anywhere; }

.cover-regional-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.cover-regional .cover-story:not(:has(img)) { background: var(--cover-paper); }

@media (min-width: 960px) {
    .cover-layout { grid-template-columns: minmax(0, 2.25fr) minmax(280px, 1fr); }
    .cover-layout:has(> .cover-continuation) { grid-template-rows: auto 1fr; }
    .cover-feature { grid-area: 1 / 1; }
    .cover-rail { grid-area: 1 / 2; }
    .cover-layout:has(> .cover-continuation) > .cover-rail { grid-row: 1 / span 2; }
    .cover-continuation { grid-area: 2 / 1; }
    .cover-regional-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 650px) and (max-width: 959px) {
    .cover-rail:has(.cover-ranking) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 549px) {
    .cover-lead:has(.cover-lead-image) { min-height: clamp(13rem, 58vw, 16rem); }
    .cover-lead-title {
        font-size: clamp(1.25rem, 5.3vw, 1.55rem);
        line-height: 1.16;
        letter-spacing: -.025em;
    }
    .cover-secondary { grid-template-columns: minmax(0, 1fr); }
    .cover-regional-grid .cover-story:has(img) > .cover-card-link,
    .cover-secondary .cover-story:has(img) > .cover-card-link { display: grid; grid-template-columns: clamp(85px, 26vw, 120px) minmax(0, 1fr); align-items: stretch; }
    .cover-secondary .cover-story img, .cover-regional-grid .cover-story img { height: 100%; aspect-ratio: auto; }
    .cover-story-copy { padding: 12px; }
}
