/*
Theme Name: Poker In Africa
Theme URI: https://pokerinafrica.com
Description: Lightweight, mobile-first theme for Poker In Africa. Needs the "Poker In Africa Core" plugin.
Version: 0.83.2
Requires at least: 6.4
Requires PHP: 7.4
Author: Poker In Africa
Text Domain: pia
*/

/* ==========================================================================
   BASE COLOURS (Amber). The site styles (Amber, Teal, Neon) are further down;
   choose one in Appearance → Customize → Poker In Africa → Site style.
   ========================================================================== */
:root {
	--bg: #1e0f0b;          /* page background (Amber) */
	--surface: #2a1712;     /* cards, panels */
	--surface-2: #361f18;   /* image placeholders, hovered rows */
	--line: #4b2d22;        /* borders, dividers */
	--text: #fff8ee;        /* main text */
	--muted: #c4aa9c;       /* secondary text */
	--accent: #fbaa35;      /* the one accent colour: buttons, links, labels */
	--accent-ink: #28130e;  /* text on accent buttons */
	--live: #e5484d;        /* the red "live" dot only */

	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--display-weight: 800;

	--radius: 14px;         /* rounded squares from the spec */
	--radius-sm: 9px;
	--wrap: 1200px;
	--gap: clamp(16px, 3vw, 28px);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1rem/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-sm); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.section { margin-block: clamp(36px, 6vw, 64px); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.section__head h2 { margin: 0; }
.section__more { font-weight: 600; white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Buttons: large tap targets for phones */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 20px;
	background: var(--accent); color: var(--accent-ink);
	font: 700 0.95rem/1.2 var(--font-body); text-decoration: none;
	border: 2px solid var(--accent); border-radius: var(--radius-sm); cursor: pointer;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--small { min-height: 40px; padding: 6px 14px; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* Category label on cards and articles */
.kicker { display: inline-block; color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.meta { color: var(--muted); font-size: 0.875rem; }

/* Admin-only notes and placeholders (never shown to visitors) */
.admin-note { border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); font-size: 0.9rem; }
.admin-note strong { color: var(--text); }

/* ==========================================================================
   Ad zones
   ========================================================================== */
.ad { margin-inline: auto; text-align: center; }
.ad__label { display: block; color: var(--muted); font-size: 0.7rem; margin-bottom: 4px; }
.ad img { margin-inline: auto; }
.ad--placeholder { display: grid; place-items: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: 0.8rem; padding: 12px; }
.ad--header-leaderboard { padding-block: 10px; }
.ad--header-leaderboard.ad--placeholder { max-width: 970px; min-height: 100px; margin: 10px auto; }
.ad--in-feed.ad--placeholder, .ad--in-article.ad--placeholder { min-height: 100px; }
.ad--sidebar.ad--placeholder { min-height: 250px; }
.ad--in-article { margin-block: 28px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__bar { width: 100%; display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.15rem; letter-spacing: 0.01em; white-space: nowrap; }
.brand img, .custom-logo { max-height: 40px; width: auto; }
.custom-logo-link { display: flex; align-items: center; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; width: 100%; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: flex; align-items: center; gap: 8px; min-height: 48px; color: var(--text); text-decoration: none; font-weight: 600; }
.site-nav .current-menu-item > a, .site-nav .current_page_parent > a, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-header__actions { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); display: inline-block; }

@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.site-header__inner { flex-wrap: nowrap; gap: 28px; }
	.site-header__bar { width: auto; flex: none; }
	.site-nav { display: flex; flex: 1; align-items: center; gap: 22px; width: auto; }
	.site-nav ul { display: flex; gap: 22px; }
	.site-nav ul a { min-height: 64px; }
	.site-header__actions { margin-left: auto; padding: 0; }
}

/* ==========================================================================
   Cards and grids
   ========================================================================== */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; } /* overflow: a tall photo no longer stretches its card past 16:9 */
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.card__title a:hover { color: var(--accent); }
.card .kicker { position: relative; z-index: 1; }

.grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Pill tabs (link to category pages) */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.875rem; font-weight: 600; }
.tabs a:hover, .tabs a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin-top: var(--gap); }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); } }
.lead__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.lead__media img { width: 100%; height: 100%; object-fit: cover; }
.lead__body { padding-top: 16px; }
.lead__title { margin: 6px 0 10px; }
.lead__title a { color: var(--text); text-decoration: none; }
.lead__title a:hover { color: var(--accent); }
.lead__summary { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.hero__aside { display: flex; flex-direction: column; gap: var(--gap); }

.series { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.series__title { font-size: 1.45rem; margin: 6px 0 6px; }
.series__title a { color: var(--text); text-decoration: none; }
.series__where { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.countdown div { background: var(--bg); border-radius: var(--radius-sm); padding: 10px 4px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: 0.75rem; color: var(--muted); }
.series__sponsor { margin-top: 12px; text-align: center; font-size: 0.78rem; color: var(--muted); }
.series__sponsor .ad { margin-top: 6px; }

/* ==========================================================================
   Calendar
   ========================================================================== */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal table { font-size: 0.92rem; }
.cal th { text-align: left; font-size: 0.75rem; font-weight: 600; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cal td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cal tr:last-child td { border-bottom: 0; }
.cal__series a { color: var(--text); font-weight: 700; text-decoration: none; }
.cal__series a:hover { color: var(--accent); }
.cal__logo { width: 44px; height: 44px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); flex: none; }
.cal__logo img { width: 100%; height: 100%; object-fit: cover; }
.cal__name { display: flex; align-items: center; gap: 12px; }
.cal__action { text-align: right; white-space: nowrap; }
.cal__month { background: var(--surface-2); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1rem; padding: 10px 16px; }
.cal__sponsor { color: var(--muted); font-size: 0.875rem; margin: -10px 0 16px; }

/* Phones: each row becomes a stacked block */
@media (max-width: 759px) {
	.cal thead { display: none; }
	.cal tr:not(.cal__month-row) { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
	.cal td { padding: 0; border: 0; }
	.cal td.cal__series-cell { grid-column: 1 / -1; order: -1; }
	.cal td.cal__action { grid-column: 1 / -1; text-align: left; margin-top: 8px; }
	.cal td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
	.cal__month-row td { display: block; }
}

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status--live { color: var(--text); border-color: var(--live); }
.status--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.status--upcoming { color: var(--accent); border-color: var(--accent); }

.filters { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.filters label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
.field, .filters select, .filters input {
	width: 100%; min-height: 46px; padding: 8px 12px;
	background: var(--bg); color: var(--text);
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	font: inherit;
}

/* ==========================================================================
   Where to play
   ========================================================================== */
.featured-partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius); padding: 20px; margin-bottom: var(--gap); }
.featured-partner h3 { margin: 4px 0; font-size: 1.25rem; }
.featured-partner p { margin: 0; color: var(--muted); }
.country-tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.country-tiles a { display: block; padding: 14px 16px; min-height: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 700; }
.country-tiles a:hover { border-color: var(--accent); }
.country-tiles span { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 400; }

.venue-list { display: grid; gap: 12px; }
.venue-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.venue-row--featured { border-color: var(--accent); }
.venue-row__logo { width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); flex: none; }
.venue-row__logo img { width: 100%; height: 100%; object-fit: cover; }
.venue-row h3 { margin: 0; font-size: 1.05rem; }
.venue-row h3 a { color: var(--text); text-decoration: none; }
.venue-row h3 a::after { content: ""; position: absolute; inset: 0; }
.venue-row p { margin: 2px 0 0; color: var(--muted); font-size: 0.875rem; }
.venue-search { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.venue-search .field { flex: 1 1 260px; }
.country-group { margin-bottom: 32px; }
.country-group h2 { font-size: 1.3rem; }

.legal-note { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--muted); max-width: 70ch; }

/* ==========================================================================
   Article and single pages
   ========================================================================== */
.layout { display: grid; gap: calc(var(--gap) * 1.5); grid-template-columns: 1fr; margin-top: var(--gap); }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.sidebar { display: flex; flex-direction: column; gap: var(--gap); }
@media (min-width: 1000px) { .sidebar__sticky { position: sticky; top: 88px; } }

.article__head { max-width: 760px; }
.article__summary { font-size: 1.15rem; color: var(--muted); }
/* Under the main photo, like news sites: author photo and name, published / updated, then share and Google. */
.article__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 4px 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article__head + .article__meta { margin-top: 14px; }
.byline { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.88rem; min-width: 0; }
.byline a { color: var(--text); font-weight: 600; }
.byline__photo { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold, #d3af37); display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); font-weight: 800; text-decoration: none; }
.byline__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.byline__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.byline__name { font-size: 1rem; color: var(--text); font-weight: 700; }
.byline__dates { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.byline__label { font-weight: 600; }
.article__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.article__tools .share { margin: 0; }
.article__tools .share__btn { width: 40px; height: 40px; font-size: 18px; }
.gsource { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 16px 6px 12px; border-radius: 10px; background: #111; color: #fff; font-size: 0.82rem; font-weight: 600; line-height: 1.2; text-decoration: none; max-width: 240px; }
.gsource svg { flex: none; background: #fff; border-radius: 50%; padding: 3px; width: 26px; height: 26px; }
.gsource:hover, .gsource:focus-visible { background: #2b2b2b; color: #fff; }
.article__tools .gsource, .article__tools .gsource span { color: #fff; }
.article__media { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }

.prose { max-width: 70ch; font-size: 1.06rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius-sm); }
/* Photos in articles, newspaper style: full column width, caption/credit in small grey text under the photo */
.prose img { max-width: 100%; height: auto; }
.prose .pia-photo, .prose figure.wp-caption { margin: 1.8em 0; max-width: 100%; }
.prose .pia-photo img { display: block; width: 100%; height: auto; border-radius: 0; }
.prose .pia-photo--small img { width: auto; max-width: 100%; }
.prose .pia-photo--small.pia-photo--center { text-align: center; }
.prose .pia-photo--small.pia-photo--center img { margin: 0 auto; }
.prose .pia-photo a { display: block; }
.prose figcaption, .article__media figcaption { margin: 0; padding: 7px 0 0; font-family: var(--font-body); font-size: 0.8rem; line-height: 1.45; font-weight: 500; color: var(--muted); text-align: left; }
.prose figcaption a { color: inherit; }
.article__media figcaption { padding: 7px 2px 0; }
@media (min-width: 720px) {
	.prose .pia-photo--left { float: left; width: 46%; margin: 0.3em 1.6em 1em 0; }
	.prose .pia-photo--right { float: right; width: 46%; margin: 0.3em 0 1em 1.6em; }
	.prose .pia-photo--small.pia-photo--left, .prose .pia-photo--small.pia-photo--right { width: auto; max-width: 46%; }
	.prose::after { content: ""; display: table; clear: both; }
}
.prose table { font-size: 0.92rem; margin: 1.4em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose blockquote { margin: 1.4em 0; padding-left: 16px; border-left: 3px solid var(--accent); color: var(--muted); }
/* Photo sizes chosen in the editor (Photo button), small photos centred, tall photos kept narrower. */
.prose .pia-photo--small:not(.pia-photo--left):not(.pia-photo--right) { text-align: center; }
.prose .pia-photo--small:not(.pia-photo--left):not(.pia-photo--right) img { margin: 0 auto; }
.prose .pia-photo--small:not(.pia-photo--left):not(.pia-photo--right) figcaption { text-align: center; }
.prose .pia-photo--portrait:not(.pia-photo--left):not(.pia-photo--right):not([class*="--size-"]) { max-width: 420px; margin-left: auto; margin-right: auto; }
.prose .pia-photo--size-medium:not(.pia-photo--left):not(.pia-photo--right) { max-width: 66%; margin-left: auto; margin-right: auto; }
.prose .pia-photo--size-small:not(.pia-photo--left):not(.pia-photo--right) { max-width: 40%; margin-left: auto; margin-right: auto; }
@media (max-width: 719px) { .prose .pia-photo--size-small:not(.pia-photo--left):not(.pia-photo--right) { max-width: 66%; } .prose .pia-photo--size-medium:not(.pia-photo--left):not(.pia-photo--right) { max-width: 100%; } }
@media (min-width: 720px) {
	.prose .pia-photo--size-small.pia-photo--left, .prose .pia-photo--size-small.pia-photo--right { width: 33%; }
}
/* Social posts */
.prose .pia-embed { margin: 1.8em auto; display: flex; flex-direction: column; align-items: center; max-width: 550px; }
.prose .pia-embed > * { max-width: 100%; }
.prose .pia-embed blockquote { border: 0; padding: 0; color: inherit; }
.prose .pia-embed--video { width: 100%; max-width: 720px; }
.prose .pia-embed--video iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.prose .pia-embed__fb { width: 500px; max-width: 100%; border: 0; border-radius: 8px; background: #fff; }
/* Highlighted quote, key facts, button */
.prose blockquote.pia-pullquote { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold, #d3af37); color: var(--text); font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.prose blockquote.pia-pullquote p { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.4; }
.prose blockquote.pia-pullquote cite { display: block; font-size: 0.9rem; font-weight: 500; font-style: normal; color: var(--muted); }
.prose blockquote.pia-pullquote cite::before { content: "\2014\00a0"; }
.prose .pia-box { margin: 1.8em 0; padding: 16px 20px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm, 6px); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.prose .pia-box__title { margin: 0 0 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 0.85rem; color: var(--accent); }
.prose .pia-box ul { margin: 0; padding-left: 1.2em; }
.prose .pia-cta { margin: 1.6em 0; }
.prose .pia-cta .btn { text-decoration: none; }
.prose table.pia-table { display: table; width: 100%; border-collapse: collapse; }
@media (max-width: 600px) { .prose table.pia-table { display: block; } }
.prose table.pia-table th { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
/* Playing cards and poker hands (four colours: spades black, hearts red, diamonds blue, clubs green) */
.pkcs { display: inline-flex; gap: 3px; vertical-align: -0.35em; white-space: nowrap; }
.pkc { display: inline-flex; align-items: center; justify-content: center; gap: 1px; min-width: 1.75em; height: 1.6em; padding: 0 3px; border-radius: 4px; background: #fff; border: 1px solid #c9ccd1; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-family: var(--font-body); font-size: 0.92em; font-weight: 800; line-height: 1; color: #1b1b1b; }
.pkc b { font-weight: 800; }
.pkc i { font-style: normal; font-size: 1.05em; }
.pkc--h { color: #c8102e; }
.pkc--d { color: #0b5ed7; }
.pkc--c { color: #188038; }
.pkc--back { background: repeating-linear-gradient(45deg, #2b0f59 0 4px, #4a1f8f 4px 8px); border-color: #2b0f59; }
.pia-hand { margin: 1.8em 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius, 10px); background: var(--surface); }
.pia-hand__title { margin: 0 0 12px; font-weight: 800; font-size: 1rem; }
.pia-hand__players { display: grid; gap: 8px; margin-bottom: 12px; }
.pia-hand__player { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--text) 4%, transparent); }
.pia-hand__player.is-winner { background: color-mix(in srgb, var(--gold, #d3af37) 18%, transparent); }
.pia-hand__name { font-weight: 700; }
.pia-hand__won { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--gold, #d3af37); color: #212429; font-size: 0.72rem; font-weight: 700; vertical-align: 0.1em; }
.pia-hand__board { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 12px 10px; border-radius: 8px; background: #0f5132; }
.pia-hand__street { display: flex; flex-direction: column; gap: 4px; }
.pia-hand__label { color: #d1e7dd; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pia-hand .pkcs { vertical-align: 0; font-size: 1.15rem; }
.pia-hand .pkc { height: 2.3em; min-width: 2.1em; }
.pia-hand__note { margin-top: 12px; font-size: 0.95rem; }
.pia-hand__note p:last-child { margin-bottom: 0; }
/* Social links of an article: brand logo + name, brand colour on hover */
.social-box { margin: 2em 0 1.4em; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius, 10px); background: var(--surface); max-width: 70ch; }
.social-box__title { margin: 0 0 4px; font-weight: 800; font-size: 1.05rem; }
.social-box__text { margin: 0 0 12px; color: var(--muted); font-size: 0.92rem; }
.social-box__title + .social-box__list { margin-top: 12px; }
.social-box__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social-box--center { text-align: center; } .social-box--center .social-box__list { justify-content: center; }
.social-box--right { text-align: right; } .social-box--right .social-box__list { justify-content: flex-end; }
.social-box__btn { --brand: var(--accent); display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 5px 16px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg, #fff); color: var(--text); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.social-box__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 16px; flex: none; }
.social-box__btn:hover, .social-box__btn:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-1px); }
.social-box__btn:hover .social-box__icon, .social-box__btn:focus-visible .social-box__icon { background: rgba(255,255,255,.18); }
.social-box--icons .social-box__btn { padding: 4px; }
.social-box--icons .social-box__icon { width: 38px; height: 38px; font-size: 18px; }
.social-box__btn--facebook { --brand: #1877f2; }
.social-box__btn--instagram { --brand: #d62976; }
.social-box__btn--instagram .social-box__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-box__btn--x { --brand: #000; }
.social-box__btn--tiktok { --brand: #111; }
.social-box__btn--youtube { --brand: #ff0000; }
.social-box__btn--linkedin { --brand: #0a66c2; }
.social-box__btn--telegram { --brand: #229ed9; }
.social-box__btn--whatsapp { --brand: #25d366; }
.social-box__btn--website { --brand: var(--accent); }
.style-showtime .social-box__btn--x .social-box__icon, .style-showtime .social-box__btn--tiktok .social-box__icon { box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
/* Article body made in the visual editor: inside the article column */
.article__body--visual .pia-b-row { padding-inline: 0; max-width: none; }
.article__body--visual .pia-b-s { padding-inline: 0; }
.article__body--visual .pia-b-narrow > .pia-b-row { max-width: 75ch; margin-inline: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; padding: 0; list-style: none; }
.tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.85rem; }
.tags a:hover { border-color: var(--accent); color: var(--accent); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0; }
.share__title { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.share__icons { display: flex; flex-wrap: wrap; gap: 10px; }
.share__btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 20px; line-height: 1; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.share__btn svg { display: block; }
.share__btn:hover, .share__btn:focus-visible { transform: translateY(-2px); color: #fff; }
.share__btn--whatsapp:hover, .share__btn--whatsapp:focus-visible { background: #25d366; border-color: #25d366; }
.share__btn--facebook:hover, .share__btn--facebook:focus-visible { background: #1877f2; border-color: #1877f2; }
.share__btn--x:hover, .share__btn--x:focus-visible { background: #000; border-color: #000; }
.share__btn--copy:hover, .share__btn--copy:focus-visible, .share__btn--copy.is-copied { background: var(--gold, #d3af37); border-color: var(--gold, #d3af37); color: #212429; }
.share__done { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 6px; background: var(--text); color: var(--bg); font-size: 0.75rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.share__btn.is-copied .share__done { opacity: 1; }
.author-box + .share { margin-top: 18px; }

.facts { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; margin: 0 0 24px; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 0.875rem; }
.facts dd { margin: 0; font-weight: 600; white-space: pre-line; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h2, .panel h3 { font-size: 1.15rem; }
.panel--accent { border-color: var(--accent); }

.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; }
.author-box img { border-radius: 50%; flex: none; }

.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; }
.pagination .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.page-head { margin-top: var(--gap); margin-bottom: 20px; }
.page-head p { color: var(--muted); max-width: 65ch; }

/* Online-only blocks (shown only where permitted) */
.pia-online { border: 1px solid var(--accent); border-radius: var(--radius); padding: 16px; margin: 1.4em 0; }
.pia-online__note { font-size: 0.8rem; color: var(--muted); margin: 8px 0 0; }

/* ==========================================================================
   Newsletter and footer
   ========================================================================== */
.newsletter { border-top: 2px solid var(--accent); padding-top: clamp(28px, 5vw, 44px); display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; align-items: start; } }
.newsletter h2 { margin-bottom: 6px; }
.newsletter p { color: var(--muted); }
.newsletter input[type="email"], .newsletter input[type="text"], .newsletter select { width: 100%; min-height: 46px; padding: 8px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }

.site-footer { margin-top: clamp(48px, 8vw, 80px); border-top: 1px solid var(--line); padding-block: 36px 28px; font-size: 0.92rem; }
.site-footer__top { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .site-footer__top { grid-template-columns: 1.2fr 2fr; } }
.site-footer__statement { color: var(--muted); max-width: 40ch; margin-top: 8px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .footer-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-menu a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); text-decoration: none; }
.footer-menu a:hover { color: var(--accent); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.age-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--live); color: var(--text); font-weight: 800; font-size: 0.8rem; flex: none; }
.rg { display: flex; align-items: center; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Calendar page (v0.2)
   ========================================================================== */
.cal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: var(--gap) 0 20px; }
.cal-head h1 { margin: 0 0 6px; }
.cal-head__sub { color: var(--muted); margin: 0; font-size: 1.05rem; }
.cal-head__sponsor { color: var(--muted); font-size: 0.8rem; text-align: right; }

/* Country buttons: the flag is the colour */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px 10px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.chip:first-child { padding-left: 14px; }
.chip:hover { border-color: var(--muted); }
.chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip__flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.chip__count { font-size: 0.78rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-current="page"] .chip__count { color: var(--accent-ink); opacity: .75; }

/* Month tabs */
.months { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.months::-webkit-scrollbar { display: none; }
.months a { flex: none; display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 6px 16px 8px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.months a:hover { color: var(--text); }
.months a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.months__m { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.05rem; line-height: 1.2; }
.months__y { font-size: 0.72rem; font-variant-numeric: tabular-nums; }

/* Second row: upcoming/past, series, buy-in */
.refine { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }
.segmented { display: inline-flex; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.segmented a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 16px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.88rem; }
.segmented a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.pill select {
	appearance: none; -webkit-appearance: none;
	min-height: 42px; padding: 6px 36px 6px 16px;
	background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239ba8a1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--text); border: 1px solid var(--line); border-radius: 999px;
	font: 600 0.88rem var(--font-body); cursor: pointer;
}
.pill select:hover { border-color: var(--muted); }
.js .refine__apply { display: none; }
.refine__clear { font-size: 0.88rem; font-weight: 600; margin-left: 4px; }

/* Selected country */
.country-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.country-bar__flag { width: 54px; height: 40px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.country-bar h2 { margin: 0; font-size: 1.35rem; }
.country-bar p { margin: 2px 0 0; font-size: 0.9rem; }
.country-bar .btn { margin-left: auto; }

/* Featured (paid) cards */
.featured { margin-bottom: 40px; }
.featured__title { font-size: 1.25rem; margin-bottom: 14px; }
.featured__grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .featured__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .featured__grid { grid-template-columns: repeat(3, 1fr); } }
.ev-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: var(--radius); overflow: hidden; }
.ev-card__logo { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.ev-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 18px 24px; }
.ev-card__initial { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 4rem; color: var(--accent); opacity: .85; }
.ev-card__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: .02em; }
.ev-card__live { position: absolute; top: 10px; right: 12px; }
.ev-card__live .status { background: var(--bg); }
.ev-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.ev-card__dates { margin: 0; color: var(--accent); font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.ev-card__title { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.ev-card__title a { color: var(--text); text-decoration: none; }
.ev-card__title a:hover { color: var(--accent); }
.ev-card__where { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 0.9rem; }
.ev-card__where .flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex: none; }
.ev-card__line { margin: 4px 0 0; font-weight: 700; }
.ev-card__buyin { margin: 0; color: var(--muted); font-size: 0.9rem; }
.ev-card__buyin strong { color: var(--text); }
.ev-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }

/* Full list */
.cal-list__title { font-size: 1.25rem; margin-bottom: 14px; }
.cal__country { display: inline-flex; align-items: center; gap: 8px; }
.cal__country .flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex: none; }
.cal tr.is-featured td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.tag-featured { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-size: 0.7rem; font-weight: 700; vertical-align: 2px; }
@media (max-width: 759px) {
	.cal tr.is-featured { box-shadow: inset 3px 0 0 var(--accent); }
	.cal tr.is-featured td:first-child { box-shadow: none; }
}
/* Phones: featured cards swipe sideways so the full list stays close */
@media (max-width: 639px) {
	.featured__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gap) * -1); padding-inline: var(--gap); gap: 12px; }
	.featured__grid::-webkit-scrollbar { display: none; }
	.featured__grid .ev-card { flex: 0 0 84%; scroll-snap-align: center; }
	.featured__grid .ev-card:only-child { flex-basis: 100%; }
	.refine { gap: 8px; }
	.pill select { min-height: 40px; font-size: 0.85rem; }
}
@media (max-width: 759px) {
	.cal .cal__month-row td.cal__month { padding: 10px 16px; }
	.cal td[data-label]:empty { display: none; }
}
.article__media img { width: 100%; height: auto; }
.lead__media { display: block; }
.lead__media img { width: 100%; height: 100%; object-fit: cover; }
.country-tiles__flag { width: 28px; height: 21px; border-radius: 3px; object-fit: cover; margin-bottom: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
/* Phones: news cards in two columns (photo on top, headline and date below, no box), as news sites do */
@media (max-width: 599px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.grid--4 .card { flex-direction: column; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
	.grid--4 .card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; border-radius: var(--radius-sm); overflow: hidden; }
	.grid--4 .card__body { padding: 8px 0 0; gap: 4px; }
	.grid--4 .card .kicker { font-size: 0.68rem; line-height: 1.3; }
	.grid--4 .card__title { font-size: 0.93rem; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
	.grid--4 .meta { font-size: 0.74rem; margin: 0; }
	.grid--4 .meta__by { display: none; } /* date only: the author shows on the article */
}
/* Event promo graphic: shown whole, any shape */
.series { overflow: hidden; }
.series__promo { display: block; margin: -20px -20px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.series__promo img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.event-promo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.event-promo img { width: 100%; height: auto; }

/* Side ads (left and right). Only where the screen has room beside the 1200px content. */
.page-shell { position: relative; }
.rail { display: none; }
@media (min-width: 1560px) {
	.rail { display: block; position: absolute; top: 24px; bottom: 0; width: 160px; z-index: 1; }
	.rail--left { right: calc(50% + 600px + 20px); }
	.rail--right { left: calc(50% + 600px + 20px); }
	.rail__inner { position: sticky; top: 88px; }
	.rail .ad { margin: 0; }
	.rail img { width: 100% !important; height: auto !important; max-width: none !important; }
	.rail .ad--placeholder { min-height: 600px; padding: 16px 10px; text-align: center; }
}
@media (min-width: 1880px) {
	.rail { width: 300px; }
}

/* ==========================================================================
   Players
   ========================================================================== */
.player-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
@media (min-width: 700px) { .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .player-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.player-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.player-card:hover { border-color: var(--muted); }
.player-card__photo { aspect-ratio: 4 / 5; background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--bg)); display: grid; place-items: center; overflow: hidden; }
.player-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.player-card__initials { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.5rem, 6vw, 4rem); color: var(--accent); letter-spacing: 0.02em; }
.player-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.player-card__name { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.player-card__name a { color: var(--text); text-decoration: none; }
.player-card__name a::after { content: ""; position: absolute; inset: 0; }
.player-card__meta { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 0.82rem; }
.player-card__meta .flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.player-card__tagline { margin: 4px 0 0; font-size: 0.85rem; line-height: 1.4; }
.player-card__warn { margin: 6px 0 0; font-size: 0.75rem; color: var(--accent); }
.player-grid--compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.player-hero { display: grid; gap: var(--gap); align-items: center; grid-template-columns: 1fr; margin: var(--gap) 0 8px; }
@media (min-width: 760px) { .player-hero { grid-template-columns: 300px 1fr; } }
.player-hero__photo { aspect-ratio: 4 / 5; max-width: 300px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--bg)); display: grid; place-items: center; }
.player-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.player-hero h1 { margin: 6px 0 4px; }
.player-hero__meta { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-weight: 600; }
.player-hero__meta .flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; }
.player-hero__nick { margin: 0; color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.player-hero__tagline { margin: 10px 0 0; font-size: 1.2rem; max-width: 46ch; }
.player-hero__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.results th, .results td { text-align: left; }
@media (max-width: 759px) {
	.cal table.results tr { grid-template-columns: 1fr 1fr; }
	.cal table.results td:first-child { grid-column: 1 / -1; }
	.cal table.results td[data-label]:first-child::before { content: none; }
}

.gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery-grid__item { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery-grid__item:hover img { transform: scale(1.03); }

.lightbox { max-width: min(96vw, 1200px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--text); }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { display: block; max-width: 100%; max-height: calc(94vh - 60px); margin: auto; }
.lightbox__caption { margin: 0; padding: 10px 16px 14px; color: var(--muted); font-size: 0.85rem; }
.lightbox__caption:empty { display: none; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

.mini-player { display: flex; align-items: center; gap: 12px; margin-top: 10px; color: var(--text); text-decoration: none; }
.mini-player strong { display: block; }
.mini-player__photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--surface-2); flex: none; }
.mini-player__photo img { width: 100%; height: 100%; object-fit: cover; }
.mini-player:hover strong { color: var(--accent); }

/* News page */
.news-search { display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.news-search .field { min-height: 42px; }
.cal-head + .tabs { margin-top: -4px; }

/* Short pages: leave room for the side ads so they never run into the footer */
@media (min-width: 1560px) {
	.page-shell:has(.rail) { min-height: 720px; }
}

/* Venue cards: 3 across on desktop, 2 on tablets, 1 on phones */
.venue-list { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .venue-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .venue-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.venue-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.venue-card:hover { border-color: var(--muted); }
.venue-card--featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.venue-card__logo { position: relative; aspect-ratio: 2 / 1; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.venue-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 18px 28px; }
.venue-card__initial { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2.8rem; color: var(--accent); opacity: .85; }
.venue-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.venue-card__name { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.venue-card__name a { color: var(--text); text-decoration: none; }
.venue-card__name a::after { content: ""; position: absolute; inset: 0; }
.venue-card:hover .venue-card__name a { color: var(--accent); }
.venue-card__where { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 0.88rem; }
.venue-card__where .flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex: none; }
.venue-card__summary { margin: 4px 0 0; font-size: 0.9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.venue-card__more { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 700; font-size: 0.88rem; }
.country-group__title { display: flex; align-items: center; gap: 10px; }
.country-group__flag { width: 28px; height: 21px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }

/* ==========================================================================
   Calendar list: logo | date | event | where | when | action
   ========================================================================== */
.ev-list { list-style: none; margin: 0; padding: 0; }
.ev-month { padding: 12px 18px; background: var(--surface-2); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1rem; border-bottom: 1px solid var(--line); }
.ev-row {
	position: relative; display: grid; align-items: center; gap: 10px 20px; padding: 14px 18px; border-bottom: 1px solid var(--line);
	grid-template-columns: 60px 100px minmax(0, 1.5fr) minmax(0, 1fr) 110px auto;
	grid-template-areas: "logo date main where when act";
}
.ev-list > li:last-child { border-bottom: 0; }
.ev-row:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.ev-row.is-featured { box-shadow: inset 3px 0 0 var(--accent); }
.ev-row__logo { grid-area: logo; width: 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; color: var(--accent); }
.ev-row__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.ev-row__date { grid-area: date; display: flex; flex-direction: column; line-height: 1.15; }
.ev-row__date b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.35rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ev-row__date span { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.ev-row__main { grid-area: main; min-width: 0; }
.ev-row__title { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ev-row__title a { color: var(--text); text-decoration: none; }
.ev-row__title a::after { content: ""; position: absolute; inset: 0; }
.ev-row:hover .ev-row__title a { color: var(--accent); }
.ev-row__title .tag-featured { margin: 0; }
.ev-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 0.86rem; }
.ev-type { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; border: 1px solid var(--line); color: var(--text); }
.ev-type--series { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.ev-row__line { color: var(--text); font-weight: 600; }
.ev-row__where { grid-area: where; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ev-row__where .flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.ev-row__where strong { display: block; font-size: 0.95rem; }
.ev-row__where small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.ev-row__when { grid-area: when; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.ev-row__when--live { color: var(--text); }
.ev-row__when--live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--live); }
.ev-row__when--soon { color: var(--accent); }
.ev-row__action { grid-area: act; position: relative; z-index: 1; justify-self: end; }
.ev-row__more { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 2px solid var(--accent); border-radius: var(--radius-sm); color: var(--accent); font-weight: 700; font-size: 0.875rem; text-decoration: none; }
.ev-row__more::after { content: " ›"; margin-left: 4px; }

/* Tablets: "where" moves under the event name */
@media (max-width: 1000px) {
	.ev-row { grid-template-columns: 60px 100px minmax(0, 1fr) auto; grid-template-areas: "logo date main act" "logo date where act" "logo date when act"; }
}
/* Phones: logo and date side by side, then event, where and when, button full width */
@media (max-width: 700px) {
	.ev-row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "logo date when" "main main main" "where where where" "act act act"; gap: 10px 14px; padding: 14px 16px; }
	.ev-row__logo { width: 52px; height: 52px; }
	.ev-row__when { text-align: right; }
	.ev-row__action { justify-self: stretch; }
	.ev-row__action .btn { width: 100%; }
	.ev-row__more { display: none; }
}

/* Calendar sponsor: horizontal banner above the featured cards */
.cal-sponsor { margin: 0 0 28px; text-align: center; }
.cal-sponsor .ad { margin: 0 auto; }
.cal-sponsor .ad--placeholder { min-height: 90px; max-width: 728px; }

/* ==========================================================================
   Series / Tournaments, daily schedules
   ========================================================================== */
.view-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 680px; margin: 0 0 18px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.view-switch a { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: calc(var(--radius) - 4px); color: var(--muted); text-decoration: none; }
.view-switch strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.1rem; color: var(--text); }
.view-switch span { font-size: 0.8rem; }
.view-switch a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.view-switch a[aria-current="page"] strong { color: var(--accent-ink); }
@media (max-width: 520px) { .view-switch span { display: none; } .view-switch a { align-items: center; } }

/* The schedule button inside a series row, and the panel it opens */
.ev-row { grid-template-rows: auto; }
.ev-row__toggle { position: relative; z-index: 2; margin-top: 8px; padding: 4px 10px; background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font: 600 0.82rem var(--font-body); cursor: pointer; }
.ev-row__toggle::after { content: " ▾"; color: var(--accent); }
.ev-row__toggle[aria-expanded="true"]::after { content: " ▴"; }
.ev-row__toggle:hover { border-color: var(--accent); }
.ev-row__sched { grid-column: 1 / -1; position: relative; z-index: 2; margin: 6px 0 4px; padding: 6px 16px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: auto; }
.ev-row__full { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.9rem; }
@media (min-width: 701px) { .ev-row { grid-template-areas: "logo date main where when act" "sched sched sched sched sched sched"; } .ev-row__sched { grid-area: sched; } }
@media (min-width: 701px) and (max-width: 1000px) { .ev-row { grid-template-areas: "logo date main act" "logo date where act" "logo date when act" "sched sched sched sched"; } }
@media (max-width: 700px) { .ev-row { grid-template-areas: "logo date when" "main main main" "where where where" "act act act" "sched sched sched"; } .ev-row__sched { grid-area: sched; padding: 4px 10px 12px; } }

.sched-day { margin: 14px 0 6px; font-size: 0.95rem; color: var(--accent); }
.sched { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.sched th { text-align: left; font-size: 0.72rem; font-weight: 600; color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sched td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sched tr:last-child td { border-bottom: 0; }
.sched__time { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; width: 4.5em; }
.sched__no { color: var(--muted); width: 2.5em; }
.sched__name { font-weight: 600; }
.sched__buyin { white-space: nowrap; }
.sched__buyin small { display: block; color: var(--muted); font-size: 0.78rem; }
.sched tr.is-main td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.sched tr.is-main .sched__name { color: var(--accent); }
.sched tr.is-continues td { color: var(--muted); }
.sched-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 700px) {
	.sched thead { display: none; }
	.sched tr { display: grid; grid-template-columns: 4.2em 1fr; gap: 2px 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
	.sched td { padding: 0; border: 0; }
	.sched td.sched__no { display: none; }
	.sched td.sched__time { grid-row: span 3; }
	.sched td[data-label]:not(:empty)::before { content: attr(data-label) ": "; color: var(--muted); }
	.sched td[data-label]:empty { display: none; }
	.sched-wrap { padding: 0 10px; }
}

/* Event page: day tabs like sheet tabs */
.back-link { display: inline-block; margin: 0 0 12px; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.day-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding-bottom: 2px; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tabs button { flex: none; display: grid; justify-items: center; gap: 1px; min-width: 70px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); cursor: pointer; font-family: var(--font-body); }
.day-tabs b { font-size: 0.95rem; }
.day-tabs span { font-size: 0.78rem; color: var(--muted); }
.day-tabs small { font-size: 0.7rem; color: var(--muted); }
.day-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.day-tabs button[aria-selected="true"] span, .day-tabs button[aria-selected="true"] small { color: var(--accent-ink); }
.schedule .sched-day { margin-top: 0; }
.day-panel + .day-panel { margin-top: 18px; }

/* Tournaments view */
.tour-list { list-style: none; margin: 0; padding: 0; }
.tour-row { position: relative; display: grid; grid-template-columns: 64px 44px minmax(0, 1fr) 170px 190px; align-items: center; gap: 8px 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.tour-row:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.tour-row.is-main { background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
.tour-row.is-continues { color: var(--muted); }
.tour-row__time { font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tour-row__logo { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); font-weight: 800; }
.tour-row__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 3px; }
.cash-venue__logo { flex: none; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); font-weight: 800; }
.cash-venue__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 3px; }
.tour-row__name { margin: 0 0 3px; font-size: 1rem; line-height: 1.3; }
.tour-row__name a { color: var(--text); text-decoration: none; }
.tour-row__name a::after { content: ""; position: absolute; inset: 0; }
.tour-row.is-main .tour-row__name a { color: var(--accent); }
.tour-row:hover .tour-row__name a { color: var(--accent); }
.tour-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; color: var(--muted); font-size: 0.84rem; }
.tour-row__where { display: inline-flex; align-items: center; gap: 6px; }
.tour-row__where .flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.tour-row__buyin strong { display: block; font-size: 0.95rem; white-space: nowrap; }
.tour-row__buyin small { color: var(--muted); font-size: 0.78rem; }
.tour-row__extra { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 900px) {
	.tour-row { grid-template-columns: 56px 40px minmax(0, 1fr) auto; }
	.tour-row__extra { display: none; }
}
@media (max-width: 600px) {
	.tour-row { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "time main" "time buyin"; padding: 12px 14px; }
	.tour-row__time { grid-area: time; align-self: start; }
	.tour-row__logo { display: none; }
	.tour-row__main { grid-area: main; }
	.tour-row__buyin { grid-area: buyin; display: flex; gap: 8px; align-items: baseline; }
}
.day-tabs--small { margin: 10px 0 8px; }
.day-tabs--small button { min-width: 62px; padding: 6px 10px; }
.ev-row__sched .day-panel + .day-panel { margin-top: 0; }
.sched--compact th:nth-child(1) { width: 4.5em; }
.sched--compact th:nth-child(3) { width: 12em; }
.sched--compact th:nth-child(4) { width: 7em; }
.schedule { scroll-margin-top: 90px; }
.sched td[data-label="Late reg"] { white-space: nowrap; }
@media (max-width: 700px) {
	.sched td.sched__time { grid-row: 1 / span 6; }
	.sched td:not(.sched__time) { grid-column: 2; }
}

/* Homepage: What's on today */
.whats-on__date { font-size: 0.6em; font-weight: 600; color: var(--accent); margin-left: 8px; letter-spacing: 0; }
.whats-on__live { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--surface); border: 1px solid var(--live); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.92rem; }
.live-chip:hover { background: var(--surface-2); }
.live-chip span:last-child { color: var(--muted); font-size: 0.85rem; }
.live-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 25%, transparent); animation: pia-pulse 1.6s ease-in-out infinite; }
@keyframes pia-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--live) 0%, transparent); } }
.whats-on__more { margin: 10px 0 0; font-weight: 700; }

/* ==========================================================================
   Header v2: brand band (logo, name, tagline, Subscribe) + menu buttons
   ========================================================================== */
.site-header { display: none; } /* old header, replaced */
.brandbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.brandbar__inner { display: flex; align-items: center; gap: 16px; min-height: 96px; padding-block: 14px; }
.brandmark { display: flex; align-items: center; gap: 16px; color: var(--text); text-decoration: none; min-width: 0; margin-right: auto; }
.brandmark__logo { flex: none; display: grid; place-items: center; width: 68px; height: 68px; }
.brandmark__logo svg { width: 100%; height: 100%; }
.brandmark__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.brandmark__text { display: flex; flex-direction: column; min-width: 0; }
.brandmark__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.45rem, 3.2vw, 2.2rem); line-height: 1.05; letter-spacing: -0.01em; }
.brandmark__tagline { margin-top: 4px; color: var(--muted); font-size: 0.9rem; }
.brandmark:hover .brandmark__name { color: var(--accent); }

.navbar { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.navbar .site-nav { display: none; padding-block: 8px; }
.navbar .site-nav.is-open { display: block; }
.navbar .site-nav ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.navbar .site-nav ul a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; }
.navbar .site-nav ul a:hover { border-color: var(--accent); color: var(--accent); }
.navbar .site-nav .current-menu-item > a, .navbar .site-nav .current_page_parent > a, .navbar .site-nav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.brandbar .nav-toggle { margin-left: 0; }
.brandbar__subscribe { display: none; }
@media (min-width: 760px) {
	.brandbar__subscribe { display: inline-flex; }
	.brandbar .nav-toggle { display: none; }
	.navbar .site-nav { display: block; }
	.navbar .site-nav ul { display: flex; flex-wrap: wrap; gap: 10px; }
	.navbar .site-nav ul a { min-height: 42px; padding: 6px 20px; }
}
@media (max-width: 759px) {
	.brandbar__inner { min-height: 76px; gap: 12px; }
	.brandmark { gap: 12px; }
	.brandmark__logo { width: 48px; height: 48px; }
	.brandmark__tagline { display: none; }
}
/* Side ads and sticky elements sit under the menu bar */
@media (min-width: 1560px) { .rail__inner { top: 76px; } }
.navbar__subscribe { margin-top: 8px; }
@media (min-width: 760px) { .navbar__subscribe { display: none !important; } }

/* Footer social icons */
.social { margin-top: 18px; }
.social__title { display: block; color: var(--muted); font-size: 0.8rem; margin-bottom: 8px; }
.social__icons { display: flex; gap: 10px; }
.social__link { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 20px; text-decoration: none; transition: background .15s, color .15s; }
a.social__link:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.social__link--empty { opacity: .35; }
.social__hint { display: block; margin-top: 8px; color: var(--muted); font-size: 0.75rem; max-width: 34ch; }

/* ==========================================================================
   Homepage top: lead story | three latest | What's on box
   ========================================================================== */
.top { display: grid; gap: var(--gap); margin-top: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 760px) { .top { grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); } .top-lead { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 300px; align-items: start; } .top-lead { grid-column: auto; } }

.top-lead__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.top-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.top-lead:hover .top-lead__media img { transform: scale(1.02); }
.top-lead__body { padding-top: 14px; }
.top-lead__title { margin: 6px 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.top-lead__title a { color: var(--text); text-decoration: none; }
.top-lead__title a:hover { color: var(--accent); }
.top-lead__summary { color: var(--muted); font-size: 1.05rem; margin-bottom: 8px; }

.top-stack { display: flex; flex-direction: column; }
.top-item { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.top-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.top-item__media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.top-item__media img { width: 100%; height: 100%; object-fit: cover; }
.top-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.top-item__title { margin: 0; font-size: 1rem; line-height: 1.3; }
.top-item__title a { color: var(--text); text-decoration: none; }
.top-item__title a::after { content: ""; position: absolute; inset: 0; }
.top-item:hover .top-item__title a { color: var(--accent); }
.top-item .kicker { position: relative; z-index: 1; font-size: 0.75rem; }
.top-item .meta { font-size: 0.78rem; margin: 0; }

/* What's on box */
.onbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.onbox__head { margin-bottom: 10px; }
.onbox__head h2 { margin: 0; font-size: 1.2rem; }
.onbox__date { display: block; margin-top: 2px; color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.onbox__live { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--live); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; }
.onbox__live strong { display: block; font-size: 0.9rem; }
.onbox__live small { display: block; color: var(--muted); font-size: 0.78rem; }
.onbox__live:hover { background: var(--surface-2); }
.onbox__list { list-style: none; margin: 0 0 12px; padding: 0; }
.onbox__item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.onbox__item:last-child { border-bottom: 0; }
.onbox__time { font-weight: 800; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.onbox__what a { display: block; color: var(--text); font-weight: 700; font-size: 0.9rem; line-height: 1.3; text-decoration: none; }
.onbox__what a:hover { color: var(--accent); }
.onbox__item.is-main .onbox__what a { color: var(--accent); }
.onbox__what small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-size: 0.78rem; }
.onbox__what small .flag { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; }
.onbox__buyin { display: block; margin-top: 3px; font-size: 0.8rem; font-weight: 700; }
.onbox__sponsor { margin-top: 12px; text-align: center; color: var(--muted); font-size: 0.75rem; }
.onbox__sponsor .ad { margin-top: 6px; }
@media (max-width: 759px) { .top-item { grid-template-columns: 100px minmax(0, 1fr); } }
/* Five stories beside the lead: slightly tighter rows */
@media (min-width: 1100px) {
	.top-item { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; margin-bottom: 12px; }
	.top-item__title { font-size: 0.95rem; }
}
/* Homepage news grid: fewer than 4 cards stretch across the row */
@media (min-width: 1000px) {
	.grid--4.grid--fill-3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4.grid--fill-2 { grid-template-columns: repeat(2, 1fr); }
	.grid--4.grid--fill-1 { grid-template-columns: 1fr; }
	.grid--fill-1 .card { flex-direction: row; }
	.grid--fill-1 .card__media { flex: 0 0 40%; }
}


/* Shared by both styles: the slanted "Next event" ribbon on the homepage */
/* "Next event" ribbon: slanted coral band scrolling through upcoming events */
.ticker { position: relative; overflow: hidden; margin: 22px 0 6px; background: var(--coral); transform: rotate(-1.2deg); box-shadow: 0 8px 24px rgba(240, 90, 80, .25); }
.ticker__track { display: flex; width: max-content; animation: pia-ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker a { flex: none; padding: 11px 34px; color: var(--pc-ticker-text, #120806); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; white-space: nowrap; }
.ticker a b { font-weight: 700; }
.ticker a:hover { color: var(--pc-ticker-text, #fff); }
@keyframes pia-ticker { to { transform: translateX(-50%); } }

/* Alexandria, the brand font (5 Dec 2026, was Poppins). Hosted with the theme (SIL Open Font Licence, see
   assets/fonts/OFL-alexandria.txt). One variable file per alphabet covers every weight (600 headings, 400 text). */
@font-face { font-family: "Alexandria"; src: url("assets/fonts/Alexandria-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alexandria"; src: url("assets/fonts/Alexandria-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alexandria"; src: url("assets/fonts/Alexandria-vietnamese.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Alexandria"; src: url("assets/fonts/Alexandria-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }


/* ==========================================================================
   Venue page
   ========================================================================== */
.venue-hero { margin-top: var(--gap); }
.venue-hero__photo { aspect-ratio: 21 / 8; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.venue-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.venue-hero__body { display: flex; align-items: flex-end; gap: 20px; }
.venue-hero.has-photo .venue-hero__body { margin-top: -54px; padding: 0 24px; }
.venue-hero__logo { flex: none; width: 112px; height: 112px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 4px solid var(--bg); box-shadow: 0 8px 24px rgba(0,0,0,.35); display: grid; place-items: center; position: relative; z-index: 1; }
.venue-hero__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.venue-hero__logo span { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 3rem; color: var(--accent-ink); }
.venue-hero__text { padding-bottom: 4px; min-width: 0; }
.venue-hero__text h1 { margin: 6px 0 4px; }
.venue-hero__where { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-weight: 600; }
.venue-hero__where .flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; }
.venue-hero__summary { margin: 10px 0 0; font-size: 1.1rem; max-width: 60ch; }
.venue-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.venue-layout { margin-top: 28px; }
.venue-section { margin-bottom: 36px; scroll-margin-top: 90px; }
.venue-section h2 { font-size: 1.4rem; }
.venue-sub { margin: 20px 0 6px; font-size: 1.05rem; }
.venue-pre { white-space: pre-line; color: var(--text); }
.venue-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.info { margin: 0; }
.info div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.info div:last-child { border-bottom: 0; }
.info dt { color: var(--muted); font-size: 0.78rem; margin-bottom: 3px; }
.info dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.info a { color: var(--accent); }
.sidebar .panel h2 { margin-bottom: 6px; }
@media (max-width: 700px) {
	.venue-hero__photo { aspect-ratio: 16 / 10; }
	.venue-hero.has-photo .venue-hero__body { margin-top: -40px; padding: 0 12px; }
	.venue-hero__body { align-items: flex-start; flex-direction: column; gap: 10px; }
	.venue-hero__logo { width: 84px; height: 84px; }
}
/* Venue page fixes: name below the photo; tournament rows stacked in the main column */
.venue-hero__body { align-items: flex-start; }
.venue-hero.has-photo .venue-hero__text { padding-top: 62px; }
@media (min-width: 701px) {
	.venue-layout .ev-row { grid-template-columns: 60px 100px minmax(0, 1fr) auto; grid-template-areas: "logo date main act" "logo date where act" "logo date when act" "sched sched sched sched"; }
}
@media (max-width: 700px) { .venue-hero.has-photo .venue-hero__text { padding-top: 0; } }

/* Venue page v2: contact cards in a row, content and ad below */
.venue-info { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 24px; }
.venue-info:empty { display: none; }
.venue-info .panel { padding: 16px 18px; }
.venue-info .panel h2 { font-size: 1.05rem; margin-bottom: 6px; }
.venue-hours { margin: 0; font-weight: 600; font-size: 0.92rem; line-height: 1.6; }
.venue-layout { margin-top: 28px; }
.venue-news .top-item { grid-template-columns: 140px minmax(0, 1fr); }
@media (max-width: 700px) { .venue-news .top-item { grid-template-columns: 100px minmax(0, 1fr); } }
.venue-info { align-items: start; }
@media (min-width: 1000px) { .venue-layout--full { grid-template-columns: 1fr; } }
.venue-layout--full .venue-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 760px) { .venue-layout--full .venue-news { grid-template-columns: 1fr; } }
.venue-layout--full .venue-news .top-item { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
/* Contact is wider (details in two columns) so the cards in the row end at a similar height */
.venue-info { display: flex; flex-wrap: wrap; align-items: stretch; }
.venue-info > .panel { flex: 1 1 200px; }
.venue-info > .panel:first-child { flex: 2 1 440px; }
@media (min-width: 640px) {
	.venue-info > .panel:first-child .info { display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 22px; }
	.venue-info > .panel:first-child .info div:first-child { grid-row: span 3; border-bottom: 0; }
}

/* Venue header like Facebook: cover in Facebook's proportions (820 × 312), square logo overlapping like a profile picture */
.venue-hero__photo { aspect-ratio: 820 / 312; }
.venue-hero__logo { width: 150px; height: 150px; border-width: 5px; }
.venue-hero.has-photo .venue-hero__body { margin-top: -75px; padding: 0 28px; }
.venue-hero.has-photo .venue-hero__text { padding-top: 84px; }
@media (max-width: 700px) {
	.venue-hero__photo { aspect-ratio: 16 / 9; }
	.venue-hero__logo { width: 96px; height: 96px; border-width: 4px; }
	.venue-hero.has-photo .venue-hero__body { margin-top: -48px; padding: 0 14px; }
	.venue-hero.has-photo .venue-hero__text { padding-top: 0; }
}
/* No cover photo yet: a neutral band in the cover's place, so the logo still sits the same way */
.venue-hero:not(.has-photo) .venue-hero__body { padding: 28px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border-radius: var(--radius); }
.time-tbc { display: inline-block; font-size: 0.72rem; font-weight: 700; line-height: 1.2; color: var(--muted); }
/* Tournaments view: logo | time | name, type and country | buy-in | stack and late reg */
.tour-row { grid-template-columns: 44px 72px minmax(0, 1fr) 170px 190px; }
@media (max-width: 900px) { .tour-row { grid-template-columns: 40px 64px minmax(0, 1fr) auto; } }
@media (max-width: 600px) {
	.tour-row { grid-template-columns: 40px 52px minmax(0, 1fr); grid-template-areas: "logo time main" "logo time buyin"; }
	.tour-row__logo { display: grid; grid-area: logo; width: 40px; height: 40px; align-self: start; }
}

/* Tournaments view v3: spread across the full width */
.tour-row { grid-template-columns: 44px 76px minmax(0, 1.5fr) minmax(0, 1fr) minmax(130px, 0.8fr) auto; gap: 8px 18px; }
.tour-row__where { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tour-row__where .flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.tour-row__where strong { display: block; font-size: 0.92rem; }
.tour-row__where small { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.tour-row__buyin small { display: block; }
.tour-row__extra-line { color: var(--muted); font-size: 0.76rem; margin-top: 2px; }
.tour-row__action { position: relative; z-index: 1; }
/* 5 Dec 2026: a running tournament links straight to it on the venue's own portal */
.tour-row__live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--live); border-radius: 999px; color: var(--text); font-size: 0.76rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tour-row__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.tour-row__live::after { content: "\2197"; margin-left: 2px; }
.tour-row .ev-type--series { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1000px) {
	.tour-row { grid-template-columns: 44px 68px minmax(0, 1fr) minmax(120px, auto); grid-template-areas: "logo time main buyin" "logo time where buyin"; }
	.tour-row__logo { grid-area: logo; } .tour-row__time { grid-area: time; } .tour-row__main { grid-area: main; }
	.tour-row__where { grid-area: where; } .tour-row__buyin { grid-area: buyin; } .tour-row__action { display: none; }
}
@media (max-width: 600px) {
	.tour-row { grid-template-columns: 40px 52px minmax(0, 1fr); grid-template-areas: "logo time main" "logo time where" "logo time buyin"; }
	.tour-row__buyin { display: block; }
}
@media (min-width: 1001px) { .tour-row { grid-template-columns: 44px 76px minmax(0, 1.15fr) minmax(0, 1fr) minmax(140px, 0.8fr) auto; } }
.onbox__structure { display: block; margin-top: 2px; color: var(--muted); font-size: 0.74rem; }
.tour-row__meta { gap: 4px 10px; }
.tour-row__structure { color: var(--muted); font-size: 0.8rem; }
@media (min-width: 1001px) { .tour-row { grid-template-columns: 44px 76px minmax(0, 1.5fr) minmax(0, 1fr) minmax(120px, 0.6fr) auto; } }
.venue-ad { margin: 0 0 36px; text-align: center; }
.venue-ad .ad { margin: 0 auto; }
.venue-ad .ad--placeholder { min-height: 90px; max-width: 728px; }
.travel-box__logo { background: #fff; border-radius: var(--radius-sm); padding: 10px 14px; margin: 4px 0 10px; display: flex; align-items: center; justify-content: center; }
.travel-box__logo img { max-height: 54px; width: auto; }

/* ==========================================================================
   BRAND PALETTE (from the logo) with LIGHT and DARK modes
   Charcoal header and footer in both modes. Light: white pages, purple links.
   Dark: charcoal pages, gold links. Buttons gold; featured highlights orange.
   ========================================================================== */
:root {
	--charcoal: #212429;
	--gold: #fed45b;
	--purple: #442f8c;
	--purple-light: #8e7ce6;
	--orange: #f2843a;

	/* Light mode (default) */
	--bg: #ffffff;
	--surface: #f7f5f0;
	--surface-2: #efebe2;
	--line: #e3ded2;
	--text: #1d1f24;
	--muted: #5e636e;
	--accent: #442f8c;        /* links, kickers, selected filters */
	--accent-ink: #ffffff;    /* text on accent fills */
	--coral: #f2843a;
	--live: #e5484d;
	--font-body: "Alexandria", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Alexandria", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--display-weight: 600;
	--radius: 12px;
	--radius-sm: 8px;
	color-scheme: light;
}
/* Dark mode: chosen with the switch, or following the device when no choice was made */
:root[data-theme="dark"] {
	--bg: #17191d; --surface: #22252b; --surface-2: #2a2e35; --line: #353a42;
	--text: #f5f2ea; --muted: #a3a7b0; --accent: #fed45b; --accent-ink: #212429;
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #17191d; --surface: #22252b; --surface-2: #2a2e35; --line: #353a42;
		--text: #f5f2ea; --muted: #a3a7b0; --accent: #fed45b; --accent-ink: #212429;
		color-scheme: dark;
	}
}
/* Header, menu bar and footer: always charcoal, with gold */
.brandbar, .navbar, .site-footer {
	--bg: #212429; --surface: #2b2f35; --surface-2: #343840; --line: #3a3f47;
	--text: #f5f2ea; --muted: #a9adb5; --accent: #fed45b; --accent-ink: #212429;
	color-scheme: dark;
	background: var(--bg); color: var(--text);
}
.navbar { background: color-mix(in srgb, var(--pc-menu-bg, #212429) 96%, transparent); }
body { background: var(--bg); color: var(--text); }

/* Buttons: gold with charcoal text, in both modes */
.btn { background: var(--pc-btn-bg, var(--gold)); border-color: var(--pc-btn-bg, var(--gold)); color: var(--charcoal); }
.btn:hover { filter: brightness(1.05); }
.btn--ghost { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.ev-row__more { border-color: var(--accent); color: var(--accent); }

/* Orange highlights: featured tags, the "Next event" ribbon */
.tag-featured { background: var(--orange); border-color: var(--orange); color: var(--charcoal); }
.ev-card__badge { background: var(--orange); color: var(--charcoal); }
.ev-row.is-featured, .tour-row.is-main { box-shadow: inset 3px 0 0 var(--orange); }
.ev-card { border-color: color-mix(in srgb, var(--orange) 55%, var(--line)); }
.ticker { background: var(--orange); }
.ticker a { color: var(--charcoal); font-size: .85rem; letter-spacing: .06em; }
.featured-partner, .venue-card--featured { border-color: var(--orange); }

/* Series badge and Omaha badge in purple tones; NLH in gold tones */
.ev-type--series { background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.cash-game--nlh { background: color-mix(in srgb, var(--gold) 30%, transparent); border-color: color-mix(in srgb, #c9a227 60%, var(--line)); }
.cash-game--plo { background: color-mix(in srgb, var(--purple-light) 25%, transparent); border-color: color-mix(in srgb, var(--purple-light) 55%, var(--line)); }

/* Light mode details */
.card, .ev-card, .venue-card, .player-card, .panel, .cal, .onbox, .sched-wrap, .cash-venues { box-shadow: 0 1px 2px rgba(20, 22, 26, .04); }
.ev-month, .cal__month { color: var(--text); }
.chip__flag, .country-tiles__flag, .ev-row__where .flag, .venue-hero__where .flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }

/* Light/dark switch in the header */
.mode-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; flex: none; }
.mode-toggle:hover { border-color: var(--accent); color: var(--accent); }
.mode-toggle svg { width: 20px; height: 20px; }

/* Language menu */
.lang-menu { position: relative; flex: none; }
.lang-menu summary { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 21px; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--accent); color: var(--accent); }
.lang-menu img { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; flex: none; }
.lang-menu ul { position: absolute; z-index: 1000; top: calc(100% + 6px); inset-inline-end: 0; min-width: 170px; max-height: 70vh; overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface, var(--bg, #fff)); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--text); font-size: 14px; text-decoration: none; white-space: nowrap; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--accent); color: var(--accent-ink); }

/* Arabic: the page reads right to left; numbers and cards keep their order. */
[dir="rtl"] body { text-align: start; }
[dir="rtl"] .carousel__track { direction: ltr; }
[dir="rtl"] .carousel__slide { direction: rtl; }
[dir="rtl"] .carousel__btn svg, [dir="rtl"] .section__more svg { transform: scaleX(-1); }
.mode-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .mode-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .mode-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .mode-toggle .icon-sun { display: block; }
	:root:not([data-theme="light"]) .mode-toggle .icon-moon { display: none; }
}
/* Round logo with the name inside: a little taller so the lettering stays readable */
.logo-has-name .brandmark__logo img { height: 88px !important; }
@media (max-width: 759px) { .logo-has-name .brandmark__logo img { height: 56px !important; } }
/* Logo that already shows the name: hide the typed name and tagline, show the logo larger */
.logo-has-name .brandmark__text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.logo-has-name .brandmark__logo { display: block; width: auto; height: auto; }
.logo-has-name .brandmark__logo img { display: block; height: 88px !important; width: auto !important; max-width: 240px !important; max-height: none !important; }
.logo-has-name .brandbar__inner { padding-block: 10px; }
@media (max-width: 759px) { .logo-has-name .brandmark__logo img { height: 56px !important; } }
.venue-hero__logo span { color: var(--charcoal); }

/* Players page: square photos, more cards per row (about half the height of before) */
.player-grid { gap: 14px; }
@media (min-width: 600px) { .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .player-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .player-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.player-card__photo { aspect-ratio: 4 / 3 !important; }
.player-card__photo img { object-position: 50% 20%; }
.player-card__initials { font-size: clamp(1.8rem, 4vw, 2.6rem) !important; }
.player-card__body { padding: 10px 12px 12px !important; gap: 2px !important; }
.player-card__name { font-size: 0.98rem !important; }
.player-card__meta { font-size: 0.8rem !important; }
.player-card__tagline { font-size: 0.8rem !important; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.world-icon { width: 18px; height: 18px; color: var(--accent); flex: none; }
.chip[aria-current="page"] .world-icon { color: currentColor; }
.player-search { display: flex; gap: 10px; max-width: 560px; margin: 0 0 16px; }
.player-search input { flex: 1; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; }
.player-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.player-search__result { margin: 0 0 14px; font-weight: 600; }
.player-card[hidden] { display: none; }

/* Study page */
.study-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.study-jump a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--text); text-decoration: none; }
.study-jump a:hover { border-color: var(--accent); color: var(--accent); }
.study-section { padding: 36px 0 8px; border-top: 1px solid var(--line); margin-top: 28px; scroll-margin-top: 90px; }
.study-section:first-of-type { border-top: 0; }
.study-section h2 { margin-bottom: 14px; }
.study .prose { max-width: 72ch; }
.fed-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.fed-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fed-card__flag { width: 44px; height: 33px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.fed-card strong { display: block; }
.fed-card span { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.fed-card a { font-size: 0.82rem; font-weight: 600; }
.coming-soon { position: relative; padding: 28px; border: 1px dashed color-mix(in srgb, var(--accent) 50%, var(--line)); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); max-width: 760px; }
.coming-soon h3 { margin: 10px 0 6px; font-size: 1.25rem; }
.coming-soon p { margin: 0 0 16px; color: var(--muted); }
.coming-soon__badge { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--orange); color: var(--charcoal); font-weight: 700; font-size: 0.8rem; }
.tools-type { margin: 22px 0 10px; font-size: 1rem; color: var(--muted); }
.tool-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }
.tool-card { display: flex; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tool-card__logo { flex: none; width: 150px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: var(--charcoal); border: 1px solid var(--line); }
.tool-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
@media (max-width: 480px) { .tool-card { flex-direction: column; } .tool-card__logo { width: 100%; height: 110px; } }
.venue-all { margin: 14px 0 0; text-align: center; }
.brands--clubs { margin-top: 10px; }
.brands--clubs .brand-tile__name { font-size: 0.74rem; overflow-wrap: anywhere; }
.tool-card h4 { margin: 0 0 4px; font-size: 1rem; }
.tool-card h4 a { color: var(--text); text-decoration: none; }
.tool-card h4 a:hover { color: var(--accent); }
.tool-card p { margin: 6px 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.tool-price { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; border: 1px solid var(--line); }
.tool-price--free { background: color-mix(in srgb, #2f9e44 18%, transparent); border-color: color-mix(in srgb, #2f9e44 45%, var(--line)); }
.tool-price--trial { background: color-mix(in srgb, var(--gold) 30%, transparent); }
.tool-price--paid { background: color-mix(in srgb, var(--accent) 14%, transparent); }
/* "Next event" ribbon: straight, full width */
.ticker { transform: none; margin: 0; box-shadow: none; }
.study-intro { max-width: 72ch; margin: -4px 0 16px; color: var(--muted); }

/* Logo intro after the age check (the elephant walks out of the chip) */
.pia-intro { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; background: var(--pc-gate-bg, #212429); cursor: pointer; animation: pia-intro-out 450ms 3900ms ease-in forwards; }
.pia-intro__logo { position: relative; width: min(64vw, 380px); aspect-ratio: 519 / 541; }
.pia-intro__logo img, .pia-intro__walk, .pia-intro__stride { position: absolute; inset: 0; width: 100%; height: 100%; }
.pia-intro__chip { animation: pia-chip-in 700ms cubic-bezier(.2,.8,.2,1) both; }
.pia-intro__walk { transform-origin: 49.9% 60%; animation: pia-advance 2200ms 500ms cubic-bezier(.3,.05,.25,1) both; }
.pia-intro__stride { transform-origin: 45% 70%; animation: pia-stride 550ms 500ms ease-in-out 4 both; }
.pia-intro__text { animation: pia-text-in 650ms 2750ms ease-out both; }
.pia-intro__skip { position: absolute; bottom: max(24px, env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); color: var(--pc-gate-text-a55, rgba(245, 242, 234, .55)); font-size: 0.8rem; letter-spacing: .04em; }
@keyframes pia-chip-in { from { transform: rotate(-120deg) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pia-advance { 0% { transform: translateY(-4%) scale(.18); opacity: 0; filter: brightness(.45); } 12% { opacity: 1; } 80% { transform: translateY(1.5%) scale(1.07); filter: brightness(1); } 100% { transform: none; filter: none; } }
@keyframes pia-stride { 0% { transform: none; } 25% { transform: translateY(2.2%) rotate(-2.5deg); } 50% { transform: translateY(-.6%) rotate(0deg); } 75% { transform: translateY(2.2%) rotate(2.5deg); } 100% { transform: none; } }
@keyframes pia-text-in { from { transform: translateY(14%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pia-intro-out { to { opacity: 0; visibility: hidden; } }
.pia-intro.is-leaving { animation: pia-intro-out 350ms ease-in forwards; }

/* ==========================================================================
   Mobile fixes (phone audit)
   ========================================================================== */
/* Content columns never grow wider than the screen; long web addresses wrap */
.layout > *, .top > *, .venue-layout > *, .ev-row > *, .tour-row > * { min-width: 0; }
.prose, .prose a, .facts dd, .info dd, .venue-pre { overflow-wrap: anywhere; }
.facts dd { min-width: 0; }
@media (max-width: 480px) {
	.facts div { grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; }
}
/* Calendar tabs: three equal tabs in one row on phones */
@media (max-width: 640px) {
	.view-switch--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
	.view-switch--3 a { padding: 9px 4px; text-align: center; justify-content: center; }
	.view-switch--3 strong { font-size: 0.86rem; white-space: nowrap; }
}
/* Players search: the button always stays on screen */
.player-search input { min-width: 0; }
.player-search .btn { flex: none; }
/* Small labels a touch larger for reading on phones */
.tag-featured, .ev-card__badge, .ad__label, .ev-type, .tool-price, .cash-game { font-size: max(0.75rem, 12px); }
/* Comfortable tap size for chips, tabs and small buttons on touch screens */
@media (pointer: coarse) {
	.chip, .tabs a, .segmented a, .day-tabs button, .ev-row__toggle, .cash-venue__toggle, .study-jump a { min-height: 40px; display: inline-flex; align-items: center; }
	.btn--small { min-height: 40px; }
}
/* Sideways-scrolling strips show a soft edge so it's clear they scroll */
@media (max-width: 760px) {
	.months, .chips--countries, .day-tabs, .tabs { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
.event-gallery { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
@media (max-width: 600px) { .event-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } }

/* Calendar: four tabs in one row on wider screens, two by two on phones */
.view-switch--4 { max-width: 1180px; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 760px) {
	.view-switch--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 4px; }
	.view-switch--4 span { display: none; }
	.view-switch--4 a { align-items: center; text-align: center; padding: 10px 6px; }
}
.tour-row__tz { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.tour-row__where .world-icon.flag { width: 22px; height: 22px; box-shadow: none; }

/* Gallery page */
.gallery-filter { display: grid; gap: 12px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: end; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 18px; }
.gallery-filter label span { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.gallery-filter input, .gallery-filter select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: inherit; }
.gallery-filter__buttons { display: flex; gap: 8px; }
@media (max-width: 700px) { .gallery-filter { grid-template-columns: 1fr; } }
.gallery-count { margin: 0 0 12px; font-weight: 600; }
.photo-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.photo-card { margin: 0; }
.photo-card__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-card__img:hover img { transform: scale(1.03); }
.photo-card figcaption { padding: 8px 2px 0; }
.photo-card__cap { margin: 0 0 4px; font-size: 0.92rem; line-height: 1.4; }
.photo-card__event { display: block; font-weight: 600; font-size: 0.88rem; color: var(--accent); }
.photo-card__date { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
@media (max-width: 600px) { .photo-card__cap { font-size: 0.82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; }
.pager a { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-weight: 600; }
.pager a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
/* Viewer: names and previous/next */
.lightbox__who { margin: 4px 0 0; color: rgba(255,255,255,.8); font-size: 0.9rem; }
.lightbox__who a { color: var(--gold); }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; border-radius: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
.lightbox__nav:hover { background: rgba(0,0,0,.7); }
.lightbox__who { color: var(--text); padding: 0 16px 12px; margin: -6px 0 0; font-size: 0.88rem; }
.lightbox__who a { color: var(--accent); font-weight: 600; }

/* Online Poker page: sites table */
.rooms { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.rooms__head, .room { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1.1fr) 150px; gap: 16px; align-items: center; padding: 14px 18px; }
.rooms__head { background: var(--charcoal); color: #f5f2ea; font-weight: 700; font-size: 0.88rem; }
.room { border-top: 1px solid var(--line); background: var(--bg); }
.room:nth-child(odd) { background: var(--surface); }
.room__op { display: flex; align-items: center; gap: 14px; min-width: 0; }
.room__logo { flex: none; width: 110px; height: 64px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 1.6rem; color: var(--charcoal); }
.room__logo img { max-width: 92%; max-height: 80%; width: auto; height: auto; object-fit: contain; }
.room__name strong { display: block; font-size: 1.05rem; }
.room__bonus { display: block; font-weight: 600; color: var(--accent); font-size: 0.9rem; }
.room__name small { display: block; color: var(--muted); font-size: 0.76rem; margin-top: 2px; }
.room__label { display: none; font-size: 0.75rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.room__flags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.room__flag { width: 26px; height: 19px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; }
.room__more { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.room__only { display: block; margin-top: 4px; font-size: 0.86rem; font-weight: 600; }
.room__list-link { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--muted); text-decoration: underline; }
.room__list-link:hover { color: var(--text); }
.code-copy { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1.5px dashed var(--orange); border-radius: var(--radius-sm); background: transparent; color: var(--text); font: 700 0.92rem var(--font-body); letter-spacing: .04em; cursor: pointer; }
.code-copy svg { width: 16px; height: 16px; color: var(--muted); }
.code-copy:hover { background: color-mix(in srgb, var(--orange) 10%, transparent); }
.code-copy.is-copied { border-style: solid; border-color: #2f9e44; }
.room__go .btn { width: 100%; justify-content: center; }
.online-note { margin-top: 12px; }
@media (max-width: 800px) {
	.rooms__head { display: none; }
	.room { grid-template-columns: 1fr 1fr; grid-template-areas: "op op" "where code" "go go"; gap: 12px; }
	.room__op { grid-area: op; } .room__where { grid-area: where; } .room__code { grid-area: code; } .room__go { grid-area: go; }
	.room__label { display: block; }
}

/* Responsible gaming */
.rg-yours { margin: 0 0 20px; max-width: 560px; }
.rg-text { max-width: 72ch; }
.rg-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rg-card { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rg-card.is-yours { border: 2px solid var(--accent); }
.rg-card__where { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rg-card__flag { width: 32px; height: 24px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.rg-card__flag.world-icon { width: 24px; height: 24px; box-shadow: none; }
.rg-card__yours { padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 700; }
.rg-card__org { margin: 8px 0 4px; font-weight: 600; }
.rg-card__phone { display: inline-block; margin: 2px 0; font-size: 1.35rem; font-weight: 800; color: var(--text); text-decoration: none; }
.rg-card__phone:hover { color: var(--accent); }
.rg-card__hours { margin: 2px 0 6px; color: var(--muted); font-size: 0.85rem; }
.rg-card__web { font-size: 0.88rem; font-weight: 600; overflow-wrap: anywhere; }
.rg-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 24px; padding: 12px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; }
.rg-strip__badge { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--live); display: grid; place-items: center; font-weight: 800; font-size: 0.75rem; }
.rg-strip a { font-weight: 700; }
.rg-strip__more { margin-left: auto; }

/* About page: the team */
.about-intro { max-width: 72ch; font-size: 1.08rem; }
.about-outro { font-size: 1.08rem; }
.about-outro > * { max-width: 72ch; }
.about-outro > :first-child { margin-top: 0; }
.team-group { margin: 22px 0 8px; }
.team-group__title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.team-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.team-grid--lead { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.team-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-grid--lead .team-card { flex-direction: row; }
.team-card__photo { display: block; aspect-ratio: 1 / 1; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); overflow: hidden; }
.team-grid--lead .team-card__photo { flex: none; width: 42%; aspect-ratio: auto; min-height: 220px; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.team-card__photo span { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2.6rem; font-weight: 800; color: var(--accent); }
.team-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.team-card h3 { margin: 0; font-size: 1.1rem; }
.team-card h3 a { color: var(--text); text-decoration: none; }
.team-card h3 a:hover { color: var(--accent); }
.team-card__title { margin: 0; font-weight: 600; color: var(--accent); font-size: 0.9rem; }
.team-based { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.team-based__flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.team-card__bio { margin: 6px 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--text); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.team-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-card__more { font-size: 0.82rem; font-weight: 700; }
.team-socials { display: inline-flex; gap: 6px; }
.team-socials a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); }
.team-socials a:hover { color: var(--accent); border-color: var(--accent); }
.team-socials svg { width: 15px; height: 15px; fill: currentColor; }
.team-email { margin: 6px 0 10px; font-size: .95rem; }
.team-email a { color: var(--accent); overflow-wrap: anywhere; }
.team-email a:hover { text-decoration: underline; }
@media (max-width: 600px) { .team-grid--lead .team-card { flex-direction: column; } .team-grid--lead .team-card__photo { width: 100%; aspect-ratio: 1 / 1; min-height: 0; } }
/* Author page */
.author-head { display: flex; gap: 24px; align-items: flex-start; padding: 8px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.author-head__photo { flex: none; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); }
.author-head__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.author-head h1 { margin: 4px 0 2px; }
.author-head__title { margin: 0 0 6px; font-weight: 600; color: var(--accent); }
.author-head__bio { max-width: 65ch; margin: 10px 0 12px; }
@media (max-width: 600px) { .author-head { flex-direction: column; align-items: center; text-align: center; } .author-head__photo { width: 128px; height: 128px; } }
/* Team layout v2: wide leadership cards; compact cards with round photos for everyone else */
.team-grid--lead { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.team-grid--lead .team-card__photo { width: 38%; min-height: 240px; }
.team-grid--lead .team-card h3 { font-size: 1.3rem; }
.team-grid:not(.team-grid--lead) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.team-grid:not(.team-grid--lead) .team-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 14px; padding: 16px; align-items: start; }
.team-grid:not(.team-grid--lead) .team-card__photo { width: 84px; height: 84px; aspect-ratio: 1 / 1; border-radius: 50%; border: 2px solid var(--gold); }
.team-grid:not(.team-grid--lead) .team-card__photo span { font-size: 1.5rem; }
.team-grid:not(.team-grid--lead) .team-card__body { padding: 2px 0 0; }
.team-grid:not(.team-grid--lead) .team-card__bio { -webkit-line-clamp: 4; }
.author-head__initials, .author-box__photo span { display: grid; place-items: center; width: 100%; height: 100%; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); font-weight: 800; font-size: 2.6rem; }
.author-box__photo { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); display: block; }
.author-box__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.author-box__photo span { font-size: 1.3rem; }
.author-box__title { margin: 0 0 4px; font-weight: 600; color: var(--accent); font-size: 0.88rem; }
.team-former { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.team-former a { font-weight: 600; }
/* About page v3: The team (large boxes, two per row), then Our writers (compact boxes) */
.team-section h2 { margin-bottom: 16px; }
.team-section--team .team-grid--lead { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.team-section + .team-section { margin-top: 12px; }
.team-card__photo, .team-card__photo:hover { text-decoration: none; }
/* Player gallery: one-click profile photo (editors) */
.gallery-grid__cell { display: flex; flex-direction: column; gap: 6px; }
.pp-btn { display: block; text-align: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 700; color: var(--accent); text-decoration: none; background: var(--surface); }
.pp-btn:hover { border-color: var(--accent); }
.pp-btn.is-current { color: var(--muted); border-style: dashed; }
.player-hero__photo img, .player-card__photo img { object-position: 50% 22%; }
/* Player gallery: event name on hover (always shown on touch screens) */
.gallery-grid__item { position: relative; display: block; overflow: hidden; }
.gallery-grid__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 9px; background: linear-gradient(to top, rgba(18,19,22,.88), rgba(18,19,22,0)); color: #fff; font-size: 0.8rem; font-weight: 600; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.gallery-grid__item:hover .gallery-grid__label, .gallery-grid__item:focus-visible .gallery-grid__label { opacity: 1; transform: none; }
@media (hover: none) { .gallery-grid__label { opacity: 1; transform: none; font-size: 0.72rem; padding: 18px 8px 6px; } }
@media (prefers-reduced-motion: reduce) { .gallery-grid__label { transition: none; } }
.players-count { margin: 18px 0 0; color: var(--muted); font-size: 0.9rem; }
.cal-head__intro { margin: 4px 0 2px; color: var(--muted); max-width: 70ch; }

/* Main menu: Study dropdown */
.navbar .site-nav .has-sub { position: relative; display: flex; align-items: center; }
.navbar .site-nav .sub-toggle { display: none; }
.navbar .site-nav .sub-menu { list-style: none; margin: 6px 0 0 18px; padding: 0; display: grid; gap: 6px; }
.navbar .site-nav .sub-menu a { justify-content: flex-start; font-weight: 600; min-height: 40px; }
@media (min-width: 900px) {
	.navbar .site-nav .has-sub { flex-wrap: nowrap; }
	.navbar .site-nav .has-sub > a { padding-right: 38px; }
	.navbar .site-nav .sub-toggle { display: grid; place-items: center; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
	.navbar .site-nav .has-sub > a[aria-current="page"] + .sub-toggle { color: var(--accent-ink); }
	.navbar .site-nav .sub-toggle svg { width: 11px; height: 8px; }
	.navbar .site-nav .sub-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 250px; margin: 0; padding: 8px; background: var(--charcoal); border: 1px solid var(--pc-menu-line-a12, rgba(255,255,255,.12)); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
	.navbar .site-nav .has-sub:hover > .sub-menu, .navbar .site-nav .has-sub:focus-within > .sub-menu, .navbar .site-nav .has-sub.is-open > .sub-menu { display: grid; }
	.navbar .site-nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; } /* keeps the menu open while moving the mouse into it */
	.navbar .site-nav .sub-menu a { border-radius: var(--radius-sm); justify-content: flex-start; white-space: nowrap; }
}

/* Study pages */
.crumbs { margin: 4px 0 -4px; font-size: 0.88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.study-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; margin: 8px 0 12px; }
@media (min-width: 960px) { .study-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.study-text { max-width: 70ch; }
.study-text img { max-height: 220px; width: auto; }
.fed-panel { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.fed-panel__logo { display: grid; place-items: center; background: #fff; border-radius: var(--radius-sm); padding: 18px; }
.fed-panel__logo img { max-height: 120px; width: auto; height: auto; object-fit: contain; }
.fed-panel__title { font-size: 1.15rem; margin: 4px 0 0; line-height: 1.3; }
.fed-panel__count { margin: 0; color: var(--muted); font-size: 0.9rem; }
.fed-panel__flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fed-panel__flags li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.fed-panel__flag { width: 30px; height: 22px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.fed-panel .btn { align-self: flex-start; }
.study-block { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 32px; }
.study-next { display: flex; flex-direction: column; gap: 4px; margin: 40px 0 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); max-width: 560px; }
.study-next:hover { border-color: var(--accent); }
.study-next__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.study-next strong { font-size: 1.2rem; }
.study-hub { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); margin: 8px 0 16px; }
.study-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.study-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.study-card__media { aspect-ratio: 16 / 7; background: #fff; display: grid; place-items: center; overflow: hidden; }
.study-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.study-card__media.is-empty { background: linear-gradient(135deg, var(--charcoal), #343842); color: var(--gold); font-size: 4rem; }
.study-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.study-card h2 { margin: 0; font-size: 1.5rem; }
.study-card p { margin: 0; color: var(--muted); }
.study-card__go { font-weight: 700; color: var(--accent); margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .study-card, .study-card:hover { transition: none; transform: none; } }
.tool-type { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-bottom: 2px; }
/* The current section's button keeps dark text on hover (gold on gold was invisible) */
.navbar .site-nav a[aria-current="page"]:hover, .navbar .site-nav .current-menu-item > a:hover { color: var(--accent-ink); border-color: var(--accent); }
.navbar .site-nav .sub-menu a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }

/* Footer: three columns (brand, email and social · Explore · About), then the 18+ notice and a slim legal bar */
.site-footer__cols { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 32px; }
@media (min-width: 760px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } .footer-col--brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .site-footer__cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .footer-col--brand { grid-column: auto; } }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--pc-footer-text, #f5f2ea); }
.footer-brand__logo { display: block; flex: none; }
.footer-brand__logo img { display: block; height: 72px; width: auto; }
.footer-brand__logo svg { display: block; width: 56px; height: 56px; }
.footer-brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.footer-about { margin: 16px 0 0; max-width: 46ch; color: var(--pc-footer-text-a72, rgba(245, 242, 234, .72)); line-height: 1.6; }
.footer-col__title { margin: 0 0 14px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--pc-footer-accent, var(--gold)); }
.footer-email { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 6px; color: var(--pc-footer-text, #f5f2ea); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.footer-email svg { width: 20px; height: 20px; flex: none; color: var(--pc-footer-accent, var(--gold)); }
.footer-email:hover { color: var(--pc-footer-accent, var(--gold)); }
.footer-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--pc-footer-text, #f5f2ea); text-decoration: none; }
.footer-links a:hover { color: var(--pc-footer-accent, var(--gold)); text-decoration: underline; }
.site-footer .footer-col .social-links { margin-top: 0; }
.footer-social { margin-top: 18px; }
.footer-social:empty { display: none; }
.footer-col .footer-email { margin-top: 0; }
/* Footer: on wide screens the middle and right columns start level with the paragraph, below the logo */
@media (min-width: 1040px) {
	.site-footer__cols .footer-col:not(.footer-col--brand) { padding-top: 80px; }
	.site-footer__cols.has-logo .footer-col:not(.footer-col--brand) { padding-top: 96px; }
}
/* Brand column: email sits under the paragraph, above the social icons */
.footer-col--brand .footer-email { margin: 18px 0 0; }
/* Bottom: the 18+ notice, then copyright and the legal links, smaller and quieter */
.site-footer__bottom { display: grid; gap: 16px; justify-content: stretch; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.site-footer__copy { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--pc-footer-accent, var(--gold)); text-decoration: underline; }
@media (max-width: 759px) {
	.site-footer__legal { flex-direction: column-reverse; align-items: flex-start; }
}

/* Where to Play: compact horizontal venue cards (logo left), 3 across and about 3 rows per screen */
.venue-list { gap: 14px; }
.venue-card { flex-direction: row; align-items: stretch; min-height: 128px; }
.venue-card__logo { flex: none; width: 116px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); background: #fff; }
.venue-card__logo img { padding: 10px; }
.venue-card__initial { font-size: 2rem; }
.venue-card__logo .ev-card__badge { top: auto; bottom: 6px; left: 6px; right: 6px; text-align: center; font-size: 0.62rem; padding: 2px 4px; }
.venue-card__body { gap: 3px; padding: 12px 14px; min-width: 0; }
.venue-card__name { font-size: 1rem; }
.venue-card__where { font-size: 0.82rem; }
.venue-card__summary { font-size: 0.84rem; margin-top: 2px; -webkit-line-clamp: 2; }
.venue-card__more { padding-top: 6px; font-size: 0.82rem; }
.venue-card__more { display: none; } /* the whole card is the link */
.venue-card { min-height: 0; }
.venue-card__logo { min-height: 112px; }
.venue-card__badge { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: var(--orange); color: var(--charcoal); font-size: 0.66rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
/* Shop page */
.shop-intro { max-width: 70ch; font-size: 1.1rem; margin-bottom: 24px; }
.shop-soon { max-width: 760px; margin-bottom: 16px; }
.shop-soon h2 { margin: 0 0 6px; font-size: 1.6rem; }
/* Mind Sport: the federation logo above the member box */
.fed-side { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 960px) { .fed-side { position: sticky; top: 96px; } .fed-side .fed-panel { position: static; } }
.fed-logo { display: flex; justify-content: center; }
.fed-logo img { display: block; width: auto; height: auto; max-width: 220px; max-height: 150px; object-fit: contain; }
/* Where to Play: the country name is the link to its country page */
.country-group__title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.country-group__title a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.country-group__title a:hover span:not(.country-group__arrow) { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.country-group__arrow { color: var(--accent); font-weight: 700; transition: transform .2s; }
.country-group__title a:hover .country-group__arrow { transform: translateX(3px); }
.country-group__count { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .country-group__arrow { transition: none; } }
/* Menus from Appearance → Menus use the same look */
.navbar .site-nav .menu-item-has-children { position: relative; }

/* ==========================================================================
   0.44.0 HOMEPAGE TOP: fixed-height row; What's On fits it, then expands.
   The lead story and the five side stories set the row height; What's On
   adds none of its own. site.js measures the room (is-fitting), shows only
   the tournaments that fit whole, then lets the box end under its button
   (is-fitted). The button opens the whole day in place. Without the script
   the list scrolls inside the box instead. Phones show the first 4.
   ========================================================================== */
.onbox { display: flex; flex-direction: column; }
.onbox__list { margin-bottom: 0; }
.onbox__item { padding: 8px 0; }
.onbox__foot { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.onbox__cal { align-self: center; color: var(--muted); font-size: 0.8rem; }
.onbox__cal:hover { color: var(--accent); }
.onbox__item.is-extra, .onbox__item.is-cut { display: none; }
.onbox.is-open .onbox__item.is-extra, .onbox.is-open .onbox__item.is-cut { display: grid; }
.onbox.is-open .onbox__item:last-child { border-bottom: 0; }
@media (min-width: 760px) {
	.top { align-items: stretch; }
	.top-side { position: relative; min-height: 360px; }
	.top-side .onbox:not(.is-open) { position: absolute; inset: 0; overflow: hidden; }
	.top-side .onbox:not(.is-open) .onbox__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
	.onbox__head, .onbox__live, .onbox__foot, .onbox__sponsor { flex: 0 0 auto; }
	/* Measuring: every tournament in place, list filling the room. */
	.onbox.is-fitting .onbox__item.is-extra { display: grid; }
	/* Fitted: only whole tournaments, and the box ends under its button. */
	.top-side .onbox.is-fitted:not(.is-open) { bottom: auto; max-height: 100%; }
	.top-side .onbox.is-fitted:not(.is-open) .onbox__list { flex: 0 0 auto; overflow: hidden; }
	.onbox.is-fitted .onbox__item.is-extra { display: grid; }
	.onbox.is-fitted .onbox__item.is-cut { display: none; }
	.onbox.is-fitted:not(.is-open) .onbox__item.is-last { border-bottom: 0; }
}

/* 0.44.0 ABOUT PAGE: every team photo the same size, whatever its shape.
   The photo fills its frame instead of setting the card's height, and all
   lead cards share one row height, so a tall photo can't stretch its card. */
.team-grid--lead { grid-auto-rows: 1fr; }
.team-grid--lead .team-card { min-height: 240px; }
.team-grid--lead .team-card__photo { position: relative; align-self: stretch; height: auto; }
.team-grid--lead .team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 600px) {
	.team-grid--lead { grid-auto-rows: auto; }
	.team-grid--lead .team-card { flex-direction: column; min-height: 0; }
	.team-grid--lead .team-card__photo { align-self: auto; width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
}

/* 0.44.0 What's On: closed tournaments hidden; late-reg and in-play labels. */
.onbox__item.is-past, .onbox.is-open .onbox__item.is-past { display: none !important; }
.onbox__state { display: inline-block; margin-top: 4px; font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.onbox__state.is-open { color: var(--live); }
.onbox__state.is-open::before, .onbox__state.is-running::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--live); vertical-align: 1px; }
.onbox__state.is-running { color: var(--text); }

/* 0.45.0 HOMEPAGE LATEST NEWS: title, then category buttons, then a box per country. */
.section__head--stack { display: block; }
.section__head--stack h2 { margin-bottom: 12px; }
.section__head--stack .tabs { margin-bottom: 12px; }
.country-tiles--row { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.country-tiles--row a { min-height: 0; padding: 10px 14px; }
.country-tiles--row .country-tiles__flag { margin-bottom: 4px; }
@media (max-width: 759px) {
	.country-tiles--row { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.country-tiles--row::-webkit-scrollbar { display: none; }
	.country-tiles--row a { flex: 0 0 140px; }
}

/* 0.45.1 NEWS PAGE FEATURED: one big lead story; any others stacked beside it. */
.feat { display: grid; gap: var(--gap); grid-template-columns: 1fr; align-items: start; }
.feat-lead { display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat-lead__media { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.feat-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.feat-lead:hover .feat-lead__media img { transform: scale(1.02); }
.feat-lead__body { padding: 18px 20px 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.feat-lead__title { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; }
.feat-lead__title a { color: var(--text); text-decoration: none; }
.feat-lead__title a:hover { color: var(--accent); }
.feat-lead__summary { margin: 0; color: var(--muted); font-size: 1.02rem; }
.feat-lead .meta { margin: 4px 0 0; }
@media (min-width: 760px) {
	.feat:not(.feat--more) .feat-lead { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.feat:not(.feat--more) .feat-lead__media { aspect-ratio: auto; min-height: 300px; height: 100%; }
	.feat:not(.feat--more) .feat-lead__body { padding: 28px 32px; }
}
@media (min-width: 1000px) {
	.feat--more { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

/* Banner below the event ribbon: replaces the side ads on screens narrower than 1,560px */
.top-banner { margin-top: 16px; margin-bottom: -4px; }
.top-banner .ad { margin: 0 auto; }
.top-banner .ad--placeholder { min-height: 90px; max-width: 728px; }
@media (max-width: 759px) { .top-banner { margin-top: 12px; } .top-banner .ad--placeholder { min-height: 100px; max-width: 320px; } }
@media (min-width: 1560px) { .top-banner:not(.top-banner--always) { display: none; } }

/* ==========================================================================
   Results and winners (theme 0.48.0): event Results, share cards, player badges, series champions.
   ========================================================================== */
.event-results .winner-hero { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; padding: 16px; margin: 0 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 640px) { .event-results .winner-hero { grid-template-columns: 220px 1fr; } }
.winner-hero__photo { margin: 0; aspect-ratio: 4 / 5; max-width: 260px; border-radius: var(--radius-sm); overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--bg)); display: grid; place-items: center; position: relative; }
.winner-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.winner-hero__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; font-size: 0.72rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.winner-hero__label { margin: 0; color: var(--accent); font-weight: 700; }
.winner-hero__name { margin: 4px 0 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.winner-hero__name a { color: var(--text); }
.winner-hero__name .flag { width: 28px; height: 21px; border-radius: 3px; object-fit: cover; }
.winner-hero__prize { margin: 6px 0 0; font-size: 1.3rem; font-weight: 700; }
.winner-hero__text .muted { margin: 2px 0 0; }
.event-results__tour { margin: 22px 0 8px; font-size: 1.05rem; }
.event-results__tour .muted { font-weight: 500; font-size: 0.9rem; margin-left: 6px; }
.event-results__note { margin-top: 12px; }
.results--event td .flag, .champ__name .flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; vertical-align: -1px; margin-right: 4px; }
.results tr.is-winner td { font-weight: 600; }

/* Share card: a small toggle that opens a preview and download links */
.card-share { margin-top: 12px; }
.results .card-share { margin-top: 0; }
.card-share summary { display: inline-flex; align-items: center; cursor: pointer; font-size: 0.82rem; font-weight: 600; color: var(--accent); list-style: none; padding: 5px 12px; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; }
.card-share summary:hover { background: var(--surface-2); }
.card-share summary::-webkit-details-marker { display: none; }
.card-share__close, .card-share[open] .card-share__open { display: none; }
.card-share[open] .card-share__close { display: inline; }
.card-share__panel { margin-top: 8px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); max-width: 360px; white-space: normal; }
.card-share__panel img { display: block; width: 100%; height: auto; border-radius: 6px; }
.card-share__links { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.card-share__panel .small { margin: 0; }

/* Player cards and profile */
.player-card__badge { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: var(--gold, #fed45b); color: #212429; font-size: 0.72rem; font-weight: 700; line-height: 1.5; pointer-events: none; }
.player-card__result { color: var(--muted); }
.player-hero__wins { margin: 10px 0 0; font-weight: 700; }
.player-hero__wins a { color: var(--accent); text-decoration: none; }
.player-hero__wins a:hover { text-decoration: underline; }
.chips--winners { margin-top: -4px; }

/* Series champions */
.champ-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.champ { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.champ__photo { width: 88px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.champ__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.champ__photo .player-card__initials { font-size: 1.4rem !important; }
.champ__year { margin: 0; color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.champ__name { margin: 2px 0 0; font-size: 1rem; line-height: 1.3; }
.champ__name a { color: var(--text); }
.champ__meta { margin: 2px 0 0; color: var(--muted); font-size: 0.82rem; }
.champ__event { display: inline-block; margin-top: 4px; font-size: 0.82rem; }

/* ==========================================================================
   City pages (theme 0.49.0): /poker-in/{city}/
   ========================================================================== */
.city-head__where { display: flex; align-items: center; gap: 8px; margin: -4px 0 10px; font-weight: 600; }
.city-head__where .flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; }
.city-head__intro { max-width: 70ch; }
.city-head__intro p { color: var(--text); }
.city-games { margin: 0 0 22px; }
.city-games__venue { margin: 0 0 8px; font-size: 1.05rem; }
.city-games__venue a { color: var(--text); }
.city-games__weekly { margin: 10px 0 0; max-width: 70ch; }
.city-faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 0 16px; margin: 0 0 10px; max-width: 80ch; }
.city-faq__item summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.city-faq__item p { margin: 0 0 14px; color: var(--muted); }
.city-links { margin: -6px 0 12px; font-size: 0.9rem; }
.city-chips { margin: 0 0 8px; }

/* Phones (theme 0.50.0): winner photo beside the name instead of filling the screen; share panel fits the row */
@media (max-width: 639px) {
	.event-results .winner-hero { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 12px; align-items: start; }
	.winner-hero__photo { max-width: none; }
	.winner-hero__photo figcaption { font-size: 0.6rem; padding: 3px 5px; }
	.winner-hero__label { font-size: 0.85rem; }
	.winner-hero__name { font-size: 1.25rem; margin-top: 2px; }
	.winner-hero__prize { font-size: 1.05rem; margin-top: 4px; }
	.winner-hero .card-share { margin-top: 8px; }
	.results td .card-share__panel, .winner-hero .card-share__panel { max-width: none; }
	/* In results tables the share button gets its own full-width line, so the opened panel has room */
	.cal table.results--event td:last-child, .cal table.results--player td:last-child { grid-column: 1 / -1; }
	.card-share__links .btn { flex: 1 1 auto; text-align: center; }
}
.card-share__panel { font-weight: 400; }

/* ==========================================================================
   0.51.0 STORY CAROUSEL: homepage top and News page Featured.
   One card at a time: photo beside the text when there is room (the card's
   own width decides, so the same carousel works beside What's On and full
   width), photo above the text when narrow. Slides sit side by side in a
   track that scrolls sideways, so phones swipe natively. The active dot fills
   in orange while it counts down to the next story; site.js moves on when it
   is full. Hover, keyboard focus, the pause button or reduced motion stop it.
   ========================================================================== */
.carousel { --carousel-interval: 6000ms; container-type: inline-size; min-width: 0; }
.carousel__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); outline: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; }
.carousel__media { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.carousel__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carousel__slide:hover .carousel__media img { transform: scale(1.02); }
.carousel__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; min-width: 0; }
.carousel__body .kicker { align-self: flex-start; }
.carousel__title { margin: 0; font-size: clamp(1.3rem, 5.4cqi, 2.1rem); line-height: 1.18; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.carousel__title a { color: var(--text); text-decoration: none; }
.carousel__title a:hover { color: var(--accent); }
.carousel__summary { margin: 2px 0 0; color: var(--muted); font-size: 1rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.carousel__body .meta { margin: auto 0 0; padding-top: 6px; }
@container (min-width: 680px) {
	.carousel__slide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 1fr; }
	.carousel__media { aspect-ratio: auto; min-height: 360px; height: 100%; }
	.carousel__body { justify-content: center; padding: 28px 30px; gap: 8px; }
	.carousel__title { font-size: clamp(1.5rem, 3.4cqi, 2.2rem); }
	.carousel__body .meta { margin-top: 4px; }
}

/* Controls: dots on the left, pause and arrows on the right */
.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.carousel__dots { display: flex; align-items: center; gap: 2px; }
.carousel__dot { display: grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.carousel__dot span { position: relative; display: block; width: 10px; height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 35%, var(--line)); overflow: hidden; transition: width .25s ease, background-color .2s; }
.carousel__dot:hover span { background: var(--muted); }
.carousel__dot[aria-current="true"] { width: 44px; }
.carousel__dot[aria-current="true"] span { width: 34px; background: color-mix(in srgb, var(--orange) 28%, var(--line)); }
.carousel__dot[aria-current="true"] span::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform-origin: left center; }
.carousel.is-playing .carousel__dot[aria-current="true"] span::after { animation: pia-carousel-fill var(--carousel-interval) linear forwards; }
.carousel.is-held .carousel__dot[aria-current="true"] span::after { animation-play-state: paused; }
@media (hover: hover) { .carousel.is-playing:hover .carousel__dot[aria-current="true"] span::after { animation-play-state: paused; } }
.carousel.is-playing:has(:focus-visible) .carousel__dot[aria-current="true"] span::after { animation-play-state: paused; }
@keyframes pia-carousel-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel__nav { display: flex; gap: 6px; }
.carousel__btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--text); cursor: pointer; }
.carousel__btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__pause .i-play, .carousel.is-stopped .carousel__pause .i-pause { display: none; }
.carousel.is-stopped .carousel__pause .i-play { display: block; }
.carousel__dot:focus-visible, .carousel__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.carousel__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.carousel__track { scroll-behavior: auto; }
	.carousel__media img, .carousel__dot span { transition: none; }
}

/* Homepage top: carousel and What's On side by side; What's On fills the carousel's height. */
@container (min-width: 680px) { .top .carousel__media { min-height: 470px; } }
.top { grid-template-columns: 1fr; }
.top-main { min-width: 0; }
.top-main .admin-note { margin-top: 10px; }
@media (min-width: 760px) {
	.top { grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); }
}
@media (min-width: 1100px) {
	.top { grid-template-columns: minmax(0, 1fr) 300px; align-items: stretch; }
}

/* What's On: the end-of-list calendar card is for the phone strip only. */
.onbox__more { display: none; }

/* ==========================================================================
   0.51.0 PHONES: What's On first, as a sideways strip of tournament cards
   above the carousel. Every tournament still on is in the strip; the last
   card opens the full tournament calendar.
   ========================================================================== */
@media (max-width: 759px) {
	.top { gap: 18px; }
	.top-side { order: -1; }
	.onbox { padding: 14px 0 12px; }
	.onbox__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; padding-inline: 14px; margin-bottom: 8px; }
	.onbox__head h2 { font-size: 1.1rem; }
	.onbox__date { margin-top: 0; }
	.onbox__live { margin: 0 14px 10px; padding: 8px 12px; }
	.onbox .onbox__list { display: flex; gap: 10px; margin: 0; padding: 2px 14px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
	.onbox .onbox__list::-webkit-scrollbar { display: none; }
	.onbox .onbox__list .onbox__item,
	.onbox .onbox__list .onbox__item.is-extra,
	.onbox .onbox__list .onbox__item.is-cut { display: flex; flex-direction: column; gap: 2px; flex: 0 0 min(68vw, 240px); padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); scroll-snap-align: start; }
	.onbox .onbox__list .onbox__item:last-child { border-bottom: 1px solid var(--line); }
	.onbox .onbox__list .onbox__item.is-main { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
	.onbox__item .onbox__time { font-size: 0.95rem; color: var(--accent); }
	.onbox__item .onbox__what { display: flex; flex-direction: column; flex: 1 1 auto; }
	.onbox__item .onbox__state { order: 5; margin-top: auto; padding-top: 6px; }
	.onbox__item .onbox__buyin { order: 3; }
	.onbox__item .onbox__structure { order: 4; }
	.onbox .onbox__list .onbox__more { display: flex; flex: 0 0 min(52vw, 180px); scroll-snap-align: start; }
	.onbox__more a { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 100%; padding: 12px; border: 1px solid var(--accent); border-radius: var(--radius-sm); color: var(--accent); text-decoration: none; }
	.onbox__more strong { font-size: 0.92rem; line-height: 1.3; }
	.onbox__more span { font-size: 0.8rem; color: var(--muted); }
	.onbox__more a:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
	.onbox__foot { display: none; }
	.onbox__done, .onbox > .muted { padding-inline: 14px; }
	.onbox__sponsor { padding-inline: 14px; }
	.carousel__controls { margin-top: 6px; }
}

/* ==========================================================================
   0.51.0 POP-UP AD: one ad over the page, closed with ✕, Escape or a click
   beside it. 800×600 on tablets and computers, 320×480 on phones, scaled to
   fit the screen. site.js decides when it may open.
   ========================================================================== */
.popup-ad { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.popup-ad::backdrop { background: rgba(10, 11, 13, .72); }
.popup-ad[open] { animation: pia-popup-in .22s ease-out; }
@keyframes pia-popup-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.popup-ad__inner { background: var(--bg); color: var(--text); border-radius: var(--radius); padding: 6px 6px 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.popup-ad__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 6px 8px; }
.popup-ad__label { color: var(--muted); font-size: 0.72rem; }
.popup-ad__close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); cursor: pointer; }
.popup-ad__close:hover { background: var(--line); }
.popup-ad__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.popup-ad__close svg { width: 20px; height: 20px; }
.popup-ad .pia-ad a, .popup-ad .pia-ad picture { display: block; }
/* As large as the screen allows, up to the standard size, keeping the banner's shape (4:3 desktop, 2:3 phone). */
.popup-ad .pia-ad img { display: block; width: min(800px, calc(100vw - 44px), calc((100vh - 110px) * 4 / 3)) !important; max-width: none !important; height: auto !important; border-radius: var(--radius-sm); }
@media (max-width: 759px) {
	.popup-ad .pia-ad img { width: min(400px, calc(100vw - 44px), calc((100dvh - 110px) * 2 / 3)) !important; }
}
@media (prefers-reduced-motion: reduce) { .popup-ad[open] { animation: none; } }

/* 0.51.1 Tablets and phones in desktop view (760–1,099px): What's On runs the full length of the
   carousel card (stopping above its dots), with its button at the bottom. */
@media (min-width: 760px) and (max-width: 1099px) {
	.top:has(.carousel.is-multi) .top-side .onbox:not(.is-open) { bottom: 46px; }
	.top-side .onbox.is-fitted:not(.is-open) { bottom: 0; max-height: none; }
	.top:has(.carousel.is-multi) .top-side .onbox.is-fitted:not(.is-open) { bottom: 46px; }
	.top-side .onbox:not(.is-open) .onbox__foot { margin-top: auto; padding-top: 10px; }
}

/* ==========================================================================
   0.53.0 VENUE VIRTUAL TOUR: a poster with a start button; the tour loads
   only when a visitor clicks (it is heavy), then fills the frame.
   ========================================================================== */
.vtour { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); border: 1px solid var(--line); }
@media (max-width: 640px) { .vtour { aspect-ratio: 4 / 3; } }
.vtour__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.vtour__start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; background: transparent; color: #fff; font: 600 1.05rem var(--font-body); cursor: pointer; }
.vtour__start svg { width: 72px; height: 72px; color: var(--gold); transition: transform .2s; }
.vtour__start:hover svg { transform: scale(1.06); }
.vtour__start:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.vtour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vtour__more { margin: 8px 0 0; }
.venue-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.venue-card__tour { align-self: flex-start; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-size: 0.66rem; font-weight: 700; }

/* ==========================================================================
   0.54.0 PLAYER TOOLS (/study/player-tools/): TDA rules card, hand rankings
   chart (printable on its own), How to play from the page text.
   ========================================================================== */
.tda-card { display: grid; gap: 18px 32px; grid-template-columns: 1fr; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 860px) { .tda-card { grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); align-items: center; } }
.tda-card__text p { margin: 0 0 10px; max-width: 62ch; }
.tda-card__text p:last-child { margin-bottom: 0; }
.tda-card__links { display: flex; flex-direction: column; gap: 10px; }
.tda-card__links .btn { justify-content: center; text-align: center; }
.tda-card__links p { margin: 0; }

.ranks__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ranks__head h2 { margin: 0; }
.ranks__intro { max-width: 72ch; color: var(--muted); margin: 0 0 16px; }
.ranks__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ranks__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.ranks__row:nth-child(odd) { background: var(--surface); }
.ranks__row:last-child { border-bottom: 0; }
.ranks__num { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.ranks__name strong { display: block; font-size: 1.02rem; }
.ranks__name small { display: block; color: var(--muted); font-size: 0.85rem; }
.ranks__cards { display: flex; gap: 6px; }
.pcard { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 60px; border-radius: 6px; background: #fff; border: 1px solid #cfcac0; color: #1d1f24; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); line-height: 1; }
.pcard b { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.pcard i { font-style: normal; font-size: 1.25rem; margin-top: 2px; }
.pcard.is-red { color: #c8102e; }
.pcard.is-kicker { opacity: .38; }
.ranks__print-foot { display: none; }
@media (max-width: 640px) {
	.ranks__row { grid-template-columns: 26px minmax(0, 1fr); padding: 12px; gap: 6px 10px; }
	.ranks__cards { grid-column: 2; }
	.pcard { width: 40px; height: 54px; }
}
.tools-next { margin-top: 28px; }

/* Print: only the hand rankings chart, on one page (Print this chart copies it into
   .print-only under body; everything else is left out of the printout). */
.print-only { display: none; }
@media print {
	html.print-ranks body > *:not(.print-only) { display: none !important; }
	html.print-ranks .print-only { display: block; }
	html.print-ranks .print-only .ranks { padding: 0; margin: 0; border: 0; }
	html.print-ranks [data-print-ranks] { display: none; }
	html.print-ranks .ranks__row { padding: 5px 10px; break-inside: avoid; }
	html.print-ranks .ranks__intro { margin-bottom: 8px; font-size: 0.85rem; }
	html.print-ranks .pcard { width: 38px; height: 50px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	html.print-ranks .ranks__row:nth-child(odd) { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	html.print-ranks .ranks__print-foot { display: block; margin-top: 10px; font-size: 0.75rem; color: #555; }
}

/* ==========================================================================
   0.55.0 DEAL CALCULATOR (Player Tools): prizes, players and options on the
   left, ICM and chip chop results on the right; stacked on phones.
   ========================================================================== */
.deal-intro { max-width: 72ch; }
.deal-intro ul { margin: 0 0 10px; padding-left: 1.2em; }
.deal-intro li { margin-bottom: 6px; }
.deal { display: none; gap: 20px; grid-template-columns: 1fr; margin-top: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.deal.is-ready { display: grid; }
@media (min-width: 980px) { .deal { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; } }
.deal__inputs { display: grid; gap: 16px; }
.deal__box { margin: 0; padding: 0; border: 0; min-width: 0; }
.deal__box legend { padding: 0; margin-bottom: 4px; font-weight: 700; font-size: 1rem; }
.deal__box > p { margin: 0 0 8px; }
.deal__prizes { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.deal__prize { display: grid; grid-template-columns: 44px minmax(0, 1fr) 36px; align-items: center; gap: 6px; }
.deal__prize span { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.deal__players { display: grid; gap: 6px; margin: 0 0 8px; }
.deal__player { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 36px; gap: 6px; align-items: center; }
.deal .field { width: 100%; min-height: 40px; padding: 8px 10px; font-variant-numeric: tabular-nums; background: var(--bg); }
.deal__remove { width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.deal__remove:hover { color: var(--live); border-color: var(--live); }
.deal__box--opts { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.deal__box--opts legend, .deal__box--opts > p { grid-column: 1 / -1; }
.deal__field span { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 3px; }
.deal__out { min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.deal__msg { margin: 0; }
.deal__table-wrap { overflow-x: auto; }
.deal__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.deal__table th, .deal__table td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.deal__table th:first-child { text-align: left; white-space: normal; }
.deal__table thead th { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.deal__table thead th:nth-child(3), .deal__table tbody td:nth-child(3) { color: var(--accent); font-weight: 700; }
.deal__table tfoot th, .deal__table tfoot td { border-bottom: 0; font-weight: 700; }
.deal__table-wrap > p { margin: 10px 0 12px; }
@media (max-width: 560px) {
	.deal { padding: 14px; }
	.deal__box--opts { grid-template-columns: 1fr; }
	.deal__table thead { display: none; }
	.deal__table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
	.deal__table tbody th, .deal__table tbody td { border: 0; padding: 0; text-align: left; white-space: normal; }
	.deal__table tbody th { grid-column: 1 / -1; font-size: 1rem; }
	.deal__table tbody td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 400; }
	.deal__table tbody td:nth-child(2) { grid-column: 1 / -1; }
	.deal__table tfoot tr { display: grid; grid-template-columns: 1fr 1fr; }
	.deal__table tfoot th, .deal__table tfoot td { text-align: left; padding: 8px 0 0; }
	.deal__table tfoot td:first-of-type { display: none; }
}

/* ==========================================================================
   0.56.0 NEWS PAGE FEATURED: carousel on the left, the four newest other
   articles in a 2 × 2 grid on the right, the same height. On the News page
   the carousel always shows the photo above the text (never side by side).
   Tablets and phones: carousel full width, the four boxes below it.
   ========================================================================== */
.featured-split { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.featured-split__main { min-width: 0; display: flex; flex-direction: column; }
.featured-split .carousel { flex: 1 1 auto; display: flex; flex-direction: column; }
.featured-split .carousel__track { flex: 1 1 auto; }
.featured-split .carousel__slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.featured-split .carousel__media { aspect-ratio: 16 / 9; min-height: 0; height: auto; max-height: 440px; width: 100%; }
.featured-split .carousel__body { justify-content: flex-start; padding: 16px 20px 20px; gap: 6px; }
.featured-split .carousel__title { font-size: clamp(1.3rem, 4cqi, 1.9rem); }
.featured-split .carousel__body .meta { margin: auto 0 0; padding-top: 6px; }
.featured-split__side .card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
@media (min-width: 600px) and (max-width: 999px) {
	.featured-split__side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 759px) {
	.featured-split__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.featured-split { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: stretch; }
	.featured-split.is-solo { grid-template-columns: 1fr; }
	.featured-split__side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; align-self: start; }
	.featured-split__side .card__media { aspect-ratio: 16 / 10; }
	.featured-split__side .card__body { padding: 12px 14px 14px; }
	.featured-split__side .card__title { font-size: 0.98rem; }
}

/* ==========================================================================
   0.57.0 FEATURED CARD LOGO BOX: always 16:9, whatever the upload. A banner
   (the event's own JPG, or set to Banner) fills the box; a logo (PNG, WebP,
   SVG, the venue's logo, or set to Logo) sits whole in the middle on a dark,
   light or brand-colour background chosen on the event.
   ========================================================================== */
.ev-card__logo { aspect-ratio: 16 / 9; overflow: hidden; min-height: 0; flex: none; }
.ev-card__logo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.ev-card__logo.is-banner { background: var(--surface-2); }
.ev-card__logo.is-banner img { object-fit: cover; padding: 0; }
.ev-card__logo.is-logo img { object-fit: contain; padding: 9% 14%; }
.ev-card__logo.is-bg-dark { background: #16181d; border-bottom-color: #16181d; }
.ev-card__logo.is-bg-light { background: #f6f3ed; }
.ev-card__logo.is-bg-custom { border-bottom-color: transparent; }
.ev-card__logo .ev-card__badge, .ev-card__logo .ev-card__live { z-index: 1; }

/* ==========================================================================
   0.58.0 BRAND BUTTONS (calendar): one tile per tour or brand, all the same
   size, the logo centred on the background set in Events → Series; a brand
   without a logo shows its name. Count in the corner. One sideways-scrolling
   row on phones, wrapping on computers. Click again to show all tours.
   ========================================================================== */
.brands { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin: 4px -2px 6px; overscroll-behavior-x: contain; }
.brands::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .brands { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 999px) { .brands { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }
.brand-tile { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 124px; height: 52px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 700; font-size: 0.82rem; line-height: 1.15; text-align: center; transition: border-color .15s, box-shadow .15s, opacity .15s; }
.brand-tile--all { width: auto; padding-inline: 18px; }
.brand-tile__logo { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.brand-tile__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.brand-tile.is-bg-dark { background: #16181d; border-color: #16181d; }
.brand-tile.is-bg-light { background: #f6f3ed; }
.brand-tile__n { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font-size: 0.7rem; font-weight: 700; line-height: 18px; text-align: center; }
.brands { padding-top: 10px; padding-right: 10px; }
.brand-tile:hover { border-color: var(--accent); }
.brand-tile[aria-current="page"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.brand-tile--all[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.brands:has([aria-current="page"]:not(.brand-tile--all)) .brand-tile:not([aria-current="page"]):not(.brand-tile--all) { opacity: .55; }
.brands:has([aria-current="page"]:not(.brand-tile--all)) .brand-tile:hover { opacity: 1; }
.brand-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* 0.58.0 Calendar rows: a logo (not a banner) sits whole on its dark, light or brand background. */
.ev-row__logo.is-logo img, .tour-row__logo.is-logo img { object-fit: contain; background: transparent; }
.ev-row__logo.is-bg-dark, .tour-row__logo.is-bg-dark { background: #16181d; }
.ev-row__logo.is-bg-light, .tour-row__logo.is-bg-light { background: #f6f3ed; }
/* 0.59.0 Square brand icon in calendar lists: fills the square with a little breathing room. */
.ev-row__logo.is-icon img, .tour-row__logo.is-icon img { padding: 6px; }

/* ==========================================================================
   0.60.0 TOURS AND SERIES: a card per tour or brand (logo on its background,
   next stop, countries), and a header on each tour's own page.
   ========================================================================== */
.brand-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (max-width: 599px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.brand-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brand-card:hover { border-color: var(--accent); }
.brand-card__logo { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.brand-card__logo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 10% 16%; }
.brand-card__logo.is-bg-dark { background: #16181d; border-bottom-color: #16181d; }
.brand-card__logo.is-bg-light { background: #f6f3ed; }
.brand-card__initial { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 3rem; color: var(--accent); }
.brand-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.brand-card__title { margin: 0; font-size: 1.1rem; line-height: 1.25; }
.brand-card__title a { color: var(--text); text-decoration: none; }
.brand-card__title a::after { content: ""; position: absolute; inset: 0; }
.brand-card__next { margin: 0; font-size: 0.9rem; font-weight: 600; }
.brand-card__next span { color: var(--accent); font-weight: 700; }
.brand-card__next.is-none { color: var(--muted); font-weight: 400; }
.brand-card .meta { margin: 0; }
.brand-card__flags { display: flex; flex-wrap: wrap; gap: 4px; margin: auto 0 0; padding-top: 6px; }
.brand-card__flags .flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
@media (max-width: 599px) {
	.brand-card__body { padding: 10px 12px 12px; }
	.brand-card__title { font-size: 0.95rem; }
	.brand-card__next, .brand-card .meta { font-size: 0.78rem; }
}

.brand-head { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.brand-head__back { margin: 0; font-size: 0.88rem; }
.brand-head__main { display: grid; gap: 18px 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .brand-head__main { grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); } }
.brand-head__logo { border: 1px solid var(--line); border-radius: var(--radius); }
.brand-head__text h1 { margin: 0 0 6px; }
.brand-head__desc { color: var(--muted); max-width: 70ch; }
.brand-head__desc p { margin: 0 0 8px; }
.brand-head__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 10px 0 0; padding: 0; font-weight: 600; }
.brand-head__facts li > span:first-child { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.brand-head__flags a { display: inline-block; margin-right: 4px; }
.brand-head__flags .flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; vertical-align: middle; }
.brand-head__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.brand-head__stops { margin: 0; }
.cal-head > div:has(> .brand-head) { flex: 1 1 100%; }

/* ==========================================================================
   0.61.0 TOUR PAGES AND CARDS: organiser line, summary and links on cards;
   tour pages with About (history + key facts), upcoming and past events, FAQ.
   ========================================================================== */
.brand-card__by { margin: 0; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.brand-card__sum { margin: 0; font-size: 0.88rem; color: var(--text); line-height: 1.45; }
.brand-card__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; font-size: 0.8rem; font-weight: 600; }
.brand-card__links a { color: var(--accent); }
@media (max-width: 599px) { .brand-card__sum { display: none; } }
.tour-about__grid { display: grid; gap: 20px 32px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .tour-about__grid { grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); align-items: start; } }
.tour-about__text p { margin: 0 0 12px; max-width: 70ch; line-height: 1.65; }
.tour-facts { margin: 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.tour-facts div { display: grid; gap: 2px; }
.tour-facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.tour-facts dd { margin: 0; font-weight: 600; }
.tour-past { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tour-past th, .tour-past td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tour-past th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tour-past .nowrap { white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.tour-faq .faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.tour-faq .faq summary { cursor: pointer; font-weight: 600; }
.tour-faq .faq p { margin: 8px 0 0; color: var(--muted); max-width: 70ch; }

/* 0.62.0 Tour logos fill their box: a banner covers the whole box; a logo (its empty
   margins trimmed by the plugin) is as large as fits, with a small margin. */
.brand-card__logo.is-logo img { padding: 7% 9%; }
.brand-card__logo.is-fill img { object-fit: cover; padding: 0; }
.brand-card__logo.is-fill { background: var(--surface-2); }

/* ==========================================================================
   0.63.0 VENUE HEADER: the logo no longer overlaps the cover photo. It sits
   below it, beside the name, so the whole cover graphic stays visible.
   ========================================================================== */
.venue-hero.has-photo .venue-hero__body { margin-top: 20px; padding: 0; align-items: center; }
.venue-hero.has-photo .venue-hero__text { padding-top: 0; }
.venue-hero__logo { width: 128px; height: 128px; border-width: 1px; border-color: var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
@media (max-width: 700px) {
	.venue-hero.has-photo .venue-hero__body { margin-top: 14px; flex-direction: row; align-items: flex-start; gap: 14px; }
	.venue-hero__body { flex-direction: row; }
	.venue-hero__logo { width: 76px; height: 76px; }
	.venue-hero__text h1 { margin-top: 0; }
}

/* ==========================================================================
   0.64.0 RANKINGS: /rankings/ coming-soon panel and page text.
   ========================================================================== */
.rankings-soon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); margin-bottom: 36px; }
.rankings-soon h2 { margin: 4px 0 8px; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.rankings-soon__text > p { max-width: 60ch; margin: 0 0 12px; color: var(--muted); }
.rankings-soon__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent) !important; margin-bottom: 0 !important; }
.rankings-soon__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.rankings-soon__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0 !important; }
.rankings-soon__counts { display: flex; gap: 28px; margin: 0; }
.rankings-soon__counts div { text-align: center; }
.rankings-soon__counts dd { margin: 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: var(--display-weight); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.rankings-soon__counts dt { order: 2; font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.rankings-soon__counts div { display: flex; flex-direction: column-reverse; }
.rankings-text { max-width: 72ch; margin-bottom: 32px; }
.rankings-text h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.rankings-text h2:first-child { margin-top: 0; }
@media (max-width: 720px) {
	.rankings-soon { grid-template-columns: 1fr; }
	.rankings-soon__counts { justify-content: flex-start; }
	.rankings-soon__counts div { text-align: left; }
}

/* ==========================================================================
   0.66.0 TRAVEL PACKAGES: /packages/ and each package page
   The booking panel is a ticket: price on top, a perforated tear line,
   then the discount codes and the Book / More info buttons.
   ========================================================================== */
.pkg-head { display: flex; align-items: flex-start; gap: 18px; margin: 4px 0 8px; }
.pkg-head h1 { margin: 2px 0 6px; font-size: clamp(1.6rem, 3.6vw, 2.5rem); max-width: 26ch; }
.pkg-head__logo { flex: none; width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; border: 1px solid var(--line); }
.pkg-head__logo img { width: 100%; height: 100%; object-fit: contain; }
.pkg-head__logo > span { font: var(--display-weight) 1.6rem var(--font-display); color: var(--accent); }
.pkg-head__logo--small { width: 52px; height: 52px; }
.pkg-head__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.pkg-head__meta { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.pkg-head__meta .flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; }
.pkg-head__summary { margin: 10px 0 0; max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.pkg-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--orange); color: var(--charcoal); font-size: 0.75rem; font-weight: 700; }
@media (max-width: 599px) { .pkg-head__logo { width: 52px; height: 52px; } }

.pkg-layout { display: grid; gap: calc(var(--gap) * 1.25); grid-template-columns: minmax(0, 1fr); grid-template-areas: "aside" "main"; margin-top: var(--gap); align-items: start; }
.pkg-aside { grid-area: aside; min-width: 0; }
.pkg-main { grid-area: main; min-width: 0; }
@media (min-width: 1000px) {
	.pkg-layout { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "main aside"; }
	.pkg-aside { position: sticky; top: 88px; }
}

/* The ticket */
.pkg-book { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 20px 20px 18px; }
.pkg-book__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.pkg-book__from { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.pkg-book__price strong { font: var(--display-weight) clamp(1.7rem, 3vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pkg-book__basis { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.pkg-codes { position: relative; margin: 18px -20px 0; padding: 18px 20px 2px; border-top: 2px dashed var(--line); }
.pkg-codes::before, .pkg-codes::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.pkg-codes::before { left: -12px; clip-path: inset(0 0 0 50%); }
.pkg-codes::after { right: -12px; clip-path: inset(0 50% 0 0); }
.pkg-codes__title { margin: 0 0 8px; font-weight: 700; font-size: 0.9rem; }
.pkg-code { margin-bottom: 12px; }
.pkg-code .code-copy { width: 100%; justify-content: space-between; font-size: 1rem; min-height: 46px; }
.pkg-code__what { margin: 6px 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.pkg-book__actions { display: grid; gap: 10px; margin-top: 18px; }
.pkg-book__ask, .pkg-book__deadline { margin: 12px 0 0; font-size: 0.9rem; }
.pkg-book__deadline { color: var(--orange); font-weight: 700; }
.pkg-book__closed { margin: 18px 0 12px; font-weight: 700; }
.pkg-book__partner { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.pkg-book__partner img { max-height: 34px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; }
.pkg-book__note { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }

/* Photos: one large, up to four beside it (thumbnails under it on phones) */
.pkg-photos { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; margin-bottom: var(--gap); }
.pkg-photos__item { position: relative; display: block; background: var(--surface-2); aspect-ratio: 1; overflow: hidden; }
.pkg-photos__item img { width: 100%; height: 100%; object-fit: cover; }
.pkg-photos__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.pkg-photos__item.is-extra { display: none; }
.pkg-photos__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font: 700 1.3rem var(--font-body); }
@media (min-width: 700px) {
	.pkg-photos:not(.pkg-photos--1) { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(150px, 17vw, 200px)); }
	.pkg-photos:not(.pkg-photos--1) .pkg-photos__item { aspect-ratio: auto; }
	.pkg-photos:not(.pkg-photos--1) .pkg-photos__item:first-child { grid-column: 1; grid-row: 1 / 3; }
	.pkg-photos--2, .pkg-photos--3 { grid-template-columns: 2fr 1fr !important; }
	.pkg-photos--2 .pkg-photos__item:nth-child(2) { grid-row: 1 / 3; }
	.pkg-photos--4 .pkg-photos__item:nth-child(4) { grid-column: 2 / 4; }
}

.pkg-section { padding: 22px 0; border-top: 1px solid var(--line); }
.pkg-main > .pkg-section:first-child, .pkg-photos + .pkg-section { border-top: 0; padding-top: 0; }
.pkg-section h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pkg-stars { color: var(--orange); font-size: 0.95rem; letter-spacing: 2px; }
.pkg-facts { display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 16px; }
.pkg-facts div { min-width: 0; }
.pkg-facts__wide { grid-column: 1 / -1; }
.pkg-facts dt { color: var(--muted); font-size: 0.82rem; }
.pkg-facts dd { margin: 2px 0 0; font-weight: 600; }
.pkg-incl { display: grid; gap: 18px 32px; }
@media (min-width: 700px) { .pkg-incl { grid-template-columns: 3fr 2fr; } }
.pkg-incl__not { font-size: 0.95rem; color: var(--muted); margin: 0 0 8px; }
.pkg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pkg-list li { position: relative; padding-left: 28px; line-height: 1.45; }
.pkg-list li::before { position: absolute; left: 0; top: 0.05em; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; }
.pkg-list--yes li::before { content: "✓"; background: color-mix(in srgb, #2f9e44 18%, transparent); color: #2f9e44; }
.pkg-list--no li { color: var(--muted); }
.pkg-list--no li::before { content: "–"; background: var(--surface-2); color: var(--muted); }
.pkg-event { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 4px; }
.pkg-event__links { display: flex; flex-wrap: wrap; gap: 8px; }
.pkg-tour__about { max-width: 65ch; }
.pkg-tour__next { font-size: 0.95rem; margin: 14px 0 8px; }
.pkg-stops { list-style: none; margin: 0 0 14px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pkg-stops li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 10px 14px; border-top: 1px solid var(--line); }
.pkg-stops li:first-child { border-top: 0; }
.pkg-stops a { font-weight: 700; }
.pkg-stops span { color: var(--muted); font-size: 0.9rem; }
.pkg-extras { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.pkg-extras li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pkg-extras__name { font-weight: 700; }
.pkg-extras__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.pkg-extras__what { grid-column: 1 / -1; color: var(--muted); font-size: 0.9rem; }
.pkg-small p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* Slim Book bar on phones, once the ticket has scrolled away */
.pkg-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gap) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--charcoal); color: #f5f2ea; box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); }
.pkg-bar__price { font-weight: 700; }
@media (min-width: 1000px) { .pkg-bar { display: none !important; } }

/* Cards: /packages/ and "Other packages for this event" */
.pkg-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pkg-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pkg-card:hover { border-color: var(--muted); }
.pkg-card.is-closed { opacity: .65; }
.pkg-card__photo { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.pkg-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.pkg-card__badge { position: absolute; top: 10px; left: 10px; }
.pkg-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pkg-card__title { margin: 0; font-size: 1.05rem; }
.pkg-card__title a { color: var(--text); text-decoration: none; }
.pkg-card__title a::after { content: ""; position: absolute; inset: 0; }
.pkg-card__hotel { margin: 0; font-weight: 600; }
.pkg-card__where { margin: 0; color: var(--muted); font-size: 0.88rem; }
.pkg-card__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: auto 0 0; padding-top: 10px; font-weight: 700; }
.pkg-card__code { padding: 1px 8px; border: 1.5px dashed var(--orange); border-radius: 6px; font-size: 0.75rem; }
.pkg-event-group { margin-bottom: calc(var(--gap) * 1.5); }
.pkg-event-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pkg-event-group__head h2 { margin: 0; font-size: 1.3rem; }
.pkg-event-group__head h2 a { color: var(--text); text-decoration: none; }
.pkg-event-group__head p { margin: 2px 0 0; }
.travel-box__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.travel-box__list li { display: flex; flex-direction: column; }
.travel-box__list a { font-weight: 700; }

/* ==========================================================================
   0.66.0 MEDIA HUB: /media-hub/ and each creator's page
   ========================================================================== */
.chips--quiet .chip { min-height: 38px; font-size: 0.85rem; }
.chip__icon { display: inline-grid; place-items: center; font-size: 1.05rem; line-height: 1; }
.chip__icon svg { width: 1em; height: 1em; }
.section--tight { margin-block: clamp(24px, 4vw, 40px); }

.creator-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.creator-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.creator-card:hover { border-color: var(--muted); }
.creator-card__top { display: flex; align-items: center; gap: 12px; }
.creator-card__pic { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--line); }
.creator-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.creator-card__pic span { font: var(--display-weight) 1.15rem var(--font-display); color: var(--accent); }
.creator-card__id { min-width: 0; }
.creator-card__name { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.creator-card__name a { color: var(--text); text-decoration: none; }
.creator-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.creator-card__handle { margin: 0; color: var(--muted); font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 0.8rem; }
.creator-card__meta .flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.creator-card__format { padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.creator-card__line { margin: 0; font-size: 0.9rem; line-height: 1.45; }
.creator-card__live { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.85rem; font-weight: 600; }
.creator-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.creator-card__audience { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.creator-card__partner { position: absolute; top: 12px; right: 12px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--orange); color: var(--orange); font-size: 0.7rem; font-weight: 700; }

/* Platform buttons sit above the card's full-size link */
.plats { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.plat { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--text); font-size: 1.05rem; text-decoration: none; }
.plat svg { width: 1em; height: 1em; flex: none; }
.plat:hover { border-color: currentColor; }
.plat--youtube:hover { color: #e62117; }
.plat--twitch:hover { color: #9146ff; }
.plat--kick:hover { color: #3aa60f; }
.plat--spotify:hover { color: #1db954; }
.plat--instagram:hover { color: #d62976; }
.plats--named .plat { font-size: 0.9rem; font-weight: 600; height: 44px; padding: 0 14px; }
.plats--named .plat svg { font-size: 1.15rem; }

/* Spotlight: one creator, large, with their video */
.spotlight { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); margin: 18px 0 8px; background: var(--charcoal); color: var(--pc-spotlight-text, #f5f2ea); border-radius: var(--radius); overflow: hidden; --text: #f5f2ea; --muted: #a9adb5; --line: #3a3f47; --bg: #2b2f35; --accent: #fed45b; }
@media (min-width: 900px) { .spotlight { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .spotlight--novideo { grid-template-columns: 1fr; } }
.spotlight .vid { border-radius: 0; }
.spotlight__text { padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.spotlight__kicker { margin: 0; color: var(--pc-spotlight-accent, var(--gold)); font-weight: 700; font-size: 0.85rem; }
.spotlight h2 { margin: 4px 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.spotlight h2 a { color: inherit; text-decoration: none; }
.spotlight__handle { margin: 0 0 6px; color: var(--muted); }
.spotlight p:not([class]) { color: var(--pc-spotlight-text, #d9d6cf); max-width: 46ch; }

/* Click-to-play YouTube */
.vid { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-sm); overflow: hidden; }
.vid__play { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.vid__play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .15s; }
.vid__play:hover img, .vid__play:focus-visible img { opacity: 1; }
.vid__icon { position: absolute; left: 50%; top: 50%; width: 60px; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid--large { border-radius: var(--radius); margin-bottom: 8px; }
.vid-caption { margin: 0 0 22px; font-weight: 600; }
.vid-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.vid-strip .vid-card { scroll-snap-align: start; }
@media (min-width: 1000px) { .vid-strip { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }
.vid-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.vid-card { margin: 0; min-width: 0; }
.vid-card figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.vid-card__title { font-weight: 600; font-size: 0.92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid-card__by { color: var(--muted); font-size: 0.8rem; }

.creator-hero { display: grid; gap: 18px 28px; align-items: center; grid-template-columns: auto minmax(0, 1fr); margin: 4px 0 8px; }
.creator-hero h1 { margin: 4px 0 2px; }
.creator-hero__pic { width: clamp(88px, 16vw, 150px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold); }
.creator-hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.creator-hero__pic span { font: var(--display-weight) clamp(1.8rem, 4vw, 2.8rem) var(--font-display); color: var(--accent); }
.creator-hero__handle { margin: 0; color: var(--muted); font-weight: 600; }
.creator-hero .plats { margin-top: 16px; }
@media (max-width: 599px) { .creator-hero { grid-template-columns: 1fr; } }
.player-hero__creator { margin: 10px 0 0; font-weight: 700; }

.get-listed { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: clamp(32px, 5vw, 56px) 0; padding: 22px 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
.get-listed h2 { font-size: 1.25rem; margin: 0 0 4px; }
.get-listed p { margin: 0; color: var(--muted); max-width: 60ch; }


/* ==========================================================================
   0.67.0 PURPLE SITE STYLE (from the new logo: deep purple #2b0f59, gold #d3af37)
   Chosen in Appearance → Customize → Poker In Africa → Site style.
   Only applies when the body has .style-purple; the charcoal style above is untouched.
   The header, menu bar and footer use the logo's exact purple, so a logo on a
   purple square sits in the header with no visible edge.
   ========================================================================== */
body.style-purple {
	--charcoal: #2b0f59;      /* stands in for charcoal everywhere: header, dark panels, text on gold */
	--gold: #d3af37;          /* logo gold: buttons, footer titles, photo rings */
	--purple: #2b0f59;
	--purple-light: #9b80e6;
	--orange: #e9c45a;        /* featured highlights move into the logo's gold family */

	/* Light mode: white pages with a faint violet tint, purple links */
	--bg: #fcfbff;
	--surface: #f4f1fb;
	--surface-2: #ebe5f7;
	--line: #ddd4ef;
	--text: #1d0e3c;
	--muted: #5f5578;
	--accent: #4a1f9e;        /* a step brighter than the logo purple so links read as links */
	--accent-ink: #ffffff;
	color-scheme: light;
}
/* Dark mode: night-purple pages, gold links */
:root[data-theme="dark"] body.style-purple {
	--bg: #170632; --surface: #220d45; --surface-2: #2c1456; --line: #3b2269;
	--text: #f6f2ff; --muted: #b5a8d4; --accent: #d3af37; --accent-ink: #2b0f59;
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) body.style-purple {
		--bg: #170632; --surface: #220d45; --surface-2: #2c1456; --line: #3b2269;
		--text: #f6f2ff; --muted: #b5a8d4; --accent: #d3af37; --accent-ink: #2b0f59;
		color-scheme: dark;
	}
}
/* Header, menu bar and footer: always logo purple, with gold */
.style-purple .brandbar, .style-purple .navbar, .style-purple .site-footer {
	--bg: #2b0f59; --surface: #361a6b; --surface-2: #40237a; --line: #4c2f88;
	--text: #ffffff; --muted: #c4b8e0; --accent: #d3af37; --accent-ink: #2b0f59;
	color-scheme: dark;
}
.style-purple .navbar { background: color-mix(in srgb, var(--pc-menu-bg, #2b0f59) 96%, transparent); }
.style-purple .site-footer { border-top: 3px solid var(--pc-footer-accent, var(--gold)); }
.style-purple .navbar .site-nav .sub-menu { border-color: var(--pc-menu-accent-a25, rgba(211, 175, 55, .25)); }

/* Gold "Next event" ribbon with purple lettering, like the logo's chip stack */
.style-purple .ticker { background: var(--pc-ticker-accent, var(--gold)); }
.style-purple .ticker a { color: var(--pc-ticker-text, #2b0f59); }

/* NLH and featured tones: gold borders read better on violet than amber */
.style-purple .cash-game--nlh { border-color: color-mix(in srgb, #b8952a 60%, var(--line)); }
.style-purple .card, .style-purple .ev-card, .style-purple .venue-card, .style-purple .player-card, .style-purple .panel,
.style-purple .cal, .style-purple .onbox, .style-purple .sched-wrap, .style-purple .cash-venues { box-shadow: 0 1px 2px rgba(43, 15, 89, .06); }
.style-purple .player-card__badge { color: #2b0f59; }

/* Dark panels that had charcoal greys written in */
.style-purple .spotlight { --text: #ffffff; --muted: #c4b8e0; --line: #4c2f88; --bg: #361a6b; --accent: #d3af37; }
.style-purple .spotlight p:not([class]) { color: var(--pc-spotlight-text, #ded6f2); }
.style-purple .study-card__media.is-empty { background: linear-gradient(135deg, #2b0f59, #45207f); }
.style-purple .rooms__head, .style-purple .pkg-bar { color: #ffffff; }

/* Logo intro after the age check: plays on the logo's purple */
.style-purple .pia-intro { background: var(--pc-gate-bg, #2b0f59); }
.style-purple .pia-intro__skip { color: var(--pc-gate-text-a60, rgba(255, 255, 255, .6)); }

/* Keyboard focus in gold on the purple bars, purple on light pages */
.style-purple :focus-visible { outline-color: var(--accent); }


/* ==========================================================================
   0.69.0 SHOWTIME SITE STYLE (rebuilt)
   Chosen in Appearance → Customize → Poker In Africa → Site style.
   Applies only when the body has .style-showtime; the other styles are untouched.

   The rules this style keeps to:
   1. Colour: logo purple and logo gold, plus neutrals. Red only for the small "live" dot.
   2. Text colour never changes: body text, secondary text, and white on purple.
      Links are shown with an underline, and hovering never recolours text.
   3. One type scale, five sizes, used everywhere:
        display 2.5rem · heading 1.75rem · title 1.125rem · body 1rem · small 0.875rem
   4. One shape: square corners on every box, button, tag, tab, photo and field.
      Only the small status dots stay round.
   5. Quiet motion: content fades in once, borders change on hover, the ribbon scrolls.
   ========================================================================== */
body.style-showtime {
	/* Palette */
	--purple: #2b0f59;          /* logo background */
	--purple-deep: #1f0a42;     /* menu bar, a step under the header */
	--gold: #d3af37;            /* logo gold */
	--gold-dark: #b8962a;       /* gold buttons on hover */
	--charcoal: #2b0f59;        /* older rules use this for text on gold */
	--orange: #d3af37;          /* older "featured" rules fall back to gold */
	--purple-light: #d3af37;

	/* Light mode */
	--bg: #ffffff;
	--surface: #ffffff;
	--surface-2: #f4f3f6;
	--line: #e3e1e8;
	--text: #17141f;
	--muted: #5e5a68;
	--accent: #2b0f59;          /* used for borders, underlines and selected states, not text */
	--accent-ink: #ffffff;

	/* Type scale */
	--fs-display: clamp(2rem, 4vw, 2.5rem);
	--fs-heading: clamp(1.5rem, 2.6vw, 1.75rem);
	--fs-title: 1.125rem;
	--fs-body: 1rem;
	--fs-small: 0.875rem;
	--display-weight: 600;

	/* Shape */
	--radius: 0;
	--radius-sm: 0;

	font-size: var(--fs-body);
	color-scheme: light;
}
:root[data-theme="dark"] body.style-showtime {
	--bg: #121116; --surface: #1a191f; --surface-2: #232229; --line: #34323c;
	--text: #f4f3f6; --muted: #a8a5b0; --accent: #d3af37; --accent-ink: #2b0f59;
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) body.style-showtime {
		--bg: #121116; --surface: #1a191f; --surface-2: #232229; --line: #34323c;
		--text: #f4f3f6; --muted: #a8a5b0; --accent: #d3af37; --accent-ink: #2b0f59;
		color-scheme: dark;
	}
}

/* ---------- 4. One shape: square corners everywhere ---------- */
body.style-showtime *, body.style-showtime *::before, body.style-showtime *::after { border-radius: 0 !important; }
body.style-showtime .live-chip__dot, body.style-showtime .rankings-soon__dot,
body.style-showtime .onbox__state::before { border-radius: 50% !important; }

/* ---------- 3. One type scale ---------- */
body.style-showtime h1, body.style-showtime .h1 { font-size: var(--fs-display) !important; font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
body.style-showtime h2 { font-size: var(--fs-heading) !important; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
body.style-showtime h3, body.style-showtime h4,
body.style-showtime [class*="__title"]:not(h1):not(h2):not(.footer-col__title),
body.style-showtime [class*="__name"]:not(.brandmark__name):not(.chip__name):not(.brand-tile__name) { font-size: var(--fs-title) !important; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
body.style-showtime p, body.style-showtime li, body.style-showtime td, body.style-showtime th,
body.style-showtime .btn, body.style-showtime input, body.style-showtime select, body.style-showtime textarea,
body.style-showtime .navbar .site-nav ul a { font-size: var(--fs-body); }
body.style-showtime :is(small, .small, .meta, [class*="__meta"], [class*="kicker"], [class*="badge"], [class*="__label"],
	[class*="tagline"], [class*="__state"], [class*="__buyin"], [class*="__structure"], [class*="__date"], [class*="__time"],
	.tag-featured, .chip, .chip__name, .tabs a, .study-jump a, .ev-type, [class*="ev-type--"], [class*="cash-game--"],
	.footer-col__title, .footer-legal, .ticker a, .carousel__summary, .onbox__more span) {
	font-size: var(--fs-small) !important; line-height: 1.4;
}
body.style-showtime .carousel__title { font-size: var(--fs-heading) !important; }
body.style-showtime .kicker, body.style-showtime [class*="kicker"],
body.style-showtime .footer-col__title, body.style-showtime .ticker a { text-transform: none; letter-spacing: 0; font-weight: 600; }
body.style-showtime .btn { font-weight: 600; letter-spacing: 0; }

/* ---------- 2. Text colour stays put ---------- */
body.style-showtime { color: var(--text); background: var(--bg); }
body.style-showtime a:not(.btn) { color: inherit; }
body.style-showtime a:not(.btn):hover { color: inherit; }
body.style-showtime .kicker, body.style-showtime a.kicker, body.style-showtime [class*="kicker"] { color: var(--muted); }
body.style-showtime .meta, body.style-showtime [class*="__meta"], body.style-showtime .muted { color: var(--muted); }
/* Links inside written text: same colour as the text, underlined in the accent */
body.style-showtime :is(.entry-content, .prose, .page-head, .cal-head, .get-listed, .onbox, .site-footer) p a:not(.btn) {
	text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.style-showtime :is(.entry-content, .prose, .page-head, .cal-head, .get-listed, .onbox, .site-footer) p a:not(.btn):hover { text-decoration-thickness: 2px; }
/* Titles of cards and lists: underline on hover, no colour change */
body.style-showtime :is([class*="__title"], [class*="__name"]) a { text-decoration: none; }
body.style-showtime :is([class*="__title"], [class*="__name"]) a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.style-showtime .brandmark:hover .brandmark__name { color: inherit; }

/* ---------- Header: bigger logo on the logo's own purple ---------- */
.style-showtime .brandbar, .style-showtime .navbar, .style-showtime .site-footer {
	--bg: #2b0f59; --surface: #351a68; --surface-2: #3f2475; --line: #4b3182;
	--text: #ffffff; --muted: #c9bfe0; --accent: #d3af37; --accent-ink: #2b0f59;
	color-scheme: dark;
	background: var(--bg); color: var(--text);
}
.style-showtime .brandbar { border-bottom: 0; }
.style-showtime .brandbar__inner { min-height: 0; padding-block: 18px; }
.style-showtime .brandmark__logo { width: auto; height: 120px; }
body.style-showtime .brandmark__logo img, body.style-showtime.logo-has-name .brandmark__logo img { height: 120px !important; width: auto !important; max-width: none !important; max-height: none !important; }
.style-showtime .brandmark__logo svg { width: 120px; height: 120px; }
@media (max-width: 759px) {
	.style-showtime .brandbar__inner { padding-block: 12px; }
	.style-showtime .brandmark__logo { height: 80px; }
	body.style-showtime .brandmark__logo img, body.style-showtime.logo-has-name .brandmark__logo img { height: 80px !important; }
	.style-showtime .brandmark__logo svg { width: 80px; height: 80px; }
}

/* Menu bar: plain items, a gold bar marks the current page */
.style-showtime .navbar { --bg: #1f0a42; background: var(--pc-menu-bg, #1f0a42); border-top: 1px solid var(--pc-menu-line, #3a2368); border-bottom: 1px solid var(--pc-menu-line, #3a2368); }
.style-showtime .navbar .site-nav ul a { position: relative; border: 0; background: transparent; color: var(--pc-menu-text, #ffffff); font-weight: 600; }
.style-showtime .navbar .site-nav ul a:hover { color: var(--pc-menu-text, #ffffff); background: var(--pc-menu-hover, #2b0f59); }
.style-showtime .navbar .site-nav .current-menu-item > a,
.style-showtime .navbar .site-nav .current_page_parent > a,
.style-showtime .navbar .site-nav a[aria-current="page"] { background: transparent; color: var(--pc-menu-text, #ffffff); box-shadow: inset 0 -3px 0 var(--gold); }
.style-showtime .navbar .site-nav .sub-menu { background: var(--pc-menu-bg, #1f0a42); border: 1px solid var(--pc-menu-line, #3a2368); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }

/* Light/dark switch: a square button like the rest */
.style-showtime .mode-toggle { width: 44px; height: 44px; border: 1px solid var(--pc-header-line, #4b3182); color: var(--pc-header-text, #ffffff); }
.style-showtime .mode-toggle:hover { border-color: var(--pc-header-accent, var(--gold)); color: var(--pc-header-text, #ffffff); }

/* ---------- Buttons: two kinds, same size and type ---------- */
.style-showtime .btn { min-height: 46px; padding: 10px 22px; border: 1px solid var(--pc-btn-bg, var(--gold)); background: var(--pc-btn-bg, var(--gold)); color: var(--pc-btn-text, #2b0f59); transition: background-color .15s, border-color .15s; }
.style-showtime .btn:hover { filter: none; background: var(--pc-btn-hover, var(--gold-dark)); border-color: var(--pc-btn-hover, var(--gold-dark)); color: var(--pc-btn-text, #2b0f59); }
.style-showtime .btn--ghost { background: transparent; border-color: var(--text); color: var(--text); }
.style-showtime .btn--ghost:hover { background: var(--surface-2); border-color: var(--text); color: var(--text); }
.style-showtime .btn--small { min-height: 40px; padding: 6px 16px; }

/* ---------- "Next event" ribbon: flat gold, same type as everywhere ---------- */
.style-showtime .ticker { background: var(--pc-ticker-accent, var(--gold)); box-shadow: none; margin: 0; }
body.style-showtime .ticker a { color: var(--pc-ticker-text, #2b0f59); padding: 10px 28px; }
.style-showtime .ticker b { font-weight: 600; }

/* ---------- Section heads: flush left with the content, a hairline beneath ---------- */
.style-showtime .section__head { padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.style-showtime .section__head--stack h2 { margin-bottom: 14px; }
/* Headings inside a box are box titles, not section headings */
body.style-showtime :is(.onbox, .panel, .spotlight, .newsletter, .get-listed, .fed-card, .card) :is(h2, h3) { font-size: var(--fs-title) !important; }

/* ---------- Boxes: one surface, one border, one hover ---------- */
.style-showtime :is(.card, .ev-card, .venue-card, .player-card, .pkg-card, .creator-card, .brand-card, .onbox, .panel, .cal, .sched-wrap, .cash-venues, .fed-card, .carousel__track) {
	background: var(--surface); border: 1px solid var(--line); box-shadow: none;
}
.style-showtime :is(.card, .ev-card, .venue-card, .player-card, .pkg-card, .creator-card, .brand-card) { transition: border-color .15s; }
.style-showtime :is(.card, .ev-card, .venue-card, .player-card, .pkg-card, .creator-card, .brand-card):hover { border-color: var(--accent); }
.style-showtime .ev-card, .style-showtime .featured-partner, .style-showtime .venue-card--featured { border-color: var(--line); }
.style-showtime .ev-row.is-featured, .style-showtime .tour-row.is-main { box-shadow: inset 3px 0 0 var(--gold); }

.style-showtime .card__body { padding: 16px; gap: 6px; }

/* ---------- Tags, tabs and chips: one tag style; featured only adds a gold border ---------- */
.style-showtime :is(.tag-featured, .ev-card__badge, .pkg-badge, .venue-card__badge, .coming-soon__badge, .player-card__badge,
	.ev-type, [class*="ev-type--"], [class*="cash-game--"], .venue-card__tour, .creator-card__partner) {
	display: inline-flex; align-items: center; min-height: 26px; padding: 2px 8px;
	background: var(--bg); border: 1px solid var(--line); color: var(--text);
	font-weight: 600; text-transform: none; letter-spacing: 0;
}
.style-showtime :is(.tag-featured, .ev-card__badge, .pkg-badge, .venue-card__badge) { border-color: var(--gold); }
.style-showtime :is(.tabs a, .study-jump a, .chip) { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.style-showtime :is(.tabs a, .study-jump a, .chip):hover { border-color: var(--accent); color: var(--text); }
.style-showtime :is(.tabs a[aria-current="page"], .chip[aria-current="page"]) { background: var(--surface-2); border-color: var(--accent); color: var(--text); box-shadow: inset 0 -3px 0 var(--gold); }
.style-showtime .chip[aria-current="page"] .world-icon { color: var(--text); }
body.style-showtime .view-switch a[aria-current="page"], body.style-showtime .brand-tile--all[aria-current="page"] { color: var(--accent-ink); }
.style-showtime :is(.code-copy, .pkg-card__code) { border: 1px dashed var(--accent); color: var(--text); }
.style-showtime :is(.pkg-stars, .pkg-book__deadline, .creator-card__partner) { color: var(--text); }
.style-showtime .pkg-book { border-top: 3px solid var(--gold); }

/* Status: one red dot for live, text stays in the normal colours */
.style-showtime .onbox__state, .style-showtime .onbox__state.is-open, .style-showtime .onbox__state.is-running { color: var(--muted); }
.style-showtime .onbox__state.is-open::before { background: var(--gold); }
.style-showtime .onbox { padding: 20px; }
.style-showtime .onbox__head { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.style-showtime .onbox__date { color: var(--muted); font-weight: 400; }
.style-showtime .onbox__live { margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--text); }
.style-showtime .onbox__live:hover { background: transparent; }
.style-showtime .onbox__live strong { font-size: var(--fs-body); font-weight: 600; }
.style-showtime .onbox__live small { color: var(--muted); }
.style-showtime .onbox__time { font-weight: 600; }
.style-showtime .onbox__buyin { font-weight: 600; }

/* Carousel indicators: square bars */
.style-showtime .carousel__dot span { height: 4px; width: 16px; }
.style-showtime .carousel__dot[aria-current="true"] span { width: 32px; background: var(--line); }
.style-showtime .carousel__dot[aria-current="true"] span::after { background: var(--gold); }

/* Fields */
.style-showtime :is(input, select, textarea) { border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.style-showtime :is(input, select, textarea):focus { outline: 2px solid var(--accent); outline-offset: 0; }

/* Photo frames: square, thin gold rule */
.style-showtime :is(.author-head__photo, .team-card__photo, .author-box__photo, .creator-hero__pic) { border: 2px solid var(--gold); box-shadow: none; }

/* Dark panels that had charcoal greys written in */
.style-showtime .spotlight { --text: #ffffff; --muted: #c9bfe0; --line: #4b3182; --bg: #351a68; --accent: #d3af37; background: var(--pc-spotlight-bg, #2b0f59); color: var(--pc-spotlight-text, #ffffff); }
.style-showtime .spotlight p:not([class]) { color: var(--pc-spotlight-text, #ffffff); }
.style-showtime .spotlight__kicker { color: var(--pc-spotlight-text, #c9bfe0); }
.style-showtime .study-card__media.is-empty { background: #2b0f59; color: var(--gold); }
.style-showtime .rooms__head, .style-showtime .pkg-bar { background: #2b0f59; color: #ffffff; }
body.style-showtime .lightbox__who a { color: #ffffff; }

/* ---------- Footer: one woven band in gold, then plain purple ---------- */
.style-showtime .site-footer { position: relative; padding-top: 12px; }
.style-showtime .site-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
	background: var(--pc-footer-bg, #2b0f59) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6 6 0l6 6-6 6zM12 6l6-6 6 6-6 6z' fill='%23d3af37'/%3E%3C/svg%3E") repeat-x center / 24px 12px;
}
.style-showtime .footer-col__title { color: var(--pc-footer-text, #ffffff); }
.style-showtime :is(.footer-links a, .footer-legal a, .footer-email):hover { color: var(--pc-footer-text, #ffffff); text-decoration: underline; }
.style-showtime .footer-email svg { color: var(--pc-footer-accent, var(--gold)); }

/* Logo intro after the age check */
.style-showtime .pia-intro { background: var(--pc-gate-bg, #2b0f59); }
.style-showtime .pia-intro__skip { color: var(--pc-gate-text-a70, rgba(255, 255, 255, .7)); }

/* ---------- 5. Quiet motion ---------- */
.style-showtime .reveal { opacity: 0; transform: translateY(12px); }
.style-showtime .reveal.is-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

/* Keyboard focus */
.style-showtime :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.style-showtime .brandbar :focus-visible, .style-showtime .navbar :focus-visible, .style-showtime .site-footer :focus-visible { outline-color: var(--pc-footer-accent, var(--gold)); }

@media (prefers-reduced-motion: reduce) {
	.style-showtime .reveal { opacity: 1; transform: none; }
	.style-showtime * { transition: none !important; }
}

/* ==========================================================================
   0.71.0 SHOWTIME: 60-30-10 colour and layout principles
   60% neutral background · 30% logo purple (structure, header, menu, footer, text)
   10% logo gold, only for: buttons, link underlines, the current-page marker, focal points.
   Spacing on an 8px grid: 8 · 16 · 24 · 32 · 48 · 64.
   ========================================================================== */
body.style-showtime { --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; }

/* White space and rhythm: one section gap, one heading gap, one card gap */
.style-showtime .section { margin-block: var(--s8); }
@media (max-width: 759px) { .style-showtime .section { margin-block: var(--s6); } }
.style-showtime .top { margin-top: var(--s4); gap: var(--s3); }
.style-showtime .section__head { margin-bottom: var(--s3); padding-bottom: var(--s2); }
.style-showtime .grid { gap: var(--s3); }
.style-showtime .card__body { padding: var(--s2); gap: var(--s1); }
.style-showtime .onbox { padding: var(--s3); }
.style-showtime .carousel__body { padding: var(--s3); gap: var(--s1); }
.style-showtime .newsletter { margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--line); }
.style-showtime .site-footer__cols { padding-top: var(--s6); padding-bottom: var(--s4); gap: var(--s6); }

/* Emphasis: the lead story leads through its photo, position and heading size; headlines are never cut short */
body.style-showtime .carousel__title { font-size: var(--fs-heading) !important; line-height: 1.2; -webkit-line-clamp: unset; display: block; }

/* What's On: every title in the text colour; the main event is shown by weight, not colour */
body.style-showtime .onbox__what a, body.style-showtime .onbox__item.is-main .onbox__what a { color: var(--text); font-size: var(--fs-body); font-weight: 600; }
.style-showtime .onbox__item.is-main { box-shadow: none; }

/* Cards end with their meta line, no extra space under it */
.style-showtime .card .meta { margin: 0; }

/* Ribbon: purple structure, white text; only the "Next event" label is gold */
.style-showtime .ticker { background: var(--purple-deep); border-bottom: 1px solid var(--pc-ticker-bg, #3a2368); }
body.style-showtime .ticker a { color: var(--pc-ticker-text, #ffffff); }
.style-showtime .ticker b { color: var(--pc-ticker-accent, var(--gold)); }

/* Gold kept to the 10%: links underline in gold, focal markers in gold, nothing decorative */
body.style-showtime :is(.entry-content, .prose, .page-head, .cal-head, .get-listed, .onbox, .site-footer, .newsletter) p a:not(.btn) { text-decoration-color: var(--pc-btn-bg, var(--gold)); text-decoration-thickness: 2px; }
.style-showtime :is(.author-head__photo, .team-card__photo, .author-box__photo, .creator-hero__pic) { border: 1px solid var(--line); }
.style-showtime .onbox__state.is-open::before { background: var(--muted); }
.style-showtime .footer-email svg { color: currentColor; }
.style-showtime .ev-card__badge, .style-showtime .pkg-badge, .style-showtime .venue-card__badge, .style-showtime .tag-featured { border-color: var(--gold); }
.style-showtime :is(.card, .ev-card, .venue-card, .player-card, .pkg-card, .creator-card, .brand-card):hover { border-color: var(--purple); }
:root[data-theme="dark"] .style-showtime :is(.card, .ev-card, .venue-card, .player-card, .pkg-card, .creator-card, .brand-card):hover { border-color: #6a55a0; }

/* Showtime on phones: the What's On strip sits on the page, not in a box, so its cards are the only boxes */
@media (max-width: 759px) {
	.style-showtime .onbox { padding: 0; background: transparent; border: 0; }
	.style-showtime .onbox::before { content: none; }
	.style-showtime .onbox__head { padding-inline: 0; }
	.style-showtime .onbox__live { margin: 0 0 var(--s2); padding: var(--s1) 0; }
	.style-showtime .onbox .onbox__list { padding: 0 0 4px; margin-inline: 0; scroll-padding-inline: 0; }
	.style-showtime .onbox .onbox__list .onbox__item, .style-showtime .onbox .onbox__list .onbox__item.is-main { padding: var(--s2); background: var(--surface); border: 1px solid var(--line); }
	body.style-showtime .onbox__item .onbox__time { color: var(--text); font-size: var(--fs-small) !important; }
	body.style-showtime .onbox__more a { border: 1px solid var(--text); color: var(--text); }
	.style-showtime .onbox__more a:hover { background: var(--surface-2); }
	.style-showtime .top { gap: var(--s4); }
}


/* ==========================================================================
   0.72.0 SHOWTIME: EDITORIAL LAYOUT
   One-bar masthead (logo and menu together), a full-bleed lead story with the
   headline set on the photo, borderless editorial cards, a newsletter band.
   Keeps the Showtime rules: square shapes, five type sizes, 60-30-10 colour.
   ========================================================================== */

/* ---------- Masthead: logo, menu and actions on one bar ---------- */
.style-showtime .masthead { position: sticky; top: 0; z-index: 50; background: var(--purple); border-bottom: 1px solid var(--pc-header-line-a8, rgba(255, 255, 255, .08)); }
.style-showtime .masthead .brandbar__inner { gap: var(--s4); padding-block: var(--s2); transition: padding .25s ease; }
.style-showtime .masthead .brandmark { margin-right: 0; flex: none; }
body.style-showtime .masthead .brandmark__logo img, body.style-showtime.logo-has-name .masthead .brandmark__logo img { height: 104px !important; transition: height .25s ease; }
.style-showtime .masthead .brandmark__logo { height: auto; }
.style-showtime .masthead__nav { flex: 1 1 auto; min-width: 0; background: transparent !important; border: 0 !important; }
.style-showtime .masthead__nav .site-nav { padding: 0; width: auto; max-width: none; }
.style-showtime .masthead__nav .navbar__subscribe { display: none; }
@media (min-width: 760px) {
	.style-showtime .masthead__nav .site-nav ul.menu { display: flex; flex-wrap: nowrap; justify-content: center; gap: var(--s1); }
	.style-showtime .masthead__nav .site-nav ul a { min-height: 44px; padding: 8px 14px; font-weight: 500; white-space: nowrap; }
	.style-showtime .masthead__nav .site-nav ul a:hover { background: transparent; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .35); }
	.style-showtime .masthead__nav .site-nav .current-menu-item > a,
	.style-showtime .masthead__nav .site-nav .current_page_parent > a,
	.style-showtime .masthead__nav .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
}
/* Shrinks to a slim bar once the page scrolls (site.js adds .is-scrolled) */
.style-showtime .masthead.is-scrolled .brandbar__inner { padding-block: var(--s1); }
body.style-showtime .masthead.is-scrolled .brandmark__logo img, body.style-showtime.logo-has-name .masthead.is-scrolled .brandmark__logo img { height: 56px !important; }
/* Phones: the menu opens as a panel under the bar */
@media (max-width: 759px) {
	.style-showtime .masthead .brandbar__inner { position: relative; gap: var(--s2); }
	.style-showtime .masthead .brandmark { margin-right: auto; }
	body.style-showtime .masthead .brandmark__logo img, body.style-showtime.logo-has-name .masthead .brandmark__logo img { height: 72px !important; }
	body.style-showtime .masthead.is-scrolled .brandmark__logo img, body.style-showtime.logo-has-name .masthead.is-scrolled .brandmark__logo img { height: 48px !important; }
	.style-showtime .masthead__nav { position: absolute; top: 100%; left: 0; right: 0; flex: none; }
	.style-showtime .masthead__nav .site-nav.is-open { display: block; padding: var(--s2) var(--gap) var(--s3); background: var(--purple); border-top: 1px solid var(--pc-menu-line-a8, rgba(255, 255, 255, .08)); }
	.style-showtime .masthead__nav .site-nav ul a { justify-content: flex-start; padding-inline: 0; border-bottom: 1px solid var(--pc-menu-line-a8, rgba(255, 255, 255, .08)); }
	.style-showtime .masthead__nav .navbar__subscribe { display: inline-flex; margin-top: var(--s2); }
}
.style-showtime .nav-toggle { width: 44px; height: 44px; border: 1px solid var(--pc-header-line-a25, rgba(255, 255, 255, .25)); color: var(--pc-header-text, #ffffff); }
.style-showtime .mode-toggle { border-color: var(--pc-header-line-a25, rgba(255, 255, 255, .25)); }
.style-showtime .ticker { position: relative; z-index: 1; }

/* ---------- Lead story: full-bleed photo, headline on it ---------- */
.style-showtime .top { margin-top: var(--s4); }
.style-showtime .top .carousel__track { border: 0; background: var(--pc-hero-bg, #120626); }
.style-showtime .top .carousel__slide { display: block; position: relative; min-height: 520px; }
.style-showtime .top .carousel__media { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; min-height: 0; }
.style-showtime .top .carousel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--pc-hero-bg-a94, rgba(18, 6, 38, .94)) 0%, var(--pc-hero-bg-a72, rgba(18, 6, 38, .72)) 38%, var(--pc-hero-bg-a10, rgba(18, 6, 38, .1)) 72%, var(--pc-hero-bg-a0, rgba(18, 6, 38, 0)) 100%); pointer-events: none; }
.style-showtime .top .carousel__body {
	--text: #ffffff; --muted: rgba(255, 255, 255, .78);
	position: relative; z-index: 1; min-height: 520px; max-width: 760px;
	display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s2);
	padding: var(--s6); color: var(--pc-hero-text, #ffffff);
}
body.style-showtime .top .carousel__title { font-size: var(--fs-display) !important; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; color: var(--pc-hero-text, #ffffff); }
.style-showtime .top .carousel__summary { color: var(--pc-hero-text-a85, rgba(255, 255, 255, .85)); max-width: 60ch; -webkit-line-clamp: 2; }
.style-showtime .top .carousel__body .kicker { color: var(--pc-hero-text, #ffffff); padding-left: 12px; border-left: 2px solid var(--pc-hero-accent, var(--gold)); }
.style-showtime .top .carousel__body .meta { color: var(--pc-hero-text-a70, rgba(255, 255, 255, .7)); margin: 0; padding: 0; }
.style-showtime .top .carousel__media img { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.style-showtime .top .carousel__slide:hover .carousel__media img { transform: scale(1.03); }
@media (max-width: 759px) {
	.style-showtime .top .carousel__slide, .style-showtime .top .carousel__body { min-height: 440px; }
	.style-showtime .top .carousel__body { padding: var(--s3); }
}
.style-showtime .carousel__btn { width: 40px; height: 40px; border: 1px solid var(--line); }
.style-showtime .carousel__btn:hover { border-color: var(--text); color: var(--text); }

/* What's On beside the lead story: same height, quiet panel */
@media (min-width: 760px) { .style-showtime .top .onbox { background: var(--surface); border: 1px solid var(--line); } }
.style-showtime .onbox__head h2 { letter-spacing: -0.01em; }
.style-showtime .onbox__time { font-variant-numeric: tabular-nums; }

/* ---------- Editorial cards: photo, label, headline; no frame ---------- */
.style-showtime .grid--4 .card, .style-showtime .grid--3 .card { background: transparent; border: 0; overflow: visible; }
.style-showtime .grid--4 .card:hover, .style-showtime .grid--3 .card:hover { border: 0; }
.style-showtime .grid--4 .card__media, .style-showtime .grid--3 .card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.style-showtime .grid--4 .card__media img, .style-showtime .grid--3 .card__media img { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.style-showtime .grid--4 .card:hover .card__media img, .style-showtime .grid--3 .card:hover .card__media img { transform: scale(1.04); }
.style-showtime .grid--4 .card__body, .style-showtime .grid--3 .card__body { padding: var(--s2) 0 0; }
body.style-showtime .card__title { text-wrap: balance; }
.style-showtime .grid { row-gap: var(--s6); }

/* Section heads: headline left, tabs right on wide screens, hairline beneath */
@media (min-width: 1000px) {
	.style-showtime .section__head--stack { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); }
	.style-showtime .section__head--stack h2 { margin: 0; }
	.style-showtime .section__head--stack .tabs { margin: 0; }
	/* 4 Dec 2026: the country boxes get their own full row under the title and tabs; squeezed in beside them they
	   stacked in a narrow column and left a large empty gap above Latest News. */
	.style-showtime .section__head--stack { flex-wrap: wrap; row-gap: var(--s3); }
	.style-showtime .section__head--stack .country-tiles--row { flex: 1 0 100%; order: 3; }
}
.style-showtime .tabs { gap: 0; }
.style-showtime .tabs a { border: 0; background: transparent; padding: 8px 14px; font-weight: 500; }
.style-showtime .tabs a:hover { box-shadow: inset 0 -2px 0 var(--line); border: 0; }
.style-showtime .tabs a[aria-current="page"] { background: transparent; box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- Newsletter: the one purple call-to-action band ---------- */
.style-showtime .newsletter {
	--text: #ffffff; --muted: rgba(255, 255, 255, .78); --line: rgba(255, 255, 255, .2); --bg: #ffffff; --surface: #ffffff;
	margin-top: var(--s8); padding: var(--s6); border: 0; background: var(--purple); color: var(--pc-newsletter-text, #ffffff);
	align-items: center;
}
@media (min-width: 900px) { .style-showtime .newsletter { grid-template-columns: 1fr 1fr; gap: var(--s6); padding: var(--s8); } }
body.style-showtime .newsletter h2 { font-size: var(--fs-heading) !important; color: var(--pc-newsletter-text, #ffffff); }
.style-showtime .newsletter p { color: var(--pc-newsletter-text-a80, rgba(255, 255, 255, .8)); }
.style-showtime .newsletter input { background: var(--pc-newsletter-text, #ffffff); color: #17141f; border: 0; min-height: 48px; }

/* ---------- Footer: quiet, structured ---------- */
.style-showtime .site-footer { margin-top: var(--s8); }
.style-showtime .site-footer::before { height: 4px; background: var(--pc-footer-accent, var(--gold)); }
.style-showtime .site-footer__bottom { border-top: 1px solid var(--pc-footer-line-a12, rgba(255, 255, 255, .12)); }
.style-showtime .footer-links a { color: var(--pc-footer-text-a85, rgba(255, 255, 255, .85)); }
@media (min-width: 760px) { .style-showtime .masthead__nav { position: static; backdrop-filter: none; } }
.style-showtime .masthead { top: var(--wp-admin--admin-bar--height, 0px); }
/* Newsletter form: field and button on one line, the same height */
.style-showtime .newsletter form { display: flex; flex-wrap: wrap; gap: 0; }
.style-showtime .newsletter form p { margin: 0; }
.style-showtime .newsletter form input[type="email"] { flex: 1 1 240px; width: auto; min-height: 52px; padding-inline: var(--s2); }
.style-showtime .newsletter form :is(button, input[type="submit"], .btn) { min-height: 52px; padding-inline: var(--s3); border: 0; background: var(--pc-btn-bg, var(--gold)); color: var(--pc-btn-text, #2b0f59); font: 600 var(--fs-body) var(--font-body); cursor: pointer; }
.style-showtime .newsletter form :is(button, input[type="submit"], .btn):hover { background: var(--pc-btn-hover, var(--gold-dark)); }
body.style-showtime .newsletter h2 { text-wrap: balance; }
/* Footer logo as large as the masthead's slim state */
body.style-showtime .footer-brand__logo img { height: 88px !important; width: auto !important; max-width: none !important; }
@media (max-width: 899px) { .style-showtime .newsletter { grid-template-columns: minmax(0, 1fr); padding: var(--s4) var(--s3); } }
.style-showtime .newsletter form input[type="email"] { min-width: 0; flex-basis: 180px; }

/* ==========================================================================
   0.73.0 SHOWTIME: BRAND BANNER (in the style of a club hero banner)
   Layered card-diamonds and spades in logo purple, a gold flare, the logo centred.
   Artwork: assets/banner-wide.webp (2400×900) and banner-phone.webp (1200×1200).
   The same artwork without the logo sits behind the newsletter band.
   ========================================================================== */
.style-showtime .brand-hero { margin-top: var(--s4); background: var(--pc-hero-bg, #12052a); border: 1px solid var(--pc-hero-accent-a25, rgba(211, 175, 55, .25)); overflow: hidden; }
.style-showtime .brand-hero img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; object-fit: cover; }
@media (max-width: 759px) { .style-showtime .brand-hero img { aspect-ratio: 1 / 1; } }
.style-showtime .newsletter { background: var(--pc-newsletter-bg, #1d0841) url("assets/background-wide.webp") center / cover no-repeat; }

/* ==========================================================================
   0.74.0 SHOWTIME: REFINED NEWS CARDS AND NEWSLETTER
   ========================================================================== */
/* Articles without a photo show the brand artwork instead of an empty grey box */
.style-showtime .card__media:not(:has(img)) { background: #1d0841 url("assets/background-wide.webp") center / cover no-repeat; }
.style-showtime .grid--4 .card__media, .style-showtime .grid--3 .card__media { aspect-ratio: 16 / 10; }
.style-showtime .grid--4 .card__body, .style-showtime .grid--3 .card__body { padding-top: var(--s2); gap: 6px; }
body.style-showtime .card__title { font-weight: 600; line-height: 1.35; }
.style-showtime .card .meta { color: var(--muted); }

/* Newsletter: the brand artwork, a framed band, a quiet form */
.style-showtime .newsletter {
	position: relative; overflow: hidden;
	background: var(--pc-newsletter-bg, #12052a) url("assets/background-wide.webp") center / cover no-repeat;
	border: 1px solid var(--pc-newsletter-accent-a25, rgba(211, 175, 55, .25));
	padding: var(--s8);
	align-items: end;
}
.style-showtime .newsletter::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--pc-newsletter-bg-a88, rgba(18, 5, 42, .88)) 0%, var(--pc-newsletter-bg-a55, rgba(18, 5, 42, .55)) 55%, var(--pc-newsletter-bg-a35, rgba(18, 5, 42, .35)) 100%); pointer-events: none; }
.style-showtime .newsletter > * { position: relative; }
body.style-showtime .newsletter h2 { font-size: var(--fs-display) !important; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 var(--s2); max-width: 16ch; }
.style-showtime .newsletter p { color: var(--pc-newsletter-text-a72, rgba(255, 255, 255, .72)); max-width: 44ch; margin: 0; }
.style-showtime .newsletter form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; }
.style-showtime .newsletter form label, .style-showtime .newsletter .newsletter__label { grid-column: 1 / -1; margin-bottom: var(--s1); color: var(--pc-newsletter-text-a72, rgba(255, 255, 255, .72)); font-size: var(--fs-small); }
.style-showtime .newsletter form input[type="email"] {
	min-height: 56px; padding: 0 var(--s2); width: 100%;
	background: var(--pc-newsletter-text-a6, rgba(255, 255, 255, .06)); color: var(--pc-newsletter-text, #ffffff);
	border: 1px solid var(--pc-newsletter-text-a28, rgba(255, 255, 255, .28)); border-right: 0;
}
.style-showtime .newsletter form input[type="email"]::placeholder { color: var(--pc-newsletter-text-a50, rgba(255, 255, 255, .5)); }
.style-showtime .newsletter form input[type="email"]:focus { outline: none; border-color: var(--pc-newsletter-accent, var(--gold)); background: var(--pc-newsletter-text-a10, rgba(255, 255, 255, .1)); }
.style-showtime .newsletter form :is(button, input[type="submit"], .btn) { min-height: 56px; padding-inline: var(--s4); }
.style-showtime .newsletter .newsletter__note { grid-column: 1 / -1; margin-top: var(--s1); color: var(--pc-newsletter-text-a55, rgba(255, 255, 255, .55)); font-size: var(--fs-small); }
@media (max-width: 899px) {
	.style-showtime .newsletter { padding: var(--s6) var(--s3); }
	body.style-showtime .newsletter h2 { font-size: var(--fs-heading) !important; }
	.style-showtime .newsletter form { grid-template-columns: minmax(0, 1fr); }
	.style-showtime .newsletter form input[type="email"] { border-right: 1px solid var(--pc-newsletter-text-a28, rgba(255, 255, 255, .28)); margin-bottom: var(--s1); }
}

/* ==========================================================================
   0.75.0 SHOWTIME: BRAND ARTWORK IN THE HEADER AND FOOTER
   The banner's diamonds and light (assets/background-wide.webp, no logo) behind
   the masthead and the footer, under a dark wash so text stays easy to read.
   ========================================================================== */
.style-showtime .masthead {
	background:
		linear-gradient(90deg, var(--pc-header-bg-a70, rgba(18, 5, 42, .7)) 0%, var(--pc-header-bg-a30, rgba(18, 5, 42, .3)) 50%, var(--pc-header-bg-a70, rgba(18, 5, 42, .7)) 100%),
		var(--pc-header-bg, #1d0841) url("assets/background-wide.webp") center 42% / cover no-repeat;
	border-bottom: 1px solid var(--pc-header-accent-a25, rgba(211, 175, 55, .25));
}
.style-showtime .ticker { background: var(--pc-ticker-bg, #12052a); border-bottom: 1px solid var(--pc-ticker-text-a6, rgba(255, 255, 255, .06)); }
.style-showtime .site-footer {
	background:
		linear-gradient(180deg, var(--pc-footer-bg-a55, rgba(18, 5, 42, .55)) 0%, var(--pc-footer-bg-a88, rgba(18, 5, 42, .88)) 70%, var(--pc-footer-bg-a96, rgba(12, 3, 28, .96)) 100%),
		var(--pc-footer-bg, #1d0841) url("assets/background-wide.webp") center 30% / cover no-repeat;
}
.style-showtime .site-footer::before { height: 1px; background: var(--pc-footer-accent-a45, rgba(211, 175, 55, .45)); }

/* ==========================================================================
   0.76.0 SHOWTIME: MASTHEAD THAT FITS ANY MENU
   1200px and wider: two rows in the same band (logo and actions, then the menu).
   Narrower: the menu opens from the menu button as a panel.
   ========================================================================== */
.style-showtime .masthead .brandmark { margin-right: auto; }
.style-showtime .masthead .brandmark__name { color: var(--pc-header-text, #ffffff); }
.style-showtime .masthead .brandmark__tagline { color: var(--pc-header-text-a72, rgba(255, 255, 255, .72)); }

/* Wide screens: two rows */
@media (min-width: 1200px) {
	.style-showtime .masthead .brandbar__inner { flex-wrap: wrap; row-gap: 0; column-gap: var(--s2); padding-block: var(--s2) 0; }
	.style-showtime .masthead .brandmark { order: 1; }
	.style-showtime .masthead .mode-toggle { order: 2; }
	.style-showtime .masthead .brandbar__subscribe { order: 3; }
	.style-showtime .masthead .nav-toggle { display: none; }
	.style-showtime .masthead__nav { order: 4; flex: 0 0 100%; margin-top: var(--s2); border-top: 1px solid var(--pc-menu-line-a12, rgba(255, 255, 255, .12)) !important; }
	.style-showtime .masthead__nav .site-nav { display: block; }
	.style-showtime .masthead__nav .site-nav ul.menu { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0; }
	.style-showtime .masthead__nav .site-nav ul.menu > li > a { min-height: 52px; padding: 0 var(--s1); }
	.style-showtime .masthead__nav .site-nav ul.menu > li:first-child > a { padding-left: 0; }
	.style-showtime .masthead__nav .site-nav ul.menu > li:last-child > a { padding-right: 0; }
	.style-showtime .masthead__nav .site-nav ul.menu > li.has-sub > a { padding-right: 28px; }
	.style-showtime .masthead__nav .site-nav .sub-toggle { right: 2px; color: var(--pc-menu-text-a80, rgba(255, 255, 255, .8)); }
	body.style-showtime .masthead .brandmark__logo img, body.style-showtime.logo-has-name .masthead .brandmark__logo img { height: 96px !important; }
	.style-showtime .masthead.is-scrolled .brandbar__inner { padding-top: var(--s1); }
	.style-showtime .masthead.is-scrolled .masthead__nav { margin-top: var(--s1); }
	body.style-showtime .masthead.is-scrolled .brandmark__logo img, body.style-showtime.logo-has-name .masthead.is-scrolled .brandmark__logo img { height: 48px !important; }
	.style-showtime .masthead.is-scrolled .brandmark__tagline { display: none; }
}

/* Below 1200px: menu button and a panel */
@media (max-width: 1199px) {
	.style-showtime .masthead .brandbar__inner { position: relative; flex-wrap: nowrap; gap: var(--s2); }
	.style-showtime .masthead .nav-toggle { display: inline-flex; order: 4; }
	.style-showtime .masthead__nav { position: absolute; top: 100%; left: 0; right: 0; flex: none; order: 5; }
	.style-showtime .masthead__nav .site-nav { display: none; }
	.style-showtime .masthead__nav .site-nav.is-open {
		display: block; max-height: calc(100vh - 140px); overflow-y: auto;
		padding: var(--s2) var(--gap) var(--s3); background: var(--pc-menu-bg, #1a0739);
		border-top: 1px solid var(--pc-menu-line-a10, rgba(255, 255, 255, .1)); border-bottom: 1px solid var(--pc-menu-accent-a25, rgba(211, 175, 55, .25));
	}
	.style-showtime .masthead__nav .site-nav ul.menu { display: grid; grid-template-columns: 1fr; gap: 0; }
	@media (min-width: 760px) { .style-showtime .masthead__nav .site-nav ul.menu { grid-template-columns: 1fr 1fr; column-gap: var(--s4); } }
	.style-showtime .masthead__nav .site-nav ul a { justify-content: flex-start; min-height: 48px; padding: 0; border-bottom: 1px solid var(--pc-menu-line-a8, rgba(255, 255, 255, .08)); box-shadow: none !important; }
	.style-showtime .masthead__nav .site-nav ul a:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
	.style-showtime .masthead__nav .site-nav .current-menu-item > a, .style-showtime .masthead__nav .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold) !important; padding-left: var(--s2); }
	/* Dropdown pages listed under their parent, always open */
	.style-showtime .masthead__nav .site-nav .has-sub { display: block; }
	.style-showtime .masthead__nav .site-nav .has-sub > a { padding-right: 0; }
	.style-showtime .masthead__nav .site-nav .sub-toggle { display: none; }
	.style-showtime .masthead__nav .site-nav .sub-menu { display: grid; position: static; min-width: 0; margin: 0; padding: 0 0 0 var(--s2); background: none; border: 0; box-shadow: none; }
	.style-showtime .masthead__nav .site-nav .sub-menu a { color: var(--pc-menu-text-a80, rgba(255, 255, 255, .8)); }
	.style-showtime .masthead__nav .navbar__subscribe { display: inline-flex; margin-top: var(--s2); }
}
@media (min-width: 760px) and (max-width: 1199px) { .style-showtime .masthead__nav .navbar__subscribe { display: none; } }

/* ==========================================================================
   0.77.0 LOGO INTRO AFTER THE AGE CHECK (the new logo, every site style)
   Timeline: background 0–0.5s · spade 0.2–1.1s, light sweep 1.1–1.8s, flare 1.0–2.0s
   · POK 1.1–1.7s, chips drop 1.3–2.0s, R 1.5s · lines and IN 1.9–2.5s
   · AFRICA 2.15–2.9s · hold · fade out from 3.9s.
   ========================================================================== */
.pia-logo-intro { background: var(--pc-gate-bg, #0d0320); overflow: hidden; }
.pia-logo-intro__bg { position: absolute; inset: -4%; background-position: center; background-size: cover; opacity: 0; animation: pli-bg 4.4s ease-out forwards; }
.pia-logo-intro__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, var(--pc-gate-bg-a10, rgba(13, 3, 32, .1)), var(--pc-gate-bg-a75, rgba(13, 3, 32, .75))); }
@keyframes pli-bg { 0% { opacity: 0; transform: scale(1.08); } 12% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }

.pia-logo-intro__logo { position: relative; width: min(64vw, 400px); aspect-ratio: 495 / 557; animation: pli-breathe 4.4s ease-out both; }
@keyframes pli-breathe { from { transform: scale(.97); } to { transform: scale(1.02); } }
.pia-logo-intro__part { position: absolute; display: block; max-width: none; opacity: 0; animation: pli-rise .5s cubic-bezier(.2, .8, .2, 1) both; }

/* Spade: rises out of the dark, then a band of light crosses it */
.pia-logo-intro__spade { animation: pli-spade .9s .2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pli-spade { 0% { opacity: 0; transform: translateY(14%) scale(.86); filter: blur(6px) brightness(.6); } 100% { opacity: 1; transform: none; filter: none; } }
.pia-logo-intro__shine { position: absolute; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; background: linear-gradient(105deg, transparent 30%, var(--pc-gate-text-a95, rgba(255, 246, 214, .95)) 48%, transparent 66%); background-size: 260% 100%; background-position: 120% 0; opacity: 0; animation: pli-shine .75s 1.1s ease-in-out both; }
@keyframes pli-shine { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 1; background-position: -60% 0; } }
.pia-logo-intro__glow { position: absolute; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; background: radial-gradient(circle, var(--pc-gate-accent-a38, rgba(243, 211, 122, .38)), var(--pc-gate-accent-a10, rgba(211, 175, 55, .1)) 40%, transparent 68%); opacity: 0; animation: pli-glow 1.6s .3s ease-out both; }
@keyframes pli-glow { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); } 60% { opacity: 1; } 100% { opacity: .65; transform: translate(-50%, -50%) scale(1); } }
.pia-logo-intro__flare { position: absolute; width: 0; height: 0; opacity: 0; animation: pli-flare 1s 1.05s ease-out both; }
.pia-logo-intro__flare::before, .pia-logo-intro__flare::after { content: ""; position: absolute; left: 50%; top: 50%; background: linear-gradient(90deg, transparent, var(--pc-gate-text, #fff6d6), transparent); transform: translate(-50%, -50%); }
.pia-logo-intro__flare::before { width: 160px; height: 2px; }
.pia-logo-intro__flare::after { width: 2px; height: 110px; background: linear-gradient(180deg, transparent, var(--pc-gate-text, #fff6d6), transparent); }
@keyframes pli-flare { 0% { opacity: 0; transform: scale(.2) rotate(-30deg); } 40% { opacity: 1; transform: scale(1.1) rotate(0); } 100% { opacity: .55; transform: scale(.85) rotate(0); } }

/* POK and R lift in; the chips drop into the O of POKER one by one */
@keyframes pli-rise { from { opacity: 0; transform: translateY(32%); } to { opacity: 1; transform: none; } }
.pia-logo-intro__p { animation-delay: 1.1s; }
.pia-logo-intro__o { animation-delay: 1.18s; }
.pia-logo-intro__k { animation-delay: 1.26s; }
.pia-logo-intro__r { animation-delay: 1.5s; }
.pia-logo-intro__chip3, .pia-logo-intro__chip2, .pia-logo-intro__chip1 { animation: pli-drop .46s cubic-bezier(.3, 1.35, .5, 1) both; }
.pia-logo-intro__chip3 { animation-delay: 1.3s; }
.pia-logo-intro__chip2 { animation-delay: 1.48s; }
.pia-logo-intro__chip1 { animation-delay: 1.66s; }
@keyframes pli-drop { 0% { opacity: 0; transform: translateY(-260%); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }

/* The lines draw outward from IN */
.pia-logo-intro__line-l, .pia-logo-intro__line-r { animation: pli-line .55s 1.95s cubic-bezier(.2, .8, .2, 1) both; }
.pia-logo-intro__line-l { transform-origin: right center; }
.pia-logo-intro__line-r { transform-origin: left center; }
@keyframes pli-line { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
.pia-logo-intro__in { animation: pli-fade .45s 1.9s ease-out both; }
@keyframes pli-fade { from { opacity: 0; } to { opacity: 1; } }

/* AFRICA settles letter by letter */
.pia-logo-intro__a1, .pia-logo-intro__f, .pia-logo-intro__r2, .pia-logo-intro__i, .pia-logo-intro__c, .pia-logo-intro__a2 { animation: pli-letter .5s cubic-bezier(.2, .8, .2, 1) both; }
.pia-logo-intro__a1 { animation-delay: 2.15s; }
.pia-logo-intro__f { animation-delay: 2.23s; }
.pia-logo-intro__r2 { animation-delay: 2.31s; }
.pia-logo-intro__i { animation-delay: 2.39s; }
.pia-logo-intro__c { animation-delay: 2.47s; }
.pia-logo-intro__a2 { animation-delay: 2.55s; }
@keyframes pli-letter { from { opacity: 0; transform: translateY(30%); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

.pia-logo-intro .pia-intro__skip { color: var(--pc-gate-text-a60, rgba(255, 255, 255, .6)); z-index: 1; }

/* ==========================================================================
   0.78.0 AGE CHECK SCREEN IN THE BRAND
   Works with the Age Gate plugin (v2 "age-gate-" and v3 "age-gate__" class names).
   The brand background is set in the page head (functions.php), so it shows
   before any script runs. site.js adds .pia-gate and places the logo, which
   builds itself while the question fades in under it.
   ========================================================================== */
/* 0.78.1: the plugin's own background layers are removed, not just hidden, so they can never sit over the buttons */
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__background-color, .age-gate-background-color, .age-gate__background, .age-gate-background) { display: none !important; }
:is(.age-gate__wrapper, .age-gate-wrapper)::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 45%, var(--pc-gate-bg-a5, rgba(13, 3, 32, .05)), var(--pc-gate-bg-a70, rgba(13, 3, 32, .7))); pointer-events: none; }
:is(.age-gate__wrapper, .age-gate-wrapper) .age-gate {
	max-width: 480px; margin: auto; padding: 0 24px;
	background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
	color: var(--pc-gate-text, #ffffff); text-align: center; font-family: "Alexandria", system-ui, sans-serif;
}
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__headline, .age-gate-headline) { margin: 0 0 8px; color: var(--pc-gate-text, #ffffff); font-size: clamp(1.5rem, 2.6vw, 1.75rem); font-weight: 600; line-height: 1.2; }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__subheadline, .age-gate-subheadline, .age-gate__challenge, .age-gate-challenge, .age-gate__additional-information, .age-gate-additional-information, .age-gate__remember-text, .age-gate-remember-text) { color: var(--pc-gate-text-a78, rgba(255, 255, 255, .78)); font-size: 1rem; line-height: 1.5; }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__buttons, .age-gate-buttons) { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__challenge, .age-gate-challenge) { flex: 0 0 100%; margin: 0 0 4px; }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__submit, .age-gate-submit, .age-gate-submit-yes, .age-gate-submit-no, button[type="submit"]) {
	min-width: 140px; min-height: 48px; padding: 10px 24px; margin: 0;
	border-radius: 0 !important; font: 600 1rem/1.2 "Alexandria", system-ui, sans-serif; cursor: pointer;
	background: transparent; color: var(--pc-gate-text, #ffffff); border: 1px solid var(--pc-gate-line-a60, rgba(255, 255, 255, .6));
}
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__submit--yes, .age-gate-submit-yes, button[value="1"]) { background: var(--pc-gate-accent, #d3af37); border-color: var(--pc-gate-accent, #d3af37); color: #2b0f59; }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__submit--yes, .age-gate-submit-yes, button[value="1"]):hover { background: var(--pc-gate-accent, #b8962a); border-color: var(--pc-gate-accent, #b8962a); }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__submit--no, .age-gate-submit-no, button[value="0"]):hover { background: var(--pc-gate-text-a8, rgba(255, 255, 255, .08)); }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(input, select) { border-radius: 0 !important; }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__errors, .age-gate-errors) { color: var(--pc-gate-text, #ffd5d5); }

/* With the logo placed: the plugin's own title gives way, the text waits for the logo */
.pia-gate :is(.age-gate__heading, .age-gate-heading) { display: none !important; }
.pia-gate-logo { width: min(56vw, 240px); margin: 0 auto 24px; animation: none; pointer-events: none; }
.pia-gate-logo * { pointer-events: none; }
/* The question fades in, but is clickable from the first moment */
.pia-gate :is(.age-gate__form, .age-gate-form) { animation: pli-fade .6s 1.2s ease-out both; }
@media (max-height: 640px) { .pia-gate-logo { width: min(40vw, 170px); margin-bottom: 12px; } }

/* After "Yes": the finished logo, where it stood, catches the light once and the brand fades away */
.pia-logo-intro.is-finale { animation: pia-intro-out .6s .75s ease-in forwards; }
.pia-logo-intro.is-finale .pia-logo-intro__bg { animation: none; opacity: 1; transform: none; }
.pia-logo-intro.is-finale .pia-logo-intro__logo { position: fixed; animation: none; }
.pia-logo-intro.is-finale :is(.pia-logo-intro__part, .pia-logo-intro__glow, .pia-logo-intro__flare) { animation: none; opacity: 1; transform: none; filter: none; }
.pia-logo-intro.is-finale .pia-logo-intro__glow { opacity: .65; transform: translate(-50%, -50%); }
.pia-logo-intro.is-finale .pia-logo-intro__flare { opacity: .55; }
.pia-logo-intro.is-finale .pia-logo-intro__shine { animation: pli-shine .7s 0s ease-in-out both; }
.pia-logo-intro.is-finale .pia-intro__skip { display: none; }
@media (prefers-reduced-motion: reduce) {
	.pia-gate-logo *, .pia-gate :is(.age-gate__form, .age-gate-form) { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
	.pia-gate-logo .pia-logo-intro__shine { display: none; }
}
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__remember, .age-gate-remember-wrapper, .age-gate-remember) { margin-top: 16px; color: var(--pc-gate-text-a78, rgba(255, 255, 255, .78)); }
:is(.age-gate__wrapper, .age-gate-wrapper) :is(.age-gate__remember, .age-gate-remember-wrapper, .age-gate-remember) label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
:is(.age-gate__wrapper, .age-gate-wrapper) input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--pc-gate-accent, #d3af37); cursor: pointer; }

/* 0.78.2: the glow behind the logo is no longer cut off by the plugin's box; the whole screen scrolls instead */
.pia-gate .age-gate { overflow: visible !important; max-height: none !important; }

/* ==========================================================================
   Where to Play: country guide (theme 0.79.0) — /where-to-play/, country pages
   ========================================================================== */
.section__links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.cg-jump { margin-top: 4px; }
.cg-jump .chip[hidden] { display: none; }
.cg-list { display: grid; gap: calc(var(--gap) * 1.25); margin-bottom: calc(var(--gap) * 2); }
.cg-card[hidden], .cg-mini[hidden], .cg-group[hidden] { display: none; }
.cg-card { scroll-margin-top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); }
.cg-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.cg-card__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.cg-card__title a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.cg-card__title a:hover span:not(.country-group__arrow) { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.cg-flag { width: 32px; height: 24px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(127,127,127,.25); flex: none; }
.cg-card__overview { max-width: 75ch; font-size: 1.02rem; margin-bottom: 6px; }
.cg-card__overview p { margin: 0 0 .6em; }

/* Status badges: Live poker · Legal */
.cg-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cg-badge { --cg: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; line-height: 1.2; color: var(--text); background: color-mix(in srgb, var(--cg) 14%, transparent); border: 1px solid color-mix(in srgb, var(--cg) 45%, transparent); }
.cg-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cg); flex: none; }
.cg-badge__label { font-weight: 500; color: var(--muted); }
.cg-badge--legal, .cg-status--legal { --cg: #1f9d55; }
.cg-badge--limited, .cg-status--limited { --cg: #d98e04; }
.cg-badge--unclear, .cg-status--unclear { --cg: #8a8f98; }
.cg-badge--prohibited, .cg-status--prohibited { --cg: #d64545; }

/* Live Poker | Online Poker */
.cg-card__cols { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); margin: 18px 0; }
@media (min-width: 760px) { .cg-card__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cg-sec { padding-top: 14px; border-top: 2px solid var(--line); }
.cg-sec__title { margin: 0 0 8px; font-size: 1.05rem; }
.cg-sec__status { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px; font-weight: 700; font-size: 0.92rem; }
.cg-sec__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cg); }
.cg-sec__text { color: var(--text); }
.cg-sec__text p { margin: 0 0 .6em; }
.cg-sec__text ul { margin: 0 0 .6em; padding-left: 1.2em; }
.cg-facts { display: grid; gap: 6px; margin: 10px 0 0; font-size: 0.9rem; }
.cg-facts div { display: flex; gap: 8px; flex-wrap: wrap; }
.cg-facts dt { color: var(--muted); font-weight: 500; }
.cg-facts dd { margin: 0; font-weight: 600; }

/* The country's venues */
.cg-card__venues { margin-top: 8px; padding-top: 16px; border-top: 2px solid var(--line); }
.cg-card__venues-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.cg-card__venues-head .city-links { margin: 0; }
.cg-card .venue-card { background: var(--bg); }
.cg-card__foot { margin: 16px 0 0; font-size: 0.8rem; color: var(--muted); }
.cg-card__foot a { color: inherit; }

/* Countries without venues: short legal cards */
.cg-group--others { margin-bottom: calc(var(--gap) * 2); }
.cg-group__intro { margin-top: -8px; }
.cg-mini-list { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cg-mini-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cg-mini-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cg-mini { scroll-margin-top: 90px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cg-mini__title { margin: 0; font-size: 1.12rem; }
.cg-mini__title a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.cg-mini__title a:hover span { color: var(--accent); text-decoration: underline; }
.cg-mini__title .cg-flag { width: 26px; height: 19px; }
.cg-mini__text { margin: 0; color: var(--muted); font-size: 0.92rem; }
.cg-mini__more { margin: auto 0 0; font-weight: 600; font-size: 0.9rem; }
.cg-mini .cg-card__foot { margin-top: 0; }

/* Country page: Live Poker and Online Poker under the overview */
.cg-page { margin: 0 0 calc(var(--gap) * 1.5); }
.cg-page .cg-card__cols { margin-top: 14px; }
.cg-page .cg-sec__title { font-size: 1.2rem; }

.cg-disclaimer { margin: 0 0 calc(var(--gap) * 2); padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.88rem; color: var(--muted); max-width: 90ch; }
.cg-disclaimer p { margin: 0; }

/* ==========================================================================
   Packages: one event's packages compared on one page (theme 0.80.0)
   ========================================================================== */
.pkg-flex { margin: -6px 0 14px; }
.pkg-compare-link { margin: 10px 0 0; font-weight: 600; }
.pkg-compare-page { display: grid; gap: calc(var(--gap) * 1.5); margin-bottom: calc(var(--gap) * 1.5); }
.pkg-compare-page > .pkg-flex { margin: 0; }
.pkg-block { display: grid; gap: 18px; }
.pkg-block__hotel { display: grid; gap: 16px; align-items: center; }
@media (min-width: 760px) { .pkg-block__hotel.has-photo { grid-template-columns: 280px minmax(0, 1fr); } }
.pkg-block__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); display: block; }
.pkg-block__hotel h2 { margin: 0 0 6px; }
.pkg-block__where { margin: 0 0 10px; }
.pkg-facts--window { margin: 0 0 6px; max-width: 520px; }

/* Columns: side by side on wide screens, swipeable cards on phones */
.pkg-compare { display: grid; gap: 16px; grid-auto-flow: column; grid-auto-columns: minmax(260px, 84%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; overscroll-behavior-x: contain; }
.pkg-compare > * { scroll-snap-align: start; }
@media (min-width: 900px) {
	.pkg-compare { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); overflow: visible; }
}
.pkg-tier { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold, var(--accent)); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.pkg-tier.is-closed { opacity: .7; }
.pkg-tier__photo { position: relative; background: var(--surface-2); }
.pkg-tier__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.pkg-tier__body { display: flex; flex-direction: column; gap: 14px; padding: 18px; flex: 1; }
.pkg-tier__head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pkg-tier__name { margin: 0 0 6px; font-size: 1.2rem; }
.pkg-tier__where { margin: -2px 0 8px; font-size: 0.88rem; color: var(--muted); }
.pkg-tier__price { margin: 0; font-size: 1.05rem; }
.pkg-tier__price strong { font-size: 1.35rem; }
.pkg-tier__basis { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }
.pkg-tier__label { margin: 0 0 -4px; font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.pkg-tier .pkg-list { gap: 8px; font-size: 0.95rem; }
.pkg-tier .pkg-codes { margin: 0; padding: 14px 0 0; }
.pkg-tier__actions { margin-top: auto; display: grid; gap: 8px; padding-top: 6px; }
.pkg-tier__actions .pkg-book__deadline { margin: 2px 0 0; font-size: 0.85rem; }

/* What every column shares, once */
.pkg-shared { display: grid; gap: 14px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius); }
.pkg-shared__title { margin: 0 0 10px; font-size: 1rem; }
.pkg-shared .pkg-incl__not { margin-top: 0; }
.pkg-shared .pkg-codes { margin: 0; padding: 0; border: 0; }

/* Tiers inside one package (theme 0.81.0) */
.pkg-tiers { margin: 8px 0 calc(var(--gap) * 1.25); }
.pkg-tiers .pkg-flex { margin: 10px 0 0; }
.pkg-tier__options { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.92rem; }
.pkg-tier__options li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px dotted var(--line); }

/* Options beside the price box (theme 0.81.1) */
.pkg-main .pkg-tiers { margin: 0 0 var(--gap); }
.pkg-tiers .section__head { margin-bottom: 12px; }
.style-showtime .pkg-tiers .section__head { padding-bottom: 8px; margin-bottom: 12px; }
.pkg-tiers h2 { margin: 0; }
@media (min-width: 900px) {
	.pkg-main .pkg-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pkg-tier__price strong { white-space: nowrap; }
.pkg-tier__alt { display: block; margin-top: 2px; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.pkg-tiers__note { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--gold, var(--accent)); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.9rem; }
.pkg-tiers__note p { margin: 0 0 .4em; }
.pkg-tiers__note p:last-child { margin-bottom: 0; }

/* Package map (theme 0.82.0) */
.pkg-map__canvas { height: 340px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); overflow: hidden; margin-bottom: 14px; }
@media (min-width: 900px) { .pkg-map__canvas { height: 400px; } }
.pkg-map__legend { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.pkg-map__legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pkg-map__icon { display: grid; place-items: center; width: 22px; height: 22px; }
.pkg-map__icon--star { color: var(--gold, #d3af37); font-size: 1.25rem; line-height: 1; text-shadow: 0 0 1px #1d0e3c; }
.pkg-map__icon--dot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--purple, #4a1f9e); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.pkg-map__open { font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 560px) { .pkg-map__legend li { grid-template-columns: 22px minmax(0, 1fr); } .pkg-map__open { grid-column: 2; } }
.pkg-map__info { color: #1d1f24; font: 14px/1.4 var(--font-body); }
.pkg-map__info div { color: #5e636e; margin-top: 2px; }
.pkg-compare-page > .pkg-map { margin: 0; }

/* Package PDF button (theme 0.82.2) */
.pkg-book__pdf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; }
.pkg-book__pdf svg { flex: none; }


/* ==========================================================================
   0.82.3 SHOWTIME: STEADY HEADER ON SCROLL
   site.js measures how much height the masthead loses when it slims and sets
   --pia-head-lost; the same amount goes back as margin under it, eased with the
   shrink, so the page below doesn't move. --pia-head-h (the slim height) keeps
   sticky side ads and anchor jumps clear of the header.
   ========================================================================== */
.style-showtime .masthead { margin-bottom: 0; transition: margin-bottom .25s ease; }
.style-showtime .masthead.is-scrolled { margin-bottom: var(--pia-head-lost, 0px); }
.style-showtime .masthead.is-measuring,
.style-showtime .masthead.is-measuring * { transition: none !important; }
html:has(body.style-showtime) { scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--pia-head-h, 64px) + 16px); }
@media (min-width: 1000px) {
	.style-showtime .rail__inner { top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--pia-head-h, 72px) + 16px); }
	.style-showtime .sidebar__sticky,
	.style-showtime .pkg-aside { top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--pia-head-h, 72px) + 16px); }
}
@media (min-width: 960px) {
	.style-showtime .fed-side { top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--pia-head-h, 80px) + 16px); }
}
@media (prefers-reduced-motion: reduce) {
	.style-showtime .masthead, .style-showtime .masthead * { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Newsletter sign-up form (Brevo, module pia-newsletter). After every style so its layout wins.
   -------------------------------------------------------------------------- */
.newsletter form.nl-form, .style-showtime .newsletter form.nl-form { display: block; }
.nl-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .nl-form__row { grid-template-columns: minmax(0, 1.5fr) minmax(130px, 1fr) auto; } }
.newsletter .nl-form__row :is(input[type="email"], select), .style-showtime .newsletter form.nl-form :is(input[type="email"], select) { width: 100%; min-height: 50px; margin: 0; border-radius: var(--radius-sm); }
.style-showtime .newsletter form.nl-form :is(input[type="email"], select) { background: var(--pc-newsletter-text-a6, rgba(255, 255, 255, .06)); color: var(--pc-newsletter-text, #ffffff); border: 1px solid var(--pc-newsletter-text-a28, rgba(255, 255, 255, .28)); padding-inline: 14px; }
.style-showtime .newsletter form.nl-form select option { color: #17141f; }
.style-showtime .newsletter form.nl-form :is(input[type="email"], select):focus { outline: none; border-color: var(--pc-newsletter-accent, var(--gold)); }
.newsletter form.nl-form .nl-form__btn, .style-showtime .newsletter form.nl-form .nl-form__btn { min-height: 50px; padding-inline: 26px; white-space: nowrap; }
.nl-form__btn[disabled] { opacity: .6; cursor: wait; }
.nl-form__interests { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; border: 0; }
.nl-form__interests legend { width: 100%; margin-bottom: 6px; padding: 0; font-size: 0.85rem; font-weight: 600; }
.newsletter form.nl-form label, .style-showtime .newsletter form.nl-form label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 0.88rem; color: inherit; grid-column: auto; }
.nl-form input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--gold, #d3af37); flex: none; }
.newsletter form.nl-form .nl-form__age, .style-showtime .newsletter form.nl-form .nl-form__age { display: flex; margin-top: 12px; }
.newsletter form.nl-form .nl-form__msg { min-height: 1.4em; margin: 10px 0 0; font-size: 0.9rem; font-weight: 600; max-width: none; }
.nl-form__msg.is-ok { color: var(--gold, #d3af37) !important; }
.nl-form__msg.is-error { color: #ff8a80 !important; }
body:not(.style-showtime) .nl-form__msg.is-error { color: #c0392b !important; }
.nl-form.is-done .nl-form__row, .nl-form.is-done .nl-form__interests, .nl-form.is-done .nl-form__age { display: none; }

/* ==========================================================================
   New horizontal logo (B11, media/Poker In Africa_B11.*): spade beside POKER IN AFRICA.
   The box that held the old upright logo becomes as wide as the logo needs.
   ========================================================================== */
.brandmark__logo:has(.pia-logo-wide) { width: auto; height: 60px; }
.brandmark__logo .pia-logo-wide { display: block; height: 60px !important; width: auto !important; max-width: none !important; max-height: none !important; }
@media (max-width: 759px) {
	.brandmark__logo:has(.pia-logo-wide) { height: 44px; }
	.brandmark__logo .pia-logo-wide { height: 44px !important; }
}
body.style-showtime .brandmark__logo:has(.pia-logo-wide) { height: auto; }
body.style-showtime .masthead .brandmark__logo .pia-logo-wide, body.style-showtime.logo-has-name .masthead .brandmark__logo .pia-logo-wide { height: 76px !important; }
body.style-showtime .masthead.is-scrolled .brandmark__logo .pia-logo-wide, body.style-showtime.logo-has-name .masthead.is-scrolled .brandmark__logo .pia-logo-wide { height: 46px !important; }
@media (max-width: 759px) {
	body.style-showtime .masthead .brandmark__logo .pia-logo-wide, body.style-showtime.logo-has-name .masthead .brandmark__logo .pia-logo-wide { height: 52px !important; }
	body.style-showtime .masthead.is-scrolled .brandmark__logo .pia-logo-wide, body.style-showtime.logo-has-name .masthead.is-scrolled .brandmark__logo .pia-logo-wide { height: 40px !important; }
}
.footer-brand__logo .pia-logo-wide, body.style-showtime .footer-brand__logo .pia-logo-wide { height: 76px !important; width: auto !important; max-width: 100% !important; max-height: none !important; }
.site-footer__cols.has-logo .footer-col:not(.footer-col--brand) { padding-top: 0; }

/* Intro and age check: the new logo builds itself piece by piece */
.pia-logo-intro__logo--wide { width: min(86vw, 640px); aspect-ratio: 424 / 186; }
.pia-logo-intro__logo--wide .pia-logo-intro__glow { width: 70%; }
.pia-logo-intro__logo--wide .pia-logo-intro__e { animation-delay: 1.34s; }
.pia-logo-intro__logo--wide .pia-logo-intro__r { animation-delay: 1.42s; }
.pia-logo-intro__logo--wide .pia-logo-intro__in { animation-delay: 1.9s; }
.pia-gate-logo.pia-logo-intro__logo--wide { width: min(82vw, 380px); }
@media (max-height: 640px) { .pia-gate-logo.pia-logo-intro__logo--wide { width: min(64vw, 270px); } }
/* Homepage banner: the brand artwork with the logo on top (the logo is not printed in the image any more) */
.style-showtime .brand-hero--live { position: relative; display: grid; place-items: center; }
.style-showtime .brand-hero--live .brand-hero__bg { grid-area: 1 / 1; }
.style-showtime .brand-hero--live .brand-hero__logo { grid-area: 1 / 1; position: relative; z-index: 1; width: min(52%, 620px); height: auto; aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
.style-showtime .brand-hero--live .brand-hero__flare { grid-area: 1 / 1; width: 46%; aspect-ratio: 2 / 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 211, 122, .22), transparent); pointer-events: none; }
@media (max-width: 759px) { .style-showtime .brand-hero--live .brand-hero__logo { width: 82%; } .style-showtime .brand-hero--live .brand-hero__flare { width: 90%; } }
/* Photos in articles made in the visual editor: same newspaper caption as the text editor's photos */
.article__body--visual .pia-b-img { margin: 1.8em 0; }
.article__body--visual .pia-b-img img { display: block; width: 100%; height: auto; border-radius: 0; }
.article__body--visual .pia-b-img figcaption { margin: 0; padding: 7px 0 0; font-family: var(--font-body); font-size: 0.8rem; line-height: 1.45; font-weight: 500; color: var(--muted); text-align: left; }
.article__top, .article__end { display: contents; }

/* ---------- Site search (header) ---------- */
.search-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; flex: none; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.search-toggle svg { width: 20px; height: 20px; }
.style-showtime .search-toggle { width: 44px; height: 44px; border: 1px solid var(--pc-header-line, #4b3182); color: var(--pc-header-text, #ffffff); }
.style-showtime .search-toggle:hover, .style-showtime .search-toggle[aria-expanded="true"] { border-color: var(--pc-header-accent, var(--gold)); color: var(--pc-header-text, #ffffff); }
.site-search { border-top: 1px solid var(--line); background: var(--bg); }
.style-showtime .site-search { background: var(--purple); border-top-color: var(--pc-header-line-a8, rgba(255, 255, 255, .08)); }
.site-search[hidden] { display: none; }
.site-search__form { display: flex; align-items: center; gap: 10px; padding-block: 12px; }
.site-search__input { flex: 1; min-width: 0; height: 46px; font-size: 16px; }
.site-search__close { flex: none; width: 40px; height: 40px; border: 0; background: transparent; color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; }
.style-showtime .site-search__close { color: var(--pc-header-text, #ffffff); }
@media (max-width: 600px) { .site-search__go { display: none; } }

/* Search results */
.search-page .sr-group { margin-block: 28px; }
.sr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sr-item__link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; height: 100%; }
.sr-item__link:hover { border-color: var(--accent); }
.sr-item__img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; background: var(--line); }
.sr-item__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sr-item__type { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #777); }
.sr-item__title { font-weight: 600; line-height: 1.3; }
.sr-item__meta { font-size: 14px; color: var(--muted, #777); line-height: 1.4; }
.sr-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sr-chip__type { font-size: 12px; opacity: .7; }
@media (min-width: 1200px) { .style-showtime .masthead .search-toggle { order: 2; } }

/* Side ads also on laptop screens (1440 to 1559px): as wide as the margin beside the content allows. */
@media (min-width: 1440px) and (max-width: 1559px) {
	.rail { display: block; position: absolute; top: 24px; bottom: 0; z-index: 1; width: calc((100% - 1200px) / 2 - 24px); min-width: 96px; }
	.rail--left { right: calc(50% + 600px + 12px); }
	.rail--right { left: calc(50% + 600px + 12px); }
	.rail__inner { position: sticky; top: 88px; }
	.rail .ad { margin: 0; }
	.rail .ad__label { font-size: 10px; }
	.rail img { width: 100% !important; height: auto !important; max-width: none !important; }
	.rail .ad--placeholder { min-height: 400px; padding: 12px 6px; text-align: center; }
	.top-banner:not(.top-banner--always) { display: none; }
}
@media (min-width: 1440px) and (max-width: 1559px) { .style-showtime .rail__inner { top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--pia-head-h, 72px) + 16px); } }

/* Calendar: series buttons (APT #7, #8, #9...), the nearest one marked */
.chips--series { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip--series { min-height: 52px; flex-wrap: wrap; row-gap: 0; padding: 6px 14px; }
.chip--series .chip__name { font-weight: 700; }
.chip__when { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.chip__tag { font-size: 0.68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.chip--series.is-next:not([aria-current="page"]) { border-color: var(--accent); }
.chip[aria-current="page"] .chip__when { color: var(--accent-ink); opacity: .8; }
.chip[aria-current="page"] .chip__tag { background: var(--accent-ink); color: var(--accent); }

/* Phones: logo, search, language, light/dark and menu must fit on one row (the search button made it overflow) */
@media (max-width: 599px) {
	.style-showtime .masthead .brandbar__inner { gap: 6px; }
	.style-showtime .masthead .brandmark { min-width: 0; flex-shrink: 1; }
	body.style-showtime .masthead .brandmark__logo img, body.style-showtime.logo-has-name .masthead .brandmark__logo img { height: 56px !important; max-width: 100% !important; }
	.style-showtime .masthead .search-toggle, .style-showtime .masthead .mode-toggle, .style-showtime .masthead .nav-toggle { width: 40px; height: 40px; flex: none; }
	.style-showtime .masthead .lang-menu summary { height: 40px; padding: 0 10px; }
	.style-showtime .masthead .lang-menu summary span { display: none; } /* the flag says which language */
}
@media (max-width: 370px) {
	body.style-showtime .masthead .brandmark__logo img, body.style-showtime.logo-has-name .masthead .brandmark__logo img { height: 46px !important; }
	.style-showtime .masthead .search-toggle, .style-showtime .masthead .mode-toggle, .style-showtime .masthead .nav-toggle { width: 36px; height: 36px; }
	.style-showtime .masthead .lang-menu summary { height: 36px; padding: 0 8px; }
}

/* Article main image that is not a 16:9 photo (a wide logo, a poster): shown whole, never cut */
.article__media.is-whole img { width: auto; max-width: 100%; max-height: 70vh; margin: 0 auto; display: block; object-fit: contain; }

/* News cards: a logo or square picture is shown whole, on a blurred copy of itself (not cut to 16:9). */
/* Carousel: a logo or poster is shown whole, centred on a plain dark box (like the news cards). */
.carousel__media.is-whole { position: relative; background: #16181d; }
.carousel__media.is-whole img { position: absolute; inset: 0; object-fit: contain; padding: 6% 10%; } /* the box keeps its size; the picture shrinks to fit */
.carousel__slide:hover .carousel__media.is-whole img { transform: none; }
/* News cards: a logo or poster sits whole and centred on a plain dark box, like the cards on Tours and Series. */
.card__media.is-whole { position: relative; overflow: hidden; background: #16181d; }
.card__media.is-whole img, .style-showtime .grid--4 .card__media.is-whole img, .style-showtime .grid--3 .card__media.is-whole img { position: absolute; inset: 0; object-fit: contain; width: 100%; height: 100%; padding: 8% 12%; transform: none; }

/* Calendar: club tiles are black. A logo with a see-through background sits on the black; a logo with its own
   (usually white) background keeps it as a rounded card; a club with no logo shows its name in white. */
.brands--clubs .brand-tile.is-club { background: #0d0d10; border-color: #2a2a31; color: #fff; }
.brands--clubs .brand-tile.is-club.has-logo { padding: 6px 10px; }
.brands--clubs .brand-tile.is-boxed .brand-tile__logo { border-radius: 4px; }
.brands--clubs .brand-tile.is-club:hover { border-color: var(--accent); }
body .brands--clubs .brand-tile.is-club .brand-tile__name:not(.x) { font-size: 0.78rem; line-height: 1.15; overflow-wrap: normal; word-break: normal; hyphens: auto; }

/* ==========================================================================
   Story carousel with its list (1 Dec 2026): homepage top and News Featured.
   The slide (photo, date, category, headline, summary) on the left and the
   stories as a list on the right; a click on a story shows it and the current
   one is marked. The box decides, not the screen: the list sits beside the
   slide from 720px of carousel, below it from 520px, and on phones only the
   dots and arrows remain. .pia-cl.carousel.carousel--list outranks the older
   carousel rules (and Showtime's headline-on-photo homepage) on purpose.
   ========================================================================== */
.pia-cl.carousel.carousel--list { container-type: inline-size; }
.pia-cl.carousel.carousel--list .carousel__layout { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.pia-cl.carousel.carousel--list .carousel__stage { min-width: 0; display: flex; flex-direction: column; }
.pia-cl.carousel.carousel--list .carousel__track { flex: 1 1 auto; border: 1px solid var(--line); background: var(--surface); }
.pia-cl.carousel.carousel--list .carousel__slide { display: grid; position: relative; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 0; }
.pia-cl.carousel.carousel--list .carousel__media { position: relative; inset: auto; display: block; aspect-ratio: 16 / 9; height: auto; min-height: 0; max-height: none; overflow: hidden; background: #16181d; }
.pia-cl.carousel.carousel--list .carousel__media::after { content: none; }
.pia-cl.carousel.carousel--list .carousel__media:not(.is-whole) img { position: static; width: 100%; height: 100%; object-fit: cover; padding: 0; }
.pia-cl.carousel.carousel--list .carousel__slide:hover .carousel__media:not(.is-whole) img { transform: scale(1.02); }
.pia-cl.carousel.carousel--list .carousel__date { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 6px 12px; background: rgba(16, 17, 21, .88); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em; border-top-right-radius: var(--radius-sm); }
.pia-cl.carousel.carousel--list .carousel__body { --text: inherit; --muted: inherit; position: relative; z-index: auto; min-height: 0; max-width: none; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 16px 20px 18px; color: inherit; }
.pia-cl.carousel.carousel--list .carousel__body .kicker { align-self: flex-start; color: var(--accent); padding-left: 0; border-left: 0; }
body .pia-cl.carousel.carousel--list .carousel__title { font-size: clamp(1.2rem, 3.2cqi, 1.75rem) !important; line-height: 1.2; letter-spacing: normal; color: var(--text); -webkit-line-clamp: 3; }
.pia-cl.carousel.carousel--list .carousel__summary { color: var(--muted); max-width: none; -webkit-line-clamp: 2; }
.pia-cl.carousel.carousel--list .carousel__body .meta { margin: auto 0 0; padding-top: 4px; color: var(--muted); }
.pia-cl.carousel.carousel--list .carousel__controls { margin-top: 8px; }

/* The list */
.pia-cl.carousel.carousel--list .carousel__list { display: none; margin: 0; padding: 0; list-style: none; gap: 8px; }
.pia-cl.carousel.carousel--list .carousel__list li { margin: 0; min-height: 0; display: flex; }
.pia-cl.carousel.carousel--list .carousel__pick { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 100%; min-height: 0; padding: 12px 14px 12px 16px; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; overflow: hidden; transition: border-color .15s, background-color .15s; }
.pia-cl.carousel.carousel--list .carousel__pick::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; }
.pia-cl.carousel.carousel--list .carousel__pick:hover { border-color: var(--accent); }
.pia-cl.carousel.carousel--list .carousel__pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pia-cl.carousel.carousel--list .carousel__pick[aria-current="true"] { border-color: var(--orange, var(--accent)); background: color-mix(in srgb, var(--orange, var(--accent)) 10%, var(--surface)); }
.pia-cl.carousel.carousel--list .carousel__pick[aria-current="true"]::before { background: var(--orange, var(--accent)); }
.pia-cl.carousel.carousel--list .carousel__pick-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pia-cl.carousel.carousel--list .carousel__tag { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--muted); }
.pia-cl.carousel.carousel--list .carousel__pick-date { margin-left: auto; flex: none; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pia-cl.carousel.carousel--list .carousel__pick-title { font-weight: 700; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* Below the slide, two per row */
@container (min-width: 520px) {
	.pia-cl.carousel.carousel--list .carousel__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Beside the slide: the list is as tall as the slide and its stories share the height */
@container (min-width: 720px) {
	.pia-cl.carousel.carousel--list .carousel__layout { grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); align-items: stretch; }
	.pia-cl.carousel.carousel--list .carousel__list { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); align-self: stretch; }
	.pia-cl.carousel.carousel--list .carousel__controls { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .pia-cl.carousel.carousel--list .carousel__pick { transition: none; } }

/* Calendar filtered to one series: a link to the series' own page (3 Dec 2026). */
.series-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 12px 0 4px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); }
.series-pick__text { min-width: 0; }
.series-pick__text .muted { margin-left: 6px; font-size: .9rem; }

/* Calendar tour buttons: a tour picture that is a photo or poster (WSOP Circuit) fills the whole tile,
   centred; transparent logos (ShuffleUp, APT, Sunbet) stay whole as before, or their sides would be cut.
   The count badge stays on top in the corner (3 Dec 2026). Clubs unchanged. */
.brands:not(.brands--clubs) .brand-tile.has-logo.is-fill { padding: 0; background: transparent; }
.brands:not(.brands--clubs) .brand-tile.has-logo.is-fill .brand-tile__logo { width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; object-fit: cover; object-position: center; border-radius: inherit; }
.brands:not(.brands--clubs) .brand-tile.has-logo .brand-tile__n { z-index: 1; }
/* 3 Dec 2026, calendar club buttons: a venue logo is as large as the tile allows, whole (never cut),
   on white so dark and coloured logos read in both light and dark mode. Text-only tiles stay dark. */
.brands--clubs .brand-tile.is-club.has-logo { padding: 4px; background: #fff; border-color: var(--line); }
.brands--clubs .brand-tile.is-club.has-logo .brand-tile__logo { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; border-radius: 0; }
.brands--clubs .brand-tile.is-club.has-logo:hover { border-color: var(--accent); }
.brands--clubs .brand-tile.is-club .brand-tile__n { z-index: 1; }
/* 3 Dec 2026, Poker Academy cards without a picture, in the brand palette: purple #2B0F59, gold #9C7530,
   light gold #EFE29E. A soft light-gold glow, a gold frame round a large suit, and a gold line below. */
.study-card__media.is-empty, .style-purple .study-card__media.is-empty, .style-showtime .study-card__media.is-empty {
	position: relative;
	background: radial-gradient(circle at 50% 50%, rgba(239, 226, 158, .16) 0, transparent 55%), linear-gradient(135deg, #2b0f59 0%, #1a0838 100%);
	border-bottom: 3px solid #9c7530;
	color: #efe29e;
}
.study-card__media.is-empty > span {
	display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%;
	border: 2px solid #9c7530;
	background: rgba(0, 0, 0, .22);
	font-size: 4.2rem; line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
	transition: transform .2s;
}
.study-card:hover .study-card__media.is-empty > span { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .study-card:hover .study-card__media.is-empty > span { transform: none; } }
/* 3 Dec 2026: Our Writers uses the same boxes as The Team, in the same columns. */
.team-section--writers .team-grid--lead { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
