/* A quiet editorial home. Shared site tokens keep both colour themes native. */
.home-carousel-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:6px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.home-carousel-controls button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--sea);font-size:25px}
.home-carousel-controls button[data-home-pause]{font-size:16px;margin-left:6px}
.home-carousel-controls button:is(:hover,:focus-visible){background:var(--mist);outline:1px solid var(--line)}
.home-carousel-story .home-lead-copy h4{min-height:3.75em}
.home-carousel-story .home-lead-copy>p{min-height:3.1em}
@media(max-width:650px){.home-carousel-story .home-lead-copy h4{min-height:5.2em}}
@media(prefers-reduced-motion:no-preference){html:not(.data-saver) .home-carousel-enter{animation:home-carousel-in .25s ease-out}@keyframes home-carousel-in{from{opacity:.4}to{opacity:1}}}
#news-view.is-home:not([hidden]){display:block;max-width:none;min-width:0;padding:20px 28px 36px}
#home-dashboard{max-width:1320px;margin:0 auto;color:var(--deep)}
#home-dashboard [hidden]{display:none!important}


#home-dashboard svg{display:block;flex:none;width:19px;height:19px;color:var(--sea)}


.home-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:28px 24px;align-items:start}
.home-grid>section{min-width:0}
.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;margin-bottom:12px}
.home-section-head h3{margin:0;font:600 15px/1.4 Arial,sans-serif;letter-spacing:0;color:var(--deep)}
.home-section-head h3::before{content:'';display:inline-block;width:3px;height:12px;margin-right:9px;background:var(--sea);vertical-align:-1px}
#home-dashboard .home-text-link{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 0;border:0;background:transparent;color:var(--sea);font:500 11px/1.4 Arial,sans-serif;text-decoration:none;white-space:nowrap}
#home-dashboard .home-text-link svg{width:14px;height:14px}
#home-dashboard .home-text-link:hover{text-decoration:underline}
.home-lead-story{overflow:hidden;border:1px solid var(--line);background:var(--foam);cursor:pointer;outline-offset:4px}
#home-dashboard .home-image{display:block;width:100%;height:auto;min-height:0;margin:0;aspect-ratio:16/8.1;object-fit:cover;background:var(--mist);border:0}
#home-dashboard .home-lead-story>.home-image{max-height:200px}
#home-dashboard .home-image-empty{display:grid;place-items:center}
.home-image-empty>img{width:52px;height:52px;object-fit:contain;opacity:.6}
.home-lead-copy{padding:18px 20px 16px}
#home-dashboard time{display:block;margin:0;color:var(--muted);font:11px/1.4 Arial,sans-serif}
.home-lead-copy h4{margin:9px 0 10px;font:500 clamp(21px,1.85vw,25px)/1.25 Georgia,serif;letter-spacing:-.025em;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.home-lead-copy>p{margin:0;color:var(--muted);font-size:13px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.home-story-source{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.home-lead-story:hover .home-story-source svg{color:var(--deep)}
.home-community-section{padding:0}
#home-discussions{border-top:1px solid var(--line)}
.home-topic{display:flex;align-items:flex-start;gap:12px;width:100%;min-height:112px;padding:17px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--deep);text-align:left}
.home-topic-rank{color:var(--sea);font:12px/1.5 monospace;flex:none;padding-top:1px}
.home-topic-copy{display:grid;gap:7px;flex:1;min-width:0}
.home-topic-copy>small{font-size:10px;line-height:1.4;color:var(--muted)}
.home-topic-copy>strong{font:600 14px/1.45 Arial,sans-serif;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#home-dashboard .home-topic>svg{width:14px;height:14px;margin-top:2px}
.home-topic-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:10px;line-height:1.5}
.home-topic-meta>span{display:inline-flex;align-items:center;gap:3px}
#home-dashboard .home-topic-meta svg{width:13px;height:13px;color:var(--muted)}
.home-topic:hover .home-topic-copy>strong{text-decoration:underline;text-underline-offset:3px}
#home-dashboard .home-compose{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:10px 12px;margin-top:16px;border:1px solid var(--line);background:var(--mist);color:var(--deep);font:600 12px/1.4 Arial,sans-serif}
#home-dashboard .home-compose:hover{border-color:var(--sea)}
#home-dashboard .home-compose:disabled{opacity:.55;cursor:not-allowed}
.home-latest-section{grid-column:1/-1}
#home-updates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.home-update{display:grid;grid-template-columns:116px minmax(0,1fr);gap:15px;align-items:start;padding:16px 0;border-top:1px solid var(--line);cursor:pointer;min-width:0;outline-offset:4px}
#home-dashboard .home-update>.home-image{aspect-ratio:4/3;margin-top:0}
.home-update>div:last-child{min-width:0}
.home-update h4{margin:0 0 8px;font:500 18px/1.3 Georgia,serif;letter-spacing:-.015em;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.home-update-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;color:var(--muted);font:11px/1.5 Arial,sans-serif}
#home-dashboard .home-update-meta>time{font:inherit;color:inherit}
.home-update-source{min-width:0;overflow-wrap:anywhere;border-inline-start:1px solid var(--line);padding-inline-start:8px}
.home-update>div:last-child>span{font-size:10px;color:var(--muted)}
.home-update:hover h4{text-decoration:underline;text-underline-offset:3px}
.home-no-news .home-community-section,.home-no-forum .home-news-section{grid-column:1/-1}
.home-no-news #home-discussions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.home-no-news .home-compose{width:auto;min-width:170px}
.home-empty{margin:0;padding:24px 0;color:var(--muted);font-size:13px;line-height:1.6}
.home-empty .home-text-link{display:block!important;margin-top:6px}
.home-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-skeleton{display:grid;gap:14px;padding:18px 0}
.home-skeleton i{display:block;height:13px;background:var(--mist)}
.home-skeleton i:nth-of-type(2){width:87%}.home-skeleton i:nth-of-type(3){width:62%}
.home-skeleton-lead{border:1px solid var(--line);padding:0 0 20px;min-height:350px}
.home-skeleton-lead i:first-of-type{aspect-ratio:16/8.1;height:auto;width:100%}
.home-skeleton-lead i:not(:first-of-type){margin:0 20px}
.home-skeleton-topics{gap:24px;min-height:245px}
.home-skeleton-topics i{height:45px}
.home-skeleton-updates{grid-column:1/-1;min-height:130px}
#home-dashboard :is(button,[role=button]):focus-visible{outline:2px solid var(--sea);outline-offset:3px}

@media(max-width:650px){#home-dashboard .home-text-link{min-height:44px}}
@media(prefers-reduced-motion:no-preference){html:not(.data-saver) .home-skeleton i{animation:home-skeleton-pulse 1.6s ease-in-out infinite}@keyframes home-skeleton-pulse{50%{opacity:.5}}}
@media(min-width:1500px){.home-grid{grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr)}.home-lead-story{display:grid;grid-template-columns:1.05fr 1fr}.home-lead-story>.home-image{height:100%!important;max-height:none!important;aspect-ratio:auto!important;min-height:340px!important}.home-lead-copy{display:flex;flex-direction:column;padding:24px}.home-lead-copy h4{font-size:28px;-webkit-line-clamp:5}.home-lead-copy>p{-webkit-line-clamp:3}.home-story-source{margin-top:auto;padding-top:18px}.home-lead-copy>p{margin-bottom:22px}}
@media(max-width:1099px){#news-view.is-home:not([hidden]){display:block}.home-grid{grid-template-columns:minmax(0,1fr)}.home-community-section{grid-row:auto}.home-lead-story{display:grid;grid-template-columns:.9fr 1.1fr}.home-lead-story>.home-image{height:100%!important;max-height:none!important;min-height:260px!important;aspect-ratio:auto!important}.home-lead-copy h4{font-size:25px}.home-community-section #home-discussions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-topic{min-height:145px}.home-topic-rank{display:none}.home-topic-copy>strong{font-size:13px}.home-community-section .home-compose{width:auto;min-width:155px;margin-left:auto}.home-no-news #home-discussions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#news-view.is-home:not([hidden]){padding:18px}.home-grid{gap:24px}.home-lead-story{display:block}.home-lead-story>.home-image{height:auto!important;min-height:0!important;aspect-ratio:16/8!important}.home-lead-copy{padding:16px}.home-lead-copy h4{font-size:24px}.home-community-section #home-discussions{display:block}.home-topic{min-height:0;padding:15px 0}.home-topic-rank{display:block}.home-topic-copy>strong{font-size:14px}.home-community-section .home-compose{width:100%;margin-top:14px}.home-section-head h3{font-size:14px}#home-updates{grid-template-columns:1fr}.home-update{grid-template-columns:110px minmax(0,1fr);gap:14px}.home-update h4{font-size:18px;-webkit-line-clamp:3}}
@media(max-width:650px){#news-view.is-home:not([hidden]){padding:14px 14px 28px}.home-section-head{min-height:24px;margin-bottom:10px}.home-lead-copy{padding:14px}.home-lead-copy h4{font-size:21px;line-height:1.25;margin:8px 0 9px}.home-lead-copy>p{font-size:13px;line-height:1.5}.home-story-source{margin-top:14px;padding-top:10px}.home-grid{gap:24px}.home-topic{gap:10px;padding:14px 0}.home-topic-copy>strong{font-size:14px;line-height:1.45;-webkit-line-clamp:2}.home-topic-meta{font-size:11px}.home-update{grid-template-columns:90px minmax(0,1fr);gap:12px;padding:14px 0}.home-update h4{font-size:17px;line-height:1.3;margin:7px 0}.home-update>div:last-child>span{font-size:10px}#home-dashboard .home-update>.home-image{margin-top:22px}.home-skeleton-lead{min-height:290px}}
/* On a phone the headline and community matter more than a large cover. */
@media(max-width:650px){
 #home-dashboard .home-lead-story{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:start;gap:12px;padding:12px}
 #home-dashboard .home-lead-story>.home-image{height:auto!important;min-height:0!important;max-height:none;aspect-ratio:4/3!important;margin:22px 0 0}
 .home-lead-copy{padding:0}
 .home-lead-copy h4{font-size:18px;line-height:1.3;letter-spacing:-.015em;-webkit-line-clamp:4;margin:7px 0 8px}
 .home-lead-copy>p{display:none}
 .home-story-source{margin-top:10px;padding-top:0;border-top:0;font-size:10px;gap:6px}
 #home-dashboard .home-story-source svg{width:15px;height:15px}
 .home-skeleton-lead{min-height:170px}
}
@media(max-width:360px){#home-dashboard .home-lead-story{grid-template-columns:72px minmax(0,1fr);gap:10px;padding:10px}.home-lead-copy h4{font-size:17px}.home-story-source{font-size:9px}}
/* News reuses the home cards, without reserving a community column. */
#home-dashboard .home-update>.home-image{margin-top:0}
#home-dashboard .home-update h4{margin-top:0}
#home-dashboard.home-news-only .home-grid{grid-template-columns:minmax(0,1fr)}
#home-dashboard.home-news-only #home-updates{display:block}
@media(min-width:651px){
 #home-dashboard.home-news-only .home-lead-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #home-dashboard.home-news-only .home-lead-story>.home-image{height:100%!important;max-height:none!important;min-height:260px!important;aspect-ratio:auto!important}
 #home-dashboard.home-news-only .home-lead-copy{display:flex;flex-direction:column}
 #home-dashboard.home-news-only .home-story-source{margin-top:auto}
}
