/* A compact single-row navigation, including narrow phones. */
.festive-nav{padding:0;max-width:none}
.festive-nav nav{display:flex;flex-wrap:nowrap;white-space:nowrap;justify-content:center;gap:clamp(14px,3vw,32px);width:100%;padding:0 12px;font-size:12px;line-height:1.2;overflow-x:auto;scrollbar-width:thin}
.festive-nav nav a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:8px 0}
.festive-nav nav a:focus-visible{outline:2px solid #f2d597;outline-offset:-2px;border-radius:3px}
.social-section{padding:40px 0 30px;margin:4px 0 30px;background:linear-gradient(130deg,#f2ecdf,#eef1e7);border-block:1px solid #dedacb;overflow:hidden}
.social-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.social-heading .eyebrow{font-size:10px;margin:0 0 10px}
.social-heading h2{font-size:clamp(26px,3.2vw,40px);line-height:1.14;margin:0;max-width:650px}
.social-heading h2 em{color:#58714f}
.social-intro{margin:12px 0 0;color:var(--muted);font-size:14px;line-height:1.65}
.social-controls{display:flex;gap:8px;flex-shrink:0}
.social-controls button{min-width:44px;height:44px;border:1px solid #879b80;border-radius:50%;background:#fffcf5;color:#2c4033;font:inherit;font-size:20px;cursor:pointer}
.social-controls .social-pause{font-size:12px;min-width:84px;border-radius:24px;padding:0 14px}
.social-controls button:hover{background:#405e4b;color:#fff9e9}
.social-controls button:focus-visible,.social-card a:focus-visible,.social-rail:focus-visible{outline:3px solid #8c672b;outline-offset:3px}
.social-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 60px)/4);gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#9cae91 transparent;padding:4px 0 18px}
.social-card{min-width:0;scroll-snap-align:start;border:1px solid #dedacb;border-radius:16px;background:#fffcf5;overflow:hidden}
.social-card>a{display:block;height:100%;color:inherit;text-decoration:none}
.social-photo{position:relative;aspect-ratio:4/5;background:#ece3d3;overflow:hidden}
.social-photo img{display:block;width:100%;height:100%;object-fit:contain;background:#1e251d;transition:transform .25s}
.social-card a:hover .social-photo img{transform:scale(1.025)}
.social-format{position:absolute;left:10px;top:10px;border-radius:20px;padding:6px 10px;background:#fffcf5ec;color:#2c4033;font-size:10px;font-weight:700}
.social-open{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fffcf5ed;color:#2c4033;font-size:20px}
.social-copy{padding:15px 15px 18px}
.social-copy p{font-size:10px;color:var(--muted);margin:0 0 8px;line-height:1.6}
.social-copy h3{font-size:18px;line-height:1.25;letter-spacing:-.025em;margin:0 0 14px;min-height:2.5em}
.social-link{font-size:11px;font-weight:700;color:#405e4b}
.social-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:11px;line-height:1.7;margin-top:8px}
.social-foot p{margin:0}.social-foot a{text-underline-offset:3px;text-decoration:underline}.social-foot>span{white-space:nowrap}
@media(max-width:900px){.social-rail{grid-auto-columns:calc((100% - 40px)/3)}.social-heading{align-items:start}.social-controls{align-self:end}}
@media(max-width:680px){.festive-nav nav{gap:clamp(8px,2.7vw,17px);font-size:11px;padding:0 8px}.festive-nav nav a{padding:8px 0}.social-section{padding:28px 0 22px}.social-heading{display:block;margin-bottom:18px}.social-heading h2{font-size:29px}.social-intro{font-size:13px}.social-controls{margin-top:18px;justify-content:flex-end}.social-rail{grid-auto-columns:72%;gap:14px}.social-foot{display:block}.social-foot>span{display:block;margin-top:6px}.social-copy h3{font-size:20px}}
@media(max-width:350px){.festive-nav nav{font-size:10px;gap:9px}}
@media(prefers-reduced-motion:reduce){.social-photo img{transition:none}.social-card a:hover .social-photo img{transform:none}}
@media print{.social-section{display:none}}

/* A single introductory sentence, then the sites' logos. */
.portal-intro{padding:22px 0 24px;text-align:center}
.portal-intro h1{font-size:clamp(17px,2vw,23px);line-height:1.6;font-weight:500;letter-spacing:0;max-width:820px;margin:0 auto 20px}
.portal-logos{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;max-width:880px;margin:auto}
.portal-logos a{display:flex;justify-content:center;align-items:center;padding:4px;border-radius:14px;min-width:0}
.portal-logos img{display:block;width:100%;max-width:70px;height:auto;aspect-ratio:1;object-fit:contain}
.portal-logos a:hover{background:#f1ecdf}
.portal-logos a:focus-visible{outline:3px solid #8c672b;outline-offset:2px}
.social-card{display:flex;flex-direction:column}
.social-card>a:not(.social-source-logo){height:auto;flex:1}
.social-card>.social-source-logo{display:flex;justify-content:center;align-items:center;height:100px;padding:10px;background:#fffcf5;border-bottom:1px solid #eadcc5}
.social-source-logo img{display:block;width:80px;height:80px;object-fit:contain;border-radius:50%}
.social-rail.is-marquee{scroll-snap-type:none;scroll-behavior:auto}
@media(max-width:680px){.portal-intro{padding:18px 0}.portal-intro h1{font-size:17px;margin-bottom:16px}.portal-logos{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px 8px;max-width:400px}.portal-logos img{max-width:52px}.social-card>.social-source-logo{height:90px}.social-source-logo img{width:70px;height:70px}}

/* Keep forthcoming editions visible without offering an inactive destination. */
a[aria-disabled="true"]{cursor:default;text-decoration:none}
.portal-logos a[aria-disabled="true"]{position:relative;background:transparent}
.portal-logos a[aria-disabled="true"] img{opacity:.45;filter:grayscale(.6)}
.construction-badge{position:absolute;bottom:0;left:0;right:0;padding:3px 1px;border-radius:4px;background:#f2ecdf;color:#514638;font-size:9px;font-weight:700;line-height:1.15;text-align:center;white-space:normal}
.universe-art[aria-disabled="true"]{position:relative}
.universe-art .construction-badge{left:auto;right:12px;bottom:12px;padding:6px 10px;font-size:12px}
.network-footer a[aria-disabled="true"]{opacity:.55}
