/**
 * DarkVid — main stylesheet
 * Dark-mode video player theme. Black & red.
 */

:root {
	--bg: #0a0a0b;
	--bg-alt: #101013;
	--surface: #141417;
	--surface-2: #1a1a1f;
	--border: #26262c;
	--text: #f2f2f4;
	--text-muted: #9a9aa3;
	--accent: #e50914;
	--accent-hover: #f6121d;
	--accent-soft: rgba(229, 9, 20, 0.12);
	--radius: 8px;
	--radius-sm: 6px;
	--header-h: 64px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-content {
	padding: 40px 0 60px;
}

.site-content--single {
	max-width: 860px;
}

.site-content--page {
	max-width: 780px;
}

.content-area {
	min-width: 0;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--text);
}

.site-logo__mark {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: var(--accent);
	position: relative;
	flex-shrink: 0;
}

.site-logo__mark::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 0;
	height: 0;
	border-left: 8px solid var(--text);
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	transform: translateX(1px);
}

.site-logo__text {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.5px;
}

.custom-logo-link img {
	max-height: 40px;
	width: auto;
}

/* ---------- Nav ---------- */

.primary-nav .nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu li {
	position: relative;
}

.nav-menu a {
	display: block;
	padding: 8px 14px;
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-radius: var(--radius-sm);
	transition: color 0.15s, background 0.15s;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: var(--text);
	background: var(--surface-2);
}

.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	list-style: none;
	margin: 0;
	padding: 6px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
	z-index: 50;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-menu .sub-menu a {
	padding: 8px 12px;
}

/* ---------- Header search ---------- */

.header-search {
	display: flex;
	align-items: center;
	gap: 0;
	margin-left: auto;
}

.primary-nav {
	margin-left: 24px;
}

.header-search input[type="search"] {
	width: 200px;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-right: 0;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	color: var(--text);
	padding: 8px 12px;
	font-size: 13px;
	font-family: inherit;
	transition: width 0.2s, border-color 0.15s;
}

.header-search input[type="search"]:focus {
	outline: none;
	border-color: var(--accent);
	width: 240px;
}

.header-search input[type="search"]::placeholder {
	color: var(--text-muted);
}

.header-search button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--text-muted);
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s;
}

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

.nav-search {
	display: none;
	margin-top: 12px;
}

.nav-search input[type="search"] {
	width: 100%;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: 11px 14px;
	font-size: 14px;
	font-family: inherit;
}

.nav-search input[type="search"]:focus {
	outline: none;
	border-color: var(--accent);
}

/* ---------- Single video page ---------- */

.site-layout--single {
	padding-top: 32px;
}

.site-layout--single .site-content--single {
	max-width: none;
	padding: 0;
}

.site-sidebar--single {
	display: block;
}

@media (min-width: 961px) {
	.site-sidebar--single {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

.site-sidebar--single .ad-banner {
	min-height: 250px;
	flex-direction: column;
}

.single-post .entry-content--video-first {
	margin-bottom: 0;
}

.single-post .entry-content--video-first .wp-block-embed,
.single-post .entry-content--video-first iframe,
.single-post .entry-content--video-first video {
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-header--below {
	margin-top: 20px;
}

.entry-views,
.entry-runtime {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.entry-views svg {
	flex-shrink: 0;
}

/* Model links under the title */

.entry-models {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}

.entry-models__label {
	font-size: 13px;
	color: var(--text-muted);
}

.entry-models__link {
	display: inline-block;
	background: var(--accent-soft);
	border: 1px solid rgba(229, 9, 20, 0.35);
	color: var(--accent-hover);
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s;
}

.entry-models__link:hover {
	background: rgba(229, 9, 20, 0.22);
}

/* Collapsible SEO description */

.seo-desc {
	margin-top: 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.seo-desc summary {
	cursor: pointer;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-muted);
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.15s;
}

.seo-desc summary::-webkit-details-marker {
	display: none;
}

.seo-desc summary::before {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
	transition: transform 0.15s;
	flex-shrink: 0;
}

.seo-desc[open] summary {
	color: var(--text);
	border-bottom: 1px solid var(--border);
}

.seo-desc[open] summary::before {
	transform: rotate(45deg);
}

.seo-desc__body {
	padding: 14px 16px;
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.7;
}

.seo-desc__body p {
	margin: 0 0 0.8em;
}

.seo-desc__body p:last-child {
	margin-bottom: 0;
}

/* Suggested videos */

.suggested-videos {
	padding-top: 0;
	padding-bottom: 60px;
}

.suggested-videos .section-header {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

/* ---------- Search: model results ---------- */

.search-models {
	margin-bottom: 32px;
}

.search-models .section-title {
	margin-bottom: 16px;
}

.search-models__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.search-model-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 8px 16px;
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: border-color 0.15s;
}

.search-model-chip span {
	font-size: 12px;
	font-weight: 400;
	color: var(--text-muted);
}

.search-model-chip:hover {
	border-color: var(--accent);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}

.nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	min-height: 480px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.hero__backdrop {
	position: absolute;
	inset: 0;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
}

.hero__backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, var(--bg) 0%, rgba(10,10,11,0.4) 50%, rgba(10,10,11,0.7) 100%);
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(229, 9, 20, 0.15), transparent 55%);
}

.hero__content {
	position: relative;
	z-index: 2;
	padding-bottom: 56px;
	max-width: 720px;
}

.hero__badge {
	display: inline-block;
	padding: 4px 12px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 999px;
	margin-bottom: 14px;
}

.hero__title {
	font-size: clamp(28px, 5vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}

.hero__title a {
	color: var(--text);
	text-decoration: none;
}

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

.hero__excerpt {
	color: var(--text-muted);
	font-size: 17px;
	margin: 0 0 24px;
	max-width: 560px;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	font-size: 15px;
	font-weight: 600;
	border-radius: var(--radius-sm);
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:active {
	transform: scale(0.98);
}

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

.btn--primary:hover {
	background: var(--accent-hover);
	color: #fff;
}

.btn--ghost {
	background: var(--surface-2);
	color: var(--text);
	border-color: var(--border);
}

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

/* ---------- Section headers ---------- */

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.section-title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
}

.section-title::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 22px;
	background: var(--accent);
	border-radius: 2px;
	margin-right: 10px;
	vertical-align: -3px;
}

.page-header {
	margin-bottom: 32px;
}

.page-title {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 8px;
}

.archive-description {
	color: var(--text-muted);
}

/* ---------- Video grid ---------- */

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

/* ---------- Ad banners ---------- */

.ad-banner-wrap {
	margin: 0 0 40px;
}

.ad-banner-wrap--bottom {
	margin: 64px 0 0;
}

.ad-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
	max-width: 728px;
	margin: 0 auto;
	min-height: 90px;
	background: var(--surface);
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	color: var(--text-muted);
	font-size: 13px;
}

.ad-banner__label {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
}

.ad-banner__size {
	font-size: 12px;
	opacity: 0.7;
}

.ad-slot {
	min-height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ad-slot iframe,
.ad-slot img {
	max-width: 100%;
}

/* ---------- Video grid variants ---------- */

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

@media (max-width: 1100px) {
	.video-grid--4col {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 760px) {
	.video-grid--4col {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Video card extras ---------- */

.video-card__runtime {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: rgba(10, 10, 11, 0.85);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 4px;
	letter-spacing: 0.03em;
}

.video-card__views {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.video-card__views svg {
	flex-shrink: 0;
}

/* ---------- Models ---------- */

.models-section {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--border);
}

.section-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-muted);
	text-decoration: none;
}

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

.models-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 20px;
}

.model-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: var(--text);
	text-align: center;
	gap: 8px;
	padding: 12px 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color 0.15s;
}

.model-card:hover {
	border-color: rgba(229, 9, 20, 0.5);
}

.model-card__photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--surface-2);
	border: 2px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s;
}

.model-card:hover .model-card__photo {
	border-color: var(--accent);
}

.model-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.model-card__initial {
	font-size: 36px;
	font-weight: 800;
	color: var(--accent);
}

.model-card__name {
	font-size: 14px;
	font-weight: 700;
}

.model-card__count {
	font-size: 12px;
	color: var(--text-muted);
}

/* ---------- Models index (pills) ---------- */

.model-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.model-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 9px 18px;
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	transition: border-color 0.15s, background 0.15s;
}

.model-pill:hover {
	border-color: var(--accent);
	background: var(--accent-soft);
}

.model-pill__count {
	font-size: 11px;
	font-weight: 500;
	color: var(--text-muted);
	background: var(--surface-2);
	border-radius: 999px;
	padding: 2px 8px;
}

.model-pill:hover .model-pill__count {
	color: var(--accent-hover);
}

/* ---------- Model archive header ---------- */

.model-header {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 32px;
}

.model-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.model-hero .model-header {
	margin-bottom: 0;
	flex: 1 1 300px;
}

.model-hero .ad-banner-wrap {
	margin: 0;
	flex: 1 1 480px;
}

.model-hero .ad-banner {
	min-height: 110px;
}

.model-header__photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--surface-2);
	border: 2px solid var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.model-header__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.model-header__photo .model-card__initial {
	font-size: 36px;
}

.model-header__info .page-title {
	margin-bottom: 4px;
}

@media (max-width: 600px) {
	.model-header {
		gap: 16px;
	}
}

/* ---------- Video cards ---------- */

.video-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.15s;
}

.video-card:hover {
	border-color: rgba(229, 9, 20, 0.5);
}

.video-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.video-card__thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--surface-2);
	overflow: hidden;
}

.video-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--border);
	background: linear-gradient(135deg, var(--surface-2), var(--bg-alt));
}

.video-card__play {
	position: absolute;
	inset: 0;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	opacity: 0.55;
	padding-left: 3px;
	transition: opacity 0.15s;
	pointer-events: none;
}

.video-card:hover .video-card__play {
	opacity: 1;
}

.video-card__body {
	padding: 16px;
}

.video-card__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-card__excerpt {
	font-size: 14px;
	color: var(--text-muted);
	margin: 0 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--text-muted);
}

.video-card__category {
	color: var(--accent-hover);
	font-weight: 600;
}

/* ---------- Single post ---------- */

.single-post .entry-header {
	margin-bottom: 24px;
}

.entry-title {
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 12px;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.entry-meta a {
	color: var(--text-muted);
	text-decoration: none;
}

.entry-meta a:hover {
	color: var(--accent-hover);
}

.entry-thumbnail {
	margin-bottom: 24px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
}

.entry-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* ---------- Entry content ---------- */

.entry-content {
	font-size: 17px;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content p {
	margin: 0 0 1.4em;
}

.entry-content a {
	color: var(--accent-hover);
}

.entry-content a:hover {
	text-decoration: underline;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 12px 20px;
	border-left: 3px solid var(--accent);
	background: var(--surface);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content pre {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px;
	overflow-x: auto;
}

.entry-content code {
	background: var(--surface-2);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}

.entry-content pre code {
	background: none;
	padding: 0;
}

/* Video embeds get a red accent frame */
.entry-content .wp-block-embed,
.entry-content iframe,
.entry-content video {
	border-radius: var(--radius);
}

.entry-content .wp-block-embed {
	margin: 1.5em 0;
}

.page-links {
	margin-top: 2em;
}

.entry-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.entry-tags {
	font-size: 14px;
	color: var(--text-muted);
}

.entry-tags a {
	display: inline-block;
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text-muted);
	padding: 3px 10px;
	border-radius: 999px;
	text-decoration: none;
	margin: 2px 4px 2px 0;
	font-size: 13px;
}

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

.tags-label {
	font-weight: 600;
	color: var(--text);
}

/* ---------- Pagination ---------- */

.pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.pagination .nav-links {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: border-color 0.15s, color 0.15s;
}

.pagination .page-numbers:hover {
	border-color: var(--accent);
	color: var(--text);
}

.pagination .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

/* ---------- Sidebar layout ---------- */

.site-sidebar {
	display: none;
}

@media (min-width: 961px) {
	.site-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 40px;
		align-items: start;
	}

	.site-layout .site-sidebar {
		display: block;
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

.widget {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 24px;
}

.widget-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
}

.widget li:last-child {
	border-bottom: 0;
}

.widget a {
	color: var(--text);
	text-decoration: none;
}

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

.widget-posts__date {
	display: block;
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 2px;
}

/* Search form */

.search-form {
	display: flex;
	gap: 8px;
}

.search-form input[type="search"],
.search-form input[type="text"] {
	flex: 1;
	min-width: 0;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: 10px 14px;
	font-size: 14px;
	font-family: inherit;
}

.search-form input:focus {
	outline: none;
	border-color: var(--accent);
}

.search-form button,
.search-submit {
	background: var(--accent);
	color: #fff;
	border: 0;
	border-radius: var(--radius-sm);
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

.search-form button:hover {
	background: var(--accent-hover);
}

/* ---------- Comments ---------- */

.comments-area {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.comments-title {
	font-size: 20px;
	margin: 0 0 24px;
}

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comment {
	display: flex;
	gap: 14px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}

.comment .avatar {
	border-radius: 50%;
	flex-shrink: 0;
}

.comment-meta {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 6px;
}

.comment-meta .fn {
	color: var(--text);
	font-weight: 600;
}

.comment-content {
	font-size: 15px;
}

.comment-content p {
	margin: 0 0 0.8em;
}

.children {
	list-style: none;
	margin: 16px 0 0;
	padding-left: 20px;
	border-left: 2px solid var(--border);
}

.comment-respond {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
}

.comment-respond .comment-reply-title {
	font-size: 18px;
	margin: 0 0 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	padding: 10px 14px;
	font-size: 14px;
	font-family: inherit;
	margin-bottom: 12px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.comment-form .submit {
	background: var(--accent);
	color: #fff;
	border: 0;
	border-radius: var(--radius-sm);
	padding: 11px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

.comment-form .submit:hover {
	background: var(--accent-hover);
}

.logged-in-as {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 12px;
}

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

/* ---------- 404 / no results ---------- */

.site-content--404,
.no-results {
	text-align: center;
	padding: 80px 20px;
}

.error-code {
	font-size: 96px;
	font-weight: 800;
	color: var(--accent);
	margin: 0;
	line-height: 1;
}

.no-results .search-form {
	max-width: 480px;
	margin: 24px auto 0;
}

/* ---------- Footer ---------- */

.site-footer {
	border-top: 1px solid var(--border);
	background: var(--bg-alt);
	padding: 48px 0 32px;
	margin-top: 40px;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
	margin-bottom: 40px;
}

.footer-widgets .widget {
	background: none;
	border: 0;
	padding: 0;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	font-size: 14px;
	color: var(--text-muted);
}

.copyright a {
	color: var(--text);
	text-decoration: none;
}

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

.footer-menu {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
}

.footer-menu a:hover {
	color: var(--text);
}

/* ---------- Utilities ---------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.header-search {
		display: none;
	}

	.nav-search {
		display: block;
	}

	.primary-nav {
		margin-left: 0;
	}

	.nav-toggle {
		display: flex;
	}

	.primary-nav {
		position: absolute;
		top: var(--header-h);
		left: 0;
		right: 0;
		background: var(--bg-alt);
		border-bottom: 1px solid var(--border);
		padding: 12px 20px 20px;
		display: none;
	}

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

	.primary-nav .nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.primary-nav .nav-menu a {
		padding: 12px 14px;
	}

	.primary-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: none;
		padding: 0 0 0 16px;
	}

	.hero {
		min-height: 380px;
	}
}

/* ---------- Mirrors dropdown ---------- */

.primary-nav {
	display: flex;
	align-items: center;
}

.nav-mirrors {
	position: relative;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.nav-mirrors__toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 14px;
	background: none;
	border: 0;
	border-radius: var(--radius-sm);
	color: var(--text-muted);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: color 0.15s, background 0.15s;
}

.nav-mirrors__toggle:hover,
.nav-mirrors.is-open .nav-mirrors__toggle {
	color: var(--text);
	background: var(--surface-2);
}

.nav-mirrors__toggle svg {
	transition: transform 0.15s;
}

.nav-mirrors.is-open .nav-mirrors__toggle svg {
	transform: rotate(180deg);
}

.nav-mirrors__list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
	z-index: 60;
}

.nav-mirrors.is-open .nav-mirrors__list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-mirrors__list a {
	display: block;
	padding: 8px 12px;
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	border-radius: var(--radius-sm);
	transition: color 0.15s, background 0.15s;
}

.nav-mirrors__list a:hover {
	color: var(--text);
	background: var(--surface-2);
}

@media (max-width: 960px) {
	.nav-mirrors {
		display: block;
	}

	.nav-mirrors__toggle {
		width: 100%;
		justify-content: flex-start;
		padding: 12px 14px;
	}

	.nav-mirrors__list {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: none;
		padding: 0 0 0 16px;
		display: none;
	}

	.nav-mirrors.is-open .nav-mirrors__list {
		display: block;
	}
}

/* Re-assert mobile nav behaviour (appended rules must not break it) */
@media (max-width: 960px) {
	.primary-nav {
		display: none;
	}

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

/* ---------- Model photo gallery ---------- */

.model-gallery-preview {
	margin: 8px 0 32px;
}

.model-img-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.model-img {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--surface-2);
}

.model-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.model-img:hover img {
	transform: scale(1.04);
}

.model-gallery-preview__more {
	margin-top: 16px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr) );
	gap: 18px;
	margin: 24px 0 40px;
}

.gallery-item {
	margin: 0;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--surface-2);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.gallery-item:hover img {
	transform: scale(1.04);
}

.model-gallery__nav {
	margin-bottom: 20px;
}

.model-gallery__nav a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
}

.model-gallery__nav a:hover {
	color: var(--accent-hover);
}

.model-gallery__pagination {
	margin-top: 8px;
}

@media (max-width: 760px) {
	.model-img-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Lightbox ---------- */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox[hidden] {
	display: none;
}

.lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
}

.lightbox__img {
	position: relative;
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: var(--radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: 0;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.8;
}

.lightbox__close:hover {
	opacity: 1;
}

.lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(20, 20, 23, 0.8);
	border: 1px solid var(--border);
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.lightbox__nav svg {
	display: block;
}

.lightbox__nav:hover {
	background: var(--accent);
	border-color: var(--accent);
}

.lightbox__nav--prev {
	left: 16px;
}

.lightbox__nav--next {
	right: 16px;
}

.lightbox__counter {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--text-muted);
	font-size: 13px;
	background: rgba(10, 10, 11, 0.7);
	padding: 4px 12px;
	border-radius: 999px;
}

.gallery-item__link {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

/* ---------- Square ad row ---------- */

.ad-squares {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 728px;
	margin: 0 auto;
	width: 100%;
}

.ad-square {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--surface);
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--text-muted);
	font-size: 12px;
	overflow: hidden;
}

.ad-square img,
.ad-square iframe {
	max-width: 100%;
	max-height: 100%;
}

@media (max-width: 760px) {
	.ad-squares {
		grid-template-columns: 1fr;
	}

	.ad-square {
		aspect-ratio: 16 / 9;
	}
}

/* ---------- Live search suggestions ---------- */

.header-search,
.nav-search {
	position: relative;
}

.search-suggestions {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	min-width: 300px;
	max-height: 400px;
	overflow-y: auto;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
	z-index: 300;
}

.ss-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	color: var(--text);
	text-decoration: none;
}

.ss-item:hover,
.ss-item.is-active {
	background: var(--surface-2);
}

.ss-thumb {
	width: 96px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 4px;
	background: var(--surface-2);
	flex-shrink: 0;
	display: block;
}

.ss-thumb--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
}

.ss-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ss-title {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ss-meta {
	font-size: 11px;
	color: var(--text-muted);
}

.ss-type {
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--accent-hover);
}

/* Desktop search box sits at the right edge — align dropdown to its right. */
.header-search .search-suggestions {
	left: auto;
	right: 0;
}
