/* 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; }
/* Hover only where there's a mouse: on phones a tapped button (View Full Size, Share) no longer stays black after the tap (Levi, Nov 19) */
@media (hover: hover) { .gd-btn--outline:hover { background: var(--gd-ink); color: #fff !important; } }
.gd-btn--outline:active { 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-privacy-btn[hidden] { display: none !important; }
/* On the light cream panels, brand green text falls just short of the 4.5:1 contrast standard for small text, so it goes a shade deeper there (Nov 18). */
.gd-arc__start, .gd-contact, .gd-contact-card { --gd-green: #187A4B; }
.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; }
}
@media (min-width: 768px) and (max-width: 1139px) {
	/* Tablets, upright (Levi, Nov 19): each box only as tall as it needs, the words on the left and the action on the right */
	.gd-menu__boxes { grid-auto-rows: auto; gap: 12px; }
	.gd-chrome .gd-menu__boxes > .gd-h-follow, .gd-chrome .gd-menu__boxes > .gd-weekly, .gd-chrome .gd-menu__boxes > .gd-getmore { height: auto; padding: 20px 24px !important; }
	.gd-menu__boxes .gd-weekly__main { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); column-gap: 32px; row-gap: 4px; align-items: center; }
	.gd-menu__boxes .gd-weekly__main > :not(form) { grid-column: 1; }
	.gd-chrome .gd-menu__boxes .gd-weekly .gd-form { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding-top: 0; max-width: none; }
	.gd-chrome .gd-menu__boxes > .gd-getmore { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: center !important; }
	.gd-chrome .gd-menu__boxes .gd-getmore__btn { margin: 0; align-self: center; }
	.gd-chrome .gd-menu__boxes > .gd-h-follow { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 32px; row-gap: 4px; align-content: center; align-items: end !important; }
	.gd-chrome .gd-menu__boxes > .gd-h-follow > :not(.gd-menu__social) { grid-column: 1; }
	.gd-chrome .gd-menu__boxes > .gd-h-follow .gd-h-follow__h { align-self: start; }
	.gd-chrome .gd-menu__boxes .gd-h-follow .gd-menu__social { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; grid-template-columns: repeat(5, 44px); column-gap: 10px; row-gap: 10px; }
}
.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 ---------- */
/* Phones: a card inset from the screen's edges with every corner rounded (Levi, Nov 18), still clear of the 50 px sticky ad below it */
.gd-sheet { border: 0; padding: 0; margin: auto auto calc(66px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-width: 560px; background: transparent; color: var(--gd-ink); }
.gd-sheet::backdrop { background: rgba(0,0,0,.5); }
.gd-sheet__in { background: #fff; border-radius: 16px; padding: 8px 16px 16px; 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__head h2:focus { outline: none; } /* the sheet opens with focus on its heading, so no ring lands on the close button on 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; }
}
/* Tablets (Levi, Nov 18: held upright, the story sat in a narrow column with wide empty margins). Up to 959 px wide (most
   iPads upright) the story fills the screen with 32 px margins. From 960 px (an iPad Pro upright) the desktop layout starts
   early: the story beside the sidebar, which also brings the sidebar's Latest News and its two 300 x 600 ads. */
@media (min-width: 768px) and (max-width: 959px) {
	.gd-article .vc_row.gd-article-row { max-width: calc(100% - 64px); }
}
@media (min-width: 960px) and (max-width: 1139px) {
	.gd-article .vc_row.gd-article-row { max-width: none; margin: 0 !important; padding: 0 24px !important; box-sizing: border-box; display: flex !important; gap: 32px; 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 { flex: 1 1 auto; min-width: 0; width: auto !important; }
	.gd-article .gd-sidebar { display: block !important; width: 300px !important; flex: 0 0 300px; }
}
/* Sidebar: the first 300 x 600 scrolls away with the page and only the second one stays in view (Levi, Nov 18). The theme's
   sticky-sidebar script pinned the whole column, so the first ad jumped each time the column switched from scrolling to pinned. */
@media (min-width: 960px) {
	.gd-article .gd-sidebar > .theiaStickySidebar { position: static !important; top: auto !important; left: auto !important; width: auto !important; transform: none !important; height: 100%; }
	.gd-article .gd-sidebar > .theiaStickySidebar > .wpb_wrapper { height: 100%; }
}

/* 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-avatar--ini { display: flex; align-items: center; justify-content: center; color: #fff; font: 700 14px/1 var(--gd-serif); letter-spacing: .02em; } /* no photo on file: the writer's initials */
.gd-avatar--40.gd-avatar--ini { font-size: 15px; }
.gd-avatar--house { background: #fff; border: 1px solid var(--gd-rule); padding: 5px; box-sizing: border-box; object-fit: contain; } /* Gayety Staff and Gayety Team: the Gayety mark */
.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; }
/* Last Updated sits before the read time; on phones it takes its own line under the date and read time, so it never splits mid-phrase (Levi, Nov 19). */
@media (max-width: 767px) {
	.gd-byline__when { display: flex; flex-wrap: wrap; }
	.gd-byline__upd { order: 3; flex-basis: 100%; white-space: nowrap; }
	.gd-byline__upd .gd-byline__sep { display: none; }
}
@media (max-width: 374px) { /* the smallest phones, on updated stories only: date, read time and Last Updated each on a line, no dots */
	.gd-byline__when:has(.gd-byline__upd) .gd-byline__read { flex-basis: 100%; }
	.gd-byline__when:has(.gd-byline__upd) .gd-byline__read .gd-byline__sep { display: none; }
}
.gd-byline .gd-share { flex-shrink: 0; padding: 0 16px; }
/* Add on Google beside Share on tablets and desktop (Levi, Nov 19); phones have it at the end of the story */
.gd-byline__acts { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.gd-byline .gd-psrc { display: none; }
@media (min-width: 768px) { .gd-byline .gd-psrc { display: inline-flex; padding: 0 14px; } }
@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,
/* Gallery photo groups (HFCM #91 wraps each photo with its heading and text): the text keeps the page margins while the photo
   runs edge to edge on phones (Levi, Nov 19: Heated Rivalry and Mister Global text touched the screen edge). */
.gd-article .gd-main .td-post-content .gallery-image-content > p,
.gd-article .gd-main .td-post-content .gallery-image-content > ul,
.gd-article .gd-main .td-post-content .gallery-image-content > ol,
.gd-article .gd-main .td-post-content .gallery-image-content > h2,
.gd-article .gd-main .td-post-content .gallery-image-content > h3,
.gd-article .gd-main .td-post-content .gallery-image-content > h4,
.gd-article .gd-main .td-post-content .gallery-image-content > blockquote { 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; }
/* Floating video (Levi, Nov 19): it floats bottom right and never locks onto an ad or any other box. Phones: JW's bottom
   right, above the sticky bottom ad and clear of Load More (the rule above). Tablets held sideways and desktop: 300 px wide,
   in the margin just outside the right rail when the window has room for it (1800 px and wider), otherwise in the bottom right
   corner, over whatever sits there, always above the sticky bottom ad and Underdog's EDGE slider. Tablets held upright keep
   the video in the story. */
@media (min-width: 960px) {
	body.gd-article .jw-flag-floating .jw-wrapper, body.gd-home .jw-flag-floating .jw-wrapper, body.gd-arch .jw-flag-floating .jw-wrapper { left: auto !important; right: 16px !important; bottom: max(calc(var(--gd-anchor-h, 0px) + 3rem), calc(var(--gd-foot-lift, 0px) + 32px)) !important; width: 300px !important; height: auto !important; aspect-ratio: 16 / 9; }
}
@media (min-width: 1800px) {
	body.gd-article .jw-flag-floating .jw-wrapper, body.gd-home .jw-flag-floating .jw-wrapper, body.gd-arch .jw-flag-floating .jw-wrapper { right: calc((100vw - 1124px) / 2 - 316px) !important; }
}
@media (min-width: 768px) and (max-width: 959px) {
	body.gd-chrome .jw-flag-floating .jw-wrapper { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; transform: none !important; animation: none !important; box-shadow: none !important; }
	body.gd-chrome .jw-flag-floating .jw-float-bar, body.gd-chrome .jw-flag-floating .jw-float-icon { display: none !important; }
}
/* Desktop sidebar ads beside stories 2 to 5 */
@media (min-width: 1140px) {
	.gd-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(64px + var(--gd-top)); margin: 0 !important; } /* 8 px under the header (Levi, Nov 19: it locked too far down) */
	.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; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0 var(--gd-pad); }
.gd-end__share .gd-share { padding: 0 20px; }
/* Add Gayety on Google (preferred source, Nov 18) */
.gd-end__share .gd-psrc { padding: 0 18px; }
/* Button labels: the full one, or the short one where two buttons share a phone-width row */
.gd-btn .gd-s { display: none; }
/* Phones: Share and Add on Google side by side at the end of the story (Levi, Nov 19) */
@media (max-width: 599px) {
	.gd-end__share { flex-wrap: nowrap; gap: 10px; }
	.gd-end__share .gd-btn { flex: 1 1 0; min-width: 0; max-width: 200px; padding: 0 10px; }
	.gd-end__share .gd-btn .gd-l { display: none; }
	.gd-end__share .gd-btn .gd-s { display: inline; }
}
.gd-chrome .gd-end__note { margin: 10px auto 0 !important; padding: 0 var(--gd-pad); max-width: 420px; text-align: center; font: 400 13px/18px var(--gd-sans) !important; color: var(--gd-gray) !important; }
.gd-h-follow .gd-psrc--dark { align-self: flex-start; margin-top: 6px; height: 44px; padding: 0 16px; background: transparent; color: #fff !important; border: 2px solid #4A4A4A; font-size: 14px; transition: background .15s ease, border-color .15s ease; }
.gd-h-follow .gd-psrc--dark:hover, .gd-h-follow .gd-psrc--dark:focus-visible { background: var(--gd-green); border-color: var(--gd-green); }
.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); }
/* The name links to the writer's page (Levi, Nov 19 launch) */
a.gd-author__name { align-self: flex-start; display: inline-flex; align-items: center; min-height: 24px; color: var(--gd-ink) !important; text-decoration: none !important; } /* 24 px tap target (PageSpeed, Nov 19) */
a.gd-author__name:hover { color: var(--gd-green) !important; text-decoration: underline !important; }
.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; min-height: 24px; margin-top: 0; 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; }
/* Trending titles show in full (Levi, Nov 19). Six lines is only a backstop for an unusually long headline. */
.gd-trending__t { font: 700 15px/21px var(--gd-serif); color: #000; display: -webkit-box; -webkit-line-clamp: 6; -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-skip--top:focus { position: fixed; top: calc(8px + var(--gd-top)); left: 8px; z-index: 100002; margin: 0; padding: 10px 16px; outline: 3px solid var(--gd-green-lt); outline-offset: 2px; }
.gd-skip-to { display: block; height: 0; scroll-margin-top: 72px; }
.gd-skip-to:focus { outline: none; }
.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; }
/* Phones: the ad bands in More Stories run edge to edge with square corners, like every other ad band (Levi, Nov 19) */
.gd-article .gd-main .infeed-ad-placeholder { margin: 0 0 24px !important; width: 100% !important; border-radius: 0; }
@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; }
/* More Stories: after two automatic batches the theme shows its Load More link. Styled like the homepage's Load More Stories (Nov 18). */
.gd-article .gd-main .td-load-more-wrap { text-align: center; margin: 8px 0 40px !important; padding: 0 var(--gd-pad); }
.gd-article .gd-main .td-load-more-wrap .td_ajax_load_more { display: inline-flex !important; align-items: center; justify-content: center; width: 100%; max-width: 400px; height: 48px; margin: 0 !important; padding: 0 18px !important; box-sizing: border-box; border: 2px solid var(--gd-ink) !important; border-radius: 8px !important; background: #fff !important; color: var(--gd-ink) !important; font: 700 14px/1 var(--gd-sans) !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important; box-shadow: none !important; }
.gd-article .gd-main .td-load-more-wrap .td_ajax_load_more:hover { background: var(--gd-ink) !important; color: #fff !important; }
.gd-article .gd-main .td-load-more-wrap .td_ajax_load_more i { display: none !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(64px + var(--gd-top)); } /* 8 px under the header (Levi, Nov 19) */
.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 { border-radius: 3px; padding: 0 7px; background: #C62828; letter-spacing: .08em; }
/* Exclusive: the same label in green (white on #187A4B is 5.4:1), on every background, bands included (Levi, Nov 19) */
.gd-exclusive { display: inline-block; vertical-align: middle; margin-right: 8px; padding: 2px 7px; border-radius: 3px; background: #187A4B; color: #fff !important; font: 700 11px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; }
.gd-latest__k .gd-exclusive, .gd-top__k .gd-exclusive { margin-right: 0; }
.gd-top__k .gd-exclusive { font-size: 12px; }
.gd-thumb__gal--exc { border-radius: 3px; padding: 0 7px; background: #187A4B; letter-spacing: .08em; }
.gd-thumb__gal--spon { border-radius: 3px; padding: 0 7px; background: #fff; color: #000; letter-spacing: .08em; }
/* Phones: small row photos have room for one label, the first one (Breaking, Exclusive or Sponsored before Photos and Video) */
@media (max-width: 767px) { .gd-ac--row .gd-thumb__tags > :nth-child(n+2), .gd-c--row .gd-thumb__tags > :nth-child(n+2) { display: none; } } /* the same rounded rectangle as the Breaking News label on stories, never a pill */
.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); }
/* "All Latest News" under a Latest list: the words and the arrow on one line (Levi, Nov 19). */
.gd-latest a.gd-h-head__all { flex-direction: row; justify-content: center; align-items: center; gap: 6px; padding: 14px 0; margin: 0; top: 0; white-space: nowrap; font: 700 14px/20px var(--gd-sans); color: var(--gd-green) !important; }
.gd-latest a.gd-h-head__all:hover { color: #000 !important; }

/* 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; }
/* AdGrid's footer ad (leaderboard_mobile, every page but the homepage and search) sits in its own box right above the footer.
   Like every ad in the scroll, it gets the light band and the Advertisement label, so its reserved space reads as an ad. */
@media (max-width: 767px) { /* AdGrid fills it on phones only; on larger screens the box stays empty, so it gets no band there */
	body.gd-chrome .td-footer-template-wrap.adgrid-ad-container { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 0 !important; background: var(--gd-band); box-sizing: border-box; }
	body.gd-chrome .td-footer-template-wrap.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; }
	body.gd-chrome .td-footer-template-wrap.adgrid-ad-container > * { margin: 0 auto !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). */

/* ---------- Static pages (About, Contact, Advertise With Us, legal): the theme's page templates in the redesign's type ---------- */
body.gd-page .td-main-content-wrap { padding: 0 0 56px; }
body.gd-page .td-main-content-wrap > .td-container { width: auto; max-width: 1124px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
body.gd-page .td-pb-row { margin: 0; }
body.gd-page .td-pb-row > .td-main-content { width: 100%; max-width: 720px; float: none; padding: 0; }
body.gd-page .td-pb-row > .td-main-sidebar { display: none; }
body.gd-page .td-crumb-container { padding: 16px 0 0; min-height: 0; }
body.gd-page .entry-crumbs { margin: 0; font: 600 13px/18px var(--gd-sans) !important; color: var(--gd-ink) !important; }
body.gd-page .entry-crumbs a { color: var(--gd-gray) !important; text-decoration: none !important; }
body.gd-page .entry-crumbs a:hover { color: var(--gd-green) !important; }
body.gd-page .entry-crumbs .td-bread-sep { font-size: 9px; color: #8A867D; margin: 0 6px; }
body.gd-page .td-page-header, body.gd-page .td-post-header { margin: 12px 0 20px; padding: 0; }
body.gd-page .td-post-header .td-category, body.gd-page .td-post-header .td-module-meta-info, body.gd-page .td-post-sharing, body.gd-page .td-post-source-tags, body.gd-page .td-post-next-prev, body.gd-page .td-author-name, body.gd-page .comments { display: none !important; } /* Terms: no byline, views or share buttons on a legal page */
body.gd-page .td-page-title, body.gd-page .td-post-header .entry-title, body.gd-page .tdc-content-wrap h1.td-block-title { margin: 0 !important; padding: 0 !important; font: 800 32px/36px var(--gd-serif) !important; letter-spacing: -.015em !important; color: #000 !important; text-transform: none !important; }
body.gd-page .td-page-title span, body.gd-page h1.td-block-title span { font: inherit !important; color: inherit !important; padding: 0 !important; margin: 0 !important; background: none !important; text-transform: none !important; letter-spacing: inherit !important; }
body.gd-page .tdc-content-wrap h1.td-block-title { background: none !important; border: 0 !important; } /* Composer pages: the theme's black title badge */
body.gd-page .tdc-content-wrap h1.td-block-title::before, body.gd-page .tdc-content-wrap h1.td-block-title::after { display: none !important; }
body.gd-page .tdc-content-wrap .td-block-title-wrap { margin: 16px 0 20px !important; }
body.gd-page .td-page-content, body.gd-page .td-page-content p, body.gd-page .td-page-content li, body.gd-page .td-post-content, body.gd-page .td-post-content p, body.gd-page .td-post-content li { font-family: var(--gd-sans) !important; font-size: 17px !important; line-height: 28px !important; color: var(--gd-ink) !important; }
body.gd-page .td-page-content p, body.gd-page .td-post-content p { margin: 0 0 20px !important; }
body.gd-page .td-page-content h2, body.gd-page .td-page-content h3, body.gd-page .td-page-content h4, body.gd-page .td-post-content h2, body.gd-page .td-post-content h3, body.gd-page .td-post-content h4 { font-family: var(--gd-serif) !important; color: #000 !important; letter-spacing: -.01em; text-transform: none !important; }
body.gd-page .td-page-content h2, body.gd-page .td-post-content h2 { margin: 36px 0 12px !important; font-size: 26px !important; line-height: 32px !important; font-weight: 700 !important; }
body.gd-page .td-page-content h3, body.gd-page .td-post-content h3 { margin: 28px 0 10px !important; font-size: 21px !important; line-height: 27px !important; font-weight: 700 !important; }
body.gd-page .td-page-content h4, body.gd-page .td-post-content h4 { margin: 24px 0 8px !important; font-size: 18px !important; line-height: 24px !important; font-weight: 700 !important; }
body.gd-page .td-page-content > :first-child, body.gd-page .td-post-content > :first-child { margin-top: 0 !important; }
body.gd-page .td-page-content a, body.gd-page .td-post-content a { color: var(--gd-green) !important; text-decoration: underline !important; text-underline-offset: 2px; }
body.gd-page .td-page-content a:hover, body.gd-page .td-post-content a:hover { color: #146640 !important; }
body.gd-page .td-page-content ul, body.gd-page .td-page-content ol, body.gd-page .td-post-content ul, body.gd-page .td-post-content ol { margin: 0 0 20px 22px; padding: 0; }
body.gd-page .td-page-content li, body.gd-page .td-post-content li { margin: 0 0 8px; }
body.gd-page .td-page-content strong, body.gd-page .td-page-content b, body.gd-page .td-post-content strong, body.gd-page .td-post-content b { font-weight: 700; }
/* Composer pages (Contact, Advertise With Us): their text blocks set their own small, all-caps type; this brings them
   to the other pages' type until both pages are rebuilt (task 112). Weights stay as written. */
body.gd-page .tdc-content-wrap .td_block_text_with_title .td_mod_wrap, body.gd-page .tdc-content-wrap .td_block_text_with_title .td_mod_wrap :is(p, li, h2, h3, h4, h5, div) { font-family: var(--gd-sans) !important; font-size: 17px !important; line-height: 28px !important; color: var(--gd-ink) !important; text-transform: none !important; letter-spacing: normal !important; }
body.gd-page .tdc-content-wrap .td_block_text_with_title .td_mod_wrap :is(p, h2, h3, h4, h5) { margin: 0 0 16px !important; padding: 0 !important; }
body.gd-page .tdc-content-wrap .td_block_text_with_title .td_mod_wrap a { color: var(--gd-green) !important; text-decoration: underline !important; text-underline-offset: 2px; }
@media (min-width: 768px) {
	body.gd-page .td-main-content-wrap > .td-container { padding: 0 44px; max-width: 768px; }
	body.gd-page .td-page-title, body.gd-page .td-post-header .entry-title, body.gd-page .tdc-content-wrap h1.td-block-title { font-size: 44px !important; line-height: 48px !important; }
}
@media (min-width: 1140px) {
	body.gd-page .td-main-content-wrap > .td-container { padding: 0; max-width: 1124px; }
	body.gd-page .td-page-title, body.gd-page .td-post-header .entry-title, body.gd-page .tdc-content-wrap h1.td-block-title { font-size: 48px !important; line-height: 54px !important; }
	body.gd-page .td-page-content, body.gd-page .td-page-content p, body.gd-page .td-page-content li, body.gd-page .td-post-content, body.gd-page .td-post-content p, body.gd-page .td-post-content li { font-size: 18px !important; line-height: 30px !important; }
	body.gd-page .tdc-content-wrap .td_block_text_with_title .td_mod_wrap, body.gd-page .tdc-content-wrap .td_block_text_with_title .td_mod_wrap :is(p, li, h2, h3, h4, h5, div) { font-size: 18px !important; line-height: 30px !important; }
}

/* ---------- Contact form (inc/contact.php, Nov 18) ---------- */
.gd-contact { margin: 40px 0 0; padding: 28px 20px; border-radius: 16px; background: #F6F5F1; box-sizing: border-box; }
/* On Contact Us the form and its side column follow the page's own text block, with the same margins and width (1020 px on desktop) */
.tdc-content-wrap > .gd-contact-grid { max-width: 1020px; margin: 24px 20px 56px; display: grid; gap: 20px; }
@media (min-width: 1060px) { .tdc-content-wrap > .gd-contact-grid { margin: 32px auto 72px; } }
@media (min-width: 960px) { .gd-contact-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; } }
.gd-contact-grid > .gd-contact { margin: 0; }
/* Contact Us: less white space between the title, the paragraph under it and the form (Levi, Nov 19) */
body.gd-page:has(.gd-contact-grid) .td-block-title-wrap { margin-bottom: 4px !important; }
body.gd-page:has(.gd-contact-grid) .td_block_text_with_title { margin-bottom: 0 !important; }
body.gd-page:has(.gd-contact-grid) .td_block_text_with_title p:last-child { margin-bottom: 0 !important; }
.gd-contact-side { display: flex; flex-direction: column; gap: 20px; }
.gd-chrome .gd-contact-side .gd-h-follow__h { white-space: normal; font-size: 22px !important; line-height: 28px !important; }
.gd-contact-side .gd-menu__social { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 639px) { .gd-contact-side .gd-menu__social { display: grid; grid-template-columns: repeat(5, 44px); justify-content: space-between; gap: 12px 0; } } /* phones: two even rows of five (Levi, Nov 19) */
.gd-contact-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 24px; border-radius: 16px; border: 1.5px solid var(--gd-rule); background: #fff; box-sizing: border-box; }
.gd-contact-card__k { font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green); }
.gd-chrome .gd-contact-card__h { margin: 0 !important; padding: 0 !important; font: 700 22px/28px var(--gd-serif) !important; letter-spacing: 0 !important; color: #000 !important; text-transform: none !important; }
.gd-chrome .gd-contact-card__mail { font: 700 17px/24px var(--gd-sans) !important; color: var(--gd-green) !important; text-decoration: underline !important; text-underline-offset: 3px; word-break: break-word; }
.gd-chrome .gd-contact-card__p { margin: 4px 0 0 !important; font: 400 14px/20px var(--gd-sans) !important; color: var(--gd-gray) !important; }
.gd-chrome .gd-contact-card__p a { color: var(--gd-ink) !important; font-weight: 700; text-decoration: underline !important; }
.gd-contact__dek, .gd-contact__form, .gd-contact__alt, .gd-contact__done { max-width: 720px; }
.gd-chrome .gd-contact__h { margin: 0 0 8px !important; padding: 0 !important; font: 700 26px/32px var(--gd-serif) !important; letter-spacing: -.01em !important; color: #000 !important; text-transform: none !important; }
.gd-chrome .gd-contact__dek { margin: 0 0 20px !important; font: 400 16px/24px var(--gd-sans) !important; color: var(--gd-ink) !important; }
.gd-contact__form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.gd-contact__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .gd-contact__row { grid-template-columns: 1fr 1fr; } }
.gd-chrome .gd-field { margin: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.gd-chrome .gd-field label { margin: 0; font: 700 14px/18px var(--gd-sans) !important; color: #000 !important; text-transform: none !important; letter-spacing: 0 !important; }
.gd-chrome .gd-field input, .gd-chrome .gd-field select, .gd-chrome .gd-field textarea { width: 100%; max-width: none; box-sizing: border-box; min-height: 48px; margin: 0; padding: 12px 14px; border: 1.5px solid #BDB7AB; border-radius: 10px; background-color: #fff; font: 400 16px/22px var(--gd-sans) !important; color: var(--gd-ink); box-shadow: none; -webkit-appearance: none; appearance: none; }
.gd-chrome .gd-field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.gd-chrome .gd-field textarea { min-height: 168px; resize: vertical; }
.gd-chrome .gd-field input:focus, .gd-chrome .gd-field select:focus, .gd-chrome .gd-field textarea:focus { outline: none; border-color: var(--gd-green); box-shadow: 0 0 0 3px rgba(27, 132, 82, .25); }
.gd-chrome .gd-field [aria-invalid="true"] { border-color: #C62828; }
.gd-contact__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gd-contact__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.gd-contact__send { height: 48px; padding: 0 28px; }
.gd-contact__send[disabled] { opacity: .6; cursor: default; }
.gd-chrome .gd-contact__msg { margin: 0 !important; font: 500 14px/20px var(--gd-sans) !important; color: var(--gd-gray) !important; }
.gd-chrome .gd-contact__msg.is-error { color: #C62828 !important; }
.gd-chrome .gd-contact__alt { margin: 16px 0 0 !important; font: 400 14px/20px var(--gd-sans) !important; color: var(--gd-gray) !important; }
.gd-chrome .gd-contact__alt a { color: var(--gd-green) !important; text-decoration: underline !important; text-underline-offset: 2px; }
.gd-contact__done { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 12px; background: #fff; outline: none; }
.gd-contact__done .gd-thanks__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--gd-green); color: #fff; display: flex; align-items: center; justify-content: center; }
.gd-contact__done-h { display: block; font: 700 20px/26px var(--gd-serif); color: #000; }
.gd-contact__done-p { display: block; margin-top: 2px; font: 400 15px/22px var(--gd-sans); color: var(--gd-ink); }
@media (min-width: 768px) { .gd-contact { padding: 32px; } .gd-chrome .gd-contact__h { font-size: 30px !important; line-height: 36px !important; } }

/* ---------- About Gayety (Nov 18): wider page, stats, What We Cover, the timeline, the writers and three ways in ---------- */
body.gd-about-page .td-pb-row > .td-main-content { max-width: 1084px; }
body.gd-about-page .td-page-title { font-size: 40px !important; line-height: 44px !important; }
/* About: the opening line and the paragraphs under each heading run the page's full width (Levi, Nov 19) */
body.gd-page .td-page-content .gd-about > p, body.gd-page .td-page-content .gd-about > h2 { max-width: none; }
body.gd-page .td-page-content .gd-about > h2 { margin: 56px 0 16px !important; font-size: 30px !important; line-height: 36px !important; }
body.gd-page .td-page-content .gd-about p.gd-about__dek { font: 500 20px/32px var(--gd-sans) !important; color: var(--gd-ink); margin: 0 0 32px !important; }
.gd-about__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin: 0 0 8px; }
.gd-about__stats > div { border-top: 3px solid var(--gd-green); padding-top: 14px; }
.gd-about__stats strong { display: block; font: 800 34px/38px var(--gd-serif); color: #000; letter-spacing: -.01em; }
.gd-about__stats span { display: block; margin-top: 6px; font: 600 13px/18px var(--gd-sans); color: var(--gd-gray); }
.gd-about__cover { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
body.gd-page .td-page-content .gd-about a.gd-about__sec { display: block; padding: 18px 20px; border: 1px solid var(--gd-rule); border-radius: 12px; color: var(--gd-ink) !important; text-decoration: none !important; transition: border-color .15s ease, box-shadow .15s ease; }
body.gd-page .td-page-content .gd-about a.gd-about__sec:hover { border-color: var(--gd-green); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.gd-about__sec strong { display: flex; align-items: center; justify-content: space-between; font: 700 20px/26px var(--gd-serif); color: #000; }
.gd-about__sec strong::after { content: "\2192"; font: 600 18px/1 var(--gd-sans); color: var(--gd-green); }
.gd-about__sec span { display: block; margin-top: 6px; font: 400 15px/22px var(--gd-sans); color: var(--gd-gray); }
body.gd-page .td-page-content ol.gd-tl { position: relative; list-style: none; margin: 8px 0 0 !important; padding: 0 0 0 32px; max-width: 760px; }
ol.gd-tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--gd-rule); }
body.gd-page .td-page-content ol.gd-tl > li { position: relative; margin: 0 0 32px !important; padding: 0; }
ol.gd-tl > li:last-child { margin-bottom: 0 !important; }
ol.gd-tl > li::before { content: ""; position: absolute; left: -32px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--gd-green); box-shadow: 0 0 0 4px #fff; }
ol.gd-tl > li:last-child::before { background: #000; }
.gd-tl__d { display: block; font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green); }
body.gd-page .td-page-content ol.gd-tl h3 { margin: 6px 0 6px !important; font-size: 22px !important; line-height: 28px !important; }
body.gd-page .td-page-content ol.gd-tl p { margin: 0 !important; }
body.gd-page .td-page-content ul.gd-about__team { list-style: none; margin: 20px 0 0 !important; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.gd-page .td-page-content ul.gd-about__team > li { margin: 0 !important; }
body.gd-page .td-page-content .gd-about__team a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%; padding: 20px 12px; border-radius: 12px; background: var(--gd-card); color: var(--gd-ink) !important; text-decoration: none !important; box-sizing: border-box; }
body.gd-page .td-page-content .gd-about__team a:hover strong { color: var(--gd-green); }
.gd-about__ph { position: relative; display: block; width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%; overflow: hidden; background: #000; }
.gd-about__ph > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 22px/1 var(--gd-sans); color: #fff; }
.gd-about__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gd-about__team strong { font: 700 15px/20px var(--gd-sans); color: #000; transition: color .15s ease; }
.gd-about__role { font: 500 13px/18px var(--gd-sans); color: var(--gd-gray); }
.gd-about__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
body.gd-page .td-page-content .gd-about .gd-about__card { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; border: 0; border-radius: 14px; background: var(--gd-card); color: var(--gd-ink) !important; text-decoration: none !important; text-align: left; font: inherit; cursor: pointer; box-sizing: border-box; width: 100%; --gd-green: #187A4B; }
body.gd-page .td-page-content .gd-about .gd-about__card--dark { background: #000; color: #fff !important; --gd-green: var(--gd-green-lt); }
.gd-about__k { font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green); }
.gd-about__card strong { font: 800 22px/28px var(--gd-serif); color: inherit; }
.gd-about__card > span:last-child { font: 400 15px/22px var(--gd-sans); color: inherit; opacity: .85; }
.gd-about__card strong::after { content: " \2192"; font-family: var(--gd-sans); }
/* Each card's heading and its arrow stay on one line at every width; narrow cards (tablets, upright) get a smaller heading (Levi, Nov 19) */
body.gd-page .td-page-content .gd-about .gd-about__card { container-type: inline-size; }
.gd-about__card strong { white-space: nowrap; font-size: min(22px, 9.6cqi); }
.gd-about__card:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 600px) {
	.gd-about__cover { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.gd-page .td-page-content ul.gd-about__team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	body.gd-about-page .td-page-title { font-size: 52px !important; line-height: 56px !important; }
	.gd-about__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gd-about__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
	.gd-about__cover { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.gd-page .td-page-content ul.gd-about__team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Advertise With Us (Nov 18): a sales page. Stats, five ways to partner, why Gayety, where ads run, how it works
   and an inquiry form that goes to the partnerships inbox. The copy lives in the page's own text. ---------- */
body.gd-adv-page .td-pb-row > .td-main-content { max-width: 1084px; }
body.gd-adv-page .td-page-title { font-size: 40px !important; line-height: 44px !important; }
.gd-adv { --gd-green: #187A4B; }
body.gd-page .td-page-content .gd-adv p.gd-adv__dek { max-width: none; margin: 0 0 24px !important; font: 500 20px/32px var(--gd-sans) !important; color: var(--gd-ink) !important; }
.gd-adv__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 40px; }
body.gd-page .td-page-content .gd-adv .gd-adv__ctas a { height: 48px; padding: 0 22px; font-size: 16px; text-decoration: none !important; }
body.gd-page .td-page-content .gd-adv .gd-adv__ctas a.gd-btn--green { color: #fff !important; }
body.gd-page .td-page-content .gd-adv .gd-adv__ctas a.gd-btn--outline { color: var(--gd-ink) !important; }
/* Hover only where there is a mouse: on phones a tap left the text white on the white button (Levi, Nov 19 launch) */
@media (hover: hover) { body.gd-page .td-page-content .gd-adv .gd-adv__ctas a.gd-btn--outline:hover { color: #fff !important; } }
body.gd-page .td-page-content .gd-adv .gd-adv__ctas a.gd-btn--outline:active { color: #fff !important; }
.gd-adv__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 8px; border-radius: 16px; overflow: hidden; background: #2B2B2B; }
.gd-adv__stats > div { padding: 22px 18px 24px; background: #000; color: #fff; }
.gd-adv__stats strong { display: block; font: 800 34px/38px var(--gd-serif); color: #fff; letter-spacing: -.01em; }
.gd-adv__stats span { display: block; margin-top: 8px; font: 500 14px/20px var(--gd-sans); color: #D9D6CE; }
.gd-adv__stats > div:first-child strong { color: var(--gd-green-lt); }
body.gd-page .td-page-content .gd-adv > h2 { max-width: 780px; margin: 64px 0 8px !important; font-size: 30px !important; line-height: 36px !important; }
body.gd-page .td-page-content .gd-adv p.gd-adv__lede { max-width: none; margin: 0 0 24px !important; color: var(--gd-gray) !important; }
body.gd-page .td-page-content .gd-adv ol.gd-adv__formats { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
body.gd-page .td-page-content .gd-adv ol.gd-adv__formats > li { position: relative; margin: 0 !important; padding: 22px 22px 24px; border: 1px solid var(--gd-rule); border-radius: 14px; background: #fff; }
.gd-adv__n { display: block; margin-bottom: 10px; font: 700 13px/16px var(--gd-sans); letter-spacing: .08em; color: var(--gd-green); }
body.gd-page .td-page-content .gd-adv .gd-adv__formats h3 { margin: 0 0 6px !important; font-size: 22px !important; line-height: 28px !important; }
body.gd-page .td-page-content .gd-adv .gd-adv__formats p { margin: 0 !important; font-size: 16px !important; line-height: 25px !important; color: var(--gd-ink) !important; }
.gd-adv__band { margin: 64px 0 0; padding: 32px 22px; border-radius: 18px; background: #000; color: #fff; --gd-green: var(--gd-green-lt); }
.gd-adv__k { display: block; font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green); }
body.gd-page .td-page-content .gd-adv .gd-adv__band h2 { margin: 8px 0 24px !important; font-size: 30px !important; line-height: 36px !important; color: #fff !important; }
.gd-adv__why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.gd-adv__why > div { border-top: 2px solid var(--gd-green-lt); padding-top: 14px; }
body.gd-page .td-page-content .gd-adv .gd-adv__why h3 { margin: 0 0 6px !important; font-size: 20px !important; line-height: 26px !important; color: #fff !important; }
body.gd-page .td-page-content .gd-adv .gd-adv__why p { margin: 0 !important; font-size: 16px !important; line-height: 25px !important; color: #D9D6CE !important; }
body.gd-page .td-page-content .gd-adv ul.gd-adv__secs { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--gd-rule); }
body.gd-page .td-page-content .gd-adv ul.gd-adv__secs > li { margin: 0 !important; border-bottom: 1px solid var(--gd-rule); }
body.gd-page .td-page-content .gd-adv .gd-adv__secs a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 16px 0; color: var(--gd-ink) !important; text-decoration: none !important; }
.gd-adv__secs strong { flex: 0 0 170px; font: 700 19px/24px var(--gd-serif); color: #000; white-space: nowrap; }
.gd-adv__secs strong::after { content: " \2192"; font: 600 16px/1 var(--gd-sans); color: var(--gd-green); }
.gd-adv__secs span { flex: 1 1 260px; font: 400 15px/22px var(--gd-sans); color: var(--gd-gray); }
body.gd-page .td-page-content .gd-adv .gd-adv__secs a:hover strong { color: var(--gd-green); }
body.gd-page .td-page-content .gd-adv ol.gd-adv__steps { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; counter-reset: gdstep; }
body.gd-page .td-page-content .gd-adv ol.gd-adv__steps > li { margin: 0 !important; padding: 0 0 0 56px; position: relative; counter-increment: gdstep; }
body.gd-page .td-page-content .gd-adv ol.gd-adv__steps > li::before { content: counter(gdstep); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gd-green); color: #fff; font: 700 17px/40px var(--gd-sans); text-align: center; }
body.gd-page .td-page-content .gd-adv .gd-adv__steps h3 { margin: 6px 0 4px !important; font-size: 20px !important; line-height: 26px !important; }
body.gd-page .td-page-content .gd-adv .gd-adv__steps p { margin: 0 !important; font-size: 16px !important; line-height: 25px !important; }
.gd-adv .gd-contact--ads { margin: 64px 0 0; scroll-margin-top: 72px; }
/* Desktop: the pitch on the left, the form on the right */
@media (min-width: 960px) {
	.gd-adv .gd-contact--ads { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start; padding: 40px 40px 44px; }
	.gd-adv .gd-contact--ads > .gd-contact__k, .gd-adv .gd-contact--ads > .gd-contact__h, .gd-adv .gd-contact--ads > .gd-contact__dek, .gd-adv .gd-contact--ads > .gd-contact__alt { grid-column: 1; }
	.gd-adv .gd-contact--ads > .gd-contact__form { grid-column: 2; grid-row: 1 / span 5; max-width: none; }
	.gd-adv .gd-contact--ads > .gd-contact__alt { margin-top: 4px; }
	.gd-chrome .gd-adv .gd-contact--ads .gd-contact__h { font-size: 34px !important; line-height: 40px !important; }
}
.gd-contact__k { display: block; margin-bottom: 6px; font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green); }
@media (min-width: 640px) {
	body.gd-page .td-page-content .gd-adv ol.gd-adv__formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gd-adv__band { padding: 40px 36px; }
}
@media (min-width: 960px) {
	body.gd-adv-page .td-page-title { font-size: 56px !important; line-height: 60px !important; }
	.gd-adv__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gd-adv__stats > div { padding: 28px 24px 30px; }
	.gd-adv__stats strong { font-size: 40px; line-height: 44px; }
	body.gd-page .td-page-content .gd-adv ol.gd-adv__formats { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* six formats: two even rows of three (Paid Media added Nov 19) */
	.gd-adv__why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
	.gd-adv__band { padding: 48px 48px 52px; }
	body.gd-page .td-page-content .gd-adv ul.gd-adv__secs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
	body.gd-page .td-page-content .gd-adv ol.gd-adv__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* ---------- Legal pages (Terms, Privacy, GDPR), Nov 18: a reading layout. The wording is untouched. The three pages link to each
   other, every section heading gets its own link, and On This Page lists them: beside the text on desktop, folded up top on
   phones. Editorial Standards uses the same layout (Nov 19); it is a WordPress page, so its text sits in .td-page-content
   where the legal pages' sits in .td-post-content. ---------- */
body.gd-legal-page .td-pb-row > .td-main-content { max-width: 1084px; }
body.gd-legal-page .td-post-header { max-width: 1084px; }
body.gd-legal-page .td-post-header .entry-title { font-size: 36px !important; line-height: 40px !important; }
.gd-legal { --gd-green: #187A4B; }
.gd-legal__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
body.gd-page .td-post-content .gd-legal__tabs a, body.gd-page .td-page-content .gd-legal__tabs a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid var(--gd-rule); border-radius: 999px; font: 700 14px/1 var(--gd-sans); color: var(--gd-ink) !important; text-decoration: none !important; }
body.gd-page .td-post-content .gd-legal__tabs a:hover, body.gd-page .td-page-content .gd-legal__tabs a:hover { border-color: var(--gd-ink); }
body.gd-page .td-post-content .gd-legal__tabs a[aria-current="page"], body.gd-page .td-page-content .gd-legal__tabs a[aria-current="page"] { background: #000; border-color: #000; color: #fff !important; }
.gd-legal__toc--phone { margin: 0 0 28px; border: 1px solid var(--gd-rule); border-radius: 12px; background: var(--gd-card); }
.gd-legal__toc--phone summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; font: 700 15px/20px var(--gd-sans); color: #000; cursor: pointer; list-style: none; }
.gd-legal__toc--phone summary::-webkit-details-marker { display: none; }
.gd-legal__toc--phone summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg) translateY(-3px); transition: transform .15s ease; }
.gd-legal__toc--phone[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
body.gd-page .td-post-content .gd-legal__toc ol, body.gd-page .td-page-content .gd-legal__toc ol { list-style: none; margin: 0 !important; padding: 0 16px 12px; counter-reset: gdtoc; }
body.gd-page .td-post-content .gd-legal__toc li, body.gd-page .td-page-content .gd-legal__toc li { margin: 0 !important; counter-increment: gdtoc; font-size: 15px !important; line-height: 20px !important; }
body.gd-page .td-post-content .gd-legal__toc a, body.gd-page .td-page-content .gd-legal__toc a { display: flex; gap: 10px; padding: 8px 0; color: var(--gd-ink) !important; text-decoration: none !important; }
body.gd-page .td-post-content .gd-legal__toc a::before, body.gd-page .td-page-content .gd-legal__toc a::before { content: counter(gdtoc, decimal-leading-zero); flex: 0 0 auto; font: 600 12px/20px var(--gd-sans); color: var(--gd-gray); }
body.gd-page .td-post-content .gd-legal__toc a:hover, body.gd-page .td-page-content .gd-legal__toc a:hover, body.gd-page .td-post-content .gd-legal__toc a[aria-current="true"], body.gd-page .td-page-content .gd-legal__toc a[aria-current="true"] { color: var(--gd-green) !important; }
.gd-legal__toc--side { display: none; }
.gd-legal__body { min-width: 0; max-width: 720px; }
body.gd-page .td-post-content .gd-legal__body h2, body.gd-page .td-page-content .gd-legal__body h2 { scroll-margin-top: 80px; }
body.gd-page .td-post-content .gd-legal__body h2 strong, body.gd-page .td-page-content .gd-legal__body h2 strong { font-weight: inherit; }
/* Definition lists ("Personal Data" then what it means): the term sits on its own line, so the two don't run together */
body.gd-page .td-post-content .gd-legal__body li > strong:first-child, body.gd-page .td-page-content .gd-legal__body li > strong:first-child { display: block; margin-bottom: 2px; color: #000; }
body.gd-page .td-post-content p.gd-legal__updated, body.gd-page .td-page-content p.gd-legal__updated { display: inline-block; margin: 0 0 24px !important; padding: 6px 12px; border-radius: 999px; background: var(--gd-card); font: 600 14px/20px var(--gd-sans) !important; color: var(--gd-gray) !important; }
.gd-legal__help { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 40px 0 0; padding: 20px 22px; border-radius: 14px; background: var(--gd-card); font: 400 16px/24px var(--gd-sans); color: var(--gd-ink); }
.gd-legal__help strong { font: 700 18px/24px var(--gd-serif); color: #000; }
body.gd-page .td-post-content .gd-legal__help a, body.gd-page .td-page-content .gd-legal__help a { font-weight: 700; color: var(--gd-green) !important; }
@media (min-width: 1024px) {
	body.gd-legal-page .td-post-header .entry-title { font-size: 48px !important; line-height: 52px !important; }
	.gd-legal__toc--phone { display: none; }
	.gd-legal__grid { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 56px; align-items: start; }
	.gd-legal__toc--side { display: block; position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; padding: 4px 0 8px; border-top: 3px solid #000; }
	.gd-legal__toc--side .gd-legal__k { display: block; padding: 14px 0 6px; font: 700 12px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: #000; }
	body.gd-page .td-post-content .gd-legal__toc--side ol, body.gd-page .td-page-content .gd-legal__toc--side ol { padding: 0; }
	body.gd-page .td-post-content .gd-legal__toc--side a, body.gd-page .td-page-content .gd-legal__toc--side a { padding: 7px 0; border-bottom: 1px solid var(--gd-rule); }
}
@media print {
	.gd-legal__tabs, .gd-legal__toc, .gd-legal__help { display: none !important; }
	.gd-legal__grid { display: block; }
}

/* PageSpeed accessibility fixes (Nov 18): the theme's breadcrumb links on pages (About, Advertise, legal) are underlined so
   they read as links without relying on color, and legal pages drop the theme's author box (its tiny link was too small to tap). */
body.gd-page .entry-crumbs a.entry-crumb { text-decoration: underline !important; text-underline-offset: 3px; }
body.gd-legal-page .author-box-wrap { display: none !important; }

/* Story footer taps (Nov 18 controls test). The old Gayety Accessible Sharing plugin's CSS sets .td-footer-template-wrap
   { z-index: -10 !important } on story pages, which puts the footer behind the page: taps on Back to Top, the socials and
   the footer links land on the page instead (live has the same problem today). The footer goes back in the page. */
body.gd-chrome .td-footer-template-wrap { z-index: 0 !important; }

/* More Stories cards hold their look even when an optimizer trims the theme's CSS (Nov 19 review): no underlined titles
   or labels, and every card stays inside the page margins. */
.gd-article .gd-main .td_flex_block_6 a, .gd-article .gd-main .td_flex_block_6 .entry-title a, .gd-article .gd-main .td_flex_block_6 .td-post-category { text-decoration: none !important; }
.gd-article .gd-main .td_flex_block_6 .td_module_wrap, .gd-article .gd-main .td_flex_block_6 .td-module-container { box-sizing: border-box; max-width: 100%; }
.gd-chrome .gd-c__a, .gd-chrome .gd-c__a:hover, .gd-chrome .gd-c__t { text-decoration: none !important; }

/* More Stories grid, written out so it holds even when an optimizer trims the theme's CSS (Nov 19): one card per row on
   phones, two on tablets and desktop (the theme's own layout), ads full width between them. */
.gd-article .gd-main .td_flex_block_6 .td_block_inner { display: flex !important; flex-wrap: wrap !important; margin-left: -20px !important; margin-right: -20px !important; }
.gd-article .gd-main .td_flex_block_6 .td_module_wrap { width: 100%; padding-left: 20px; padding-right: 20px; }
@media (min-width: 768px) { .gd-article .gd-main .td_flex_block_6 .td_module_wrap { width: 50%; } }

/* YouTube in a story holds its 16:9 shape from the start, so it never draws tall and then snaps short (Nov 19). */
.gd-article .gd-main .td-post-content iframe[src*="youtube.com/embed"], .gd-article .gd-main .td-post-content iframe[src*="youtube-nocookie.com/embed"], .gd-article .gd-main .td-post-content iframe[data-src*="youtube"], .gd-article .gd-main .td-post-content iframe[nitro-lazy-src*="youtube"] { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }

/* Static pages: the theme's empty sharing box under the text drew two thin gray lines above the footer (Levi, Nov 19) */
body.gd-page .td-post-sharing-bottom { display: none !important; }

/* ---------- Loading (Levi, Nov 19): the Gayety g pulsing inside a green ring, wherever more stories load ----------
   The theme's loader under More Stories, and the design's own Load More buttons while they fetch. The g is the site icon. */
@keyframes gd-spin { to { transform: rotate(360deg); } }
@keyframes gd-pulse { 0%, 100% { transform: scale(.84); opacity: .65; } 50% { transform: scale(1); opacity: 1; } }
.gd-chrome .td-loader-gif { position: relative; left: auto !important; top: auto !important; transform: none !important; width: 56px !important; height: 56px !important; margin: 24px auto !important; padding: 0 !important; background: none !important; border: 0 !important; }
.gd-chrome .td-loader-gif > * { display: none !important; }
.gd-chrome .td-loader-gif::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(27, 132, 82, .18); border-top-color: #1B8452; box-sizing: border-box; animation: gd-spin .9s linear infinite; }
.gd-chrome .td-loader-gif::after { content: ""; position: absolute; inset: 14px; background: url(/wp-content/uploads/2025/05/cropped-gayety-favicon-large-black-300x300.png) center / contain no-repeat; animation: gd-pulse 1.2s ease-in-out infinite; }
.gd-chrome .gd-arc__morebtn[aria-busy="true"], .gd-chrome .gd-h-more__btn[aria-busy="true"] { position: relative; color: transparent !important; opacity: 1; }
.gd-chrome .gd-arc__morebtn[aria-busy="true"]::before, .gd-chrome .gd-h-more__btn[aria-busy="true"]::before { content: ""; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 2.5px solid rgba(27, 132, 82, .18); border-top-color: #1B8452; box-sizing: border-box; animation: gd-spin .9s linear infinite; }
.gd-chrome .gd-arc__morebtn[aria-busy="true"]::after, .gd-chrome .gd-h-more__btn[aria-busy="true"]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: url(/wp-content/uploads/2025/05/cropped-gayety-favicon-large-black-300x300.png) center / contain no-repeat; animation: gd-pulse 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
	.gd-chrome .td-loader-gif::before, .gd-chrome .td-loader-gif::after, .gd-chrome .gd-arc__morebtn[aria-busy="true"]::before, .gd-chrome .gd-arc__morebtn[aria-busy="true"]::after, .gd-chrome .gd-h-more__btn[aria-busy="true"]::before, .gd-chrome .gd-h-more__btn[aria-busy="true"]::after { animation: none; }
}
