/*
Theme Name: F1
Theme URI: https://andrei.xyz/
Author: andrei.xyz
Author URI: https://andrei.xyz/
Description: andrei.xyz
Version: 1.0
Tags: hashtag
Text Domain: f1

Yah, whatever
*/

/* ============================================
	 CSS CUSTOM PROPERTIES
	 WordPress: paste into theme's style.css
	 or Customizer > Additional CSS
============================================ */
:root {
	--c-red: #E8001D;
	--c-red-dk: #A8001A;
	--c-black: #0A0A0B;
	--c-dark: #111114;
	--c-surface: #1A1A1F;
	--c-border: rgba(255,255,255,0.08);
	--c-muted: rgba(255,255,255,0.45);
	--c-text: rgba(255,255,255,0.92);
	--c-white: #ffffff;

	--font-display: 'Barlow Condensed', sans-serif;
	--font-body: 'Barlow', sans-serif;
	--font-mono: 'Space Mono', monospace;

	--radius: 4px;
	--radius-lg:8px;

	--container: 1600px;
	--gap: 24px;
}

/* ============================================
	 RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	background: var(--c-black);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }



.main-content .h1, .main-content .h2, .main-content .h3, .main-content .h4, .main-content .h5, .main-content .h6, .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
	margin-top: 0;
	margin-bottom: .5rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--bs-heading-color)
}

.main-content .h1, .main-content h1 {
	font-size: calc(1.375rem + 1.5vw)
}

@media (min-width: 1200px) {
	.main-content .h1, .main-content h1 {
		font-size:2.5rem
	}
}

.main-content .h2, .main-content h2 {
	font-size: calc(1.325rem + .9vw)
}

@media (min-width: 1200px) {
	.main-content .h2, .main-content h2 {
		font-size:2rem
	}
}

.main-content .h3, .main-content h3 {
	font-size: calc(1.3rem + .6vw)
}

@media (min-width: 1200px) {
	.main-content .h3, .main-content h3 {
		font-size:1.75rem
	}
}

.main-content .h4, .main-content h4 {
	font-size: calc(1.275rem + .3vw)
}

@media (min-width: 1200px) {
	.main-content .h4, .main-content h4 {
		font-size:1.5rem
	}
}

.main-content .h5, .main-content h5 {
	font-size: 1.25rem
}

.main-content .h6, .main-content h6 {
	font-size: 1rem
}
.main-content .search, 
.main-content p, 
.main-content li {
	margin-bottom: 1rem;
	font-size: 17px;
}
.main-content .search {
	margin-bottom: var(--gap);
}
/* ============================================
	 UTILITY
============================================ */
.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 24px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

.tag {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 2px;
	background: var(--c-red);
	color: var(--c-white);
}
.tag.tag-dark {
	background: transparent;
	border: 1px solid var(--c-border);
	color: var(--c-muted);
}
.tag.tag-live {
	background: var(--c-red);
	animation: pulse-tag 1.2s ease-in-out infinite;
}
a.tag-dark:hover {
	background: var(--c-border );
	border: 1px solid var(--c-muted);
	color: var(--c-white);
}
@keyframes pulse-tag {
	0%,100% { opacity:1; } 50% { opacity:.6; }
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -.01em;
	text-transform: uppercase;
	line-height: 1;
	margin-right: auto;
}
.section-header {
	gap: 30px;
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	margin-bottom: 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--c-border);
}
.sub-link,
.see-all {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c-red);
	transition: opacity .2s;
}
.sub-link:hover,
.see-all:hover { opacity: .7; }

section { padding-block: 60px; }

/* ============================================
	 AD UNIT
============================================ */
.apex-unit {
	background: var(--c-surface);
	border: 1px dashed rgba(255,255,255,0.12);
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
}
.apex-unit::after {
	content: 'ADVERTISEMENT';
	position: absolute;
	top: 8px; right: 10px;
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: .1em;
	color: rgba(255,255,255,0.2);
}
.apex-unit img {
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: .85;
}
.apex-leaderboard { height: 90px; }
.apex-rectangle	{ height: 250px; }
.apex-sidebar		{ height: 600px; }

/* ============================================
	 TOP BAR
============================================ */
.topbar {
	background: var(--c-dark);
	border-bottom: 1px solid var(--c-border);
	padding-block: 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--c-muted);
	letter-spacing: .05em;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.topbar-ticker {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow: hidden;
	flex: 1;
}
.topbar-ticker span.live-dot {
	width: 6px; height: 6px;
	background: var(--c-red);
	border-radius: 50%;
	animation: pulse-tag .8s ease-in-out infinite;
	flex-shrink: 0;
}
.ticker-text {
	overflow: hidden;
	white-space: nowrap;
}
.ticker-text span {
	display: inline-block;
	animation: ticker-scroll 50s linear infinite;
}
.ticker-text a:hover {
	color: var(--c-white);
}
@keyframes ticker-scroll {
	0%	 { transform: translateX(100%); }
	100% { transform: translateX(-100%); }
}
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { color: var(--c-white); }

/* ============================================
	 NAVIGATION
============================================ */
.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10,10,11,0.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--c-border);
}
.nav-inner {
	display: flex;
	align-items: center;
	height: 64px;
	gap: 40px;
}
.logo {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 900;
	letter-spacing: -.02em;
	text-transform: uppercase;
	color: var(--c-white);
	white-space: nowrap;
	line-height: 1;
}
.logo span { color: var(--c-red); }

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
	flex: 1;
}
.nav-links a {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c-muted);
	transition: color .2s;
	position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-white); }
.nav-links a.active::after {
	content: '';
	position: absolute;
	bottom: -22px;
	left: 0; right: 0;
	height: 2px;
	background: var(--c-red);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.forminator-button-submit,
.tnp-submit,
.post-edit-link,
.btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s;
	border: none;
}
.tnp-field-button .tmp-submit {
	height: 100%;
}
.post-edit-link {
	margin-bottom: 30px;
}
.forminator-button-submit,
.post-edit-link,
.btn-primary {
	background: var(--c-red) !important;
	color: var(--c-white) !important;
}
.forminator-button-submit:hover,
.post-edit-link:hover,
.btn-primary:hover { background: var(--c-red-dk); !important }
.btn-ghost {
	background: transparent;
	border: 1px solid var(--c-border);
	color: var(--c-muted);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: var(--c-white); }

/* ============================================
	 HERO / FEATURED
============================================ */
.hero {
	padding-top: 0;
	padding-bottom: 0;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 2px;
	min-height: 540px;
}
.hero-main {
	position: relative;
	overflow: hidden;
	cursor: pointer;
}
.hero-main img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.hero-main:hover img { transform: scale(1.03); }
.hero-main-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.hero-main-content {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 32px;
}
.hero-main-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: -.02em;
	margin: 10px 0 12px;
}
.hero-main-meta {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--c-muted);
	letter-spacing: .06em;
}
.hero-sidebar {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.hero-card {
	position: relative;
	flex: 1;
	overflow: hidden;
	cursor: pointer;
}
.hero-card img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.hero-card:hover img { transform: scale(1.05); }
.hero-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 60%);
}
.hero-card-content {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 20px;
}
.hero-card-title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: -.01em;
	margin: 8px 0 6px;
}
.hero-card-meta {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--c-muted);
	letter-spacing: .06em;
}

/* ============================================
	 AD LEADERBOARD STRIP
============================================ */
.apex-strip {
	padding-block: 16px;
	border-top: 1px solid var(--c-border);
	border-bottom: 1px solid var(--c-border);
}

/* ============================================
	 LATEST NEWS + SIDEBAR LAYOUT
============================================ */
.content-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 48px;
	padding-block: 60px;
}
.content-onecolumn {
	padding-block: 60px;
}

/* ---- News Card ---- */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-card {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 20px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--c-border);
	cursor: pointer;
	transition: opacity .2s;
}
.news-card:hover { opacity: .8; }
.news-card:last-child { border-bottom: none; }
.news-card-img {
	aspect-ratio: 16/10;
	overflow: hidden;
	border-radius: var(--radius);
}
.news-card-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.news-card-title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: -.01em;
}
.news-card-excerpt {
	font-size: 14px;
	color: var(--c-muted);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-card-meta {
	font-family: var(--font-mono);
	font-size: 10px;
	color: rgba(255,255,255,0.3);
	letter-spacing: .06em;
}

/* ---- Sidebar ---- */
.sidebar { display: flex; flex-direction: column; gap: 40px; }
.sidebar-block {}
.sidebar-block .section-header { margin-bottom: 16px; }

.most-read-list { display: flex; flex-direction: column; gap: 0; }
.most-read-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--c-border);
	cursor: pointer;
	transition: opacity .2s;
}
.most-read-item:hover { opacity: .7; }
.most-read-item:last-child { border-bottom: none; }
.most-read-num {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 900;
	color: rgba(255,255,255,0.08);
	line-height: 1;
	flex-shrink: 0;
	width: 36px;
}
.most-read-title {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -.01em;
	line-height: 1.2;
}

/* ============================================
	 STANDINGS WIDGET
============================================ */
.standings-widget {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.standings-tabs {
	display: flex;
	border-bottom: 1px solid var(--c-border);
}
.standings-tab {
	flex: 1;
	padding: 12px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--c-muted);
	cursor: pointer;
	transition: all .2s;
	border: none;
	background: none;
}
.standings-tab.active {
	color: var(--c-white);
	border-bottom: 2px solid var(--c-red);
}
.standings-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	border-bottom: 1px solid var(--c-border);
	font-size: 13px;
	cursor: pointer;
	transition: background .15s;
}
.standings-row:hover { background: rgba(255,255,255,0.03); }
.standings-row:last-child { border-bottom: none; }
.standings-pos {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--c-muted);
	width: 16px;
	flex-shrink: 0;
}
.standings-flag {
	font-size: 16px;
	flex-shrink: 0;
}
.standings-name {
	flex: 1;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.standings-team {
	font-size: 11px;
	color: var(--c-muted);
	font-family: var(--font-mono);
}
.standings-pts {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--c-red);
	font-weight: 700;
}

/* ============================================
	 RACE CALENDAR SECTION
============================================ */
.calendar-section { background: var(--c-dark); }
.race-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.race-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 20px;
	cursor: pointer;
	transition: border-color .2s, transform .2s;
	position: relative;
	overflow: hidden;
}
.race-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--c-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s;
}
.race-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.race-card:hover::before { transform: scaleX(1); }
.race-card.race-next { border-color: rgba(232,0,29,0.4); }
.race-card.race-next::before { transform: scaleX(1); }
/*
.race-next.wide {
	grid-column: 1 / -1;
}
*/
.race-round {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--c-muted);
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.race-flag { font-size: 28px; margin-bottom: 8px; }
.race-name {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -.01em;
	line-height: 1.1;
	margin-bottom: 4px;
}
.race-circuit {
	font-size: 12px;
	color: var(--c-muted);
	margin-bottom: 12px;
}
.race-date {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--c-red);
	letter-spacing: .04em;
}
.race-status {
	margin-top: 8px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: .08em;
}
.race-status.done { color: rgba(255,255,255,0.25); }
.race-status.next { color: var(--c-red); }

/* ============================================
	 FEATURES / ANALYSIS GRID
============================================ */
.post .features-section {
	padding-block: 0px;
}
.features-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: var(--gap);
}
.feature-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	cursor: pointer;
	transition: transform .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.18); }
.feature-card-img {
	aspect-ratio: 16/9;
	overflow: hidden;
}
.feature-card-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.feature-card:hover .feature-card-img img { transform: scale(1.06); }
.feature-card-body { padding: 20px; }
.feature-card-label {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--c-red);
	margin-bottom: 8px;
}
.feature-card-title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: -.01em;
	line-height: 1.1;
	margin-bottom: 10px;
}
.feature-card-excerpt {
	font-size: 13px;
	color: var(--c-muted);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.feature-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--c-border);
	font-family: var(--font-mono);
	font-size: 10px;
	color: rgba(255,255,255,0.3);
	letter-spacing: .05em;
}

/* ============================================
	 VIDEO SECTION
============================================ */
.video-section { background: var(--c-dark); }
.video-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: var(--gap);
}
.video-card {
	position: relative;
	cursor: pointer;
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.video-card-thumb {
	aspect-ratio: 16/9;
	overflow: hidden;
	position: relative;
}
.video-card-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.video-card:hover .video-card-thumb img { transform: scale(1.06); }
.video-play {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	width: 52px; height: 52px;
	background: rgba(232,0,29,0.85);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	transition: transform .2s, background .2s;
}
.video-card:hover .video-play { transform: translate(-50%,-50%) scale(1.1); background: var(--c-red); }
.video-play::after {
	content: '';
	border: 0 solid transparent;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 16px solid white;
	margin-left: 3px;
}
.video-card-info {
	padding: 14px 0 0;
}
.video-duration {
	position: absolute;
	bottom: 10px; right: 10px;
	background: rgba(0,0,0,0.75);
	font-family: var(--font-mono);
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 2px;
}
.video-title {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -.01em;
	line-height: 1.15;
	margin-bottom: 6px;
}
.video-meta {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--c-muted);
	letter-spacing: .05em;
}

/* ============================================
	 NEWSLETTER
============================================ */
.newsletter-section {
	background: var(--c-red);
	padding-block: 64px;
}
.newsletter-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.newsletter-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .7;
	margin-bottom: 10px;
}
.main-content .newsletter-title,
.newsletter-title {
	font-family: var(--font-display);
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 900;
	text-transform: uppercase;
	line-height: .95;
	letter-spacing: -.02em;
}
.main-content .newsletter-form p {
	margin: 0;
}
.main-content .newsletter-body,
.newsletter-body {
	font-size: 15px;
	opacity: .85;
	margin-top: 14px;
	line-height: 1.6;
}
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 4px;
}
.newsletter-option {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	cursor: pointer;
}
.newsletter-option input[type="checkbox"] {
	accent-color: var(--c-white);
	width: 16px; height: 16px;
}
.tnp-subscription form,
.newsletter-input-row {
	display: flex;
	gap: 8px;
}
.tnp-subscription {
	width: 100%;
}
.tnp-field-email  {
	width: 75%;
}
.form-control,
.forminator-input,
.forminator-select2,
.forminator-textarea,
.tnp-email,
.newsletter-input {
	flex: 1;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: var(--radius);
	padding: 12px 16px;
	color: var(--c-white);
	font-family: var(--font-body);
	font-size: 14px;
}
.forminator-label + div {
	float: right;
}
.forminator-input,
.forminator-select2,
.forminator-textarea {
	width: 100%;
}
.forminator-button-submit {
	line-height: 1.65;
}
.forminator-error,
.forminator-error-message {
	color: var(--c-red);
}

.tnp-email {
	width: 100%;
}
.tnp-submit {
	height: 100%;
}
.tnp-email::placeholder,
.form-control::placeholder,
.newsletter-input::placeholder { color: rgba(255,255,255,0.55); }
.tnp-email:focus,
.form-control:focus,
.newsletter-input:focus { outline: none; border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.2); }

.forminator-button-submit:hover,
.tnp-submit,
.btn-white {
	background: var(--c-white);
	color: var(--c-red);
	white-space: nowrap;
}
.tnp-submit:hover,
.btn-white:hover { background: rgba(255,255,255,0.9); }
.main-content .newsletter-legal,
.newsletter-legal {
	font-size: 13px;
	opacity: .55;
	line-height: 1.5;
}
.newsletter-legal a {
	text-decoration: underline;
}
.form-control {
	width: 100%;
}
/* ============================================
	 TEAM TRACKER
============================================ */
.teams-section {}
.teams-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}
.team-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 20px 16px;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s, transform .2s;
	position: relative;
	overflow: hidden;
}
.team-card::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 3px;
	background: var(--team-color, #444);
}
.team-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.team-logo {
	font-size: 32px;
	margin-bottom: 8px;
}
.team-name {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 4px;
}
.team-pts {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--c-muted);
}

/* ============================================
	 OPINION / COLUMNS
============================================ */
.opinion-section { background: var(--c-dark); }
.opinion-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
}
.opinion-card {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 28px;
	cursor: pointer;
	transition: border-color .2s, transform .2s;
	position: relative;
}
.opinion-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.opinion-quote {
	font-family: var(--font-display);
	font-size: 72px;
	font-weight: 900;
	color: var(--c-red);
	line-height: .7;
	margin-bottom: 12px;
	opacity: .4;
}
.opinion-text {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: -.01em;
	margin-bottom: 20px;
}
.opinion-author {
	display: flex;
	align-items: center;
	gap: 12px;
}
.opinion-avatar {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 800;
	color: var(--c-red);
	flex-shrink: 0;
}
.opinion-author-name {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.opinion-author-role {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--c-muted);
	letter-spacing: .06em;
}

/* ============================================
	 SOCIAL MEDIA STRIP
============================================ */
.social-strip {
	padding-block: 32px;
	border-top: 1px solid var(--c-border);
}
.social-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.social-label {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	white-space: nowrap;
}
.social-links {
	display: flex;
	gap: 12px;
}
.social-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: var(--radius);
	border: 1px solid var(--c-border);
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
	transition: border-color .2s, background .2s;
}
.social-btn:hover { background: var(--c-surface); border-color: rgba(255,255,255,0.2); }
.social-icon { font-size: 16px; }

/* ============================================
	 FOOTER
============================================ */
footer {
	background: var(--c-dark);
	border-top: 1px solid var(--c-border);
	padding-top: 56px;
	padding-top: 6px;
	padding-bottom: 32px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--c-border);
}
.footer-brand-tagline {
	font-size: 14px;
	color: var(--c-muted);
	margin-top: 12px;
	line-height: 1.6;
	max-width: 280px;
}
.footer-col-title {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 16px;
	color: var(--c-muted);
}
.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.footer-links a {
	font-size: 14px;
	color: rgba(255,255,255,0.55);
	transition: color .2s;
}
.footer-links a:hover { color: var(--c-white); }
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 24px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: rgba(255,255,255,0.25);
	letter-spacing: .05em;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--c-muted); }

/* ============================================
	 PLACEHOLDER IMAGE HELPER
	 (remove when using real images)
============================================ */
.ph {
	background: linear-gradient(135deg, #1A1A1F 0%, #222228 50%, #1A1A1F 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.12);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	width: 100%; height: 100%;
}





.reading-time {
	height: 40px;
	line-height: 38px;
	margin-left: 15px;
	padding-left: 15px;
	border-left: 1px solid var(--c-muted);
}
.share-article-title {
	height: 45px;
	line-height: 45px;
	margin-right: 15px;
	padding-right: 15px;
	border-right: 1px solid var(--c-muted);
}
.reading-time .fa {
	color: var(--c-muted);
	margin-right: 3px;
}
.top-share-article {
	margin-bottom: 20px;
}
.top-share-article a {
	padding: 7px;
	font-size: 1.6em;
	color: var(--c-muted);
}
.top-share-article a:hover {
	background: #000;
	color: #fff;
}
.nav-pills {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	padding-bottom: 10px;
	margin-bottom: 0;
	list-style: none;
}
.single .entry-tagline {
	margin-bottom: 20px;
	line-height: 1.7;
	font-size: 21px;
}
.entry-image img {
	width: 100%;
	height: auto;
	margin: 30px 0;
	display: block;
}
.single .entry-content {
	font-size: 17px;
}
.about-the-author {
	margin: 40px 0 20px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.share-article {
	padding: 20px 0 0;
	margin-top: 30px;
	margin-bottom: 30px;
	border-top: 1px solid #d0d0d0;
	border-bottom: 1px solid #d0d0d0;
}
.share-article a {
	padding: 10px;
	color: #232323;
	background: #eee;
	margin-left: 5px;
}
.share-post li {
	display: block;
}
.share-post a {
	padding: 0px;
	font-size: 1.7em;
	display: block;
	width: 50px;
	text-align: center;
	color: #232323;
	margin: 0 0 10px;
}

.share-post a:hover,
.share-article a:hover {
	background: #ccc;
	color: #000;
}

.share-post {
	position: absolute;
	text-align: center;
	left: 0;
	top: 0;
}
.share-post p {
	margin-bottom: 10px;
}
.share-post p span {
	display: block;
	text-align: center;
	width: 100%;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 1px;
}
.share-post p .fa {
	font-size: 1.7em;
}
.share-post .nav {
	border: 1px solid #ccc;
	padding: 10px;
}
.share-post li {
	display: block;	
}
.share-post li:last-child a {
	margin: 0;
}
.subscribe-newsletter {
	padding: 30px; 
	font-size:15px;
	margin:20px 0;
	background: linear-gradient(135deg, #1A1A1F 0%, #222228 50%, #1A1A1F 100%);
	color: var(--c-text);
	border: 1px dashed rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
}
.author-photo img {
	border-radius: 50%;
}


.sidebar .social-icons a {
	border: 1px solid var(--c-border);
	padding: 12px 20px;
	color: var(--c-muted);
	background: var(--c-dark);
	text-decoration: none;
	margin-bottom: 1px;
	position: relative;
	width: 100%;
	display: block;
}
.sidebar .social-icons a:hover {
	background: var(--c-red-dk);
	color: #fff;
}
.sidebar .social-icons:hover a {
	opacity: .4;
	filter: blur(0.8px);
}
.sidebar .social-icons:hover a:hover {
	opacity: 1;
	filter: blur(0px);
}
.sidebar .social-icons a:after {
	content: "Follow";
	font-size: 11px;
	letter-spacing: 0px;
	right: 20px;
	position: absolute;
	top: 17px;
	opacity: .4;
}
.sidebar .social-icons a i {
	font-size: 1.4em;
	vertical-align: middle;
	padding-right: 20px;
	margin-right: 20px;
	border-right: 1px solid var(--c-border);
}

.teams-list {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	margin-bottom: 24px;
}
.drivers-list {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
.driver-page-card,
.team-page-card {
	border-radius: var(--radius);
	padding: 1.75em 2em 2em;
	position: relative;
	overflow: hidden;
}
.team-hero:hover h1 {
	text-decoration: underline;
}
.driver-hero-content,
.team-hero-content {
	position: relative;
	z-index: 2;
}
.team-banner {
	position: relative;
	z-index: 2;
	max-width: 75%;
}
.driver-hero-content h1 {
	line-height: 1.1;
	font-weight: 300;
}
.driver-hero-content h1 strong {
	font-weight: 900;
	display: block;
}
.driver-mask,
.team-mask {
	position: absolute;
	display: block;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	height: 100%;
	mask-image: url(images/drs.webp);
	right: 0;
	bottom: 0;
	background: #000;
	mix-blend-mode: color-burn;
	z-index: 1;
	aspect-ratio: 6.0981595092;
	max-height: 170px;
	opacity: 0.3;
}
.driver-bgoverlay,
.team-bgoverlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(-45deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, 0));
	mix-blend-mode: multiply;
	z-index: 1;
}
.team-page-card .drivers-grid {
	display: flex;
	gap: 2em;
	align-items: center;
	padding-bottom: 2em;
	padding-top: 0em;
}
.team-page-card .team-logo {
	float: right;
}
.home .teams-list {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.driver-avatar {
	height: 1.3em;
	width: 1.3em;
	position: relative;
	display: inline-block;
	margin-right: 0.25em;
	background: #fff;
	border-radius: 50%;
	overflow: hidden;
	vertical-align: middle;
	border: 1px solid var(--c-muted);
}
.driver-card h3 {
	font-weight: 400;
}
.driver-card strong {
	text-transform: uppercase;
	font-weight: 900;
}
.driver-icon {
	height: 1.5em;
}
.driver-team {
	margin-bottom: 10px;
}
.driver-hero-content {
	height: 220px;
}
.driver-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.driver-flag {
	font-size: 1.5em;
	position: absolute;
	bottom: 0;
}
.driver-cover {
	position: absolute;
	z-index: 4;
	max-height: 240px;
	right: 0px;
	top: 10px;
}
.driver-bgoverlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(-45deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0));
	mix-blend-mode: multiply;
	z-index: 1;
}
.driver-mask {
	mask-image: url(images/kers.webp);
	right: 0;
	aspect-ratio: 2.0284528749;
	background: #000;
	mix-blend-mode: color-burn;
	max-height: 100%;
}
.team-page-banner {
	grid-template-columns: 1fr;
	text-align: center;
}
.team-page-banner .team-banner {
	margin: 3em auto 0;
}
.team-page-banner .team-page-card .drivers-grid {
	justify-content: center;
}
.team-page-banner .team-page-card .team-logo {
	float: none;
	margin: 0 auto;
}
.team-page-banner .team-mask {	
	width: 100%;
	max-height: 1000px;
	mask-position: bottom;
}
.team-page-banner h1 {
	font-size: 3em;
}
.team-meta {
	display: flex;
	gap: 30px;
	justify-content: space-between;
}
.meta-item span {
	font-size: 1.2em;
	display: block;
}
.meta-item strong{
	font-size: 2em;
	font-weight: 700;
	display: block;
}
.team-page-banner .driver-hero-content {
	padding: 6em 0;
	height: auto;
}
.team-page-banner .driver-mask {
	aspect-ratio: unset;
	left: 0;
	mask-repeat: repeat;
	mask-position: right top;
}
.team-page-banner .driver-hero-content h1 strong {
	font-size: 1.6em;
	margin-top: -0.1em;	
	text-transform: uppercase;
}
.team-page-banner .driver-team {
	font-size: 1.5em;
	padding: .5em;
}
.team-page-banner .sep {
	border-left: 1px solid var(--c-muted);
	margin: 0 15px;
	opacity: .5;
}
.team-page-banner .driver-cover {
	position: absolute;
	z-index: 4;
	max-height: 240px;
	right: 0px;
	top: 0px;
	left: 50%;
	margin: 2em;
}
.tag-list:before {
	content: "#";
	font-size: 26px;
	line-height: 32px;
	color: var(--c-white);
	vertical-align: sub;
	margin-right: 10px;
}
.wpe_imgrss { display: none; }

.standings-table-wrap {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.standings-table { width: 100%; border-collapse: collapse; }
.standings-table thead tr {
	background: var(--c-surface2);
	border-bottom: 1px solid var(--c-border);
}
.standings-table th {
	padding: 12px 16px; text-align: left;
	font-family: var(--font-mono); font-size: 10px;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--c-muted); white-space: nowrap;
	font-weight: 400;
}
.standings-table th.num { text-align: right; }
.standings-table tbody tr {
	border-bottom: 1px solid var(--c-border);
	transition: background .15s; cursor: pointer;
}
.standings-table tbody tr:last-child { border-bottom: none; }
.standings-table tbody tr:hover { background: rgba(255,255,255,.03); }
.standings-table tbody tr.highlighted { background: rgba(232,0,29,.05); }
.standings-table td { padding: 14px 16px; vertical-align: middle; white-space: nowrap; }
.standings-table td.num { text-align: right; font-family: var(--font-mono); font-size: 13px; }

.td-pos {
	font-family: var(--font-display); font-size: 20px; font-weight: 900;
	width: 48px; color: var(--c-muted); line-height: 1;
}
.td-pos.p1 { color: var(--c-gold); }
.td-pos.p2 { color: var(--c-silver); }
.td-pos.p3 { color: var(--c-bronze); }

.td-change {
	width: 32px; font-family: var(--font-mono); font-size: 11px;
	text-align: center;
}
.td-change.up { color: #22c55e; }
.td-change.down { color: var(--c-red); }
.td-change.same { color: rgba(255,255,255,.2); }

.td-flag { font-size: 20px; width: 32px; box-sizing: content-box; }

.td-driver { }
.td-driver-name {
	font-family: var(--font-display); font-size: 18px; font-weight: 800;
	text-transform: uppercase; letter-spacing: -.01em; line-height: 1;
}
.td-driver-first {
	font-family: var(--font-display); font-size: 12px; font-weight: 400;
	text-transform: uppercase; color: var(--c-muted); letter-spacing: .02em;
}

.td-team-badge {
	display: flex; align-items: center; gap: 10px;
}
.team-color-dot {
	width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.td-team-name {
	font-family: var(--font-display); font-size: 14px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .02em; color: var(--c-muted);
}

.td-pts {
	font-family: var(--font-display); font-size: 22px; font-weight: 900;
	color: var(--c-white); letter-spacing: -.01em; text-align: right;
}
.td-gap {
	font-family: var(--font-mono); font-size: 12px;
	color: var(--c-muted); text-align: right;
}
.pts-bar-cell { width: 120px; padding-right: 20px; }
.pts-bar-wrap { display: flex; align-items: center; gap: 8px; }
.pts-bar-track {
	flex: 1; height: 4px; background: var(--c-surface2);
	border-radius: 2px; overflow: hidden;
}
.pts-bar-fill {
	height: 100%; border-radius: 2px;
	background: var(--c-red); transition: width .6s ease;
}
.race-dots { display: flex; gap: 3px; align-items: center; flex-wrap: wrap; }
.race-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--c-surface2);
}
.race-dot.win	 { background: var(--c-gold); }
.race-dot.pod	 { background: rgba(255,255,255,.25); }
.race-dot.pts	 { background: rgba(255,255,255,.1); }
.race-dot.dnf	 { background: rgba(232,0,29,.3); border: 1px solid rgba(232,0,29,.5); }
.race-dot.next	{ background: none; border: 1px dashed rgba(255,255,255,.2); }
.num-highlight {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 28px; height: 24px; padding: 0 6px;
	background: rgba(255,255,255,.06); border-radius: 3px;
	font-family: var(--font-mono); font-size: 12px;
}
.constructor-card {
	display: grid;
	grid-template-columns: 48px 32px 1fr 180px 80px 80px 80px 120px;
	align-items: center; gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--c-border);
	cursor: pointer; transition: background .15s;
	position: relative;
}
.constructor-card:last-child { border-bottom: none; }
.constructor-card:hover { background: rgba(255,255,255,.025); }
.constructor-card.header-row {
	background: var(--c-surface2); cursor: default;
	padding: 10px 20px;
}
.constructor-card.header-row:hover { background: var(--c-surface2); }

.constructor-pos {
	font-family: var(--font-display); font-size: 28px; font-weight: 900;
	color: var(--c-muted); line-height: 1;
}
.constructor-pos.p1 { color: var(--c-gold); }
.constructor-pos.p2 { color: var(--c-silver); }
.constructor-pos.p3 { color: var(--c-bronze); }

.constructor-info { }
.constructor-bar-line {
	position: absolute; left: 0; top: 0; bottom: 0;
	width: 4px;
}
.constructor-name {
	font-family: var(--font-display); font-size: 22px; font-weight: 900;
	text-transform: uppercase; letter-spacing: -.02em; line-height: 1;
}
.constructor-country {
	font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em;
	color: var(--c-muted); text-transform: uppercase; margin-top: 2px;
}
.constructor-drivers {
	display: flex; gap: 6px; flex-direction: column;
}
.constructor-driver-chip {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--font-display); font-size: 13px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .02em; color: var(--c-muted);
}
.constructor-driver-chip .flag { font-size: 13px; }
.constructor-driver-chip .pts-badge {
	margin-left: auto;
	font-family: var(--font-mono); font-size: 11px; color: var(--c-muted);
}

.col-header {
	font-family: var(--font-mono); font-size: 10px;
	letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted);
}
.col-val-lg {
	font-family: var(--font-display); font-size: 24px; font-weight: 900;
	letter-spacing: -.01em; text-align: right;
}
.col-val-sm {
	font-family: var(--font-mono); font-size: 13px;
	text-align: right; color: var(--c-muted);
}
.col-gap {
	font-family: var(--font-mono); font-size: 12px;
	color: var(--c-muted); text-align: right;
}
.standings-tables {
	display: grid;
	gap: 3em;
	grid-template-columns: 1fr 1fr;
}
.constructor-table-wrap {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg); overflow: hidden;
}
.constructor-row {
	display: grid;
	grid-template-columns: 56px 1fr 200px 70px 130px;
	align-items: center; gap: 8px;
	padding: 20px 20px;
	border-bottom: 1px solid var(--c-border);
	cursor: pointer; transition: background .15s;
	position: relative; overflow: hidden;
}
.constructor-row:last-child { border-bottom: none; }
.constructor-row:hover { background: rgba(255,255,255,.025); }
.constructor-row.th-row {
	background: var(--c-surface2); cursor: default;
	padding: 11px 20px;
}
.constructor-row.th-row:hover { background: var(--c-surface2); }
.ctr-bar {
	position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
	background: var(--tc, transparent);
}
.mt-20 {
	margin-top: 20px;
}
.page-is-404 {
	position: absolute;
	z-index: 4;
	left: 0;
	top: 30px;
	padding: 25px 30px 30px 25px;
	background: var(--c-dark);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
}
.page-is-404 h1 {
	text-transform: uppercase;
}
.page-is-404 p {
	font-size: 1.2em;
	margin-bottom: 1em;
}
.page-is-404 .post-edit-link {
	margin: 0;
}
.error404 .container {
	position: relative;
}
.forminator-ui#forminator-module-1830.forminator-design--material .forminator-select2 + .forminator-select .selection .select2-selection--single[role="combobox"] .select2-selection__rendered,
.forminator-input {
	color: #fff !important;
}
.teams-section + .features-section {
	 background: var(--c-dark);
 }
@media (max-width: 1439px) {
	.teams-list {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 1025px) {
	.home .team-page-card {
		padding: 1em;
	}
	.home .team-banner {
		max-width: 100%;
	}
	.home .team-page-card .drivers-grid {
		flex-direction: column;
		gap: 0;
		align-items: flex-start;
	}
	.home .team-page-card .team-logo {
		float: none;
		margin: 0;
	}
}
@media (max-width: 1024px) {
	.nav-links {
		gap: 20px;
	}
	.page-is-404 {
		position: static;
		border: none;
		border-radius: 0;
		background: transparent;
		padding-bottom: 40px;
	}
	.newsletter-inner {
		grid-template-columns: 1fr;
		gap: 0px;
	}
	.home .teams-list,
	.teams-list {
		grid-template-columns: 1fr;
	}
	.standings-tables {
		grid-template-columns: 1fr;
	}
	.team-meta {
		flex-wrap: wrap;
		gap: 20px;
	}
	.team-meta .meta-item {
		flex: 0 0 calc(50% - 10px);
	}
	.team-meta .meta-item.wide {
		flex: 0 0 100%;
	}
}
@media (max-width: 460px) {
	/* mobiles */	
	.newsletter-inner {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 360px) {
	/* old mobiles */
	body {	
		width: 360px;
		overflow-x: clip;
	}
	.driver-page-card, .team-page-card {
		padding: 15px;
	}
}



