/* Shared magazine design; the palette and typography are defined per edition. */
:root{--ink:#18201f;--muted:#4b5552;--paper:#fcfbf7;--rule:#d7dbd4;--wide:1340px;--gutter:clamp(16px,4.2vw,75px);--sans:Arial,Helvetica,sans-serif;--serif:Georgia,'Times New Roman',serif}
body.ed{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);line-height:1.5}
.ed *, .ed *::before,.ed *::after{box-sizing:border-box}
.ed :is(h1,h2,h3,p,figure){margin:0}.ed [hidden]{display:none!important}
.ed a{color:inherit}.ed :focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.wrap{width:min(calc(100% - 2 * var(--gutter)),var(--wide));margin-inline:auto}
.ed .skip{position:absolute;z-index:90;top:8px;inset-inline-start:10px;transform:translateY(-175%);background:white;color:#151515;padding:10px}.ed .skip:focus{transform:none}
.mast{position:relative;z-index:5;background:var(--paper);border-block-start:4px solid var(--accent);border-bottom:1px solid var(--rule)}
.mast-in{display:flex;align-items:center;gap:clamp(12px,2.2vw,35px);min-height:76px}
.wordmark{display:flex;align-items:center;gap:11px;font-family:var(--sans);text-decoration:none!important;color:var(--ink)!important;line-height:1.02;margin-inline-end:auto;white-space:nowrap}
.wordmark img{width:40px;height:40px;object-fit:contain}.wordmark strong{display:block;letter-spacing:-1.3px;font-size:25px;font-weight:800}.wordmark b{color:var(--accent);font-weight:650}
.mast-nav{display:flex;gap:clamp(10px,1.8vw,30px);align-items:center}.mast-nav a{font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}.mast-nav a:hover,.section-nav a:hover,.source:hover{text-decoration:underline;text-underline-offset:4px}
.options{display:flex;gap:8px;align-items:center}.picker{position:relative}.picker summary,.network-menu>summary{display:flex;align-items:center;gap:7px;border:1px solid #c9cec8;background:var(--paper);border-radius:50px;padding:7px 13px;list-style:none;cursor:pointer;font-weight:650;font-size:12px;white-space:nowrap;min-height:35px}
.ed summary::-webkit-details-marker{display:none}.picker summary::after,.network-menu>summary::after{content:'';width:6px;height:6px;border-inline-end:1.7px solid currentColor;border-block-end:1.7px solid currentColor;transform:rotate(45deg);margin-block-start:-3px}.picker[open] summary::after,.network-menu[open]>summary::after{transform:rotate(225deg);margin-block-start:3px}
.choice{position:absolute;z-index:15;inset-inline-end:0;top:calc(100% + 7px);background:var(--paper);color:var(--ink);border:1px solid var(--rule);border-radius:10px;padding:5px;min-width:152px;box-shadow:0 10px 28px #16201620}.choice a{display:flex;align-items:center;gap:9px;text-decoration:none!important;padding:8px 10px;font-size:.83rem}.choice a:is(:hover,[aria-current]){background:var(--tint);border-radius:5px}.swatch{width:9px;height:9px;background:var(--swatch);border-radius:50%}
.network-menu{position:static}.network-menu>summary{border-color:transparent;padding-inline:4px}.network-pane{position:absolute;z-index:10;width:min(100%,1500px);inset-inline:0;top:100%;margin:auto;background:#fff;padding:.5rem 0;border:1px solid var(--rule);box-shadow:0 10px 30px #16201621;max-height:75vh;overflow:auto}
.ed .network-pane [class*="navigationShell"]{position:static}.network-pane [class*="languageMenu"],.network-pane [data-motion-control]{display:none}
.intro{--hero-ink:white;position:relative;background:var(--dark);color:var(--hero-ink);overflow:hidden}
.hero-in{display:grid;grid-template-columns:45% 55%;max-width:1680px;margin:auto;min-height:386px}
.hero-copy{align-self:center;position:relative;padding:clamp(30px,4vw,64px) clamp(24px,3.2vw,65px) clamp(32px,4.3vw,72px) max(var(--gutter),calc((100vw - var(--wide))/2));z-index:1}
[dir=rtl] .hero-copy{padding-inline:max(var(--gutter),calc((100vw - var(--wide))/2)) clamp(24px,3.2vw,65px)}
.edition-label{display:flex;gap:10px;align-items:center;color:var(--light);font:750 clamp(14px,1.4vw,23px)/1.2 var(--sans);letter-spacing:-.015em}
.edition-label::before{content:'';width:22px;height:4px;border-radius:3px;background:var(--light)}.hero-copy h1{font:500 clamp(38px,4.6vw,74px)/1.015 var(--display,var(--serif));letter-spacing:-.055em;margin:20px 0 15px;text-wrap:balance;overflow-wrap:break-word;color:white}
.hero-copy p{font:400 clamp(14px,1.1vw,18px)/1.55 var(--sans);max-width:47ch;color:#f6f2ed}
.hero-jump{display:inline-flex;align-items:center;gap:14px;color:white!important;text-decoration:none!important;border-bottom:1px solid var(--light);margin-top:22px;padding:3px 0;font-weight:650;font-size:13px}
.hero-photo{position:relative;isolation:isolate;min-height:386px;background:var(--dark);overflow:hidden}.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--focus,50% 48%)}.hero-photo figcaption{position:absolute;inset-inline-end:12px;bottom:9px;font:500 10px/1.2 var(--sans);padding:3px 6px;background:#14211bba;color:#fff;border-radius:3px}
.ed .address{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid var(--rule);font-size:12px;color:var(--muted)}.ed .address a{color:var(--accent);font-weight:700;text-decoration:underline;text-underline-offset:3px}.ed .address [data-portal-address-strip]{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:transparent;padding:0;color:inherit;font:inherit;justify-content:flex-start}.ed .address time{white-space:nowrap}
.section-nav{display:none;gap:9px 22px;flex-wrap:wrap;border-block-end:1px solid var(--rule);padding:10px 0}.section-nav a{font-weight:650;font-size:12px;text-decoration:none}
.desk{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(22px,4vw,64px);padding:clamp(30px,4vw,56px) 0}.ed .section-head{display:flex;align-items:center;gap:12px;margin:0 0 20px;color:var(--accent);font:750 14px/1.3 var(--sans);letter-spacing:.035em;text-transform:uppercase}
.section-head::after{content:'';height:1px;flex:1;background:var(--rule)}.ed .story h3{font:500 clamp(22px,2.1vw,35px)/1.11 var(--display,var(--serif));letter-spacing:-.035em;text-wrap:pretty}.story p{font:400 clamp(14px,1.05vw,17px)/1.58 var(--sans);margin:10px 0 13px;color:var(--muted);max-width:67ch}.ed .source{font:700 12px/1.5 var(--sans);display:inline-flex;align-items:center;gap:7px;color:var(--accent);text-decoration:none;min-height:26px}.ed .source i{font:normal 14px var(--sans)}.story+.story{border-block-start:1px solid var(--rule);padding-block-start:18px;margin-block-start:18px}.story+.story h3{font-size:clamp(19px,1.45vw,25px)}
.events{align-self:start;padding:clamp(18px,2.6vw,36px);border:1px solid var(--tint-line);background:var(--tint);border-radius:var(--round,5px);border-block-start:4px solid var(--accent)}.dates{display:inline-flex;align-items:center;gap:5px;margin-bottom:10px;color:var(--accent);font:700 12px/1.3 var(--sans)}
.events .section-head{margin-bottom:18px}.events .section-head::after{background:var(--tint-line)}.events details{font-size:14px}.events details summary{cursor:pointer;font-weight:bold;color:var(--accent)}
.people{background:var(--tint);border-block:1px solid var(--tint-line);padding:clamp(28px,3.6vw,58px) 0}.people .wrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(22px,4vw,70px)}.people .section-head{color:var(--accent)}.people .section-head::after{background:var(--tint-line)}.people .story h3{font-size:clamp(25px,2.6vw,43px)}.people .story+.story h3{font-size:clamp(19px,1.5vw,24px)}
.network-end{margin-block:22px 28px}.network-end>summary{font-size:16px;font-weight:700;cursor:pointer;padding-block:8px;color:var(--ink)}
.lang-ar .hero-copy h1,.lang-zh .hero-copy h1,.lang-ar .story h3,.lang-zh .story h3{letter-spacing:0;line-height:1.2}.ed :is(nav,section)[id]{scroll-margin:22px}
@media(min-width:1680px){.hero-copy{padding-inline-start:calc((1680px - 1340px)/2)}}
@media(max-width:1120px){.mast-nav{display:none}.section-nav{display:flex}.hero-in{min-height:335px}.hero-photo{min-height:335px}.mast-in{min-height:65px}.hero-copy h1{font-size:clamp(34px,4.5vw,52px)}}
@media(max-width:740px){.hero-in{grid-template-columns:1fr}.hero-copy{padding:23px var(--gutter) 25px}.hero-copy h1{font-size:clamp(32px,7.5vw,46px);margin:10px 0 10px}.hero-copy p{max-width:60ch}.hero-jump{display:none}.hero-photo{min-height:0;aspect-ratio:2.26}.hero-photo img{object-position:50% 45%}.desk,.people .wrap{grid-template-columns:1fr}.desk{padding:28px 0}.ed .address time{display:none}.mast-in{gap:8px;min-height:60px}.wordmark{gap:5px}.wordmark img{width:30px;height:30px}.wordmark strong{font-size:20px}.options{gap:5px}.picker summary,.network-menu>summary{font-size:11px;padding:6px 8px}.network-menu>summary{font-size:0;gap:0;height:33px;width:32px;justify-content:center}.network-menu>summary::before{content:'☰';font-size:18px;color:var(--ink)}.network-menu>summary::after{display:none}.ed .section-head{margin-bottom:12px}.ed .address{font-size:11px}.edition-label{font-size:13px}}
@media(max-width:420px){.wordmark strong{font-size:17px}.wordmark img{width:25px;height:25px}.network-menu>summary{width:24px}.mast-in{gap:5px}.options{gap:3px}.picker summary{padding:5px 7px}.wordmark b{display:block;font-size:13px;letter-spacing:-.4px}.section-nav{gap:5px 13px}.section-nav a{font-size:11px}.ed .address [data-portal-address-strip]{gap:4px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}@media(forced-colors:active){.intro,.hero-copy :is(h1,p){color:CanvasText}.source{text-decoration:underline!important}}
.ed .source i{font-size:0;width:11px;height:11px;display:inline-block;position:relative}.source i::before{content:'';position:absolute;top:1px;right:0;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor}.source i::after{content:'';position:absolute;top:5px;left:1px;width:10px;height:1.5px;background:currentColor;transform:rotate(-45deg)}
.ed .network-pane [data-site-page-controls] button[aria-controls="local-welcome-card"]{display:inline-block}

/* The junior green stays distinct from the fluorescent yellow-green of the Kids edition. */
.edition-kids{--paper:#fdfef8;--ink:#24320f;--rule:#d4dfb2}
.edition-kids .mast{border-block-start-color:var(--dark)}
.edition-kids .intro{background:linear-gradient(115deg,#e8fa85 0%,var(--dark) 58%,#c5e933 100%);color:#24320f}
.edition-kids .hero-copy h1{color:#24320f}
.edition-kids .hero-copy p,.edition-kids .hero-jump{color:#334714!important}
.edition-kids .events{border-block-start-color:#a8ca24}
.ed .choice .swatch{box-shadow:inset 0 0 0 1px #25330c26}

/* Muted rose and berry ink for the women's edition. */
.edition-women{--paper:#fcf9f8;--ink:#33282e;--rule:#e3d7da}
.edition-women .intro{background:linear-gradient(120deg,#efd6dc 0%,#e4bdc9 54%,#dcaebe 100%);color:#482539}
.edition-women .hero-copy h1{color:#492339}
.edition-women .hero-copy p{color:#4d3340}
.edition-women .hero-jump{color:#662e49!important;border-color:#99596f}
.edition-women .section-head,.edition-women .wordmark b{color:var(--accent)}

.ed .story-photo{margin:0 0 15px;min-width:0}
.story-photo .photo-frame{aspect-ratio:16/9;background:var(--tint);overflow:hidden;border-radius:var(--round,4px)}
.story-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--photo-focus,50% 40%)}
.story-photo.portrait .photo-frame{aspect-ratio:5/4;background:var(--tint)}
.story-photo.portrait img{object-fit:contain}
.ed .story-photo figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15em .65em;padding:6px 0 0;font:400 11px/1.35 var(--sans);color:var(--muted)}
.story-photo .photo-credit{font-size:11px}
.story-photo .photo-credit a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.story-copy{min-width:0}
.ed .events .story-photo.landscape .photo-frame{aspect-ratio:var(--photo-ratio)}
.ed .events .story-photo.portrait .photo-frame{aspect-ratio:16/9}
.ed .people .story.with-photo{display:grid;grid-template-columns:minmax(100px,36%) minmax(0,1fr);align-items:start;gap:clamp(12px,1.5vw,24px)}
.ed .people .story-photo{margin-bottom:0}
.ed .people .photo-frame{aspect-ratio:1/1;background:color-mix(in srgb,var(--tint),white 48%)}
.ed .people .story-photo.portrait .photo-frame{aspect-ratio:4/5}
.ed .people .story-photo.landscape .photo-frame{aspect-ratio:var(--photo-ratio)}
.ed .people .story+.story{margin-block-start:23px;padding-block-start:23px}
@media(min-width:900px){.ed .news .story+.with-photo{display:grid;grid-template-columns:30% minmax(0,1fr);gap:18px;align-items:start}.ed .news .story+.with-photo .photo-frame{aspect-ratio:4/3}}
@media(max-width:420px){.ed .people .story.with-photo{grid-template-columns:minmax(95px,33%) minmax(0,1fr);gap:10px}.ed .people .story h3{font-size:23px}.ed .story-photo figcaption{font-size:11px}.ed .people .photo-credit{overflow-wrap:anywhere}}

@media(max-width:520px){.ed .people .story.with-photo{display:block}.ed .people .story-photo{margin-bottom:12px}.ed .people .story-photo.portrait .photo-frame{aspect-ratio:3/2}.ed .people .story-photo.landscape .photo-frame{max-height:270px}.ed .people .story-photo.landscape img{object-fit:contain}}
