/* ========================================
   Movie Manager Pro - Main Stylesheet
   ======================================== */

/* PWA Install Button Hover State */
.pwa-install-btn.pwa-hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(234, 18, 23, 0.5);
}

:root {
  /* ensure WP admin bar sits atop theme elements */
  --wpadminbar-z: 200000;

  /* Colors - Minimalist Modern */
  --color-primary: #ea1217;
  --color-primary-dark: #b30d0f;
  --color-primary-light: #ff5555;
  --color-bg-main: #0F1419;
  --color-bg-surface: #16191f;
  --color-bg-muted: #1e2229;
  --color-text-primary: #f0f0f0;
  --color-text-secondary: #9e9e9e;
  --color-text-tertiary: #6b6b6b;
  --color-text-inverse: #0f1419;
  --color-border: #2a2a2a;
  --color-border-soft: rgba(255, 255, 255, 0.08);
  --color-surface-alt: rgba(255, 255, 255, 0.03);
  --color-success: #4CAF50;
  --color-error: #F44336;
  --color-warning: #FF9800;

  /* Spacing */
  --spacing-xxs: 2px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 60px;
  --spacing-4xl: 72px;

  /* Typography System */
  --font-family-base: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-family-heading: 'Segoe UI', system-ui, sans-serif;
  --font-family-display: 'Quicksand', 'Inter', system-ui, sans-serif;
  --font-size-base: clamp(15px, calc(0.9rem + 0.15vw), 18px);
  --font-size-body: var(--font-size-base);
  --font-size-xxs: clamp(9px, calc(0.55rem + 0.08vw), 10px);
  --font-size-copy-large: clamp(1rem, calc(1rem + 0.1vw), 1.2rem);
  --font-size-copy-small: clamp(0.9rem, calc(0.85rem + 0.08vw), 1rem);
  --font-size-sm: clamp(12px, calc(0.75rem + 0.13vw), 14px);
  --font-size-small: var(--font-size-sm);
  --font-size-xs: clamp(10px, calc(0.65rem + 0.1vw), 12px);
  --font-size-display-xl: clamp(3.75rem, 8vw, 7.5rem);
  --font-size-display-lg: clamp(2.5rem, 5vw, 4.5rem);
  --font-size-display-md: clamp(2rem, 4vw, 3rem);
  --font-size-h1: clamp(2.5rem, 5vw, 4.25rem);
  --font-size-h2: clamp(2rem, 4vw, 3.5rem);
  --font-size-h3: clamp(1.65rem, 3vw, 2.5rem);
  --font-size-h4: clamp(1.35rem, 2.2vw, 1.85rem);
  --font-size-h5: clamp(1.1rem, 1.5vw, 1.35rem);
  --font-size-h6: clamp(0.95rem, 1.1vw, 1.1rem);
  --letter-spacing-base: 0.01em;
  --letter-spacing-heading: -0.03em;
  --letter-spacing-caps: 0.08em;
  --line-height-heading: 1.1;
  --line-height-body: 1.55;
  --line-height-comfort: 1.65;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 800;

  /* Unified Breakpoints */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 480px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1440px;
  --breakpoint-3xl: 1920px;
  --breakpoint-4xl: 2560px;

  /* Border Radius - Minimal */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;

  /* Shadows - Simplified (Performance) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 6px 16px rgba(0, 0, 0, 0.18);

  /* Transitions - Performance Focused */
  --transition-fast: 100ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 300ms ease-out;
  --transition-hover: 150ms ease-out;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-regular);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

a:visited {
  color: #c0392b;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
  margin-bottom: calc(var(--spacing-md) * 1.2);
  color: var(--color-text-primary);
  text-transform: none;
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-semibold);
}

h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-semibold);
}

h6 {
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Cinematic title styles */
.entry-title,
.section-title,
.movie-title,
.episode-title,
.card-title,
.widget-title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: calc(var(--spacing-sm) / 1.5);
}

.entry-title,
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.movie-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.episode-title {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.card-title {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
}



.widget-title {
  font-size: clamp(1rem, 1vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-caps);
}

.section-subtitle,
.card-subtitle,
.movie-subtitle {
  display: block;
  font-size: var(--font-size-copy-large);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-comfort);
  color: var(--color-text-secondary);
  max-width: 68ch;
  margin-bottom: var(--spacing-md);
}

.movie-meta,
.episode-meta,
.card-meta,
.widget-meta,
.badge-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-tertiary);
  letter-spacing: var(--letter-spacing-caps);
  text-transform: uppercase;
}

.metadata,
.details-copy {
  font-size: var(--font-size-copy-small);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ========================================
   Layout Components
   ======================================== */

.container {
	max-width: clamp(1200px, 95vw, 1280px);
	margin: 0 auto;
	padding: 0 clamp(12px, 3.5vw, 32px);
	width: 100%;
}
.page-container { display: flex; flex-direction: column; min-height: 100vh; }
.main-content { flex: 1; }

/* ========================================
   Header / Navigation & Search
   ======================================== */

.site-header {
	background-color: #0F1419;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	position: sticky; top: 0; z-index: 100;
}

.site-header__inner {
	position: relative;
	display: flex; align-items: center; justify-content: flex-start;
	width: 100%; max-width: clamp(1200px, 95vw, 1280px);
	margin: 0 auto; padding: 10px var(--spacing-lg); gap: var(--spacing-lg);
}

/* ========================================
   Cinematic Site Title (Premium Text Logo)
   ======================================== */

.cinema-title {
	flex-shrink: 0;
	font-family: 'Quicksand', system-ui, sans-serif;
	font-size: clamp(18px, 4vw, 32px);
	font-weight: 700;
	letter-spacing: clamp(0.5px, 0.08em, 2px);
	text-decoration: none;
	text-transform: uppercase;
	color: transparent;
	background: linear-gradient(90deg, #c70e12 0%, #ff5555 50%, #c70e12 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 0 4px rgba(234, 18, 23, 0.2)) drop-shadow(0 0 8px rgba(255, 85, 85, 0.1));
	white-space: nowrap;
	line-height: 1;
	transition: all 200ms ease-out;
	will-change: filter;
	display: flex;
	align-items: center;
}

.cinema-title:hover {
	filter: drop-shadow(0 0 6px rgba(234, 18, 23, 0.3)) drop-shadow(0 0 12px rgba(255, 85, 85, 0.15));
	letter-spacing: clamp(2px, 0.2em, 4px);
}

.cinema-title:focus {
	outline: 2px solid #ea1217;
	outline-offset: 4px;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
	.cinema-title {
		font-size: clamp(16px, 3.5vw, 24px);
		letter-spacing: clamp(0.5px, 0.12em, 2px);
	}
}

@media (max-width: 767px) {
	.cinema-title {
		font-size: clamp(14px, 3vw, 18px);
		letter-spacing: clamp(0.3px, 0.1em, 1.5px);
	}
}

@media (max-width: 479px) {
	.cinema-title {
		font-size: clamp(16px, 3vw, 20px);
		letter-spacing: clamp(0.3px, 0.08em, 1px);
		height: 40px;
		min-height: 40px;
		padding: 6px 3px;
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 14px;
		background: 
			linear-gradient(90deg, #c70e12 0%, #ff5555 50%, #c70e12 100%),
			rgba(255, 255, 255, 0.02);
		background-clip: text, padding-box;
		-webkit-background-clip: text, padding-box;
	}

	html[data-theme="light"] .cinema-title {
		border: 1px solid rgba(234, 18, 23, 0.12);
		background: 
			linear-gradient(90deg, #c70e12 0%, #ff3333 50%, #c70e12 100%),
			rgba(234, 18, 23, 0.04);
		background-clip: text, padding-box;
		-webkit-background-clip: text, padding-box;
	}
}

/* Dark mode styling */
html[data-theme="dark"] .cinema-title {
	background: linear-gradient(90deg, #c70e12 0%, #ff5555 50%, #c70e12 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 0 8px rgba(234, 18, 23, 0.4)) drop-shadow(0 0 16px rgba(255, 85, 85, 0.2));
}

html[data-theme="dark"] .cinema-title:hover {
	filter: drop-shadow(0 0 12px rgba(234, 18, 23, 0.6)) drop-shadow(0 0 24px rgba(255, 85, 85, 0.3));
}

/* Light mode styling */
html[data-theme="light"] .cinema-title {
	background: linear-gradient(90deg, #c70e12 0%, #ff3333 50%, #c70e12 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 0 6px rgba(234, 18, 23, 0.3)) drop-shadow(0 0 12px rgba(199, 14, 18, 0.15));
}

html[data-theme="light"] .cinema-title:hover {
	filter: drop-shadow(0 0 10px rgba(234, 18, 23, 0.5)) drop-shadow(0 0 18px rgba(199, 14, 18, 0.25));
}


/* ========================================
	LOGO & TITLE - Estilo profesional latinoamericano
   ======================================== */



/* Header search toggle and form */
.header-search-toggle,
.dark-mode-toggle {
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 0;
	cursor: pointer;
	color: var(--color-text-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
	min-width: 42px;
	min-height: 42px;
	width: 42px;
	height: 42px;
}

/* ===== MODERN NAVIGATION ===== */
.site-navigation {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	flex: 1 1 auto;
	justify-content: center;
}

.nav-menu {
	list-style: none;
	display: flex;
	gap: var(--spacing-md);
	align-items: center;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	justify-content: center;
}

.nav-menu a,
.nav-button {
	color: var(--color-text-primary);
	text-decoration: none;
	padding: 6px 12px;
	font-size: var(--font-size-sm);
	font-weight: 700;
	border-radius: 8px;
	position: relative;
	cursor: pointer;
	border: 2px solid #ea1217;
}

/* Menu item separators */
.nav-menu li:not(:last-child) a::after,
.nav-menu li:not(:last-child) .nav-button::after {
	content: '';
	position: absolute;
	right: -11px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 20px;
	background-color: #ea1217;
}

/* Modern hover effect */
.nav-menu a::before,
.nav-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(234, 18, 23, 0.08);
	border-radius: 8px;
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.23, 1, 0.320, 1);
	z-index: -1;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-button:hover,
.nav-button:focus {
	color: var(--color-primary);
	transform: translateY(-2px);
}

.nav-menu a:hover::before,
.nav-menu a:focus::before,
.nav-button:hover::before,
.nav-button:focus::before {
	opacity: 1;
}

/* Active menu item */
.nav-menu .current-menu-item > a {
	color: var(--color-primary);
	font-weight: 700;
}

.nav-menu .current-menu-item > a::before {
	opacity: 1;
}

/* Featured button (Estrenos) */
.nav-button--featured {
	background: linear-gradient(135deg, var(--color-primary), rgba(234, 18, 23, 0.8));
	color: white;
	font-weight: 700;
	letter-spacing: 0.5px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 15px rgba(234, 18, 23, 0.3);
}

.nav-button--featured::before {
	display: none;
}

.nav-button--featured:hover,
.nav-button--featured:focus {
	color: white;
	box-shadow: 0 6px 25px rgba(234, 18, 23, 0.4);
	transform: translateY(-3px);
}

/* Focus visible for accessibility */
.nav-menu a:focus-visible,
.nav-button:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

/* Dropdown menu styles */
.nav-menu .menu-item-has-children {
	position: relative;
}

.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--color-bg-dark);
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s cubic-bezier(0.23, 1, 0.320, 1), transform 0.3s cubic-bezier(0.23, 1, 0.320, 1), visibility 0.3s cubic-bezier(0.23, 1, 0.320, 1);
	z-index: 100;
	border-radius: 8px;
	box-shadow: var(--shadow-md);
	padding: var(--spacing-sm) 0;
	border: 1px solid rgba(234, 18, 23, 0.1);
}

.nav-menu .menu-item-has-children:hover .sub-menu,
.nav-menu .menu-item-has-children:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-menu .sub-menu li {
	list-style: none;
}

.nav-menu .sub-menu a {
	display: block;
	padding: 8px 16px;
	color: var(--color-text-primary);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
	font-size: var(--font-size-sm);
}

.nav-menu .sub-menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu .sub-menu a[href="#"] {
	pointer-events: none;
	cursor: default;
	opacity: 0.6;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus {
	background: rgba(234, 18, 23, 0.08);
	color: var(--color-primary);
}

.header-search-toggle {
	margin-left: auto;
}

.header-search-toggle:hover,
.header-search-toggle:focus,
.dark-mode-toggle:hover,
.dark-mode-toggle:focus {
	background-color: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--color-primary);
	transform: translateY(-1px);
}

.header-search-toggle svg,
.dark-mode-toggle svg {
	width: 20px;
	height: 20px;
}

.dark-mode-toggle {
	margin-left: 8px;
	position: relative;
}

.dark-mode-toggle:focus {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.dark-mode-toggle svg {
	width: 18px;
	height: 18px;
	transition: opacity 0.3s ease, transform 0.3s ease;
	position: absolute;
}

/* Show icon indicators based on theme */
html[data-theme="dark"] .dark-mode-toggle .dark-mode-icon {
	opacity: 1;
}

html[data-theme="dark"] .dark-mode-toggle .light-mode-icon {
	opacity: 0;
}

.header-search-container {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: var(--spacing-lg);
	left: auto;
	background: var(--color-bg-dark);
	padding: var(--spacing-sm) var(--spacing-md);
	z-index: 110;
	opacity: 0;
	transition: opacity 0.22s ease, transform 0.22s ease;
	min-width: 280px;
	max-width: 420px;
	border-radius: 8px;
	box-shadow: var(--shadow-md);
}
.site-header.search-open .header-search-container {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* hide submit button inside header variant */
.site-header .theme-search-form .search-submit { display: none; }

/* container-specific adjustments */
.header-search-container .theme-search-form { width: 100%; }
.header-search-container .theme-search-input { width: 100%; }

@media (max-width: 767px) {
	.header-search-container {
		left: 0;
		right: 0;
		top: 100%;
		padding: var(--spacing-sm) var(--spacing-lg);
		min-width: auto;
		max-width: none;
		border-radius: 0;
		box-shadow: none;
	}
}







/* Theme Search Form & Input */
.theme-search-form {
	display: flex; gap: var(--spacing-sm); align-items: center; position: relative; max-width: clamp(480px, 75vw, 540px); box-sizing: border-box;
	border: 1px solid rgba(234, 18, 23, 0.55);
}

.theme-search-inner { display: flex; gap: var(--spacing-sm); align-items: center; width: 100%; box-sizing: border-box; flex-wrap: wrap; }

.hero .theme-search-form {
	background: linear-gradient(135deg, rgba(20,20,30,0.6) 0%, rgba(25,25,40,0.8) 100%); padding: 14px;
	border-radius: 14px; border: 1px solid rgba(234, 18, 23, 0.75); box-shadow: 0 14px 36px rgba(0,0,0,0.45);
	max-width: clamp(600px, 85vw, 720px); margin-top: var(--spacing-lg);
}

#theme-search-input,.theme-search-input,.theme-search-form input[type="search"] {
	background: rgba(255,255,255,0.10); border: 1px solid rgba(234, 18, 23, 0.55);
	padding: 10px 14px; border-radius: 8px; color: #ffffff;
	min-width: 200px; transition: all .2s ease;
	flex: 1; height: 42px; box-sizing: border-box; outline: none; font-size: var(--font-size-sm); letter-spacing: 0.3px;
}

#theme-search-input::placeholder,.theme-search-input::placeholder,.theme-search-form input[type="search"]::placeholder {
	color: #ffffff;
	opacity: 0.85;
}

#theme-search-input:focus,.theme-search-input:focus,.theme-search-form input[type="search"]:focus {
	outline: none; border-color: #ea1217; background: rgba(234, 18, 23, 0.05);
	box-shadow: 0 0 0 3px rgba(234, 18, 23, 0.1); transform: translateY(-1px);
}

#theme-search-input:hover,.theme-search-input:hover,.theme-search-form input[type="search"]:hover {
	border-color: rgba(234, 18, 23, 0.5); background: rgba(255,255,255,0.03);
}

.theme-search-type {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: linear-gradient(135deg, rgba(20,20,30,0.6) 0%, rgba(25,25,40,0.8) 100%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'><path d='M7 10l5 5 5-5' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 8px center, right 8px center;
	background-size: auto, 14px;
	padding: 10px 28px 10px 12px;
	border: 1px solid rgba(234, 18, 23, 0.55);
	border-radius: 8px;
	color: #ffffff;
	font-size: var(--font-size-sm);
	cursor: pointer;
	transition: all .2s ease;
	height: 42px;
	box-sizing: border-box;
}

.theme-search-type:focus { outline: none; border-color: rgba(234, 18, 23, 0.85); background-color: linear-gradient(135deg, rgba(25,25,35,0.7) 0%, rgba(30,30,45,0.9) 100%); box-shadow: 0 0 0 3px rgba(234, 18, 23, 0.18); }
.theme-search-type:hover { border-color: rgba(234, 18, 23, 0.85); background-color: linear-gradient(135deg, rgba(25,25,35,0.7) 0%, rgba(30,30,45,0.9) 100%); }

/* Dropdown options styling */
.theme-search-type option,
.theme-search-year option,
.theme-search-genre option {
	background: var(--color-bg-dark);
	color: var(--color-text-primary);
	padding: 8px;
}

.theme-search-type option:checked,
.theme-search-year option:checked,
.theme-search-genre option:checked {
	background: linear-gradient(#ea1217, #ea1217);
	background-color: #ea1217;
	color: #000;
	font-weight: var(--font-weight-bold);
}

.theme-search-year,
.theme-search-genre {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: linear-gradient(135deg, rgba(20,20,30,0.6) 0%, rgba(25,25,40,0.8) 100%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'><path d='M7 10l5 5 5-5' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 8px center, right 8px center;
	background-size: auto, 14px;
	border: 1px solid rgba(234, 18, 23, 0.55);
	padding: 10px 28px 10px 12px;
	border-radius: 8px;
	color: #ffffff;
	font-size: var(--font-size-sm);
	cursor: pointer;
	transition: all .2s ease;
	height: 42px;
	box-sizing: border-box;
}

.theme-search-year::-webkit-outer-spin-button,
.theme-search-year::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.theme-search-year:focus,
.theme-search-genre:focus { outline: none; border-color: rgba(234, 18, 23, 0.85); background-color: linear-gradient(135deg, rgba(25,25,35,0.7) 0%, rgba(30,30,45,0.9) 100%); box-shadow: 0 0 0 3px rgba(234, 18, 23, 0.18); }

.theme-search-year:hover,
.theme-search-genre:hover { border-color: rgba(234, 18, 23, 0.85); background-color: linear-gradient(135deg, rgba(25,25,35,0.7) 0%, rgba(30,30,45,0.9) 100%); }


@media (max-width: 479px) { 
	.theme-search-type, 
	.theme-search-year, 
	.theme-search-genre { 
		width: 100%; 
		background-position: calc(100% - 12px) center; 
		padding-right: 30px; 
		background-size: auto, 12px; 
		height: 36px; 
		font-size: 14px; 
	} 
}

.theme-search-results {
	position: absolute; top: calc(100% + 12px); left: 0; 
	background: linear-gradient(135deg, rgba(15, 18, 28, 0.98) 0%, rgba(20, 24, 35, 0.98) 100%);
	border: 1px solid rgba(255, 255, 255, 0.12); 
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	padding: 8px;
	width: 100%; max-width: clamp(380px, 90vw, 580px); 
	display: none; z-index: 9999; border-radius: 16px;
	max-height: 480px; overflow-y: auto;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	scroll-behavior: smooth;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.theme-search-results.visible { 
	display: block; opacity: 1; visibility: visible; pointer-events: auto;
	transform: translateY(0);
}

.theme-search-results {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-10px);
}

.theme-search-results .no-results {
	padding: 24px 16px;
	text-align: center;
	color: var(--color-text-secondary);
	font-size: var(--font-size-body);
}

.theme-search-results .search-item { 
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	padding: 10px 8px; 
	align-items: center;
	border-radius: 12px; 
	cursor: pointer; 
	text-decoration: none; 
	color: var(--color-text-primary);
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.theme-search-results .search-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.05) 0%, rgba(234, 18, 23, 0) 100%);
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
	z-index: 0;
}

.theme-search-results .search-item > * {
	position: relative;
	z-index: 1;
}

.theme-search-results .search-item:hover,
.theme-search-results .search-item.focused { 
	background: rgba(234, 18, 23, 0.12);
	transform: translateX(6px);
	border-radius: 12px;
}

.theme-search-results .search-item:hover::before,
.theme-search-results .search-item.focused::before {
	opacity: 1;
}

.search-item .thumb { 
	width: 64px; 
	height: 96px; 
	border-radius: 10px; 
	overflow: hidden; 
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	transition: transform .2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .2s ease;
	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.search-item:hover .thumb,
.search-item.focused .thumb {
	transform: scale(1.05);
	box-shadow: 0 12px 32px rgba(234, 18, 23, 0.2);
}

.search-item .placeholder {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.search-item .meta { 
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.search-item .meta .title { 
	font-weight: var(--font-weight-bold);
	font-size: var(--font-size-sm);
	line-height: 1.3;
	white-space: normal;
	word-break: break-word;
}

.search-item .meta .sub { 
	color: var(--color-text-secondary); 
	font-size: var(--font-size-sm);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: var(--font-weight-semibold);
}

.search-item .meta .sub--original {
	text-transform: none;
	font-size: 0.92rem;
	letter-spacing: 0;
	font-weight: var(--font-weight-regular);
	color: var(--color-text-primary);
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Special character indicator for original_title */
.search-item .meta .sub--original.has-special-chars {
	color: #ffb366;
	font-weight: var(--font-weight-semibold);
}

.search-item .meta .sub--original.has-special-chars::before {
	content: '✓';
	display: inline-block;
	width: 16px;
	height: 16px;
	background: rgba(255, 179, 102, 0.2);
	border-radius: 3px;
	text-align: center;
	line-height: 16px;
	font-size: 12px;
	flex-shrink: 0;
}

/* Highlight matching search terms */
.search-item .title strong,
.search-item .sub--original strong {
	color: #ffb366;
	font-weight: var(--font-weight-bold);
	background: rgba(255, 179, 102, 0.15);
	padding: 0 2px;
	border-radius: 2px;
}

/* Hero section search results dropdown */
.hero .theme-search-form .theme-search-results {
	width: calc(100% + 28px);
	left: -14px;
	top: calc(100% + 16px);
	max-width: clamp(580px, 90vw, 720px);
	background: linear-gradient(135deg, rgba(10, 12, 22, 0.99) 0%, rgba(15, 18, 32, 0.99) 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero .theme-search-form .theme-search-results.visible {
	animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero .theme-search-form .theme-search-results .search-item:hover,
.hero .theme-search-form .theme-search-results .search-item.focused {
	background: rgba(234, 18, 23, 0.15);
}

.theme-search-controls { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.theme-search-controls .theme-search-type,
.theme-search-controls .theme-search-year,
.theme-search-controls .theme-search-genre { width: 140px; }

/* Scrollbar styling for search results */
.theme-search-results::-webkit-scrollbar {
	width: 6px;
}

.theme-search-results::-webkit-scrollbar-track {
	background: transparent;
}

.theme-search-results::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	transition: background .2s ease;
}

.theme-search-results::-webkit-scrollbar-thumb:hover {
	background: rgba(234, 18, 23, 0.4);
}

/* Search submit button - Modern bordered style */
.theme-search-controls .search-submit { 
	flex: 0 0 auto; 
	background: #ea1217;
	color: #ffffff;
	border: 2px solid #ea1217;
	padding: 10px 28px;
	height: 42px;
	border-radius: 10px;
	font-weight: var(--font-weight-bold);
	cursor: pointer;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	font-size: var(--font-size-body);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 8px 20px rgba(234, 18, 23, 0.30);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-sm);
}

.theme-search-controls .search-submit:hover {
	background: #c70e12;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(234, 18, 23, 0.34);
}

.theme-search-controls .search-submit:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(234, 18, 23, 0.15);
}

.theme-search-controls .search-submit:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(234, 18, 23, 0.2);
}

/* Search button icon and text */
.search-submit svg {
	width: 18px;
	height: 18px;
	display: inline-flex;
	transition: transform .2s ease;
}

.search-submit:hover svg {
	transform: rotate(15deg);
}

.search-submit span {
	display: inline-flex;
	align-items: center;
	margin-left: var(--spacing-xs);
}

.theme-search-form .search-submit,
.theme-search-form .btn--search,
.theme-search-form .btn {
	border-radius: var(--radius-lg); 
	padding: 10px 18px; 
	height: 44px; 
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: linear-gradient(135deg, rgba(20,20,30,0.6) 0%, rgba(25,25,40,0.8) 100%);
	color: #ffffff;
	font-weight: var(--font-weight-semibold); 
	cursor: pointer;
	display: inline-flex; 
	align-items: center; 
	justify-content: center;
	transition: all 0.3s ease;
	text-transform: uppercase; 
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-search-form .search-submit {
	background: #ea1217;
	border-color: #ea1217;
}

.theme-search-form .search-submit:hover,
.theme-search-form .btn--search:hover,
.theme-search-form .btn:hover {
	background: rgba(15, 20, 25, 0.7);
	border-color: rgba(255, 255, 255, 0.5);
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-search-form .search-submit:hover {
	background: #c70e12;
	border-color: #c70e12;
}

@media (max-width: 1023px) {
	.theme-search-results {
		max-width: clamp(340px, 95vw, 540px);
		max-height: 420px;
	}
	
	.search-item .thumb {
		width: 56px;
		height: 84px;
	}
}

@media (max-width: 767px) {
	.theme-search-form { max-width: 100%; }
	.theme-search-inner { flex-wrap: wrap; width: 100%; }
	.theme-search-form .theme-search-input { flex: 1 1 100%; min-width: 0; }
	.hero .theme-search-form { flex-direction: column; align-items: stretch; gap: 8px; max-width: 100%; padding: 10px; border-radius: 12px; }
	.hero .theme-search-form .theme-search-input { width: 100%; min-width: 0; height: 44px; }
	.hero .theme-search-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
	.hero .theme-search-controls .theme-search-type,
	.hero .theme-search-controls .theme-search-year,
	.hero .theme-search-controls .theme-search-genre { 
		flex: 1; 
		padding: 8px 26px 8px 10px; 
		background-position: right 6px center; 
		background-size: auto, 12px; 
		height: 36px; 
		font-size: 14px; 
	}
	.hero .theme-search-controls .search-submit { flex: 0 0 auto; padding: 10px 28px; height: 42px; }
	
	.theme-search-results {
		max-width: 100vw;
		left: 50%;
		transform: translateX(-50%);
		max-height: 400px;
	}
	
	.theme-search-results.visible {
		transform: translateX(-50%);
	}
}

@media (max-width: 479px) {
	.theme-search-form { width: 100%; }
	.theme-search-inner { display: flex; flex-direction: column; gap: 6px; width: 100%; }
	.theme-search-form .theme-search-input { width: 100%; height: 36px; padding: 8px 10px; box-sizing: border-box; }
	.theme-search-controls { display: flex; gap: 6px; flex-direction: row; align-items: center; width: 100%; }
	.theme-search-type,
	.theme-search-year,
	.theme-search-genre { 
		flex: 1; 
		min-width: 0;
		height: 36px; 
		padding: 6px 30px 6px 6px; 
		font-size: 14px; 
		background-position: right 6px center; 
		background-size: auto, 12px; 
	}
	.theme-search-form .search-submit,.theme-search-form .btn { flex: 1; height: 36px; font-size: var(--font-size-xs); border-radius: 6px; padding: 6px 8px; }
	.search-submit span { display: inline-flex; }
	.search-submit svg { width: 14px; height: 14px; margin-right: 2px; }
	
	.theme-search-results {
		top: calc(100% + 8px);
		max-width: calc(100vw - 16px);
		left: 8px;
		right: 8px;
		max-height: 360px;
	}
	
	.search-item .thumb {
		width: 52px;
		height: 78px;
	}
	
	.search-item .meta .title {
		font-size: var(--font-size-sm);
	}
}

/* ========================================
   Buttons
   ======================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-sm);
	padding: var(--spacing-md) var(--spacing-lg);
	border: none;
	border-radius: var(--radius-md);
	font-size: var(--font-size-body);
	font-weight: var(--font-weight-semibold);
	cursor: pointer;
	transition: background-color 100ms ease-out, color 100ms ease-out;
	text-decoration: none;
	font-family: var(--font-family-base);
}

.btn--primary {
	background: var(--color-primary);
	color: var(--color-text-inverse);
	font-weight: var(--font-weight-bold);
}

.btn--primary:hover {
	background: var(--color-primary-light);
	color: #fff;
}

.btn--secondary { background-color: var(--color-bg-dark-secondary); color: var(--color-text-primary); border: 1px solid var(--color-border); }
.btn--secondary:hover { background-color: var(--color-bg-dark-tertiary); border-color: var(--color-primary); }

.btn--text { background: none; color: var(--color-primary); padding: 0; }
.btn--text:hover { color: var(--color-primary-light); text-decoration: underline; }

.btn--small { padding: var(--spacing-sm) var(--spacing-md); font-size: var(--font-size-small); }

.btn--large {
	padding: var(--spacing-md) var(--spacing-lg);
	font-size: var(--font-size-body);
	font-weight: var(--font-weight-bold);
	border-radius: var(--radius-lg);
	min-height: 48px;
	gap: var(--spacing-sm);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 16px rgba(234, 18, 23, 0.3);
	transition: all 0.3s ease;
}

.btn--large:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(234, 18, 23, 0.4);
}

.btn--search.btn--primary { 
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.1), rgba(234, 18, 23, 0.04));
	color: #ea1217; 
	border: 1px solid rgba(234, 18, 23, 0.3);
	border-radius: var(--radius-lg); 
	padding: var(--spacing-xs) var(--spacing-sm); 
	display: inline-flex; 
	align-items: center; 
	justify-content: center;
	box-shadow: 0 2px 8px rgba(234, 18, 23, 0.1);
	transition: all 0.3s ease;
}

.btn--search.btn--primary:hover {
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.16), rgba(234, 18, 23, 0.08));
	border-color: rgba(234, 18, 23, 0.5);
	box-shadow: 0 4px 12px rgba(234, 18, 23, 0.15);
	transform: translateY(-1px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-color: var(--color-bg-dark-secondary);
	background-repeat: no-repeat;
	background-attachment: scroll;
	padding: var(--spacing-3xl) var(--spacing-lg);
	min-height: 350px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	margin-bottom: var(--spacing-2xl);
	z-index: 1;
}

/* Responsive images in hero */
.hero picture {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.hero picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* For single pages (episodes, seasons, movies, tv): use scroll on mobile, fixed on desktop */
.hero--single,
.hero--episode {
	background-attachment: scroll;
}

@media (min-width: 1024px) {
	.hero--single,
	.hero--episode {
		background-attachment: fixed;
	}
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 100%);
	z-index: 1;
	pointer-events: none;
}

.hero__content {
	position: relative; z-index: 3; max-width: clamp(1200px, 95vw, 1280px); margin: 0 auto; width: 100%;
	display: flex; gap: var(--spacing-2xl); align-items: flex-end;
}

.hero__top-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--spacing-md);
	position: absolute;
	top: 24px;
	left: 24px;
	right: 24px;
	z-index: 50;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.hero__actions-top {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.hero__actions-top .btn {
	padding: 10px 18px;
	font-size: 0.86rem;
	font-weight: 700;
	border-radius: 999px;
	min-width: 130px;
}

.hero__actions-top .btn--primary {
	color: #ffffff;
}

.hero__actions-top .btn--primary:hover,
.hero__actions-top .btn--primary:focus {
	color: #ffffff;
}

.hero__actions-top .btn--secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.25);
}

.hero--home {
	position: relative;
	min-height: 320px;
}

@media (min-width: 1024px) {
	.hero--home {
		min-height: 450px;
	}
}

@media (max-width: 768px) {
	.hero__top-row {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		right: 12px;
		left: 12px;
		top: 12px;
		gap: 0.75rem;
	}

	.hero__badge {
		padding: 8px 12px;
		font-size: 0.72rem;
	}

	.hero__actions-top {
		justify-content: flex-end;
		width: auto;
		gap: 0.5rem;
		/* keep buttons on single line; allow horizontal scroll if needed */
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.hero__actions-top .btn {
		min-width: 0;
		padding: 8px 14px;
		font-size: 0.78rem;
	}

	/* Prevent the absolute top-row from overlapping hero content on small screens */
	.hero__content,
	.hero--home .hero__content {
		flex-direction: column;
		align-items: flex-start;
		/* reserve space for the absolute top-row (badge + buttons) */
		padding-top: 64px;
		justify-content: flex-start;
	}

	.hero__inner,
	.hero--home .hero__inner {
		display: flex;
		flex-direction: column;
		gap: var(--spacing-md);
		align-items: stretch;
	}

	/* Ensure the search form doesn't get overlapped */
	.theme-search-form { width: 100%; }
	.theme-search-inner { width: 100%; }

	.hero__actions-top .btn + .btn {
		margin-left: 0.5rem;
	}
}

.hero__inner { display: flex; gap: var(--spacing-lg); align-items: center; justify-content: space-between; }

.hero__title { font-size: var(--font-size-h1); color: #ffffff; word-wrap: break-word; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4); font-weight: 700; letter-spacing: -0.5px; }
.hero__subtitle { font-size: var(--font-size-h4); color: #ffffff; margin-bottom: var(--spacing-lg); word-wrap: break-word; opacity: 0.95; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3); font-weight: 400; letter-spacing: 0.2px; }
.hero__original-title { font-size: clamp(14px, 1vw, 20px); color: #ffffff; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4); font-weight: 500; letter-spacing: 0.2px; margin: -8px 0 0 0; }

.hero--home .hero__content { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: center; justify-content: center; gap: var(--spacing-md); }
.hero--home .hero__inner { flex-direction: column; align-items: center; text-align: center; min-width: auto; flex-wrap: wrap; flex-basis: 100%; }
.hero--home .hero__search { flex-shrink: 0; margin-top: 0; margin-left: 0; flex-basis: 100%; }
.hero--single { min-height: 320px; }
.hero--single .hero__content { flex-direction: row; align-items: flex-end; }
.hero--episode { min-height: 320px; }
.hero--archive { padding: 0; min-height: 200px; }
.hero--archive .hero__content { padding: var(--spacing-lg) 0; min-height: auto; }
.hero--archive .hero__title { font-size: var(--font-size-h2); }
.hero--archive .hero__subtitle { font-size: var(--font-size-h4); margin-bottom: var(--spacing-md); }

/* Hero person (actor/director pages) - minimal strip design */
.hero--person { min-height: auto; padding: var(--spacing-lg); }
.hero--person .hero__content { gap: var(--spacing-xl); align-items: center; }
.hero__content--person { flex-direction: row; align-items: center; gap: var(--spacing-xl); }
.hero__info--person { flex: 1; }
.hero__job-title { font-size: var(--font-size-h5); color: var(--color-text-secondary); margin-top: 8px; margin-bottom: var(--spacing-md); }
.hero__meta--person { display: flex; flex-wrap: wrap; gap: var(--spacing-md); }

.hero__text { flex: 1 1 auto; min-width: 0; word-wrap: break-word; }
.hero--home .hero__text { max-width: none; flex: 1 1 auto; text-align: center; }
.hero__poster { flex-shrink: 0; width: clamp(120px, 18vw, 160px); height: auto; aspect-ratio: 2/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.hero__info { flex: 1; color: var(--color-text-primary); }

/* Single pages: Title on top, poster + info below side by side */
.hero--single .hero__content {
	display: grid;
	grid-template-columns: minmax(120px, 160px) 1fr;
	grid-template-rows: auto auto;
	gap: var(--spacing-lg);
	align-items: start;
}

.hero--single .hero__title {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: var(--spacing-md);
	width: 100%;
}

.hero--single .hero__poster {
	grid-column: 1;
	grid-row: 2;
	width: 100%;
	max-width: 160px;
	margin: 0;
	justify-self: start;
}

.hero--single .hero__info {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
}

.hero--single .hero__meta {
	margin-top: 0;
}

/* On small screens, stack poster above the title to preserve space */
@media (max-width: 520px) {
	.hero--single .hero__content {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--spacing-md);
	}
	.hero--single .hero__poster { width: clamp(90px, 20vw, 120px); margin: 0 0 var(--spacing-md) 0; }
}

.hero__search { display: flex; gap: var(--spacing-sm); width: 100%; max-width: clamp(400px, 80vw, 500px); margin-top: var(--spacing-lg); }
.hero--home .hero__search { width: 100%; margin: 0; }
.hero--home .theme-search-form { width: 100%; max-width: 100%; margin: 0; display: flex; flex-wrap: wrap; }

.hero__search-input,.theme-search-input {
	flex: 1; height: 32px; padding: 0 var(--spacing-md); box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.1); border: 1px solid var(--color-border);
	border-radius: var(--radius-md); color: var(--color-text-primary); font-size: var(--font-size-body);
}

.theme-search-input::placeholder {
	color: var(--color-text-secondary);
	opacity: 0.7;
}

.hero__search-input::placeholder { color: var(--color-text-tertiary); }

/* keep WP admin bar on top */
#wpadminbar { z-index: var(--wpadminbar-z, 200000); }

.hero__search .btn,.theme-search-form .btn,.hero__search-row .btn { height: 32px; padding: 0 var(--spacing-lg); display: inline-flex; align-items: center; justify-content: center; }

.hero__search-row { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; align-items: center; }
.hero__filters { display: flex; gap: var(--spacing-sm); margin-top: var(--spacing-sm); flex-wrap: wrap; }
.hero__search-row .hero__filters { margin-top: 0; }

.hero__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--spacing-md); margin: var(--spacing-lg) 0; }

.meta-card { background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-md); padding: var(--spacing-sm); display: flex; flex-direction: column; gap: 4px; transition: all 0.3s ease; }
.meta-card:hover { background: rgba(0, 0, 0, 0.5); border-color: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }

.meta-label { font-size: var(--font-size-small); color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.5px; font-weight: var(--font-weight-semibold); }
.meta-value { font-size: var(--font-size-body); color: var(--color-text-primary); font-weight: var(--font-weight-medium); word-wrap: break-word; overflow-wrap: break-word; }
.meta-value a { color: var(--color-primary); text-decoration: none; transition: color 0.2s ease; }
.meta-value a:hover { color: var(--color-primary-light); text-decoration: underline; }

.hero__rating { display: flex; align-items: center; gap: var(--spacing-md); margin-top: var(--spacing-md); }

.hero__cta {
	margin-top: var(--spacing-xl);
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.hero__cta .btn {
	position: relative;
	overflow: hidden;
}

.hero__cta .btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.hero__cta .btn:hover::before {
	opacity: 1;
}

.hero__cta .btn__text {
	position: relative;
	z-index: 1;
	font-weight: var(--font-weight-bold);
	color: #ffffff;
}

.hero__cta .btn--primary,
.hero__cta .btn--primary .btn__text,
.hero__cta .btn--primary .btn__icon {
	color: #ffffff;
}

.hero__cta .btn__icon {
	position: relative;
	z-index: 1;
	font-size: 1.2em;
	transition: transform 0.3s ease;
}

.hero__cta .btn:hover .btn__icon {
	transform: translateX(4px);
}

.rating-badge { background: rgba(234, 18, 23, 0.1); border: 1px solid var(--color-primary); border-radius: var(--radius-md); padding: var(--spacing-sm) var(--spacing-md); display: flex; align-items: baseline; gap: var(--spacing-xs); }
.rating-value { font-size: var(--font-size-copy-large); font-weight: var(--font-weight-bold); color: var(--color-primary); }
.rating-max { font-size: var(--font-size-small); color: #ffffff; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4); font-weight: var(--font-weight-semibold); }
.rating-votes { background: rgba(234, 18, 23, 0.1); border: 1px solid var(--color-primary); border-radius: var(--radius-md); padding: var(--spacing-sm) var(--spacing-md); font-size: var(--font-size-body); color: #ffffff; font-weight: var(--font-weight-semibold); text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4); white-space: nowrap; display: inline-block; }

/* ========================================
   Movie Cards & Search Cards
   ======================================== */

.movie-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	background-color: var(--color-bg-dark-secondary);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 150ms ease-out, box-shadow 150ms ease-out;
	cursor: pointer;
	border: 1px solid #ea1217;
}

.movie-card__poster {
	position: relative;
	width: 100%;
	aspect-ratio: 2/3;
	overflow: hidden;
	background: var(--color-bg-dark-tertiary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.movie-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.movie-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.movie-card__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.2);
	opacity: 0;
	transition: opacity 300ms ease-out, background 300ms ease-out;
	z-index: 5;
}

.movie-card:hover .movie-card__overlay {
	opacity: 1;
	background: rgba(0, 0, 0, 0.4);
}

.movie-card__overlay::before {
	content: ''; width: 64px; height: 64px; display: block;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><circle cx='32' cy='32' r='32' fill='%23000000' fill-opacity='0.45'/><path d='M26 20 L46 32 L26 44 z' fill='%23FFFFFF'/></svg>");
	background-size: 64px 64px; background-repeat: no-repeat; background-position: center;
	filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* ========================================
   Person Cards (Actors & Directors)
   ======================================== */

.person-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--color-bg-dark-secondary);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 150ms ease-out, box-shadow 150ms ease-out;
	cursor: pointer;
	border: 1px solid rgba(255,255,255,0.05);
	text-align: center;
	height: 100%;
}

.person-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.person-card__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.person-card__media {
	width: 100%;
	aspect-ratio: 1/1;
	overflow: hidden;
	background: var(--color-bg-dark-tertiary);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.person-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.person-card__body {
	padding: var(--spacing-sm);
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.person-card__name {
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-medium);
	margin: 0 0 var(--spacing-xs) 0;
	line-height: 1.3;
}

.person-card__excerpt {
	font-size: var(--font-size-sm);
	color: var(--color-text-secondary);
	line-height: 1.4;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-clamp: 2;
	text-overflow: ellipsis;
}

/* ========================================
   Most Watched Card (Actor/Director Pages)
   ======================================== */

.most-watched-card {
	display: flex;
	align-items: stretch;
	background: linear-gradient(135deg, rgba(20, 20, 30, 0.6) 0%, rgba(25, 25, 40, 0.8) 100%);
	border: 1px solid rgba(234, 18, 23, 0.2);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all var(--transition-normal);
}

.most-watched-card:hover {
	border-color: rgba(234, 18, 23, 0.5);
	box-shadow: 0 8px 24px rgba(234, 18, 23, 0.15);
	transform: translateY(-2px);
}

.most-watched-card__grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: var(--spacing-lg);
	align-items: center;
	width: 100%;
	padding: var(--spacing-xl);
}

.most-watched-card__poster {
	width: 100%;
	aspect-ratio: 2/3;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-bg-dark-tertiary);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	transition: transform var(--transition-normal);
}

.most-watched-card__poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.most-watched-card:hover .most-watched-card__poster {
	transform: scale(1.04);
}

.most-watched-card__content {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
	align-items: flex-start;
}

.most-watched-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	background: rgba(234, 18, 23, 0.15);
	border: 1px solid rgba(234, 18, 23, 0.3);
	border-radius: 999px;
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.most-watched-card__title {
	font-size: var(--font-size-h3);
	font-weight: var(--font-weight-bold);
	color: var(--color-text-primary);
	line-height: 1.2;
	margin: 0;
}

.most-watched-card__synopsis {
	font-size: var(--font-size-body);
	color: var(--color-text-secondary);
	line-height: var(--line-height-comfort);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-clamp: 3;
	text-overflow: ellipsis;
	margin: 0;
}

.most-watched-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-sm);
	padding: 12px 28px;
	background: linear-gradient(135deg, var(--color-primary) 0%, rgba(234, 18, 23, 0.85) 100%);
	border: 1px solid var(--color-primary);
	border-radius: var(--radius-md);
	color: #ffffff;
	font-size: var(--font-size-body);
	font-weight: var(--font-weight-bold);
	text-decoration: none;
	cursor: pointer;
	transition: all var(--transition-normal);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(234, 18, 23, 0.25);
	margin-top: var(--spacing-sm);
}

.most-watched-card__button:hover {
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.95) 0%, var(--color-primary) 100%);
	box-shadow: 0 6px 20px rgba(234, 18, 23, 0.4);
	transform: translateY(-2px);
}

.most-watched-card__button:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(234, 18, 23, 0.2);
}

.most-watched-card__no-results {
	padding: var(--spacing-2xl) var(--spacing-lg);
	text-align: center;
	color: var(--color-text-secondary);
	font-size: var(--font-size-body);
	margin: 0;
}

/* Responsive adjustments for most-watched-card */
@media (max-width: 1023px) {
	.most-watched-card__grid {
		grid-template-columns: 150px 1fr;
		gap: var(--spacing-md);
		padding: var(--spacing-lg);
	}

	.most-watched-card__title {
		font-size: var(--font-size-h4);
	}

	.most-watched-card__synopsis {
		-webkit-line-clamp: 2;
		line-clamp: 2;
		font-size: var(--font-size-small);
	}

	.most-watched-card__button {
		padding: 10px 20px;
		font-size: var(--font-size-small);
	}
}

@media (max-width: 767px) {
	.most-watched-card__grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
		padding: var(--spacing-md);
	}

	.most-watched-card__poster {
		aspect-ratio: 2/3;
		width: 100%;
		max-width: 150px;
		margin: 0 auto;
	}

	.most-watched-card__title {
		font-size: var(--font-size-h4);
	}

	.most-watched-card__synopsis {
		-webkit-line-clamp: 2;
		line-clamp: 2;
		font-size: var(--font-size-small);
	}

	.most-watched-card__button {
		width: 100%;
		padding: 12px 20px;
		font-size: var(--font-size-body);
	}
}

@media (max-width: 479px) {
	.most-watched-card__grid {
		padding: var(--spacing-md);
	}

	.most-watched-card__poster {
		max-width: 120px;
	}

	.most-watched-card__title {
		font-size: var(--font-size-h5);
	}

	.most-watched-card__synopsis {
		-webkit-line-clamp: 2;
		line-clamp: 2;
		font-size: var(--font-size-small);
	}

	.most-watched-card__button {
		width: 100%;
		padding: 10px 16px;
		font-size: var(--font-size-small);
	}
}

.movie-card__content { padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.movie-card__title { font-size: var(--font-size-sm); line-height: 1.2; margin: 0 0 4px 0; color: var(--color-text-primary); font-weight: var(--font-weight-bold); }
.movie-card__meta { display: flex; align-items: center; gap: 8px; font-size: var(--font-size-xs); color: var(--color-text-secondary); flex-wrap: nowrap; margin-top: auto; }
.movie-card__rating { color: var(--color-primary); font-weight: var(--font-weight-bold); display: flex; align-items: center; gap: 3px; font-size: var(--font-size-sm); }
.movie-card__rating::before { content: '★ '; color: var(--color-primary); font-size: var(--font-size-sm); }
.movie-card__year { color: var(--color-primary); font-weight: var(--font-weight-medium); font-size: var(--font-size-sm); }
.movie-card__type { color: var(--color-text-tertiary); font-weight: var(--font-weight-medium); background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); padding: 2px 8px; font-size: var(--font-size-xs); }
.movie-card__year::after { content: attr(data-year-short); display: inline-block; color: var(--color-primary); font-weight: var(--font-weight-medium); }

/* Search Cards */
.search-card {
	display: flex;
	flex-direction: column;
	background-color: var(--color-bg-dark-secondary);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 150ms ease-out, box-shadow 150ms ease-out;
	cursor: pointer;
	border: 1px solid #ea1217;
}

.search-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.search-card__thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 2/3;
	overflow: hidden;
	background: var(--color-bg-dark-tertiary);
}

.search-card__thumb img,
.search-card__thumb .thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.search-card__thumb .placeholder {
	background: linear-gradient(135deg, rgba(234,18,23,0.1) 0%, rgba(234,18,23,0.05) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
		font-size: var(--font-size-sm);
	align-items: center;
	gap: 8px;
		font-size: var(--font-size-xs);
}

.search-card__rating {
	color: var(--color-primary);
	font-weight: var(--font-weight-bold);
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: var(--font-size-sm);
}

.search-card__year {
	color: var(--color-primary);
	font-weight: var(--font-weight-medium);
	font-size: var(--font-size-sm);
}

.search-card__type {
	color: var(--color-text-tertiary);
	font-weight: var(--font-weight-medium);
	background: rgba(255,255,255,0.04);
	border-radius: var(--radius-sm);
	padding: 2px 8px;
	font-size: var(--font-size-xs);
	margin-left: auto;
}

.search-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--font-size-xs);
	color: var(--color-text-secondary);
	flex-wrap: nowrap;
	padding: 0 10px;
	margin-top: auto;
}

/* Mexico Language Badge */
.search-card__language-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 18px;
	padding: 0;
	z-index: 10;
	background: linear-gradient(90deg, #006341 0%, #006341 33%, #ffffff 33%, #ffffff 66%, #ce1126 66%, #ce1126 100%);
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 900;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 0px;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.search-card__language-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: inherit;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

.search-card__title-wrap {
	padding: 10px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.search-card__title {
	font-size: var(--font-size-sm);
	line-height: 1.2;
	margin: 0;
	color: var(--color-text-primary);
	font-weight: var(--font-weight-bold);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-clamp: 2;
	text-overflow: ellipsis;
}

.search-card__subtitle {
	font-size: calc(var(--font-size-sm) * 0.85);
	line-height: 1.2;
	margin: 4px 0 0 0;
	color: var(--color-text-secondary);
	font-weight: normal;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-clamp: 1;
	text-overflow: ellipsis;
}

.search-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

/* ========================================
   Grids
   ======================================== */

.movies-grid,.tv-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--spacing-lg); margin: var(--spacing-2xl) 0; width: 100%; }
.actors-grid,.directors-grid,.persons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--spacing-md); margin: var(--spacing-2xl) 0; width: 100%; }
.grid--latest { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--spacing-lg); margin: var(--spacing-2xl) 0; width: 100%; }
.grid--latest .movie-card { width: 100%; }

/* Genre grid styling - responsive */
.genres-grid,
.genres-list {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(8px, 1.5vw, 16px);
	max-width: clamp(300px, 90vw, 600px);
	margin: clamp(16px, 3vw, 24px) auto;
	padding: 0 clamp(8px, 2vw, 16px);
}

.genre-card,
.genre-badge {
	display: inline-block;
	padding: clamp(6px, 1vw, 12px) clamp(12px, 2vw, 16px);
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.1) 0%, rgba(234, 18, 23, 0.05) 100%);
	border: 1px solid rgba(234, 18, 23, 0.3);
	border-radius: 20px;
	color: var(--color-primary);
	font-size: clamp(12px, 0.9vw, 14px);
	text-decoration: none;
	transition: all var(--transition-normal);
}

.genre-card:hover,
.genre-badge:hover {
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.2) 0%, rgba(234, 18, 23, 0.1) 100%);
	border-color: rgba(234, 18, 23, 0.6);
}

/* Hero person photo styling (single actor/director pages) */
.hero__photo { display: flex; align-items: center; justify-content: center; padding: clamp(8px, 2vw, 16px); }
.hero__photo img { width: clamp(140px, 25vw, 160px); height: clamp(140px, 25vw, 160px); aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; display: block; }
.hero__photo .person-card__placeholder { width: clamp(140px, 25vw, 160px); height: clamp(140px, 25vw, 160px); aspect-ratio: 1/1; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12)); }

@media (min-width: 1200px) {
	.actors-grid,.directors-grid,.persons-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--spacing-md); }
}

@media (min-width: 768px) and (max-width: 1023px) {
	.movies-grid,.tv-grid,.grid--latest { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
	.actors-grid,.directors-grid,.persons-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--spacing-md); }
	.person-card__body { padding: 8px 10px; }
	.person-card__name { font-size: var(--font-size-sm); }
	.person-card__excerpt { font-size: var(--font-size-sm); -webkit-line-clamp: 2; line-clamp: 2; }
}

@media (max-width: 767px) {
	.movies-grid,.tv-grid,.grid--latest { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-sm); }
	.actors-grid,.directors-grid,.persons-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--spacing-sm); margin: var(--spacing-xl) 0; }
	.person-card__body { padding: 8px 8px; }
	.person-card__name { font-size: var(--font-size-sm); }
	.person-card__excerpt { font-size: var(--font-size-sm); -webkit-line-clamp: 2; line-clamp: 2; }
}

	@media (max-width: 479px) {
	.person-card__body { padding: 8px 6px; gap: 4px; }
	.person-card__name { font-size: var(--font-size-sm); }
	.person-card__excerpt { font-size: var(--font-size-xs); -webkit-line-clamp: 2; line-clamp: 2; }
}

@media (max-width: 479px) {
	.actors-grid,.directors-grid,.persons-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin: var(--spacing-lg) 0; }
	.person-card__body { padding: 6px 5px; gap: 3px; }
	.person-card__name { font-size: var(--font-size-xs); line-height: 1.2; }
	.person-card__excerpt { font-size: var(--font-size-xxs); -webkit-line-clamp: 2; line-clamp: 2; }
	.person-card:hover { transform: translateY(-4px); }
}

@media (max-width: 319px) {
	.person-card__body { padding: 5px 4px; gap: 2px; }
	.person-card__name { font-size: var(--font-size-xs); line-height: 1.2; }
	.person-card__excerpt { display: none; }
}

	/* Additional very small phone adjustments */
	@media (max-width: 319px) {
		.actors-grid,.directors-grid,.persons-grid { gap: 4px; }
	}

.cast-grid,
.directors-list {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--spacing-md);
	margin: var(--spacing-lg) 0;
	align-items: start;
}

.cast-grid .people-visible,
.directors-list .people-visible {
	display: contents;
}

.cast-member,
.director-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--spacing-xs);
	padding: var(--spacing-sm);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	transition: all var(--transition-normal);
}

.cast-member:hover,
.director-item:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.cast-member h4,
.director-item h4 {
	margin: 0;
	font-size: clamp(13px, 0.95vw, 15px);
	font-weight: var(--font-weight-semibold);
	color: var(--color-text-primary);
	word-break: break-word;
	line-height: 1.3;
}

.cast-grid .people-hidden,.directors-list .people-hidden { display: none; }
.cast-grid .people-hidden.show,.directors-list .people-hidden.show { display: contents; }
.cast-grid .people-show-more-wrapper,.cast-grid .people-show-less-wrapper,.directors-list .people-show-more-wrapper,.directors-list .people-show-less-wrapper { grid-column: 1 / -1; display: flex; justify-content: center; margin: var(--spacing-md) 0; padding: var(--spacing-sm) 0; }
.cast-grid .people-show-more-wrapper.hide,.directors-list .people-show-more-wrapper.hide { display: none; }
.cast-grid .people-show-less-wrapper:not(.show),.directors-list .people-show-less-wrapper:not(.show) { display: none; }

.carousel { display: flex; align-items: center; gap: var(--spacing-sm); margin-top: var(--spacing-sm); }
.carousel-track { display: flex; gap: var(--spacing-sm); overflow-x: auto; scroll-behavior: smooth; padding: var(--spacing-sm) 0; scroll-snap-type: x proximity; }
.carousel-track .movie-card { flex: 0 0 180px; scroll-snap-align: start; }
.carousel.mini .movie-card { flex: 0 0 135px; }

@media (min-width: 1200px) { .carousel-track .movie-card { flex: 0 0 220px; } .carousel.mini .movie-card { flex: 0 0 155px; } }
@media (max-width: 380px) {
	.carousel-track .movie-card { flex: 0 0 140px; } .carousel.mini .movie-card { flex: 0 0 105px; }
	.carousel.mini .carousel-track { max-width: calc(105px * 3 + var(--spacing-sm) * 2); overflow-x: auto; scroll-snap-type: x mandatory; }
	.carousel.mini .movie-card { scroll-snap-align: start; }
}

/* Modern styles for AJAX "Ver más" button - Unified with btn--primary btn--small */
.mmp-load-more-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: clamp(20px, 4vw, 40px) 0;
	padding: 0 clamp(12px, 2vw, 20px);
}

.mmp-load-more {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: var(--color-primary);
	color: var(--color-text-inverse);
	border: 1px solid var(--color-primary);
	border-radius: var(--radius-md);
	padding: var(--spacing-md) var(--spacing-lg);
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-bold);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: clamp(4px, 0.8vw, 8px);
	text-transform: none;
	min-height: 44px;
	letter-spacing: 0.3px;
	white-space: nowrap;
	text-decoration: none;
	font-family: var(--font-family-base);
}

.mmp-load-more::after {
	content: '\2193';
	display: inline-block;
	transform: translateY(0);
	transition: transform 0.2s ease;
	font-size: var(--font-size-xs);
	opacity: 0.8;
}

.mmp-load-more:hover {
	background: var(--color-primary-light);
	border-color: var(--color-primary-light);
	color: var(--color-text-inverse);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mmp-load-more:hover::after {
	transform: translateY(-1px);
}

.mmp-load-more:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mmp-load-more:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.mmp-load-more:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	pointer-events: none;
}

/* Responsive adjustments - same as btn--primary btn--small */
@media (max-width: 479px) {
	.mmp-load-more-wrap {
		margin: clamp(16px, 3vw, 32px) 0;
		padding: 0 clamp(8px, 1.5vw, 16px);
	}

	.mmp-load-more {
		width: 100%;
		padding: var(--spacing-md) var(--spacing-lg);
		font-size: var(--font-size-small);
		border-radius: var(--radius-md);
		gap: clamp(4px, 0.8vw, 6px);
		min-height: 44px;
	}
}

.carousel-prev,.carousel-next { background: var(--color-bg-dark-tertiary); border: none; color: var(--color-text-primary); padding: 8px 10px; border-radius: 6px; cursor: pointer; }

/* ========================================
   Sections
   ======================================== */

.section {
	padding: var(--spacing-3xl) var(--spacing-lg); margin-bottom: var(--spacing-2xl); position: relative;
	background: linear-gradient(135deg, rgba(20,20,30,0.6) 0%, rgba(25,25,40,0.8) 100%);
	border: 1px solid rgba(255,182,28,0.08); border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	transition: all var(--transition-normal);
}

.section:hover {
	background: linear-gradient(135deg, rgba(25,25,35,0.7) 0%, rgba(30,30,45,0.9) 100%);
	border-color: rgba(255,182,28,0.15); box-shadow: 0 6px 24px rgba(255,182,28,0.1);
	transform: translateY(-2px);
}

.section::before {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,182,28,0.2), transparent);
	opacity: 1; border-radius: 12px 12px 0 0;
}

.section::after {
	content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,182,28,0.1), transparent);
	opacity: 0; transition: opacity var(--transition-normal); border-radius: 0 0 12px 12px;
}

.section:hover::after { opacity: 1; }
.section:last-child { margin-bottom: 0; }
.section > .container { padding: 0; }

.section__header {
	display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--spacing-xl);
	flex-wrap: wrap; gap: var(--spacing-md); position: relative; padding-bottom: var(--spacing-md);
	border-bottom: 1px solid rgba(255,182,28,0.05); transition: border-color var(--transition-fast);
}

.section__header--grid {
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

.section__header:hover { border-bottom-color: rgba(255,182,28,0.1); }

.section__title {
	font-size: var(--font-size-h2); margin: 0; font-weight: 700; letter-spacing: -0.5px;
	transition: all var(--transition-fast); background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section__title:hover { letter-spacing: 0px; }

.section--related-tv,.section--related-movies,.section--search-results,.section--multi {
	padding: var(--spacing-3xl) var(--spacing-lg); margin-bottom: var(--spacing-2xl);
	background: linear-gradient(135deg, rgba(20,20,30,0.5) 0%, rgba(25,25,40,0.7) 100%);
	border: 1px solid rgba(255,182,28,0.08); border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	border-top: none; transition: all var(--transition-normal);
}

.section--related-tv:hover,.section--related-movies:hover,.section--search-results:hover,.section--multi:hover {
	background: linear-gradient(135deg, rgba(25,25,35,0.6) 0%, rgba(30,30,45,0.8) 100%);
	border-color: rgba(255,182,28,0.15); box-shadow: 0 6px 24px rgba(255,182,28,0.1);
	transform: translateY(-2px);
}

.section--home {
	padding: var(--spacing-3xl) var(--spacing-lg); margin-bottom: var(--spacing-2xl);
	background: linear-gradient(135deg, rgba(20,20,30,0.5) 0%, rgba(25,25,40,0.7) 100%);
	border: 1px solid rgba(255,182,28,0.08); border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	transition: all var(--transition-normal);
}

.section--home:hover {
	background: linear-gradient(135deg, rgba(25,25,35,0.6) 0%, rgba(30,30,45,0.8) 100%);
	border-color: rgba(255,182,28,0.15); box-shadow: 0 6px 24px rgba(255,182,28,0.1);
	transform: translateY(-2px);
}

.section--related-tv .movies-grid,.section--related-movies .movies-grid {
	display: grid; grid-template-columns: repeat(6, 1fr);
	gap: var(--spacing-lg); margin: var(--spacing-2xl) 0; width: 100%;
}

.section--related-tv .movies-grid .movie-card,.section--related-movies .movies-grid .movie-card { transition: all var(--transition-normal); }
.section--related-tv .movies-grid .movie-card:hover,.section--related-movies .movies-grid .movie-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.section--search-results .movies-grid .search-card {
	max-width: 420px;
	width: 100%;
	margin: 0 auto;
}

.section--seo-keywords { padding: var(--spacing-md) var(--spacing-lg); }
.section--seo-keywords .seo-keywords { color: rgba(255,255,255,0.65); font-size: var(--font-size-sm); line-height: 1.4; margin: 0; word-break: keep-all; }

/* ========================================
   Details Grid (Movie/TV Information)
   ======================================== */

.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing-lg); margin-top: var(--spacing-lg); }

.detail-item { background-color: var(--color-bg-dark-secondary); border: 1px solid var(--color-border); border-radius: 8px; padding: var(--spacing-lg); display: flex; flex-direction: column; transition: all 0.3s ease; }
.detail-item:hover { border-color: var(--color-primary); background-color: var(--color-bg-dark-tertiary); transform: translateY(-2px); }

.detail-label { font-size: var(--font-size-small); color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--spacing-sm); font-weight: var(--font-weight-semibold); }
.detail-value { font-size: var(--font-size-body); color: var(--color-text-primary); font-weight: var(--font-weight-medium); word-break: break-word; }
.detail-value a { color: var(--color-primary); text-decoration: none; transition: color 0.2s ease; }
.detail-value a:hover { color: var(--color-primary-light); text-decoration: underline; }

/* ========================================
   Archive Layout
   ======================================== */

.archive-layout { display: grid; grid-template-columns: 1fr; gap: var(--spacing-2xl); margin: var(--spacing-2xl) 0; width: 100%; }
.archive-layout--fullwidth { grid-template-columns: 1fr; }

.filter-group { margin-bottom: var(--spacing-lg); }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h3 { font-size: var(--font-size-h4); margin-bottom: var(--spacing-md); }
.filter-options label { display: flex; gap: var(--spacing-sm); margin-bottom: var(--spacing-sm); cursor: pointer; }

.filter-select,.filter-input,.filter-type-select { padding: 8px 10px; border-radius: 6px; border: 1px solid var(--color-border); background: var(--color-bg-dark-secondary); color: var(--color-text-primary); height: 40px; min-width: 120px; box-sizing: border-box; }
.filter-select:focus,.filter-input:focus,.filter-type-select:focus { outline: none; border-color: var(--color-primary); }

.hero__filters .filter-select,.hero__filters .filter-input,.hero__filters .filter-type-select { color: var(--color-text-primary); }
.hero__filters .filter-select:focus:not([value=""]),.hero__filters .filter-select:active:not([value=""]),.hero__filters .filter-select option:checked,.hero__filters .filter-input:focus:not([value=""]),.hero__filters .filter-type-select:focus:not([value=""]) { color: #111; }

@media (max-width: 479px) {
	.hero__search-row { flex-wrap: wrap; } .hero__filters { flex-wrap: wrap; }
	.filter-type-select { order: 2; margin-left: auto; margin-right: var(--spacing-sm); min-width: 120px; }
	.hero__search-row .btn { order: 3; }
}

.archive-sorting { display: flex; gap: var(--spacing-md); align-items: center; margin-bottom: var(--spacing-md); }
.archive-sorting__label { color: var(--color-text-secondary); font-size: var(--font-size-small); }
.archive-sorting__link { color: var(--color-text-primary); text-decoration: none; padding: 6px; border-radius: 6px; }
.archive-sorting__link:hover { background: var(--color-bg-dark-tertiary); }

/* ========================================
   Pagination
   ======================================== */

/* ========================================
   Single Layout
   ======================================== */

.single-layout { display: grid; grid-template-columns: 1fr; gap: var(--spacing-2xl); margin: var(--spacing-2xl) 0; width: 100%; }

/* ========================================
   Details Section (above footer)
   ======================================== */
.section--details { background: var(--color-bg-dark-secondary); padding: var(--spacing-2xl) 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; }
.section--details .container { text-align: center; }
.section--details .section__title { margin-bottom: var(--spacing-2xl); color: var(--color-text-primary); }
.section--details .details-keywords { color: var(--color-text-secondary); font-size: var(--font-size-small); line-height: 1.5; }
.details-keywords-list { list-style: none; padding: var(--spacing-lg); margin: 0; display: flex; flex-wrap: wrap; gap: 0; background: rgba(255, 255, 255, 0.05); border-radius: 6px; border-left: 3px solid var(--color-primary); transition: all var(--transition-fast); }
.details-keywords-list li { display: inline; color: var(--color-text-secondary); font-size: var(--font-size-small); line-height: 1.6; margin: 0; padding: 0; }
.details-keywords-list li:not(:last-child)::after { content: " • "; padding: 0 6px; color: rgba(255, 255, 255, 0.3); }
.details-keywords-list:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 768px) { .details-keywords-list { flex-direction: column; align-items: flex-start; } }

/* ========================================
   404 Error Page
   ======================================== */

.error-404-content { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--spacing-3xl) var(--spacing-lg); min-height: 60vh; gap: var(--spacing-2xl); }

.error-404__icon { font-size: var(--font-size-display-xl); font-weight: var(--font-weight-bold); color: var(--color-primary); line-height: 1; opacity: 0.8; }
.error-404__title { font-size: var(--font-size-h1); color: var(--color-text-primary); margin: 0; }
.error-404__message { font-size: var(--font-size-body); color: var(--color-text-secondary); max-width: clamp(400px, 85vw, 500px); margin: 0; }

.error-404__actions { display: flex; gap: var(--spacing-lg); flex-wrap: wrap; justify-content: center; margin: var(--spacing-lg) 0; }
.error-404__actions .btn {
	min-width: 220px;
}
.error-404__actions .btn--primary {
	color: #ffffff;
}
.error-404__actions .btn--primary:hover {
	color: #ffffff;
}

.error-404__search {
	width: 100%;
	max-width: clamp(600px, 90vw, 720px);
	background: linear-gradient(135deg, rgba(20,20,30,0.65) 0%, rgba(25,25,40,0.85) 100%);
	border: 1px solid rgba(234, 18, 23, 0.75);
	box-shadow: 0 16px 40px rgba(0,0,0,0.45);
	border-radius: 14px;
	padding: var(--spacing-2xl);
}
.error-404__search h3 {
	font-size: var(--font-size-h3);
	color: #ffffff;
	margin: 0 0 var(--spacing-lg) 0;
}
.error-404__search .theme-search-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.error-404__search .theme-search-inner {
	display: flex;
	flex: 1 1 auto;
	min-width: 220px;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}
.error-404__search .theme-search-input {
	flex: 1 1 320px;
	min-width: 220px;
}
.error-404__search .theme-search-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

@media (max-width: 768px) {
	.error-404__search {
		padding: var(--spacing-lg);
	}
	.error-404__search .theme-search-form {
		flex-direction: column;
		align-items: stretch;
	}
	.error-404__search .theme-search-inner {
		width: 100%;
	}
	.error-404__search .theme-search-input,
	.error-404__search .theme-search-type,
	.error-404__search .theme-search-form .search-submit,
	.error-404__search .theme-search-form .btn {
		width: 100%;
		min-width: 0;
	}
	.error-404__search .theme-search-controls {
		flex-direction: column;
		gap: 8px;
	}
}

@media (max-width: 479px) {
	.error-404__search { padding: var(--spacing-lg); }
	.error-404__search .theme-search-form { flex-direction: column; align-items: stretch; gap: 12px; }
	.error-404__search .theme-search-input,.error-404__search .theme-search-type,.error-404__search .theme-search-year,.error-404__search .theme-search-genre,.error-404__search .theme-search-form .search-submit,.error-404__search .theme-search-form .btn { width: auto; flex: 1; min-width: 0; }
	.error-404__search .theme-search-controls { display: flex; flex-direction: row; gap: 8px; align-items: center; }
}

/* ========================================
   No Results Section (Search)
   ======================================== */

.no-results-section {
	margin: var(--spacing-2xl) 0;
}

.no-results {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 48px);
	background: linear-gradient(135deg, rgba(234,18,23,0.05) 0%, rgba(234,18,23,0.02) 100%);
	border: 1px solid rgba(234,18,23,0.15);
	border-radius: var(--radius-lg);
	gap: var(--spacing-2xl);
	max-width: 900px;
	margin: 0 auto;
}

.no-results__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--spacing-lg);
}

.no-results__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	color: var(--color-primary);
	opacity: 0.7;
}

.no-results__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	line-height: 1.3;
	margin: 0;
	font-weight: var(--font-weight-bold);
	color: var(--color-text-primary);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.no-results__query {
	color: var(--color-primary);
	font-weight: var(--font-weight-bold);
	word-break: break-word;
}

.no-results__subtitle {
	font-size: 1.1rem;
	color: var(--color-text-secondary);
	margin: 0;
	line-height: 1.6;
	max-width: 600px;
}

.no-results__suggestions {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
	padding: var(--spacing-lg);
	background: rgba(255,255,255,0.02);
	border-radius: var(--radius-md);
	border: 1px solid rgba(255,255,255,0.05);
	width: 100%;
	max-width: 600px;
}

.no-results__suggestions-title {
	margin: 0;
	font-size: 1rem;
	font-weight: var(--font-weight-bold);
	color: var(--color-text-primary);
}

.no-results__suggestions-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
}

.no-results__suggestions-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--color-text-secondary);
	font-size: 0.95rem;
	line-height: 1.5;
}

.no-results__suggestions-list li::before {
	content: '✓';
	color: var(--color-primary);
	font-weight: bold;
	flex-shrink: 0;
	margin-top: 2px;
}

.no-results__search-wrap {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
	width: 100%;
	max-width: 100%;
}

.no-results__search-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: var(--font-weight-bold);
	color: var(--color-text-primary);
}

.no-results .theme-search-form {
	background: linear-gradient(135deg, rgba(20,20,30,0.6) 0%, rgba(25,25,40,0.8) 100%);
	padding: 14px;
	border-radius: 14px;
	border: 1px solid rgba(234, 18, 23, 0.75);
	box-shadow: 0 14px 36px rgba(0,0,0,0.45);
	width: 100%;
	margin: 0 auto;
	max-width: clamp(600px, 85vw, 720px);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.no-results .theme-search-inner {
	display: flex;
	gap: 8px;
	align-items: center;
	width: 100%;
	flex-wrap: wrap;
}

.no-results .theme-search-input {
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(234, 18, 23, 0.55);
	color: #ffffff;
	flex: 1;
	min-width: 250px;
}

.no-results .theme-search-input::placeholder {
	color: #ffffff;
	opacity: 0.85;
}

.no-results .theme-search-input:focus {
	border-color: #ea1217;
	background: rgba(234, 18, 23, 0.05);
	box-shadow: 0 0 0 3px rgba(234, 18, 23, 0.1);
}

.no-results .theme-search-controls {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
}

.no-results .theme-search-type,
.no-results .theme-search-year,
.no-results .theme-search-genre {
	background: linear-gradient(135deg, rgba(20,20,30,0.6) 0%, rgba(25,25,40,0.8) 100%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'><path d='M7 10l5 5 5-5' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 8px center;
	background-size: auto, 14px;
	border: 1px solid rgba(234, 18, 23, 0.55);
	padding: 10px 28px 10px 12px;
	color: #ffffff;
	border-radius: 8px;
	height: 42px;
		font-size: var(--font-size-sm);
	box-shadow: 0 0 0 3px rgba(234, 18, 23, 0.18);
}

.no-results .theme-search-type:hover,
.no-results .theme-search-year:hover,
.no-results .theme-search-genre:hover {
	border-color: rgba(234, 18, 23, 0.85);
	background-color: linear-gradient(135deg, rgba(25,25,35,0.7) 0%, rgba(30,30,45,0.9) 100%);
}

.no-results .search-submit {
	background: #ea1217;
	color: #ffffff;
	border: 2px solid #ea1217;
	padding: var(--spacing-md) var(--spacing-lg);
	min-height: 44px;
	border-radius: 10px;
	font-weight: var(--font-weight-bold);
	cursor: pointer;
	flex: 0 0 auto;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(234, 18, 23, 0.20);
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-sm);
}

.no-results .search-submit:hover {
	background: #c70e12;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(234, 18, 23, 0.25);
}

.section--search-results .no-results { text-align: center; padding: 48px 24px; }
.section--search-results .no-results .no-results__title { font-size: 1.5rem; margin-bottom: 8px; }
.section--search-results .no-results .no-results__desc { margin-bottom: 24px; color: var(--color-text-secondary); }
.section--search-results .no-results .no-results__icon { width: 96px; height: 96px; margin: 0 auto 24px; opacity: .6; }
.section--search-results .no-results .no-results__placeholders { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
.section--search-results .no-results .no-results__placeholder { width: clamp(100px, 20vw, 120px); height: auto; aspect-ratio: 3/2; border: 2px dashed var(--color-border); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--color-text-secondary); background: transparent; }
.section--search-results .no-results .no-results__search-wrap { margin-top: 36px; display: flex; justify-content: center; }

@media (max-width: 768px) {
	.no-results {
		padding: var(--spacing-2xl) var(--spacing-md);
	}

	.no-results__icon {
		width: 100px;
		height: 100px;
	}

	.no-results__title {
		font-size: 1.3rem;
	}

	.no-results__suggestions-list li {
		font-size: 0.9rem;
	}
}

@media (max-width: 479px) {
	.no-results {
		padding: var(--spacing-lg) var(--spacing-sm);
		gap: var(--spacing-lg);
	}

	.no-results__icon {
		width: 80px;
		height: 80px;
	}

	.no-results__title {
		font-size: 1.1rem;
	}

	.no-results__subtitle {
		font-size: 0.95rem;
	}

	.no-results__suggestions {
		padding: var(--spacing-md);
	}

	.section--search-results .no-results .no-results__placeholders { flex-wrap: wrap; gap: 12px; }
	.section--search-results .no-results .no-results__placeholder { width: calc(33% - 12px); min-width: 100px; }
}

/* ========================================
   Footer
   ======================================== */

.site-footer { background-color: var(--color-bg-dark-secondary); border-top: 1px solid var(--color-border); padding: var(--spacing-3xl) 0 var(--spacing-2xl) 0; margin-top: 1rem; width: 100%; }
.site-footer__inner { max-width: clamp(1200px, 95vw, 1280px); margin: 0 auto; padding: 0 var(--spacing-lg); }

.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-2xl); margin-bottom: var(--spacing-2xl); justify-items: center; text-align: center; width: 100%; }
.footer-column { text-align: center; }
.footer-column h3 { font-size: var(--font-size-h4); margin-bottom: var(--spacing-lg); color: var(--color-text-primary); }

.footer-column--social,
.footer-column--legal,
.footer-column--categories { 
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: var(--spacing-lg);
	border-radius: 4px;
}

.footer-category-list,
.footer-social-list,
.footer-legal-list { list-style: none; margin: 0; padding: 0; }

.footer-category-list li,
.footer-social-list li,
.footer-legal-list li { margin-bottom: var(--spacing-sm); }

.footer-category-list a,
.footer-social-list a,
.footer-legal-list a { color: var(--color-text-secondary); transition: color var(--transition-fast); }

.footer-category-list a {
	font-weight: 700;
	color: #333333;
}

.footer-category-list a:hover,
.footer-social-list a:hover,
.footer-legal-list a:hover { color: var(--color-primary); }

.footer-category-list a:hover {
	color: #ea1217;
}

.footer-bottom { display: flex; justify-content: center; align-items: center; flex-direction: column; padding-top: var(--spacing-lg); border-top: 1px solid var(--color-border); gap: var(--spacing-md); text-align: center; }
.footer-bottom__copyright { font-size: var(--font-size-small); color: var(--color-text-tertiary); display: inline-block; }
html[data-theme="dark"] .site-footer .footer-bottom__copyright { color: #ffffff; }

html[data-theme="dark"] .site-footer .footer-category-list a {
	color: #ffffff;
}

html[data-theme="dark"] .site-footer .footer-category-list a:hover {
	color: #ea1217;
}
.footer-bottom__links { display: flex; gap: var(--spacing-lg); font-size: var(--font-size-small); flex-wrap: wrap; justify-content: center; }
.footer-bottom__links a { color: var(--color-text-secondary); transition: color var(--transition-fast); }
.footer-bottom__links a:hover { color: var(--color-primary); }

/* ========================================
   Utility Classes
   ======================================== */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1280px) { :root { --spacing-3xl: 48px; --spacing-2xl: 40px; } }

@media (max-width: 1023px) {
	:root { --font-size-h1: 36px; --font-size-h2: 28px; --font-size-h3: 24px; --spacing-2xl: 36px; --spacing-lg: 20px; }
	.single-layout { grid-template-columns: 1fr; }
	.archive-layout { grid-template-columns: 1fr; }
	.hero { min-height: 280px; padding: var(--spacing-2xl) var(--spacing-lg); }
	.hero__content { flex-direction: column; gap: var(--spacing-lg); }
	.hero__poster { width: clamp(100px, 18vw, 130px); height: auto; aspect-ratio: 2/3; }
	.movies-grid,.tv-grid { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
	.section--related-tv .movies-grid,.section--related-movies .movies-grid { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
	.actors-grid,.directors-grid { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
	.footer-columns { grid-template-columns: repeat(2, 1fr); }
	.footer-bottom { flex-direction: column; text-align: center; }
	.error-404-content { padding: var(--spacing-2xl) var(--spacing-lg); min-height: 50vh; }
	.error-404__icon { font-size: var(--font-size-display-lg); }
	.error-404__actions { flex-direction: column; }
	.error-404__actions .btn { width: 100%; }
}

@media (max-width: 767px) {
	:root { --font-size-h1: 28px; --font-size-h2: 24px; --font-size-h3: 20px; --spacing-lg: 16px; --spacing-md: 12px; --spacing-2xl: 32px; }
	.section { padding: var(--spacing-2xl) var(--spacing-md); margin-bottom: var(--spacing-lg); border-radius: 8px; }
	.section::before { opacity: 0; }
	.section--home { padding: var(--spacing-2xl) var(--spacing-md); margin-bottom: var(--spacing-lg); }
	.section--related-tv,.section--related-movies,.section--search-results,.section--multi { padding: var(--spacing-2xl) var(--spacing-md); margin-bottom: var(--spacing-lg); }
	.section--related-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-2xl); }
	.container { padding: 0 var(--spacing-md); }
	.site-header__inner { gap: var(--spacing-sm); flex-wrap: wrap; }

	/* header search removed */
	.hero { min-height: 200px; padding: var(--spacing-xl) var(--spacing-md); }
	.hero__poster { width: clamp(90px, 16vw, 110px); height: auto; aspect-ratio: 2/3; }
	.hero__inner { gap: var(--spacing-md); }
	.movies-grid,.tv-grid,.actors-grid,.directors-grid { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
	.section--related-tv .movies-grid,.section--related-movies .movies-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-md); }
	.movie-card__content { padding: 10px 8px; gap: 5px; }
	.movie-card__title { font-size: var(--font-size-sm); }
	.movie-card__meta { font-size: var(--font-size-xxs); gap: 6px; }
	.person-card__body { padding: 8px 6px; gap: 4px; }
	.person-card__name { font-size: var(--font-size-sm); }
	.person-card__excerpt { font-size: var(--font-size-xs); }
	.archive-layout { gap: var(--spacing-md); }
	.footer-columns { gap: var(--spacing-lg); }
	.pagination { --pagination-gap: var(--spacing-sm); gap: var(--spacing-sm); margin: var(--spacing-xl) 0; }
	.pagination .page-numbers,.pagination .pagination__item { min-width: 44px; height: 44px; padding: calc(var(--spacing-xs) * 0.75); font-size: var(--font-size-small); }
}

@media (max-width: 380px) {
	:root { --font-size-h1: 24px; --font-size-h2: 20px; --font-size-h3: 18px; --spacing-md: 8px; --spacing-lg: 12px; --spacing-2xl: 24px; }
	.section { padding: var(--spacing-lg) var(--spacing-sm); margin-bottom: var(--spacing-md); border-radius: 8px; }
	.section--home { padding: var(--spacing-lg) var(--spacing-sm); margin-bottom: var(--spacing-md); }
	.section--related-tv,.section--related-movies,.section--search-results,.section--multi { padding: var(--spacing-lg) var(--spacing-sm); margin-bottom: var(--spacing-md); }
	.section--related-grid { grid-template-columns: 1fr; gap: var(--spacing-2xl); }
	.container { padding: 0 var(--spacing-md); }
	.hero { padding: var(--spacing-lg) var(--spacing-md); min-height: 180px; }
	.hero__content { gap: var(--spacing-md); }
	.hero__inner { flex-direction: column; align-items: flex-start; }
	.hero__text { max-width: 100%; }
	.hero__search-row { width: 100%; }
	.hero__poster { width: clamp(75px, 13vw, 90px); height: auto; aspect-ratio: 2/3; }
	.movies-grid,.tv-grid,.actors-grid,.directors-grid,.grid--latest { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
	.section--related-tv .movies-grid,.section--related-movies .movies-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-md); }
	.movie-card__content { padding: 8px 6px; gap: 4px; }
	.movie-card__title { font-size: var(--font-size-sm); margin: 0 0 2px 0; }
	.movie-card__meta { font-size: var(--font-size-xxs); gap: 4px; }
	.person-card__body { padding: 6px 5px; gap: 3px; }
	.person-card__name { font-size: var(--font-size-xs); }
	.person-card__excerpt { font-size: var(--font-size-xxs); }
	.cast-grid,.directors-list { grid-template-columns: 1fr; }
	.archive-layout { gap: var(--spacing-md); }
	.footer-columns { gap: var(--spacing-lg); }
	.pagination { --pagination-gap: var(--spacing-xs); gap: var(--spacing-xs); margin: var(--spacing-lg) 0; }
	.pagination .page-numbers { padding: var(--spacing-xs) var(--spacing-sm); font-size: var(--font-size-xs); }
	.error-404-content { padding: var(--spacing-lg); gap: var(--spacing-lg); }
	.error-404__icon { font-size: var(--font-size-display-md); }
	.error-404__title { font-size: var(--font-size-h2); }
	.error-404__search { padding: var(--spacing-lg); }
	.carousel { align-items: flex-start; }
	.carousel-prev,.carousel-next { display: none; }
	.section--multi .multi-grid { gap: var(--spacing-md); }
}

/* ========================================
   Top Rated Actors & Directors
   ======================================== */

.section--top-rated {
	padding: var(--spacing-md) var(--spacing-lg);
	background: transparent;
	border-bottom: 1px solid rgba(234, 18, 23, 0.15);
}

/* ========================================
   Social Profiles Section
   ======================================== */

.section--social-profiles {
	padding: var(--spacing-3xl) var(--spacing-lg);
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
	border-top: 1px solid rgba(234, 18, 23, 0.1);
	text-align: center;
}

.section--social-profiles .section__title {
	margin-bottom: var(--spacing-2xl);
	color: var(--color-text-primary);
}

.social-profiles-list {
	display: flex;
	justify-content: center;
	gap: var(--spacing-lg);
	flex-wrap: wrap;
}

.social-profile-link {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	padding: var(--spacing-md) var(--spacing-lg);
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	color: var(--color-text-primary);
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-profile-link:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(234, 18, 23, 0.25);
}

.social-icon {
	font-size: var(--font-size-h2);
	line-height: 1;
}

.social-label {
	font-weight: 500;
	font-size: var(--font-size-body);
}

@media (max-width: 640px) {
	.section--social-profiles {
		padding: var(--spacing-2xl) var(--spacing-lg);
	}

	.social-profiles-list {
		gap: var(--spacing-md);
	}

	.social-profile-link {
		padding: var(--spacing-sm) var(--spacing-md);
		font-size: var(--font-size-sm);
	}

	.social-icon {
		font-size: var(--font-size-h3);
	}
}

/* ========================================
   Social URLs Section (Person Pages)
   ======================================== */

.section--social-urls {
	padding: var(--spacing-2xl) var(--spacing-lg);
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border);
	margin-bottom: var(--spacing-3xl);
}

.section--social-urls .section__title {
	margin-bottom: var(--spacing-2xl);
}

.social-urls-list {
	display: flex;
	justify-content: center;
	gap: var(--spacing-lg);
	flex-wrap: wrap;
}

.social-url-link {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	padding: var(--spacing-md) var(--spacing-lg);
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
	border: 1px solid var(--color-border-soft);
	border-radius: 8px;
	color: var(--color-text-primary);
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
}

.social-url-link:hover {
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
	border-color: var(--color-primary);
	transform: translateY(-2px);
	color: var(--color-primary-light);
}

.social-url-link .social-icon {
	font-size: var(--font-size-h2);
	line-height: 1;
}

.social-url-link .social-label {
	font-size: var(--font-size-body);
}

@media (max-width: 640px) {
	.section--social-urls {
		padding: var(--spacing-lg) var(--spacing-md);
	}

	.social-urls-list {
		gap: var(--spacing-md);
	}

	.social-url-link {
		padding: var(--spacing-sm) var(--spacing-md);
		font-size: var(--font-size-sm);
	}

	.social-url-link .social-icon {
		font-size: var(--font-size-h3);
	}
}

/* ========================================
   Awards Section (Person Pages)
   ======================================== */

.section--awards {
	padding: var(--spacing-2xl) var(--spacing-lg);
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
	border: 1px solid rgba(76, 175, 80, 0.1);
	margin-bottom: var(--spacing-3xl);
}

.section--awards .section__title {
	margin-bottom: var(--spacing-2xl);
	color: var(--color-text-primary);
}

.awards-content {
	color: var(--color-text-primary);
	line-height: 1.8;
}

.awards-content p {
	margin-bottom: var(--spacing-md);
	color: var(--color-text-secondary);
}

.awards-content strong {
	color: var(--color-success);
	font-weight: 600;
}

.awards-content ul,
.awards-content ol {
	margin-left: var(--spacing-lg);
	margin-bottom: var(--spacing-md);
}

.awards-content li {
	margin-bottom: var(--spacing-sm);
	padding-left: var(--spacing-sm);
}

/* Fix section--top-rated header alignment */
.section--top-rated .section__header {
	margin-bottom: var(--spacing-lg);
}

.section--top-rated .section__header--centered {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: none;
	padding-bottom: 0;
}

.section--top-rated .section__title {
	font-size: clamp(18px, 5vw, 28px);
}

.top-rated-image {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(234, 18, 23, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--spacing-xs);
	border: 2px solid rgba(234, 18, 23, 0.2);
	transition: border-color 0.3s ease;
}

.top-rated-card:hover .top-rated-image {
	border-color: rgba(234, 18, 23, 0.4);
}

.top-rated-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.top-rated-placeholder {
	font-size: var(--font-size-h3);
	opacity: 0.5;
}

.top-rated-name {
		font-size: var(--font-size-sm);
	color: var(--color-text-primary);
	text-align: center;
	margin: 0;
	line-height: 1.3;
	max-width: 130px;
	word-wrap: break-word;
}

/* Responsive Design */
@media (max-width: 1199px) {
	.top-rated-grid {
		grid-template-columns: repeat(5, 1fr);
		gap: var(--spacing-md);
	}

	.top-rated-image {
		width: 95px;
		height: 95px;
		margin-bottom: 6px;
	}

	.top-rated-name {
		font-size: var(--font-size-sm);
		max-width: 120px;
	}
}

@media (max-width: 767px) {
	.top-rated-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--spacing-sm);
	}

	.top-rated-image {
		width: 80px;
		height: 80px;
		margin-bottom: 4px;
	}

	.top-rated-name {
		font-size: var(--font-size-xs);
		max-width: 100px;
	}
}

@media (max-width: 480px) {
	.top-rated-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--spacing-sm);
	}

	.top-rated-image {
		width: 70px;
		height: 70px;
		margin-bottom: 3px;
	}

	.top-rated-name {
		font-size: var(--font-size-xs);
		max-width: 90px;
	}
}

@media (max-width: 380px) {
	.section--top-rated {
		padding: var(--spacing-md) var(--spacing-sm);
	}

	.section--top-rated .section__title {
		font-size: clamp(14px, 3.5vw, 18px);
	}

	.top-rated-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--spacing-xs);
		max-width: 100%;
	}

	.top-rated-image {
		width: 60px;
		height: 60px;
		margin-bottom: 3px;
	}

	.top-rated-name {
		font-size: var(--font-size-xxs);
		max-width: 80px;
	}
}

/* ========================================
   Latest Movies & Episodes Two-Column Layout
   ======================================== */

.section--latest-duo {
	padding: var(--spacing-lg) var(--spacing-md);
}

.latest-duo-container {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: var(--spacing-lg);
	max-width: clamp(1100px, 95vw, 1200px);
	margin: 0 auto;
	align-items: start;
}

.latest-duo-column {
	flex: 1;
}

.latest-duo-header {
	margin-bottom: var(--spacing-sm);
	padding-bottom: 6px;
	border-bottom: 2px solid rgba(234, 18, 23, 0.2);
}

.latest-duo-title {
	font-size: var(--font-size-h3);
	font-weight: 600;
	color: var(--color-text-primary);
	margin: 0;
	letter-spacing: 0.5px;
}

.latest-duo-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.latest-duo-item {
	display: block;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255,255,255,0.05);
	transition: all .2s ease;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.latest-duo-item:last-child {
	border-bottom: none;
}

.latest-duo-item:hover {
	background: rgba(234, 18, 23, 0.03);
	padding-left: var(--spacing-sm);
	padding-right: var(--spacing-sm);
}

.latest-duo-text {
	display: flex;
	flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 8px;
	}

	.latest-duo-meta-row {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		align-items: center;
	}

.latest-duo-left {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.latest-duo-right {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	white-space: nowrap;
}

.latest-duo-title-text {
	color: var(--color-text-primary);
	font-weight: 500;
	font-size: var(--font-size-sm);
	line-height: 1.3;
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.latest-duo-meta {
		color: rgba(255,255,255,0.6);
		font-size: var(--font-size-sm);
		display: inline-flex;
		gap: 3px;
	}

	.latest-duo-time {
		color: rgba(234, 18, 23, 0.7);
		font-size: var(--font-size-xs);
	}

.latest-duo-divider {
	width: 2px;
	background: linear-gradient(to bottom, 
		rgba(234, 18, 23, 0), 
		rgba(234, 18, 23, 0.3) 50%, 
		rgba(234, 18, 23, 0));
	height: 100%;
	min-height: auto;
	border-radius: 1px;
	margin: 0 var(--spacing-lg);
}

.latest-duo-empty {
	color: rgba(255,255,255,0.5);
	text-align: center;
	padding: var(--spacing-2xl) var(--spacing-lg);
	font-style: italic;
}

/* Responsive Design */
@media (max-width: 1023px) {
	.latest-duo-container {
		grid-template-columns: 1fr 1fr;
		gap: var(--spacing-lg);
	}
	
	.latest-duo-divider {
		display: none;
	}
	
	.latest-duo-container::after {
		content: '';
		grid-column: 1 / -1;
		height: 1px;
		background: linear-gradient(to right, 
			rgba(234, 18, 23, 0), 
			rgba(234, 18, 23, 0.2) 50%, 
			rgba(234, 18, 23, 0));
		margin-top: var(--spacing-xl);
	}
}

@media (max-width: 767px) {
	.section--latest-duo {
		padding: var(--spacing-lg) var(--spacing-sm);
	}
	
	.latest-duo-container {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}
	
	.latest-duo-header {
		margin-bottom: var(--spacing-xs);
	}
	
	.latest-duo-title {
		font-size: var(--font-size-h4);
	}
	
	.latest-duo-item {
		padding: var(--spacing-sm) 0;
	}
}

@media (max-width: 479px) {
	.section--latest-duo {
		padding: var(--spacing-lg) var(--spacing-sm);
	}
	
	.latest-duo-title {
		font-size: var(--font-size-copy-large);
	}

	.latest-duo-title-text {
		font-size: var(--font-size-sm);
	}

	.latest-duo-meta {
		font-size: var(--font-size-xs);
	}

	.latest-duo-time {
		font-size: var(--font-size-xs);
	}
}

@media (max-width: 319px) {
	.section--latest-duo {
		padding: var(--spacing-lg) 8px;
	}
	
	.latest-duo-header {
		margin-bottom: 10px;
		padding-bottom: 10px;
	}
	
	.latest-duo-title {
		font-size: var(--font-size-body);
		line-height: 1.3;
	}

	.latest-duo-item {
		padding: 10px 0;
	}

	.latest-duo-title-text {
		font-size: var(--font-size-sm);
		line-height: 1.3;
	}

	.latest-duo-meta {
		font-size: var(--font-size-xs);
		opacity: 0.8;
	}

	.latest-duo-time {
		font-size: var(--font-size-xxs);
	}
	
	.latest-duo-text {
		gap: 3px;
	}
}

/**
 * Show More / Show Less Toggle Styles
 */

/* People lists (cast/directors) */
.people-hidden {
	display: none;
}

.people-hidden.show {
	display: contents;
}

.people-show-more-wrapper {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	margin: var(--spacing-md) 0;
}

.people-show-more-wrapper.hide {
	display: none;
}

.people-show-less-wrapper {
	display: none;
	grid-column: 1 / -1;
	justify-content: center;
	margin: var(--spacing-md) 0;
}

.people-show-less-wrapper.show {
	display: flex;
}

/* Filter badges (genres/years) - horizontal display */
.filter-badge.badge-hidden-item {
	display: none;
}

.filter-badge.badge-hidden-item.show {
	display: flex;
}

.btn--show-more.hidden {
	display: none;
}

.btn--show-less.visible {
	display: flex;
}

/* Button styles */
.btn--show-more,
.btn--show-less {
	padding: clamp(3px, 0.5vw, 5px) clamp(14px, 1.5vw, 18px);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(234, 18, 23, 0.3);
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.08), rgba(234, 18, 23, 0.03));
	color: #ea1217;
	font-weight: var(--font-weight-semibold);
	font-size: clamp(11px, 0.8vw, 13px);
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	height: auto;
	line-height: 1.2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-shadow: 0 2px 8px rgba(234, 18, 23, 0.1);
}

.btn--show-more:hover,
.btn--show-less:hover {
	background: linear-gradient(135deg, rgba(234, 18, 23, 0.15), rgba(234, 18, 23, 0.08));
	border-color: rgba(234, 18, 23, 0.5);
	box-shadow: 0 4px 12px rgba(234, 18, 23, 0.15);
	transform: translateY(-1px);
}


