/* Gayety Design 2026: the homepage (rebuilt Nov 15 evening). Loaded only on the homepage, after gd.css.
   Screens: phones up to 767 px, tablets 768 to 1139 px (one 680 px column), desktop 1140 px and up (776 + 48 + 300).
   Ad slots switch at 728 px instead of 768, because that is where AdGrid's phone sizes stop and its leaderboards start. */

/* ---------- Page frame ---------- */
.gd-home .td-main-content-wrap { overflow-x: clip; }
.gd-home .td-main-content-wrap, .gd-home .td-container, .gd-home .tdc-content-wrap, .gd-home .td-pb-row { padding: 0 !important; }
.gd-home .tdc-content-wrap .tdc-row { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.gd-home .vc_row.gd-home-row, .gd-home .vc_row.gd-home-band { width: 100% !important; margin: 0 !important; display: block; float: none; }
.gd-home .vc_row.gd-home-row::before, .gd-home .vc_row.gd-home-row::after, .gd-home .vc_row.gd-home-band::before, .gd-home .vc_row.gd-home-band::after { display: none !important; }
.gd-home .gd-home-row .vc_column, .gd-home .gd-home-band .vc_column { width: 100% !important; float: none !important; padding: 0 !important; }
.gd-home .gd-home-row .wpb_wrapper, .gd-home .gd-home-band .wpb_wrapper { padding: 0 !important; }
/* Only the page's own content zone (the header and footer templates have zones too). Spacing is a margin between rows, not a flex gap:
   the zone holds a few empty theme elements that the theme's stylesheet shows, and a gap would open above them when it arrives. */
.gd-home .tdc-content-wrap .tdc_zone { display: block; padding-bottom: 64px; }
.gd-home .tdc-content-wrap .tdc_zone > .tdc-row + .tdc-row { margin-top: 40px !important; }
.gd-home .gd-h-side > .wpb_wrapper { display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 1139px) { .gd-home .gd-home-row .gd-h-side { margin-top: 40px !important; } }

/* ---------- Ad slots ---------- */
@media (max-width: 727px) { body.gd-home .gd-x-p, body.gd-home .tdc-content-wrap .tdc-row:has(> .gd-x-p) { display: none !important; } }
@media (min-width: 728px) and (max-width: 1139px) { body.gd-home .gd-x-t, body.gd-home .tdc-content-wrap .tdc-row:has(> .gd-x-t) { display: none !important; } }
@media (min-width: 1140px) { body.gd-home .gd-x-d, body.gd-home .tdc-content-wrap .tdc-row:has(> .gd-x-d) { display: none !important; } }
/* Every ad sits in a light box labeled Advertisement, like the ads in stories. The box holds the ad's full height before it arrives, so nothing jumps. */
.gd-home .gd-ad { position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: auto !important; min-height: 314px; margin: 0 auto !important; padding: 32px 0 !important; background: var(--gd-band); box-sizing: border-box; border: 0 !important; }
.gd-home .gd-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-home .gd-ad .adgrid-ad-container { margin: 0 auto !important; padding: 0 !important; }
.gd-home .gd-ad.adgrid { margin: 0 auto !important; }
.gd-home .gd-ad.home-sidebar-ad { min-height: 664px; }
/* The theme's own CSS fixes .tdi_38 at 250 px (meant for the old header billboard). On the homepage that ID lands on the band
   above Photography, which cut the band short, so Photography covered the bottom of the ad box. Ad bands always take their
   box's full height, so a 970 x 250 gets the same 32 px below it as above. (Levi, Nov 16) */
.gd-home .gd-home-adrow > .vc_column, .gd-home .gd-home-adrow > .wpb_column { height: auto !important; min-height: 0 !important; }
/* The wrapper reset above (padding 0) also caught the ad boxes, which then only centered the ad inside their minimum height. A
   970 x 250 at 1024 px filled the box edge to edge, under the label. Now every box keeps 32 px above the ad (label inside) and 32 px below. */
.gd-home .vc_row .gd-ad.wpb_wrapper { padding: 32px 0 !important; }
@media (min-width: 728px) and (max-width: 1139px) {
	.gd-home [class*="home-leaderboard-ad-"].gd-ad { min-height: 154px; }
	/* Ads that sit in the column run edge to edge, like the bands between sections */
	.gd-home .gd-h-side .gd-ad { width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
}

/* ---------- Shared: section heads, eyebrows, cards ---------- */
.gd-h-head { display: flex; align-items: center; gap: 16px; margin: 0 var(--gd-pad); }
.gd-chrome .gd-h-head__t { flex: 0 1 auto; margin: 0 !important; padding: 0 !important; font: 600 28px/34px var(--gd-serif) !important; letter-spacing: -.01em !important; color: #000 !important; }
.gd-h-head__rule { flex: 1 1 24px; min-width: 24px; height: 1px; background: var(--gd-rule); }
.gd-h-head__all { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font: 700 14px/20px var(--gd-sans); color: var(--gd-green) !important; text-decoration: none !important; }
.gd-h-head__all { padding: 12px 0; margin: -12px 0; } /* a 44 px tap target without moving the line */
.gd-h-head__all:hover { color: #000 !important; }
.gd-h-head__all svg { transition: transform .15s ease; }
.gd-h-head__all:hover svg { transform: translateX(3px); }
/* Headings over a group of stories (Top Stories, Latest News, Up Next, More Videos): the section heading's serif and light rule,
   one size down. Replaced the green-dot uppercase label, which appeared nowhere else on the site (Levi, Nov 16). */
.gd-chrome .gd-h-eye, .gd-home .gd-h-latest .gd-section-h { display: flex; align-items: center; gap: 16px; margin: 0 var(--gd-pad) 16px !important; padding: 0 !important; font: 600 22px/28px var(--gd-serif) !important; letter-spacing: -.01em !important; text-transform: none; color: #000 !important; }
.gd-h-eye::after { content: ""; flex: 1 1 24px; min-width: 24px; height: 1px; background: var(--gd-rule); }
/* The line and the View More link sit on the heading's optical middle, where a dash in the heading would sit. The middle of its
   line box is about 0.09 em higher, which made the line look high. Whole pixels keep the 1 px line sharp. (Levi, Nov 16) */
.gd-h-head__rule { position: relative; top: 3px; }
.gd-h-head__all { position: relative; top: 2px; }
.gd-h-eye::after { position: relative; top: 2px; }
/* Latest News keeps the heading type but no rule: its list already has a line between every story (Levi, Nov 16) */
.gd-home .gd-h-latest .gd-section-h { display: block; margin: 0 0 4px !important; }
.gd-chrome .gd-h-eye--dark { color: #fff !important; }
.gd-h-eye--dark::after { background: #3A3A3A; }
@media (min-width: 1140px) { .gd-chrome .gd-h-eye, .gd-home .gd-h-latest .gd-section-h { font-size: 24px !important; line-height: 30px !important; } }

.gd-c { margin: 0; min-width: 0; }
.gd-c__a { display: flex; flex-direction: column; gap: 12px; height: 100%; color: #000 !important; text-decoration: none !important; }
.gd-c__media { position: relative; display: block; overflow: hidden; background: #D9D5CD; aspect-ratio: 3 / 2; border-radius: 4px; }
.gd-c__img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; opacity: 1 !important; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gd-c__a:hover .gd-c__img { transform: scale(1.04); }
.gd-c__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gd-chrome .gd-c__t { margin: 0 !important; padding: 0 !important; font: 600 18px/24px var(--gd-serif) !important; letter-spacing: -.005em !important; color: #000 !important; transition: color .15s ease; }
.gd-chrome .gd-c__a:hover .gd-c__t { color: var(--gd-green) !important; }
.gd-c__dek { font: 400 15px/22px var(--gd-sans); color: var(--gd-gray); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gd-c__media .gd-thumb__tags { left: 10px; bottom: auto; top: 10px; }
.gd-c__by { margin-top: 2px; font: 600 11px/16px var(--gd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gd-gray); }
.gd-c--ov .gd-c__by { color: #D6D6D6; }
@media (prefers-reduced-motion: reduce) { .gd-c__img, .gd-h-head__all svg { transition: none; } .gd-c__a:hover .gd-c__img { transform: none; } }

/* Headline on the photo (Entertainment's lead, Travel's tiles) */
.gd-c--ov .gd-c__a { position: relative; display: block; gap: 0; }
.gd-c--ov .gd-c__media { height: 100%; }
.gd-c--ov .gd-c__txt { position: absolute; left: 0; right: 0; bottom: 0; gap: 8px; padding: 72px 20px 20px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .8) 100%); border-radius: 0 0 4px 4px; }
.gd-chrome .gd-c--ov .gd-c__t { text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.gd-c--ov .gd-label { color: var(--gd-green-lt) !important; }
.gd-chrome .gd-c--ov .gd-c__t { color: #fff !important; }
.gd-chrome .gd-c--ov .gd-c__a:hover .gd-c__t { color: var(--gd-green-lt) !important; }
.gd-c--ov .gd-c__dek { color: #E6E6E6; -webkit-line-clamp: 2; }

/* Photo beside the title */
.gd-c--row .gd-c__a { flex-direction: row; align-items: flex-start; gap: 14px; }
.gd-c--row .gd-c__media { flex: 0 0 112px; width: 112px; aspect-ratio: 3 / 2; }
.gd-chrome .gd-c--row .gd-c__t { font-size: 16px !important; line-height: 21px !important; }

/* ---------- Top: Featured Story and Top Stories ---------- */
.gd-h-top { display: flex; flex-direction: column; }
.gd-c--lead .gd-c__txt { padding: 0 var(--gd-pad); gap: 8px; }
.gd-chrome .gd-c--lead .gd-c__t { font-size: 30px !important; line-height: 34px !important; letter-spacing: -.015em !important; }
.gd-chrome .gd-h-eye--six { margin-top: 32px !important; }
.gd-h-six .gd-c__a { gap: 10px; }
.gd-chrome .gd-h-six .gd-c__t { font-size: 17px !important; line-height: 22px !important; }
.gd-h-latest { margin: 0; padding: 0 var(--gd-pad); }
.gd-h-latest__all { margin-top: 0; } /* its 12 px padding is the gap */
.gd-latest__time { font: 500 12px/16px var(--gd-sans); color: var(--gd-gray); }
.gd-chrome .gd-h-latest a:hover .gd-latest__t { color: var(--gd-green) !important; }

/* ---------- Black bands: Photography and Videos ---------- */
.gd-h-band { background: #000; color: #fff; padding: 32px 0 36px; }
.gd-h-band__in { display: flex; flex-direction: column; gap: 20px; }
.gd-chrome .gd-h-band .gd-h-head__t { color: #fff !important; }
.gd-h-band .gd-h-head__rule { background: #3A3A3A; }
.gd-h-band .gd-h-head__all { color: var(--gd-green-lt) !important; }
.gd-h-band .gd-h-head__all:hover { color: #fff !important; }

/* Photography: a row that slides. Phones swipe; tablets and desktop also get arrows. */
.gd-h-car { position: relative; container-type: inline-size; }
.gd-h-car__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gd-pad); padding: 0 var(--gd-pad); scrollbar-width: none; }
.gd-h-car__track::-webkit-scrollbar { display: none; }
.gd-c--gal { flex: 0 0 250px; scroll-snap-align: start; }
.gd-c--gal .gd-c__a { color: #fff !important; }
.gd-c--gal .gd-c__media { aspect-ratio: 4 / 5; background: #2A2A2A; }
.gd-c--gal .gd-label { color: var(--gd-green-lt) !important; }
.gd-chrome .gd-c--gal .gd-c__t { color: #fff !important; font-size: 18px !important; line-height: 24px !important; }
.gd-chrome .gd-c--gal .gd-c__a:hover .gd-c__t { color: var(--gd-green-lt) !important; }
/* The last tile in Photography: View More, styled like Watch More at the end of More Videos (Levi, Nov 16) */
.gd-h-car__end { display: flex; flex-direction: column; }
.gd-h-car__more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; aspect-ratio: 4 / 5; font: 700 16px/20px var(--gd-sans); color: #fff !important; text-decoration: none !important; }
.gd-h-car__moreic { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #000; transition: background .15s ease, color .15s ease; }
.gd-h-car__more:hover { color: var(--gd-green-lt) !important; }
.gd-h-car__more:hover .gd-h-car__moreic { background: var(--gd-green); color: #fff; }
.gd-h-car__btn { display: none; }

/* ---------- Trending Now ---------- */
.gd-home .gd-h-trending { margin: 0; }
.gd-home .gd-h-trending .gd-section-h { font: 600 28px/34px var(--gd-serif) !important; letter-spacing: -.01em !important; }
.gd-chrome .gd-h-trending a:hover .gd-trending__t { color: var(--gd-green) !important; }
/* The homepage shows all six on phones and tablets too (Levi, Nov 16). Story pages still show four there (gd.css). */
@media (max-width: 1139px) { .gd-home .gd-h-trending li:nth-child(n+5) { display: block; } }

/* ---------- Sections ---------- */
.gd-h-sec { display: flex; flex-direction: column; gap: 18px; }
.gd-h-chips { margin-top: -2px; }
.gd-h-chips ul { list-style: none; margin: 0; padding: 0 var(--gd-pad); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gd-h-chips ul::-webkit-scrollbar { display: none; }
.gd-h-chips li { margin: 0; flex-shrink: 0; }
.gd-h-chips .gd-chip { height: 36px; padding: 0 14px; font-size: 13px; }

/* Split: a lead beside a list of three */
.gd-c--split .gd-c__media { border-radius: 0; aspect-ratio: 16 / 9; }
.gd-c--split .gd-c__txt { padding: 0 var(--gd-pad); }
.gd-chrome .gd-c--split .gd-c__t { font-size: 22px !important; line-height: 27px !important; letter-spacing: -.01em !important; }
.gd-h-split__rows { display: flex; flex-direction: column; margin: 8px var(--gd-pad) 0; }
.gd-h-split__rows .gd-c { padding: 14px 0; border-top: 1px solid var(--gd-rule); }

/* Cinema: the lead's headline on a wide photo */
.gd-c--cine .gd-c__media { border-radius: 0; aspect-ratio: 4 / 3; }
.gd-c--cine .gd-c__txt { border-radius: 0; padding: 96px var(--gd-pad) 22px; }
.gd-chrome .gd-c--cine .gd-c__t { font-size: 26px !important; line-height: 31px !important; letter-spacing: -.015em !important; }

/* Mosaic (Travel): a big tile and four small ones */
.gd-h-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 var(--gd-pad); }
.gd-h-mosaic .gd-c--tilel { grid-column: 1 / -1; }
.gd-h-mosaic .gd-c--tilel .gd-c__media { aspect-ratio: 4 / 3; }
.gd-h-mosaic .gd-c--tile .gd-c__media { aspect-ratio: 4 / 5; }
.gd-h-mosaic .gd-c--tile .gd-c__txt { padding: 56px 12px 12px; gap: 4px; }
.gd-chrome .gd-c--tilel .gd-c__t { font-size: 24px !important; line-height: 29px !important; letter-spacing: -.01em !important; }
.gd-chrome .gd-c--tile .gd-c__t { font-size: 15px !important; line-height: 19px !important; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gd-c--tile .gd-label { font-size: 10px; line-height: 14px; }

/* Card rows along the bottom of a section */
.gd-h-grid { display: grid; gap: 24px 14px; }
.gd-h-grid--pgrid { grid-template-columns: 1fr 1fr; padding: 0 var(--gd-pad); }
.gd-chrome .gd-h-grid--pgrid .gd-c__t { font-size: 16px !important; line-height: 21px !important; }
.gd-h-grid--swipe { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gd-pad); padding: 4px var(--gd-pad) 4px; scrollbar-width: none; }
.gd-h-grid--swipe::-webkit-scrollbar { display: none; }
.gd-h-grid--swipe .gd-c { flex: 0 0 236px; scroll-snap-align: start; }
.gd-chrome .gd-h-grid--swipe .gd-c__t { font-size: 17px !important; line-height: 22px !important; }

/* ---------- Sidebar pieces ---------- */
.gd-home .gd-h-side .gd-weekly, .gd-home .gd-h-side .gd-getmore { margin: 0 12px !important; }
/* The Weekly on the homepage: the button sits under the email field, full width */
.gd-home .gd-weekly .gd-form__row { flex-direction: column; gap: 10px; }
.gd-home .gd-weekly .gd-form__row .gd-btn { width: 100%; justify-content: center; }
.gd-home .gd-weekly__more { display: inline; }
/* In the 300 px sidebar the Substack box stacks: words, then the button */
@media (min-width: 1140px) {
	.gd-home .gd-h-side .gd-getmore { flex-direction: column !important; align-items: stretch !important; padding: 24px !important; gap: 16px !important; }
	.gd-home .gd-h-side .gd-getmore .gd-getmore__h { font-size: 24px !important; line-height: 30px !important; }
	.gd-home .gd-h-side .gd-getmore .gd-getmore__btn { width: 100%; justify-content: center; }
}
/* Follow Gayety: a black card like The Weekly (Levi, Nov 16). Its look lives in gd.css, since the phone menu uses it too. */
.gd-home .gd-h-follow { margin: 0 12px; }
@media (min-width: 768px) { .gd-home .gd-h-follow { margin: 0; padding: 24px; } }
/* In the 300 px rail all three boxes share one look (see the end of this file) */

/* ---------- Videos ---------- */
.gd-h-vid { display: flex; flex-direction: column; gap: 28px; padding: 0 var(--gd-pad); }
.gd-h-vid__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gd-h-videos__player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #1F1F1F; border-radius: 4px; overflow: hidden; }
.gd-h-videos__player > div, .gd-h-videos__player .jwplayer { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; z-index: 2; }
.gd-h-vid__start { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: #1F1F1F; cursor: pointer; }
.gd-h-vid__start img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gd-h-vid__big { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0, 0, 0, .62); border: 2px solid rgba(255, 255, 255, .85); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.gd-h-vid__big svg { margin-left: 4px; }
.gd-h-vid__start:hover .gd-h-vid__big { background: var(--gd-green); border-color: var(--gd-green); }
.gd-h-vid__now { display: flex; flex-direction: column; gap: 8px; }
.gd-h-vid__k { font: 700 12px/16px var(--gd-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gd-green-lt); }
.gd-chrome .gd-h-vid__t { margin: 0 !important; padding: 0 !important; font: 600 24px/30px var(--gd-serif) !important; letter-spacing: -.01em !important; color: #fff !important; }
.gd-chrome .gd-h-vid__t a { color: #fff !important; text-decoration: none !important; transition: color .15s ease; }
.gd-chrome .gd-h-vid__t a:hover { color: var(--gd-green-lt) !important; }
.gd-chrome .gd-h-vid__d { margin: 0 !important; font: 400 15px/22px var(--gd-sans) !important; color: #BDBDBD !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-h-vid__go { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px; font: 700 14px/20px var(--gd-sans); color: var(--gd-green-lt) !important; text-decoration: none !important; }
.gd-h-vid__go:hover { color: #fff !important; }
.gd-h-vid__go[hidden] { display: none; }
.gd-chrome .gd-h-vid .gd-h-eye { margin: 0 0 8px !important; }
.gd-h-vid__list, .gd-h-vid__cards { list-style: none; margin: 0; padding: 0; }
.gd-h-vid__list li, .gd-h-vid__cards li { margin: 0; }
.gd-h-vid__th { position: relative; display: block; flex: 0 0 auto; overflow: hidden; border-radius: 4px; background: #2A2A2A; aspect-ratio: 16 / 9; }
.gd-h-vid__th img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gd-h-vid__dur { position: absolute; right: 6px; bottom: 6px; height: 20px; padding: 0 6px; border-radius: 4px; background: rgba(0, 0, 0, .78); color: #fff; display: inline-flex; align-items: center; font: 700 11px/1 var(--gd-sans); }
.gd-h-vid__pl { position: absolute; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .62); border: 2px solid rgba(255, 255, 255, .85); color: #fff; display: flex; align-items: center; justify-content: center; }
.gd-h-vid__pl svg { margin-left: 2px; }
.gd-h-vid__it { font: 600 15px/20px var(--gd-serif); color: #fff; transition: color .15s ease; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gd-h-vid__row, .gd-h-vid__card { display: flex; text-decoration: none !important; color: #fff !important; }
.gd-h-vid__row:hover .gd-h-vid__it, .gd-h-vid__card:hover .gd-h-vid__it, .gd-h-vid__row.is-on .gd-h-vid__it, .gd-h-vid__card.is-on .gd-h-vid__it { color: var(--gd-green-lt); }
.gd-h-vid__row:hover img, .gd-h-vid__card:hover img { transform: scale(1.04); }
.gd-h-vid__row { gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #333; }
.gd-h-vid__list li:first-child .gd-h-vid__row { border-top: 0; padding-top: 8px; }
.gd-h-vid__row .gd-h-vid__th { width: 128px; }
.gd-h-vid__card { flex-direction: column; gap: 10px; }
.gd-h-vid__cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gd-pad)); padding: 0 var(--gd-pad); scroll-padding: 0 var(--gd-pad); scrollbar-width: none; }
.gd-h-vid__cards::-webkit-scrollbar { display: none; }
.gd-h-vid__cards li { flex: 0 0 240px; scroll-snap-align: start; }
/* More Videos ends with a Watch More tile, the same size as a video (Levi, Nov 16) */
.gd-h-vid__th--end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: none; font: 700 16px/20px var(--gd-sans); color: #fff; }
.gd-h-vid__endic { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #000; transition: background .15s ease, color .15s ease; }
.gd-h-vid__end .gd-h-vid__card:hover .gd-h-vid__endic { background: var(--gd-green); color: #fff; }
.gd-h-vid__end .gd-h-vid__card:hover .gd-h-vid__th--end { color: var(--gd-green-lt); }

/* ---------- More Stories ---------- */
.gd-h-more { display: flex; flex-direction: column; gap: 22px; }
/* On phones, cards inset from the edges with rounded photos, like More Stories under the articles (Levi, Nov 16) */
.gd-h-more__list { display: flex; flex-direction: column; gap: 32px; padding: 0 var(--gd-pad); }
.gd-c--feed .gd-c__media { border-radius: 6px; aspect-ratio: 16 / 9; }
.gd-c--feed .gd-c__txt { padding: 0; }
.gd-chrome .gd-c--feed .gd-c__t { font-size: 20px !important; line-height: 26px !important; letter-spacing: -.01em !important; }
.gd-h-more__btn { align-self: center; width: calc(100% - 2 * var(--gd-pad)); max-width: 400px; }
.gd-h-more__btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* ---------- Phones only ---------- */
@media (max-width: 767px) {
	/* The Featured Story as a magazine cover: tall photo, headline over it */
	.gd-c--lead .gd-c__a { position: relative; gap: 0; }
	.gd-c--lead .gd-c__media { aspect-ratio: 4 / 5; border-radius: 0; }
	.gd-c--lead .gd-c__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px var(--gd-pad) 24px; gap: 10px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .6) 104px, rgba(0, 0, 0, .9) 100%); }
	.gd-c--lead .gd-label { color: var(--gd-green-lt) !important; }
	.gd-chrome .gd-c--lead .gd-c__t { color: #fff !important; font-size: 32px !important; line-height: 36px !important; }
	.gd-chrome .gd-c--lead .gd-c__a:hover .gd-c__t { color: var(--gd-green-lt) !important; }
	.gd-c--lead .gd-c__dek { color: #E6E6E6; -webkit-line-clamp: 2; }
	/* Top Stories: nine, swiped (Levi, Nov 16). Tablets and desktop show the first six. */
	.gd-h-six { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gd-pad); padding: 0 var(--gd-pad) 4px; scrollbar-width: none; }
	.gd-h-six::-webkit-scrollbar { display: none; }
	.gd-h-six .gd-c { flex: 0 0 236px; scroll-snap-align: start; }
	/* Entertainment's rows of three become a two-column grid; the split sections' bottom row swipes */
	.gd-c--cine .gd-c__dek, .gd-c--tilel .gd-c__dek { display: none; }
}

/* ---------- Tablets and desktop ---------- */
@media (min-width: 768px) {
	.gd-home .vc_row.gd-home-row { max-width: 680px; margin: 0 auto !important; }
	.gd-home .td-main-content-wrap .tdc-content-wrap { padding-top: 24px !important; }
	.gd-home .tdc-content-wrap .tdc_zone { padding-bottom: 80px; }
	.gd-home .tdc-content-wrap .tdc_zone > .tdc-row + .tdc-row { margin-top: 48px !important; }
	.gd-h-head, .gd-chrome .gd-h-eye { margin-left: 0 !important; margin-right: 0 !important; }
	.gd-chrome .gd-h-head__t { font-size: 32px !important; line-height: 38px !important; }
	.gd-c__media, .gd-c--split .gd-c__media, .gd-c--cine .gd-c__media, .gd-c--feed .gd-c__media { border-radius: 4px; }
	.gd-c--lead .gd-c__txt, .gd-c--split .gd-c__txt, .gd-c--feed .gd-c__txt { padding: 0; }
	.gd-c--lead .gd-c__media { border-radius: 4px; }
	.gd-chrome .gd-c--lead .gd-c__t { font-size: 38px !important; line-height: 44px !important; }
	.gd-h-six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
	.gd-h-six > :nth-child(n+7) { display: none; }
	/* Section rows that swipe nine on phones show their own count here (Levi, Nov 16) */
	.gd-h-grid--d1 > :nth-child(n+2), .gd-h-grid--d2 > :nth-child(n+3), .gd-h-grid--d3 > :nth-child(n+4), .gd-h-grid--d4 > :nth-child(n+5), .gd-h-grid--d5 > :nth-child(n+6), .gd-h-grid--d6 > :nth-child(n+7), .gd-h-grid--d7 > :nth-child(n+8), .gd-h-grid--d8 > :nth-child(n+9) { display: none; }
	.gd-h-latest, .gd-h-follow, .gd-h-chips ul, .gd-h-vid { padding: 0; }
	.gd-home .gd-h-side .gd-weekly, .gd-home .gd-h-side .gd-getmore { margin: 0 !important; }
	.gd-h-band { padding: 44px 0 48px; }
	.gd-h-band__in { max-width: 680px; margin: 0 auto; gap: 24px; }
	.gd-home .gd-h-trending .gd-section-h { font-size: 32px !important; line-height: 38px !important; margin-bottom: 20px !important; }

	/* Photography: three at a time, arrows on the photos' midline */
	.gd-h-car__track { padding: 0; scroll-padding: 0; gap: 20px; }
	.gd-c--gal { flex: 0 0 calc((100% - 40px) / 3); }
	.gd-h-car__btn { position: absolute; z-index: 3; top: calc((100cqw - 40px) / 3 * .625 - 24px); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); cursor: pointer; transition: opacity .2s ease, background .15s ease, color .15s ease; }
	.gd-h-car__btn:hover { background: var(--gd-green); color: #fff; }
	.gd-h-car__btn--prev { left: -24px; }
	.gd-h-car__btn--next { right: -24px; }
	.gd-h-car__btn[disabled] { opacity: 0; pointer-events: none; }

	/* Split: lead on the left, the list on the right spread to the lead's height, so both columns start and end together */
	.gd-h-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: stretch; }
	.gd-c--split .gd-c__media { aspect-ratio: 3 / 2; }
	.gd-h-split__rows { margin: 0; justify-content: space-between; }
	.gd-h-split__rows .gd-c { padding: 16px 0; }
	.gd-h-split__rows .gd-c:first-child { padding-top: 0; border-top: 0; }
	.gd-h-split__rows .gd-c:last-child { padding-bottom: 0; }
	.gd-c--row .gd-c__media { flex-basis: 120px; width: 120px; }

	/* Cinema */
	.gd-c--cine .gd-c__media { aspect-ratio: 16 / 9; }
	/* The shade starts above the headline and grows behind it, so the top of the photo stays bright. No dek on the photo: it made the text box (and the shade) cover nearly the whole picture. */
	.gd-c--cine .gd-c__txt { padding: 80px 32px 26px; border-radius: 0 0 4px 4px; }
	.gd-chrome .gd-c--cine .gd-c__t { font-size: 30px !important; line-height: 36px !important; max-width: 620px; }
	.gd-c--cine .gd-c__dek { display: none; }

	/* Bottom rows: three across, under a light rule, all photos the same shape */
	.gd-h-grid, .gd-h-grid--pgrid, .gd-h-grid--swipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; padding: 24px 0 0; margin-top: 6px; overflow: visible; border-top: 1px solid var(--gd-rule); }
	.gd-h-grid--swipe .gd-c { flex: none; }
	.gd-chrome .gd-h-grid .gd-c__t { font-size: 17px !important; line-height: 22px !important; }
	.gd-h-sec--cine .gd-h-grid { border-top: 0; padding-top: 0; margin-top: 4px; }

	/* Mosaic on tablets: the big tile across the top, four tiles in two rows */
	.gd-h-mosaic { padding: 0; gap: 20px; }
	.gd-h-mosaic .gd-c--tilel .gd-c__media { aspect-ratio: 16 / 9; }
	.gd-h-mosaic .gd-c--tile .gd-c__media { aspect-ratio: 4 / 3; }
	.gd-h-mosaic .gd-c--tile .gd-c__txt { padding: 64px 16px 16px; gap: 6px; }
	.gd-chrome .gd-c--tilel .gd-c__t { font-size: 30px !important; line-height: 36px !important; }
	.gd-chrome .gd-c--tile .gd-c__t { font-size: 17px !important; line-height: 22px !important; -webkit-line-clamp: 3; }
	.gd-c--tile .gd-label { font-size: 11px; line-height: 15px; }
	.gd-c--tilel .gd-c__txt { padding: 120px 28px 26px; }
	.gd-h-sec--mosaic .gd-h-grid { grid-template-columns: repeat(2, 1fr); }

	/* Videos */
	.gd-chrome .gd-h-vid__t { font-size: 28px !important; line-height: 34px !important; }
	.gd-h-vid__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; margin: 0; padding: 0; overflow: visible; }
	.gd-h-vid__cards li { flex: none; }

	/* More Stories */
	.gd-h-more__list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 0; }
	.gd-h-more__btn { width: 100%; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1140px) {
	.gd-home .td-main-content-wrap .tdc-content-wrap { padding-top: 40px !important; }
	.gd-home .tdc-content-wrap .tdc_zone { padding-bottom: 96px; }
	.gd-home .tdc-content-wrap .tdc_zone > .tdc-row + .tdc-row { margin-top: 72px !important; }
	.gd-home .vc_row.gd-home-row { max-width: 1124px; display: flex !important; gap: 48px; align-items: stretch; }
	.gd-home .gd-h-main { width: 776px !important; flex: 0 0 776px; }
	.gd-home .gd-h-side { width: 300px !important; flex: 0 0 300px; display: flex !important; flex-direction: column; }
	.gd-home .gd-h-side > .wpb_wrapper { flex: 1 1 auto; gap: 32px; }
	.gd-home .gd-h-full { width: 100% !important; }
	/* Beside a section, the rectangle stays in view while the section scrolls past */
	/* Only the last ad in a rail (the 300 x 600) stays in view. If the 300 x 250 at the top stuck too, the box and 300 x 600 slid under it. */
	.gd-home .gd-h-side--sticky .gd-ad:last-child { position: sticky; top: calc(76px + var(--gd-top)); }
	.gd-home .gd-ad.home-sidebar-ad { min-height: 664px; }
	.gd-home .gd-h-side .gd-ad { width: 300px; }

	.gd-chrome .gd-h-head__t { font-size: 34px !important; line-height: 40px !important; }
	.gd-chrome .gd-c--lead .gd-c__t { font-size: 46px !important; line-height: 52px !important; letter-spacing: -.02em !important; }
	.gd-c--lead .gd-c__media { aspect-ratio: 16 / 9; }
	.gd-c--lead .gd-c__txt { gap: 10px; padding-top: 4px; }
	.gd-c--lead .gd-c__dek { font-size: 17px; line-height: 26px; -webkit-line-clamp: 2; }
	.gd-chrome .gd-h-eye--six { margin-top: 40px !important; }
	.gd-h-six { gap: 32px 24px; }
	.gd-chrome .gd-h-six .gd-c__t { font-size: 18px !important; line-height: 24px !important; }

	.gd-h-band { padding: 56px 0 60px; }
	.gd-h-band__in { max-width: 1124px; gap: 28px; }
	.gd-h-car__track { gap: 24px; }
	.gd-c--gal { flex: 0 0 calc((100% - 72px) / 4); }
	.gd-h-car__btn { top: calc((100cqw - 72px) / 4 * .625 - 24px); }
	.gd-chrome .gd-c--gal .gd-c__t { font-size: 19px !important; line-height: 25px !important; }

	/* Trending Now across the full width: three columns of two */
	.gd-home .gd-h-trending { padding: 36px 40px 40px; }
	.gd-home .gd-h-trending .gd-section-h { font: 600 34px/40px var(--gd-serif) !important; letter-spacing: -.01em !important; margin-bottom: 24px !important; }
	.gd-home .gd-h-trending ol { grid-template-columns: repeat(2, 1fr); gap: 24px 56px; }
	.gd-home .gd-h-trending .gd-trending__t { font-size: 18px; line-height: 24px; font-weight: 600; }

	.gd-chrome .gd-c--split .gd-c__t { font-size: 26px !important; line-height: 32px !important; }
	.gd-h-split__rows .gd-c { padding: 18px 0; }
	.gd-h-grid, .gd-h-grid--pgrid, .gd-h-grid--swipe { gap: 32px 24px; padding-top: 28px; margin-top: 10px; }
	.gd-chrome .gd-h-grid .gd-c__t { font-size: 18px !important; line-height: 24px !important; }

	.gd-c--cine .gd-c__txt { padding: 96px 40px 32px; }
	.gd-chrome .gd-c--cine .gd-c__t { font-size: 36px !important; line-height: 42px !important; letter-spacing: -.02em !important; max-width: 680px; }

	/* Travel's mosaic, full width: the big tile takes two columns and two rows */
	.gd-h-mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: 260px 260px; gap: 24px; }
	.gd-h-mosaic .gd-c--tilel { grid-column: span 2; grid-row: span 2; }
	.gd-h-mosaic .gd-c__media, .gd-h-mosaic .gd-c--tilel .gd-c__media, .gd-h-mosaic .gd-c--tile .gd-c__media { aspect-ratio: auto; height: 100%; }
	.gd-h-mosaic .gd-c, .gd-h-mosaic .gd-c__a { height: 100%; }
	.gd-chrome .gd-c--tilel .gd-c__t { font-size: 38px !important; line-height: 44px !important; letter-spacing: -.02em !important; }
	.gd-c--tilel .gd-c__txt { padding: 160px 36px 34px; }
	.gd-h-mosaic .gd-c--tile .gd-c__txt { padding: 72px 18px 18px; }
	.gd-chrome .gd-c--tile .gd-c__t { font-size: 17px !important; line-height: 22px !important; -webkit-line-clamp: 4; }
	.gd-h-sec--mosaic .gd-h-grid { grid-template-columns: repeat(4, 1fr); }

	/* Videos: player and Now Playing on the left, Up Next on the right, More Videos along the bottom */
	.gd-h-vid { display: grid; grid-template-columns: 776px 300px; column-gap: 48px; row-gap: 44px; }
	.gd-h-vid__more { grid-column: 1 / -1; }
	.gd-chrome .gd-h-vid__t { font-size: 30px !important; line-height: 36px !important; }
	.gd-h-vid__cards { grid-template-columns: repeat(4, 1fr); gap: 24px; }
	.gd-h-vid__card .gd-h-vid__it { font-size: 17px; line-height: 22px; }
	.gd-h-vid__row .gd-h-vid__th { width: 136px; }

	/* More Stories: three across */
	.gd-h-more__list { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
	.gd-h-more__btn { width: 400px; }
}

/* ---------- Tighter white space around ads (Levi, Nov 15) ---------- */
.gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(> .gd-home-adrow), .gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(> .gd-home-adrow) + .tdc-row, .gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(.gd-h-side .gd-ad) + .tdc-row { margin-top: 28px !important; }
@media (max-width: 1139px) {
	.gd-home .gd-home-row .gd-h-side { margin-top: 28px !important; }
	.gd-home .gd-h-side > .wpb_wrapper { gap: 28px; }
}
@media (min-width: 768px) {
	.gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(> .gd-home-adrow), .gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(> .gd-home-adrow) + .tdc-row, .gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(.gd-h-side .gd-ad) + .tdc-row { margin-top: 32px !important; }
}
@media (min-width: 1140px) {
	.gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(> .gd-home-adrow), .gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(> .gd-home-adrow) + .tdc-row { margin-top: 40px !important; }
	.gd-home .tdc-content-wrap .tdc_zone > .tdc-row:has(.gd-h-side .gd-ad) + .tdc-row:not(:has(> .gd-home-adrow)) { margin-top: 72px !important; }
	/* Ads in the right rail: no label and no box. Only the break units in the scroll carry the Advertisement label (on phones and
	   tablets every ad is in the scroll, so every one keeps it). Same rule as the story pages' rail. (Levi, Nov 16) */
	.gd-home .gd-h-side .gd-ad { background: none; min-height: 250px; padding: 0 !important; justify-content: flex-start; }
	.gd-home .vc_row .gd-h-side .gd-ad.wpb_wrapper { padding: 0 !important; }
	.gd-home .gd-h-side .gd-ad::before { content: none; }
	.gd-home .gd-h-side .gd-ad.home-sidebar-ad, .gd-home .gd-h-side .gd-ad[class*="article-sidebar-ad-"], .gd-home .gd-h-side .gd-ad.archive-sidebar-ad { min-height: 600px; }
	/* Each rail (300 x 250, a box, 300 x 600) fits inside its section's height */
	.gd-home .gd-h-side--sticky > .wpb_wrapper { gap: 28px; }
	.gd-home .gd-h-side .gd-weekly__more { display: none; }
}

/* Room under Load More Stories before the footer (the zone's own padding is zeroed by the theme reset above) */
.gd-h-more { padding-bottom: 40px; }
@media (min-width: 768px) { .gd-h-more { padding-bottom: 48px; } }
@media (min-width: 1140px) { .gd-h-more { padding-bottom: 56px; } }

/* Tablets: the split sections stack (lead across the column, then the list in two columns), so nothing ends unevenly */
@media (min-width: 768px) and (max-width: 1139px) {
	.gd-h-split { grid-template-columns: 1fr; }
	.gd-c--split .gd-c__media { aspect-ratio: 16 / 9; }
	.gd-h-split__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 20px; }
	.gd-h-split__rows .gd-c, .gd-h-split__rows .gd-c:first-child, .gd-h-split__rows .gd-c:last-child { padding: 16px 0; border-top: 1px solid var(--gd-rule); }
}

/* More Videos slides on tablets and desktop too (three, then four at a time), with Photography's arrows on the videos' midline */
@media (min-width: 768px) {
	.gd-h-vid__cards { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; margin: 0; padding: 0; }
	.gd-h-vid__cards li { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
	.gd-h-car--vid .gd-h-car__btn { top: calc((100cqw - 40px) / 3 * .28125 - 24px); }
}
@media (min-width: 1140px) {
	.gd-h-vid__cards { gap: 24px; }
	.gd-h-vid__cards li { flex: 0 0 calc((100% - 72px) / 4); }
	.gd-h-car--vid .gd-h-car__btn { top: calc((100cqw - 72px) / 4 * .28125 - 24px); }
	/* Beside the top: the 300 x 600, Latest News and a 300 x 250 */
	.gd-home .gd-h-side--top > .wpb_wrapper { gap: 28px; }
}

/* The three boxes beside sections on desktop (The Weekly, Substack, Follow Gayety) share one look: the same padding and
   20 px headings, so "Get the week’s top stories.", "Get More From Gayety" and "Get Gayety in Your Feed" each fit on one line (Levi, Nov 16) */
@media (min-width: 1140px) {
	.gd-home .gd-h-side .gd-weekly, .gd-home .gd-h-side .gd-getmore, .gd-home .gd-h-side .gd-h-follow { padding: 24px 20px !important; }
	.gd-home .gd-h-side .gd-weekly .gd-weekly__h, .gd-home .gd-h-side .gd-getmore .gd-getmore__h, .gd-chrome .gd-h-side .gd-h-follow__h { font-size: 20px !important; line-height: 26px !important; letter-spacing: -.01em; white-space: nowrap; }
}
