/*
Theme Name: CDL V2
Theme URI: https://chinesedailylife.com
Author: Chinese Daily Life
Description: Clean, fast, video-first theme for Chinese Daily Life.
Version: 2.6.6
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: cdl-v2
*/

/* ---------- Design tokens ---------- */
:root {
	--cdl-bg: #f7f4ef;
	--cdl-surface: #ffffff;
	--cdl-surface-2: #efeae1;
	--cdl-ink: #201d19;
	--cdl-ink-soft: #3f3a33;
	--cdl-muted: #6d655c;
	--cdl-line: #e3ddd2;
	--cdl-line-strong: #cfc6b8;
	--cdl-accent: #c43d2a;
	--cdl-accent-dark: #a02f1e;
	--cdl-accent-soft: #fae9e4;
	--cdl-teal: #1e6f6a;
	--cdl-gold: #d99a1b;
	--cdl-radius: 8px;
	--cdl-shadow: 0 1px 2px rgba(32, 29, 25, 0.06), 0 8px 24px rgba(32, 29, 25, 0.06);
	--cdl-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

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

a {
	color: var(--cdl-accent-dark);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button,
input,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

h1,
h2,
h3,
h4 {
	line-height: 1.25;
	margin: 0 0 0.5em;
	font-weight: 700;
	letter-spacing: 0;
}

p {
	margin: 0 0 1em;
}

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

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

.cdl-section {
	margin: 44px 0;
}

.cdl-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	border-bottom: 2px solid var(--cdl-ink);
	padding-bottom: 10px;
}

.cdl-section-title {
	font-size: 22px;
	margin: 0;
}

.cdl-section-link {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Header ---------- */
.cdl-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--cdl-surface);
	border-bottom: 1px solid var(--cdl-line);
	transition: box-shadow 0.2s ease;
}

.cdl-header.is-scrolled {
	box-shadow: 0 2px 10px rgba(32, 29, 25, 0.08);
}

.cdl-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 64px;
}

.cdl-brand-link {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--cdl-ink);
}

.cdl-brand-link:hover {
	text-decoration: none;
}

.cdl-brand-mark {
	display: inline-flex;
	flex: 0 0 auto;
}

.cdl-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.cdl-brand-name {
	font-size: 18px;
	font-weight: 800;
	color: var(--cdl-ink);
}

.cdl-brand-tag {
	font-size: 11px;
	color: var(--cdl-muted);
}

.cdl-nav {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
	justify-content: flex-end;
}

.cdl-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
	flex-wrap: wrap;
}

.cdl-menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 6px;
	color: var(--cdl-ink-soft);
	font-size: 14px;
	font-weight: 600;
}

.cdl-menu a:hover {
	background: var(--cdl-surface-2);
	text-decoration: none;
}

.cdl-header-search {
	flex: 0 0 auto;
}

.cdl-search-form {
	display: flex;
	align-items: center;
	background: var(--cdl-bg);
	border: 1px solid var(--cdl-line-strong);
	border-radius: var(--cdl-radius);
	overflow: hidden;
}

.cdl-search-form input[type="search"] {
	border: 0;
	background: transparent;
	padding: 8px 10px;
	width: 170px;
	outline: none;
	color: var(--cdl-ink);
}

.cdl-search-form button {
	border: 0;
	background: transparent;
	padding: 8px 10px;
	color: var(--cdl-muted);
	display: inline-flex;
	align-items: center;
}

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

.cdl-nav-toggle {
	display: none;
	border: 0;
	background: transparent;
	padding: 8px;
	width: 44px;
	height: 44px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.cdl-nav-toggle-line {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--cdl-ink);
}

/* ---------- Hero ---------- */
.cdl-hero {
	background: var(--cdl-surface);
	border-bottom: 1px solid var(--cdl-line);
	padding: 52px 0 44px;
}

.cdl-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 40px;
	align-items: center;
}

.cdl-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--cdl-accent);
	border: 1px solid var(--cdl-accent-soft);
	background: var(--cdl-accent-soft);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.cdl-hero-title {
	font-size: 42px;
	line-height: 1.08;
	margin-bottom: 16px;
	max-width: 640px;
}

.cdl-hero-sub {
	font-size: 17px;
	color: var(--cdl-ink-soft);
	max-width: 620px;
	margin-bottom: 22px;
}

.cdl-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cdl-hero-stats span {
	background: var(--cdl-bg);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
	padding: 8px 12px;
	font-size: 13px;
	color: var(--cdl-muted);
}

.cdl-hero-stats strong {
	color: var(--cdl-ink);
	font-size: 16px;
}

.cdl-feature-card {
	display: block;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
	overflow: hidden;
	box-shadow: var(--cdl-shadow);
	color: var(--cdl-ink);
}

.cdl-feature-card:hover {
	text-decoration: none;
	border-color: var(--cdl-line-strong);
}

.cdl-feature-media {
	display: block;
	aspect-ratio: 16 / 9;
	background: #16120f;
	overflow: hidden;
}

.cdl-feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cdl-feature-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--cdl-accent);
	padding: 12px 14px 2px;
}

.cdl-feature-title {
	display: block;
	padding: 0 14px 14px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

/* ---------- Grid and cards ---------- */
.cdl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	gap: 22px;
	min-width: 0;
}

.cdl-card {
	display: flex;
	flex-direction: column;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
	overflow: hidden;
	box-shadow: var(--cdl-shadow);
	min-width: 0;
}

.cdl-card:hover {
	border-color: var(--cdl-line-strong);
}

.cdl-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #16120f;
	overflow: hidden;
}

.cdl-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.cdl-card:hover .cdl-card-media img {
	transform: scale(1.02);
}

.cdl-card-nothumb {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8a837a;
	font-weight: 700;
}

.cdl-card-duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(0, 0, 0, 0.82);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
	line-height: 1.4;
}

.cdl-card-body {
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.cdl-card-cat {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--cdl-accent);
}

.cdl-card-title {
	font-size: 15px;
	line-height: 1.35;
	margin: 0;
}

.cdl-card-title a {
	color: var(--cdl-ink);
}

.cdl-card-title a:hover {
	color: var(--cdl-accent-dark);
	text-decoration: underline;
}

.cdl-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	font-size: 12px;
	color: var(--cdl-muted);
	margin-top: auto;
}

/* ---------- Chips / regions / bloggers ---------- */
.cdl-related-terms {
	margin-top: 48px;
}

.cdl-related-terms .cdl-section-title {
	margin-bottom: 16px;
}

.cdl-chip-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cdl-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line-strong);
	border-radius: 999px;
	padding: 8px 14px;
	color: var(--cdl-ink-soft);
	font-size: 14px;
	font-weight: 600;
}

.cdl-chip:hover {
	background: var(--cdl-accent-soft);
	border-color: var(--cdl-accent);
	color: var(--cdl-accent-dark);
	text-decoration: none;
}

.cdl-chip-count {
	background: var(--cdl-surface-2);
	border-radius: 999px;
	padding: 1px 8px;
	font-size: 12px;
	color: var(--cdl-muted);
}

.cdl-region-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 14px;
}

.cdl-region-card {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
	padding: 14px 16px;
	color: var(--cdl-ink);
	min-height: 84px;
	justify-content: center;
}

.cdl-region-card:hover {
	border-color: var(--cdl-accent);
	color: var(--cdl-accent-dark);
	text-decoration: none;
}

.cdl-region-name {
	font-size: 16px;
	font-weight: 700;
}

.cdl-region-count {
	font-size: 12px;
	color: var(--cdl-muted);
}

.cdl-region-card-lg {
	min-height: 96px;
}

.cdl-blogger-strip {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 14px;
}

.cdl-blogger-card {
	display: flex;
	flex-direction: column;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
	padding: 14px 16px;
	color: var(--cdl-ink);
}

.cdl-blogger-card:hover {
	border-color: var(--cdl-teal);
	text-decoration: none;
}

.cdl-blogger-name {
	font-weight: 700;
}

.cdl-blogger-count {
	font-size: 12px;
	color: var(--cdl-muted);
}

/* ---------- Breadcrumb and page heads ---------- */
.cdl-breadcrumb {
	margin: 18px 0 14px;
	font-size: 14px;
	font-weight: 600;
}

.cdl-breadcrumb ol {
	display: inline-flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 7px 14px;
	gap: 8px;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(28, 26, 23, 0.05);
}

.cdl-breadcrumb li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--cdl-ink-soft);
}

.cdl-breadcrumb li + li::before {
	content: "/";
	color: var(--cdl-accent);
	font-weight: 700;
}

.cdl-breadcrumb a {
	color: var(--cdl-accent-dark);
}

.cdl-breadcrumb a:hover {
	text-decoration: underline;
}

.cdl-page-head {
	margin: 8px 0 26px;
	padding-bottom: 18px;
	border-bottom: 2px solid var(--cdl-ink);
}

.cdl-page-title {
	font-size: 32px;
	line-height: 1.15;
	margin-bottom: 8px;
}

.cdl-tax-intro {
	max-width: 100%;
	color: var(--cdl-ink-soft);
	font-size: 16px;
	margin-bottom: 10px;
}

.cdl-tax-count {
	font-size: 14px;
	color: var(--cdl-muted);
	margin: 0;
}

.cdl-tax-highlights {
	background: var(--cdl-accent-soft);
	border-left: 3px solid var(--cdl-accent);
	border-radius: 0 var(--cdl-radius) var(--cdl-radius) 0;
	padding: 12px 16px;
	margin: 14px 0 10px;
	max-width: 100%;
}

.cdl-tax-highlights p {
	margin-bottom: 4px;
}

/* ---------- Single video ---------- */
.cdl-single-wrap {
	max-width: 1060px;
}

.cdl-single {
	margin-bottom: 36px;
}

.cdl-single-title {
	font-size: 34px;
	line-height: 1.15;
	margin-bottom: 10px;
}

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

.cdl-meta-item strong {
	color: var(--cdl-ink-soft);
	font-weight: 600;
}

.cdl-video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #16120f;
	border-radius: var(--cdl-radius);
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: var(--cdl-shadow);
}

.cdl-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cdl-single-block {
	margin: 26px 0;
	padding-top: 20px;
	border-top: 1px solid var(--cdl-line);
}

.cdl-block-title {
	font-size: 20px;
	margin-bottom: 12px;
}

.cdl-summary {
	color: var(--cdl-ink-soft);
	font-size: 16px;
}

.cdl-summary p {
	margin-bottom: 0.8em;
}

.cdl-location-item {
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
	padding: 14px 16px;
	margin-bottom: 12px;
}

.cdl-location-item h3 {
	margin-bottom: 4px;
	font-size: 17px;
}

.cdl-location-item p {
	margin: 0;
	color: var(--cdl-muted);
	font-size: 14px;
}

.cdl-transcript summary {
	cursor: pointer;
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cdl-transcript summary::-webkit-details-marker {
	display: none;
}

.cdl-transcript summary::after {
	content: "+";
	font-size: 18px;
	color: var(--cdl-accent);
}

.cdl-transcript details[open] summary::after {
	content: "-";
}

.cdl-transcript-body {
	max-height: 420px;
	overflow: auto;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
	padding: 16px 18px;
	margin-top: 10px;
	font-size: 14px;
	color: var(--cdl-ink-soft);
}

.cdl-transcript-body p {
	margin-bottom: 0.8em;
	overflow-wrap: break-word;
}

.cdl-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 24px 0;
}

.cdl-tag {
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 13px;
	color: var(--cdl-muted);
}

.cdl-tag:hover {
	color: var(--cdl-accent-dark);
	border-color: var(--cdl-accent);
	text-decoration: none;
}

.cdl-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 20px 0;
}

.cdl-share-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--cdl-muted);
	margin-right: 4px;
}

.cdl-share-link {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	border: 1px solid var(--cdl-line-strong);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	background: var(--cdl-surface);
	color: var(--cdl-ink-soft);
}

.cdl-share-link:hover {
	text-decoration: none;
	border-color: var(--cdl-accent);
	color: var(--cdl-accent-dark);
}

.cdl-ad-wrap {
	margin: 22px 0;
}

.cdl-ad-placeholder {
	border: 2px dashed var(--cdl-line-strong);
	border-radius: var(--cdl-radius);
	text-align: center;
	color: var(--cdl-muted);
	padding: 18px;
	font-size: 13px;
}

/* ---------- Filters ---------- */
.cdl-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
	padding: 14px;
	margin-bottom: 22px;
}

.cdl-filter-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cdl-filter-field label {
	font-size: 12px;
	font-weight: 700;
	color: var(--cdl-muted);
}

.cdl-filter-field input,
.cdl-filter-field select {
	height: 38px;
	border: 1px solid var(--cdl-line-strong);
	border-radius: 6px;
	padding: 6px 10px;
	background: var(--cdl-surface);
	color: var(--cdl-ink);
	min-width: 150px;
}

/* ---------- Buttons ---------- */
.cdl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	border: 1px solid var(--cdl-accent);
	background: var(--cdl-accent);
	color: #fff;
	border-radius: 6px;
	padding: 7px 16px;
	font-weight: 700;
	font-size: 14px;
}

.cdl-btn:hover {
	background: var(--cdl-accent-dark);
	border-color: var(--cdl-accent-dark);
	text-decoration: none;
}

.cdl-btn-ghost {
	background: var(--cdl-surface);
	color: var(--cdl-accent-dark);
}

.cdl-btn-ghost:hover {
	background: var(--cdl-accent-soft);
}

/* ---------- Pagination ---------- */
.nav-links,
.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 30px 0;
	justify-content: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--cdl-line-strong);
	border-radius: 6px;
	background: var(--cdl-surface);
	color: var(--cdl-ink-soft);
	font-size: 14px;
	font-weight: 600;
}

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

.page-numbers:hover {
	border-color: var(--cdl-accent);
	color: var(--cdl-accent-dark);
	text-decoration: none;
}

/* ---------- Empty states ---------- */
.cdl-empty {
	text-align: center;
	padding: 60px 20px;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: var(--cdl-radius);
}

.cdl-empty h2 {
	font-size: 24px;
}

.cdl-empty p {
	color: var(--cdl-muted);
}

.cdl-empty .cdl-btn {
	margin-top: 8px;
}

.cdl-404-code {
	font-size: 72px;
	font-weight: 800;
	line-height: 1;
	color: var(--cdl-accent);
	margin: 0 0 10px;
}

.cdl-404-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
}

.cdl-search-form-lg {
	max-width: 480px;
	margin: 18px auto 0;
}

.cdl-search-form-lg input[type="search"] {
	width: 100%;
	height: 40px;
	border: 1px solid var(--cdl-line-strong);
	border-radius: 6px 0 0 6px;
	background: var(--cdl-surface);
	padding: 8px 12px;
}

.cdl-search-form-lg .cdl-btn {
	border-radius: 0 6px 6px 0;
}

/* ---------- Directory ---------- */
.cdl-directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 14px;
	margin: 20px 0 40px;
}

.cdl-directory-group {
	margin-bottom: 26px;
}

.cdl-directory-letter {
	font-size: 20px;
	border-bottom: 1px solid var(--cdl-line);
	padding-bottom: 6px;
	margin-bottom: 12px;
}

.cdl-directory-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 8px;
}

.cdl-directory-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 6px;
	padding: 10px 12px;
	color: var(--cdl-ink);
	font-size: 14px;
}

.cdl-directory-item:hover {
	border-color: var(--cdl-accent);
	color: var(--cdl-accent-dark);
	text-decoration: none;
}

.cdl-directory-item-count {
	background: var(--cdl-surface-2);
	border-radius: 999px;
	padding: 1px 8px;
	font-size: 12px;
	color: var(--cdl-muted);
}

/* ---------- Pages ---------- */
.cdl-page {
	max-width: 900px;
}

.cdl-page-content {
	font-size: 16px;
	color: var(--cdl-ink-soft);
}

.cdl-page-content h2,
.cdl-page-content h3 {
	margin-top: 1.2em;
}

.cdl-page-content ul,
.cdl-page-content ol {
	padding-left: 1.4em;
}

/* ---------- Footer ---------- */
.cdl-footer {
	background: #24201c;
	color: #d8d2c8;
	margin-top: 56px;
}

.cdl-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 30px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 28px;
}

.cdl-footer-title {
	color: #fff;
	font-size: 15px;
	margin-bottom: 12px;
}

.cdl-footer-about p {
	font-size: 14px;
	color: #b8b1a6;
	max-width: 320px;
}

.cdl-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cdl-footer-links a {
	color: #c9c2b7;
	font-size: 14px;
}

.cdl-footer-links a:hover {
	color: #fff;
}

.cdl-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cdl-footer-bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 20px;
}

.cdl-footer-bottom p {
	font-size: 12px;
	color: #948d82;
	margin: 0;
}

/* ---------- Back to top ---------- */
.cdl-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--cdl-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	box-shadow: var(--cdl-shadow);
}

.cdl-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cdl-hero-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.cdl-hero-title {
		font-size: 36px;
	}

	.cdl-footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 900px) {
	.cdl-nav-toggle {
		display: flex;
		margin-left: auto;
	}

	.cdl-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--cdl-surface);
		border-bottom: 1px solid var(--cdl-line);
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 14px 20px 20px;
		display: none;
	}

	.cdl-nav.is-open {
		display: flex;
	}

	.cdl-menu {
		flex-direction: column;
	}

	.cdl-header-search {
		width: 100%;
	}

	.cdl-search-form input[type="search"] {
		width: 100%;
	}

	.cdl-filters {
		align-items: stretch;
		flex-direction: column;
	}

	.cdl-filter-field input,
	.cdl-filter-field select {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 640px) {
	.cdl-container {
		padding: 0 14px;
	}

	.cdl-hero {
		padding: 34px 0 30px;
	}

	.cdl-hero-title {
		font-size: 29px;
	}

	.cdl-hero-sub {
		font-size: 15px;
	}

	.cdl-section {
		margin: 32px 0;
	}

	.cdl-grid {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
		gap: 14px;
	}

	.cdl-single-title {
		font-size: 26px;
	}

	.cdl-page-title {
		font-size: 26px;
	}

	.cdl-footer-inner {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.cdl-footer-bottom-inner {
		flex-direction: column;
	}

	.cdl-section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
}

/* ---------- 2.1 visual refresh: modern editorial with Chinese accents ---------- */
:root {
	--cdl-bg: #f7f1e6;
	--cdl-surface: #fffdf8;
	--cdl-surface-2: #efe5d4;
	--cdl-ink: #221c15;
	--cdl-ink-soft: #42392d;
	--cdl-muted: #7a6f60;
	--cdl-line: #e4d9c5;
	--cdl-line-strong: #cfbda0;
	--cdl-accent: #b93a2c;
	--cdl-accent-dark: #942b20;
	--cdl-accent-soft: #fae7df;
	--cdl-gold: #c99a3a;
	--cdl-gold-soft: #f3e5c8;
	--cdl-teal: #2f6b5e;
	--cdl-serif: Georgia, "Times New Roman", "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
}

body {
	background: var(--cdl-bg);
}

h1,
h2,
h3,
h4,
.cdl-brand-name,
.cdl-hero-title,
.cdl-page-title,
.cdl-single-title {
	font-family: var(--cdl-serif);
}

.cdl-header {
	border-top: 3px solid var(--cdl-gold);
	border-bottom: 1px solid var(--cdl-line);
	background: var(--cdl-surface);
}

.cdl-brand-mark svg {
	border-radius: 6px;
}

.cdl-brand-name {
	font-weight: 700;
}

.cdl-brand-tag {
	font-family: var(--cdl-serif);
	font-size: 12px;
	color: var(--cdl-accent);
	letter-spacing: 1px;
}

.cdl-menu a {
	text-transform: uppercase;
	font-size: 12.5px;
	letter-spacing: 0.4px;
}

.cdl-menu a:hover {
	background: var(--cdl-gold-soft);
	color: var(--cdl-ink);
}

.cdl-hero {
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px),
		linear-gradient(180deg, #2a2117 0%, #201a12 100%);
	color: #f5ecdc;
	border-bottom: 3px solid var(--cdl-gold);
}

.cdl-eyebrow {
	color: #e8c87f;
	border-color: rgba(201, 154, 58, 0.5);
	background: rgba(201, 154, 58, 0.14);
}

.cdl-hero-title {
	color: #fff;
	font-size: 46px;
}

.cdl-hero-slogan {
	font-family: var(--cdl-serif);
	font-size: 24px;
	color: #e8c87f;
	letter-spacing: 3px;
	margin-bottom: 14px;
}

.cdl-hero-sub {
	color: #d8cdb8;
}

.cdl-hero-stats span {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(201, 154, 58, 0.45);
	color: #d8cdb8;
}

.cdl-hero-stats strong {
	color: #fff;
}

.cdl-feature-card {
	background: #2b2217;
	border: 1px solid rgba(201, 154, 58, 0.55);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.cdl-feature-label {
	color: #e8c87f;
}

.cdl-feature-title {
	color: #fff;
}

.cdl-section-head {
	border-bottom: 2px solid var(--cdl-gold);
}

.cdl-section-title {
	font-family: var(--cdl-serif);
}

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

.cdl-card {
	border-radius: 8px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cdl-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(34, 28, 21, 0.12);
}

.cdl-card-media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 14, 8, 0.28);
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 1;
}

.cdl-card:hover .cdl-card-media::before {
	opacity: 1;
}

.cdl-card-media::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0;
	height: 0;
	border-left: 16px solid #fff;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	transform: translate(-5px, -50%);
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 2;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.cdl-card:hover .cdl-card-media::after {
	opacity: 1;
}

.cdl-card-duration {
	z-index: 2;
}

.cdl-card-title {
	font-family: var(--cdl-serif);
}

.cdl-chip {
	border-color: var(--cdl-line-strong);
	background: var(--cdl-surface);
}

.cdl-chip:hover {
	background: var(--cdl-gold-soft);
	border-color: var(--cdl-gold);
	color: var(--cdl-ink);
}

.cdl-chip-count {
	background: var(--cdl-surface-2);
}

.cdl-region-card:hover {
	border-color: var(--cdl-gold);
	box-shadow: inset 0 3px 0 var(--cdl-gold);
}

.cdl-blogger-card:hover {
	border-color: var(--cdl-gold);
	box-shadow: inset 0 3px 0 var(--cdl-teal);
}

.cdl-btn {
	background: var(--cdl-accent);
	border-color: var(--cdl-accent);
	box-shadow: 0 2px 8px rgba(185, 58, 44, 0.25);
}

.cdl-btn-ghost {
	background: var(--cdl-surface);
	border-color: var(--cdl-gold);
	color: var(--cdl-accent-dark);
}

.cdl-page-head {
	border-bottom: 2px solid var(--cdl-gold);
}

.cdl-tax-highlights {
	border-left-color: var(--cdl-gold);
	background: var(--cdl-gold-soft);
}

.cdl-share {
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 10px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cdl-share-label {
	font-family: var(--cdl-serif);
	font-size: 16px;
	color: var(--cdl-ink);
}

.cdl-share-btns {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.cdl-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 700;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cdl-share-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(34, 28, 21, 0.14);
	text-decoration: none;
}

.cdl-share-x {
	background: #141414;
	color: #fff;
}

.cdl-share-fb {
	background: #1877f2;
	color: #fff;
}

.cdl-share-reddit {
	background: #ff4500;
	color: #fff;
}

.cdl-share-wa {
	background: #25d366;
	color: #0b3d20;
}

.cdl-share-copy {
	background: var(--cdl-surface-2);
	color: var(--cdl-ink);
	border-color: var(--cdl-line-strong);
}

.cdl-transcript-body {
	max-height: 180px;
	overflow: hidden;
	position: relative;
	transition: max-height 0.25s ease;
}

.cdl-transcript-body::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 52px;
	background: linear-gradient(transparent, #fffdf8);
	pointer-events: none;
}

.cdl-transcript-body.is-expanded {
	max-height: none;
}

.cdl-transcript-body.is-expanded::after {
	display: none;
}

.cdl-transcript-toggle {
	margin-top: 0;
	border: 1px solid var(--cdl-gold);
	background: var(--cdl-gold-soft);
	color: var(--cdl-ink);
	border-radius: 6px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
}

.cdl-transcript-toggle:hover {
	background: var(--cdl-surface);
	border-color: var(--cdl-accent);
	color: var(--cdl-accent-dark);
}

.cdl-directory-item:hover {
	border-color: var(--cdl-gold);
	box-shadow: inset 0 2px 0 var(--cdl-gold);
}

.cdl-footer {
	background: #241d14;
	border-top: 3px solid var(--cdl-gold);
}

.cdl-footer-title {
	color: #e8c87f;
	font-family: var(--cdl-serif);
	border-left: 3px solid var(--cdl-accent);
	padding-left: 10px;
}

.cdl-to-top {
	background: var(--cdl-accent);
}

@media (max-width: 900px) {
	.cdl-hero-title {
		font-size: 36px;
	}

	.cdl-share-btns {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.cdl-transcript-body {
		display: none;
		max-height: none;
	}

	.cdl-transcript-body.is-expanded {
		display: block;
	}

	.cdl-transcript-body::after {
		display: none;
	}

	.cdl-hero-title {
		font-size: 30px;
	}

	.cdl-hero-slogan {
		font-size: 19px;
		letter-spacing: 2px;
	}

	.cdl-share-btns {
		grid-template-columns: repeat(5, 1fr);
		gap: 6px;
	}
}

/* ---------- Single page sidebar ---------- */
.cdl-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 34px;
	align-items: start;
}

.cdl-single-sidebar {
	position: sticky;
	top: 88px;
}

.cdl-sidebar-title {
	font-family: var(--cdl-serif);
	font-size: 19px;
	border-bottom: 2px solid var(--cdl-gold);
	padding-bottom: 8px;
	margin-bottom: 14px;
}

.cdl-sidebar-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cdl-sidebar-item {
	display: flex;
	gap: 10px;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 8px;
	padding: 8px;
	color: var(--cdl-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cdl-sidebar-item:hover {
	border-color: var(--cdl-gold);
	box-shadow: 0 6px 16px rgba(34, 28, 21, 0.1);
	text-decoration: none;
}

.cdl-sidebar-thumb {
	flex: 0 0 116px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 6px;
	background: #16120f;
}

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

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

.cdl-sidebar-name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cdl-sidebar-date {
	font-size: 11px;
	color: var(--cdl-muted);
}

@media (max-width: 1024px) {
	.cdl-single-layout {
		grid-template-columns: 1fr;
	}

	.cdl-single-sidebar {
		position: static;
	}
}

/* ---------- 2.2 palette + hero refresh ---------- */
:root {
	--cdl-accent: #c8102e;
	--cdl-accent-dark: #9f0d24;
	--cdl-accent-soft: #fbe4e6;
	--cdl-gold: #b8863b;
	--cdl-gold-soft: #f4e9d2;
	--cdl-bg: #f7f2ea;
	--cdl-surface: #fffdf8;
	--cdl-ink: #23201b;
	--cdl-ink-soft: #464034;
	--cdl-muted: #7d7261;
	--cdl-line: #e5dccb;
	--cdl-line-strong: #cfc0a7;
}

.cdl-header {
	border-top: 3px solid var(--cdl-accent);
}

.cdl-hero {
	background:
		repeating-linear-gradient(0deg, rgba(35, 32, 27, 0.035) 0 1px, transparent 1px 30px),
		repeating-linear-gradient(90deg, rgba(35, 32, 27, 0.035) 0 1px, transparent 1px 30px),
		var(--cdl-bg);
	color: var(--cdl-ink);
	border-bottom: 2px solid var(--cdl-gold);
	padding: 56px 0 48px;
}

.cdl-hero-title {
	color: var(--cdl-ink);
	font-size: 48px;
}

.cdl-hero-slogan {
	color: var(--cdl-accent);
	font-size: 26px;
	letter-spacing: 4px;
}

.cdl-hero-sub {
	color: var(--cdl-ink-soft);
}

.cdl-eyebrow {
	color: var(--cdl-accent);
	background: var(--cdl-accent-soft);
	border-color: var(--cdl-accent-soft);
}

.cdl-hero-stats span {
	background: var(--cdl-surface);
	border-color: var(--cdl-line-strong);
	color: var(--cdl-muted);
}

.cdl-hero-stats strong {
	color: var(--cdl-ink);
}

.cdl-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.cdl-btn-gold {
	background: var(--cdl-gold);
	border-color: var(--cdl-gold);
	color: #fff;
}

.cdl-btn-gold:hover {
	background: #9a6f28;
	border-color: #9a6f28;
}

.cdl-hero-features {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cdl-feature-card {
	display: flex;
	gap: 14px;
	align-items: center;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 10px;
	padding: 10px;
	box-shadow: 0 8px 24px rgba(35, 32, 27, 0.08);
	color: var(--cdl-ink);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cdl-feature-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(35, 32, 27, 0.14);
	border-color: var(--cdl-gold);
	text-decoration: none;
}

.cdl-feature-media {
	flex: 0 0 132px;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	overflow: hidden;
	background: #16120f;
}

.cdl-feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cdl-feature-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.cdl-feature-label {
	padding: 0;
	font-size: 11px;
}

.cdl-feature-title {
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cdl-map-band {
	margin: 44px 0;
}

.cdl-map-wrap {
	position: relative;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 10px;
	padding: 18px;
	box-shadow: var(--cdl-shadow);
}

.cdl-china-map {
	width: 100%;
	height: auto;
	display: block;
}

.cdl-map-province {
	cursor: pointer;
}

.cdl-map-province path {
	fill: #efe5d2;
	stroke: #b98c3c;
	stroke-width: 1.1;
	transition: fill 0.15s ease, stroke 0.15s ease;
}

.cdl-map-province:hover path,
.cdl-map-province:focus path {
	fill: #e8b93c;
	stroke: #9f0d24;
	stroke-width: 1.5;
	outline: none;
}

.cdl-map-tooltip {
	position: fixed;
	z-index: 80;
	width: 250px;
	background: var(--cdl-ink);
	color: #fff;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	opacity: 0;
	pointer-events: none;
	transform: translateY(4px);
	transition: opacity 0.12s ease, transform 0.12s ease;
}

.cdl-map-tooltip.is-visible {
	opacity: 1;
	transform: none;
}

.cdl-map-tooltip strong {
	display: block;
	color: #e8c87f;
	font-size: 15px;
	font-family: var(--cdl-serif);
}

.cdl-map-tooltip .cdl-map-tip-count {
	display: inline-block;
	margin-top: 4px;
	font-size: 11px;
	color: #cfc0a7;
}

.cdl-map-tooltip p {
	margin: 6px 0 0;
	font-size: 12px;
	color: #e9e2d5;
	line-height: 1.45;
}

.cdl-more-section {
	padding-top: 10px;
}

@media (max-width: 900px) {
	.cdl-hero-title {
		font-size: 36px;
	}

	.cdl-hero-features {
		margin-top: 10px;
	}
}

/* ---------- 2.3 refined palette and hero ---------- */
:root {
	--cdl-accent: #b42318;
	--cdl-accent-dark: #8c1a11;
	--cdl-accent-soft: #f7e3e0;
	--cdl-gold: #b08d3e;
	--cdl-gold-soft: #f1e8d6;
	--cdl-bg: #f5f2ed;
	--cdl-surface: #ffffff;
	--cdl-surface-2: #efe9df;
	--cdl-ink: #1e1b17;
	--cdl-ink-soft: #4b443b;
	--cdl-muted: #83786a;
	--cdl-line: #e6e0d6;
	--cdl-line-strong: #ccc2b2;
}

body {
	background: var(--cdl-bg);
}

.cdl-hero {
	background: var(--cdl-bg);
	border-bottom: 1px solid var(--cdl-line);
	padding: 56px 0 52px;
}

.cdl-hero-title {
	color: var(--cdl-ink);
	font-size: 54px;
	line-height: 1.05;
}

.cdl-hero-slogan {
	color: var(--cdl-accent);
}

.cdl-hero-stats span {
	background: var(--cdl-surface);
}

.cdl-btn-gold {
	background: var(--cdl-ink);
	border-color: var(--cdl-ink);
	color: #fff;
}

.cdl-btn-gold:hover {
	background: #000;
	border-color: #000;
}

.cdl-hero-features {
	gap: 14px;
}

.cdl-hero-main {
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	background: #16120f;
	box-shadow: 0 16px 40px rgba(30, 27, 23, 0.16);
}

.cdl-hero-main-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
}

.cdl-hero-main-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cdl-hero-main-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.74));
}

.cdl-hero-main-body {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cdl-hero-main .cdl-feature-label {
	color: #e8c87f;
	padding: 0;
}

.cdl-hero-main .cdl-feature-title {
	color: #fff;
	padding: 0;
	font-size: 19px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cdl-play-badge {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(180, 35, 24, 0.92);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cdl-hero-sub-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cdl-feature-card {
	box-shadow: 0 4px 14px rgba(30, 27, 23, 0.07);
}

.cdl-section-title::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	background: var(--cdl-accent);
	transform: rotate(45deg);
	margin-right: 12px;
	border-radius: 1px;
}

.cdl-map-wrap {
	background: var(--cdl-surface);
}

.cdl-map-province path {
	fill: #f0ead9;
	stroke: #b9a87f;
}

.cdl-map-province:hover path,
.cdl-map-province:focus path {
	fill: #d62b20;
	stroke: #7f1d16;
}

.cdl-map-inset-box {
	fill: rgba(240, 234, 217, 0.55);
	stroke: #b9a87f;
	stroke-width: 1;
	stroke-dasharray: 5 4;
}

.cdl-map-inset-dash {
	fill: none;
	stroke: #b42318;
	stroke-width: 1.2;
	stroke-dasharray: 4 3;
}

.cdl-map-inset circle {
	fill: #b42318;
}

.cdl-map-inset-label {
	font-size: 10px;
	fill: #83786a;
	font-family: var(--cdl-serif);
}

@media (max-width: 640px) {
	.cdl-hero-title {
		font-size: 38px;
	}

	.cdl-hero-sub-list {
		grid-template-columns: 1fr;
	}

	.cdl-play-badge {
		width: 44px;
		height: 44px;
	}
}

/* ---------- 2.4 wider layout, white base ---------- */
:root {
	--cdl-bg: #ffffff;
	--cdl-surface: #ffffff;
	--cdl-surface-2: #f6f6f4;
	--cdl-ink: #1c1a17;
	--cdl-ink-soft: #45413a;
	--cdl-muted: #6f6a63;
	--cdl-line: #e7e3dc;
	--cdl-line-strong: #d4cec4;
}

.cdl-container {
	max-width: 1440px;
}

.cdl-header-inner {
	max-width: 1440px;
}

.cdl-footer-inner,
.cdl-footer-bottom-inner {
	max-width: 1440px;
}

.cdl-single-wrap {
	max-width: 1320px;
}

@media (min-width: 1025px) {
	.cdl-single-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
	}
}

.cdl-page {
	max-width: 1080px;
}

.cdl-hero {
	background:
		repeating-linear-gradient(0deg, rgba(28, 26, 23, 0.025) 0 1px, transparent 1px 32px),
		repeating-linear-gradient(90deg, rgba(28, 26, 23, 0.025) 0 1px, transparent 1px 32px),
		#ffffff;
}

.cdl-hero-title {
	font-size: 56px;
}

.cdl-map-wrap,
.cdl-card,
.cdl-chip,
.cdl-region-card,
.cdl-blogger-card,
.cdl-feature-card {
	background: #ffffff;
}

.cdl-map-province path {
	fill: #f3eee3;
}

/* ---------- 2.5 classic red palette, centered compact hero, fluid width ---------- */
:root {
	--cdl-accent: #C62828;
	--cdl-accent-dark: #8E0000;
	--cdl-accent-soft: #FFEBEE;
	--cdl-gold: #C62828;
	--cdl-gold-soft: #FFEBEE;
	--cdl-bg: #FAFAFA;
	--cdl-surface: #FFFFFF;
	--cdl-surface-2: #F5F5F5;
	--cdl-ink: #1A1A1A;
	--cdl-ink-soft: #333333;
	--cdl-muted: #666666;
	--cdl-line: #E0E0E0;
	--cdl-line-strong: #BDBDBD;
}

.cdl-container,
.cdl-header-inner,
.cdl-footer-inner,
.cdl-footer-bottom-inner {
	max-width: 1320px;
	width: 100%;
}

.cdl-single-wrap {
	max-width: 1240px;
}

.cdl-page {
	max-width: 1000px;
}

.cdl-hero {
	text-align: center;
	padding: 46px 20px 42px;
	background: #FFFFFF;
}

.cdl-hero-grid {
	grid-template-columns: 1fr;
}

.cdl-hero-copy {
	max-width: 880px;
	margin: 0 auto;
}

.cdl-hero-title {
	font-size: 52px;
	margin-bottom: 14px;
}

.cdl-hero-slogan {
	margin-bottom: 16px;
}

.cdl-hero-slogan::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	background: var(--cdl-accent);
	margin: 18px auto 0;
}

.cdl-hero-sub {
	margin-left: auto;
	margin-right: auto;
}

.cdl-hero-actions {
	justify-content: center;
}

.cdl-btn-gold {
	background: #FFFFFF;
	border-color: var(--cdl-accent);
	color: var(--cdl-accent);
}

.cdl-btn-gold:hover {
	background: var(--cdl-accent-soft);
	border-color: var(--cdl-accent-dark);
	color: var(--cdl-accent-dark);
}

.cdl-section-head {
	border-bottom-color: var(--cdl-accent);
}

.cdl-map-province path {
	fill: #F5F0E8;
	stroke: #B9A87F;
}

.cdl-map-province:hover path,
.cdl-map-province:focus path {
	fill: var(--cdl-accent);
	stroke: var(--cdl-accent-dark);
}

@media (max-width: 900px) {
	.cdl-hero-title {
		font-size: 40px;
	}
}

@media (max-width: 640px) {
	.cdl-hero-title {
		font-size: 34px;
	}
}

/* ---------- 2.6 homepage sidebar + city map ---------- */
.cdl-home-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 32px;
	align-items: start;
	margin: 44px 0;
	min-width: 0;
}

.cdl-home-main {
	min-width: 0;
}

.cdl-home-main .cdl-section {
	margin-top: 0;
}

.cdl-home-sidebar {
	display: flex;
	flex-direction: column;
	gap: 26px;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 10px;
	padding: 20px;
	box-shadow: var(--cdl-shadow);
	position: sticky;
	top: 88px;
	min-width: 0;
}

.cdl-side-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	border-bottom: 2px solid var(--cdl-accent);
	padding-bottom: 8px;
	margin-bottom: 12px;
}

.cdl-side-title {
	font-family: var(--cdl-serif);
	font-size: 17px;
	margin: 0;
}

.cdl-side-link {
	font-size: 12px;
	font-weight: 700;
	color: var(--cdl-accent);
	white-space: nowrap;
}

.cdl-region-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cdl-region-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: var(--cdl-bg);
	border: 1px solid var(--cdl-line);
	border-radius: 6px;
	padding: 9px 12px;
	color: var(--cdl-ink);
	font-size: 13px;
	font-weight: 600;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.cdl-region-row:hover {
	border-color: var(--cdl-accent);
	background: var(--cdl-accent-soft);
	text-decoration: none;
}

.cdl-region-row-count {
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line-strong);
	border-radius: 999px;
	min-width: 30px;
	padding: 1px 7px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--cdl-muted);
}

.cdl-hero {
	padding: 34px 20px 30px;
	background:
		radial-gradient(circle at 28% 42%, rgba(100, 36, 34, 0.55) 0%, transparent 55%),
		linear-gradient(105deg, #1B1D33 0%, #1A2238 46%, #122B4F 78%, #0F2E52 100%);
	color: #FFFFFF;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cdl-hero-title {
	color: #FFFFFF;
	font-size: 48px;
	margin-bottom: 12px;
}

.cdl-hero-slogan {
	color: #F2B7A4;
	margin-bottom: 12px;
}

.cdl-hero-slogan::after {
	background: #E63946;
	margin-top: 14px;
}

.cdl-hero-sub {
	color: rgba(255, 255, 255, 0.72);
}

.cdl-map-wrap-cities .cdl-map-province path {
	fill: #F2EFE8;
	stroke: #D9D2C4;
	stroke-width: 1;
}

.cdl-map-wrap-cities .cdl-map-province:hover path,
.cdl-map-wrap-cities .cdl-map-province:focus path {
	fill: #F2EFE8;
	stroke: #D9D2C4;
}

.cdl-map-city {
	fill: var(--cdl-accent);
	stroke: #FFFFFF;
	stroke-width: 1.4;
	cursor: pointer;
	transform-box: fill-box;
	transform-origin: center;
	transition: transform 0.15s ease, fill 0.15s ease;
}

.cdl-map-city:hover,
.cdl-map-city:focus {
	fill: #D99A1B;
	stroke: var(--cdl-accent-dark);
	transform: scale(1.55);
	outline: none;
}

.cdl-map-city-label {
	fill: #555555;
	font-size: 11px;
	font-weight: 700;
	font-family: var(--cdl-serif);
	pointer-events: none;
	text-shadow: 0 1px 0 #FFFFFF, 0 -1px 0 #FFFFFF, 1px 0 0 #FFFFFF, -1px 0 0 #FFFFFF;
}

@media (max-width: 1150px) {
	.cdl-home-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.cdl-home-sidebar {
		position: static;
	}
}

@media (max-width: 900px) {
	.cdl-hero-title {
		font-size: 38px;
	}
}

@media (max-width: 640px) {
	.cdl-hero {
		padding: 26px 14px 24px;
	}

	.cdl-hero-title {
		font-size: 30px;
	}

	.cdl-home-sidebar {
		padding: 16px 14px;
	}
}

/* ---------- 2.6.2 location links ---------- */
.cdl-location-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
}

.cdl-location-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--cdl-muted);
}

.cdl-location-link {
	display: inline-flex;
	align-items: center;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--cdl-accent-dark);
	transition: border-color 0.15s ease, background 0.15s ease;
}

.cdl-location-link:hover {
	border-color: var(--cdl-accent);
	background: var(--cdl-accent-soft);
	text-decoration: none;
}

/* ---------- 2.6.3 carousel, transcript copy ---------- */
.cdl-carousel-section {
	margin-top: 34px;
}

.cdl-carousel {
	position: relative;
	overflow: hidden;
	background: var(--cdl-surface);
	border: 1px solid var(--cdl-line);
	border-radius: 10px;
	box-shadow: var(--cdl-shadow);
}

.cdl-carousel-track {
	display: flex;
	transition: transform 0.45s ease;
}

.cdl-carousel-slide {
	flex: 0 0 100%;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
	min-height: 300px;
	color: var(--cdl-ink);
}

.cdl-carousel-slide:hover {
	text-decoration: none;
}

.cdl-carousel-media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #16120f;
	overflow: hidden;
}

.cdl-carousel-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cdl-carousel-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 28px 32px;
}

.cdl-carousel-cat {
	color: var(--cdl-accent);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.cdl-carousel-title {
	font-family: var(--cdl-serif);
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cdl-carousel-meta {
	color: var(--cdl-muted);
	font-size: 13px;
	font-weight: 600;
}

.cdl-carousel-desc {
	color: var(--cdl-muted);
	font-size: 14px;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cdl-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--cdl-line);
	background: rgba(255, 255, 255, 0.92);
	color: var(--cdl-ink);
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.cdl-carousel-prev {
	left: 14px;
}

.cdl-carousel-next {
	right: 14px;
}

.cdl-carousel-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 3;
}

.cdl-carousel-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.65);
	cursor: pointer;
}

.cdl-carousel-dot.is-active {
	background: var(--cdl-accent);
}

.cdl-transcript-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.cdl-transcript-copy {
	border: 1px solid var(--cdl-line-strong);
	background: var(--cdl-surface);
	color: var(--cdl-ink-soft);
	border-radius: 6px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
}

.cdl-transcript-copy:hover {
	border-color: var(--cdl-accent);
	color: var(--cdl-accent-dark);
}

@media (max-width: 900px) {
	.cdl-carousel-slide {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.cdl-carousel-media {
		min-height: 200px;
	}

	.cdl-carousel-body {
		padding: 18px 20px;
	}

	.cdl-carousel-title {
		font-size: 19px;
	}
}

/* ---------- 2.6.5 mobile compaction ---------- */
@media (max-width: 900px) {
	.cdl-chip-grid {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 6px;
		margin-left: -14px;
		margin-right: -14px;
		padding-left: 14px;
		padding-right: 14px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.cdl-chip-grid::-webkit-scrollbar {
		display: none;
	}

	.cdl-chip {
		flex: 0 0 auto;
		scroll-snap-align: start;
		white-space: nowrap;
		padding: 7px 12px;
		font-size: 13px;
	}

	.cdl-home-sidebar {
		gap: 18px;
		padding: 14px 12px;
	}

	.cdl-side-head {
		margin-bottom: 8px;
	}

	.cdl-side-title {
		font-size: 15px;
	}

	.cdl-region-list {
		flex-direction: row;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 4px;
		margin-right: -12px;
		padding-right: 12px;
		max-width: 100%;
		scrollbar-width: none;
	}

	.cdl-region-list::-webkit-scrollbar {
		display: none;
	}

	.cdl-region-row {
		flex: 0 0 auto;
		gap: 8px;
		padding: 7px 10px;
		font-size: 12.5px;
		white-space: nowrap;
		scroll-snap-align: start;
	}

	.cdl-region-row-count {
		min-width: 24px;
		padding: 0 6px;
	}

	.cdl-filters {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		padding: 12px;
		margin-bottom: 16px;
	}

	.cdl-filter-field {
		min-width: 0;
	}

	.cdl-filter-field:first-child {
		grid-column: 1 / -1;
	}

	.cdl-filter-field input,
	.cdl-filter-field select {
		width: 100%;
		min-width: 0;
		height: 36px;
		font-size: 13px;
	}

	.cdl-filters .cdl-btn {
		grid-column: 1 / -1;
		width: 100%;
	}
}

@media (max-width: 640px) {
	.cdl-footer-inner {
		grid-template-columns: 1fr 1fr;
		gap: 20px 16px;
		padding: 28px 14px 22px;
	}

	.cdl-footer-about {
		grid-column: 1 / -1;
	}

	.cdl-footer-title {
		font-size: 13px;
		margin-bottom: 8px;
	}

	.cdl-footer-links a {
		font-size: 13px;
	}
}

/* ---------- 2.7 mobile refinements ---------- */
@media (max-width: 640px) {
	.cdl-breadcrumb {
		margin: 12px 0 10px;
		font-size: 12.5px;
	}

	.cdl-breadcrumb ol {
		padding: 5px 10px;
		gap: 6px;
		border-radius: 10px;
	}

	.cdl-share {
		align-items: stretch;
	}

	.cdl-share-btns {
		grid-template-columns: repeat(5, 1fr);
		gap: 6px;
		width: 100%;
	}

	.cdl-share-btn {
		flex-direction: column;
		gap: 3px;
		padding: 8px 4px;
		min-height: 34px;
		border-radius: 6px;
	}

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

	.cdl-share-btn span {
		display: none;
	}

	.cdl-share-btn.cdl-share-copy.is-copied {
		border-color: var(--cdl-accent);
		color: var(--cdl-accent-dark);
		background: var(--cdl-accent-soft);
	}

	.cdl-share-btn.cdl-share-copy.is-copied svg {
		display: none;
	}

	.cdl-share-btn.cdl-share-copy.is-copied span {
		display: inline;
		font-size: 12px;
		font-weight: 700;
		white-space: nowrap;
	}
}
