/* =========================================================
 * Porsche Club LT — design system port.
 * Source of truth: Porsche Club LT.html prototype handed off
 * via Claude Design (see design bundle in build process).
 *
 * Tokens drive everything; brand assets are swappable. Porsche
 * Next is the primary face for body and display, with Inter Tight
 * and Inter as fallbacks. Tabular race data uses JetBrains Mono.
 * ========================================================= */

/* Mono + display fallbacks (Porsche Next is loaded in tokens.css). */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Inter+Tight:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
	/* Neutrals */
	--pc-ink-1000: #0a0a0b;
	--pc-ink-900:  #131316;
	--pc-ink-800:  #1c1c20;
	--pc-ink-700:  #2a2a30;
	--pc-ink-600:  #3a3a42;
	--pc-ink-500:  #6b6b75;
	--pc-ink-400:  #9a9aa3;
	--pc-ink-300:  #c4c4cc;
	--pc-ink-200:  #e4e4e8;
	--pc-ink-100:  #f1f1ee;
	--pc-ink-50:   #f8f8f5;
	--pc-paper:    #fbfaf6;
	--pc-line:     rgba(255,255,255,0.08);
	--pc-line-dark:rgba(10,10,11,0.10);

	/* Accent */
	--pc-accent:        #cf1a2c;
	--pc-accent-hover:  #b41524;
	--pc-accent-soft:   rgba(207,26,44,0.12);

	/* Semantic */
	--pc-pos:  #2c8a52;
	--pc-warn: #c98a18;
	--pc-neg:  #a8323e;

	/* Type — Porsche Next first, design fallbacks after. */
	--pc-font-display: 'Porsche Next', 'Inter Tight', 'Inter', system-ui, sans-serif;
	--pc-font-sans:    'Porsche Next', 'Inter', system-ui, -apple-system, sans-serif;
	--pc-font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

	/* Scale */
	--pc-radius-xs: 2px;
	--pc-radius-sm: 4px;
	--pc-radius-md: 8px;

	/* Elevation */
	--pc-shadow-sm: 0 1px 2px rgba(10,10,11,0.06);
	--pc-shadow-md: 0 8px 24px -8px rgba(10,10,11,0.18);
	--pc-shadow-lg: 0 24px 48px -16px rgba(10,10,11,0.28);

	/* Motion */
	--pc-ease: cubic-bezier(.22,.61,.36,1);
}

/* Body baseline. Higher specificity than Blocksy customizer styles via html-prefixed selectors below. */
html body {
	margin: 0;
	font-family: var(--pc-font-sans);
	font-size: 15px;
	line-height: 1.55;
	color: var(--pc-ink-900);
	background: var(--pc-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Typography utilities */
.pc-eyebrow {
	font-family: var(--pc-font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pc-ink-500);
	font-weight: 500;
}
.pc-eyebrow--inv { color: var(--pc-ink-300); }

.pc-display {
	font-family: var(--pc-font-display);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 0.96;
}
.pc-h1 { font-family: var(--pc-font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(40px, 6vw, 56px); }
.pc-h2 { font-family: var(--pc-font-display); font-weight: 700; letter-spacing: -0.018em; line-height: 1.08; font-size: clamp(28px, 4vw, 40px); }
.pc-h3 { font-family: var(--pc-font-display); font-weight: 600; letter-spacing: -0.012em; line-height: 1.15; font-size: 26px; }
.pc-h4 { font-family: var(--pc-font-display); font-weight: 600; letter-spacing: -0.008em; line-height: 1.2;  font-size: 19px; }
.pc-mono { font-family: var(--pc-font-mono); font-feature-settings: 'tnum' 1, 'zero' 1; }

/* Buttons */
.pc-btn {
	display: inline-flex; align-items: center; gap: 10px;
	height: 44px; padding: 0 22px;
	font-family: var(--pc-font-sans);
	font-size: 14px; font-weight: 500;
	letter-spacing: 0.01em;
	border-radius: var(--pc-radius-xs);
	transition: background .18s var(--pc-ease), color .18s var(--pc-ease), border-color .18s var(--pc-ease);
	border: 1px solid transparent;
	white-space: nowrap; text-decoration: none; cursor: pointer;
}
.pc-btn--primary { background: var(--pc-accent); color: #fff; }
.pc-btn--primary:hover { background: var(--pc-accent-hover); color: #fff; }
.pc-btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,0.4); background: transparent; }
.pc-btn--ghost-dark:hover { background: #fff; color: var(--pc-ink-1000); border-color: #fff; }
.pc-btn--ghost-light { color: var(--pc-ink-1000); border-color: var(--pc-ink-1000); background: transparent; }
.pc-btn--ghost-light:hover { background: var(--pc-ink-1000); color: #fff; }
.pc-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.pc-btn .pc-arr { transition: transform .2s var(--pc-ease); display: inline-block; }
.pc-btn:hover .pc-arr { transform: translateX(4px); }

/* Pills / badges */
.pc-pill {
	display: inline-flex; align-items: center; gap: 6px;
	height: 22px; padding: 0 8px;
	font-family: var(--pc-font-mono); font-size: 10.5px; font-weight: 500;
	letter-spacing: 0.08em; text-transform: uppercase;
	border: 1px solid currentColor;
	color: var(--pc-ink-500);
	border-radius: 999px;
}
.pc-pill--accent { color: var(--pc-accent); }
.pc-pill--solid { background: var(--pc-ink-1000); color: #fff; border-color: var(--pc-ink-1000); }
.pc-pill--member { background: var(--pc-accent); color: #fff; border-color: var(--pc-accent); }

.pc-rule { height: 1px; background: var(--pc-line-dark); border: 0; margin: 0; }
.pc-rule--inv { background: var(--pc-line); }

/* Containers + sections */
.pc-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.pc-section { padding: 96px 0; }
.pc-section--tight { padding: 56px 0; }
.pc-section--dark { background: var(--pc-ink-1000); color: #fff; }
.pc-section--surface { background: var(--pc-ink-100); }

/* Placeholder image */
.pc-img-ph {
	position: relative;
	background-color: var(--pc-ink-200);
	background-image: repeating-linear-gradient(135deg, rgba(10,10,11,0.04) 0 12px, rgba(10,10,11,0.07) 12px 13px);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--pc-font-mono); font-size: 11px; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--pc-ink-500);
	border-radius: var(--pc-radius-xs);
	overflow: hidden;
}
.pc-img-ph--dark {
	background-color: var(--pc-ink-800);
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 12px, rgba(255,255,255,0.09) 12px 13px);
	color: var(--pc-ink-300);
}

/* Tables (race data) */
.pc-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--pc-font-mono);
	font-size: 13px;
}
.pc-table th, .pc-table td {
	padding: 14px 12px;
	text-align: left;
	border-bottom: 1px solid var(--pc-line-dark);
}
.pc-table th {
	font-weight: 500;
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pc-ink-500);
	border-bottom-color: var(--pc-ink-800);
}
.pc-table tbody tr:hover { background: rgba(10,10,11,0.025); }
.pc-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.pc-table .leader { color: var(--pc-accent); font-weight: 600; }
.pc-table .leader-bar { display: inline-block; width: 4px; height: 16px; background: var(--pc-accent); margin-right: 8px; vertical-align: middle; }

/* Forms */
.pc-input, .pc-select {
	width: 100%; height: 44px;
	padding: 0 14px;
	border: 1px solid var(--pc-ink-300);
	background: #fff;
	border-radius: var(--pc-radius-xs);
	font-size: 14px;
}
.pc-label {
	display: block;
	font-size: 11px; font-family: var(--pc-font-mono);
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--pc-ink-500);
	margin-bottom: 8px;
	font-weight: 500;
}

/* Cards */
.pc-card {
	background: #fff;
	border: 1px solid var(--pc-ink-200);
	border-radius: var(--pc-radius-xs);
	transition: border-color .15s var(--pc-ease);
}
.pc-card:hover { border-color: var(--pc-ink-1000); }

/* ---- Hero (homepage) ---- */
.pc-hero {
	background: var(--pc-ink-1000);
	color: #fff;
	border-bottom: 1px solid var(--pc-line);
	overflow: hidden;
}
.pc-hero, .pc-hero * { color: #fff; }
.pc-hero p { color: var(--pc-ink-300); }
.pc-hero__inner { padding: 88px 0; }
.pc-hero__title,
.pc-hero h1.pc-hero__title,
.pc-hero h1 {
	font-family: var(--pc-font-display);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 0.96;
	font-size: clamp(56px, 7vw, 104px);
	margin: 24px 0 28px;
	max-width: 1100px;
	color: #fff !important;
	text-wrap: balance;
}
.pc-hero__sub,
.pc-hero p.pc-hero__sub {
	font-size: 20px;
	color: var(--pc-ink-300) !important;
	max-width: 620px;
	line-height: 1.45;
	margin: 0;
}
.pc-hero__ctas { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.pc-hero__media {
	margin-top: 72px; height: 440px; width: 100%;
	/* Atmospheric default — radial red glow on near-black + diagonal weave.
	   Replace via the hero shortcode: background="url-to-image". */
	background:
		radial-gradient(60% 80% at 70% 30%, rgba(207,26,44,0.18) 0%, transparent 60%),
		radial-gradient(40% 60% at 30% 90%, rgba(255,255,255,0.04) 0%, transparent 70%),
		linear-gradient(180deg, #131316 0%, #0a0a0b 60%, #1c1c20 100%);
	background-size: cover;
	background-position: center;
}
.pc-hero__media[data-bg] {
	background-image: var(--pc-hero-image), linear-gradient(180deg, rgba(10,10,11,0) 50%, rgba(10,10,11,0.6) 100%);
	background-size: cover;
	background-position: center;
}

/* ---- Hero stats strip ---- */
.pc-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 48px;
	border-top: 1px solid var(--pc-line);
}
.pc-stats__item {
	padding: 32px 0 32px 0;
}
.pc-stats__item + .pc-stats__item { padding-left: 32px; border-left: 1px solid var(--pc-line); }
.pc-stats__num {
	font-family: var(--pc-font-mono);
	font-size: 56px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
}
.pc-stats__label { margin-top: 12px; }

/* ---- Event cards ---- */
.pc-event-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
@media (max-width: 900px) {
	.pc-event-grid { grid-template-columns: 1fr; }
	.pc-stats { grid-template-columns: repeat(2, 1fr); }
	.pc-stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }
	.pc-stats__item:nth-child(3) { border-top: 1px solid var(--pc-line); }
	.pc-stats__item:nth-child(4) { border-top: 1px solid var(--pc-line); }
}
.pc-event-card {
	display: grid;
	grid-template-columns: 120px 1fr;
	min-height: 180px;
	background: #fff;
	border: 1px solid var(--pc-ink-200);
	border-radius: var(--pc-radius-xs);
	color: inherit; text-decoration: none;
	transition: border-color .15s var(--pc-ease);
}
.pc-event-card:hover { border-color: var(--pc-ink-1000); color: inherit; }
.pc-event-card.is-next { border-color: var(--pc-ink-1000); }
.pc-event-card__date {
	padding: 24px 20px;
	border-right: 1px solid var(--pc-ink-200);
}
.pc-event-card.is-next .pc-event-card__date {
	background: var(--pc-ink-1000);
	color: #fff;
	border-right-color: var(--pc-ink-1000);
}
.pc-event-card__round {
	font-family: var(--pc-font-mono);
	font-size: 11px; letter-spacing: 0.12em; opacity: 0.7;
}
.pc-event-card__day {
	font-family: var(--pc-font-mono);
	font-size: 44px; font-weight: 500; line-height: 1; margin-top: 16px;
}
.pc-event-card__month {
	font-family: var(--pc-font-mono);
	font-size: 12px; letter-spacing: 0.12em; margin-top: 6px;
}
.pc-event-card__body { padding: 24px; display: flex; flex-direction: column; }
.pc-event-card__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.pc-event-card__title { margin: 20px 0 8px; }
.pc-event-card__venue { color: var(--pc-ink-500); font-size: 13px; }
.pc-event-card__foot {
	display: flex; justify-content: space-between; align-items: center;
	margin-top: auto; padding-top: 24px;
}
.pc-event-card__status {
	font-family: var(--pc-font-mono);
	font-size: 11px; letter-spacing: 0.12em; color: var(--pc-ink-500);
}

/* ---- Section headers (eyebrow + h2 + view-all) ---- */
.pc-section__head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin-bottom: 48px;
	flex-wrap: wrap;
}

/* ---- Two-column About ---- */
.pc-two-col {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 96px;
	align-items: start;
}
.pc-two-col--reverse {
	grid-template-columns: 1fr 1.6fr;
}
@media (max-width: 900px) {
	.pc-two-col, .pc-two-col--reverse { grid-template-columns: 1fr; gap: 48px; }
}
.pc-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-top: 48px;
	max-width: 620px;
}
.pc-features p { font-size: 14px; color: var(--pc-ink-600); margin: 8px 0 0; line-height: 1.55; }

/* ---- Hide Blocksy/WP page title on body.home (the hero replaces it) ---- */
body.home .entry-title,
body.home .page-title,
body.home header.entry-header,
body.home .ct-back-to-top,
body.home .ct-page-title { display: none !important; }

/* ====================================================================
 * Custom site header (overrides Blocksy's chrome via header.php).
 * ==================================================================== */
.pc-site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251,250,246,0.92);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--pc-line-dark);
	color: var(--pc-ink-1000);
	font-family: var(--pc-font-sans);
}
.pc-site-header[data-inverse="true"] {
	background: var(--pc-ink-1000);
	color: #fff;
	border-bottom-color: var(--pc-line);
}
.pc-site-header__inner {
	display: flex; align-items: center;
	height: 72px; gap: 32px;
}
.pc-wordmark {
	display: inline-flex; align-items: baseline; gap: 12px;
	color: inherit; text-decoration: none; line-height: 1;
}
.pc-wordmark__main {
	font-family: var(--pc-font-display);
	font-weight: 800;
	letter-spacing: 0.18em;
	font-size: 14px;
}
.pc-wordmark__sub {
	font-family: var(--pc-font-mono);
	font-size: 11px; font-weight: 500;
	letter-spacing: 0.2em;
	color: var(--pc-ink-500);
}
.pc-site-header[data-inverse="true"] .pc-wordmark__sub { color: var(--pc-ink-300); }
.pc-wordmark--inverse { color: #fff; }
.pc-wordmark--inverse .pc-wordmark__sub { color: var(--pc-ink-300); }

.pc-nav { margin-left: 24px; }
.pc-nav__list {
	display: flex; gap: 4px;
	list-style: none; margin: 0; padding: 0;
}
.pc-nav__list li a {
	display: inline-block;
	padding: 8px 14px;
	font-size: 13px; font-weight: 500;
	color: var(--pc-ink-500);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color .15s var(--pc-ease);
}
.pc-site-header[data-inverse="true"] .pc-nav__list li a { color: var(--pc-ink-300); }
.pc-nav__list li a:hover,
.pc-nav__list li.current-menu-item > a,
.pc-nav__list li.current-page-ancestor > a {
	color: var(--pc-ink-1000);
	border-bottom-color: var(--pc-accent);
}
.pc-site-header[data-inverse="true"] .pc-nav__list li a:hover,
.pc-site-header[data-inverse="true"] .pc-nav__list li.current-menu-item > a {
	color: #fff;
}

.pc-site-header__right {
	margin-left: auto;
	display: flex; align-items: center; gap: 16px;
}

.pc-cart-btn {
	position: relative;
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	color: inherit; text-decoration: none;
}
.pc-cart-btn__count {
	position: absolute; top: 2px; right: 0;
	background: var(--pc-accent); color: #fff;
	font-family: var(--pc-font-mono); font-size: 10px; font-weight: 600;
	min-width: 16px; height: 16px; border-radius: 999px;
	padding: 0 4px;
	display: inline-flex; align-items: center; justify-content: center;
}

.pc-user-chip {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 6px 6px 6px 12px;
	border: 1px solid var(--pc-line-dark);
	border-radius: 999px;
	font-size: 12px; font-weight: 500;
	color: inherit; text-decoration: none;
}
.pc-site-header[data-inverse="true"] .pc-user-chip { border-color: var(--pc-line); }
.pc-user-chip__avatar {
	width: 28px; height: 28px; border-radius: 999px;
	background: var(--pc-accent); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
}

/* Inline lang switcher inside the header — uses the same styles as the
   floating one but unfixed. */
.pc-lang--inline {
	position: static;
	background: transparent;
	border-color: var(--pc-line-dark);
	backdrop-filter: none;
}
.pc-site-header[data-inverse="true"] .pc-lang--inline { border-color: rgba(255,255,255,0.16); }
.pc-site-header[data-inverse="true"] .pc-lang__opt { color: rgba(255,255,255,0.7); }
.pc-site-header[data-inverse="true"] .pc-lang__opt.is-active { background: #fff; color: var(--pc-ink-1000); }
.pc-site-header[data-inverse="false"] .pc-lang__opt { color: var(--pc-ink-500); }
.pc-site-header[data-inverse="false"] .pc-lang__opt.is-active { background: var(--pc-ink-1000); color: #fff; }

/* Hide the floating fixed switcher when the inline one is present. */
.pc-lang:not(.pc-lang--inline) { display: none; }

@media (max-width: 900px) {
	.pc-nav { display: none; } /* TODO: mobile menu */
}

/* ====================================================================
 * Custom site footer (overrides Blocksy footer)
 * ==================================================================== */
.pc-site-footer {
	background: var(--pc-ink-1000);
	color: var(--pc-ink-300);
	padding: 80px 0 40px;
	font-family: var(--pc-font-sans);
	border-top: 1px solid var(--pc-line);
}
.pc-site-footer__cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 56px;
}
@media (max-width: 900px) {
	.pc-site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.pc-site-footer__cols { grid-template-columns: 1fr; }
}
.pc-site-footer__lead {
	margin-top: 24px;
	color: var(--pc-ink-300);
	font-size: 14px;
	max-width: 320px;
}
.pc-site-footer__copy {
	color: var(--pc-ink-300);
	font-size: 13px;
	margin: 0;
}
.pc-site-footer__list {
	list-style: none; padding: 0; margin: 0;
	color: var(--pc-ink-300);
	font-size: 13px;
	line-height: 1.9;
}
.pc-site-footer__list a { color: inherit; text-decoration: none; }
.pc-site-footer__list a:hover { color: #fff; }
.pc-site-footer__legal {
	display: flex; justify-content: space-between;
	padding-top: 24px;
	font-family: var(--pc-font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--pc-ink-500);
	gap: 16px; flex-wrap: wrap;
}

/* ====================================================================
 * Member vs guest visibility.
 * Add classes pc-show-member-only / pc-show-guest-only to any element
 * to flip its visibility based on the logged-in body class WP adds.
 * Also hide WooCommerce auto-menu items for guests by default.
 * ==================================================================== */
body:not(.logged-in) .pc-show-member-only { display: none !important; }
body.logged-in .pc-show-guest-only { display: none !important; }

/* Hide WooCommerce header cart / account icons for guests until they sign in. */
body:not(.logged-in) .ct-header-cart,
body:not(.logged-in) .ct-header-account {
	display: none !important;
}

/* Hide the auto-added Cart / Checkout / My account / Shop menu entries
   that appear when WP falls back to all-pages because the menu wasn't
   assigned to a location. Belt-and-braces alongside the configure script. */
.ct-header .menu-item a[href$="/cart/"],
.ct-header .menu-item a[href$="/checkout/"],
.ct-header .menu-item a[href$="/my-account/"] {
	display: none;
}
.ct-header .menu-item:has(a[href$="/cart/"]),
.ct-header .menu-item:has(a[href$="/checkout/"]),
.ct-header .menu-item:has(a[href$="/my-account/"]) {
	display: none;
}

/* ====================================================================
 * Member dashboard tab styling
 * ==================================================================== */
.pclub-dashboard {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.pclub-dashboard__profile,
.pclub-dashboard__results,
.pclub-dashboard__events {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--pc-ink-200);
	border-radius: var(--pc-radius-xs);
}
.pclub-dashboard__club-number {
	font-family: var(--pc-font-mono);
	color: var(--pc-ink-500);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ====================================================================
 * Shop teaser (homepage)
 * ==================================================================== */
.pc-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
@media (max-width: 1100px) { .pc-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .pc-product-grid { grid-template-columns: 1fr; } }
.pc-product {
	display: block;
	color: inherit;
	text-decoration: none;
}
.pc-product__media {
	height: 280px;
	border-radius: var(--pc-radius-xs);
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,0.5);
	background-color: var(--pc-ink-800);
}
.pc-product__head {
	display: flex; justify-content: space-between; align-items: flex-start;
	margin-top: 16px; gap: 12px;
}
.pc-product__price {
	display: flex; align-items: baseline; gap: 10px; margin-top: 8px;
}

/* ====================================================================
 * Members directory grid
 * ==================================================================== */
.pc-member-grid {
	margin-top: 32px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.pc-member {
	display: flex; align-items: center; gap: 16px;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--pc-ink-200);
	border-radius: var(--pc-radius-xs);
	color: inherit; text-decoration: none;
	transition: border-color .15s var(--pc-ease);
}
.pc-member:hover { border-color: var(--pc-ink-1000); }
.pc-member__avatar {
	width: 48px; height: 48px; flex-shrink: 0;
	border-radius: 999px;
	background: var(--pc-accent);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 600; font-size: 14px; letter-spacing: 0.05em;
}
.pc-member__name { font-family: var(--pc-font-display); font-weight: 600; font-size: 15px; line-height: 1.2; }
.pc-member__meta {
	margin-top: 4px;
	font-family: var(--pc-font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--pc-ink-500);
}

/* ====================================================================
 * Single member profile (single-pclub_member)
 * ==================================================================== */
.pc-member-hero {
	background: var(--pc-ink-1000);
	color: #fff;
	padding: 64px 0;
}
.pc-member-hero, .pc-member-hero * { color: #fff !important; }
.pc-member-hero p, .pc-member-hero__sub { color: var(--pc-ink-300) !important; }
.pc-member-hero__inner {
	display: grid;
	grid-template-columns: auto 1.6fr 2fr;
	gap: 32px;
	align-items: center;
}
@media (max-width: 900px) {
	.pc-member-hero__inner { grid-template-columns: 1fr; gap: 24px; }
}
.pc-member-hero__avatar {
	width: 96px; height: 96px;
	border-radius: 999px;
	background: var(--pc-accent);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--pc-font-display);
	font-weight: 700; font-size: 28px;
	letter-spacing: 0.04em;
}
.pc-member-hero__sub {
	font-family: var(--pc-font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.pc-member-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	border-left: 1px solid var(--pc-line);
	padding-left: 32px;
}
.pc-member-hero__stats .pc-stats__num { font-size: 36px; }

/* ====================================================================
 * EN/LT language switcher (floating top-right)
 * ==================================================================== */
.pc-lang {
	position: fixed;
	top: 18px; right: 18px;
	z-index: 9999;
	display: inline-flex;
	background: rgba(10,10,11,0.6);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.16);
	border-radius: 999px;
	padding: 2px;
	font-family: var(--pc-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
}
.pc-lang__opt {
	width: 36px; height: 24px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px;
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	transition: color .15s var(--pc-ease), background .15s var(--pc-ease);
}
.pc-lang__opt:hover { color: #fff; }
.pc-lang__opt.is-active {
	background: #fff; color: var(--pc-ink-1000);
}
@media (max-width: 600px) {
	.pc-lang { top: 8px; right: 8px; }
}

/* Hide every flavour of Blocksy chrome (and any other site header)
   that isn't our own .pc-site-header. .entry-header is allowed because
   it's the per-post inner heading, not the site header. */
body header:not(.pc-site-header):not(.entry-header),
body [class*="ct-header"]:not(.pc-site-header),
body .ct-main-navigation,
body [data-row],
body [data-footer],
body .site-header:not(.pc-site-header),
body .site-footer:not(.pc-site-footer) { display: none !important; }

/* ====================================================================
 * Single event page (single-pclub_event)
 * ==================================================================== */
.pc-event-hero {
	background: var(--pc-ink-1000);
	color: #fff;
	padding: 80px 0;
}
.pc-event-hero, .pc-event-hero * { color: #fff; }
.pc-event-hero__inner {
	display: grid;
	grid-template-columns: 140px 1fr auto;
	gap: 40px;
	align-items: center;
}
@media (max-width: 900px) {
	.pc-event-hero__inner { grid-template-columns: 1fr; }
}
.pc-event-hero__date {
	border-right: 1px solid var(--pc-line);
	padding-right: 32px;
}
@media (max-width: 900px) {
	.pc-event-hero__date { border-right: 0; border-bottom: 1px solid var(--pc-line); padding: 0 0 16px; }
}
.pc-event-hero__round { font-size: 12px; letter-spacing: 0.12em; opacity: 0.7; }
.pc-event-hero__day   { font-size: 64px; font-weight: 500; line-height: 1; margin-top: 16px; }
.pc-event-hero__month { font-size: 13px; letter-spacing: 0.12em; margin-top: 6px; }
.pc-event-hero__stats {
	display: grid; grid-template-columns: repeat(3, auto); gap: 32px;
	border-left: 1px solid var(--pc-line); padding-left: 32px;
}
@media (max-width: 900px) {
	.pc-event-hero__stats { border-left: 0; padding-left: 0; }
}
.pc-event-hero__stats .pc-stats__num { font-size: 36px; }

/* ====================================================================
 * WooCommerce — make shop / product / cart / checkout match the design.
 * ==================================================================== */
.woocommerce-page, body.woocommerce { font-family: var(--pc-font-sans); }
.woocommerce-page h1, .woocommerce-page h2, .woocommerce-page h3, .woocommerce-page h4 {
	font-family: var(--pc-font-display); font-weight: 600; letter-spacing: -0.012em;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--pc-font-display); font-weight: 600;
	font-size: 19px !important; letter-spacing: -0.008em;
}
.woocommerce ul.products li.product .price {
	font-family: var(--pc-font-mono); color: var(--pc-ink-1000);
	font-weight: 600; font-size: 16px;
}
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce-page a.button,
.woocommerce input.button, .woocommerce button.button {
	background: var(--pc-accent) !important; color: #fff !important;
	border-radius: var(--pc-radius-xs) !important;
	font-family: var(--pc-font-sans); font-weight: 500; font-size: 14px;
	letter-spacing: 0.01em; text-transform: none; padding: 12px 22px; border: 0;
	transition: background .18s var(--pc-ease);
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover, .woocommerce-page a.button:hover,
.woocommerce input.button:hover, .woocommerce button.button:hover {
	background: var(--pc-accent-hover) !important;
}
.woocommerce a.button.alt, .woocommerce input.button.alt, .woocommerce button.button.alt {
	background: var(--pc-ink-1000) !important;
}
.woocommerce a.button.alt:hover { background: var(--pc-ink-800) !important; }
.woocommerce table.shop_table {
	font-family: var(--pc-font-sans);
	border: 1px solid var(--pc-ink-200);
	border-radius: var(--pc-radius-xs);
	overflow: hidden;
}
.woocommerce table.shop_table th {
	font-family: var(--pc-font-mono); font-size: 11px; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--pc-ink-500); font-weight: 500;
	background: var(--pc-ink-50); border-bottom: 1px solid var(--pc-ink-200);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	font-family: var(--pc-font-sans); font-size: 14px;
	padding: 12px 14px; border: 1px solid var(--pc-ink-300);
	border-radius: var(--pc-radius-xs); background: #fff;
}
.woocommerce form .form-row label {
	font-family: var(--pc-font-mono); font-size: 11px; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--pc-ink-500);
}
.woocommerce-info, .woocommerce-message, .woocommerce-error {
	border-top-color: var(--pc-accent) !important;
	background: var(--pc-ink-50) !important; font-family: var(--pc-font-sans);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--pc-accent) !important; }
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 24px; list-style: none !important; margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products li.product {
	width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important;
}
.woocommerce ul.products li.product img {
	border-radius: var(--pc-radius-xs); border: 1px solid var(--pc-ink-200);
}
.woocommerce-page main, .woocommerce main { padding: 64px 0; }

/* ====================================================================
 * Event page chrome (single-pclub_event)
 * ==================================================================== */
.pc-livedot {
	display: inline-block; width: 8px; height: 8px;
	border-radius: 999px;
	background: var(--pc-accent);
	box-shadow: 0 0 0 4px rgba(207,26,44,0.18);
	animation: pcPulse 1.4s ease-in-out infinite;
	vertical-align: middle;
}
@keyframes pcPulse {
	0%,100% { opacity: 1; transform: scale(1); }
	50%     { opacity: 0.5; transform: scale(0.85); }
}
.pc-flag {
	display: inline-block;
	min-width: 28px; padding: 2px 6px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font-family: var(--pc-font-mono);
	font-size: 10px; font-weight: 600;
	letter-spacing: 0.08em;
	text-align: center;
	color: var(--pc-ink-500);
	vertical-align: baseline;
}
.pc-section--dark .pc-flag,
.pc-event-hero .pc-flag,
.pc-member-hero .pc-flag { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.4); }

.pc-event-stats-row {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	margin-top: 56px;
	border-top: 1px solid var(--pc-line);
}
.pc-event-stats-row > div {
	padding: 24px 0;
}
.pc-event-stats-row > div + div {
	border-left: 1px solid var(--pc-line);
	padding-left: 32px;
}
.pc-event-stats-row__val { margin-top: 10px; font-size: 16px; font-weight: 500; color: #fff; }
@media (max-width: 800px) {
	.pc-event-stats-row { grid-template-columns: repeat(2,1fr); }
	.pc-event-stats-row > div + div:nth-child(odd) { border-left: 0; padding-left: 0; }
}

.pc-tabs {
	display: flex; gap: 0; margin-top: 48px;
	flex-wrap: wrap;
}
.pc-tab {
	padding: 16px 24px;
	background: transparent;
	color: rgba(255,255,255,0.7);
	font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
	border-bottom: 2px solid transparent;
	display: inline-flex; align-items: center; gap: 10px;
	text-decoration: none;
}
.pc-tab.is-active {
	background: #fff;
	color: var(--pc-ink-1000);
	border-bottom-color: var(--pc-accent);
}

.pc-event-overview {
	display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start;
}
@media (max-width: 1000px) { .pc-event-overview { grid-template-columns: 1fr; gap: 32px; } }
.pc-event-aside { position: sticky; top: 96px; }
@media (max-width: 1000px) { .pc-event-aside { position: static; } }

.pc-sessions {
	margin-top: 16px; border: 1px solid var(--pc-ink-200); background: #fff;
}
.pc-sessions__row {
	display: grid;
	grid-template-columns: 70px 1fr 140px 120px;
	padding: 14px 18px;
	align-items: center;
	border-top: 1px solid var(--pc-ink-200);
}
.pc-sessions__row:first-child { border-top: 0; }
.pc-sessions__row.is-live { background: rgba(207,26,44,0.04); }
.pc-sessions__code { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--pc-ink-700); }
.pc-sessions__row.is-live .pc-sessions__code { color: var(--pc-accent); }
.pc-sessions__label { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.pc-sessions__dur { font-size: 12px; color: var(--pc-ink-500); }
.pc-sessions__state { text-align: right; }
.pc-sessions__state--live { color: var(--pc-accent); }
.pc-sessions__state--upcoming { color: var(--pc-ink-400); }

.pc-podium {
	display: grid; grid-template-columns: repeat(3, 1fr);
	border-bottom: 1px solid var(--pc-ink-200);
}
.pc-podium__cell { padding: 24px 24px 28px; }
.pc-podium__cell + .pc-podium__cell { border-left: 1px solid var(--pc-ink-200); }
.pc-podium__cell.is-winner { background: rgba(207,26,44,0.03); }
@media (max-width: 800px) {
	.pc-podium { grid-template-columns: 1fr; }
	.pc-podium__cell + .pc-podium__cell { border-left: 0; border-top: 1px solid var(--pc-ink-200); }
}

.pc-session-nav {
	display: flex; gap: 0; margin-top: 16px;
	border-bottom: 1px solid var(--pc-ink-200);
	flex-wrap: wrap;
}
.pc-session-nav__btn {
	padding: 14px 20px;
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--pc-ink-700);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	text-decoration: none;
}
.pc-session-nav__btn.is-active {
	background: var(--pc-ink-1000);
	color: #fff;
	border-bottom-color: var(--pc-accent);
}

.pc-entry-grid {
	display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 700px) { .pc-entry-grid { grid-template-columns: 1fr; } }
.pc-entry-row {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 24px;
	border-top: 1px solid var(--pc-ink-100);
	color: inherit; text-decoration: none;
}
.pc-entry-row:nth-child(odd) { border-right: 1px solid var(--pc-ink-200); }
.pc-entry-row:first-child, .pc-entry-row:nth-child(2) { border-top: 0; }
.pc-entry-row:hover { background: var(--pc-ink-50); }
.pc-entry-row__avatar {
	width: 44px; height: 44px; border-radius: 999px;
	background: var(--pc-ink-200); color: var(--pc-ink-700);
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--pc-font-display);
	font-size: 14px; font-weight: 600;
	flex-shrink: 0;
}
.pc-entry-row__line1 { display: flex; align-items: center; gap: 8px; }
.pc-entry-row__name { font-size: 14px; font-weight: 500; }
.pc-entry-row__line2 { font-size: 12px; color: var(--pc-ink-500); margin-top: 4px; }

/* ====================================================================
 * Member profile (rich version)
 * ==================================================================== */
.pc-mp-statstrip {
	display: grid; grid-template-columns: repeat(6, 1fr);
	margin-top: 24px;
	border-top: 1px solid var(--pc-ink-200);
}
.pc-mp-statstrip > div { padding: 20px 16px; border-right: 1px solid var(--pc-ink-200); }
.pc-mp-statstrip > div:last-child { border-right: 0; }
.pc-mp-statstrip__num { font-family: var(--pc-font-mono); font-size: 28px; font-weight: 500; }
@media (max-width: 900px) {
	.pc-mp-statstrip { grid-template-columns: repeat(3, 1fr); }
	.pc-mp-statstrip > div:nth-child(3n) { border-right: 0; }
	.pc-mp-statstrip > div:nth-child(n+4) { border-top: 1px solid var(--pc-ink-200); }
}

.pc-mp-tabs {
	display: flex; gap: 0; margin-top: 32px;
	border-bottom: 1px solid var(--pc-ink-200);
}
.pc-mp-tab {
	padding: 12px 20px;
	color: var(--pc-ink-500);
	font-size: 13px; font-weight: 500;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	text-decoration: none;
}
.pc-mp-tab.is-active { color: var(--pc-ink-1000); border-bottom-color: var(--pc-accent); }

.pc-mp-cars {
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px;
}
@media (max-width: 800px) { .pc-mp-cars { grid-template-columns: 1fr; } }
.pc-mp-car { border: 1px solid var(--pc-ink-200); }
.pc-mp-car__media { height: 180px; }
.pc-mp-car__body { padding: 24px; }
.pc-mp-car__head { display: flex; justify-content: space-between; align-items: flex-start; }
.pc-mp-car__title { font-weight: 600; font-size: 16px; }
.pc-mp-car__sub { color: var(--pc-ink-500); font-size: 12px; margin-top: 4px; letter-spacing: 0.08em; font-family: var(--pc-font-mono); }
.pc-mp-car__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--pc-ink-200); }

.pc-mp-profile-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px;
}
@media (max-width: 800px) { .pc-mp-profile-grid { grid-template-columns: 1fr 1fr; } }
