/*
Theme Name: Chinese Lorange for GeneratePress
Theme URI: https://chineselorange.com/
Description: Custom Chinese Lorange homepage child theme for GeneratePress.
Author: Chinese Lorange
Version: 1.2.0
Template: generatepress
Text Domain: chinese-lorange
*/

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("assets/fonts/plus-jakarta-sans.ttf") format("truetype");
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
}

:root {
	--cl-orange: #fa741b;
	--cl-orange-soft: #ffa069;
	--cl-blue: #1a7fd4;
	--cl-gold: #eda111;
	--cl-ink: #1b2b4b;
	--cl-copy: #5f514d;
	--cl-muted: #756c67;
	--cl-cream: #f9f3e9;
	--cl-light: #f8f6f0;
	--cl-peach: #ffe6d2;
	--cl-white: #fff;
	--cl-border: rgba(26, 127, 212, 0.34);
	--cl-shadow: 0 18px 50px rgba(27, 43, 75, 0.12);
	--cl-font: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
	background: var(--cl-light);
	color: var(--cl-ink);
	font-family: var(--cl-font);
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: 0;
	margin: 0;
}
body, button, input { font-family: var(--cl-font); }
body * { box-sizing: border-box; }
a { color: inherit; }
img { max-width: 100%; }
button, input { letter-spacing: 0; }
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	left: 18px;
	padding: 10px 14px;
	top: 18px;
	width: auto;
	z-index: 10001;
	background: #fff;
}
.cl-main { display: block; min-height: 40vh; }
.cl-container { margin: 0 auto; max-width: 1280px; width: 100%; }
.cl-content-narrow { margin: 0 auto; max-width: 780px; width: 100%; }
.cl-section { padding: 96px 24px; }
#courses, #tones, #lessons, #reviews, #subscribe { scroll-margin-top: 96px; }
.cl-eyebrow {
	color: var(--cl-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.18em;
	margin: 0;
	text-transform: uppercase;
}
h1, h2, h3, p { letter-spacing: 0; }
h1, h2, h3 { color: var(--cl-ink); font-family: var(--cl-font); font-weight: 800; }
h2 { font-size: clamp(2.15rem, 4.5vw, 3.45rem); line-height: 1.08; margin: 12px 0 0; }
h2 em { color: var(--cl-orange); font-style: italic; }
.cl-button {
	align-items: center;
	background: var(--cl-orange-soft);
	border: 1px solid var(--cl-orange-soft);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(250, 116, 27, 0.24);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 800;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.cl-button:hover, .cl-button:focus-visible {
	background: var(--cl-orange);
	border-color: var(--cl-orange);
	box-shadow: 0 12px 28px rgba(250, 116, 27, 0.3);
	color: #fff;
	transform: translateY(-2px);
}
.cl-button-outline {
	background: transparent;
	border-color: var(--cl-orange);
	box-shadow: none;
	color: var(--cl-ink);
}
.cl-button-outline:hover, .cl-button-outline:focus-visible { color: #fff; }
.cl-button-blue { background: var(--cl-blue); border-color: var(--cl-blue); box-shadow: 0 8px 24px rgba(26, 127, 212, 0.26); }
.cl-button-blue:hover, .cl-button-blue:focus-visible { background: #126db8; border-color: #126db8; }
.cl-button-small { font-size: 14px; min-height: 40px; padding: 8px 18px; }
.cl-button-row { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.cl-site-header {
	left: 0;
	padding: 18px 24px 8px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1000;
}
.admin-bar .cl-site-header { top: 32px; }
.cl-nav-shell {
	align-items: center;
	background: rgba(255, 230, 210, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 999px;
	box-shadow: 0 10px 34px rgba(27, 43, 75, 0.12);
	display: flex;
	gap: 30px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1280px;
	min-height: 64px;
	padding: 8px 12px 8px 20px;
	transition: box-shadow 180ms ease, background 180ms ease;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.cl-site-header.is-scrolled .cl-nav-shell { background: rgba(255, 244, 235, 0.96); box-shadow: 0 14px 40px rgba(27, 43, 75, 0.17); }
.cl-brand { display: block; flex: 0 0 auto; line-height: 0; }
.cl-brand img, .cl-brand .custom-logo { display: block; height: 52px; object-fit: contain; width: auto; }
.cl-brand .custom-logo-link { display: block; }
.cl-primary-navigation { align-items: center; display: flex; gap: clamp(16px, 2vw, 30px); }
.cl-primary-navigation > a, .cl-nav-dropdown > button {
	background: transparent;
	border: 0;
	color: #191919;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 0;
	text-decoration: none;
	white-space: nowrap;
}
.cl-primary-navigation > a:hover, .cl-primary-navigation > a:focus-visible, .cl-nav-dropdown > button:hover, .cl-nav-dropdown > button:focus-visible { color: var(--cl-orange); }
.cl-nav-dropdown { position: relative; }
.cl-nav-dropdown > button span { color: var(--cl-orange); display: inline-block; transition: transform 180ms ease; }
.cl-nav-dropdown.is-open > button span { transform: rotate(180deg); }
.cl-resource-menu {
	background: #fff;
	border: 1px solid var(--cl-orange);
	border-radius: 8px;
	box-shadow: var(--cl-shadow);
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(150px, 1fr));
	left: 50%;
	opacity: 0;
	padding: 24px;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 12px);
	transform: translate(-50%, 8px);
	transition: opacity 160ms ease, transform 160ms ease, width 180ms ease;
	visibility: hidden;
	width: min(720px, 88vw);
}
.cl-resource-menu.has-preview { grid-template-columns: 1fr 1fr 1.1fr 1.25fr; width: min(980px, 92vw); }
.cl-nav-dropdown::after { content: ""; height: 18px; left: 0; position: absolute; right: 0; top: 100%; }
.cl-nav-dropdown:hover .cl-resource-menu, .cl-nav-dropdown:focus-within .cl-resource-menu, .cl-nav-dropdown.is-open .cl-resource-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); visibility: visible; }
.cl-resource-group { display: flex; flex-direction: column; gap: 5px; }
.cl-resource-group strong { border-bottom: 1px solid rgba(27, 43, 75, 0.12); font-size: 11px; letter-spacing: 0.14em; margin-bottom: 4px; padding-bottom: 10px; text-transform: uppercase; }
.cl-resource-menu a { border-radius: 6px; font-size: 14px; font-weight: 700; padding: 8px 10px; text-decoration: none; }
.cl-resource-menu a:hover, .cl-resource-menu a:focus-visible, .cl-resource-menu a.is-previewing { background: rgba(255, 160, 105, 0.14); color: var(--cl-orange); }
.cl-resource-preview { background: var(--cl-light); border-radius: 8px; display: none; min-height: 210px; padding: 18px; }
.cl-resource-menu.has-preview .cl-resource-preview { display: block; }
.cl-resource-preview > span { color: var(--cl-orange); font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.cl-resource-preview h3 { font-size: 20px; line-height: 1.18; margin: 12px 0 0; }
.cl-resource-preview p { color: var(--cl-blue); font-size: 13px; line-height: 1.55; margin: 10px 0 0; }
.cl-resource-preview div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cl-resource-preview i { background: #fff; border-radius: 999px; color: var(--cl-ink); font-size: 10px; font-style: normal; font-weight: 800; padding: 5px 9px; }
.cl-header-actions { align-items: center; display: flex; gap: 10px; }
.cl-language-pill { border: 1px solid rgba(250, 116, 27, 0.42); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 7px 12px; }
.cl-menu-toggle { background: transparent; border: 0; cursor: pointer; display: none; height: 42px; padding: 9px; width: 42px; }
.cl-menu-toggle > span:not(.screen-reader-text) { background: var(--cl-ink); display: block; height: 2px; margin: 5px auto; transition: transform 180ms ease, opacity 180ms ease; width: 22px; }

/* Hero */
.cl-hero { align-items: center; background: #fff; display: flex; min-height: 100svh; overflow: hidden; padding: 132px 24px 56px; }
.cl-hero-grid { align-items: center; display: grid; gap: 48px; grid-template-columns: 1.1fr 0.9fr; }
.cl-hero h1 { font-size: clamp(3.3rem, 6.8vw, 6.25rem); font-weight: 800; line-height: 0.96; margin: 0; max-width: 780px; }
.cl-hero h1 span { display: block; }
.cl-hero h1 em { color: var(--cl-orange); }
.cl-rotating-line { color: var(--cl-ink); font-size: clamp(1.15rem, 2vw, 1.65rem); font-style: italic; font-weight: 700; margin: 24px 0 0; min-height: 1.7em; transition: opacity 260ms ease, transform 260ms ease; }
.cl-rotating-line.is-changing { opacity: 0; transform: translateY(10px); }
.cl-hero-intro { color: var(--cl-copy); font-size: 17px; font-style: italic; line-height: 1.75; margin: 18px 0 24px; max-width: 590px; }
.cl-trust-line { color: var(--cl-orange); display: flex; flex-wrap: wrap; font-size: 13px; font-weight: 700; gap: 10px 20px; margin-top: 24px; }
.cl-trust-line b { color: var(--cl-blue); margin-right: 4px; }
.cl-hero-visual { align-self: end; min-height: 570px; position: relative; }
.cl-photo-frame { bottom: 0; clip-path: inset(0 round 34px); filter: drop-shadow(0 0 34px rgba(255, 160, 105, 0.28)) drop-shadow(0 24px 24px rgba(27, 43, 75, 0.18)); overflow: hidden; position: absolute; right: 0; width: 100%; }
.cl-photo-frame, .cl-photo-frame img { border-radius: 34px; }
.cl-photo-frame img { display: block; height: min(620px, 72vw); margin: 0 auto; object-fit: contain; object-position: bottom; width: 100%; }

/* Sections */
.cl-courses { background: var(--cl-cream); }
.cl-section-heading { margin: 0 auto; max-width: 760px; text-align: center; }
.cl-section-heading > p:last-child { color: var(--cl-copy); font-size: 17px; line-height: 1.75; margin: 18px auto 0; max-width: 680px; }
.cl-filters { display: flex; flex-wrap: wrap; gap: 24px 32px; justify-content: center; margin-top: 36px; }
.cl-filters > div { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cl-filters span { color: var(--cl-muted); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.cl-filters button {
	background: #fff;
	border: 1px solid rgba(26, 127, 212, 0.42);
	border-radius: 999px;
	color: var(--cl-ink);
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	padding: 8px 14px;
	transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.cl-filters button:hover { transform: translateY(-1px); }
.cl-filters button.is-active { background: var(--cl-orange); border-color: var(--cl-orange); color: #fff; }
.cl-course-grid { display: grid; justify-content: center; margin-top: 36px; }
.cl-course-card { background: #fff; border: 1px solid var(--cl-border); border-radius: 8px; box-shadow: 0 8px 24px rgba(27, 43, 75, 0.07); max-width: 430px; padding: 26px; transition: box-shadow 180ms ease, transform 180ms ease; }
.cl-course-card:hover { box-shadow: var(--cl-shadow); transform: translateY(-4px); }
.cl-course-meta { align-items: center; display: flex; gap: 12px; }
.cl-character { align-items: center; background: var(--cl-gold); border-radius: 8px; color: #fff; display: flex; font-size: 18px; font-weight: 800; height: 50px; justify-content: center; width: 58px; }
.cl-course-meta p { display: flex; flex-direction: column; margin: 0; }
.cl-course-meta b { color: var(--cl-blue); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.cl-course-meta i { color: var(--cl-muted); font-size: 14px; }
.cl-course-card h3 { font-size: 26px; margin: 18px 0 8px; }
.cl-course-card > p { color: var(--cl-copy); margin: 0; }
.cl-course-card ul, .cl-tones-copy ul { list-style: none; margin: 18px 0 0; padding: 0; }
.cl-course-card li, .cl-tones-copy li { margin: 7px 0; padding-left: 24px; position: relative; }
.cl-course-card li::before, .cl-tones-copy li::before { color: var(--cl-blue); content: "\2713"; font-weight: 800; left: 0; position: absolute; }
.cl-coming-soon { background: var(--cl-light); border: 1px solid rgba(26, 127, 212, 0.25); border-radius: 8px; color: var(--cl-muted); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; margin-top: 20px; padding: 16px; text-align: center; text-transform: uppercase; }
.cl-filter-empty { color: var(--cl-muted); font-style: italic; padding: 40px 20px; text-align: center; }

.cl-tones { background: var(--cl-light); }
.cl-tones-grid { align-items: center; display: grid; gap: 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cl-tone-quiz { background: rgb(250, 248, 241); border: 1px solid var(--cl-orange); border-radius: 8px; box-shadow: var(--cl-shadow); color: var(--cl-ink); padding: 32px; text-align: center; }
.cl-quiz-label { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; margin: 0; text-transform: uppercase; }
.cl-play-tone { align-items: center; background: var(--cl-orange); border: 0; border-radius: 50%; box-shadow: 0 12px 28px rgba(27, 43, 75, 0.34); color: #fff; cursor: pointer; display: flex; font-size: 28px; height: 88px; justify-content: center; margin: 24px auto 0; padding-left: 6px; transition: background 180ms ease, transform 180ms ease; width: 88px; }
.cl-play-tone:hover, .cl-play-tone:focus-visible, .cl-play-tone.is-playing { background: var(--cl-orange); transform: scale(1.04); }
.cl-play-status { font-size: 14px; font-weight: 700; margin: 12px 0 0; }
.cl-quiz-question { font-style: italic; margin: 20px 0 12px; }
.cl-tone-options { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.cl-tone-options button { align-items: center; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(26, 127, 212, 0.28); border-radius: 8px; color: var(--cl-ink); cursor: pointer; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 8px; transition: background 160ms ease, transform 160ms ease; }
.cl-tone-options button:hover:not(:disabled) { background: #fff; transform: translateY(-3px); }
.cl-tone-options button.is-correct { background: rgba(71, 184, 114, 0.58); border-color: #9bf0ba; }
.cl-tone-options button.is-wrong { background: rgba(208, 63, 63, 0.56); border-color: #ffc0c0; }
.cl-tone-options strong { font-size: 28px; }
.cl-tone-options span { font-size: 12px; font-weight: 700; }
.cl-tone-options i { background: #ffd478; display: block; height: 4px; margin: 8px auto; width: 46px; }
.cl-tone-options .tone-2 { transform: rotate(-14deg); }
.cl-tone-options .tone-3 { background: transparent; border-bottom: 4px solid #ffd478; border-radius: 0 0 50% 50%; height: 15px; }
.cl-tone-options .tone-4 { transform: rotate(14deg); }
.cl-quiz-result { background: rgba(255, 255, 255, 0.72); border-radius: 8px; margin-top: 18px; padding: 16px; }
.cl-quiz-result p { font-weight: 800; margin: 0; }
.cl-quiz-result div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.cl-quiz-result button { background: #fff; border: 1px solid #fff; border-radius: 999px; color: var(--cl-blue); cursor: pointer; font-size: 12px; font-weight: 800; padding: 8px 14px; }
.cl-tones-copy { text-align: center; }
.cl-tones-copy > p:not(.cl-eyebrow) { color: var(--cl-copy); font-size: 17px; margin: 18px auto 0; max-width: 560px; }
.cl-pinyin-actions { align-items: center; display: flex; flex-direction: column; margin-top: 30px; width: 100%; }
.cl-pinyin-actions .cl-button { margin: 0 auto; }
.cl-tones-copy .cl-pinyin-actions ul { display: inline-block; margin-top: 20px; text-align: left; }

.cl-lessons { background: #fff; }
.cl-lessons .cl-container { max-width: 1100px; }
.cl-lessons h2 { font-size: clamp(3rem, 7vw, 5.7rem); line-height: 0.98; max-width: 1020px; }
.cl-lessons .cl-container > p:not(.cl-eyebrow) { color: var(--cl-copy); font-size: clamp(1.05rem, 1.8vw, 1.28rem); margin: 28px 0 0; max-width: 690px; }
.cl-lessons .cl-button-row { margin-top: 36px; }

.cl-reviews { background: var(--cl-orange); color: #fff; overflow: hidden; padding-left: 0; padding-right: 0; }
.cl-review-heading { align-items: flex-end; display: flex; gap: 32px; justify-content: space-between; padding: 0 24px; }
.cl-review-heading h2 { color: #fff; margin: 0; }
.cl-review-heading p { color: rgba(255, 255, 255, 0.82); margin: 14px 0 0; max-width: 640px; }
.cl-review-stats { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 42px; padding: 0 24px; }
.cl-review-stats > div { background: var(--cl-light); border: 1px solid rgba(26, 127, 212, 0.55); border-radius: 8px; color: var(--cl-ink); display: flex; flex-direction: column; min-height: 140px; padding: 22px; }
.cl-review-stats span, .cl-review-card > span { color: var(--cl-blue); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.cl-review-stats strong { font-size: 24px; line-height: 1.15; margin-top: auto; max-width: 250px; }
.cl-stars { display: block; font-size: 18px; letter-spacing: 0; margin-top: 8px; }
.cl-marquee { margin-top: 52px; overflow: hidden; padding: 26px 0; }
.cl-marquee-track { animation: cl-marquee 180s linear infinite; animation-play-state: paused; display: flex; gap: 18px; width: max-content; will-change: transform; }
.cl-review-group { display: flex; flex: 0 0 auto; gap: 18px; }
.cl-marquee.is-running .cl-marquee-track { animation-play-state: running; }
.cl-marquee:hover .cl-marquee-track { animation-play-state: paused; }
.cl-review-card { background: var(--cl-light); border: 1px solid rgba(26, 127, 212, 0.55); border-radius: 8px; color: var(--cl-ink); display: flex; flex: 0 0 390px; flex-direction: column; height: 430px; padding: 24px; transition: box-shadow 220ms ease, transform 220ms ease; }
.cl-review-card:hover { box-shadow: 0 22px 50px rgba(27, 43, 75, 0.24); position: relative; transform: translateY(-8px) scale(1.025); z-index: 2; }
.cl-review-card > p { color: var(--cl-copy); flex: 1 1 auto; font-size: 14px; line-height: 1.65; margin-bottom: 0; min-height: 0; overflow-y: auto; padding-right: 8px; scrollbar-color: rgba(26, 127, 212, 0.35) transparent; scrollbar-width: thin; }
.cl-review-card footer { border-top: 1px solid rgba(27, 43, 75, 0.14); display: grid; gap: 2px 10px; grid-template-columns: 38px 1fr; margin-top: 18px; padding-top: 16px; }
.cl-review-card footer i { align-items: center; background: var(--cl-cream); border: 1px solid var(--cl-border); border-radius: 50%; display: flex; font-style: normal; font-weight: 800; grid-row: 1 / 3; height: 38px; justify-content: center; width: 38px; }
.cl-review-card footer strong { font-size: 14px; }
.cl-review-card footer small { background: var(--cl-blue); border-radius: 999px; color: #fff; font-size: 9px; font-weight: 800; justify-self: start; padding: 3px 8px; text-transform: uppercase; }
@keyframes cl-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }

.cl-subscribe { background: var(--cl-light); text-align: center; }
.cl-subscribe p { color: var(--cl-copy); font-size: 17px; margin: 20px auto 0; max-width: 680px; }
.cl-subscribe-form { align-items: stretch; display: grid; gap: 10px; grid-template-columns: 0.7fr 1fr auto; margin: 34px auto 0; max-width: 720px; }
.cl-subscribe-form input { background: #fff; border: 1px solid rgba(26, 127, 212, 0.5); border-radius: 999px; color: var(--cl-ink); font-size: 15px; height: 52px; outline: none; padding: 12px 20px; width: 100%; }
.cl-subscribe-form input:focus { border-color: var(--cl-blue); box-shadow: 0 0 0 3px rgba(26, 127, 212, 0.12); }
.cl-subscribe small { color: var(--cl-muted); display: block; margin-top: 14px; }
.cl-honeypot { left: -10000px; position: absolute; }
.cl-form-message { border-radius: 8px; font-weight: 800; padding: 10px 14px; }
.cl-form-message.is-success { background: #e2f6e9; color: #176d3a; }
.cl-form-message.is-error { background: #ffe4e4; color: #9c2929; }
.cl-final-cta { background: var(--cl-light); padding: 16px 24px 64px; }
.cl-cta-panel { background: rgba(255, 255, 255, 0.72); border: 1px solid var(--cl-blue); border-radius: 8px; box-shadow: 0 18px 50px rgba(27, 43, 75, 0.08); padding: 44px 32px; text-align: center; }
.cl-cta-panel > p:not(.cl-eyebrow) { color: var(--cl-copy); margin: 16px auto 0; max-width: 720px; }
.cl-cta-panel .cl-button-row { justify-content: center; margin-top: 28px; }

/* Footer and ordinary content */
.cl-site-footer { background: #fff1e8; color: var(--cl-ink); padding: 56px 24px 24px; }
.cl-footer-inner { display: grid; gap: 42px; grid-template-columns: 1fr auto; margin: 0 auto; max-width: 1280px; }
.cl-footer-columns { display: grid; gap: 36px; grid-template-columns: repeat(4, 1fr); }
.cl-footer-columns > div { display: flex; flex-direction: column; gap: 7px; }
.cl-footer-columns strong { font-size: 14px; margin-bottom: 5px; }
.cl-footer-columns a, .cl-footer-contact a { color: var(--cl-muted); font-size: 13px; text-decoration: none; }
.cl-footer-columns a:hover, .cl-footer-contact a:hover { color: var(--cl-orange); }
.cl-footer-spacer { opacity: 0; }
.cl-footer-contact { align-items: flex-end; display: flex; flex-direction: column; gap: 22px; }
.cl-social-links { display: flex; gap: 12px; }
.cl-social-links a, .cl-social-links span { display: block; line-height: 0; padding: 5px; }
.cl-social-links span { cursor: default; opacity: 0.78; }
.cl-social-links img { height: 22px; width: 22px; }
.cl-copyright { border-top: 1px solid rgba(27, 43, 75, 0.1); color: var(--cl-muted); font-size: 12px; margin: 42px auto 0; max-width: 1280px; padding-top: 20px; text-align: center; }
.cl-content-page { background: #fff; min-height: 70vh; padding: 140px 24px 80px; }
.cl-content-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.06; }
.entry-content { color: var(--cl-copy); }
.cl-reveal { opacity: 0; transform: translateY(22px); transition: opacity 620ms ease, transform 620ms ease; }
.cl-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cl-reveal { opacity: 1; transform: none; transition: none; }
	.cl-marquee-track { animation: none; }
	.cl-marquee { overflow-x: auto; }
	.cl-button, .cl-course-card { transition: none; }
}

@media (max-width: 1060px) {
	.cl-primary-navigation { gap: 14px; }
	.cl-primary-navigation > a, .cl-nav-dropdown > button { font-size: 12px; }
	.cl-language-pill { display: none; }
	.cl-hero h1 { font-size: clamp(3.1rem, 7vw, 5.1rem); }
}

@media (max-width: 860px) {
	.admin-bar .cl-site-header { top: 46px; }
	.cl-site-header { padding: 10px 14px; }
	.cl-nav-shell { border-radius: 8px; min-height: 58px; padding: 7px 8px 7px 14px; position: relative; }
	.cl-brand img, .cl-brand .custom-logo { height: 40px; }
	.cl-menu-toggle { display: block; margin-left: auto; }
	.cl-menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
	.cl-menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
	.cl-menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
	.cl-primary-navigation { align-items: stretch; background: #fff; border: 1px solid rgba(250, 116, 27, 0.3); border-radius: 8px; box-shadow: var(--cl-shadow); display: none; flex-direction: column; gap: 0; left: 0; padding: 12px; position: absolute; right: 0; top: calc(100% + 8px); }
	.cl-primary-navigation.is-open { display: flex; }
	.cl-primary-navigation > a, .cl-nav-dropdown > button { display: block; font-size: 14px; padding: 11px 10px; text-align: left; width: 100%; }
	.cl-resource-menu, .cl-resource-menu.has-preview { box-shadow: none; display: none; grid-template-columns: 1fr; left: auto; opacity: 1; padding: 14px; pointer-events: auto; position: static; transform: none; visibility: visible; width: auto; }
	.cl-nav-dropdown.is-open .cl-resource-menu { display: grid; transform: none; }
	.cl-nav-dropdown:hover .cl-resource-menu:not(:focus-within) { display: none; }
	.cl-nav-dropdown.is-open:hover .cl-resource-menu { display: grid; }
	.cl-header-actions .cl-button { font-size: 12px; min-height: 38px; padding: 7px 13px; }
	.cl-hero { min-height: 100svh; padding: 116px 24px 0; }
	.cl-hero-grid { gap: 22px; grid-template-columns: 1fr; }
	.cl-hero-copy { text-align: center; }
	.cl-hero h1 { font-size: clamp(3rem, 12vw, 5.2rem); margin: 0 auto; }
	.cl-hero-intro { margin-left: auto; margin-right: auto; }
	.cl-hero .cl-button-row, .cl-trust-line { justify-content: center; }
	.cl-hero-visual { min-height: 500px; }
	.cl-photo-frame { left: 50%; right: auto; transform: translateX(-50%); width: min(500px, 92%); }
	.cl-photo-frame img { height: 510px; margin: 0 auto; width: auto; }
	.cl-tones-grid { grid-template-columns: 1fr; }
	.cl-review-stats { grid-template-columns: 1fr; }
	.cl-footer-inner { grid-template-columns: 1fr; }
	.cl-footer-contact { align-items: flex-start; }
}

@media (max-width: 620px) {
	.cl-section { padding: 72px 18px; }
	.cl-header-actions { display: none; }
	.cl-nav-shell { gap: 10px; }
	.cl-hero { padding-left: 18px; padding-right: 18px; }
	.cl-hero h1 { font-size: clamp(2.1rem, 9.6vw, 3.6rem); line-height: 1; }
	.cl-rotating-line { font-size: 1rem; line-height: 1.4; }
	.cl-hero-intro { font-size: 15px; overflow-wrap: anywhere; }
	.cl-button-row { align-items: stretch; flex-direction: column; }
	.cl-button-row .cl-button { width: 100%; }
	.cl-hero-visual { min-height: 230px; }
	.cl-photo-frame img { height: 245px; }
	.cl-trust-line { align-items: center; font-size: 11px; gap: 7px 14px; }
	.cl-filters { align-items: flex-start; flex-direction: column; }
	.cl-filters > div { justify-content: flex-start; }
	.cl-tone-quiz { padding: 24px 14px; }
	.cl-tone-options { gap: 6px; }
	.cl-tone-options button { padding: 12px 4px; }
	.cl-tone-options strong { font-size: 23px; }
	.cl-tone-options i { width: 34px; }
	.cl-lessons h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
	.cl-review-heading { align-items: flex-start; flex-direction: column; }
	.cl-marquee-track { animation-duration: 280s; }
	.cl-review-group { align-items: stretch; }
	.cl-review-card { flex-basis: min(330px, calc(100vw - 36px)); height: auto; min-height: 520px; }
	.cl-review-card > p { overflow: visible; padding-right: 0; }
	.cl-subscribe-form { grid-template-columns: 1fr; }
	.cl-subscribe-form .cl-button { width: 100%; }
	.cl-final-cta { padding-left: 12px; padding-right: 12px; }
	.cl-cta-panel { padding: 36px 18px; }
	.cl-footer-columns { grid-template-columns: 1fr 1fr; }
	.cl-footer-spacer { opacity: 1; }
}

@media (max-width: 420px) {
	.cl-brand img, .cl-brand .custom-logo { height: 35px; }
	.cl-tone-options span { font-size: 10px; }
	.cl-footer-columns { grid-template-columns: 1fr; }
	.cl-footer-spacer { display: none; }
}
