/*
Theme Name: Sherwin M
Theme URI: https://sherwinm.com
Description: Custom EV blog theme for sherwinm.com — performance-first, mobile-first, dark tech aesthetic.
Version: 1.0.0
Author: Sherwin M
Text Domain: sherwinm
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
	--bg:           #0D1117;
	--bg-card:      #161B22;
	--bg-card-hover:#1C2330;
	--bg-subtle:    #111820;
	--border:       #21262D;
	--border-light: #30363D;

	--accent:       #00C8FF;
	--accent-dim:   #0099CC;
	--accent-glow:  rgba(0, 200, 255, 0.15);

	--text:         #E6EDF3;
	--text-muted:   #8B949E;
	--text-dim:     #6E7681;
	--white:        #FFFFFF;

	/* Category colors */
	--cat-tesla:      #E31937;
	--cat-rivian:     #00A693;
	--cat-road-trips: #F59E0B;
	--cat-events:     #A855F7;
	--cat-other-evs:  #3B82F6;
	--cat-uncategorized: #6E7681;

	--font:         'Inter', system-ui, -apple-system, sans-serif;
	--font-mono:    'JetBrains Mono', 'Fira Code', monospace;

	--radius-sm:    6px;
	--radius:       10px;
	--radius-lg:    16px;

	--shadow:       0 1px 3px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
	--shadow-lg:    0 8px 32px rgba(0,0,0,.5);

	--transition:   0.2s ease;

	--container:    1200px;
	--container-sm: 800px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	min-height: 100vh;
	overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.25;
	color: var(--white);
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text); line-height: 1.75; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.container--sm {
	max-width: var(--container-sm);
}

.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }

/* ============================================================
   REFERRAL BAR
   ============================================================ */
.referral-bar {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.referral-bar__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: filter var(--transition);
}

.referral-bar__item:hover { filter: brightness(1.1); }

.referral-bar__item--tesla {
	background: #C0161F;
	color: #fff;
}

.referral-bar__item--rivian {
	background: #E8A000;
	color: #1a1000;
}

.referral-bar__logo {
	height: 22px;
	width: auto;
	flex-shrink: 0;
	object-fit: contain;
}

.referral-bar__item--tesla .referral-bar__logo {
	filter: brightness(0) invert(1);
}

.referral-bar__item--rivian .referral-bar__logo {
	filter: brightness(0);
}

.referral-bar__item svg { flex-shrink: 0; }
.referral-bar__short { display: none; }

@media (max-width: 640px) {
	.referral-bar__full  { display: none; }
	.referral-bar__short { display: inline; }
	.referral-bar__item  { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(13, 17, 23, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 64px;
}

/* Logo */
.site-logo {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	text-decoration: none;
	flex-shrink: 0;
}

.site-logo img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.logo-text {
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--white);
	letter-spacing: -0.03em;
}

.logo-text span { color: var(--accent); }

/* Nav */
.main-nav {
	display: flex;
	justify-content: center;
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 0.125rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	display: block;
	padding: 0.4rem 1rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-muted);
	border-radius: 2rem;
	letter-spacing: 0.01em;
	transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
	color: var(--white);
	background: rgba(255,255,255,0.07);
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .is-active > a {
	color: var(--white);
	background: var(--bg-card);
	font-weight: 600;
}

/* Mobile toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	border-radius: var(--radius-sm);
}

.nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: all 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search */
.header-search {
	position: relative;
	justify-self: end;
}

.header-search input {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-size: 0.8125rem;
	font-family: var(--font);
	padding: 0.4rem 2.25rem 0.4rem 0.75rem;
	width: 180px;
	transition: all var(--transition);
	outline: none;
}

.header-search input:focus {
	border-color: var(--accent);
	width: 220px;
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.header-search input::placeholder { color: var(--text-dim); }

.header-search button {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	padding: 0;
	display: flex;
}

.header-search button:hover { color: var(--accent); }

/* ============================================================
   CATEGORY BADGES
   ============================================================ */
.cat-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.2rem 0.625rem;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: opacity var(--transition);
}

.cat-badge:hover { opacity: 0.8; color: inherit; }

.cat-badge--tesla      { background: rgba(227,25,55,.15);   color: #F87171; border: 1px solid rgba(227,25,55,.3); }
.cat-badge--rivian     { background: rgba(0,166,147,.15);   color: #34D399; border: 1px solid rgba(0,166,147,.3); }
.cat-badge--road-trips { background: rgba(245,158,11,.15);  color: #FCD34D; border: 1px solid rgba(245,158,11,.3); }
.cat-badge--events     { background: rgba(168,85,247,.15);  color: #C084FC; border: 1px solid rgba(168,85,247,.3); }
.cat-badge--other-evs  { background: rgba(59,130,246,.15);  color: #93C5FD; border: 1px solid rgba(59,130,246,.3); }
.cat-badge--default    { background: rgba(110,118,129,.15); color: #8B949E; border: 1px solid rgba(110,118,129,.3); }

/* ============================================================
   FEATURED POST — HOMEPAGE TOP
   ============================================================ */
.featured-post-section {
	padding: 2.5rem 0 0;
}

.featured-post-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 420px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--bg-card);
	transition: border-color var(--transition);
}

.featured-post-card:hover {
	border-color: var(--border-light);
}

.featured-post-body {
	padding: 2.5rem 2.75rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
}

.featured-post-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.featured-label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-dim);
	padding: 0.2rem 0.5rem;
	border: 1px solid var(--border-light);
	border-radius: 100px;
}

.featured-post-title {
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.featured-post-title a {
	color: var(--white);
	text-decoration: none;
	transition: color var(--transition);
}

.featured-post-title a:hover { color: var(--accent); }

.featured-post-excerpt {
	font-size: 0.9375rem;
	color: var(--text-muted);
	line-height: 1.7;
}

.featured-post-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.5rem;
}

.featured-post-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	color: var(--text-dim);
}

.meta-dot { color: var(--border-light); }

.featured-read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--accent);
	white-space: nowrap;
	transition: gap var(--transition);
}

.featured-read-more:hover {
	color: var(--white);
	gap: 0.625rem;
}

.featured-post-image {
	position: relative;
	overflow: hidden;
	background: var(--bg-subtle);
	display: block;
}

.featured-post-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.featured-post-card:hover .featured-post-image img {
	transform: scale(1.03);
}

.featured-post-image--empty {
	background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-subtle) 100%);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 600;
	font-family: var(--font);
	cursor: pointer;
	border: none;
	transition: all var(--transition);
	text-decoration: none;
}

.btn--primary {
	background: var(--accent);
	color: var(--bg);
}

.btn--primary:hover {
	background: var(--white);
	color: var(--bg);
}

.btn--outline {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border-light);
}

.btn--outline:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
	gap: 1rem;
}

.section-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--white);
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.section-title::before {
	content: '';
	display: block;
	width: 3px;
	height: 1.25em;
	background: var(--accent);
	border-radius: 2px;
	flex-shrink: 0;
}

.section-link {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 0.25rem;
	transition: color var(--transition);
}

.section-link:hover { color: var(--accent); }

/* ============================================================
   POST CARDS
   ============================================================ */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.post-grid--4 { grid-template-columns: repeat(4, 1fr); }

.post-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	border-color: var(--border-light);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	background: var(--bg-card-hover);
}

.post-card-thumb {
	aspect-ratio: 16/9;
	overflow: hidden;
	background: var(--bg-subtle);
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-body {
	padding: 1.125rem;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	flex: 1;
}

.post-card-cat { margin-bottom: 0.125rem; }

.post-card-title {
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--white);
}

.post-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

.post-card-title a:hover { color: var(--accent); }

.post-card-excerpt {
	font-size: 0.8125rem;
	color: var(--text-muted);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: var(--text-dim);
	margin-top: auto;
	padding-top: 0.5rem;
	border-top: 1px solid var(--border);
}


/* ============================================================
   CATEGORY FILTER TABS
   ============================================================ */
.cat-tabs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.cat-tab {
	padding: 0.375rem 0.875rem;
	border-radius: 100px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-muted);
	border: 1px solid var(--border);
	background: none;
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
}

.cat-tab:hover,
.cat-tab.is-active {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-glow);
}

/* ============================================================
   YOUTUBE SECTION
   ============================================================ */
.yt-section {
	background: var(--bg-subtle);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.yt-inner {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 3rem;
	align-items: center;
}

.yt-embed {
	position: relative;
	aspect-ratio: 16/9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-card);
	box-shadow: var(--shadow-lg);
}

.yt-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.yt-info { }

.yt-eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.yt-info h2 {
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	margin-bottom: 0.875rem;
}

.yt-info p {
	color: var(--text-muted);
	font-size: 0.9375rem;
	margin-bottom: 1.5rem;
}

.yt-sub-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #FF0000;
	color: #fff;
	padding: 0.625rem 1.25rem;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: all var(--transition);
}

.yt-sub-btn:hover { background: #CC0000; color: #fff; transform: translateY(-1px); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3rem;
	align-items: start;
}

.post-header { margin-bottom: 2rem; }

.post-header .cat-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.post-title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	margin-bottom: 1.25rem;
	letter-spacing: -0.03em;
}

.post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.25rem;
	font-size: 0.875rem;
	color: var(--text-muted);
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 2rem;
}

.post-meta span { display: flex; align-items: center; gap: 0.35rem; }

.post-featured-image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 2.5rem;
	aspect-ratio: 16/9;
}

.post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Post content styles */
.post-content {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: var(--text);
}

.post-content h2 {
	font-size: 1.625rem;
	margin: 2.5rem 0 1rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--border);
}

.post-content h3 {
	font-size: 1.25rem;
	margin: 2rem 0 0.75rem;
}

.post-content h4 { font-size: 1.0625rem; margin: 1.5rem 0 0.5rem; }

.post-content p { margin-bottom: 1.5rem; }

.post-content a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-color: rgba(0,200,255,.3);
}

.post-content a:hover {
	text-decoration-color: var(--accent);
	color: var(--white);
}

.post-content ul,
.post-content ol {
	margin: 1.25rem 0 1.5rem 1.5rem;
	list-style: revert;
}

.post-content li { margin-bottom: 0.5rem; }

.post-content blockquote {
	border-left: 3px solid var(--accent);
	padding: 0.875rem 1.25rem;
	background: var(--bg-card);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	margin: 1.75rem 0;
	font-style: italic;
	color: var(--text-muted);
}

.post-content img {
	border-radius: var(--radius);
	margin: 1.5rem 0;
}

.post-content code {
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 0.15em 0.45em;
	border-radius: 4px;
	font-family: var(--font-mono);
	font-size: 0.875em;
	color: var(--accent);
}

.post-content pre {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.post-content pre code {
	background: none;
	border: none;
	padding: 0;
	color: var(--text);
}

.post-content .wp-block-image { margin: 1.5rem 0; }

/* Video embed in post */
.post-content .wp-block-embed {
	margin: 2rem 0;
}

.post-content .wp-block-embed__wrapper {
	position: relative;
	aspect-ratio: 16/9;
	border-radius: var(--radius);
	overflow: hidden;
}

.post-content .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: 80px; }

.widget {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
	margin-bottom: 1.5rem;
}

.widget-title {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-dim);
	margin-bottom: 1rem;
	padding-bottom: 0.625rem;
	border-bottom: 1px solid var(--border);
}

/* Recent posts widget */
.widget-posts { display: flex; flex-direction: column; gap: 0.875rem; }

.widget-post {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 0.75rem;
	align-items: start;
}

.widget-post-thumb {
	aspect-ratio: 1;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--bg-subtle);
}

.widget-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.widget-post-title {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--text);
}

.widget-post-title a { color: inherit; }
.widget-post-title a:hover { color: var(--accent); }

.widget-post-date {
	font-size: 0.6875rem;
	color: var(--text-dim);
	margin-top: 0.25rem;
}

/* Category widget */
.widget-cats { display: flex; flex-direction: column; gap: 0.375rem; }

.widget-cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.4rem 0.625rem;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	color: var(--text-muted);
	transition: all var(--transition);
}

.widget-cat-link:hover {
	background: var(--bg-subtle);
	color: var(--accent);
}

.widget-cat-count {
	font-size: 0.75rem;
	color: var(--text-dim);
	background: var(--bg-subtle);
	padding: 0.1rem 0.4rem;
	border-radius: 100px;
}

/* Tags widget */
.widget-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.widget-tag {
	display: inline-block;
	padding: 0.25rem 0.625rem;
	border-radius: 100px;
	font-size: 0.75rem;
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	color: var(--text-muted);
	transition: all var(--transition);
}

.widget-tag:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================ */
.archive-header {
	padding: 3rem 0 2rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 3rem;
}

.archive-eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-dim);
	margin-bottom: 0.5rem;
}

.archive-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.archive-description {
	color: var(--text-muted);
	margin-top: 0.75rem;
	font-size: 1rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	margin-top: 3rem;
}

.pagination a,
.pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid var(--border);
	background: var(--bg-card);
	color: var(--text-muted);
	transition: all var(--transition);
}

.pagination a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.pagination .current {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}

/* ============================================================
   RELATED POSTS
   ============================================================ */
.related-posts {
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
	background: var(--bg-subtle);
	border-top: 1px solid var(--border);
	margin-top: 5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 3rem;
	padding: 3.5rem 0 2.5rem;
}

.footer-brand p {
	font-size: 0.875rem;
	color: var(--text-muted);
	line-height: 1.7;
	margin: 0.875rem 0 1.25rem;
}

.footer-heading {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-dim);
	margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-links a {
	font-size: 0.875rem;
	color: var(--text-muted);
	transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
	border-top: 1px solid var(--border);
	padding: 1.25rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.8125rem;
	color: var(--text-dim);
}

.social-links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius-sm);
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--text-muted);
	transition: all var(--transition);
}

.social-link svg { width: 16px; height: 16px; fill: currentColor; }
.social-link:hover { color: var(--white); border-color: var(--border-light); transform: translateY(-2px); }
.social-link--youtube:hover   { background: #FF0000; border-color: #FF0000; }
.social-link--twitter:hover   { background: #000; border-color: #333; }
.social-link--instagram:hover { background: #E1306C; border-color: #E1306C; }
.social-link--facebook:hover  { background: #1877F2; border-color: #1877F2; }
.social-link--tiktok:hover    { background: #010101; border-color: #69C9D0; }

/* ============================================================
   PAGE — STATIC / ABOUT
   ============================================================ */
.page-article {
	max-width: 800px;
	margin: 0 auto;
}

.page-header {
	padding: 3rem 0 2rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 3rem;
}

.page-content {
	font-size: 1.0625rem;
	line-height: 1.85;
}

.page-content h2 { margin: 2rem 0 1rem; }
.page-content p  { margin-bottom: 1.25rem; }

/* ============================================================
   BRANDS & PARTNERSHIPS PAGE
   ============================================================ */
.brands-intro {
	max-width: 720px;
	margin: 0 auto 3.5rem;
	text-align: center;
	color: var(--text-muted);
	font-size: 0.9375rem;
	line-height: 1.8;
}

.brands-intro p { margin-bottom: 1rem; }
.brands-intro strong { color: var(--white); }

.brand-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

/* Center a lone last card */
.brand-grid > :last-child:nth-child(odd) {
	grid-column: 1 / -1;
	max-width: calc(50% - 0.75rem);
	margin: 0 auto;
}

/* --- Shared card base --- */
.brand-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: border-color var(--transition);
}

.brand-card:hover { border-color: rgba(255,255,255,0.15); }

/* --- Option A: colored initial circle --- */
.brand-card-top {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.brand-initial {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--brand-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.375rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

/* --- Option C: accent top border --- */
.brand-card--c {
	border-top: 3px solid var(--brand-color);
}

/* --- Shared inner elements --- */
.brand-card-meta {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.brand-name {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--white);
	margin: 0;
}

/* Option C: name gets the brand color */
.brand-card--c .brand-name {
	color: var(--brand-color);
}

.brand-badge {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.2rem 0.5rem;
	border-radius: 2rem;
	align-self: flex-start;
}

.brand-badge--affiliate {
	background: rgba(0,200,255,0.1);
	color: var(--accent);
	border: 1px solid rgba(0,200,255,0.25);
}

.brand-badge--referral {
	background: rgba(248,113,113,0.1);
	color: #f87171;
	border: 1px solid rgba(248,113,113,0.25);
}

.brand-desc {
	font-size: 0.875rem;
	color: var(--text-muted);
	line-height: 1.7;
	flex: 1;
	margin: 0;
}

.brand-code {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.5rem 0.875rem;
}

.brand-code-label {
	font-size: 0.75rem;
	color: var(--text-dim);
	white-space: nowrap;
}

.brand-code-value {
	font-family: monospace;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--white);
	letter-spacing: 0.05em;
	background: none;
	border: none;
	padding: 0;
}

.brand-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--white);
	transition: background var(--transition), border-color var(--transition), color var(--transition);
	text-decoration: none;
	margin-top: auto;
}

.brand-cta:hover {
	background: var(--brand-color);
	border-color: var(--brand-color);
	color: #fff;
}

@media (max-width: 640px) {
	.brand-grid { grid-template-columns: 1fr; }
	.brand-grid > :last-child:nth-child(odd) {
		grid-column: auto;
		max-width: 100%;
		margin: 0;
	}
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-wrap { padding-bottom: 5rem; }

/* Shared buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1.375rem;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: all var(--transition);
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: #00aadd; color: var(--bg); }
.btn--ghost { border: 1px solid var(--border); color: var(--white); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); color: var(--white); }

/* Hero */
.about-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.about-hero__eyebrow {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--accent);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.about-hero__name {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 800;
	color: var(--white);
	letter-spacing: -0.03em;
	line-height: 1;
	margin-bottom: 1rem;
}
.about-hero__name span { color: var(--accent); }

.about-hero__tagline {
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 1.25rem;
}

.about-hero__intro {
	font-size: 0.9375rem;
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 2rem;
}

.about-hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.about-hero__photo { position: relative; }

.about-photo-placeholder {
	width: 100%;
	aspect-ratio: 6 / 7;
	background: var(--bg-card);
	border: 2px dashed var(--border);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	color: var(--text-dim);
}

.about-photo-placeholder p { margin: 0; font-size: 0.875rem; }
.about-photo-placeholder__dim {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--accent);
	letter-spacing: 0.05em;
}

.about-hero__photo img {
	width: 100%;
	aspect-ratio: 6 / 7;
	object-fit: cover;
	border-radius: var(--radius);
	display: block;
}

/* Shared section styles */
.about-section { padding: 4rem 0; border-top: 1px solid var(--border); }

.about-section__title {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--white);
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
}
.about-section__title--center { text-align: center; }

/* Story */
.about-section__inner {
	max-width: 720px;
	margin: 0 auto;
}
.about-section__body p {
	font-size: 1rem;
	color: var(--text-muted);
	line-height: 1.85;
	margin-bottom: 1.25rem;
}

/* Fleet */
.about-fleet__sub {
	text-align: center;
	color: var(--text-dim);
	font-size: 0.9375rem;
	margin-top: -0.75rem;
	margin-bottom: 2.5rem;
}

.fleet-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.fleet-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color var(--transition);
}
.fleet-card:hover { border-color: rgba(255,255,255,0.15); }

.fleet-card__img-wrap {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.fleet-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.fleet-card:hover .fleet-card__img-wrap img { transform: scale(1.03); }

.fleet-card__body { padding: 1.25rem; }

.fleet-card__badge {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--brand-color);
	margin-bottom: 0.5rem;
}

.fleet-card__name {
	font-size: 1rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 0.5rem;
}

.fleet-card__desc {
	font-size: 0.8125rem;
	color: var(--text-muted);
	line-height: 1.65;
	margin: 0;
}

/* Channel */
.about-channel { background: var(--bg-card); border-color: transparent; }

.about-channel__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4rem;
	align-items: center;
}

.about-channel__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 0.75rem;
}

.about-channel__text p {
	font-size: 0.9375rem;
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.about-channel__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 2rem;
}

.channel-stat { text-align: center; }

.channel-stat__num {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	color: var(--white);
	letter-spacing: -0.03em;
	line-height: 1;
}

.channel-stat__plus {
	font-size: 1.25rem;
	color: var(--accent);
}

.channel-stat__label {
	display: block;
	font-size: 0.75rem;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 0.375rem;
}

/* Why I Do This */
.about-why__inner { max-width: 860px; margin: 0 auto; }

.about-why__quote {
	font-size: clamp(1.125rem, 2.5vw, 1.375rem);
	font-weight: 600;
	color: var(--white);
	line-height: 1.6;
	border-left: 3px solid var(--accent);
	padding-left: 1.5rem;
	margin: 0 0 3rem;
	font-style: italic;
}

.about-why__points {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.about-why__point { text-align: center; }

.about-why__icon {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.about-why__point h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 0.5rem;
}

.about-why__point p {
	font-size: 0.875rem;
	color: var(--text-muted);
	line-height: 1.7;
	margin: 0;
}

/* About page responsive */
@media (max-width: 900px) {
	.fleet-grid { grid-template-columns: 1fr 1fr; }
	.about-channel__inner { grid-template-columns: 1fr; gap: 2rem; }
	.about-channel__stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
	.about-hero { grid-template-columns: 1fr; gap: 2rem; }
	.about-hero__photo { order: -1; }
	.fleet-grid { grid-template-columns: 1fr; }
	.about-why__points { grid-template-columns: 1fr; gap: 1.5rem; }
	.about-channel__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   JOIN PAGE — TWO-COLUMN LAYOUT
   ============================================================ */
.join-wrap {
	display: grid;
	grid-template-columns: 1fr 440px;
	gap: 4rem;
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
	padding: 5rem 2rem 5rem;
}

.join-intro {
	position: sticky;
	top: 5rem;
}

.join-intro__heading {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--white);
	margin: 0 0 1.5rem;
	line-height: 1.2;
}

.join-intro p {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--text-dim);
	margin: 0 0 1rem;
}

.join-intro p:last-child {
	margin-bottom: 0;
}

.join-intro__note {
	font-size: 0.8125rem !important;
	color: var(--text-dim) !important;
	border-left: 2px solid var(--border);
	padding-left: 0.875rem;
	opacity: 0.7;
}

.join-form .auth-card {
	width: 100%;
}

/* Stack on smaller screens — form first */
@media (max-width: 860px) {
	.join-wrap {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 3rem 1.5rem;
	}

	.join-intro {
		position: static;
		order: 2;
	}

	.join-form {
		order: 1;
	}

	.join-intro__heading {
		font-size: 1.5rem;
	}

	.join-form .auth-card {
		max-width: none;
	}
}

/* ============================================================
   AUTH PAGES (LOGIN / JOIN)
   ============================================================ */
.auth-wrap {
	min-height: calc(100vh - 64px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem;
}

.auth-card {
	width: 100%;
	max-width: 440px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2.5rem;
}

.auth-brand {
	text-align: center;
	margin-bottom: 2rem;
}

.auth-brand .logo-text {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--white);
	text-decoration: none;
}

.auth-brand p {
	font-size: 0.875rem;
	color: var(--text-dim);
	margin-top: 0.375rem;
}

.auth-errors {
	background: rgba(248,113,113,0.08);
	border: 1px solid rgba(248,113,113,0.3);
	border-radius: var(--radius-sm);
	padding: 0.875rem 1rem;
	margin-bottom: 1.5rem;
}

.auth-errors p {
	font-size: 0.875rem;
	color: #f87171;
	margin: 0;
}

.auth-errors p + p { margin-top: 0.375rem; }
.auth-errors a { color: #f87171; text-decoration: underline; }

.auth-notice {
	background: rgba(0,200,255,0.08);
	border: 1px solid rgba(0,200,255,0.25);
	border-radius: var(--radius-sm);
	padding: 0.875rem 1rem;
	margin-bottom: 1.5rem;
}
.auth-notice p {
	font-size: 0.875rem;
	color: #00C8FF;
	margin: 0;
}
.auth-notice p + p { margin-top: 0.375rem; }

.account-info {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
}
.account-info__row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.625rem 1rem;
	font-size: 0.875rem;
}
.account-info__row + .account-info__row { border-top: 1px solid var(--border); }
.account-info__label {
	width: 4rem;
	flex-shrink: 0;
	color: var(--text-muted);
	font-size: 0.8125rem;
}
.account-info__value { color: var(--text-primary); }

.account-section-label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 0.75rem;
}

.auth-form { display: flex; flex-direction: column; gap: 1.25rem; }

.auth-field { display: flex; flex-direction: column; gap: 0.375rem; }

.auth-field label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.auth-hint {
	font-weight: 400;
	color: var(--text-dim);
	font-size: 0.75rem;
}

.auth-required {
	color: #f87171;
	font-weight: 600;
	margin-left: 0.125rem;
}

.auth-forgot {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--text-dim);
	text-decoration: none;
}
.auth-forgot:hover { color: var(--accent); }

.auth-field input {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--white);
	font-size: 0.9375rem;
	padding: 0.625rem 0.875rem;
	width: 100%;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-field input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.auth-field input::placeholder { color: var(--text-dim); }

/* Preferences checkboxes */
.auth-prefs {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.25rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.auth-prefs__label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 0.25rem;
}

.auth-check {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	cursor: pointer;
}

.auth-check input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

.auth-check__box {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border: 2px solid var(--border);
	border-radius: 4px;
	background: var(--bg-card);
	margin-top: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition);
}

.auth-check input:checked + .auth-check__box {
	background: var(--accent);
	border-color: var(--accent);
}

.auth-check input:checked + .auth-check__box::after {
	content: '';
	display: block;
	width: 5px;
	height: 9px;
	border: 2px solid var(--bg);
	border-top: none;
	border-left: none;
	transform: rotate(45deg) translate(-1px, -1px);
}

.auth-check__text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.auth-check__text strong {
	font-size: 0.875rem;
	color: var(--white);
	font-weight: 600;
}

.auth-check__text em {
	font-size: 0.75rem;
	color: var(--text-dim);
	font-style: normal;
}

/* Remember me row */
.auth-remember {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	cursor: pointer;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.auth-remember input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

.auth-remember .auth-check__box { margin-top: 0; }
.auth-remember input:checked + .auth-check__box { background: var(--accent); border-color: var(--accent); }
.auth-remember input:checked + .auth-check__box::after { content: ''; display: block; width: 5px; height: 9px; border: 2px solid var(--bg); border-top: none; border-left: none; transform: rotate(45deg) translate(-1px, -1px); }

.auth-submit {
	width: 100%;
	background: var(--accent);
	color: var(--bg);
	border: none;
	border-radius: var(--radius-sm);
	padding: 0.75rem;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--transition);
}

.auth-submit:hover { background: #00aadd; }

.auth-switch {
	text-align: center;
	font-size: 0.8125rem;
	color: var(--text-dim);
	margin: 0;
}

.auth-switch a { color: var(--accent); }
.auth-switch a:hover { text-decoration: underline; }

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-header {
	padding: 3rem 0;
	border-bottom: 1px solid var(--border);
	margin-bottom: 3rem;
}

.search-form-large {
	display: flex;
	gap: 0.75rem;
	max-width: 560px;
	margin-top: 1.5rem;
}

.search-form-large input {
	flex: 1;
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	padding: 0.75rem 1rem;
	font-size: 1rem;
	font-family: var(--font);
	color: var(--text);
	outline: none;
	transition: border-color var(--transition);
}

.search-form-large input:focus { border-color: var(--accent); }
.search-form-large input::placeholder { color: var(--text-dim); }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-direction: column;
	gap: 1rem;
	padding: 4rem 1.5rem;
}

.page-404 .error-code {
	font-size: 8rem;
	font-weight: 900;
	color: var(--border-light);
	line-height: 1;
	letter-spacing: -0.05em;
}

.page-404 h1 { font-size: 1.75rem; }

.page-404 p { color: var(--text-muted); max-width: 400px; }

/* ============================================================
   SIDEBAR YOUTUBE WIDGET
   ============================================================ */
.widget--yt {
	background: #0f0f0f;
	border-color: #272727;
	text-align: center;
	padding: 1.5rem 1.25rem;
}

.widget-yt-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.widget-yt-wordmark {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.01em;
}

.widget-yt-logo svg {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.widget-yt-desc {
	font-size: 0.8125rem;
	color: #aaa;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.widget-yt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: #FF0000;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	font-family: var(--font);
	padding: 0.6rem 1.25rem;
	border-radius: var(--radius-sm);
	text-decoration: none;
	width: 100%;
	transition: background var(--transition);
}

.widget-yt-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.widget-yt-btn:hover {
	background: #cc0000;
	color: #fff;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area {
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--border);
}

.comments-title,
.comment-reply-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.comments-title::before,
.comment-reply-title::before {
	content: '';
	display: block;
	width: 3px;
	height: 1.1em;
	background: var(--accent);
	border-radius: 2px;
	flex-shrink: 0;
}

/* Comment list */
.comment-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 3rem;
}

.comment-list .children {
	margin-top: 1.25rem;
	margin-left: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	border-left: 2px solid var(--border);
	padding-left: 1.5rem;
}

.comment-body {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.875rem;
	flex-wrap: wrap;
}

.comment-author .fn {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--white);
	font-style: normal;
}

.comment-author a { color: inherit; }

.comment-metadata a {
	font-size: 0.75rem;
	color: var(--text-dim);
	text-decoration: none;
}

.comment-metadata a:hover { color: var(--accent); }

.comment-content p {
	font-size: 0.9375rem;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
	line-height: 1.7;
}

.comment-content p:last-child { margin-bottom: 0; }

.reply {
	margin-top: 0.75rem;
}

.comment-reply-link {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-dim);
	transition: color var(--transition);
}

.comment-reply-link:hover { color: var(--accent); }

.bypostauthor > .comment-body {
	border-color: var(--accent);
}

/* Comment form */
.comment-respond {
	margin-top: 2.5rem;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.comment-form label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 0.375rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.625rem 0.875rem;
	font-size: 0.9375rem;
	font-family: var(--font);
	color: var(--text);
	outline: none;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--text-dim); }

.comment-form textarea { resize: vertical; min-height: 130px; }

.comment-form-author,
.comment-form-email,
.comment-form-url { flex: 1; }

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
	display: flex;
	flex-direction: column;
}

.comment-fields-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.form-submit { margin-top: 0.25rem; }

.comment-form input[type="submit"] {
	background: var(--accent);
	color: var(--bg);
	border: none;
	border-radius: var(--radius-sm);
	padding: 0.625rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	font-family: var(--font);
	cursor: pointer;
	transition: all var(--transition);
	width: auto;
}

.comment-form input[type="submit"]:hover {
	background: var(--white);
}

.comment-notes,
.logged-in-as {
	font-size: 0.8125rem;
	color: var(--text-dim);
}

.logged-in-as a { color: var(--accent); }

/* ============================================================
   ACCENT GLOW EFFECT
   ============================================================ */
.glow-line {
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	opacity: 0.4;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.post-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.yt-inner { grid-template-columns: 1fr; gap: 2rem; }
	.yt-embed { max-width: 640px; }
	.post-layout { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.featured-post-card { grid-template-columns: 1fr; }
	.featured-post-image { min-height: 260px; position: relative; }
	.featured-post-body { padding: 2rem; }
}

@media (max-width: 768px) {
	.post-grid { grid-template-columns: 1fr; }
	.post-grid--2 { grid-template-columns: 1fr; }


	.footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.footer-bottom { flex-direction: column; text-align: center; }

	.header-search { display: none; }

	.header-inner {
		grid-template-columns: auto 1fr auto;
	}

	.nav-toggle {
		display: flex;
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	.site-logo {
		grid-column: 2;
		justify-self: center;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		padding: 1rem 1.5rem;
	}

	.main-nav.is-open { display: block; }

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
	}

	.main-nav a {
		padding: 0.625rem 0.75rem;
		border-radius: var(--radius-sm);
	}

	.main-nav .current-menu-item > a,
	.main-nav .current_page_item > a,
	.main-nav .is-active > a {
		background: var(--bg-card);
	}
}

@media (max-width: 480px) {
	.featured-post-body { padding: 1.5rem; }

	.cat-tabs { gap: 0.375rem; }
	.cat-tab { font-size: 0.75rem; padding: 0.3rem 0.625rem; }
}
