body {
	background:
		linear-gradient(180deg, rgba(31, 122, 92, 0.035), rgba(255, 253, 248, 0) 340px),
		var(--wp--preset--color--paper);
}

.wp-site-blocks {
	overflow-x: clip;
}

.site-header {
	border-bottom: 1px solid rgba(24, 32, 29, 0.08);
	backdrop-filter: blur(14px);
	background: rgba(255, 253, 248, 0.92) !important;
	position: sticky;
	top: 0;
	z-index: 20;
}

.site-header a,
.site-footer a {
	text-decoration: none;
}

.wp-block-site-title a {
	color: inherit;
	text-decoration: none;
}

.brand-lockup {
	gap: 12px;
}

.brand-logo {
	filter: drop-shadow(0 8px 16px rgba(24, 32, 29, 0.13));
	margin: 0;
}

.site-mini-tagline {
	margin: 1px 0 0;
}

.wp-block-navigation a {
	border-radius: 999px;
	padding: 8px 10px;
}

.wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item > a {
	background: rgba(31, 122, 92, 0.09);
	color: var(--wp--preset--color--jade);
}

.hero-section {
	border-bottom: 1px solid rgba(24, 32, 29, 0.08);
	position: relative;
}

.hero-section::after {
	background:
		linear-gradient(90deg, rgba(31, 122, 92, 0.16) 1px, transparent 1px),
		linear-gradient(180deg, rgba(31, 122, 92, 0.1) 1px, transparent 1px);
	background-size: 44px 44px;
	content: "";
	inset: 0;
	opacity: 0.26;
	pointer-events: none;
	position: absolute;
}

.eyebrow {
	color: var(--wp--preset--color--cinnabar);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.study-card,
.post-card,
.list-card,
.path-card,
.course-card {
	background: rgba(255, 253, 248, 0.94);
	border: 1px solid rgba(24, 32, 29, 0.1);
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(24, 32, 29, 0.08);
}

.study-card {
	padding: clamp(24px, 5vw, 42px);
	position: relative;
	z-index: 1;
}

.post-card,
.path-card,
.course-card {
	padding: 24px;
}

.list-card {
	margin-bottom: 22px;
	padding: 28px;
}

.feature-card {
	height: 100%;
	margin-bottom: 0;
}

.hanzi-sample {
	align-items: center;
	background: var(--wp--preset--color--jade);
	border-radius: 8px;
	color: var(--wp--preset--color--paper);
	display: flex;
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(4.5rem, 10vw, 7rem);
	font-weight: 800;
	height: 160px;
	justify-content: center;
	line-height: 1;
	margin: 0 0 26px;
}

.path-card {
	height: 100%;
}

.path-step {
	align-items: center;
	background: rgba(189, 59, 47, 0.1);
	border: 1px solid rgba(189, 59, 47, 0.2);
	border-radius: 999px;
	color: var(--wp--preset--color--cinnabar);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	height: 34px;
	justify-content: center;
	margin: 0 0 14px;
	width: 46px;
}

.path-card .wp-block-heading {
	margin-top: 0;
}

.wp-block-post-featured-image img {
	border-radius: 8px;
	object-fit: cover;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--jade);
	color: var(--wp--preset--color--jade);
}

.wp-block-button.light-outline .wp-block-button__link {
	border-color: rgba(255, 253, 248, 0.82);
	color: var(--wp--preset--color--paper);
}

.hero-stats {
	background: rgba(255, 253, 248, 0.88);
	border: 1px solid rgba(24, 32, 29, 0.1);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(24, 32, 29, 0.06);
	gap: 0;
	margin-top: 52px;
	position: relative;
	z-index: 1;
}

.hero-stats p {
	border-right: 1px solid rgba(24, 32, 29, 0.09);
	margin: 0;
	padding: 20px 24px;
}

.hero-stats p:last-child {
	border-right: 0;
}

.hero-stats strong,
.hero-stats span {
	display: block;
}

.hero-stats strong {
	color: var(--wp--preset--color--jade);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.85rem;
	line-height: 1.1;
}

.hero-stats span {
	color: var(--wp--preset--color--slate);
	font-size: 0.9rem;
	margin-top: 4px;
}

.course-section {
	border-bottom: 1px solid rgba(255, 253, 248, 0.1);
	border-top: 1px solid rgba(255, 253, 248, 0.1);
}

.section-heading-row {
	margin-bottom: 30px;
}

.course-query {
	margin-top: 30px;
}

.course-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
}

.course-card .wp-block-post-title {
	margin-bottom: 0;
	margin-top: 4px;
}

.course-card .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.course-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--jade);
}

.course-card-dark {
	background: rgba(255, 253, 248, 0.08);
	border-color: rgba(255, 253, 248, 0.16);
	box-shadow: none;
	color: var(--wp--preset--color--paper);
}

.course-card-dark :where(p, .wp-block-post-excerpt__excerpt) {
	color: #dce5df;
}

.course-card-dark .wp-block-post-title a:hover,
.course-card-dark .text-link {
	color: var(--wp--preset--color--gold);
}

.course-meta,
.course-meta a {
	color: var(--wp--preset--color--cinnabar);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin: 0;
	text-decoration: none;
	text-transform: uppercase;
}

.course-card-dark .course-meta,
.course-card-dark .course-meta a {
	color: var(--wp--preset--color--gold);
}

.text-link {
	font-weight: 800;
	margin-top: auto;
	text-decoration: none;
}

.page-hero,
.course-single-hero {
	border-bottom: 1px solid rgba(24, 32, 29, 0.08);
}

.course-single .wp-block-post-featured-image img {
	box-shadow: 0 18px 45px rgba(24, 32, 29, 0.12);
}

.wp-block-query-pagination {
	margin-top: 36px;
}

.wp-block-post-content :where(p, li) {
	font-size: 1.06rem;
}

.wp-block-post-content h2 {
	margin-top: 2em;
}

@media (max-width: 720px) {
	.site-header {
		position: static;
	}

	.study-card,
	.post-card,
	.list-card,
	.path-card,
	.course-card {
		box-shadow: none;
	}

	.list-card {
		padding: 22px;
	}

	.hero-stats {
		display: block;
	}

	.hero-stats p {
		border-bottom: 1px solid rgba(24, 32, 29, 0.09);
		border-right: 0;
	}

	.hero-stats p:last-child {
		border-bottom: 0;
	}

	.wp-block-navigation__responsive-container.is-menu-open {
		padding: 24px;
	}
}
