/*
Theme Name: wowtheme
Theme URI: https://example.com/wowtheme
Author: WOW Theme
Description: A modern, cinematic WordPress theme for movie and streaming websites.
Version: 1.5.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: wowtheme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: entertainment, dark, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
	--wow-bg: #080a0f;
	--wow-surface: #11151d;
	--wow-surface-2: #171c26;
	--wow-text: #f7f8fb;
	--wow-muted: #9ca5b5;
	--wow-accent: #ff3d68;
	--wow-accent-2: #8b5cf6;
	--wow-line: rgba(255, 255, 255, .09);
	--wow-radius: 18px;
	--wow-shadow: 0 20px 50px rgba(0, 0, 0, .35);
	--wow-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--wow-text);
	background: var(--wow-bg);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wow-accent); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--wow-accent) 70%, white); outline-offset: 3px; }
.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;
}
.screen-reader-text:focus {
	top: 8px; left: 8px; z-index: 99999; width: auto; height: auto; padding: 12px 16px;
	color: var(--wow-bg); background: white; clip: auto; border-radius: 8px;
}
.wow-container { width: min(calc(100% - 40px), var(--wow-container)); margin-inline: auto; }
.site-main { min-height: 55vh; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(8, 10, 15, .78);
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(18px);
}
.site-header.is-scrolled { border-color: var(--wow-line); box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.header-inner { display: flex; align-items: center; min-height: 78px; gap: 32px; }
.site-branding { display: flex; align-items: center; flex: 0 0 auto; }
.custom-logo { width: auto; max-height: 44px; }
.site-title {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 1.38rem; font-weight: 900; letter-spacing: -.045em; text-transform: uppercase;
}
.site-title::before {
	content: ""; width: 30px; height: 30px; border-radius: 50%;
	background: conic-gradient(from 20deg, var(--wow-accent), var(--wow-accent-2), var(--wow-accent));
	box-shadow: inset 0 0 0 8px var(--wow-bg), 0 0 22px color-mix(in srgb, var(--wow-accent) 35%, transparent);
}
.primary-navigation { margin-left: auto; }
.primary-navigation ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.primary-navigation a {
	display: block; padding: 10px 13px; color: #d9deea; font-size: .9rem; font-weight: 650; border-radius: 9px;
}
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: white; background: var(--wow-surface-2); }
.header-search {
	display: flex; align-items: center; width: min(260px, 22vw); height: 44px;
	background: rgba(255,255,255,.06); border: 1px solid var(--wow-line); border-radius: 999px;
}
.header-search:focus-within { border-color: var(--wow-accent); }
.header-search input {
	width: 100%; min-width: 0; padding: 0 4px 0 17px; color: white; background: transparent; border: 0; outline: 0;
}
.header-search input::placeholder { color: #7f8898; }
.header-search button { display: grid; place-items: center; width: 44px; color: white; background: transparent; border: 0; cursor: pointer; }
.menu-toggle { display: none; padding: 8px; color: white; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: currentColor; }

.hero {
	position: relative; min-height: min(76vh, 760px); display: flex; align-items: flex-end; overflow: hidden;
	background: radial-gradient(circle at 75% 35%, #3c234a 0, #13101c 35%, #080a0f 76%);
}
.hero-slider { position: relative; height: clamp(620px, 76vh, 760px); overflow: hidden; background: var(--wow-bg); }
.hero-slider .hero-slide {
	position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .55s ease, visibility .55s ease;
}
.hero-slider .hero-slide.is-active { position: absolute; opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slider .hero-copy {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}
.hero-slider-controls {
	position: absolute; right: max(20px, calc((100vw - var(--wow-container)) / 2)); bottom: 34px; z-index: 5;
	display: flex; align-items: center; gap: 10px;
}
.hero-arrow, .hero-dot {
	color: white; background: rgba(17,21,29,.8); border: 1px solid rgba(255,255,255,.16);
	box-shadow: 0 8px 22px rgba(0,0,0,.24); backdrop-filter: blur(10px); cursor: pointer;
}
.hero-arrow { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.hero-arrow:hover { color: white; background: var(--wow-accent); border-color: var(--wow-accent); transform: translateY(-2px); }
.hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-dot { width: 9px; height: 9px; padding: 0; border-radius: 999px; }
.hero-dot.is-active { width: 27px; background: var(--wow-accent); border-color: var(--wow-accent); }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { background-position: center 25%; background-size: cover; opacity: .62; transform: scale(1.02); }
.hero-media::after {
	content: ""; background:
		linear-gradient(90deg, rgba(8,10,15,.98) 0%, rgba(8,10,15,.7) 43%, rgba(8,10,15,.12) 75%),
		linear-gradient(0deg, var(--wow-bg) 0%, transparent 43%);
}
.hero-content { position: relative; z-index: 2; width: min(700px, 72%); padding: 130px 0 90px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
	color: #ffc4d0; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--wow-accent); }
.hero h1 { max-width: 760px; margin: 0 0 18px; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .97; letter-spacing: -.065em; text-wrap: balance; }
.hero-copy { max-width: 620px; margin: 0 0 25px; color: #c6cbd5; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 28px; color: #dfe3eb; font-size: .9rem; }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.rating-pill { padding: 5px 10px; color: #111; background: #ffd35a; border-radius: 7px; font-weight: 850; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.wow-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 49px; padding: 0 21px; color: white; background: var(--wow-accent);
	border: 1px solid transparent; border-radius: 999px; font-weight: 800;
}
.wow-button:hover { color: white; background: color-mix(in srgb, var(--wow-accent) 82%, white); transform: translateY(-2px); }
.wow-button.secondary { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); backdrop-filter: blur(9px); }
.wow-button.secondary:hover { background: white; color: #111; }

.content-section { padding: 58px 0 18px; }
.home-content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 285px;
	gap: 46px;
	align-items: start;
	padding-bottom: 80px;
}
.home-main-column { min-width: 0; }
.home-main-column .content-section,
.home-main-column .advertisement-area-wide {
	width: 100%;
}
.home-content-layout > .sidebar { padding-top: 58px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-title { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.035em; }
.section-description { margin: 5px 0 0; color: var(--wow-muted); font-size: .92rem; }
.section-link { flex: none; color: #d8dde7; font-size: .88rem; font-weight: 750; }
.section-link:hover { transform: translateX(3px); }
.movie-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 25px 16px; }
.movie-card { min-width: 0; }
.movie-poster { position: relative; overflow: hidden; aspect-ratio: 2 / 3; background: var(--wow-surface-2); border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.movie-poster img { width: 100%; height: 100%; object-fit: cover; }
.movie-poster::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.72)); opacity: .55; }
.movie-card:hover .movie-poster { transform: translateY(-5px); box-shadow: var(--wow-shadow); }
.movie-card:hover .movie-poster img { transform: scale(1.035); }
.movie-poster, .movie-poster img { transition: transform .3s ease, box-shadow .3s ease; }
.card-badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 8px; color: white; background: var(--wow-accent); border-radius: 6px; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.card-rating { position: absolute; z-index: 2; right: 9px; bottom: 9px; padding: 4px 7px; color: #111; background: #ffd35a; border-radius: 6px; font-size: .72rem; font-weight: 850; }
.poster-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #596273; background: linear-gradient(145deg, #1b202b, #0e1118); font-weight: 900; letter-spacing: .16em; }
.movie-title { overflow: hidden; margin: 12px 2px 3px; color: #f7f8fb; font-size: .96rem; font-weight: 750; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.movie-meta { margin: 0 2px; color: var(--wow-muted); font-size: .78rem; }

.archive-header { padding: 76px 0 34px; border-bottom: 1px solid var(--wow-line); }
.archive-header h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.archive-description { max-width: 650px; margin-top: 14px; color: var(--wow-muted); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 46px; padding-block: 45px 80px; }
.sidebar .widget { padding: 20px; margin-bottom: 18px; background: var(--wow-surface); border: 1px solid var(--wow-line); border-radius: 14px; }
.widget-title { margin: 0 0 15px; font-size: 1rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li + li { margin-top: 8px; }
.widget a { color: #cbd1dc; font-size: .9rem; }
.widget select, .widget input { width: 100%; }
.widget_categories > ul {
	max-height: 520px;
	padding-right: 7px;
	overflow-y: auto;
	scrollbar-color: var(--wow-accent) var(--wow-surface-2);
	scrollbar-width: thin;
}
.widget_categories > ul > li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 43px;
	margin: 0;
	border-bottom: 1px solid var(--wow-line);
}
.widget_categories > ul > li:last-child { border-bottom: 0; }
.widget_categories > ul > li > a {
	flex: 1;
	min-width: 0;
	padding: 9px 0;
	overflow: hidden;
	color: #dce1ea;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.widget_categories > ul > li > a:hover { color: var(--wow-accent); transform: translateX(2px); }
.widget_categories .category-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 25px;
	padding: 0 7px;
	color: var(--wow-muted);
	background: var(--wow-surface-2);
	border: 1px solid var(--wow-line);
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 750;
}
.widget_categories .children { width: 100%; padding: 0 0 8px 14px; }

.single-hero { position: relative; min-height: 570px; display: flex; align-items: flex-end; overflow: hidden; }
.single-backdrop { position: absolute; inset: 0; background-position: center 20%; background-size: cover; opacity: .5; }
.single-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--wow-bg) 0%, rgba(8,10,15,.38) 52%, rgba(8,10,15,.6) 100%); }
.single-intro { position: relative; z-index: 2; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: end; padding-block: 120px 48px; }
.single-poster { overflow: hidden; aspect-ratio: 2 / 3; border-radius: var(--wow-radius); box-shadow: var(--wow-shadow); }
.single-poster img { width: 100%; height: 100%; object-fit: cover; }
.single-copy { min-width: 0; }
.single-copy h1 { margin: 0 0 15px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.single-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 34px; align-items: start; }
.single-storyline-title { margin: 0 0 10px; color: white; font-size: 1.2rem; line-height: 1.2; }
.single-copy .hero-copy { margin: 0; }
.single-hero-facts {
	display: block;
	padding: 14px 20px;
	background: rgba(17,21,29,.82);
	backdrop-filter: blur(12px);
}
.single-hero-facts div {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 12px;
	min-width: 0;
	padding: 10px 0;
	border-right: 0;
	border-bottom: 1px solid var(--wow-line);
}
.single-hero-facts div:last-child { border-bottom: 0; }
.single-hero-facts dt { margin: 0; }
.single-hero-facts dd { overflow-wrap: anywhere; }
.single-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 46px; padding-block: 28px 70px; }
.single-main-content { min-width: 0; }
.watch-shell { padding-block: 0 28px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .8fr); gap: 45px; }
.prose { min-width: 0; color: #c8ced9; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose h1, .prose h2, .prose h3 { color: white; line-height: 1.2; }
.prose a { color: var(--wow-accent); text-decoration: underline; }
.prose img { border-radius: 12px; }
.single-post .prose table {
	width: 100% !important;
	min-width: 620px;
	margin: 24px 0 !important;
	overflow: hidden;
	color: #dfe4ec !important;
	background: var(--wow-surface) !important;
	border: 1px solid var(--wow-line) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 14px;
	box-shadow: 0 16px 35px rgba(0, 0, 0, .22);
}
.single-post .prose table th {
	padding: 14px 16px !important;
	color: white !important;
	background: linear-gradient(135deg, var(--wow-accent), color-mix(in srgb, var(--wow-accent) 68%, var(--wow-accent-2))) !important;
	border: 0 !important;
	border-right: 1px solid rgba(255, 255, 255, .16) !important;
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .055em;
	text-align: left !important;
	text-transform: uppercase;
}
.single-post .prose table th:last-child { border-right: 0 !important; }
.single-post .prose table td {
	padding: 13px 16px !important;
	color: #d7dce6 !important;
	background: var(--wow-surface) !important;
	border: 0 !important;
	border-right: 1px solid var(--wow-line) !important;
	border-bottom: 1px solid var(--wow-line) !important;
	vertical-align: middle !important;
}
.single-post .prose table tr:nth-child(even) td { background: var(--wow-surface-2) !important; }
.single-post .prose table tr:hover td { background: color-mix(in srgb, var(--wow-accent) 8%, var(--wow-surface-2)) !important; }
.single-post .prose table td:last-child { border-right: 0 !important; }
.single-post .prose table tr:last-child td { border-bottom: 0 !important; }
.single-post .prose table td a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 13px;
	color: white !important;
	background: var(--wow-accent) !important;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 850;
	text-decoration: none !important;
	white-space: nowrap;
}
.single-post .prose table td a:hover {
	color: white !important;
	background: color-mix(in srgb, var(--wow-accent) 82%, white) !important;
	transform: translateY(-1px);
}
.single-post .prose table td[colspan] {
	padding: 15px 17px !important;
	color: #cdd3df !important;
	background: color-mix(in srgb, var(--wow-accent-2) 10%, var(--wow-surface)) !important;
	border-left: 3px solid var(--wow-accent-2) !important;
	font-size: .82rem;
	line-height: 1.55;
}
.fact-list { margin: 0; padding: 21px; background: var(--wow-surface); border: 1px solid var(--wow-line); border-radius: 14px; }
.fact-list div { display: grid; grid-template-columns: 105px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--wow-line); }
.fact-list div:last-child { border: 0; }
.fact-list dt { color: var(--wow-muted); font-size: .82rem; }
.fact-list dd { margin: 0; color: white; font-size: .86rem; font-weight: 650; }
.pagination { display: block; margin-top: 44px; }
.pagination .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	color: #dbe0e9;
	background: var(--wow-surface);
	border: 1px solid var(--wow-line);
	border-radius: 10px;
	font-size: .88rem;
	font-weight: 750;
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next { width: auto; padding-inline: 16px; }
.pagination .page-numbers.dots { min-width: 30px; padding: 0; background: transparent; border-color: transparent; }
.pagination .current, .pagination a:hover { color: white; background: var(--wow-accent); border-color: var(--wow-accent); transform: translateY(-2px); }
.wow-ad { width: min(calc(100% - 40px), var(--wow-container)); margin: 28px auto 0; text-align: center; }
.wow-ad img { display: inline-block; max-width: 100%; border-radius: 10px; }
.sidebar .wow-ad { width: 100%; margin: 0 0 18px; }
.advertisement-area { margin-top: 28px; margin-bottom: 28px; text-align: center; }
.advertisement-area-sidebar { width: 100%; margin: 0 0 18px; }
.advertisement-area-main { width: 100%; margin: 0 0 28px; }
.advertisement-widget { min-width: 0; margin: 0; padding: 0; background: transparent; border: 0; }
.advertisement-widget + .advertisement-widget { margin-top: 16px; }
.advertisement-widget img,
.advertisement-widget iframe { display: inline-block; max-width: 100%; border-radius: 10px; }
.advertisement-widget iframe { width: 100%; border: 0; }
.advertisement-widget ins { max-width: 100%; }

.empty-state { padding: 90px 20px; text-align: center; }
.empty-state h1 { margin: 0 0 10px; font-size: clamp(2.4rem, 7vw, 5.5rem); letter-spacing: -.06em; }
.empty-state p { color: var(--wow-muted); }
.site-footer { margin-top: 60px; border-top: 1px solid var(--wow-line); background: #06070a; }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding-block: 42px; }
.footer-brand { max-width: 520px; }
.footer-brand p { margin: 8px 0 0; color: var(--wow-muted); font-size: .88rem; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.footer-menu a { color: #bcc3d0; font-size: .85rem; }
.footer-bottom { padding: 18px 0; color: #737b89; border-top: 1px solid var(--wow-line); font-size: .78rem; }

@media (min-width: 901px) {
	.home-content-layout .movie-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.movie-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.header-search { width: 200px; }
	.primary-navigation a { padding-inline: 9px; }
}
@media (max-width: 900px) {
	.header-inner { min-height: 68px; gap: 12px; }
	.site-branding { order: 0; }
	.header-search { order: 1; flex: 1 1 0; width: auto; min-width: 180px; max-width: none; margin-left: auto; }
	.menu-toggle { order: 2; display: block; margin-left: 0; }
	.primary-navigation {
		position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 18px 20px 26px;
		background: rgba(8,10,15,.98); border-bottom: 1px solid var(--wow-line);
		box-shadow: 0 20px 30px rgba(0,0,0,.3);
	}
	.primary-navigation.is-open { display: block; }
	.primary-navigation ul { display: block; }
	.primary-navigation a { padding: 13px 10px; }
	.movie-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.content-layout { grid-template-columns: 1fr; }
	.single-content-layout { grid-template-columns: 1fr; gap: 38px; }
	.single-overview-grid { grid-template-columns: 1fr; gap: 24px; }
	.home-content-layout { grid-template-columns: 1fr; gap: 38px; }
	.home-content-layout > .sidebar { padding-top: 0; }
	.sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.sidebar .widget { margin: 0; }
	.single-post .prose { overflow-x: visible; }
	.single-post .prose table {
		display: block !important;
		width: 100% !important;
		min-width: 0;
		margin-block: 18px !important;
		overflow: visible;
		background: transparent !important;
		border: 0 !important;
		border-radius: 0;
		box-shadow: none;
	}
	.single-post .prose table tbody { display: block; width: 100%; }
	.single-post .prose table tr {
		display: block;
		width: 100%;
		margin-bottom: 12px;
		overflow: hidden;
		background: var(--wow-surface);
		border: 1px solid var(--wow-line);
		border-radius: 12px;
	}
	.single-post .prose table tr:first-child,
	.single-post .prose table thead { display: none; }
	.single-post .prose table td {
		display: grid !important;
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 12px;
		width: 100% !important;
		padding: 11px 12px !important;
		background: var(--wow-surface) !important;
		border-right: 0 !important;
		overflow-wrap: anywhere;
		font-size: 13px;
	}
	.single-post .prose table td::before {
		align-self: center;
		color: var(--wow-muted);
		font-size: 10px;
		font-weight: 800;
		letter-spacing: .06em;
		text-transform: uppercase;
	}
	.single-post .prose table td:nth-child(1)::before { content: "Анги"; }
	.single-post .prose table td:nth-child(2)::before { content: "Сервер · Чанар"; }
	.single-post .prose table td:nth-child(3)::before { content: "Орчуулга"; }
	.single-post .prose table td:nth-child(4)::before { content: "Үзэх"; }
	.single-post .prose table tr:nth-child(even) td,
	.single-post .prose table tr:nth-child(odd) td { background: var(--wow-surface) !important; }
	.single-post .prose table td a { justify-self: start; }
	.single-post .prose table td[colspan] {
		display: block !important;
		min-width: 0;
		font-size: 12px;
	}
	.single-post .prose table td[colspan]::before { content: none; }
}
@media (max-width: 700px) {
	.wow-container { width: min(calc(100% - 28px), var(--wow-container)); }
	.home-latest-section .movie-card:nth-child(n+25),
	.home-category-section .movie-card:nth-child(n+7) { display: none; }
	.header-inner { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
	.site-branding {
		order: 0;
		flex: 0 0 100%;
		width: 100%;
		max-width: none;
		overflow: visible;
	}
	.header-search {
		order: 1;
		display: flex;
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		max-width: none;
		margin: 0;
	}
	.menu-toggle { order: 2; margin-left: 0; }
	.header-search input { font-size: 16px; }
	.hero { min-height: 650px; }
	.hero-slider { height: 650px; }
	.hero-media { background-position: 63% center; opacity: .45; }
	.hero-media::after { background: linear-gradient(0deg, var(--wow-bg) 0%, rgba(8,10,15,.38) 60%, rgba(8,10,15,.65) 100%); }
	.hero-content { width: 100%; padding-block: 130px 70px; }
	.hero h1 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
	.movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 11px; }
	.single-hero { min-height: auto; }
	.single-intro { grid-template-columns: 105px 1fr; gap: 20px; padding-block: 120px 32px; }
	.single-copy h1 { font-size: clamp(2.1rem, 10vw, 3.5rem); }
	.single-copy .hero-copy { font-size: .93rem; }
	.detail-grid { grid-template-columns: 1fr; }
	.hero-slider-controls { right: 14px; bottom: 22px; }
	.footer-main { grid-template-columns: 1fr; }
	.footer-menu { justify-content: flex-start; }
}
@media (max-width: 470px) {
	.header-search { min-width: 0; }
	.movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; }
	.movie-title { margin-top: 8px; font-size: .78rem; }
	.movie-meta { font-size: .67rem; }
	.card-rating { right: 6px; bottom: 6px; padding: 3px 5px; font-size: .62rem; }
	.section-header { align-items: start; }
	.section-description { display: none; }
	.single-intro { grid-template-columns: 1fr; }
	.single-poster { width: 115px; }
	.sidebar { grid-template-columns: 1fr; }
	.pagination .page-numbers { min-width: 38px; height: 38px; padding-inline: 10px; }
	.pagination .page-numbers.prev,
	.pagination .page-numbers.next { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
