/* =========================================================
   WatchOrder / ReadNow — Crunchyroll-inspired dark theme
   ========================================================= */

/* ── Custom fonts ──────────────────────────────────────── */
@font-face {
	font-family: 'Watchorder';
	src: url('../fonts/Watchorder-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Watchorder';
	src: url('../fonts/Watchorder-Bold.woff2') format('woff2');
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--bg:           #111111;
	--bg-header:    #0a0a0a;
	--bg-utility:   #000000;
	--bg-card:      #1c1c1c;
	--bg-sidebar:   #0d0d0d;
	--text:         #ffffff;
	--text-muted:   #999999;
	--text-dim:     #cccccc;
	--border:       rgba(255,255,255,.07);
	--radius:       4px;
	--max-w:        1380px;
	--sidebar-w:    300px;
	--font:         'Watchorder', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--speed:        .15s;
}

/* Light theme — applied by main.js via classList.add('light-mode') on <html> */
html.light-mode {
	--bg:           #ffffff;
	--bg-header:    #f5f5f5;
	--bg-utility:   #f9f9f9;
	--bg-card:      #f0f0f0;
	--bg-sidebar:   #fafafa;
	--text:         #1a1a1a;
	--text-muted:   #666666;
	--text-dim:     #333333;
	--border:       rgba(0,0,0,.07);
}

/* WatchOrder — amber/fire */
body.site-watchorder {
	--accent:       #e85d04;
	--accent-dark:  #c44d00;
	--badge-alt:    #b45309;
}

/* ReadNow — electric blue */
body.site-readnow {
	--accent:       #2563eb;
	--accent-dark:  #1d4ed8;
	--badge-alt:    #7c3aed;
}

body.site-default {
	--accent:       #e85d04;
	--accent-dark:  #c44d00;
	--badge-alt:    #b45309;
}

html { scroll-behavior: smooth; }

body {
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Focus visible styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Screen reader only text (for AI voice playback) */
.sr-only,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* =========================================================
   Site Header
   ========================================================= */
.site-header {
	background: var(--bg-header);
	border-bottom: none;
}

/* Logo + actions row */
.site-header__top {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 1rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-header__brand a { display: flex; align-items: baseline; gap: .5rem; }

.site-header__brand .brand-name {
	font-size: 1.75rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1;
}

.site-header__brand .brand-sub {
	font-size: 1.3rem;
	font-weight: 300;
	color: #cccccc;
}

.site-header__brand .brand-dot {
	display: inline-block;
	width: 38px; height: 38px;
	background: var(--accent);
	border-radius: 50%;
	margin-right: .5rem;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.btn-search {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--accent);
	font-size: 1.3rem;
	padding: .5rem;
	line-height: 1;
	min-width: 44px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-theme {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-muted);
	font-size: 1.3rem;
	padding: .5rem;
	line-height: 1;
	transition: color var(--speed);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}
.btn-theme:hover { color: var(--accent); }

/* Theme toggle button */
.theme-toggle-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-muted);
	font-size: 1.3rem;
	padding: .5rem;
	transition: color var(--speed);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}
.theme-toggle-btn:hover { color: var(--accent); }
.theme-toggle-btn:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Search Autocomplete */
.search-autocomplete {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-top: none;
	border-radius: 0 0 var(--radius) var(--radius);
	max-height: 300px;
	overflow-y: auto;
	z-index: 1000;
	padding: 0;
	margin: 0;
	margin-top: -.5rem;
}

.search-autocomplete.is-open {
	display: block;
}

.autocomplete-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .75rem 1rem;
	border-bottom: 1px solid var(--border);
	cursor: pointer;
	transition: background-color var(--speed);
	text-decoration: none;
	color: inherit;
}

.autocomplete-item:hover,
.autocomplete-item.is-focused {
	background-color: rgba(255,255,255,.05);
}

.autocomplete-item:last-child {
	border-bottom: none;
}

.autocomplete-thumb {
	flex-shrink: 0;
	width: 48px;
	height: 32px;
	object-fit: cover;
	border-radius: 2px;
	background: var(--bg);
}

.autocomplete-content {
	flex: 1;
	min-width: 0;
}

.autocomplete-title {
	font-size: .9rem;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 .2rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.autocomplete-meta {
	font-size: .75rem;
	color: var(--text-muted);
}

/* Search bar (hidden by default) */
.search-bar {
	display: none;
	background: var(--bg-header);
	padding: .75rem 1.5rem;
	border-top: 1px solid var(--border);
	gap: .5rem;
	align-items: center;
}
.search-bar.is-open { display: flex; }

.search-bar input {
	flex: 1;
	background: #1c1c1c;
	border: 1px solid var(--border);
	color: var(--text);
	padding: .6rem 1rem;
	border-radius: 4px;
	font-size: .95rem;
	outline: none;
	transition: border-color var(--speed);
}
.search-bar input::placeholder {
	color: var(--text-muted);
}
.search-bar input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.1);
}

.search-bar button {
	background: var(--accent);
	color: #000;
	border: none;
	padding: .6rem 1.2rem;
	border-radius: 4px;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
	flex-shrink: 0;
	transition: opacity var(--speed);
}
.search-bar button:hover {
	opacity: 0.85;
}

/* ── Primary Nav ─────────────────────────────────────── */
.site-nav-bar {
	background: var(--bg-header);
}

.site-nav-bar__inner {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
}
.site-nav-bar__inner::-webkit-scrollbar { display: none; }

.site-nav-bar__inner a {
	display: inline-block;
	padding: .85rem 1.2rem;
	font-size: .88rem;
	font-weight: 500;
	color: var(--text);
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	transition: color var(--speed), border-color var(--speed);
}
.site-nav-bar__inner a:hover,
.site-nav-bar__inner a.current-menu-item {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

/* Zigzag stripe separator */
.nav-stripe {
	height: 5px;
	background: repeating-linear-gradient(
		-60deg,
		var(--accent)      0px,
		var(--accent)      10px,
		var(--bg-header)   10px,
		var(--bg-header)   20px
	);
}

/* Reading Progress Bar */
.reading-progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: var(--accent);
	width: 0%;
	z-index: 9999;
	transition: width .1s ease-out;
}

/* =========================================================
   Page layout — main + sidebar
   ========================================================= */
.page-wrap {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 2rem 1.5rem;
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}

.page-main { flex: 1; min-width: 0; }

.page-sidebar {
	width: var(--sidebar-w);
	flex-shrink: 0;
	position: sticky;
	top: 0;
	max-height: 100vh;
	overflow-y: auto;
	scrollbar-width: none;
	padding-top: .25rem;
}
.page-sidebar::-webkit-scrollbar { display: none; }

/* =========================================================
   Section blocks (Latest News, Features, etc.)
   ========================================================= */
.section-block { margin-bottom: 3rem; }

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
	gap: .5rem;
}

.section-title {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--text);
	line-height: 1.2;
}

.section-more {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	border: 1.5px solid rgba(255,255,255,.35);
	color: var(--text);
	padding: .45rem 1.1rem;
	border-radius: 20px;
	font-size: .82rem;
	font-weight: 600;
	transition: border-color var(--speed), color var(--speed);
}
.section-more:hover { border-color: var(--accent); color: var(--accent); }

/* 1 large + 2×2 small grid */
.section-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: .9rem;
}

.card-featured {
	grid-column: 1;
	grid-row: 1 / 3;
}

/* =========================================================
   Cards
   ========================================================= */

/* Shared image wrapper */
.card-img {
	width: 100%;
	overflow: hidden;
	border-radius: var(--radius);
	background: #1c1c1c;
	position: relative;
}

.card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}
.card-img:hover img { transform: scale(1.03); }

/* Featured card image — taller */
.card-featured .card-img {
	aspect-ratio: 16/10;
	height: 100%;
	max-height: 420px;
}

/* Small card image */
.card-small .card-img {
	aspect-ratio: 16/9;
}

/* Card body */
.card-body { padding-top: .7rem; }

/* Badges */
.badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-bottom: .5rem;
}

.badge {
	display: inline-block;
	background: var(--accent);
	color: #fff;
	font-size: .62rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .07em;
	padding: 2px 7px;
	border-radius: 3px;
	line-height: 1.6;
}

.badge-alt { background: var(--badge-alt); }

/* Card title */
.card-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
	line-height: 1.4;
	margin-bottom: .4rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-featured .card-title {
	font-size: 1.4rem;
	-webkit-line-clamp: 4;
}

.card-small .card-title {
	font-size: .9rem;
	-webkit-line-clamp: 3;
}

/* Card meta */
.card-meta {
	font-size: .75rem;
	color: var(--text-muted);
	margin-bottom: .35rem;
}

/* Author */
.card-author {
	display: flex;
	align-items: center;
	gap: .45rem;
	font-size: .78rem;
	color: var(--text-muted);
	margin-top: .4rem;
}

.card-author img {
	width: 22px; height: 22px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

/* Whole card is a link */
.card-link {
	display: block;
	color: inherit;
}
.card-link:hover .card-title { color: var(--accent); }

/* =========================================================
   Spotlight section
   ========================================================= */
.spotlight { margin-bottom: 3rem; }

.spotlight .section-title { margin-bottom: 1.25rem; }

.spotlight-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .9rem;
}

.spotlight-card .card-img {
	aspect-ratio: 16/9;
}

/* =========================================================
   Sidebar — Top Stories
   ========================================================= */
.sidebar-heading {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 1.1rem;
}

.story-item {
	display: flex;
	gap: .75rem;
	padding: .75rem 0;
	border-bottom: 1px solid var(--border);
	align-items: flex-start;
}

.story-item:last-child { border-bottom: none; }

.story-thumb {
	width: 90px;
	height: 60px;
	flex-shrink: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: #1c1c1c;
}

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

.story-body { flex: 1; min-width: 0; }

.story-body .badge { margin-bottom: .35rem; }

.story-title {
	font-size: .82rem;
	font-weight: 600;
	color: var(--text);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: .25rem;
}

.story-title:hover { color: var(--accent); }

.story-date {
	font-size: .7rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .03em;
}

/* =========================================================
   Single post — article layout
   ========================================================= */
.single-wrap {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 2rem 1.5rem;
	display: flex;
	gap: 2.5rem;
	align-items: flex-start;
}

.single-main {
	flex: 1;
	min-width: 0;
	max-width: 820px;
}

/* Breadcrumb — wrapper + AIOSEO element overrides */
.breadcrumb {
	font-size: .78rem;
	color: var(--text-muted);
	margin-bottom: 1rem;
}
.breadcrumb a,
.aioseo-breadcrumbs a { color: var(--text-muted); transition: color var(--speed); }
.breadcrumb a:hover,
.aioseo-breadcrumbs a:hover { color: var(--text); text-decoration: none; }
/* Separator inherits AIOSEO's own output — no override needed */

/* Badge + published date row */
.article-meta-top {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	margin-bottom: .75rem;
}

.article-dates {
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.article-published,
.article-updated {
	font-size: .78rem;
	color: var(--text-muted);
	display: block;
}

/* Title */
.article-title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--text);
	margin-bottom: .6rem;
}

/* Subtitle */
.article-subtitle {
	font-size: 1rem;
	color: var(--text-muted);
	margin-bottom: 1rem;
	line-height: 1.5;
}

/* Author */
.article-author {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin-bottom: 1.4rem;
}
.article-author__avatar {
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	object-fit: cover;
}
.article-author__name {
	font-size: .9rem;
	font-weight: 600;
	color: var(--text-dim);
}

/* Reading time & social meta */
.article-meta-bottom {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border);
	font-size: .85rem;
}

.reading-time {
	display: flex;
	align-items: center;
	gap: .4rem;
	color: var(--text-muted);
}

.reading-time svg { width: 14px; height: 14px; opacity: .7; }

/* Social share buttons */
.social-share-wrap {
	margin-bottom: 2rem;
	padding: 1.25rem;
	background: var(--bg-card);
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.social-share-label {
	display: block;
	font-size: .85rem;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: .75rem;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.social-share-buttons {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
}

.social-share-btn {
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .6rem 1rem;
	background: transparent;
	border: 1.5px solid var(--border);
	color: var(--text-dim);
	border-radius: 4px;
	font-size: .85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--speed);
	text-decoration: none;
}

.social-share-btn:hover {
	color: var(--accent);
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), .05);
}

.social-share-btn svg { width: 16px; height: 16px; }

.copy-link-btn { border-style: solid; }
.copy-link-btn.copied { color: #10b981; border-color: #10b981; }

/* Helpful vote */
.helpful-vote-wrap {
	margin: 2rem 0;
	padding: 1.5rem;
	background: var(--bg-card);
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.helpful-label {
	font-size: .95rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 1rem;
	margin-top: 0;
}

.helpful-vote-buttons {
	display: flex;
	gap: .75rem;
	margin-bottom: 1rem;
}

.helpful-btn {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex: 1;
	padding: .75rem 1.25rem;
	background: transparent;
	border: 1.5px solid var(--border);
	color: var(--text-dim);
	border-radius: 4px;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--speed);
	white-space: nowrap;
}

.helpful-btn svg { width: 18px; height: 18px; }

.helpful-btn:hover:not(:disabled) {
	color: var(--accent);
	border-color: var(--accent);
}

.helpful-btn.voted {
	color: var(--accent);
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), .1);
}

.helpful-btn:disabled {
	cursor: not-allowed;
	opacity: .6;
}

.vote-stats {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .8rem;
	color: var(--text-muted);
}

.vote-percentage {
	font-weight: 700;
	color: var(--accent);
}

.vote-count { font-style: italic; }

/* Resource links */
.resource-links-wrap {
	margin: 2rem 0;
	padding: 1.5rem;
	background: var(--bg-card);
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.resource-links-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 1rem;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.resource-group {
	margin-bottom: 1.25rem;
}

.resource-group:last-child { margin-bottom: 0; }

.resource-group-title {
	font-size: .9rem;
	font-weight: 600;
	color: var(--accent);
	margin: 0 0 .75rem;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.resource-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.resource-list li {
	margin: 0;
}

.resource-list a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .6rem 1rem;
	background: transparent;
	border: 1.5px solid var(--accent);
	color: var(--accent);
	border-radius: 4px;
	font-size: .85rem;
	font-weight: 600;
	transition: all var(--speed);
	text-decoration: none;
}

.resource-list a:hover {
	background: var(--accent);
	color: var(--bg);
}

.resource-list a svg { width: 14px; height: 14px; }

/* Print button */
.print-btn {
	background: transparent;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	padding: 0;
	font-size: 0;
	display: flex;
	align-items: center;
	gap: .3rem;
	transition: color var(--speed);
}

.print-btn svg { width: 16px; height: 16px; opacity: .7; }

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

/* Hero image */
.article-hero {
	width: 100%;
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 1.75rem;
	background: #1c1c1c;
}
.article-hero img { width: 100%; display: block; }

/* ── Article body typography ─────────────────────────── */
.article-content {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--text-dim);
}

.article-content p { margin-bottom: 1.1rem; }

.article-content h2 {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--accent);
	font-style: italic;
	margin: 2rem 0 .75rem;
	line-height: 1.25;
}

.article-content h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--accent);        /* accent-colored H3 as seen on Crunchyroll */
	margin: 1.5rem 0 .6rem;
	line-height: 1.3;
}

.article-content h4 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
	margin: 1.25rem 0 .5rem;
}

.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { opacity: .8; }

.article-content strong, .article-content b { color: var(--text); font-weight: 700; }
.article-content em, .article-content i { font-style: italic; }

.article-content ul,
.article-content ol {
	padding-left: 1.4rem;
	margin-bottom: 1rem;
}
.article-content li { margin-bottom: .4rem; }

.article-content blockquote {
	border-left: 3px solid var(--accent);
	padding: .75rem 1.25rem;
	margin: 1.25rem 0;
	background: var(--bg-card);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--text-dim);
	font-style: italic;
}

.article-content hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: 2rem 0;
}

.article-content img {
	max-width: 100%;
	border-radius: var(--radius);
	margin: 1rem 0;
}

/* Post sections (watchorder / readnow content partials) */
.post-section {
	background: var(--bg-card);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
}

.post-section h2 {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: .75rem;
	margin-top: 0;
}

.post-section h3 {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text);
	margin-top: 1rem;
	margin-bottom: .4rem;
}

.post-section p { margin-bottom: .75rem; color: var(--text-dim); }

.post-section ol,
.post-section ul {
	padding-left: 1.3rem;
	color: var(--text-dim);
}

.post-section li { margin-bottom: .4rem; }

/* Recommended highlight */
.recommended-section {
	border: 2px solid var(--accent);
	position: relative;
}

.recommended-badge {
	position: absolute;
	top: -11px;
	left: 1.2rem;
	background: var(--accent);
	color: #fff;
	font-size: .65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .07em;
	padding: 2px 10px;
	border-radius: 20px;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--text);
	list-style: none;
	padding: .75rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: .25rem 0 .75rem; color: var(--text-muted); font-size: .9rem; }

/* Cross-link CTA */
.cross-link {
	background: var(--bg-card);
	border: 1.5px solid var(--accent);
	border-radius: var(--radius);
	padding: 1.1rem 1.4rem;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: .75rem;
	flex-wrap: wrap;
}
.cross-link__icon { font-size: 1.5rem; flex-shrink: 0; }
.cross-link__text { flex: 1; min-width: 0; }
.cross-link__text strong { display: block; color: var(--text); font-size: 1rem; }
.cross-link__text span   { color: var(--text-muted); font-size: .85rem; }
.cross-link__btn {
	display: inline-block;
	background: var(--accent);
	color: #fff;
	padding: .5rem 1.1rem;
	border-radius: 6px;
	font-weight: 700;
	font-size: .88rem;
	flex-shrink: 0;
	transition: background var(--speed);
}
.cross-link__btn:hover { background: var(--accent-dark); }

/* Tags */
.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
}

.article-tag {
	display: inline-block;
	border: 1px solid rgba(255,255,255,.15);
	color: var(--text-muted);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .06em;
	padding: 3px 10px;
	border-radius: 3px;
	transition: border-color var(--speed), color var(--speed);
}
.article-tag:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   Search page
   ========================================================= */
.search-main { min-width: 0; }

/* "Showing Results for:" label */
.search-showing {
	font-size: .82rem;
	color: var(--text-muted);
	margin-bottom: .35rem;
	text-transform: none;
}

/* Hero search form */
.search-hero-form { margin-bottom: 1.5rem; }

.search-hero-input-wrap {
	display: flex;
	align-items: center;
	border-bottom: 2px solid rgba(255,255,255,.25);
	padding-bottom: .35rem;
	gap: .5rem;
}

.search-hero-input {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--text);
	font-size: 2.4rem;
	font-weight: 800;
	font-family: var(--font);
	outline: none;
	line-height: 1.2;
	padding: 0;
}
.search-hero-input::placeholder { color: rgba(255,255,255,.25); }

.search-hero-btn {
	background: none;
	border: none;
	color: var(--accent);
	cursor: pointer;
	padding: .25rem;
	flex-shrink: 0;
	line-height: 0;
}
.search-hero-btn:hover { opacity: .75; }

/* Filter bar */
.search-filters {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
	padding: .75rem 0;
}

.search-filters__label {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	color: var(--text-muted);
	margin-right: .25rem;
}

.sf-spacer { flex: 1; }

/* Dropdown trigger */
.sf-dropdown { position: relative; }

.sf-dropdown__trigger {
	background: none;
	border: none;
	color: var(--text);
	font-size: .88rem;
	font-family: var(--font);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: .3rem;
	padding: .3rem .1rem;
	transition: color var(--speed);
}
.sf-dropdown__trigger:hover,
.sf-dropdown__trigger.is-active { color: var(--accent); }
.sf-dropdown__trigger[aria-expanded="true"] .sf-arrow { transform: rotate(180deg); }

.sf-arrow { display: inline-block; font-size: .7rem; transition: transform var(--speed); }

/* Dropdown menu */
.sf-dropdown__menu {
	display: none;
	position: absolute;
	top: calc(100% + .4rem);
	left: 0;
	background: #1c1c1c;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	min-width: 210px;
	z-index: 100;
	padding: .4rem 0;
	box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.sf-dropdown__menu.is-open { display: block; }
.sf-dropdown__menu--right { left: auto; right: 0; }

/* Option row */
.sf-option {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .55rem 1rem;
	cursor: pointer;
	font-size: .88rem;
	color: var(--text-dim);
	transition: background var(--speed);
	position: relative;
}
.sf-option:hover { background: rgba(255,255,255,.05); }

.sf-option input[type="checkbox"],
.sf-option input[type="radio"] {
	width: 15px; height: 15px;
	accent-color: var(--accent);
	cursor: pointer;
	flex-shrink: 0;
}

.sf-check {
	position: absolute;
	right: 1rem;
	color: var(--accent);
	font-size: .9rem;
}

/* Divider */
.search-divider {
	border-top: 1px solid var(--border);
	margin: .25rem 0 1.25rem;
}

/* Result count */
.search-count {
	font-size: .8rem;
	color: var(--text-muted);
	margin-bottom: 1rem;
}

/* Search result cards */
.search-list { display: flex; flex-direction: column; }

.search-card {
	display: flex;
	gap: 1.25rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--border);
	align-items: flex-start;
}
.search-card:first-child { border-top: 1px solid var(--border); }

.search-card__img-wrap {
	flex-shrink: 0;
	width: 310px;
	height: 200px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-card);
	display: block;
}
.search-card__img-wrap img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.search-card:hover .search-card__img-wrap img { transform: scale(1.03); }

.search-card__body { flex: 1; min-width: 0; }

.search-card__title {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--text);
	line-height: 1.3;
	margin: .4rem 0 .4rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.search-card:hover .search-card__title { color: var(--accent); }

.search-card__excerpt {
	font-size: .88rem;
	color: var(--text-muted);
	margin-bottom: .4rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.5;
}

/* No results */
.search-no-results {
	padding: 3rem 0;
	color: var(--text-muted);
}
.search-no-results p { margin-bottom: .5rem; }
.search-no-results__hint { font-size: .88rem; }

/* Responsive */
@media (max-width: 600px) {
	.search-hero-input { font-size: 1.6rem; }
	.search-card { flex-direction: column; }
	.search-card__img-wrap { width: 100%; height: 190px; }
	.sf-spacer { display: none; }
	.search-filters { gap: .75rem; }
}

/* =========================================================
   Comments
   ========================================================= */
.comments-area { margin-top: 2rem; }

.comments-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 1.25rem;
}

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

.wrrn-comment {
	padding: 1rem 0;
	border-bottom: 1px solid var(--border);
}
.wrrn-comment:last-child { border-bottom: none; }

.comment-meta {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: .6rem;
}
.comment-meta img { border-radius: 50%; }
.comment-meta__info strong { display: block; font-size: .88rem; color: var(--text); }
.comment-meta__info time  { font-size: .75rem; color: var(--text-muted); }

.comment-content { font-size: .92rem; color: var(--text-dim); line-height: 1.65; }
.comment-content p { margin-bottom: .5rem; }

.comment-footer { margin-top: .5rem; font-size: .78rem; }
.comment-footer a { color: var(--accent); }

.comment-awaiting-moderation {
	font-size: .8rem;
	color: var(--text-muted);
	font-style: italic;
	margin-bottom: .5rem;
}

/* WordPress comment form overrides */
.comment-form label { font-size: .85rem; color: var(--text-muted); display: block; margin-bottom: .25rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--text);
	padding: .5rem .75rem;
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: .9rem;
	margin-bottom: .75rem;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--accent); }
.comment-form .submit {
	background: var(--accent);
	color: #fff;
	border: none;
	padding: .55rem 1.4rem;
	border-radius: var(--radius);
	font-weight: 700;
	cursor: pointer;
	font-family: var(--font);
	transition: background var(--speed);
}
.comment-form .submit:hover { background: var(--accent-dark); }

/* Password protected notice */
.comments-password { color: var(--text-muted); font-style: italic; padding: 1rem 0; }

/* Search form */
.search-form { display: flex; gap: .5rem; }
.search-form .search-field {
	flex: 1;
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--text);
	padding: .5rem 1rem;
	border-radius: var(--radius);
	font-size: .9rem;
	font-family: var(--font);
}
.search-form .search-field:focus { outline: none; border-color: var(--accent); }
.search-form .search-submit {
	background: var(--accent);
	color: #fff;
	border: none;
	padding: .5rem 1.1rem;
	border-radius: var(--radius);
	font-weight: 700;
	cursor: pointer;
	font-family: var(--font);
	transition: background var(--speed);
}
.search-form .search-submit:hover { background: var(--accent-dark); }

/* =========================================================
   Archive page — Crunchyroll category layout
   ========================================================= */
.archive-page-wrap {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 2rem 1.5rem;
	display: flex;
	gap: 2.5rem;
	align-items: flex-start;
}

.archive-main { flex: 1; min-width: 0; }

/* Archive header */
.archive-header { margin-bottom: 1.75rem; padding-bottom: .75rem; }
.archive-title  { font-size: 2rem; font-weight: 800; color: var(--text); margin: 0 0 .5rem; line-height: 1.2; }
.archive-desc   { font-size: .95rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ── Featured Slider ──────────────────────────────────── */
.arch-slider {
	position: relative;
	margin-bottom: 2.5rem;
	overflow: hidden;
}

.arch-slider__track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	scroll-behavior: smooth;
	padding-bottom: .5rem;          /* space for dots */
}
.arch-slider__track::-webkit-scrollbar { display: none; }

.arch-slider__slide {
	flex: 0 0 calc(50% - .5rem);   /* 2 visible at a time */
	scroll-snap-align: start;
	min-width: 0;
}

.arch-slider__img {
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--bg-card);
}
.arch-slider__img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.arch-slider__slide:hover .arch-slider__img img { transform: scale(1.03); }

.arch-slider__body { padding-top: .65rem; }

.arch-slider__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
	line-height: 1.35;
	margin: .35rem 0 .3rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.arch-slider__slide:hover .arch-slider__title { color: var(--accent); }

/* Prev / Next arrows */
.arch-slider__arrow {
	position: absolute;
	top: calc(50% - 2rem);        /* centre on the image area */
	transform: translateY(-50%);
	background: rgba(0,0,0,.7);
	border: 1.5px solid rgba(255,255,255,.15);
	color: var(--text);
	width: 36px; height: 36px;
	border-radius: 50%;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	display: flex; align-items: center; justify-content: center;
	transition: background var(--speed), border-color var(--speed);
}
.arch-slider__arrow:hover { background: var(--accent); border-color: var(--accent); }
.arch-slider__arrow--prev { left: .25rem; }
.arch-slider__arrow--next { right: .25rem; }

/* Dot indicators */
.arch-slider__dots {
	display: flex;
	justify-content: center;
	gap: .35rem;
	margin-top: .75rem;
}
.arch-dot {
	width: 8px; height: 4px;
	border-radius: 2px;
	background: rgba(255,255,255,.25);
	transition: background var(--speed), width var(--speed);
	cursor: pointer;
}
.arch-dot.active {
	background: var(--accent);
	width: 20px;
}

/* ── Horizontal post card list ────────────────────────── */
.arch-list { display: flex; flex-direction: column; gap: 0; }

.arch-card {
	display: flex;
	gap: 1.25rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--border);
	align-items: flex-start;
}
.arch-card:first-child { border-top: 1px solid var(--border); }

.arch-card__img-wrap {
	flex-shrink: 0;
	width: 325px;
	height: 200px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-card);
	display: block;
}
.arch-card__img-wrap img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.arch-card:hover .arch-card__img-wrap img { transform: scale(1.03); }

.arch-card__body {
	flex: 1;
	min-width: 0;
	padding-top: .1rem;
}

.arch-card__title {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--text);
	line-height: 1.3;
	margin: .4rem 0 .5rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.arch-card:hover .arch-card__title { color: var(--accent); }

/* Load More button */
.load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
	padding-bottom: 1rem;
}

.load-more-btn {
	background: transparent;
	border: 2px solid var(--accent);
	color: var(--accent);
	padding: .75rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all var(--speed);
	font-family: var(--font);
}

.load-more-btn:hover:not(:disabled) {
	background: var(--accent);
	color: var(--bg);
}

.load-more-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	background: var(--bg-utility);
	border-top: 1px solid var(--border);
	padding: 3rem 1.5rem 2rem;
	margin-top: 2rem;
}

.site-footer__inner {
	max-width: var(--max-w);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.footer-col h4 {
	font-size: .9rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: .9rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a {
	font-size: .85rem;
	color: var(--text-muted);
	transition: color var(--speed);
}
.footer-col ul li a:hover { color: var(--text); }
.footer-col ul li a.featured { color: var(--accent); font-weight: 600; }

.footer-social-link {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.site-footer__bottom {
	max-width: var(--max-w);
	margin: 2rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	font-size: .78rem;
	color: var(--text-muted);
}

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top-wrap { text-align: center; padding: 2rem 0; }

.back-to-top {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--accent);
	color: #fff;
	border: none;
	padding: .7rem 1.75rem;
	border-radius: 20px;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--speed);
}
.back-to-top:hover { background: var(--accent-dark); }

/* =========================================================
   Pagination
   ========================================================= */
.pagination {
	display: flex;
	justify-content: center;
	gap: .4rem;
	flex-wrap: wrap;
	margin: 2rem 0;
}
.pagination a,
.pagination span {
	display: inline-block;
	padding: .4rem .85rem;
	border-radius: var(--radius);
	background: var(--bg-card);
	color: var(--text-muted);
	font-size: .88rem;
	border: 1.5px solid transparent;
	transition: border-color var(--speed), color var(--speed);
}
.pagination .current,
.pagination a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* =========================================================
   404
   ========================================================= */
.error-page {
	text-align: center;
	padding: 5rem 1rem;
}
.error-page h1 { font-size: 5rem; font-weight: 900; color: var(--accent); line-height: 1; }
.error-page p  { color: var(--text-muted); margin: .75rem 0; }
.error-page a  { color: var(--accent); }

/* =========================================================
   Cross-Site Search Block
   ========================================================= */

.cross-site-search-block {
	margin: 2rem 0;
	padding: 0;
}

/* Search form */
.cs-search-form {
	display: flex;
	gap: .5rem;
	margin-bottom: 1.5rem;
}

.cs-search-input {
	flex: 1;
	padding: .875rem 1rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
	font-size: 1rem;
	font-family: var(--font);
	transition: border-color var(--speed);
}

.cs-search-input::placeholder {
	color: var(--text-muted);
}

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

.cs-search-btn {
	padding: .875rem 1rem;
	background-color: var(--accent);
	border: none;
	border-radius: var(--radius);
	color: #000;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity var(--speed);
	font-weight: 600;
}

.cs-search-btn:hover {
	opacity: 0.85;
}

/* Result count */
.cs-result-count {
	color: var(--text-muted);
	font-size: .9rem;
	margin-bottom: 1rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid var(--border);
}

/* Results grid */
.cs-results-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0;
}

/* Card */
.cs-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all var(--speed);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.cs-card:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

/* Card image */
.cs-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/9;
	background-color: rgba(255, 255, 255, 0.05);
}

.cs-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--speed);
}

.cs-card:hover .cs-card-image img {
	transform: scale(1.05);
}

/* Badge inside image */
.cs-badge {
	position: absolute;
	top: .75rem;
	left: .75rem;
	background-color: var(--accent);
	color: #000;
	font-size: .75rem;
	font-weight: 700;
	padding: .375rem .75rem;
	border-radius: var(--radius);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Card body */
.cs-card-body {
	padding: 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.cs-card-title {
	margin: 0 0 .5rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

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

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

.cs-card-excerpt {
	margin: 0 0 1rem;
	font-size: .9rem;
	color: var(--text-muted);
	line-height: 1.5;
	flex: 1;
}

/* Card meta */
.cs-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	font-size: .8rem;
	color: var(--text-muted);
	border-top: 1px solid var(--border);
	padding-top: .75rem;
}

.cs-meta-date::before {
	content: '📅 ';
	margin-right: .25rem;
}

.cs-meta-author::before {
	content: '✍️ ';
	margin-right: .25rem;
}

.cs-meta-site {
	background-color: rgba(255, 255, 255, 0.05);
	padding: .25rem .5rem;
	border-radius: 2px;
	margin-left: auto;
	font-weight: 600;
	color: var(--accent);
}

/* Empty state */
.cs-empty-state,
.cs-no-results {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--text-muted);
	border: 1px dashed var(--border);
	border-radius: var(--radius);
}

.cs-empty-state p,
.cs-no-results p {
	margin: 0;
	font-size: 1rem;
}

/* =========================================================
   Featured Post Block
   ========================================================= */

.wp-block-watchorder-readnow-featured-post {
	margin: 2rem 0;
}

/* Featured post card */
.fp-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all var(--speed);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fp-card:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

/* Card image */
.fp-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/9;
	background-color: rgba(255, 255, 255, 0.05);
}

.fp-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--speed);
}

.fp-card:hover .fp-card-image img {
	transform: scale(1.05);
}

/* Badge inside image */
.fp-badge {
	position: absolute;
	top: .75rem;
	left: .75rem;
	background-color: var(--accent);
	color: #000;
	font-size: .75rem;
	font-weight: 700;
	padding: .375rem .75rem;
	border-radius: var(--radius);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Card body */
.fp-card-body {
	padding: 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.fp-card-title {
	margin: 0 0 .5rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

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

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

.fp-card-excerpt {
	margin: 0 0 1rem;
	font-size: .9rem;
	color: var(--text-muted);
	line-height: 1.5;
	flex: 1;
}

/* Card meta */
.fp-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	font-size: .8rem;
	color: var(--text-muted);
	border-top: 1px solid var(--border);
	padding-top: .75rem;
}

.fp-meta-date::before {
	content: '📅 ';
	margin-right: .25rem;
}

.fp-meta-author::before {
	content: '✍️ ';
	margin-right: .25rem;
}

.fp-meta-site {
	background-color: rgba(255, 255, 255, 0.05);
	padding: .25rem .5rem;
	border-radius: 2px;
	margin-left: auto;
	font-weight: 600;
	color: var(--accent);
}

/* Empty state */
.fp-block-empty,
.fp-block-error {
	padding: 2rem;
	text-align: center;
	color: var(--text-muted);
	background-color: var(--bg-card);
	border: 1px dashed var(--border);
	border-radius: var(--radius);
}

/* =========================================================
   Responsive
   ========================================================= */

/* ── Tablet: hide sidebar ─────────────────────────────── */
@media (max-width: 1100px) {
	.page-sidebar { display: none; }
	.single-wrap > .page-sidebar { display: none; }
	.archive-page-wrap > .page-sidebar { display: none; }
}

/* ── Tablet: 2-col grid, narrow images ───────────────── */
@media (max-width: 900px) {
	.section-grid { grid-template-columns: 1fr 1fr; }
	.card-featured { grid-column: 1 / 3; grid-row: auto; }
	.card-featured .card-img { max-height: 320px; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }

	/* Archive slider — tablet */
	.arch-slider__slide { flex: 0 0 calc(80% - .5rem); }
	.arch-slider__body { padding-top: .5rem; }

	/* Archive cards — tablet */
	.arch-card {
		gap: 1rem;
		padding: 1rem 0;
	}
	.arch-card__img-wrap { width: 220px; height: 145px; }
	.arch-card__title { font-size: 1.1rem; }

	.single-wrap { padding: 1.5rem 1.25rem; }
}

/* ── Mobile: full single-column layout ───────────────── */
@media (max-width: 600px) {

	/* Layout padding */
	.page-wrap,
	.single-wrap,
	.archive-page-wrap { padding: .75rem .9rem; gap: 0; }

	/* ── Utility bar ─ hide on mobile */
	.utility-bar { display: none; }

	/* ── Header ─────────────────────────────────────────── */
	.site-header__top {
		padding: .65rem .9rem;
		gap: .5rem;
	}

	/* Shrink brand */
	.site-header__brand .brand-dot {
		width: 26px;
		height: 26px;
		margin-right: .3rem;
	}
	.site-header__brand .brand-name { font-size: 1.25rem; }
	.site-header__brand .brand-sub  { display: none; }

	/* ── Search bar ──────────────────────────────────────── */
	.search-bar {
		padding: .6rem .9rem;
		flex-direction: column;
		gap: .4rem;
	}
	.search-bar input {
		font-size: 1rem;
		padding: .65rem .9rem;
	}
	.search-bar button {
		width: 100%;
		padding: .7rem 1rem;
		font-size: .9rem;
	}

	/* Autocomplete on mobile */
	.search-autocomplete {
		max-height: 250px;
	}

	.autocomplete-thumb {
		width: 40px;
		height: 27px;
	}

	.autocomplete-title {
		font-size: .85rem;
	}

	.autocomplete-meta {
		font-size: .7rem;
	}

	/* ── Nav ─────────────────────────────────────────────── */
	.site-nav-bar__inner { padding: 0 .4rem; }
	.site-nav-bar__inner a {
		padding: .65rem .75rem;
		font-size: .8rem;
	}

	/* Nav stripe thinner on mobile */
	.nav-stripe { height: 3px; }

	/* ── Section blocks ──────────────────────────────────── */
	.section-block { margin-bottom: 2rem; }
	.section-title { font-size: 1.25rem; }

	/* Section grid: single column */
	.section-grid {
		grid-template-columns: 1fr;
		gap: .75rem;
	}
	.card-featured { grid-column: auto; grid-row: auto; }

	/* Featured card image height */
	.card-featured .card-img {
		max-height: 240px;
		aspect-ratio: 16/9;
	}

	/* Small card: landscape (image left, text right) on mobile */
	.card-small {
		display: flex;
		gap: .75rem;
		align-items: flex-start;
	}
	.card-small .card-img {
		flex-shrink: 0;
		width: 110px;
		height: 72px;
		aspect-ratio: auto;
	}
	.card-small .card-body { padding-top: 0; }
	.card-small .card-title {
		font-size: .85rem;
		-webkit-line-clamp: 3;
	}
	.card-small .card-meta,
	.card-small .badge-row { font-size: .7rem; }

	/* ── Spotlight ──────────────────────────────────────── */
	.spotlight-grid { grid-template-columns: 1fr; gap: .75rem; }

	/* ── Archive slider ──────────────────────────────────── */
	.arch-slider { margin-bottom: 1.75rem; }
	.arch-slider__slide { flex: 0 0 calc(100% - .5rem); }
	.arch-slider__arrow { display: none; }
	.arch-slider__img { border-radius: 6px; }
	.arch-slider__body {
		padding: .5rem .25rem 0;
		gap: .25rem;
	}
	.arch-slider__title {
		font-size: .95rem;
		-webkit-line-clamp: 2;
		margin: .25rem 0 .2rem;
	}
	.arch-slider__dots {
		margin-top: .5rem;
		gap: .25rem;
	}
	.arch-dot {
		width: 6px;
		height: 3px;
	}
	.arch-dot.active {
		width: 16px;
	}

	/* Archive breadcrumb */
	.breadcrumb { font-size: .7rem; margin-bottom: .75rem; }

	/* Archive card list */
	.arch-list { gap: 0; }

	/* Archive horizontal cards → stacked */
	.arch-card {
		flex-direction: column;
		padding: .9rem 0;
		gap: 0;
	}
	.arch-card:first-child { border-top: 1px solid var(--border); }
	.arch-card:last-child { border-bottom: 1px solid var(--border); }
	.arch-card__img-wrap {
		width: 100%;
		height: 200px;
		border-radius: 6px;
		margin-bottom: .75rem;
	}
	.arch-card__body { padding-top: 0; }
	.arch-card__title {
		font-size: 1.05rem;
		font-weight: 700;
		margin: .3rem 0 .4rem;
		-webkit-line-clamp: 2;
	}
	.arch-card .badge-row { margin-bottom: .35rem; font-size: .7rem; }
	.arch-card .card-meta { font-size: .75rem; margin-bottom: .3rem; }
	.arch-card .card-author { font-size: .75rem; gap: .35rem; }

	/* Load More button mobile */
	.load-more-wrap { margin-top: 1.5rem; padding-bottom: .75rem; }
	.load-more-btn { padding: .6rem 1.5rem; font-size: .95rem; }

	/* Archive page header */
	.archive-title {
		font-size: 1.4rem;
		margin-bottom: .5rem;
	}
	.archive-desc {
		font-size: .9rem;
		line-height: 1.4;
		margin: 0;
	}

	/* ── Single post ─────────────────────────────────────── */
	.article-title    { font-size: 1.55rem; }
	.article-subtitle { font-size: .95rem; }
	.article-hero     { border-radius: 0; margin-left: -.9rem; margin-right: -.9rem; }
	.article-content h2 { font-size: 1.25rem; }
	.article-content h3 { font-size: 1.05rem; }
	.post-section { padding: 1rem 1.1rem; }

	/* Social & engagement mobile */
	.article-meta-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
	.social-share-wrap { padding: 1rem; }
	.social-share-buttons { gap: .5rem; }
	.social-share-btn { padding: .5rem .75rem; font-size: .8rem; }
	.social-share-btn span { display: none; }
	.helpful-vote-wrap { padding: 1.25rem; margin: 1.5rem 0; }
	.helpful-vote-buttons { flex-direction: column; }
	.helpful-btn { padding: .65rem 1rem; font-size: .85rem; }

	/* Resource links mobile */
	.resource-links-wrap { padding: 1.25rem; margin: 1.5rem 0; }
	.resource-list { gap: .4rem; }
	.resource-list a { padding: .5rem .75rem; font-size: .8rem; }

	/* ── Search page ─────────────────────────────────────── */
	/* Search form */
	.search-showing {
		font-size: .85rem;
		color: var(--text-muted);
		margin-bottom: .5rem;
		padding: 0;
	}

	.search-hero-form { margin-bottom: 1.25rem; }

	.search-hero-input-wrap {
		border-bottom-width: 3px;
		padding-bottom: .5rem;
	}

	.search-hero-input {
		font-size: 1.8rem;
		font-weight: 700;
		padding: 0;
		line-height: 1.1;
	}

	.search-hero-btn {
		width: 26px;
		height: 26px;
		flex-shrink: 0;
	}

	/* Filter bar */
	.search-filters {
		flex-direction: column;
		gap: 0;
		align-items: stretch;
		padding: .5rem 0;
	}

	.search-filters__label {
		display: none;
	}

	/* Filter dropdown buttons */
	.sf-dropdown {
		flex: 1;
		border-bottom: 1px solid var(--border);
	}

	.sf-dropdown__trigger {
		width: 100%;
		padding: .75rem 0;
		justify-content: space-between;
		font-size: .9rem;
		text-align: left;
		border: none;
		background: transparent;
	}

	.sf-dropdown__menu {
		position: static;
		display: none;
		flex-direction: column;
		border: none;
		box-shadow: none;
		background: transparent;
		padding: 0;
		min-width: auto;
	}

	.sf-dropdown__menu.is-open {
		display: flex;
	}

	.sf-option {
		padding: .5rem 1rem;
		border-bottom: 1px solid rgba(255,255,255,.05);
		font-size: .85rem;
	}

	.sf-option:last-child {
		border-bottom: none;
	}

	/* Search divider & count */
	.search-divider {
		height: 1px;
		background: var(--border);
		margin: 1rem 0;
	}

	.search-count {
		font-size: .9rem;
		color: var(--text-muted);
		margin-bottom: 1rem;
	}

	/* Search result cards */
	.search-card {
		flex-direction: column;
		padding: 1rem 0;
		gap: 0.75rem;
	}

	.search-card:first-child { border-top: none; }
	.search-card:last-child { border-bottom: none; }

	.search-card__img-wrap {
		width: 100%;
		height: 200px;
		border-radius: 6px;
		margin-bottom: .5rem;
	}

	.search-card__body { padding: 0; }

	.search-card__title {
		font-size: 1.1rem;
		font-weight: 700;
		margin: .2rem 0 .4rem;
		-webkit-line-clamp: 2;
	}

	.search-card__excerpt {
		font-size: .85rem;
		margin-bottom: .5rem;
		-webkit-line-clamp: 1;
	}

	.search-card .badge-row {
		gap: .35rem;
		margin-bottom: .4rem;
	}

	.search-card .badge {
		font-size: .7rem;
		padding: .25rem .5rem;
	}

	.search-card .card-meta {
		font-size: .75rem;
		margin-bottom: .25rem;
	}

	.search-card .card-author {
		font-size: .75rem;
		gap: .3rem;
	}

	.search-card .card-author img {
		width: 18px;
		height: 18px;
	}

	/* ── Sidebar: show inline below main on mobile ─────── */
	.page-sidebar {
		display: block;
		width: 100%;
		position: static;
		max-height: none;
		overflow-y: visible;
		border-top: 1px solid var(--border);
		padding-top: 1.25rem;
		margin-top: .5rem;
	}
	/* Limit inline sidebar to top 5 stories on mobile */
	.page-sidebar .story-item:nth-child(n+6) { display: none; }

	/* ── Footer ──────────────────────────────────────────── */
	.site-footer { padding: 2rem .9rem 1.5rem; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
	.site-footer__bottom { flex-direction: column; text-align: center; gap: .35rem; }

	/* ── Back to top ─────────────────────────────────────── */
	.back-to-top-wrap { padding: 1.25rem 0; }
	.back-to-top { font-size: .82rem; padding: .6rem 1.4rem; }

	/* ── Pagination ──────────────────────────────────────── */
	.pagination { gap: .25rem; }
	.pagination a, .pagination span { padding: .35rem .65rem; font-size: .8rem; }

	/* ── Load More button ─────────────────────────────────── */
	.load-more-wrap { margin-top: 1.75rem; padding-bottom: .75rem; }
	.load-more-btn { padding: .65rem 1.5rem; font-size: .95rem; }

	/* ── Cross-site search block ─────────────────────────── */
	.cross-site-search-block { margin: 1.5rem 0; }
	.cs-search-form { flex-direction: column; }
	.cs-search-input { padding: .75rem .9rem; font-size: 1rem; }
	.cs-search-btn { width: 100%; padding: .75rem; }
	.cs-results-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.cs-card-body { padding: .75rem; }
	.cs-card-title { font-size: 1rem; }
	.cs-card-excerpt { font-size: .85rem; margin-bottom: .75rem; }
	.cs-card-meta { font-size: .75rem; gap: .5rem; }

	/* ── Featured post block ─────────────────────────────── */
	.wp-block-watchorder-readnow-featured-post { margin: 1.5rem 0; }
	.fp-card-body { padding: .75rem; }
	.fp-card-title { font-size: 1rem; }
	.fp-card-excerpt { font-size: .85rem; margin-bottom: .75rem; }
	.fp-card-meta { font-size: .75rem; gap: .5rem; }
	.fp-badge { top: .5rem; left: .5rem; padding: .25rem .5rem; font-size: .65rem; }

	/* ── Comparison table mobile ─────────────────────────── */
	.comparison-table-wrap { margin: 1.5rem 0; }
	.comparison-title { font-size: 1.1rem; padding: 1rem; }
	.comparison-row { grid-template-columns: 1fr 1fr 1fr; min-height: 60px; }
	.comparison-cell { padding: .75rem; font-size: .8rem; }
	.comparison-label { min-width: 80px; }
	.comparison-header h4 { font-size: .85rem; }
	.comparison-type { font-size: .65rem; }
	.comparison-btn { padding: .6rem 1rem; font-size: .8rem; min-width: 120px; flex: 0 1 auto; }
	.comparison-cta { flex-direction: column; gap: .75rem; padding: 1rem; }
	.comparison-cta .comparison-btn { width: 100%; }

	/* ── Newsletter mobile ───────────────────────────────── */
	.newsletter-signup-wrap { margin: 1.5rem 0; padding: 1.5rem 1rem; }
	.newsletter-heading { font-size: 1.2rem; }
	.newsletter-description { font-size: .9rem; }
	.newsletter-form { flex-direction: column; gap: .75rem; margin-top: 1rem; }
	.newsletter-input { padding: .65rem .75rem; font-size: 1rem; }
	.newsletter-btn { padding: .65rem 1.5rem; font-size: .9rem; width: 100%; }
}

/* =========================================================
   Comparison Table Block
   ========================================================= */
.comparison-table-wrap {
	margin: 2rem 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--bg-card);
}

.comparison-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text);
	padding: 1.5rem;
	margin: 0;
	border-bottom: 2px solid var(--border);
	background: var(--bg);
}

.comparison-table {
	display: flex;
	flex-direction: column;
}

.comparison-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	border-bottom: 1px solid var(--border);
	min-height: 80px;
}

.comparison-row:last-child {
	border-bottom: none;
}

.comparison-header {
	background: var(--bg);
	font-weight: 700;
	border-bottom: 2px solid var(--accent);
}

.comparison-cell {
	padding: 1.25rem;
	display: flex;
	align-items: center;
	font-size: .95rem;
	color: var(--text-dim);
	word-break: break-word;
}

.comparison-label {
	background: var(--bg-card);
	font-weight: 600;
	color: var(--text);
	min-width: 120px;
}

.comparison-header .comparison-label {
	background: var(--bg);
}

.watch-order-col,
.readnow-col {
	flex-direction: column;
	justify-content: center;
	gap: .4rem;
}

.comparison-header .watch-order-col,
.comparison-header .readnow-col {
	background: var(--bg);
	border-left: 1px solid var(--border);
}

.comparison-header h4 {
	margin: 0;
	font-size: .95rem;
	color: var(--text);
}

.comparison-type {
	font-size: .75rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .3px;
	font-weight: 500;
}

.comparison-cta {
	display: flex;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--bg);
	border-top: 1px solid var(--border);
	flex-wrap: wrap;
}

.comparison-btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .85rem 1.5rem;
	border-radius: 4px;
	font-weight: 600;
	font-size: .9rem;
	transition: all var(--speed);
	text-decoration: none;
	flex: 1;
	justify-content: center;
	min-width: 180px;
}

.watch-btn {
	background: transparent;
	border: 2px solid #e85d04;
	color: #e85d04;
}

.watch-btn:hover {
	background: #e85d04;
	color: white;
}

.read-btn {
	background: transparent;
	border: 2px solid #2563eb;
	color: #2563eb;
}

.read-btn:hover {
	background: #2563eb;
	color: white;
}

.comparison-table-error {
	padding: 1.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--text-muted);
	border-radius: var(--radius);
	text-align: center;
}

/* =========================================================
   Newsletter Signup Block
   ========================================================= */
.newsletter-signup-wrap {
	margin: 2rem 0;
	padding: 2rem;
	background: linear-gradient(135deg, rgba(var(--accent-rgb), .1), rgba(var(--accent-rgb), .05));
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	text-align: center;
}

.newsletter-heading {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--text);
	margin: 0 0 .75rem;
}

.newsletter-description {
	font-size: .95rem;
	color: var(--text-muted);
	margin: 0 0 1.5rem;
	line-height: 1.5;
}

.newsletter-form {
	display: flex;
	gap: .5rem;
	align-items: stretch;
	max-width: 500px;
	margin: 0 auto;
}

.newsletter-input {
	flex: 1;
	padding: .85rem 1.25rem;
	background: var(--bg);
	border: 1.5px solid var(--border);
	color: var(--text);
	border-radius: 4px;
	font-size: .95rem;
	font-family: var(--font);
	transition: border-color var(--speed);
}

.newsletter-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1);
}

.newsletter-input::placeholder {
	color: var(--text-muted);
}

.newsletter-btn {
	padding: .85rem 2rem;
	background: var(--accent);
	border: 1.5px solid var(--accent);
	color: var(--bg);
	border-radius: 4px;
	font-size: .95rem;
	font-weight: 700;
	font-family: var(--font);
	cursor: pointer;
	transition: all var(--speed);
	white-space: nowrap;
}

.newsletter-btn:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(var(--accent-rgb), .3);
}

.newsletter-btn:active {
	transform: translateY(0);
}

/* Newsletter block editor */
.wp-block-watchorder-readnow-newsletter-signup {
	padding: 1.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.newsletter-signup-preview {
	margin-top: 1.5rem;
	padding: 1.5rem;
	background: var(--bg);
	border-radius: 4px;
	border: 1px dashed var(--border);
}

.newsletter-signup-preview form {
	display: flex;
	gap: .5rem;
	margin-top: 1rem;
}

.newsletter-signup-preview input,
.newsletter-signup-preview button {
	padding: .6rem;
	border-radius: 4px;
	font-size: .85rem;
}

/* =========================================================
   Advanced Filters
   ========================================================= */
.advanced-filters-wrap {
	margin: 1rem 0 2rem;
}

.advanced-filters {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0;
}

.advanced-filters[open] {
	padding: 0;
}

.advanced-filters-toggle {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: 1rem;
	cursor: pointer;
	font-weight: 600;
	color: var(--text);
	background: var(--bg-card);
	border: none;
	width: 100%;
	user-select: none;
	transition: background var(--speed);
}

.advanced-filters-toggle:hover {
	background: rgba(255,255,255,.05);
}

.filter-icon {
	font-size: 1.2rem;
}

.filter-count {
	margin-left: auto;
	color: var(--accent);
	font-weight: 700;
}

.advanced-filters-content {
	padding: 1.5rem;
	border-top: 1px solid var(--border);
	display: grid;
	gap: 1.5rem;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.filter-group-title {
	font-size: .9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--text-muted);
	margin: 0;
}

.filter-options {
	display: grid;
	gap: .5rem;
}

.filter-checkbox {
	display: flex;
	align-items: center;
	gap: .5rem;
	cursor: pointer;
	font-size: .95rem;
	color: var(--text);
	transition: color var(--speed);
}

.filter-checkbox:hover {
	color: var(--accent);
}

.filter-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--accent);
}

.filter-select {
	padding: .6rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
	font-family: var(--font);
	font-size: .95rem;
	cursor: pointer;
	transition: border-color var(--speed);
}

.filter-select:hover,
.filter-select:focus {
	border-color: var(--accent);
	outline: none;
}

.filter-actions {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	margin-top: .5rem;
}

.filter-apply-btn {
	padding: .6rem 1.2rem;
	background: var(--accent);
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	color: white;
	font-weight: 600;
	font-size: .9rem;
	cursor: pointer;
	transition: all var(--speed);
}

.filter-apply-btn:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	transform: translateY(-2px);
}

.filter-reset-btn {
	padding: .6rem 1.2rem;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-muted);
	font-weight: 600;
	font-size: .9rem;
	cursor: pointer;
	transition: all var(--speed);
}

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

/* Mobile advanced filters */
@media (max-width: 600px) {
	.advanced-filters-content {
		grid-template-columns: 1fr;
	}

	.advanced-filters-toggle {
		padding: .75rem;
		font-size: .9rem;
	}

	.filter-apply-btn,
	.filter-reset-btn {
		flex: 1;
		padding: .5rem 1rem;
		font-size: .85rem;
	}

	.filter-actions {
		flex-direction: column;
		gap: .5rem;
	}

	.filter-select {
		padding: .5rem;
		font-size: .85rem;
	}

	.filter-checkbox {
		font-size: .9rem;
	}

	.filter-checkbox input[type="checkbox"] {
		width: 16px;
		height: 16px;
	}

	.filter-group-title {
		font-size: .8rem;
	}
}

/* =========================================================
   Franchise/Series Hub
   ========================================================= */
.franchise-carousel-section {
	margin: 3rem 0;
	padding: 0 0 2rem;
	border-bottom: 1px solid var(--border);
}

.franchise-carousel-header {
	margin-bottom: 2rem;
}

.franchise-carousel-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 .5rem;
	color: var(--text);
}

.franchise-carousel-subtitle {
	font-size: .95rem;
	color: var(--text-muted);
	margin: 0;
}

.franchise-carousel {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1.5rem;
	padding: 0;
}

.franchise-card {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: var(--bg-card);
	border: 1px solid var(--border);
	text-decoration: none;
	color: inherit;
	transition: all var(--speed);
	cursor: pointer;
	height: 100%;
}

.franchise-card:hover {
	border-color: var(--accent);
	transform: scale(1.02);
	box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.franchise-card__image {
	width: 100%;
	aspect-ratio: 4/5;
	overflow: hidden;
	background: var(--bg);
	position: relative;
}

.franchise-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--speed);
}

.franchise-card:hover .franchise-card__image img {
	transform: scale(1.05);
}

.franchise-card__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: var(--text-muted);
}

.franchise-card__content {
	flex: 1;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.franchise-card__name {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	color: var(--text);
	line-height: 1.3;
}

.franchise-card__count {
	font-size: .8rem;
	color: var(--text-muted);
	margin: 0;
}

.franchise-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity var(--speed);
	pointer-events: none;
}

.franchise-card:hover .franchise-card__overlay {
	opacity: 1;
}

.franchise-card__cta {
	color: var(--accent);
	font-weight: 700;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
}

/* Franchise hero section */
.franchise-hero {
	position: relative;
	height: 300px;
	margin: 0 -1.5rem;
	margin-bottom: 2rem;
	overflow: hidden;
	border-radius: 0;
}

.franchise-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.franchise-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.franchise-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,.7), rgba(var(--accent-rgb, 232, 93, 4),.2));
	z-index: 1;
}

.franchise-hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 2rem;
	z-index: 2;
	color: white;
}

.franchise-hero__title {
	font-size: 2.4rem;
	font-weight: 700;
	margin: 0 0 .5rem;
	line-height: 1.2;
}

.franchise-hero__desc {
	font-size: 1rem;
	color: rgba(255,255,255,.9);
	margin: 0;
	max-width: 600px;
	line-height: 1.5;
}

/* Franchise posts container */
.franchise-posts {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.franchise-posts-section {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.franchise-section-title {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0;
	color: var(--text);
}

.franchise-section-icon {
	font-size: 1.5rem;
}

.franchise-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1.5rem;
}

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

.franchise-post-card:hover {
	border-color: var(--accent);
	box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.franchise-post-card__img {
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
	display: block;
	background: var(--bg);
}

.franchise-post-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--speed);
}

.franchise-post-card:hover .franchise-post-card__img img {
	transform: scale(1.05);
}

.franchise-post-card__body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex: 1;
}

.franchise-post-card__title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	color: var(--text);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

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

.franchise-post-card__date {
	font-size: .8rem;
	color: var(--text-muted);
	margin-top: auto;
}

.badge-row {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
}

/* Mobile franchise */
@media (max-width: 900px) {
	.franchise-carousel {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 1rem;
	}

	.franchise-carousel-title {
		font-size: 1.3rem;
	}

	.franchise-posts-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	}

	.franchise-hero {
		height: 200px;
	}

	.franchise-hero__title {
		font-size: 1.8rem;
	}

	.franchise-hero__desc {
		font-size: .9rem;
	}
}

@media (max-width: 600px) {
	.franchise-carousel {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: .75rem;
	}

	.franchise-carousel-title {
		font-size: 1.1rem;
	}

	.franchise-carousel-subtitle {
		font-size: .8rem;
	}

	.franchise-card__name {
		font-size: .9rem;
	}

	.franchise-card__count {
		font-size: .75rem;
	}

	.franchise-hero {
		height: 150px;
		margin: 0 -1rem;
		margin-bottom: 1.5rem;
	}

	.franchise-hero__content {
		padding: 1rem;
	}

	.franchise-hero__title {
		font-size: 1.3rem;
	}

	.franchise-hero__desc {
		font-size: .8rem;
		display: none;
	}

	.franchise-posts-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 1rem;
	}

	.franchise-section-title {
		font-size: 1.1rem;
		gap: .5rem;
	}

	.franchise-section-icon {
		font-size: 1.2rem;
	}

	.franchise-post-card__title {
		font-size: .9rem;
	}

	.franchise-post-card__date {
		font-size: .7rem;
	}
}

/* =========================================================
   Print Stylesheet
   ========================================================= */
@media print {
	* { background: transparent !important; color: black !important; box-shadow: none !important; text-shadow: none !important; }
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	img { max-width: 100% !important; }

	/* Hide non-print elements */
	.utility-bar,
	.site-nav-bar,
	.nav-stripe,
	.back-to-top,
	.read-more-btn,
	.load-more-btn,
	.pagination,
	.social-share-wrap,
	.helpful-vote-wrap,
	.print-btn,
	.page-sidebar,
	.related-articles,
	footer,
	.comment-form,
	.comments-area { display: none !important; }

	/* Article print styles */
	body { font-size: 12pt; font-family: Georgia, "Times New Roman", serif; }
	.single-wrap { max-width: 100%; }
	.article-body { border: none; box-shadow: none; }
	.article-title { font-size: 28pt; margin-bottom: 12pt; page-break-after: avoid; }
	.article-subtitle { font-size: 14pt; margin-bottom: 6pt; }
	.article-meta-top { margin-bottom: 12pt; border-bottom: 2pt solid black; padding-bottom: 6pt; }
	.article-author { margin-bottom: 12pt; }
	.article-hero { margin-bottom: 12pt; page-break-inside: avoid; }
	.article-content { column-count: 2; column-gap: 20pt; }
	.article-content p { margin-bottom: 6pt; orphans: 3; widows: 3; }
	.article-content h2,
	.article-content h3 { page-break-after: avoid; page-break-inside: avoid; }
	.article-tags { margin-top: 12pt; border-top: 2pt solid black; padding-top: 6pt; }

	/* Print header info */
	.article-body:before {
		content: "Printed from: " attr(data-url) "\A Date: " attr(data-print-date);
		white-space: pre;
		display: block;
		font-size: 10pt;
		color: #666;
		margin-bottom: 12pt;
	}
}
