/* Header: charcoal bar, white drop-down panels with a green top edge, and a full-screen phone menu. Wide-screen menu from 1081px. */

.topbar { background: var(--green); color: var(--charcoal); }
.topbar-in { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter); font-size: 14px; font-weight: 600; text-align: center; }
.topbar a { color: var(--charcoal); font-weight: 800; }

.masthead { position: relative; z-index: 50; background: var(--charcoal); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hd-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hd-logo { display: flex; align-items: center; flex-shrink: 0; margin-left: -8px; }
.hd-logo-img { height: 60px; width: auto; }
.hd-nav { display: flex; align-items: center; }
.hd-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.hd-item { position: static; }
.hd-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r); background: transparent; color: #E6E6E6; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; background-image: linear-gradient(var(--green), var(--green)); background-repeat: no-repeat; background-position: 50% calc(100% - 6px); background-size: 0% 2px; }
.hd-top[aria-expanded="true"] { color: var(--white); background-color: rgba(255, 255, 255, .07); background-size: 56% 2px; }
@media (hover: hover) { .hd-top:hover { color: var(--white); background-color: rgba(255, 255, 255, .07); background-size: 56% 2px; } }
.hd-top svg { transition: rotate .25s var(--ease); }
.hd-top[aria-expanded="true"] svg { rotate: 180deg; }
.hd-item.is-cur > .hd-top { color: var(--white); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.hd-act { display: flex; align-items: center; gap: 12px; }
.hd-cta { min-height: 48px; padding: 0 22px; font-size: 15px; }
.hd-burger { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: var(--r); color: var(--white); }
@media (hover: hover) { .hd-burger:hover { color: var(--white); border-color: var(--white); } }
.hd-scrim { position: fixed; inset: 88px 0 0 0; z-index: -1; background: rgba(0, 0, 0, .35); }

/* Drop-down panels. */
.mega { position: absolute; top: 88px; left: 0; right: 0; background: var(--white); color: var(--ink); border-top: 3px solid var(--green); box-shadow: 0 24px 48px rgba(0, 0, 0, .18); }
.mega-in { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 44px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 48px; }
.mega-intro { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mega-h { font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.mega-t { font-size: 15px; line-height: 1.6; color: var(--body); max-width: 360px; }
.mega-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.mega-lk { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--r); color: var(--ink); text-decoration: none; }
@media (hover: hover) { .mega-lk:hover, .mega-link:hover { background: var(--surface); color: var(--ink); } }
.mega-lk-n { font-size: 16px; font-weight: 700; }
.mega-lk-d { font-size: 14px; color: var(--muted); }
.mega-col { display: flex; flex-direction: column; gap: 6px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col-h { margin: 0 0 8px 16px; font-size: 12px; }
.mega-link { display: flex; gap: 14px; align-items: baseline; padding: 9px 16px; border-radius: var(--r); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.mega-link.has-num { padding-top: 11px; padding-bottom: 11px; font-size: 16px; }
.mega-num { font-size: 13px; font-weight: 700; color: var(--green-text); }
.mega-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); align-self: start; }
.mega-card.is-dark { background: var(--charcoal); color: var(--white); }
.mega-card-img { width: 100%; height: 160px; object-fit: cover; }
.mega-card-in { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.mega-card-h { font-weight: 800; font-size: 18px; line-height: 1.25; margin-bottom: 6px; }
.mega-card-more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--green); font-weight: 700; text-decoration: none; }
.mega-card-link { display: inline-flex; min-height: 36px; align-items: center; color: var(--white); font-size: 15px; font-weight: 600; text-underline-offset: 4px; }
@media (hover: hover) { .mega-card-more:hover, .mega-card-link:hover { color: var(--white); } }
.mega-card-note { padding: 16px 18px; font-size: 14px; line-height: 1.6; color: var(--body); }
.mega-card-note strong { color: var(--ink); }
.mega-edition { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--r); background: var(--charcoal); color: var(--white); text-decoration: none; align-self: start; }
@media (hover: hover) { .mega-edition:hover { color: var(--white); background: #000; } }
.mega-edition .eyebrow { color: var(--green); }
.mega-edition-num { font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--green); }
.mega-edition-t { display: flex; flex-direction: column; gap: 8px; }
.mega-edition-n { font-weight: 800; font-size: 18px; line-height: 1.3; }
.mega-x { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.mega:not([hidden]) { animation: peiDrop .3s var(--ease) both; }
	.mega:not([hidden]) :is(.mega-lk, .mega-link) { animation: peiSlide .45s var(--ease) both; }
	.mega:not([hidden]) li:nth-child(2) > :is(.mega-lk, .mega-link) { animation-delay: .04s; }
	.mega:not([hidden]) li:nth-child(3) > :is(.mega-lk, .mega-link) { animation-delay: .08s; }
	.mega:not([hidden]) li:nth-child(4) > :is(.mega-lk, .mega-link) { animation-delay: .12s; }
	.mega:not([hidden]) li:nth-child(5) > :is(.mega-lk, .mega-link) { animation-delay: .16s; }
	.mega:not([hidden]) li:nth-child(n+6) > :is(.mega-lk, .mega-link) { animation-delay: .2s; }
	.hd-top { transition: background-size .35s var(--ease), background-color .2s ease, color .2s ease; }
	.mega-lk, .mega-link { transition: background-color .2s ease, transform .3s var(--ease); }
	@media (hover: hover) { .mega-lk:hover, .mega-link:hover { transform: translateX(4px); } }
}

/* Phone menu: a full-screen dialog. */
.mm { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--charcoal); color: var(--white); }
.mm::backdrop { background: rgba(0, 0, 0, .5); }
.mm[open] { display: block; }
.mm-panel { min-height: 100%; display: flex; flex-direction: column; }
.mm-head { display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 var(--gutter); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mm-logo img { height: 52px; width: auto; margin-left: -6px; }
.mm-x { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: var(--r); color: var(--white); }
@media (hover: hover) { .mm-x:hover { color: var(--white); border-color: var(--white); } }
.mm-nav { flex: 1; padding: 8px var(--gutter) 0; }
.mm-list { list-style: none; margin: 0; padding: 0; }
.mm-sec { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mm-top { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0; border: 0; background: transparent; color: #E6E6E6; font-size: 19px; font-weight: 700; text-decoration: none; cursor: pointer; text-align: left; }
@media (hover: hover) { .mm-top:hover { color: var(--white); } }
.mm-sec.is-cur > .mm-top { color: var(--white); }
.mm-top svg { flex: none; color: var(--green); transition: rotate .25s var(--ease); }
.mm-top[aria-expanded="true"] svg { rotate: 180deg; }
.mm-sub ul { list-style: none; margin: 0 0 16px; padding: 0 0 0 16px; border-left: 2px solid var(--green); display: grid; gap: 2px; }
.mm-row { display: flex; align-items: center; gap: 8px; min-height: 44px; color: #E6E6E6; font-size: 16px; font-weight: 600; text-decoration: none; }
@media (hover: hover) { .mm-row:hover { color: var(--white); } }
.mm-row--main { color: var(--green); font-weight: 700; }
@media (hover: hover) { .mm-row--main:hover { color: var(--green-hi); } }
.mm-row[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.mm-foot { padding: 20px var(--gutter) 28px; }
html.mm-lock { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
	.mm[open] .mm-panel { animation: peiDrop .3s var(--ease) both; }
	.mm-sub:not([hidden]) li { animation: peiSlide .4s var(--ease) both; }
	.mm-sub:not([hidden]) li:nth-child(2) { animation-delay: .03s; }
	.mm-sub:not([hidden]) li:nth-child(3) { animation-delay: .06s; }
	.mm-sub:not([hidden]) li:nth-child(4) { animation-delay: .09s; }
	.mm-sub:not([hidden]) li:nth-child(n+5) { animation-delay: .12s; }
}

@media (max-width: 1080px) {
	.hd-nav, .hd-cta { display: none; }
	.hd-burger { display: inline-flex; }
	.hd-logo-img { height: 52px; }
}
@media (min-width: 1081px) {
	.mm { display: none !important; }
}
