/*
Theme Name: VmaxTheme
Theme URI: https://vmaxtrailers.online/
Author: Vmax Trailers
Description: Minimal cinematic theme for the Vmax homepage and sample video catalog.
Version: 1.0.0
Text Domain: vmaxtheme
*/

:root {
	color-scheme: dark;
	--vmax-bg: #050816;
	--vmax-bg-soft: #0a1022;
	--vmax-surface: rgba(10, 16, 34, 0.78);
	--vmax-surface-strong: rgba(15, 23, 42, 0.92);
	--vmax-border: rgba(148, 163, 184, 0.18);
	--vmax-text: #e2e8f0;
	--vmax-muted: #94a3b8;
	--vmax-accent: #7dd3fc;
	--vmax-accent-strong: #38bdf8;
	--vmax-shadow: 0 26px 80px rgba(2, 6, 23, 0.45);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 34%),
		radial-gradient(circle at 80% 10%, rgba(244, 114, 182, 0.10), transparent 22%),
		var(--vmax-bg);
	color: var(--vmax-text);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.vmax-site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.vmax-site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(18px);
	background: rgba(2, 6, 23, 0.72);
	border-bottom: 1px solid var(--vmax-border);
}

.vmax-site-header__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.vmax-brand {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.vmax-brand__name {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.vmax-brand__tagline {
	font-size: 0.86rem;
	color: var(--vmax-muted);
}

.vmax-site-actions {
	display: flex;
	gap: 0.55rem;
	align-items: center;
	flex-wrap: wrap;
}

.vmax-site-actions a {
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--vmax-border);
	background: rgba(15, 23, 42, 0.55);
	color: #dbeafe;
	font-size: 0.92rem;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.vmax-site-actions a:hover {
	border-color: rgba(125, 211, 252, 0.5);
	background: rgba(15, 23, 42, 0.8);
	transform: translateY(-1px);
}

.vmax-site-main {
	flex: 1;
}

.vmax-site-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	width: 100%;
}

.vmax-card-surface {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.92));
	border: 1px solid var(--vmax-border);
	border-radius: 28px;
	box-shadow: var(--vmax-shadow);
}

.vmax-page-content {
	padding: clamp(1rem, 2vw, 1.5rem);
}

.vmax-page-content :where(h1, h2, h3) {
	line-height: 1.15;
	margin-top: 0;
}

.vmax-page-content :where(p) {
	color: var(--vmax-text);
}

.vmax-page-title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4vw, 4rem);
}

.vmax-post-grid,
.vmax-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.vmax-post-card {
	overflow: hidden;
	border-radius: 22px;
	border: 1px solid var(--vmax-border);
	background: rgba(15, 23, 42, 0.76);
	box-shadow: 0 18px 54px rgba(2, 6, 23, 0.28);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.vmax-post-card:hover {
	transform: translateY(-3px);
	border-color: rgba(125, 211, 252, 0.34);
}

.vmax-post-card__media {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
	overflow: hidden;
}

.vmax-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vmax-post-card__body {
	padding: 1rem;
	display: grid;
	gap: 0.55rem;
}

.vmax-post-card__kicker {
	margin: 0;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vmax-accent);
}

.vmax-post-card__title {
	margin: 0;
	font-size: 1.15rem;
}

.vmax-post-card__excerpt {
	margin: 0;
	color: var(--vmax-muted);
	font-size: 0.95rem;
}

.vmax-post-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.85rem;
	color: var(--vmax-muted);
}

.vmax-empty-state {
	padding: 1.5rem;
	border-radius: 20px;
	border: 1px dashed rgba(148, 163, 184, 0.25);
	color: var(--vmax-muted);
	text-align: center;
}

.vmax-content-area {
	display: grid;
	gap: 1.25rem;
}

.vmax-feature-panel {
	padding: clamp(1.25rem, 2.5vw, 2rem);
}

.vmax-feature-panel__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vmax-accent);
}

.vmax-feature-panel__title {
	margin: 0;
	font-size: clamp(2.2rem, 4.4vw, 4.8rem);
	max-width: 12ch;
}

.vmax-feature-panel__lead {
	max-width: 68ch;
	color: var(--vmax-muted);
	font-size: 1.03rem;
}

.vmax-feature-panel__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.vmax-stat-chip {
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid var(--vmax-border);
	color: #dbeafe;
	font-size: 0.9rem;
}

.vmax-entry {
	background: transparent;
}

.vmax-entry .entry-content {
	margin-top: 0;
}

.vmax-entry .entry-content > * + * {
	margin-top: 1rem;
}

@media (max-width: 768px) {
	.vmax-site-header__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.vmax-site-actions {
		width: 100%;
	}

	.vmax-site-actions a {
		flex: 1 1 auto;
		text-align: center;
	}

	.vmax-site-container {
		padding-inline: 0.9rem;
	}
}
