@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap');
:root {
	--bg: #f7f9fc;
	--surface: #fff;
	--ink: #172d4b;
	--muted: #586980;
	--line: #dfe6ef;
	--accent: #2558d8;
	--soft: #edf2fc;
	--navy: #142846;
	--mint: #dff5eb;
	--orange: #b74321;
	--radius: 12px;
	--shadow: 0 4px 10px #14284605, 0 14px 36px #14284609;
}
* {
	box-sizing: border-box;
}
html {
	scroll-padding-top: 110px;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: 'IBM Plex Sans Thai', sans-serif;
	font-size: 15px;
	line-height: 1.65;
}
button,
input,
textarea,
select {
	font: inherit;
}
button,
a {
	touch-action: manipulation;
}
button {
	cursor: pointer;
	color: inherit;
	border: 1px solid var(--line);
	padding: 11px 18px;
	background: var(--surface);
	border-radius: 8px;
	transition:
		background 0.15s,
		border-color 0.15s,
		box-shadow 0.15s;
}
button:hover {
	background: var(--soft);
	border-color: #b6c6e3;
}
button:disabled {
	opacity: 0.55;
	cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #4c7cf3;
	outline-offset: 3px;
}
a {
	color: var(--accent);
}
button.primary {
	background: var(--accent);
	color: white;
	border-color: var(--accent);
	font-weight: 600;
}
button.primary:hover {
	background: #1946b9;
}
button.orange {
	background: var(--orange);
	color: white;
}
button.text-button {
	background: transparent;
	border-color: transparent;
	font-weight: 500;
}
svg {
	flex-shrink: 0;
}
img {
	max-width: 100%;
}
[hidden] {
	display: none !important;
}
.skip-link {
	position: fixed;
	top: -100px;
	left: 20px;
	z-index: 100;
	background: white;
	padding: 12px;
}
.skip-link:focus {
	top: 10px;
}
.announcement {
	min-height: 40px;
	padding: 7px 20px;
	background: var(--navy);
	color: #d8e4f8;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 12px;
}
.announcement > span {
	color: #b6ebd8;
}
.announcement b {
	color: white;
}
.announcement button {
	padding: 0 0 0 12px;
	color: white;
	background: transparent;
	border: 0;
	border-left: 1px solid #ffffff30;
	border-radius: 0;
	font-size: 12px;
}
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fffffffa;
	border-bottom: 1px solid var(--line);
}
.header-inner {
	max-width: 1320px;
	margin: auto;
	min-height: 90px;
	padding: 16px 40px;
	display: flex;
	align-items: center;
	gap: 28px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	text-decoration: none;
	color: var(--ink);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.5px;
}
.brand small {
	display: block;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--muted);
	margin-top: 6px;
}
.brand-mark {
	width: 42px;
	height: 46px;
	display: grid;
	place-items: center;
	background: var(--accent);
	border-radius: 11px;
	color: white;
}
.brand-mark svg {
	width: 31px;
	height: 31px;
}
#primaryNav {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 1;
	justify-content: center;
}
#primaryNav button {
	padding: 9px 10px;
	border: 0;
	background: transparent;
	font-size: 12px;
	white-space: nowrap;
	color: var(--muted);
}
#primaryNav button:hover,
#primaryNav .nav-active {
	color: var(--accent);
	background: var(--soft);
}
#account {
	background: var(--navy);
	color: white;
	border-color: var(--navy);
	font-size: 12px;
	white-space: nowrap;
	padding: 11px 15px;
	flex-shrink: 0;
}
#account:hover {
	background: #233f65;
}
#menuToggle {
	display: none;
	padding: 8px;
	line-height: 0;
}
main {
	max-width: 1320px;
	margin: auto;
	padding: 0 40px;
	min-height: 50vh;
}
h1,
h2,
h3,
p {
	overflow-wrap: anywhere;
}
h1,
h2,
h3 {
	line-height: 1.45;
}
h1 {
	font-size: clamp(32px, 3.3vw, 48px);
	letter-spacing: -1.1px;
	line-height: 1.5;
	margin: 18px 0 20px;
}
h2 {
	font-size: 30px;
	margin: 0;
	font-weight: 600;
	letter-spacing: -0.6px;
}
h3 {
	font-size: 21px;
	margin: 12px 0;
}
p {
	margin: 12px 0;
}
small {
	line-height: 1.6;
}
.home-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 54px;
	padding: 64px 0 48px;
}
.hero-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #365878;
	font-weight: 500;
}
.hero-label > span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #2c9b76;
}
.hero-copy > p {
	font-size: 15px;
	color: var(--muted);
	line-height: 2;
}
.hero-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 28px 0;
}
.hero-actions .primary {
	padding: 13px 22px;
}
.hero-actions .primary span {
	margin-left: 20px;
}
.hero-topics {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	font-size: 10px;
	color: var(--muted);
	margin-top: 30px;
}
.hero-topics span + span {
	border-left: 1px solid #cbd5e3;
	padding-left: 15px;
}
.hero-preview {
	position: relative;
	min-width: 0;
}
.preview-frame {
	background: white;
	border: 1px solid #d6e0ee;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 20px 50px #23436c13;
}
.preview-top {
	padding: 12px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 10px;
	color: var(--muted);
	gap: 8px;
}
.preview-dots {
	font-size: 8px;
	color: #9aacbf;
	letter-spacing: 2px;
}
.hero-course {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--navy);
	line-height: 0;
}
.hero-course img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	object-fit: cover;
}
.hero-course:hover {
	background: var(--navy);
}
.preview-bottom {
	display: flex;
	gap: 13px;
	align-items: center;
	padding: 19px 20px;
}
.preview-bottom b {
	font-size: 13px;
	font-weight: 500;
}
.preview-bottom small {
	display: block;
	color: var(--muted);
	font-size: 10px;
	margin-top: 3px;
}
.preview-play {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	background: var(--soft);
	color: var(--accent);
	font-size: 21px;
	border-radius: 50%;
}
.hero-caption {
	text-align: right;
	margin-top: 14px;
	color: #6b7c93;
	font-size: 11px;
}
.learning-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 10px;
	padding: 22px 20px;
	gap: 22px;
	margin-bottom: 18px;
}
.learning-strip > div {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: center;
}
.learning-strip > div + div {
	border-left: 1px solid var(--line);
}
.learning-strip svg {
	width: 25px;
	height: 25px;
	stroke: var(--accent);
	stroke-width: 1.6;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.learning-strip b {
	font-size: 12px;
	font-weight: 500;
}
.learning-strip small {
	font-size: 10px;
	display: block;
	color: var(--muted);
	margin-top: 3px;
}
.catalog-section {
	padding: 38px 0 20px;
	scroll-margin-top: 110px;
}
.section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	margin-bottom: 24px;
}
.section-kicker {
	display: block;
	color: var(--accent);
	font-size: 11px;
	font-weight: 500;
	margin-bottom: 7px;
}
.section-head p {
	color: var(--muted);
	font-size: 13px;
	margin: 8px 0 0;
}
.section-link {
	color: var(--ink);
	font-size: 12px;
	white-space: nowrap;
	text-decoration: none;
	display: flex;
	gap: 16px;
	align-items: center;
}
.section-link:hover {
	color: var(--accent);
}
.featured-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}
.grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.card {
	background: var(--surface);
	border: 1px solid var(--line);
	overflow: hidden;
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition:
		box-shadow 0.18s,
		border-color 0.18s;
}
.card:hover {
	box-shadow: var(--shadow);
	border-color: #bfcee4;
}
.art {
	position: relative;
	aspect-ratio: 16/9;
	padding: 0;
	background: var(--soft);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	height: auto;
	flex-shrink: 0;
}
.art strong {
	font-family: monospace;
	font-size: 32px;
}
.art small {
	position: absolute;
	left: 16px;
	top: 16px;
	font-size: 10px;
}
.cover-button {
	display: flex;
	width: 100%;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}
.course-cover {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}
.art:has(.course-cover) > small,
.art:has(.course-cover) > strong {
	display: none;
}
.cover-button:hover .course-cover {
	filter: brightness(0.97);
}
.card-body {
	padding: 22px;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}
.tag {
	font-size: 10px;
	color: var(--muted);
	font-weight: 500;
}
.card-body > .tag {
	display: block;
}
.card h3 {
	font-size: 19px;
	margin: 10px 0 8px;
	line-height: 1.6;
	min-height: 60px;
}
.title-button {
	padding: 0;
	border: 0;
	text-align: left;
	font: inherit;
	background: transparent;
	line-height: inherit;
}
.title-button:hover {
	background: transparent;
	color: var(--accent);
}
.card p {
	font-size: 12px;
	color: var(--muted);
	margin: 0 0 20px;
	line-height: 1.85;
}
.card-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--line);
	padding-top: 16px;
	margin-top: auto;
	width: 100%;
	gap: 10px;
}
.card-bottom > button {
	font-size: 11px;
	padding: 9px 11px;
	white-space: nowrap;
	border-color: #cad6eb;
	color: var(--accent);
	background: #f5f8fe;
	flex-shrink: 0;
}
.card-bottom > button:hover {
	background: #eaf0ff;
}
.price {
	font-size: 25px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.6px;
}
.price small {
	font-size: 11px;
	font-weight: 400;
}
.recommended-badge {
	display: inline-block;
	background: var(--mint);
	color: #22674c;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
	margin: 0 0 10px;
}
.course-heading .recommended-badge {
	margin-right: 12px;
}
.original-price {
	font-size: 11px;
	color: var(--muted);
	margin-bottom: 3px;
}
.sale-saving {
	display: block;
	color: var(--orange);
	font-size: 10px;
	font-weight: 500;
	margin-top: 4px;
}
.course-pricing {
	margin: 3px 0;
}
.featured-grid .card h3 {
	font-size: 23px;
	min-height: 70px;
}
.featured-grid .card-body {
	padding: 26px;
}
.featured-grid .card p {
	font-size: 13px;
}
.featured-grid .card-bottom > button {
	padding: 11px 20px;
	font-size: 12px;
}
.featured-grid .price {
	font-size: 29px;
}
.featured-grid .card-body > .tag {
	font-size: 11px;
}
.catalog-tools {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	margin: 24px 0;
}
.filters {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
}
.filters button {
	padding: 8px 13px;
	font-size: 11px;
	border-radius: 6px;
	background: white;
}
.filters button.active {
	background: var(--navy);
	color: white;
	border-color: var(--navy);
}
.result-count {
	font-size: 11px;
	color: var(--muted);
	white-space: nowrap;
}
.search-wrap {
	display: flex;
	align-items: center;
	width: 285px;
	background: white;
	border: 1px solid var(--line);
	border-radius: 8px;
	gap: 8px;
	padding: 0 12px;
	flex-shrink: 0;
}
.search-wrap svg {
	width: 17px;
	height: 17px;
	stroke: #6a7f9d;
	stroke-width: 1.7;
	fill: none;
}
.search-wrap .search {
	border: 0;
	background: transparent;
	padding: 11px 0;
	font-size: 12px;
	min-width: 0;
	width: 100%;
	outline-offset: 0;
}
.bundle {
	margin: 60px 0 14px;
	padding: 48px 56px;
	display: grid;
	grid-template-columns: 1fr 280px;
	align-items: center;
	gap: 50px;
	border-radius: 16px;
	background: var(--navy);
	color: #fff;
	scroll-margin-top: 110px;
	overflow: hidden;
}
.pro-label {
	display: inline-block;
	border: 1px solid #6980a155;
	color: #b8e8d8;
	padding: 5px 11px;
	border-radius: 5px;
	font-size: 12px;
	margin-bottom: 18px;
}
.bundle h2 {
	font-size: 35px;
	line-height: 1.55;
	color: #fff;
}
.bundle p {
	font-size: 13px;
	line-height: 1.9;
	color: #bac9df;
	margin: 15px 0 25px;
}
.bundle-perks {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	color: #dae5f4;
	font-size: 11px;
}
.bundle-perks span:before {
	content: '✓';
	color: #86d8b9;
	margin-right: 7px;
}
.bundle-checkout {
	display: flex;
	flex-direction: column;
	border-left: 1px solid #ffffff26;
	padding-left: 36px;
}
.bundle-checkout > span {
	font-size: 12px;
	color: #c5d3e7;
}
.bundle-checkout > strong {
	font-size: 48px;
	line-height: 1.4;
	letter-spacing: -1.5px;
	margin: 10px 0;
	color: white;
}
.bundle-checkout > small {
	font-size: 11px;
	color: #c5d3e7;
}
.bundle-checkout button {
	margin-top: 24px;
	background: #d8f4e6;
	border: 0;
	color: #163c2c;
	padding: 13px 16px;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.bundle-checkout button:hover {
	background: #bde9d4;
}
.site-footer {
	margin-top: 70px;
	background: #eef2f7;
	border-top: 1px solid var(--line);
	color: var(--muted);
}
.footer-inner {
	max-width: 1320px;
	margin: auto;
	padding: 42px 40px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
}
.footer-brand {
	font-size: 24px;
	text-decoration: none;
	color: var(--ink);
	font-weight: 700;
}
.footer-brand span {
	display: block;
	font-size: 11px;
	font-weight: 400;
	margin-top: 7px;
	color: var(--muted);
}
.footer-inner p {
	font-size: 11px;
	max-width: 320px;
	line-height: 1.9;
}
.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
	padding-top: 7px;
}
.footer-links a {
	font-size: 12px;
	text-decoration: none;
	color: var(--muted);
}
.footer-links a:hover {
	color: var(--accent);
}
.footer-note {
	font-size: 11px;
	line-height: 2.3;
	padding-top: 7px;
}
.footer-bottom {
	max-width: 1240px;
	margin: auto;
	border-top: 1px solid #d9e1ec;
	padding: 17px 0;
	display: flex;
	justify-content: space-between;
	font-size: 10px;
}
.page-title {
	margin: 40px 0 24px;
}
article {
	padding: 32px 0;
}
.content {
	white-space: pre-wrap;
	line-height: 1.9;
	font-size: 14px;
}
.muted {
	color: var(--muted);
	font-size: 12px;
}
.empty {
	padding: 44px;
	border: 1px dashed #b9c9dc;
	border-radius: 10px;
	text-align: center;
	grid-column: 1/-1;
	font-size: 14px;
	color: var(--muted);
	width: 100%;
}
.row {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
.order {
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 22px;
	margin: 15px 0;
	background: white;
}
.order p {
	overflow-wrap: anywhere;
}
.note {
	padding: 18px;
	background: var(--soft);
	border-left: 3px solid #8aa8e8;
	font-size: 13px;
	margin: 20px 0;
	line-height: 1.9;
}
.error {
	color: #b02b26;
	font-size: 13px;
}
.status {
	padding: 5px 10px;
	background: var(--mint);
	border-radius: 4px;
	font-size: 11px;
}
.admin-list {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}
.admin-item {
	display: flex;
	justify-content: space-between;
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-radius: 8px;
	gap: 12px;
	align-items: center;
	background: white;
}
input,
textarea,
select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #bac8da;
	border-radius: 6px;
	background: white;
	color: var(--ink);
	min-width: 0;
}
textarea {
	min-height: 110px;
}
.stack {
	display: grid;
	gap: 16px;
}
.stack label {
	display: grid;
	gap: 7px;
	font-size: 12px;
}
.stack > button {
	margin-top: 4px;
}
dialog {
	border: 1px solid var(--line);
	border-radius: 14px;
	width: min(650px, 94vw);
	padding: 32px;
	color: var(--ink);
	background: var(--bg);
	max-height: 90vh;
	box-shadow: 0 20px 80px #11223d33;
}
dialog::backdrop {
	background: #14284688;
	backdrop-filter: blur(4px);
}
.close {
	float: right;
	padding: 0 10px;
	font-size: 26px;
	border: 0;
	background: transparent;
}
#toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--navy);
	color: white;
	padding: 13px 24px;
	border-radius: 8px;
	display: none;
	z-index: 50;
	max-width: 90vw;
	font-size: 13px;
}
.resource-link {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	background: var(--soft);
	border: 1px solid #ccdaf5;
	border-radius: 6px;
	color: var(--accent);
	text-decoration: none;
	font-weight: 500;
	white-space: normal;
	font-size: 13px;
}
.resource-link:hover {
	background: #e2ebff;
}
.lesson-cover {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	object-fit: cover;
	border-radius: 10px;
	margin: 12px 0 20px;
}
.course-page {
	padding: 32px 0;
}
.back-link {
	display: inline-block;
	color: var(--muted);
	margin-bottom: 28px;
	text-decoration: none;
	font-size: 12px;
}
.back-link:hover {
	color: var(--accent);
}
.course-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 44px;
	align-items: start;
	padding-bottom: 35px;
	border-bottom: 1px solid var(--line);
}
.eyebrow {
	font-size: 11px;
	color: var(--accent);
	font-weight: 500;
}
.course-heading h1 {
	font-size: clamp(29px, 3.4vw, 45px);
	letter-spacing: -0.8px;
	line-height: 1.5;
	margin: 16px 0;
}
.course-description {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.9;
}
.course-tabs {
	margin-top: 24px;
	gap: 20px;
}
.course-tabs a {
	font-size: 12px;
	color: var(--accent);
	text-underline-offset: 7px;
}
.enroll-panel {
	padding: 26px;
	background: white;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
}
.enroll-panel .course-pricing {
	margin: 20px 0;
}
.enroll-panel .price {
	font-size: 35px;
}
.enroll-panel button {
	width: 100%;
	font-size: 13px;
}
.course-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 44px;
}
.course-cover-aside {
	padding-top: 40px;
}
.course-cover-aside img {
	margin: 0;
}
.course-section {
	padding: 40px 0;
	border-bottom: 1px solid var(--line);
	scroll-margin-top: 110px;
}
.section-label {
	font-size: 11px;
	color: var(--accent);
	margin-bottom: 8px;
	font-weight: 500;
}
.course-section h2 {
	font-size: 27px;
	margin-bottom: 24px;
}
.outline-list {
	padding-left: 26px;
	line-height: 1.9;
}
.outline-list li {
	padding: 11px 0 11px 6px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}
.intro-video {
	width: 100%;
	aspect-ratio: 16/9;
	display: block;
	border: 0;
	border-radius: 10px;
	background: var(--navy);
}
.video-pending {
	position: relative;
	aspect-ratio: 16/9;
	background: var(--navy);
	border-radius: 10px;
	overflow: hidden;
	color: white;
}
.video-pending img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.25;
}
.video-pending > div {
	position: absolute;
	inset: 0;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	text-align: center;
	background: #14284633;
}
.video-icon {
	font-size: 44px;
	line-height: 1;
}
.video-pending b {
	font-size: 19px;
}
.video-pending span:last-child {
	font-size: 12px;
}
.showcase-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.project-showcase {
	padding: 0;
	background: white;
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
	min-width: 0;
}
.project-showcase > img {
	display: block;
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}
.project-visual {
	min-height: 160px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 26px;
	background: var(--soft);
	color: #31588c;
}
.project-visual span,
.project-visual small {
	font-family: monospace;
	font-size: 10px;
	letter-spacing: 1px;
}
.project-visual b {
	font-size: 26px;
}
.project-copy {
	padding: 24px;
}
.project-copy h3 {
	font-size: 20px;
	margin: 12px 0;
}
.project-copy p {
	font-size: 13px;
	line-height: 1.9;
	color: var(--muted);
}
.project-editor {
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 16px;
	min-width: 0;
}
.project-field {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	margin-bottom: 16px;
}
@media (min-width: 1400px) {
	.hero-copy h1 {
		font-size: 48px;
	}
}
@media (max-width: 1180px) {
	.header-inner {
		gap: 18px;
		padding: 16px 28px;
	}
	.brand {
		font-size: 21px;
	}
	.brand-mark {
		width: 36px;
		height: 40px;
	}
	#primaryNav button {
		padding: 8px;
		font-size: 11px;
	}
	#account {
		font-size: 11px;
		padding: 10px;
	}
	.home-hero {
		gap: 30px;
	}
	h1 {
		font-size: 38px;
	}
	.desktop-break {
		display: none;
	}
	.card-body {
		padding: 18px;
	}
	.card-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
	.card-bottom > button {
		width: 100%;
	}
	.featured-grid .card-bottom {
		flex-direction: row;
		align-items: center;
	}
	.featured-grid .card-bottom > button {
		width: auto;
	}
}
@media (max-width: 1180px) {
	#menuToggle {
		display: block;
		margin-left: auto;
		order: 2;
	}
	#account {
		order: 3;
	}
	.header-inner {
		position: relative;
		min-height: 78px;
	}
	#primaryNav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: white;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 15px 30px #1428460d;
		padding: 16px 28px;
		z-index: 25;
		align-items: stretch;
		justify-content: start;
		flex-direction: column;
	}
	#primaryNav.is-open {
		display: flex;
	}
	#primaryNav button {
		font-size: 13px;
		text-align: left;
		padding: 12px;
	}
	main {
		padding: 0 28px;
	}
	.home-hero {
		padding: 44px 0 38px;
	}
	.hero-copy h1 {
		font-size: 34px;
	}
	.hero-copy > p {
		font-size: 13px;
	}
	.hero-actions {
		flex-wrap: wrap;
		gap: 4px;
	}
	.hero-actions button {
		font-size: 12px;
	}
	.hero-topics {
		gap: 9px;
		font-size: 9px;
	}
	.hero-topics span + span {
		padding-left: 9px;
	}
	.learning-strip {
		padding: 18px 12px;
		gap: 12px;
	}
	.learning-strip > div {
		gap: 9px;
	}
	.learning-strip b {
		font-size: 11px;
	}
	.learning-strip small {
		font-size: 9px;
	}
	.learning-strip svg {
		width: 22px;
		height: 22px;
	}
	.featured-grid {
		gap: 22px;
	}
	.featured-grid .card h3 {
		font-size: 21px;
	}
	.featured-grid .card-body {
		padding: 22px;
	}
	.bundle {
		padding: 36px;
		gap: 30px;
		grid-template-columns: 1fr 250px;
	}
	.bundle h2 {
		font-size: 30px;
	}
	.bundle-checkout {
		padding-left: 28px;
	}
	.footer-inner {
		padding: 36px 28px;
		gap: 30px;
	}
	.footer-bottom {
		margin: 0 28px;
	}
	.course-heading,
	.course-layout {
		grid-template-columns: minmax(0, 1fr) 260px;
		gap: 28px;
	}
	.course-heading h1 {
		font-size: 34px;
	}
	.search-wrap {
		width: 260px;
	}
}
@media (max-width: 760px) {
	.home-hero {
		grid-template-columns: 1fr;
		padding-top: 34px;
		gap: 28px;
	}
	.hero-copy h1 {
		font-size: 38px;
	}
	.hero-copy > p {
		font-size: 14px;
	}
	.hero-topics {
		margin-top: 20px;
		font-size: 10px;
	}
	.hero-preview {
		max-width: 560px;
		width: 100%;
		margin: 0 auto;
	}
	.hero-caption {
		display: none;
	}
	.hero-actions {
		margin: 22px 0;
	}
	.learning-strip {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 22px;
	}
	.learning-strip > div {
		justify-content: start;
	}
	.learning-strip > div + div {
		border-left: 0;
		border-top: 1px solid var(--line);
		padding-top: 16px;
	}
	.learning-strip b {
		font-size: 12px;
	}
	.learning-strip small {
		font-size: 10px;
	}
	.section-head {
		align-items: flex-start;
		gap: 18px;
		flex-wrap: wrap;
	}
	h2 {
		font-size: 27px;
	}
	.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
	.featured-grid {
		gap: 18px;
	}
	.featured-grid .card-body {
		padding: 18px;
	}
	.featured-grid .card h3 {
		font-size: 19px;
		min-height: 90px;
	}
	.featured-grid .card p {
		font-size: 12px;
	}
	.featured-grid .card-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
	.featured-grid .card-bottom > button {
		width: 100%;
	}
	.featured-grid .price {
		font-size: 25px;
	}
	.catalog-section {
		padding-top: 30px;
	}
	.catalog-tools {
		align-items: flex-start;
	}
	.result-count {
		padding-top: 8px;
	}
	.bundle {
		padding: 30px;
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.bundle h2 {
		font-size: 32px;
	}
	.bundle-checkout {
		border-left: 0;
		border-top: 1px solid #ffffff26;
		padding: 24px 0 0;
	}
	.bundle-checkout > strong {
		font-size: 42px;
	}
	.bundle-checkout button {
		max-width: 320px;
	}
	.footer-inner {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}
	.footer-inner > div:first-child {
		grid-column: 1/-1;
	}
	.footer-note {
		font-size: 10px;
	}
	.course-heading,
	.course-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
	.course-cover-aside {
		display: none;
	}
	.enroll-panel {
		padding: 23px;
	}
	.enroll-panel .course-pricing {
		margin: 15px 0;
	}
	.course-heading h1 {
		font-size: 32px;
	}
	.course-section h2 {
		font-size: 25px;
	}
	.admin-item {
		align-items: start;
		flex-direction: column;
	}
	.showcase-grid {
		gap: 18px;
	}
	.project-copy {
		padding: 20px;
	}
}
@media (max-width: 480px) {
	main {
		padding: 0 20px;
	}
	.announcement {
		padding: 8px 15px;
		gap: 6px;
		font-size: 10px;
		flex-wrap: wrap;
	}
	.announcement > span {
		display: none;
	}
	.announcement button {
		font-size: 10px;
		padding-left: 8px;
	}
	.header-inner {
		padding: 14px 20px;
		gap: 10px;
		min-height: 76px;
	}
	.brand {
		font-size: 19px;
		gap: 8px;
	}
	.brand small {
		font-size: 8px;
	}
	.brand-mark {
		width: 32px;
		height: 37px;
		border-radius: 8px;
	}
	.brand-mark svg {
		width: 26px;
	}
	#menuToggle {
		padding: 6px;
	}
	#account {
		font-size: 10px;
		padding: 9px 8px;
		max-width: 108px;
		white-space: normal;
		line-height: 1.5;
	}
	.hero-copy h1 {
		font-size: 31px;
		letter-spacing: -0.7px;
	}
	.hero-copy > p {
		font-size: 13px;
	}
	.hero-label {
		font-size: 11px;
	}
	.hero-actions .primary {
		padding: 12px 16px;
	}
	.hero-actions .primary span {
		margin-left: 12px;
	}
	.hero-actions .text-button {
		padding-left: 10px;
		font-size: 11px;
	}
	.hero-topics {
		font-size: 9px;
		gap: 7px;
	}
	.hero-topics span + span {
		padding-left: 7px;
	}
	.preview-top {
		font-size: 9px;
		padding: 10px;
	}
	.preview-bottom {
		padding: 14px;
		gap: 10px;
	}
	.preview-bottom b {
		font-size: 12px;
	}
	.preview-bottom small {
		font-size: 9px;
	}
	.grid,
	.featured-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
	.card-body,
	.featured-grid .card-body {
		padding: 22px;
	}
	.card h3,
	.featured-grid .card h3 {
		font-size: 21px;
		min-height: 0;
	}
	.card-bottom,
	.featured-grid .card-bottom {
		flex-direction: row;
		align-items: center;
	}
	.card-bottom > button,
	.featured-grid .card-bottom > button {
		width: auto;
		font-size: 11px;
		padding: 10px 13px;
	}
	.card p,
	.featured-grid .card p {
		font-size: 12px;
	}
	.section-head {
		gap: 16px;
		margin-bottom: 22px;
	}
	h2 {
		font-size: 25px;
	}
	.section-head p {
		font-size: 12px;
	}
	.search-wrap {
		width: 100%;
	}
	.catalog-tools {
		margin: 22px 0;
		flex-direction: column;
		gap: 10px;
	}
	.filters {
		gap: 6px;
	}
	.filters button {
		font-size: 10px;
		padding: 7px 11px;
	}
	.result-count {
		padding: 0;
	}
	.bundle {
		margin-top: 44px;
		padding: 26px;
		border-radius: 12px;
	}
	.bundle h2 {
		font-size: 29px;
	}
	.bundle p {
		font-size: 12px;
	}
	.bundle-perks {
		gap: 9px;
		font-size: 10px;
	}
	.footer-inner {
		padding: 32px 20px;
	}
	.footer-bottom {
		margin: 0 20px;
		gap: 15px;
		flex-wrap: wrap;
	}
	.site-footer {
		margin-top: 48px;
	}
	.section-link {
		font-size: 11px;
	}
	.course-heading h1 {
		font-size: 29px;
	}
	.course-tabs {
		gap: 15px;
	}
	.course-tabs a {
		font-size: 11px;
	}
	.showcase-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.course-section h2 {
		font-size: 23px;
	}
	.video-pending b {
		font-size: 16px;
	}
	.course-description {
		font-size: 14px;
	}
	.course-section {
		padding: 30px 0;
	}
	.outline-list li {
		font-size: 13px;
	}
	dialog {
		padding: 24px;
	}
	.empty {
		padding: 30px 18px;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}

.course-views {
	display: block;
	font-size: 10px;
	color: var(--muted);
	margin: 0 0 7px;
}
.google-signin {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border: 1px solid #bfcddd;
	border-radius: 7px;
	padding: 12px 16px;
	background: white;
	color: var(--ink);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	margin: 20px 0 12px;
}
.google-signin > span {
	font-size: 21px;
	font-weight: 700;
	color: #2558d8;
}
.google-signin:hover {
	background: #edf2fc;
}
.google-signin.is-disabled {
	opacity: 0.6;
	cursor: default;
}
.auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted);
	font-size: 11px;
	margin: 20px 0;
}
.auth-divider:before,
.auth-divider:after {
	content: '';
	height: 1px;
	background: var(--line);
	flex: 1;
}
.linked-google {
	color: #22674c;
	background: var(--mint);
	padding: 12px;
	border-radius: 6px;
	font-size: 12px;
}

.analytics-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}
.analytics-summary > div {
	padding: 20px;
	background: white;
	border: 1px solid var(--line);
	border-radius: 10px;
}
.analytics-summary span {
	display: block;
	font-size: 12px;
	color: var(--muted);
}
.analytics-summary b {
	font-size: 32px;
	display: block;
	margin-top: 8px;
}
@media (max-width: 600px) {
	.analytics-summary {
		grid-template-columns: 1fr;
	}
}
/* Course detail: one media preview and a compact summary, followed by readable sections. */
#main:focus {
	outline: none;
}
.course-detail {
	max-width: 1200px;
	margin: 0 auto;
	padding: 26px 0 12px;
}
.course-breadcrumb {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted);
	font-size: 11px;
	margin-bottom: 24px;
}
.course-breadcrumb a {
	text-decoration: none;
	color: var(--muted);
}
.course-breadcrumb a:hover {
	color: var(--accent);
}
.course-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(310px, 0.9fr);
	gap: 36px;
	align-items: start;
}
.course-media-panel {
	background: white;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	min-width: 0;
	scroll-margin-top: 110px;
}
.course-media-caption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 18px;
	color: var(--muted);
	font-size: 10px;
}
.course-media-caption > span:first-child {
	font-weight: 500;
	color: var(--ink);
	font-size: 12px;
}
.course-cover-preview {
	aspect-ratio: 16/9;
	line-height: 0;
	background: var(--navy);
	overflow: hidden;
}
.course-cover-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.course-media-panel .intro-video {
	border-radius: 0;
}
.preview-status {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	font-size: 11px;
	color: var(--muted);
	background: white;
	flex-wrap: wrap;
}
.preview-status-dot {
	width: 6px;
	height: 6px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #94a3b8;
}
.preview-status a {
	margin-left: auto;
	color: var(--accent);
	text-decoration: none;
}
.course-summary {
	padding: 2px 0 0;
	min-width: 0;
}
.course-meta-tags {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.course-category {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 5px;
	font-size: 10px;
	background: #e9effb;
	color: #315999;
	font-weight: 500;
}
.course-meta-tags .recommended-badge {
	margin: 0;
}
.course-summary h1 {
	font-size: clamp(26px, 2.6vw, 35px);
	line-height: 1.45;
	letter-spacing: -0.65px;
	margin: 0 0 12px;
	max-width: 24ch;
	text-wrap: balance;
}
.course-summary .course-description {
	font-size: 13px;
	line-height: 1.9;
	color: var(--muted);
	margin: 0 0 12px;
	max-width: 52ch;
}
.course-view-meta {
	font-size: 10px;
	color: #6d7f97;
	margin: 0 0 20px;
}
.course-purchase {
	border-top: 1px solid var(--line);
	padding-top: 17px;
}
.course-price-caption {
	display: block;
	font-size: 10px;
	color: var(--muted);
	margin-bottom: 9px;
}
.course-purchase .course-pricing {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 15px;
}
.course-purchase .price {
	font-size: 33px;
	color: var(--ink);
}
.course-purchase .original-price {
	font-size: 12px;
	margin: 0;
	order: 0;
}
.course-purchase .sale-saving {
	margin: 0;
	font-size: 10px;
	flex-basis: 100%;
}
.course-purchase > button {
	width: 100%;
	padding: 12px 16px;
	font-size: 13px;
}
.course-purchase > p {
	font-size: 10px;
	color: var(--muted);
	line-height: 1.8;
	margin: 11px 0 0;
}
.course-access-note {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #456450;
	font-size: 10px;
	margin-top: 15px;
}
.course-access-note svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: #4f8c69;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.course-detail > .course-tabs {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 32px 0 0;
	padding: 0;
	border-bottom: 1px solid var(--line);
	overflow-x: auto;
	flex-wrap: nowrap;
}
.course-detail > .course-tabs a {
	display: block;
	padding: 14px 0;
	text-decoration: none;
	font-size: 12px;
	color: var(--muted);
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.course-detail > .course-tabs a:first-child {
	color: var(--accent);
	border-bottom-color: var(--accent);
}
.course-detail > .course-tabs a:hover {
	color: var(--accent);
	border-bottom-color: #9ab3ef;
}
.course-body-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 36px;
	align-items: start;
	margin-top: 28px;
}
.course-body-main {
	display: grid;
	gap: 22px;
	min-width: 0;
}
.course-detail .detail-section {
	background: white;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 26px;
	margin: 0;
	scroll-margin-top: 110px;
}
.detail-section-heading {
	display: flex;
	gap: 13px;
	align-items: flex-start;
	margin-bottom: 22px;
}
.detail-section-mark {
	display: grid;
	place-items: center;
	background: #edf2fc;
	color: #4267aa;
	width: 35px;
	height: 35px;
	border-radius: 8px;
	font-size: 22px;
	line-height: 1;
	flex-shrink: 0;
}
.course-detail .detail-section h2 {
	font-size: 21px;
	margin: 0;
	letter-spacing: -0.3px;
}
.detail-section-heading p {
	font-size: 11px;
	color: var(--muted);
	margin: 5px 0 0;
	line-height: 1.8;
}
.course-detail .outline-list {
	padding: 0;
	list-style: none;
	margin: 0;
	counter-reset: topic;
	display: grid;
	gap: 0;
}
.course-detail .outline-list li {
	padding: 13px 0;
	border-bottom: 1px solid #edf1f7;
	font-size: 13px;
	line-height: 1.9;
	display: flex;
	gap: 13px;
	align-items: baseline;
}
.course-detail .outline-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.course-detail .outline-list li:before {
	counter-increment: topic;
	content: counter(topic, decimal-leading-zero);
	color: #748bb0;
	font-size: 10px;
	font-weight: 500;
	min-width: 20px;
	flex-shrink: 0;
}
.course-detail .showcase-grid {
	gap: 16px;
}
.course-detail .project-showcase {
	border-color: #e3e9f2;
	border-radius: 8px;
}
.course-detail .project-visual {
	min-height: 120px;
	padding: 20px;
	gap: 10px;
}
.course-detail .project-visual b {
	font-size: 20px;
}
.course-detail .project-copy {
	padding: 18px;
}
.course-detail .project-copy h3 {
	font-size: 16px;
	line-height: 1.65;
	margin: 8px 0;
}
.course-detail .project-copy p {
	font-size: 11px;
}
.course-detail .project-copy .resource-link {
	font-size: 11px;
	padding: 10px 12px;
}
.course-detail .project-copy .muted {
	font-size: 10px;
}
.course-detail .note {
	font-size: 12px;
	margin: 0;
	padding: 16px;
	background: #f2f5fc;
	border-left-width: 2px;
}
.course-guide-inner {
	position: sticky;
	top: 112px;
	border: 1px solid #dce6f3;
	border-radius: 12px;
	padding: 24px;
	background: #eef3fb;
}
.course-guide-label {
	font-size: 10px;
	color: #4a6b96;
}
.course-guide h3 {
	font-size: 23px;
	line-height: 1.6;
	margin: 11px 0 24px;
	font-weight: 500;
	letter-spacing: -0.3px;
}
.course-steps {
	padding: 0;
	margin: 0;
	list-style: none;
	display: grid;
	gap: 20px;
}
.course-steps li {
	display: flex;
	gap: 11px;
	align-items: start;
}
.course-steps li > span {
	display: grid;
	place-items: center;
	border: 1px solid #c8d7ec;
	color: #42628c;
	background: #f8faff;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	flex-shrink: 0;
	font-size: 10px;
}
.course-steps b {
	font-size: 11px;
	font-weight: 500;
}
.course-steps p {
	font-size: 10px;
	line-height: 1.8;
	color: var(--muted);
	margin: 4px 0 0;
}
.course-contents {
	display: grid;
	gap: 10px;
	padding-top: 20px;
	margin-top: 24px;
	border-top: 1px solid #d6e1ef;
}
.course-contents a {
	display: flex;
	justify-content: space-between;
	color: #365f96;
	font-size: 11px;
	text-decoration: none;
}
.course-empty-state {
	display: flex;
	align-items: center;
	gap: 15px;
	border: 1px dashed #d4dfed;
	padding: 22px 18px;
	border-radius: 8px;
	background: #fafcff;
	grid-column: 1/-1;
}
.empty-state-symbol {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid #dbe5f2;
	border-radius: 10px;
	flex-shrink: 0;
	color: #8ba1c0;
	font-size: 23px;
}
.course-empty-state b {
	font-size: 12px;
	font-weight: 500;
	color: #526985;
}
.course-empty-state p {
	font-size: 11px;
	color: #7688a1;
	line-height: 1.8;
	margin: 4px 0 0;
}
@media (max-width: 1000px) {
	.course-intro-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
		gap: 26px;
	}
	.course-summary h1 {
		font-size: 28px;
	}
	.course-body-grid {
		grid-template-columns: minmax(0, 1fr) 240px;
		gap: 24px;
	}
	.course-guide-inner {
		padding: 20px;
	}
	.course-guide h3 {
		font-size: 21px;
	}
	.course-detail .detail-section {
		padding: 22px;
	}
	.course-detail .showcase-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 760px) {
	.course-intro-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
	.course-summary h1 {
		max-width: 100%;
		font-size: 30px;
	}
	.course-summary .course-description {
		max-width: none;
		font-size: 14px;
	}
	.course-summary {
		padding: 0 4px;
	}
	.course-body-grid {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 22px;
		gap: 22px;
	}
	.course-guide {
		display: none;
	}
	.course-detail > .course-tabs {
		gap: 24px;
		margin-top: 24px;
	}
	.course-detail .showcase-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.course-price-caption {
		font-size: 11px;
	}
	.course-purchase .price {
		font-size: 32px;
	}
	.course-view-meta {
		margin-bottom: 15px;
	}
	.course-access-note,
	.course-purchase > p {
		font-size: 11px;
	}
}
@media (max-width: 480px) {
	.course-detail {
		padding-top: 20px;
	}
	.course-breadcrumb {
		margin-bottom: 18px;
		font-size: 10px;
	}
	.course-intro-grid {
		gap: 21px;
	}
	.course-summary h1 {
		font-size: 27px;
		line-height: 1.5;
		letter-spacing: -0.4px;
	}
	.course-summary .course-description {
		font-size: 13px;
	}
	.course-media-caption {
		padding: 11px 14px;
	}
	.preview-status {
		padding: 12px 14px;
		font-size: 10px;
		gap: 6px;
	}
	.course-detail > .course-tabs {
		gap: 22px;
	}
	.course-detail > .course-tabs a {
		font-size: 11px;
		padding: 13px 0;
	}
	.course-detail .detail-section {
		padding: 20px 17px;
	}
	.course-detail .detail-section h2 {
		font-size: 19px;
	}
	.detail-section-mark {
		width: 31px;
		height: 31px;
		font-size: 20px;
	}
	.detail-section-heading {
		gap: 10px;
		margin-bottom: 18px;
	}
	.detail-section-heading p {
		font-size: 10px;
	}
	.course-detail .outline-list li {
		font-size: 12px;
		gap: 9px;
	}
	.course-detail .showcase-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.course-detail .project-copy h3 {
		font-size: 17px;
	}
	.course-empty-state {
		padding: 18px 13px;
		gap: 12px;
	}
	.course-empty-state b {
		font-size: 11px;
	}
	.course-empty-state p {
		font-size: 10px;
	}
}
@media (min-width: 761px) {
	.course-guide {
		position: sticky;
		top: 112px;
	}
	.course-guide-inner {
		position: static;
	}
}

/* ---------- Members & payments ---------- */
.button-like {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	border: 1px solid var(--line);
	padding: 11px 18px;
	background: var(--surface);
	border-radius: 8px;
	font-size: 14px;
}
.button-like:hover,
.button-like:focus-within {
	background: var(--soft);
	border-color: #b6c6e3;
}
.auth-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
}
.pay-qr {
	display: grid;
	justify-items: center;
	gap: 6px;
	margin: 18px auto;
	padding: 20px;
	max-width: 300px;
	background: white;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
}
.pay-qr-brand {
	width: 100%;
	padding: 7px;
	border-radius: 6px;
	background: var(--navy);
	color: white;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.pay-qr img {
	width: 220px;
	height: 220px;
	image-rendering: pixelated;
}
.pay-qr b {
	font-size: 24px;
	line-height: 1.2;
}
.pay-qr span:not(.pay-qr-brand) {
	color: var(--muted);
	font-size: 13px;
}
.pay-steps {
	margin: 0 0 20px;
	padding-left: 20px;
	font-size: 14px;
	color: var(--muted);
}
.slip-input input[type='file'] {
	padding: 18px 12px;
	border-style: dashed;
	background: var(--soft);
	cursor: pointer;
}
.slip-preview {
	max-height: 260px;
	width: auto;
	max-width: 100%;
	justify-self: center;
	border-radius: 8px;
	border: 1px solid var(--line);
}
.order-main {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}
.order-info {
	flex: 1;
	min-width: 0;
}
.order-info > button,
.order-info > .row {
	margin-top: 10px;
}
.slip-thumb {
	flex: none;
	display: block;
	width: 84px;
	height: 120px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--soft);
}
.slip-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.order-submitted {
	border-color: #e5b86c;
	box-shadow: inset 4px 0 0 #e5b86c;
}
.order-rejected .status {
	background: #fde4dc;
	color: var(--orange);
}
.order-submitted .status {
	background: #fdf0d5;
}
.avatar {
	display: inline-grid;
	place-items: center;
	flex: none;
	border-radius: 50%;
	object-fit: cover;
	background: var(--soft);
	color: var(--accent);
	font-weight: 700;
	border: 1px solid var(--line);
}
.avatar-lg {
	width: 72px;
	height: 72px;
	font-size: 28px;
}
.avatar-sm {
	width: 42px;
	height: 42px;
	font-size: 17px;
}
.profile-page.narrow {
	max-width: 480px;
}
.profile-grid {
	display: grid;
	grid-template-columns: minmax(260px, 340px) 1fr;
	gap: 24px;
	align-items: start;
}
.profile-card,
.profile-section {
	background: white;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow);
}
.profile-card {
	display: grid;
	gap: 18px;
}
.profile-section h3 {
	margin: 0;
}
.profile-forms {
	display: grid;
	gap: 24px;
}
.profile-head {
	display: flex;
	gap: 16px;
	align-items: center;
}
.profile-head > div {
	display: grid;
	min-width: 0;
	overflow-wrap: anywhere;
}
.profile-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.profile-stats a {
	display: grid;
	padding: 12px;
	border-radius: 8px;
	background: var(--soft);
	color: inherit;
	text-decoration: none;
}
.profile-stats b {
	font-size: 22px;
}
.profile-stats span {
	font-size: 12px;
	color: var(--muted);
}
.role-badge,
.chip {
	display: inline-block;
	width: fit-content;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 11px;
	background: var(--soft);
	color: var(--ink);
}
.role-badge {
	background: var(--navy);
	color: white;
}
.chip-ok {
	background: var(--mint);
}
.chip-danger {
	background: #fde4dc;
	color: var(--orange);
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 6px;
}
.member-who {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	min-width: 0;
	overflow-wrap: anywhere;
}
.member-item.is-disabled {
	opacity: 0.65;
}
.grant-row {
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid var(--line);
}
#memberSearch {
	min-width: 260px;
}
@media (max-width: 760px) {
	.profile-grid {
		grid-template-columns: 1fr;
	}
	.order-main {
		flex-direction: column;
	}
	.slip-thumb {
		width: 100%;
		height: 220px;
	}
	.slip-thumb img {
		object-fit: contain;
	}
	#memberSearch {
		min-width: 0;
	}
	.member-item {
		flex-direction: column;
		align-items: stretch;
	}
}

/* ---------- Course showcase gallery ---------- */
.showcase-gallery {
	margin: 34px 0 6px;
	padding: 30px 30px 24px;
	border-radius: 18px;
	color: #eef3fb;
	background:
		radial-gradient(120% 90% at 85% -10%, #2558d84d, transparent 60%),
		radial-gradient(80% 70% at 0% 110%, #c9a25a26, transparent 60%),
		var(--navy);
	box-shadow: 0 24px 60px #14284633;
	scroll-margin-top: 110px;
	overflow: hidden;
}
.gallery-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 22px;
}
.gallery-kicker {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #e9c983;
	margin-bottom: 6px;
}
.gallery-head h2 {
	margin: 0;
	font-size: 26px;
	line-height: 1.3;
	color: white;
}
.gallery-head p {
	margin: 6px 0 0;
	max-width: 620px;
	font-size: 13px;
	color: #b9c6da;
}
.gallery-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}
.gallery-count {
	font-size: 13px;
	color: #9fb0c9;
	font-variant-numeric: tabular-nums;
	margin-right: 6px;
}
.gallery-count b {
	color: white;
	font-size: 18px;
}
.gallery-arrow,
.lightbox-nav {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #ffffff2e;
	background: #ffffff12;
	color: white;
}
.gallery-arrow:hover,
.lightbox-nav:hover {
	background: white;
	color: var(--navy);
	border-color: white;
}
.gallery-arrow svg,
.lightbox-nav svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.gallery-stage,
.gallery-caption,
.gallery-thumbs {
	max-width: 1000px;
	margin-inline: auto;
}
.gallery-stage {
	border-radius: 12px;
	overflow: hidden;
	background: #0b0b0d;
	box-shadow: 0 0 0 1px #ffffff1a, 0 18px 40px #00000059;
}
.gallery-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
	display: none;
}
.gallery-track:focus-visible {
	outline: 3px solid #e9c983;
	outline-offset: -3px;
}
.gallery-slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}
.gallery-zoom {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	cursor: zoom-in;
}
.gallery-zoom:hover {
	background: none;
}
.gallery-chrome {
	display: flex;
	gap: 6px;
	padding: 10px 14px;
	background: #1c1c20;
	border-bottom: 1px solid #ffffff14;
}
.gallery-chrome i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ffffff33;
}
.gallery-chrome i:first-child {
	background: #ff6058;
}
.gallery-chrome i:nth-child(2) {
	background: #ffbd2e;
}
.gallery-chrome i:nth-child(3) {
	background: #28c840;
}
.gallery-zoom img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2000 / 1078;
	object-fit: cover;
	object-position: top;
}
.gallery-caption {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	min-height: 52px;
	margin-top: 18px;
	margin-bottom: 14px;
}
.gallery-caption b {
	font-size: 17px;
	color: white;
}
.gallery-caption span {
	font-size: 13px;
	color: #b9c6da;
}
.gallery-thumbs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 4px 2px 6px;
	scrollbar-width: thin;
	scrollbar-color: #ffffff33 transparent;
}
.gallery-thumb {
	flex: 0 0 120px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background: #0b0b0d;
	opacity: 0.5;
	transition:
		opacity 0.2s,
		border-color 0.2s,
		transform 0.2s;
}
.gallery-thumb:hover {
	opacity: 0.85;
	background: #0b0b0d;
	border-color: #ffffff55;
}
.gallery-thumb.is-active {
	opacity: 1;
	border-color: #e9c983;
	transform: translateY(-2px);
}
.gallery-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: top;
}
.lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 56px 72px 28px;
	border: 0;
	border-radius: 0;
	background: #07090ff2;
	color: white;
	box-shadow: none;
}
.lightbox[open] {
	display: grid;
	place-items: center;
}
.lightbox::backdrop {
	background: #07090f;
}
.lightbox figure {
	margin: 0;
	display: grid;
	gap: 14px;
	justify-items: center;
	max-width: 100%;
}
.lightbox img {
	max-width: 100%;
	max-height: calc(100vh - 170px);
	width: auto;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 20px 60px #000a;
}
.lightbox figcaption {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 4px 12px;
	text-align: center;
}
.lightbox figcaption span {
	color: #b9c6da;
	font-size: 14px;
}
.lightbox figcaption small {
	color: #8394ad;
	font-variant-numeric: tabular-nums;
}
.lightbox-close {
	position: absolute;
	top: 14px;
	right: 18px;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #ffffff2e;
	background: #ffffff12;
	color: white;
	font-size: 26px;
	line-height: 1;
}
.lightbox-close:hover {
	background: white;
	color: var(--navy);
}
.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.lightbox-nav.prev {
	left: 16px;
}
.lightbox-nav.next {
	right: 16px;
}
@media (max-width: 760px) {
	.showcase-gallery {
		margin-inline: -4px;
		padding: 22px 16px 18px;
		border-radius: 14px;
	}
	.gallery-head {
		flex-direction: column;
		align-items: stretch;
	}
	.gallery-head h2 {
		font-size: 21px;
	}
	.gallery-controls {
		justify-content: space-between;
	}
	.gallery-count {
		margin-right: auto;
	}
	.gallery-chrome {
		padding: 7px 10px;
	}
	.gallery-thumb {
		flex-basis: 92px;
	}
	.lightbox {
		padding: 60px 10px 20px;
	}
	.lightbox-nav {
		top: auto;
		bottom: 18px;
		transform: none;
	}
}

/* Contact channels */
.footer-contact { min-width: 0; }
.footer-contact h2 { margin: 0; color: var(--ink); font-size: 18px; }
.footer-contact > p { margin: 8px 0 16px; font-size: 12px; }
.contact-line { display: flex; gap: 16px; align-items: center; }
.contact-line img { display: block; width: 120px; height: 120px; max-width: none; background: white; border-radius: 8px; }
.contact-line strong { color: #087b32; font-size: 16px; }
.contact-line span { display: block; margin: 6px 0; font-size: 12px; line-height: 1.6; }
.contact-qr-link { color: var(--accent); font-size: 12px; text-underline-offset: 4px; }
.contact-facebook { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 12px 16px; border: 1px solid #c8d5e8; border-radius: 8px; color: #174ca0; background: white; text-decoration: none; font-size: 13px; font-weight: 600; }
.contact-facebook:hover { background: #e5edfa; }
.footer-contact a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 600px) { .footer-contact { grid-column: 1 / -1; } .contact-facebook { max-width: 340px; } }

.fitness-membership{padding:24px;background:#edf5e7;border:1px solid #d2e4c5;border-radius:12px;margin-bottom:24px}.fitness-membership> b{font-size:20px;color:#23432a}.fitness-membership .hero-actions{flex-wrap:wrap}.price small{font-size:16px;font-weight:500}

.resource-workspace{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:white;overflow:hidden}.resource-workspace[open]{display:flex;flex-direction:column}.resource-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:12px 24px;background:#17283e;color:white}.resource-workspace small{display:block;font-size:11px;margin-top:4px;color:#bdc9dc}.resource-workspace button{color:#17283e;background:white;border:0;padding:10px 14px;border-radius:8px;font:inherit;white-space:nowrap}.resource-workspace>iframe{display:block;width:100%;flex:1;min-height:0;border:0}.resource-workspace::backdrop{background:#17283e}@media(max-width:600px){.resource-workspace>header{padding:10px 12px}.resource-workspace small{display:none}}
