/* Gayety Design 2026. Loaded only on pages that use the new templates. */
:root {
	--gd-green: #1B8452;
	--gd-green-lt: #3DBE7E;
	--gd-black: #000;
	--gd-ink: #1A1A1A;
	--gd-gray: #595959;
	--gd-rule: #E2E0DA;
	--gd-chip: #C9C5BC;
	--gd-band: #F1F0EC;
	--gd-card: #F6F5F1;
	--gd-serif: Fraunces, Georgia, "Times New Roman", serif;
	--gd-sans: Montserrat, Arial, Helvetica, sans-serif;
	--gd-top: 0px; /* admin bar offset, set by gd.js */
	--gd-pad: 20px;
}
@media (min-width: 768px) { :root { --gd-pad: 0px; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

body.gd-chrome, body.gd-article { font-family: var(--gd-sans); color: var(--gd-ink); background: #fff; }
/* Story pages load the theme's stylesheets in the background. These three rules keep the first screen exactly as it looks once they arrive (no shift): the theme's base text size, its unused mobile menu and search panels kept hidden, and the video caption's sizing. */
body.gd-chrome { font-size: 14px; line-height: 21px; }
.gd-chrome #td-mobile-nav, .gd-chrome .td-menu-background, .gd-chrome .td-search-background, .gd-chrome .td-search-wrap-mob { display: none !important; }
/* The theme's outer wrapper hides overflow, which stops sidebar ads from staying in view (position: sticky). Clip sideways only. */
.gd-chrome #td-outer-wrap, .gd-article #td-outer-wrap { overflow-x: clip !important; overflow-y: visible !important; }
.gd-chrome .sidebar-video-caption { box-sizing: border-box; }
.gd-chrome :focus-visible, .gd-article :focus-visible { outline: 3px solid var(--gd-green); outline-offset: 2px; }
.gd-chrome .gd-foot :focus-visible, .gd-chrome .gd-hdr__bar :focus-visible { outline-color: var(--gd-green-lt); }

/* ---------- Buttons, chips, inputs ---------- */
/* Buttons and email fields are rounded rectangles (8 px corners), not pills (Levi, Nov 16). Chips and round icon buttons stay round. */
.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 8px; border: 0; font: 700 15px/1 var(--gd-sans); text-decoration: none !important; cursor: pointer; white-space: nowrap; box-sizing: border-box; }
.gd-btn svg { flex-shrink: 0; }
.gd-btn--green { background: var(--gd-green); color: #fff !important; }
.gd-btn--green:hover { background: #156B42; }
.gd-btn--black { background: #000; color: #fff !important; }
.gd-btn--black:hover { background: #2B2B2B; }
.gd-btn--outline { background: #fff; color: var(--gd-ink) !important; border: 2px solid var(--gd-ink); font-size: 14px; }
.gd-btn--outline:hover { background: var(--gd-ink); color: #fff !important; }
.gd-btn--wide { width: 100%; height: 48px; border-radius: 8px; }
.gd-iconbtn { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 22px; }
.gd-iconbtn--dark { color: var(--gd-ink); }
.gd-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.gd-chip { flex-shrink: 0; display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--gd-chip); box-sizing: border-box; color: var(--gd-ink) !important; font: 600 14px/1 var(--gd-sans); text-decoration: none !important; white-space: nowrap; }
.gd-chip:hover { border-color: var(--gd-ink); }
.gd-chip--tag { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.gd-input { flex: 1 1 auto; min-width: 0; height: 48px; border: 2px solid var(--gd-ink); border-radius: 8px; box-sizing: border-box; padding: 0 16px; font: 400 16px var(--gd-sans); color: var(--gd-ink); background: #fff; }
.gd-input::placeholder { color: #767676; }
.gd-label { display: inline-block; font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green) !important; text-decoration: none !important; }

/* ---------- Header ---------- */
.gd-chrome .td-header-template-wrap { position: relative; z-index: 1000; }
.gd-chrome .td-header-desktop-wrap { display: block !important; }
.gd-chrome .td-header-mobile-wrap { display: none !important; }
.gd-chrome .td-header-desktop-sticky-wrap, .gd-chrome .td-header-mobile-sticky-wrap { display: none !important; }
.gd-chrome .td-header-template-wrap .tdc-row, .gd-chrome .td-header-template-wrap .vc_row, .gd-chrome .td-header-template-wrap .vc_column, .gd-chrome .td-header-template-wrap .tdc-column, .gd-chrome .td-header-template-wrap .wpb_wrapper { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.gd-chrome .gd-billboard-row { display: none; }
@media (min-width: 768px) {
	.gd-chrome .gd-billboard-row { display: block; background: var(--gd-band); }
	.gd-chrome .gd-billboard-row .wpb_wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 282px; padding: 16px 0 !important; box-sizing: border-box; }
	/* The slot itself is also a .wpb_wrapper: without this it took the 16 px padding too, and the band grew 32 px when the ad arrived (CLS 0.07 on desktop) */
	.gd-chrome .gd-billboard-row .gd-billboard { min-height: 0; padding: 0 !important; }
}
.gd-hdr { min-height: 56px; position: relative; }
.gd-hdr__bar { height: 56px; background: #000; color: #fff; position: relative; z-index: 3; transition: transform .2s ease; }
.gd-hdr--fixed .gd-hdr__bar { position: fixed; top: var(--gd-top); left: 0; right: 0; }
.gd-hdr--hidden .gd-hdr__bar { transform: translateY(-120%); }
.gd-hdr__in { height: 100%; max-width: 1124px; margin: 0 auto; padding: 0 8px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; }
.gd-hdr__logo { display: flex; align-items: center; height: 44px; }
.gd-hdr__h1 { margin: 0; font-size: 0; line-height: 0; }
.gd-logo { display: block; width: 87px; height: 32px; }
.gd-nav { display: none; }
.gd-hdr__actions { display: flex; align-items: center; gap: 4px; }
.gd-hdr__social { display: none; }
.gd-hdr__sub { height: 44px; padding: 0 16px; font-size: 14px; }
@media (min-width: 1140px) {
	.gd-hdr__in { padding: 0; }
	.gd-logo { width: 98px; height: 36px; }
	.gd-nav { display: block; flex: 1 1 auto; }
	.gd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
	.gd-nav__item { position: relative; display: flex; align-items: center; margin: 0; }
	.gd-nav__link { color: #fff !important; font: 700 15px/44px var(--gd-sans); padding: 0 4px 0 10px; text-decoration: none !important; }
	.gd-nav__link:hover { color: var(--gd-green-lt) !important; }
	.gd-nav__toggle { width: 24px; height: 44px; border: 0; background: none; color: #fff; padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
	.gd-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.gd-nav__sub { position: absolute; top: 100%; left: 0; min-width: 200px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
	.gd-nav__sub[hidden] { display: none; }
	.gd-nav__sub a { display: block; padding: 10px 16px; color: var(--gd-ink) !important; font: 600 15px/24px var(--gd-sans); text-decoration: none !important; }
	.gd-nav__sub a:hover { background: var(--gd-card); color: var(--gd-green) !important; }
	.gd-hdr__social { display: flex; align-items: center; gap: 2px; padding-right: 10px; margin-right: 2px; border-right: 1px solid #3A3A3A; }
	.gd-hdr__social .gd-soc { width: 32px; height: 36px; color: #fff; --gd-cut: #000; }
	.gd-hdr__social .gd-soc svg { width: 17px; height: 17px; }
	.gd-hdr__menu { display: none; }
}
.gd-soc { display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.gd-soc--ring { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #C9C5BC; box-sizing: border-box; color: var(--gd-ink); --gd-cut: #fff; }

/* Search panel */
.gd-searchpanel { position: absolute; left: 0; right: 0; top: 56px; background: #fff; border-bottom: 1px solid var(--gd-rule); box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 2; }
.gd-hdr--fixed .gd-searchpanel { position: fixed; top: calc(56px + var(--gd-top)); }
.gd-searchpanel .gd-hdr__in { padding: 16px 20px; height: auto; }
.gd-searchform { display: flex; gap: 8px; width: 100%; margin: 0; }

/* Phone menu */
/* Full screen down to the bottom edge (Nov 15): the story no longer shows under it. The page behind stays locked (gd-noscroll). */
.gd-menu { position: fixed; left: 0; right: 0; top: var(--gd-menu-top, calc(56px + var(--gd-top))); bottom: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; z-index: 2; border-top: 1px solid var(--gd-rule); }
.gd-menu[hidden] { display: none; }
/* The bottom sticky ad stays on top of the menu, so the menu's last lines can scroll clear of it. */
.gd-menu__in { padding: 16px 20px calc(32px + var(--gd-anchor-h, 0px)); display: flex; flex-direction: column; gap: 20px; }
.gd-menu__secs { list-style: none; margin: 0; padding: 0; }
.gd-menu__sec { border-bottom: 1px solid var(--gd-rule); margin: 0; }
.gd-menu__row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.gd-menu__row a { flex: 1 1 auto; color: #000 !important; font: 700 18px/52px var(--gd-sans); text-decoration: none !important; }
.gd-menu__toggle { width: 44px; height: 44px; border: 0; background: none; color: var(--gd-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gd-menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.gd-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 16px; }
.gd-chips[hidden] { display: none; }
.gd-menu__social { display: grid; grid-template-columns: repeat(5, 44px); justify-content: space-between; row-gap: 12px; }

/* Follow Gayety box: beside News on the homepage and in the phone menu. Black like The Weekly, green label. (Levi, Nov 16) */
.gd-h-follow { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 24px; border-radius: 16px; background: #000; color: #fff; box-sizing: border-box; }
.gd-h-follow__k { font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green-lt); }
.gd-chrome .gd-h-follow__h { margin: 0 !important; padding: 0 !important; font: 700 24px/30px var(--gd-serif) !important; letter-spacing: 0 !important; color: #fff !important; white-space: nowrap; }
.gd-h-follow .gd-menu__social { margin-top: 6px; }
.gd-h-follow .gd-soc--ring { border-color: #4A4A4A; color: #fff; --gd-cut: #000; transition: background .15s ease, border-color .15s ease; }
.gd-h-follow .gd-soc--ring:hover { background: var(--gd-green); border-color: var(--gd-green); color: #fff; --gd-cut: var(--gd-green); }
@media (max-width: 374px) { .gd-chrome .gd-h-follow__h { font-size: 21px !important; line-height: 28px !important; } }

/* The phone menu's three boxes (Follow Gayety, The Weekly, Gayety on Substack) match the homepage boxes and share one height:
   label, a one-line heading, then the action along the bottom. (Levi, Nov 16) */
.gd-menu__boxes { display: grid; grid-auto-rows: 1fr; gap: 16px; }
.gd-chrome .gd-menu__boxes > .gd-h-follow, .gd-chrome .gd-menu__boxes > .gd-weekly, .gd-chrome .gd-menu__boxes > .gd-getmore { margin: 0 !important; height: 100%; padding: 20px !important; border-radius: 16px; box-sizing: border-box; display: flex; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; gap: 8px; }
.gd-chrome .gd-menu__boxes > .gd-getmore { gap: 16px; }
.gd-menu__boxes .gd-weekly__main { flex: 1 1 auto; min-height: 0; justify-content: flex-start; gap: 8px; }
.gd-menu__boxes .gd-weekly__more { display: none !important; }
.gd-chrome .gd-menu__boxes .gd-weekly .gd-form, .gd-chrome .gd-menu__boxes .gd-h-follow .gd-menu__social { margin-top: auto; padding-top: 8px; }
.gd-chrome .gd-menu__boxes .gd-getmore__btn { margin-top: auto; width: 100% !important; padding: 0 20px; justify-content: center; }
.gd-chrome .gd-menu__boxes .gd-getmore__p { font-size: 15px !important; line-height: 22px !important; }
/* The Weekly's line under its heading, the same size as the Substack box's line (order in the menu: black, white, black) */
.gd-weekly__dek { font: 400 15px/22px var(--gd-sans); color: #D6D6D6; }
.gd-chrome .gd-menu__boxes .gd-weekly .gd-form { gap: 6px; }
.gd-chrome .gd-menu__boxes .gd-weekly__h, .gd-chrome .gd-menu__boxes .gd-getmore__h, .gd-chrome .gd-menu__boxes .gd-h-follow__h { font-size: min(22px, 5.6vw) !important; line-height: 28px !important; letter-spacing: -.01em !important; white-space: normal; }
/* The Weekly's email field and Subscribe button join into one white bar */
.gd-chrome .gd-menu__boxes .gd-weekly .gd-form__row { flex-direction: row; align-items: center; gap: 0; height: 52px; padding: 4px; background: #fff; border-radius: 8px; box-sizing: border-box; }
.gd-chrome .gd-menu__boxes .gd-weekly .gd-form__row:focus-within { outline: 2px solid var(--gd-green-lt); outline-offset: 2px; }
.gd-chrome .gd-menu__boxes .gd-weekly .gd-form__row .gd-input { height: 44px !important; min-height: 44px !important; padding: 0 8px 0 12px !important; border: 0 !important; background: transparent !important; outline: 0 !important; font-size: 16px !important; line-height: 44px !important; }
.gd-chrome .gd-menu__boxes .gd-weekly .gd-form__row .gd-btn { width: auto; height: 44px !important; min-height: 44px; padding: 0 16px; border-radius: 6px; }
@media (min-width: 768px) {
	/* Tablets: the boxes run the menu's full width, so the icons sit in one row and the actions keep their natural width */
	.gd-chrome .gd-menu__boxes .gd-h-follow .gd-menu__social { grid-template-columns: repeat(10, 44px); justify-content: start; column-gap: 12px; }
	.gd-chrome .gd-menu__boxes .gd-weekly .gd-form { max-width: 480px; }
	.gd-chrome .gd-menu__boxes .gd-getmore__btn { width: auto !important; align-self: flex-start; padding: 0 24px; }
}
.gd-menu__pages { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.gd-menu__pages a, .gd-menu__pages .gd-linkbtn { min-height: 44px; display: flex; align-items: center; color: var(--gd-ink) !important; font: 500 14px/1.3 var(--gd-sans); text-decoration: none !important; }
html.gd-noscroll, html.gd-noscroll body { overflow: hidden; }
@media (min-width: 1140px) { .gd-menu { display: none !important; } }

/* ---------- Signup box (Get More From Gayety) ---------- */
.gd-getmore { margin: 24px 12px; border: 2px solid #000; border-radius: 16px; padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.gd-menu .gd-getmore, .gd-menu .gd-weekly, .gd-sheet .gd-getmore, .gd-sheet .gd-weekly { margin: 0 !important; }
/* When The Weekly and Gayety on Substack sit together (phone menu, Subscribe sheet), both boxes take the taller one's height, content centered */
.gd-pair { display: grid; grid-auto-rows: 1fr; gap: 16px; }
.gd-pair > .gd-weekly, .gd-pair > .gd-getmore { height: 100%; box-sizing: border-box; }
.gd-pair .gd-weekly__main { flex: 1 1 auto; }
.gd-pair .gd-getmore--substack { justify-content: center; }
@media (max-width: 767px) { .gd-menu .gd-weekly, .gd-sheet .gd-weekly { padding: 20px 16px; } }
.gd-getmore__h, .gd-sheet h2 { margin: 0 !important; font: 700 24px/30px var(--gd-serif) !important; color: #000 !important; letter-spacing: 0 !important; }
.gd-getmore__cols, .gd-sheet__cols { display: flex; flex-direction: column; gap: 14px; }
.gd-offer { display: flex; flex-direction: column; gap: 2px; }
.gd-offer__name { font: 700 16px/22px var(--gd-sans); color: #000; }
.gd-offer__blurb { font: 400 15px/22px var(--gd-sans); color: var(--gd-gray); white-space: nowrap; }
@media (max-width: 374px) { .gd-offer__blurb { font-size: 13px; } }
.gd-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.gd-form__row { display: flex; align-items: stretch; gap: 8px; }
.gd-form__row .gd-input, .gd-searchform .gd-input { flex: 1 1 auto; min-width: 0; height: 48px !important; min-height: 48px !important; margin: 0 !important; padding: 0 18px !important; border: 2px solid var(--gd-ink) !important; border-radius: 8px !important; box-sizing: border-box !important; font: 400 16px/44px var(--gd-sans) !important; color: var(--gd-ink) !important; background: #fff !important; box-shadow: none !important; }
.gd-form__row .gd-btn, .gd-searchform .gd-btn { flex: 0 0 auto; height: 48px !important; min-height: 48px; margin: 0 !important; border-radius: 8px; padding: 0 20px; line-height: 1 !important; }
.gd-form__fine { margin: 0 !important; font: 400 12px/16px var(--gd-sans) !important; color: var(--gd-gray) !important; }
.gd-form__fine.is-error { color: #B3261E !important; font-weight: 600 !important; font-size: 13px !important; }
.gd-input[aria-invalid="true"] { border-color: #B3261E; }
.gd-thanks { display: flex; gap: 14px; align-items: center; min-height: 112px; }
.gd-thanks__icon { width: 40px; height: 40px; border-radius: 20px; background: var(--gd-green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gd-thanks__h { display: block; font: 700 22px/28px var(--gd-serif); color: #000; }
.gd-thanks__p { display: block; font: 400 15px/22px var(--gd-sans); color: var(--gd-gray); }
.gd-or { display: flex; align-items: center; gap: 12px; color: var(--gd-gray); font: 600 12px/1 var(--gd-sans); }
.gd-or::before, .gd-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--gd-rule); }
.gd-offer-block { display: flex; flex-direction: column; gap: 10px; }
.gd-is-subscriber [data-gd-weekly], .gd-is-subscriber [data-gd-weekly] + .gd-or { display: none; }
@media (min-width: 768px) {
	.gd-getmore { margin: 32px 0; padding: 24px; gap: 18px; }
	.gd-getmore__h { font-size: 28px !important; line-height: 34px !important; }
	.gd-getmore__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
	.gd-getmore__cols .gd-or { display: none; }
	.gd-getmore__cols .gd-offer-block { border-left: 1px solid var(--gd-rule); padding-left: 28px; }
	.gd-is-subscriber .gd-getmore__cols { grid-template-columns: 1fr; }
	.gd-is-subscriber .gd-getmore__cols .gd-offer-block { border: 0; padding: 0; }
}

/* ---------- Subscribe sheet / box ---------- */
.gd-sheet { border: 0; padding: 0; margin: auto auto 66px; width: 100%; max-width: 100%; background: transparent; color: var(--gd-ink); }
.gd-sheet::backdrop { background: rgba(0,0,0,.5); }
.gd-sheet__in { background: #fff; border-radius: 16px 16px 0 0; padding: 8px 20px 24px; display: flex; flex-direction: column; gap: 14px; box-sizing: border-box; }
.gd-sheet__grip { align-self: center; width: 36px; height: 4px; border-radius: 2px; background: #C9C5BC; }
.gd-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.gd-sheet__head h2 { font-size: 26px !important; line-height: 32px !important; }
.gd-sheet__head .gd-iconbtn { margin: -8px -10px 0 0; flex-shrink: 0; }
/* The sheet holds the same two boxes as the stories (The Weekly, Gayety on Substack) and scrolls on short phones */
.gd-sheet__in { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 768px) {
	.gd-sheet { margin: auto; width: 760px; }
	.gd-sheet__in { border-radius: 16px; padding: 32px; gap: 24px; }
	.gd-sheet__grip { display: none; }
	.gd-sheet__head h2 { font-size: 32px !important; line-height: 38px !important; }
	.gd-sheet__in { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
	.gd-sheet .gd-weekly__h { font-size: 21px; line-height: 28px; }
	.gd-sheet__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
	.gd-sheet__cols .gd-or { display: none; }
	.gd-sheet__cols .gd-offer-block { border-left: 1px solid var(--gd-rule); padding-left: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
	.gd-sheet[open] .gd-sheet__in { animation: gd-up .22s ease-out; }
	@keyframes gd-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Article page layout ---------- */
.gd-article .td-main-content-wrap, .gd-article .td-container, .gd-article .tdc-content-wrap { padding: 0 !important; }
.gd-article .tdb_templates .tdc-row { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.gd-article .vc_row.gd-article-row, .gd-article .vc_row.gd-toprow { width: 100% !important; margin: 0 !important; display: block; }
.gd-article .gd-main, .gd-article .gd-sidebar { width: 100% !important; float: none !important; padding: 0 !important; }
.gd-article .gd-main > .wpb_wrapper, .gd-article .gd-sidebar > .wpb_wrapper { padding: 0 !important; }
.gd-article .gd-sidebar { display: none !important; }
@media (min-width: 768px) {
	.gd-article .vc_row.gd-article-row { max-width: 680px; margin: 0 auto !important; }
}
@media (min-width: 1140px) {
	.gd-article .vc_row.gd-article-row { max-width: 1124px; display: flex !important; gap: 48px; align-items: stretch; }
	.gd-article .vc_row.gd-article-row::before, .gd-article .vc_row.gd-article-row::after { display: none !important; }
	.gd-article .gd-main { width: 776px !important; flex: 0 0 776px; }
	.gd-article .gd-sidebar { display: block !important; width: 300px !important; flex: 0 0 300px; }
}

/* Top ad (phones) keeps its band */
.gd-article .mobile-leaderboard-ad { margin: 0 !important; }
/* An inline theme rule (body.single .mobile-leaderboard-ad { min-height: 250px }) beat the 314 px band height, so the top ad and the break ad grew 64 px when the ad arrived and pushed the story down */
@media (max-width: 767px) { body.gd-article .mobile-leaderboard-ad { min-height: 314px !important; } }
@media (max-width: 767px) {
	.gd-article .gd-toprow .wpb_wrapper:has(.mobile-leaderboard-ad) { background: var(--gd-band); }
	.gd-article .mobile-leaderboard-ad { min-height: 314px; height: auto !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; background: var(--gd-band); position: relative; padding: 32px 0; box-sizing: border-box; }
}
@media (min-width: 768px) { .gd-article .gd-toprow { display: none; } }

/* Article top */
.gd-top { padding: 24px var(--gd-pad) 0; display: flex; flex-direction: column; gap: 12px; }
.gd-title { margin: 0 !important; font: 700 28px/34px var(--gd-serif) !important; letter-spacing: -.01em !important; color: #000 !important; text-wrap: pretty; max-width: none !important; width: 100%; }
.gd-sub { margin: 0 !important; font: 400 17px/26px var(--gd-sans) !important; color: var(--gd-ink) !important; }
.gd-feat { margin: 24px 0 0 !important; display: flex; flex-direction: column; gap: 8px; }
.gd-article .gd-feat__img, .gd-article .gd-main .td_flex_block_6 .entry-thumb, .gd-article .gd-main .td-post-content img, .gd-thumb__img, .gd-avatar { opacity: 1 !important; transition: none !important; }
.gd-feat__img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; background: #E6E3DD; }
/* Video posts: the video holds its 16:9 space while the player loads, so nothing below it moves. */
.gd-feat--video { position: relative; }
.gd-feat__poster { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #000; }
.gd-feat--video .jwppp-video-box { position: relative; width: 100% !important; aspect-ratio: 16 / 9; margin: 0 !important; }
.gd-feat--video .jwppp-video-box > .jwplayer { width: 100% !important; height: 100% !important; }
.gd-credit { padding: 0 var(--gd-pad); font: 400 12px/16px var(--gd-sans) !important; color: var(--gd-gray) !important; text-align: left !important; margin: 0 !important; }
.gd-byline { padding: 24px var(--gd-pad) 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gd-byline__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gd-avatar { width: 36px; height: 36px; border-radius: 18px; background: #000; flex-shrink: 0; object-fit: cover; display: block; }
.gd-avatar--40 { width: 40px; height: 40px; border-radius: 20px; }
.gd-byline__txt { display: flex; flex-direction: column; font: 500 13px/18px var(--gd-sans); color: var(--gd-gray); min-width: 0; }
.gd-byline__txt a { color: var(--gd-ink) !important; font-weight: 700; text-decoration: none !important; }
.gd-byline__txt a:hover { text-decoration: underline !important; }
.gd-byline .gd-share { flex-shrink: 0; padding: 0 16px; }
@media (min-width: 768px) {
	.gd-top { padding-top: 32px; gap: 14px; }
	.gd-title { font-size: 28px !important; line-height: 34px !important; }
	.gd-sub { font-size: 19px !important; line-height: 28px !important; }
	.gd-feat__img { max-height: calc(100vh - 140px); }
	.gd-credit { font-size: 13px !important; }
}

@media (min-width: 1140px) {
	.gd-title { font-size: 36px !important; line-height: 42px !important; }
}

/* Article body (the theme's content block, left untouched for ads) */
.gd-article .gd-main .tdb_single_content { margin: 24px 0 0 !important; }
.gd-article .gd-main .td-post-content { font-family: var(--gd-sans) !important; color: var(--gd-ink) !important; }
.gd-article .gd-main .td-post-content .tdb-block-inner > p,
.gd-article .gd-main .td-post-content .tdb-block-inner > ul,
.gd-article .gd-main .td-post-content .tdb-block-inner > ol,
.gd-article .gd-main .td-post-content .tdb-block-inner > h2,
.gd-article .gd-main .td-post-content .tdb-block-inner > h3,
.gd-article .gd-main .td-post-content .tdb-block-inner > h4,
.gd-article .gd-main .td-post-content .tdb-block-inner > blockquote,
.gd-article .gd-main .td-post-content .tdb-block-inner > table { margin-left: var(--gd-pad) !important; margin-right: var(--gd-pad) !important; }
.gd-article .gd-main .td-post-content p, .gd-article .gd-main .td-post-content li { font: 400 17px/28px var(--gd-sans) !important; letter-spacing: 0 !important; color: var(--gd-ink) !important; }
.gd-article .gd-main .td-post-content p { margin-top: 0 !important; margin-bottom: 20px !important; }
.gd-article .gd-main .td-post-content a { color: var(--gd-green) !important; text-decoration: underline !important; text-underline-offset: 2px; }
.gd-article .gd-main .td-post-content a:hover { color: #000 !important; }
.gd-article .gd-main .td-post-content h2 { font: 700 22px/28px var(--gd-serif) !important; letter-spacing: 0 !important; color: #000 !important; margin-top: 32px !important; margin-bottom: 16px !important; }
.gd-article .gd-main .td-post-content h3 { font: 700 19px/25px var(--gd-serif) !important; letter-spacing: 0 !important; color: #000 !important; margin-top: 28px !important; margin-bottom: 12px !important; }
.gd-article .gd-main .td-post-content h4, .gd-article .gd-main .td-post-content h5, .gd-article .gd-main .td-post-content h6 { font: 700 19px/26px var(--gd-serif) !important; letter-spacing: 0 !important; color: #000 !important; }
.gd-article .gd-main .td-post-content blockquote { border-left: 4px solid var(--gd-green) !important; padding: 4px 0 4px 16px !important; }
.gd-article .gd-main .td-post-content blockquote p { font: 600 20px/30px var(--gd-serif) !important; font-style: normal !important; }
.gd-article .gd-main .td-post-content figure, .gd-article .gd-main .td-post-content .wp-caption, .gd-article .gd-main .td-post-content .wp-block-image { margin: 0 0 24px !important; max-width: 100% !important; width: auto !important; }
.gd-article .gd-main .td-post-content img { max-width: 100%; height: auto; }
/* The JW Player box keeps its 16:9 space on phones while the player loads, so nothing below it jumps */
@media (max-width: 767px) { .gd-article #adsVideoContainer, .gd-article .gd-story-video .sidebar-video { aspect-ratio: 16 / 9; } }
/* JW Player runs the full width of the story, like photos: edge to edge on phones, the full column on tablets and desktop. Its 16:9 space is held while it loads. */
.gd-article .gd-main .ads-video-outer { margin: 0 0 24px !important; }
.gd-article .gd-main .ads-video-container { width: 100% !important; }
.gd-article .gd-main .sidebar-video-wrap.from-ad .sidebar-video { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
/* Floating JW Player: sits above the bottom sticky ad (3rem is JW's own gap, which leaves room for its close bar), and once the
   bottom of the page scrolls into view it stops instead of sliding behind the footer: level with the bottom of Load More Stories
   on the homepage, 24 px above the footer elsewhere. When Load More pushes the page down again, it goes back to floating.
   gd.js keeps --gd-foot-lift (how far that stopping line has come up the screen) current. JW's close bar hangs 32 px below the
   video, so the +32px lines up the bottom of that bar, the bottom of what readers see. top: auto keeps it docked at the bottom
   even when JW would float it to the top (its jw-float-to-top), which stretched it out of shape with this rule. (Nov 16) */
body.gd-chrome .jw-flag-floating .jw-wrapper { top: auto !important; bottom: max(calc(var(--gd-anchor-h, 0px) + 3rem), calc(var(--gd-foot-lift, 0px) + 32px)) !important; }
/* Desktop sidebar ads beside stories 2 to 5 */
@media (min-width: 1140px) {
	.gd-article article.gd-story { position: relative; }
	.gd-rail { position: absolute; top: 0; bottom: 0; left: calc(100% + 48px); width: 300px; }
	.gd-article .gd-rail .gd-rail__ad { position: sticky; top: calc(72px + var(--gd-top)); margin: 0 !important; }
	.gd-rails-on .gd-article .gd-sidebar .theiaStickySidebar, html.gd-rails-on body.gd-article .gd-sidebar .theiaStickySidebar { visibility: hidden; }
}
@media (max-width: 1139px) { .gd-rail { display: none !important; } }
/* Body photos fill the column and sit centered: edge to edge on phones, full column width on tablets and desktop. Thumbnails and floated images keep their size. */
.gd-article .gd-main .td-post-content img[srcset]:not(.size-thumbnail):not(.gd-thumb__img):not(.alignleft):not(.alignright):not(.gd-avatar) { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin-left: auto !important; margin-right: auto !important; }
.gd-article .gd-main .td-post-content :is(.size-thumbnail, .alignleft, .alignright) > img { width: auto !important; }
/* Social embeds (Instagram, X, TikTok, Threads, Bluesky, Facebook) keep the page margins; only video embeds (YouTube, Vimeo) run edge to edge */
.gd-article .gd-main .td-post-content .wp-block-embed:not(.is-type-video), .gd-article .gd-main .td-post-content .wp-block-embed.is-provider-tiktok { padding-left: var(--gd-pad) !important; padding-right: var(--gd-pad) !important; box-sizing: border-box; }
.gd-article .gd-main .td-post-content .tdb-block-inner > .instagram-media,
.gd-article .gd-main .td-post-content .tdb-block-inner > .twitter-tweet,
.gd-article .gd-main .td-post-content .tdb-block-inner > .twitter-tweet-rendered,
.gd-article .gd-main .td-post-content .tdb-block-inner > .tiktok-embed,
.gd-article .gd-main .td-post-content .tdb-block-inner > .text-post-media,
.gd-article .gd-main .td-post-content .tdb-block-inner > .bluesky-embed,
.gd-article .gd-main .td-post-content .tdb-block-inner > .fb-post,
.gd-article .gd-main .td-post-content .tdb-block-inner > iframe[src*="facebook.com"],
.gd-article .gd-main .td-post-content .wp-block-embed:not(.is-type-video) .instagram-media,
.gd-article .gd-main .td-post-content .wp-block-embed .tiktok-embed { width: calc(100% - 2 * var(--gd-pad)) !important; max-width: 540px !important; min-width: 0 !important; margin: 0 auto 24px !important; box-sizing: border-box; }
.gd-article .gd-main .td-post-content .wp-block-embed:not(.is-type-video) .instagram-media, .gd-article .gd-main .td-post-content .wp-block-embed .tiktok-embed { width: 100% !important; }

/* Gallery photos: counter badge top right, caption right under the photo */
.gd-article .gd-main .td-post-content figure.wp-block-image, .gd-article .gd-main .td-post-content .wp-block-image > figure { position: relative; }
.gd-count { position: absolute; top: 10px; right: 10px; z-index: 1; height: 26px; padding: 0 9px; border-radius: 13px; background: rgba(0,0,0,.72); color: #fff; display: inline-flex; align-items: center; font: 700 12px/1 var(--gd-sans); letter-spacing: .02em; pointer-events: none; }
.gd-article .gd-main .gayety-photo-group { margin: 0 0 4px !important; }
.gd-article .gd-main .gayety-photo-group > figure { margin-bottom: 12px !important; }
.gd-article .gd-main .gayety-photo-group > h3 { margin-top: 8px !important; }

/* Tables keep the text margins on phones and scroll sideways if they're too wide */
.gd-article .gd-main .td-post-content .wp-block-table, .gd-article .gd-main .td-post-content .tdb-block-inner > table { margin: 0 var(--gd-pad) 24px !important; width: auto !important; max-width: none !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gd-article .gd-main .td-post-content table { width: 100% !important; border-collapse: collapse !important; margin: 0 !important; font: 400 15px/22px var(--gd-sans) !important; color: var(--gd-ink) !important; }
.gd-article .gd-main .td-post-content th, .gd-article .gd-main .td-post-content td { padding: 10px 12px !important; border: 1px solid var(--gd-rule) !important; text-align: left !important; vertical-align: top !important; font: inherit !important; }
.gd-article .gd-main .td-post-content th, .gd-article .gd-main .td-post-content thead td { background: var(--gd-card) !important; font-weight: 700 !important; }
.gd-article .gd-main .td-post-content td p, .gd-article .gd-main .td-post-content th p { font: inherit !important; margin: 0 !important; }
.gd-article .gd-main .td-post-content .wp-block-table figcaption { padding: 8px 0 0 !important; }
.gd-article .gd-main .td-post-content th, .gd-article .gd-main .td-post-content td { word-break: normal !important; overflow-wrap: normal !important; hyphens: manual; }
.gd-article .gd-main .td-post-content .wp-block-table thead { border-bottom: 2px solid #000 !important; }
@media (max-width: 767px) {
	.gd-article .gd-main .td-post-content table { table-layout: auto !important; font-size: 14px !important; line-height: 20px !important; }
	.gd-article .gd-main .td-post-content th, .gd-article .gd-main .td-post-content td { padding: 8px 10px !important; }
}
.gd-article .gd-main .td-post-content figcaption, .gd-article .gd-main .td-post-content .wp-caption-text, .gd-article .gd-main .td-post-content .gallery-caption { font: 500 14px/20px var(--gd-sans) !important; color: var(--gd-gray) !important; text-align: left !important; padding: 8px var(--gd-pad) 0 !important; margin: 0 !important; font-style: normal !important; }
@media (min-width: 768px) {
	.gd-article .gd-main .td-post-content p, .gd-article .gd-main .td-post-content li { font-size: 18px !important; line-height: 30px !important; }
	.gd-article .gd-main .td-post-content figcaption, .gd-article .gd-main .td-post-content .wp-caption-text { font-size: 15px !important; }
	.gd-article .gd-main .td-post-content h2 { font-size: 24px !important; line-height: 30px !important; }
	.gd-article .gd-main .td-post-content h3 { font-size: 20px !important; line-height: 26px !important; }
}

/* Ad bands: every in-article ad sits in a gray band with an Advertisement label */
.gd-article .gd-main .code-block-14, .gd-article .incontent-inbetween-ad, .gd-article .gd-main .tdb-block-inner > .adgrid-ad-container, .gd-article .gd-band { position: relative; background: var(--gd-band); display: flex !important; flex-direction: column; align-items: center; justify-content: center; min-height: 314px; padding: 32px 0 !important; margin: 4px 0 24px !important; box-sizing: border-box; clear: both; }
.gd-article .gd-main .code-block-14::before, .gd-article .gd-band::before, .gd-article .gd-main .tdb-block-inner > .adgrid-ad-container::before { content: "Advertisement"; position: absolute; top: 10px; left: 0; right: 0; text-align: center; font: 600 10px/12px var(--gd-sans); letter-spacing: .1em; text-transform: uppercase; color: #5F5F5F; }
.gd-article .gd-main .code-block-14 .adgrid { margin: 0 !important; }
.gd-article .code-block-14 .adgrid-ad-container, .gd-article .mobile-leaderboard-ad .adgrid-ad-container, .gd-article .incontent-inbetween-ad .adgrid-ad-container { margin: 0 auto !important; }
@media (max-width: 767px) {
	.gd-article .mobile-leaderboard-ad::before { content: "Advertisement"; position: absolute; top: 10px; left: 0; right: 0; text-align: center; font: 600 10px/12px var(--gd-sans); letter-spacing: .1em; text-transform: uppercase; color: #5F5F5F; }
	.gd-article .incontent-inbetween-ad:not(:has(iframe)) { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
}
.gd-article .incontent-inbetween-ad { min-height: 0; padding: 24px 0 !important; background: none; }
@media (min-width: 768px) {
	.gd-article .gd-main .code-block-14 { min-height: 298px; padding: 24px 0 !important; }
}

/* Every ad sits centered in its slot, whatever size fills it */
.gd-chrome .adgrid-ad-container, .gd-article .adgrid-ad-container { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; width: 100% !important; text-align: center !important; }
.gd-chrome .adv-ad-wrapper, .gd-article .adv-ad-wrapper { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
.gd-chrome .adv-ad-wrapper > div, .gd-chrome .adv-ad-wrapper iframe, .gd-article .adv-ad-wrapper > div, .gd-article .adv-ad-wrapper iframe { margin-left: auto !important; margin-right: auto !important; display: block; }
/* Inside our bands, AdGrid's own spacing is removed so the ad sits dead center (the band already reserves the space) */
body.gd-article .code-block-14 .adgrid-ad-container, body.gd-article .infeed-ad-placeholder .adgrid-ad-container, body.gd-article .mobile-leaderboard-ad .adgrid-ad-container, body.gd-article .incontent-inbetween-ad .adgrid-ad-container, body.gd-chrome .gd-billboard-row .adgrid-ad-container { margin: 0 auto !important; padding: 0 !important; }
body.gd-article .gd-band .adgrid-ad-container { margin: 0 auto !important; padding: 0 !important; }
body.gd-article .code-block-14 .adgrid, body.gd-article .infeed-ad-placeholder .adgrid, body.gd-article .gd-band .adgrid { min-height: 250px !important; margin: 0 !important; padding: 0 !important; width: 100%; display: flex !important; flex-direction: column; align-items: center; justify-content: center; }

/* JW Player inside the story runs edge to edge on phones */
.gd-article .gd-main .code-block-3 { margin: 0 0 24px !important; }

/* End of story */
.gd-end { display: flex; flex-direction: column; gap: 24px; padding: 4px 0 0; }
.gd-article .gd-main .tdb_single_content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.gd-end__share { display: flex; justify-content: center; padding: 0 var(--gd-pad); }
.gd-end__share .gd-share { padding: 0 20px; }
.gd-tags { position: relative; }
.gd-tags ul { list-style: none; margin: 0; padding: 0 var(--gd-pad); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.gd-tags ul::-webkit-scrollbar { display: none; }
.gd-tags li { margin: 0; scroll-snap-align: start; }
.gd-tags::after { content: ""; position: absolute; top: 0; right: 0; width: 48px; height: 44px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); pointer-events: none; }
/* Mouse and trackpad screens can't swipe, so the tags wrap onto more lines instead of scrolling sideways */
@media (hover: hover) and (pointer: fine) {
	.gd-tags ul { flex-wrap: wrap; overflow-x: visible; }
	.gd-tags::after { display: none; }
}
.gd-authors { margin: 0 var(--gd-pad); border-top: 1px solid var(--gd-rule); border-bottom: 1px solid var(--gd-rule); }
.gd-author { padding: 10px 0; display: flex; align-items: center; gap: 12px; }
.gd-author + .gd-author { border-top: 1px solid var(--gd-rule); }
.gd-author__txt { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.gd-author__by { font: 400 12px/16px var(--gd-sans); color: var(--gd-gray); }
.gd-author__name { font: 700 15px/20px var(--gd-sans); color: var(--gd-ink); }
.gd-author__more { flex-shrink: 0; height: 44px; display: inline-flex; align-items: center; gap: 4px; font: 600 13px/1 var(--gd-sans); color: var(--gd-ink) !important; text-decoration: none !important; }
.gd-author__more svg { color: var(--gd-green); }
/* Writer's Instagram under their name; the invisible ::before makes the tap area about 42px tall without moving anything */
.gd-author__ig { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font: 600 13px/18px var(--gd-sans); color: var(--gd-gray) !important; text-decoration: none !important; }
.gd-author__ig::before { content: ""; position: absolute; top: -12px; bottom: -12px; left: -8px; right: -8px; }
.gd-author__ig svg { flex-shrink: 0; }
.gd-author__ig:hover { color: var(--gd-green) !important; }
.gd-author__ig:hover span:not(.screen-reader-text) { text-decoration: underline; }

/* The Weekly box inside stories (black, fixed height so the thank-you never moves the page) */
.gd-weekly { margin: 4px 12px 28px !important; background: #000; color: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; box-sizing: border-box; }
.gd-weekly__main { display: flex; flex-direction: column; gap: 12px; min-height: 150px; justify-content: center; }
.gd-is-subscriber .gd-weekly { display: none !important; }
/* End of story 1: Gayety on Substack */
.gd-getmore--substack { gap: 16px; }
.gd-getmore__copy { display: flex; flex-direction: column; gap: 8px; }
.gd-getmore__kicker { font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green); }
.gd-getmore__p { margin: 0 !important; font: 400 16px/24px var(--gd-sans) !important; color: var(--gd-ink) !important; }
.gd-getmore__btn { height: 48px; border-radius: 8px; width: 100%; }
@media (min-width: 768px) {
	.gd-getmore--substack { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
	.gd-getmore__btn { width: auto; padding: 0 24px; flex-shrink: 0; }
}
.gd-weekly__kicker { font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green-lt); }
.gd-weekly__h { font: 700 18px/24px var(--gd-serif); color: #fff; }
.gd-weekly__more { display: none; }
@media (max-width: 374px) { .gd-weekly__h { font-size: 17px; } }
.gd-weekly .gd-input { border-color: #fff !important; }
.gd-weekly .gd-form__fine, .gd-weekly .gd-form__fine a { color: #BDBDBD !important; }
.gd-weekly .gd-form__fine.is-error { color: #FF8A80 !important; }
.gd-weekly .gd-thanks__h { color: #fff; }
.gd-weekly .gd-thanks__p { color: #E0E0E0; }
.gd-weekly__sub { padding-top: 16px; border-top: 1px solid #333; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none !important; }
.gd-weekly__sub > span:first-child { font: 400 15px/22px var(--gd-sans); color: #D6D6D6; }
.gd-weekly__sub b { color: #fff; white-space: nowrap; }
.gd-weekly__pill { height: 40px; padding: 0 16px; border-radius: 8px; border: 2px solid var(--gd-green-lt); box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; color: var(--gd-green-lt); font: 700 14px/1 var(--gd-sans); white-space: nowrap; }
.gd-is-subscriber .gd-weekly__sub { padding-top: 0; border-top: 0; }
.gd-article .gd-main .td-post-content .gd-weekly p { margin: 0 !important; }
.gd-article .gd-main .td-post-content .gd-weekly .gd-form__fine { font: 400 12px/16px var(--gd-sans) !important; color: #BDBDBD !important; }
.gd-article .gd-main .td-post-content .gd-weekly .gd-form__fine.is-error { color: #FF8A80 !important; font-weight: 600 !important; font-size: 13px !important; }
@media (min-width: 768px) {
	.gd-weekly { margin: 4px 0 32px !important; padding: 24px 28px; }
	.gd-weekly__main { min-height: 130px; }
	.gd-weekly__h { font-size: 21px; line-height: 28px; }
	.gd-weekly__more { display: inline; }
	.gd-weekly__sub { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
}
@media (min-width: 1140px) { .gd-weekly__h { font-size: 24px; line-height: 30px; } }

/* Related story card inside stories */
.gd-article .gd-main .td-post-content .gd-related { margin: 8px var(--gd-pad) 28px !important; }
.gd-article .gd-main .td-post-content .gd-related a.gd-related__a { display: block; padding: 0 0 16px; border-bottom: 1px solid var(--gd-chip); color: var(--gd-ink) !important; text-decoration: none !important; }
/* Same divider as Next Story: the label sits between two grey lines, with a solid line under the card. */
.gd-related__k { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-gray); }
.gd-related__k::before, .gd-related__k::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--gd-chip); }
.gd-related__row { display: flex; align-items: center; gap: 14px; }
.gd-related__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gd-related__t { font: 700 15px/21px var(--gd-serif); color: #000; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gd-related__dek { display: none; }
.gd-article .gd-main .td-post-content .gd-related a.gd-related__a:hover .gd-related__t { text-decoration: none !important; color: var(--gd-green) !important; }
@media (min-width: 768px) {
	.gd-article .gd-main .td-post-content .gd-related { margin: 8px 0 32px !important; }
	/* A standalone promo spot on wider screens: bigger photo and title, plus the subtitle. Phones keep the Trending Now look. */
	.gd-related .gd-thumb { --w: 160px !important; --h: 107px !important; }
	.gd-related__row { gap: 18px; }
	.gd-related__t { font-size: 20px; line-height: 26px; -webkit-line-clamp: 2; }
	.gd-related__dek { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 400 15px/22px var(--gd-sans); color: var(--gd-gray); }
}

/* Trending Now */
.gd-trending { margin: 8px 0 24px; padding: 0 var(--gd-pad); }
.gd-trending .gd-section-h { padding: 0; margin: 0 0 8px !important; }
.gd-trending ol { list-style: none; margin: 0; padding: 0; }
.gd-trending li { margin: 0; border-top: 1px solid var(--gd-rule); }
.gd-trending a { display: flex; gap: 14px; align-items: center; padding: 14px 0; text-decoration: none !important; }
.gd-trending__t { font: 700 15px/21px var(--gd-serif); color: #000; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gd-trending .gd-thumb { --w: 96px !important; --h: 72px !important; }
.gd-trending .gd-thumb__num { width: 24px; height: 24px; font-size: 13px; }
.gd-trending__t { transition: color .15s ease; }
.gd-trending a:hover .gd-trending__t { color: var(--gd-green); }
@media (max-width: 1139px) { .gd-trending li:nth-child(n+5) { display: none; } }
.gd-thumb { position: relative; flex-shrink: 0; width: var(--w); height: var(--h); border-radius: 4px; overflow: hidden; background: #D9D5CD; }
.gd-thumb__img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
.gd-thumb__num { position: absolute; left: 0; top: 0; width: 30px; height: 30px; background: var(--gd-green); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 16px/1 var(--gd-sans); }
.gd-thumb__tags { position: absolute; left: 4px; bottom: 4px; display: flex; gap: 4px; }
.gd-thumb__gal { height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(0,0,0,.72); color: #fff; display: inline-flex; align-items: center; font: 700 10px/1 var(--gd-sans); letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 768px) {
	.gd-trending { background: var(--gd-card); padding: 28px; border-radius: 8px; }
	.gd-trending .gd-section-h { font-size: 30px !important; line-height: 36px !important; margin-bottom: 16px !important; }
	.gd-trending ol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
	.gd-trending li { border: 0; }
	.gd-trending a { padding: 0; gap: 14px; }
	.gd-trending .gd-thumb { --w: 120px !important; --h: 80px !important; }
	.gd-trending__t { font-size: 16px; line-height: 22px; }
}

/* The break between stories */
.gd-article .gd-break-ad { display: none !important; }
@media (max-width: 767px) {
	.gd-article .gd-break-ad { display: flex !important; min-height: 314px; height: auto !important; flex-direction: column; align-items: center; justify-content: center; background: var(--gd-band); position: relative; padding: 32px 0; box-sizing: border-box; margin: 0 0 24px !important; }
	.gd-article .gd-break-ad::before { content: "Advertisement"; position: absolute; top: 10px; left: 0; right: 0; text-align: center; font: 600 10px/12px var(--gd-sans); letter-spacing: .1em; text-transform: uppercase; color: #5F5F5F; }
	.gd-article .gd-break-ad .adgrid-ad-container { margin: 0 auto !important; padding: 0 !important; }
}
.gd-next { display: flex; align-items: center; gap: 12px; padding: 8px var(--gd-pad) 0; margin: 8px 0 0; }
.gd-next::before, .gd-next::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--gd-chip); }
.gd-next span { font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-gray); }
.gd-skip { position: absolute; left: -9999px; }
.gd-skip:focus { position: static; display: inline-block; margin: 8px var(--gd-pad); padding: 8px 12px; background: #000; color: #fff !important; border-radius: 4px; font: 600 14px var(--gd-sans); }
.gd-story { position: relative; padding-bottom: 8px; }
.gd-story .gd-top { padding-top: 16px; }
.gd-chain .gd-band--break { margin: 24px 0 8px !important; }
.gd-chain.is-done { min-height: 0; }

/* Section headings and the More Stories feed */
.gd-section-h { margin: 0 !important; padding: 0 var(--gd-pad); font: 700 26px/32px var(--gd-serif) !important; color: #000 !important; letter-spacing: 0 !important; }
.gd-section-h--sm { font-size: 22px !important; line-height: 28px !important; padding: 0; }
.gd-more-h { margin: 16px 0 16px !important; }
.gd-article .gd-main .td_flex_block_6 { padding: 0 var(--gd-pad) !important; margin-top: 0 !important; }
/* In-feed ads (placeholders added between cards) get the same band and label as every other ad */
.gd-article .gd-main .infeed-ad-placeholder { position: relative; background: var(--gd-band); display: flex !important; flex-direction: column; align-items: center; justify-content: center; min-height: 314px; padding: 32px 0 !important; margin: 0 var(--gd-pad) 24px !important; width: calc(100% - 2 * var(--gd-pad)) !important; max-width: none !important; border-radius: 6px; box-sizing: border-box; clear: both; flex: 0 0 auto !important; }
.gd-article .gd-main .infeed-ad-placeholder::before { content: "Advertisement"; position: absolute; top: 10px; left: 0; right: 0; text-align: center; font: 600 10px/12px var(--gd-sans); letter-spacing: .1em; text-transform: uppercase; color: #5F5F5F; }
.gd-article .gd-main .infeed-ad-placeholder .adgrid, .gd-article .gd-main .infeed-ad-placeholder .adgrid-ad-container { margin: 0 auto !important; padding: 0 !important; }
@media (min-width: 768px) {
	.gd-article .gd-main .infeed-ad-placeholder { min-height: 298px; padding: 24px 0 !important; margin: 0 0 24px !important; width: 100% !important; }
}
.gd-article .gd-main .td_flex_block_6 .td_module_wrap { margin-bottom: 24px !important; }
.gd-article .gd-main .td_flex_block_6 .entry-title, .gd-article .gd-main .td_flex_block_6 .entry-title a { font: 700 20px/26px var(--gd-serif) !important; letter-spacing: 0 !important; color: #000 !important; }
/* Titles everywhere turn green on hover, never underlined (Levi, Nov 15) */
.gd-article .gd-main .td_flex_block_6 .entry-title a { transition: color .15s ease; }
.gd-article .gd-main .td_flex_block_6 .entry-title a:hover, .gd-article .gd-main .td_flex_block_6 .td-module-container:hover .entry-title a { color: var(--gd-green) !important; text-decoration: none !important; }
.gd-article .gd-main .td_flex_block_6 .td-module-meta-info { padding: 10px 0 0 !important; }
.gd-article .gd-main .td_flex_block_6 .td-editor-date, .gd-article .gd-main .td_flex_block_6 .td-author-date, .gd-article .gd-main .td_flex_block_6 .td-post-author-name, .gd-article .gd-main .td_flex_block_6 .td-post-date { display: none !important; }
.gd-article .gd-main .td_flex_block_6 .td-post-category { font: 700 12px/16px var(--gd-sans) !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: var(--gd-green) !important; background: none !important; padding: 0 !important; margin: 0 0 6px !important; }
.gd-article .gd-main .td_flex_block_6 .td-image-wrap, .gd-article .gd-main .td_flex_block_6 .td-image-container { width: 100% !important; }
.gd-article .gd-main .td_flex_block_6 .td-module-thumb .entry-thumb { padding-bottom: 56.25% !important; }
/* Card photos keep the page margins and a small radius, so each story reads as a card */
.gd-article .gd-main .td_flex_block_6 .td-module-thumb, .gd-article .gd-main .td_flex_block_6 .td-image-wrap, .gd-article .gd-main .td_flex_block_6 .entry-thumb { border-radius: 6px; overflow: hidden; }

/* Sidebar (desktop) */
.gd-article .gd-sidebar .article-sidebar-ad-1, .gd-article .gd-sidebar .article-sidebar-ad-2 { width: 300px !important; min-height: 600px; height: auto !important; margin: 32px 0 !important; border: 0 !important; }
.gd-article .gd-sidebar .article-sidebar-ad-2 { position: sticky; top: calc(72px + var(--gd-top)); }
.gd-latest { margin: 0 0 32px; }
.gd-article .gd-sidebar .sidebar-video-td-item { margin: 0 !important; }
.gd-article .gd-sidebar .sidebar-video-td-item:has(iframe, video, .jwplayer) { margin: 0 0 32px !important; }
.gd-latest ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: gd; }
.gd-latest li { margin: 0; border-top: 1px solid var(--gd-rule); }
.gd-latest li:last-child { border-bottom: 1px solid var(--gd-rule); }
.gd-latest a { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; text-decoration: none !important; }
.gd-latest__k { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
/* Breaking News: red label for 3 hours (white on #C62828 is 5.6:1). */
.gd-breaking { display: inline-block; vertical-align: middle; margin-right: 8px; padding: 2px 7px; border-radius: 3px; background: #C62828; color: #fff !important; font: 700 11px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; }
.gd-latest__k .gd-breaking { margin-right: 0; }
.gd-top__k { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; align-self: flex-start; }
.gd-top__k .gd-breaking { margin-right: 0; font-size: 12px; }
.gd-thumb__gal--brk { background: #C62828; }
.gd-latest__t { font: 700 16px/22px var(--gd-serif); color: #000; }
.gd-latest__t { transition: color .15s ease; }
.gd-latest a:hover .gd-latest__t { color: var(--gd-green); }

/* Share menu (when the phone's own share sheet isn't available) */
.gd-sharemenu { position: absolute; z-index: 1001; background: #fff; border: 1px solid var(--gd-rule); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.16); padding: 6px; width: 340px; max-width: calc(100vw - 24px); box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.gd-sharemenu span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-sharemenu svg { flex-shrink: 0; color: var(--gd-ink); }
.gd-sharemenu a, .gd-sharemenu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; background: none; border-radius: 8px; color: var(--gd-ink) !important; font: 600 15px/1 var(--gd-sans); text-decoration: none !important; cursor: pointer; box-sizing: border-box; --gd-cut: #fff; }
.gd-sharemenu a:hover, .gd-sharemenu button:hover { background: var(--gd-card); }

/* ---------- Footer ---------- */
.gd-chrome .td-footer-template-wrap .tdc-row, .gd-chrome .td-footer-template-wrap .vc_row, .gd-chrome .td-footer-template-wrap .vc_column, .gd-chrome .td-footer-template-wrap .wpb_wrapper { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.gd-foot { background: #000; color: #fff; }
/* Streamlined (Nov 15). No logo, no section menu.
   Phones and tablets: one centered column. Back to Top, the page links, the social icons, then the copyright last.
   Desktop: two full rows. Page links with Back to Top at the end, then the copyright with the social icons. */
.gd-foot__in { max-width: 1124px; margin: 0 auto; padding: 28px 20px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.gd-foot__row { display: contents; }
.gd-foot__top-btn { order: 1; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 18px; border-radius: 8px; border: 1px solid #4A4A4A; color: #fff !important; font: 600 14px/1 var(--gd-sans); text-decoration: none !important; white-space: nowrap; }
.gd-foot__pages { order: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.gd-foot__pages a, .gd-foot__pages .gd-linkbtn { min-height: 36px; display: flex; align-items: center; color: #D6D6D6 !important; font: 500 14px/1.3 var(--gd-sans); text-decoration: none !important; }
.gd-foot a:hover, .gd-foot .gd-linkbtn:hover { color: var(--gd-green-lt) !important; }
.gd-foot__social { order: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gd-foot__social .gd-soc--ring { width: 40px; height: 40px; }
.gd-foot__copy { order: 4; margin: 0 !important; font: 400 13px/18px var(--gd-sans) !important; color: #9E9E9E !important; }
.gd-foot .gd-soc--ring { border-color: #4A4A4A; color: #fff; --gd-cut: #000; }
/* Google's "Do Not Sell or Share My Personal Information" link under the footer, in Gayety green so it stands out. */
html body.gd-chrome .fc-ccpa-root .fc-dns-link .fc-button-background { background-color: var(--gd-green) !important; }
html body.gd-chrome .fc-ccpa-root .fc-dns-link p { color: #fff !important; font: 600 14px/19px var(--gd-sans) !important; }
html body.gd-chrome .fc-ccpa-root .fc-dns-link:hover p, html body.gd-chrome .fc-ccpa-root .fc-dns-link:focus-visible p { text-decoration: underline !important; }
/* Room under the page for the bottom sticky ad while it shows (height measured by gd.js), so it never hides the footer or that link. */
body.gd-chrome { padding-bottom: var(--gd-anchor-h, 0px) !important; }
@media (min-width: 768px) {
	.gd-foot__pages { gap: 0 28px; }
	.gd-foot__social { gap: 10px; }
}
@media (min-width: 1140px) {
	.gd-foot__in { padding: 26px 0 22px; align-items: stretch; gap: 10px; text-align: left; }
	.gd-foot__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
	.gd-foot__row > * { order: 0; }
	.gd-foot__pages { flex: 1 1 auto; justify-content: flex-start; gap: 4px 24px; }
	.gd-foot__social { flex-wrap: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
	.gd-hdr__bar { transition: none; }
}

/* The homepage has its own stylesheet, gd-home.css (Nov 15). */
