/*
Theme Name: Taoist Amulets
Theme URI: https://taoistamulets.com/
Author: Taoist Amulets
Description: A calm editorial block theme for Taoist culture and sacred places.
Version: 0.1.23
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: taoist-amulets
*/

:root {
	--taoist-transition: 180ms ease;
	--taoist-header-height: 76px;
}

html {
	scroll-behavior: smooth;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.wp-block-post-title {
	overflow-wrap: break-word;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

a,
button,
input,
textarea {
	transition:
		color var(--taoist-transition),
		background-color var(--taoist-transition),
		border-color var(--taoist-transition),
		transform var(--taoist-transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--cinnabar);
	outline-offset: 3px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--paper-edge) 72%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--paper) 94%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
	min-height: var(--taoist-header-height);
	gap: var(--wp--preset--spacing--30);
}

.site-brand {
	flex-shrink: 0;
}

.site-brand .wp-block-site-title,
.footer-brand-lockup .wp-block-site-title {
	margin: 0;
	white-space: nowrap;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1;
}

.brand-symbol {
	display: block;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	background-color: var(--wp--preset--color--pine);
	-webkit-mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
}

.brand-symbol--footer {
	width: 34px;
	height: 34px;
	flex-basis: 34px;
}

.brand-seal {
	display: grid;
	width: 24px;
	height: 24px;
	margin: 0;
	place-items: center;
	flex: 0 0 24px;
	background: var(--wp--preset--color--cinnabar);
	color: var(--wp--preset--color--white);
	font-family: serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.main-navigation {
	font-size: var(--wp--preset--font-size--small);
}

.main-navigation .wp-block-navigation-item__content {
	min-height: 44px;
	padding-block: 6px;
	text-decoration: none;
}

.main-navigation .current-menu-item > .wp-block-navigation-item__content,
.main-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--pine);
}

.home-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(620px, 58vw, 700px) !important;
	overflow: hidden;
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
}

.home-hero::after {
	content: "";
	position: absolute;
	z-index: 0;
	bottom: -160px;
	left: max(-90px, calc((100vw - 1120px) / 2 - 170px));
	width: 430px;
	aspect-ratio: 1;
	background: var(--wp--preset--color--pine);
	opacity: 0.032;
	-webkit-mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	pointer-events: none;
}

.home-hero .wp-block-cover__background {
	background:
		linear-gradient(
			90deg,
			rgba(249, 247, 242, 0.99) 0%,
			rgba(249, 247, 242, 0.92) 36%,
			rgba(249, 247, 242, 0.28) 68%,
			rgba(20, 66, 45, 0.08) 100%
		),
		linear-gradient(180deg, transparent 70%, rgba(20, 66, 45, 0.12)) !important;
	opacity: 1 !important;
}

.home-hero .wp-block-cover__image-background {
	object-position: center;
	filter: saturate(0.78) contrast(1.04);
	transform: scale(1.015);
}

.home-hero__inner {
	width: min(calc(100% - 40px), 1120px);
	max-width: 1120px !important;
	margin-inline: auto !important;
}

.home-hero__copy {
	max-width: 720px;
	margin-right: auto !important;
	margin-left: 0 !important;
}

.home-hero__copy .wp-block-heading {
	max-width: 720px;
	color: var(--wp--preset--color--pine);
	font-size: clamp(48px, 5.5vw, 72px) !important;
	letter-spacing: -0.04em;
	line-height: 1.04;
}

.home-hero__copy > p:not(.section-kicker) {
	max-width: 560px;
	padding-left: var(--wp--preset--spacing--30);
	border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--cinnabar) 55%, transparent);
	font-size: 18px;
}

.hero-note {
	position: absolute;
	z-index: 2;
	right: max(var(--wp--preset--spacing--30), calc((100% - 1120px) / 2));
	bottom: 28px;
	margin: 0;
	color: rgba(249, 247, 242, 0.92);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.17em;
	line-height: 1.4;
	text-shadow: 0 1px 12px rgba(20, 66, 45, 0.35);
	text-transform: uppercase;
}

.section-shell {
	padding-block: clamp(72px, 8vw, 104px);
}

.section-shell--compact {
	padding-block: clamp(48px, 6vw, 64px);
}

.section-kicker {
	margin-bottom: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--cinnabar);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.section-heading {
	margin-top: 0;
}

.section-heading-row {
	padding-bottom: var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
}

.editorial-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wp--preset--color--pine);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: 600;
	letter-spacing: 0.11em;
	text-decoration: none;
	text-transform: uppercase;
}

.editorial-link a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.editorial-link::after {
	content: "→";
	font-size: 1.1em;
	transition: transform var(--taoist-transition);
}

.editorial-link:hover::after {
	transform: translateX(4px);
}

.pillar-card,
.destination-card,
.article-card {
	height: 100%;
}

.pillars-intro {
	gap: clamp(32px, 7vw, 80px);
	margin-bottom: var(--wp--preset--spacing--60);
	padding-bottom: 36px;
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
}

.pillars-intro > .wp-block-group {
	flex: 1 1 48%;
}

.pillars-intro > .wp-block-group .wp-block-heading {
	max-width: 560px;
	margin-bottom: 0;
	font-size: clamp(32px, 3vw, 42px);
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.pillars-intro > p {
	flex: 1 1 38%;
	max-width: 520px;
	margin-bottom: 0;
}

.pillar-card {
	position: relative;
}

.pillar-card::before {
	position: absolute;
	z-index: 2;
	top: 16px;
	left: 16px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--pine) 20%, transparent);
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--paper) 94%, transparent);
	color: var(--wp--preset--color--pine);
	content: "01";
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.wp-block-columns > .wp-block-column:nth-child(2) .pillar-card::before {
	content: "02";
}

.pillar-card figure,
.destination-card figure,
.article-card .wp-block-post-featured-image {
	width: 100%;
	margin-inline: 0;
	overflow: hidden;
}

.pillar-card img,
.destination-card img,
.article-card .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 5 / 4;
	border-radius: 0;
	filter: saturate(0.82) contrast(1.03);
	object-fit: cover;
	transition: transform 480ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.pillar-card .wp-block-heading {
	margin-top: 26px;
	margin-bottom: var(--wp--preset--spacing--20);
	font-size: clamp(34px, 3vw, 44px);
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.destination-card .wp-block-heading {
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--20);
}

.destination-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 18px 0 var(--wp--preset--spacing--40);
	border: 0;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--pine) 55%, transparent);
	background: transparent;
}

.destination-card::before {
	position: absolute;
	z-index: 2;
	top: 19px;
	right: 0;
	color: rgba(249, 247, 242, 0.9);
	content: "01";
	font-family: var(--wp--preset--font-family--display);
	font-size: 14px;
}

.places-grid > .wp-block-column:nth-child(2) .destination-card::before {
	content: "02";
}

.places-grid > .wp-block-column:nth-child(3) .destination-card::before {
	content: "03";
}

.destination-card::after {
	content: "";
	display: block;
	width: 32px;
	height: 2px;
	margin-top: 18px;
	background: var(--wp--preset--color--cinnabar);
}

.destination-card .editorial-link {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--20);
}

.places-grid > .wp-block-column {
	display: flex;
}

.destination-card img {
	aspect-ratio: 4 / 5;
}

.places-section.has-white-background-color {
	background: color-mix(in srgb, var(--wp--preset--color--aged-paper) 42%, var(--wp--preset--color--white)) !important;
}

.landmark-query-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40);
	margin: 0;
	padding: 0;
	list-style: none;
}

.landmark-query-grid > li {
	display: flex;
}

.landmark-query-grid > li:nth-child(2) .destination-card::before {
	content: "02";
}

.landmark-query-grid > li:nth-child(3) .destination-card::before {
	content: "03";
}

.landmark-post-card {
	width: 100%;
}

.landmark-post-card::after {
	display: none;
}

.landmark-post-card__media,
.landmark-post-card__media a {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	overflow: hidden;
}

.landmark-post-card__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.landmark-post-card__body {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.landmark-post-card__body .wp-block-post-terms {
	margin-top: var(--wp--preset--spacing--30);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.landmark-post-card__body .wp-block-post-terms a,
.landmark-post-card__body .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.landmark-post-card .wp-block-post-title {
	margin-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--10);
	font-size: clamp(24px, 2.2vw, 30px);
}

.landmark-post-card .wp-block-post-excerpt {
	display: flex;
	flex-direction: column;
	margin-top: 0;
}

.landmark-post-card .wp-block-post-excerpt__more-text {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--20);
}

.landmark-post-card .wp-block-post-excerpt__more-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--wp--preset--color--pine);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.landmark-post-card .wp-block-post-excerpt__more-link::after {
	margin-left: 8px;
	content: "→";
}

.article-card .wp-block-post-featured-image img {
	aspect-ratio: 4 / 3;
}

.article-grid {
	gap: var(--wp--preset--spacing--40);
}

.article-grid > li {
	display: flex;
}

.article-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding-bottom: var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
}

.article-card .wp-block-post-title {
	margin-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--10);
}

.article-card .wp-block-post-excerpt {
	margin-top: 0;
}

.article-card .wp-block-post-excerpt__more-text {
	margin-top: var(--wp--preset--spacing--20);
}

.article-card .wp-block-post-excerpt__more-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--wp--preset--color--pine);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.about-seal {
	width: 32px;
	height: 32px;
	margin-inline: auto;
	margin-bottom: var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--pine);
}

.brand-symbol--about {
	width: 58px;
	height: 58px;
	margin: 0 auto 28px;
	opacity: 0.9;
}

.about-strip {
	position: relative;
	overflow: hidden;
	border-block: 1px solid var(--wp--preset--color--paper-edge);
}

.contact-panel.has-white-background-color {
	position: relative;
	overflow: hidden;
	border: 0;
	background: var(--wp--preset--color--pine) !important;
	color: var(--wp--preset--color--paper);
}

.contact-panel::after {
	content: "";
	position: absolute;
	right: -70px;
	bottom: -105px;
	width: 260px;
	aspect-ratio: 1;
	background: var(--wp--preset--color--paper);
	opacity: 0.045;
	-webkit-mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
}

.contact-panel .wp-block-heading,
.contact-panel p,
.contact-panel .wp-block-buttons {
	position: relative;
	z-index: 1;
}

.contact-panel .wp-block-heading {
	color: var(--wp--preset--color--paper);
}

.contact-panel p {
	color: color-mix(in srgb, var(--wp--preset--color--paper) 74%, transparent) !important;
}

.contact-panel .wp-block-buttons {
	flex-shrink: 0;
}

.contact-panel .wp-block-button__link {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--paper) 65%, transparent);
	background: transparent;
}

.site-footer.has-aged-paper-background-color {
	border-top: 1px solid var(--wp--preset--color--paper-edge);
	background: var(--wp--preset--color--pine) !important;
	color: color-mix(in srgb, var(--wp--preset--color--paper) 78%, transparent);
}

.site-footer a {
	color: var(--wp--preset--color--paper);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--wp--preset--color--white);
}

.site-footer .wp-block-site-title,
.site-footer .wp-block-site-title a {
	color: var(--wp--preset--color--paper);
}

.site-footer .brand-symbol {
	background-color: var(--wp--preset--color--paper);
}

.site-footer .has-stone-color {
	color: color-mix(in srgb, var(--wp--preset--color--paper) 62%, transparent) !important;
}

.site-footer > .wp-block-group:last-child {
	border-top-color: color-mix(in srgb, var(--wp--preset--color--paper) 16%, transparent) !important;
}

.prose-content {
	max-width: 920px;
}

.prose-content > * + * {
	margin-block-start: 1.65em;
}

.article-masthead {
	padding-block: clamp(44px, 6vw, 76px) clamp(48px, 6vw, 80px);
}

.article-breadcrumbs {
	gap: 9px;
	margin-bottom: clamp(28px, 4vw, 44px) !important;
	color: var(--wp--preset--color--stone);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.article-breadcrumbs p,
.article-breadcrumbs .wp-block-post-terms {
	margin: 0;
}

.article-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.article-breadcrumb-separator {
	color: color-mix(in srgb, var(--wp--preset--color--stone) 60%, transparent);
}

.article-category-badge {
	display: table;
	margin: 0 auto var(--wp--preset--spacing--30);
	padding: 6px 11px;
	background: var(--wp--preset--color--aged-paper);
	color: var(--wp--preset--color--cinnabar);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.article-category-badge a {
	color: inherit;
	text-decoration: none;
}

.article-title {
	max-width: 1120px;
	margin: 0 auto;
	color: var(--wp--preset--color--pine);
	font-size: clamp(46px, 5.9vw, 78px) !important;
	letter-spacing: -0.042em;
	line-height: 1.05;
	text-wrap: balance;
}

.article-meta-row {
	gap: 12px;
	margin-top: var(--wp--preset--spacing--30) !important;
	color: var(--wp--preset--color--stone);
	font-size: 12px;
	letter-spacing: 0.025em;
}

.article-meta-row > * {
	margin: 0;
}

.article-reading-time {
	display: inline-block;
}

.article-feature-shell {
	width: min(calc(100% - 48px), 1120px);
	margin-inline: auto !important;
}

.article-featured-image {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto !important;
	overflow: hidden;
	background: var(--wp--preset--color--aged-paper);
}

.article-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	filter: saturate(0.86) contrast(1.025);
	object-fit: cover;
}

.article-content-shell {
	padding-block: clamp(72px, 8vw, 112px);
}

.prose-content > p,
.prose-content > ul,
.prose-content > ol {
	color: color-mix(in srgb, var(--wp--preset--color--ink) 86%, var(--wp--preset--color--stone));
	font-size: clamp(17px, 1.35vw, 19px);
	line-height: 1.86;
}

.prose-content > p:empty {
	display: none;
}

.prose-content > p:first-child:not(:has(img))::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	color: var(--wp--preset--color--cinnabar);
	font-family: var(--wp--preset--font-family--display);
	font-size: 4.2em;
	font-weight: 600;
	line-height: 0.76;
}

.prose-content > p.p2 {
	margin-top: clamp(58px, 7vw, 76px);
	margin-bottom: var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--pine);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.prose-content > p.p2::before {
	display: block;
	width: 38px;
	height: 2px;
	margin-bottom: var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--cinnabar);
	content: "";
}

.prose-content > p > strong:only-child,
.prose-content > p > b:only-child {
	display: block;
	margin-top: clamp(46px, 6vw, 64px);
	color: var(--wp--preset--color--pine);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(23px, 2.5vw, 29px);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.prose-content > p:has(> img) {
	display: flex;
	width: min(calc(100vw - 48px), 960px);
	max-width: none;
	position: relative;
	left: 50%;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-block: clamp(44px, 6vw, 68px);
	margin-inline: 0 !important;
	transform: translateX(-50%);
}

.prose-content > p:has(> img) img {
	width: auto;
	max-width: min(100%, 460px);
	height: auto;
	padding: 4px;
	border: 1px solid var(--wp--preset--color--paper-edge);
	background: var(--wp--preset--color--paper);
}

.prose-content > h2 {
	margin-top: clamp(64px, 8vw, 88px);
	margin-bottom: var(--wp--preset--spacing--30);
	font-size: clamp(34px, 4vw, 46px);
	letter-spacing: -0.03em;
	line-height: 1.12;
}

.prose-content > h2::before {
	content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin-bottom: var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--cinnabar);
}

.prose-content > h3 {
	margin-top: var(--wp--preset--spacing--50);
	margin-bottom: var(--wp--preset--spacing--20);
	font-size: clamp(25px, 3vw, 30px);
	letter-spacing: -0.015em;
}

.prose-content a {
	text-decoration-color: color-mix(in srgb, var(--wp--preset--color--cinnabar) 55%, transparent);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.prose-content .wp-block-image,
.prose-content .wp-block-gallery,
.prose-content .wp-block-video {
	margin-block: clamp(40px, 6vw, 64px);
}

.prose-content .wp-block-image.alignwide,
.prose-content .wp-block-gallery.alignwide,
.prose-content .wp-block-video.alignwide {
	width: min(calc(100vw - 48px), 960px);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose-content .wp-block-image img {
	width: 100%;
}

.prose-content > .wp-block-image:not(.alignwide):not(.alignfull) {
	width: fit-content;
	max-width: min(100%, 640px);
	margin-inline: auto;
}

.prose-content > .wp-block-image:not(.alignwide):not(.alignfull) img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
}

.prose-content .wp-block-gallery.has-nested-images {
	display: grid;
	width: min(calc(100vw - 48px), 960px);
	max-width: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-block: clamp(44px, 6vw, 68px);
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose-content .wp-block-gallery.has-nested-images.columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prose-content .wp-block-gallery.has-nested-images.columns-4,
.prose-content .wp-block-gallery.has-nested-images.columns-5,
.prose-content .wp-block-gallery.has-nested-images.columns-6 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prose-content .wp-block-gallery.has-nested-images figure.wp-block-image {
	width: 100% !important;
	margin: 0 !important;
}

.prose-content .wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.prose-content .gallery {
	display: grid;
	width: 100% !important;
	max-width: 920px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: clamp(44px, 6vw, 68px) auto !important;
	padding: 0;
}

.prose-content .gallery.gallery-columns-1 {
	grid-template-columns: 1fr;
}

.prose-content .gallery .gallery-item {
	display: block;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.prose-content .gallery .gallery-icon,
.prose-content .gallery .gallery-icon a {
	display: block;
	width: 100%;
	height: 100%;
}

.prose-content .gallery .gallery-icon img {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	height: 100%;
	aspect-ratio: 4 / 3;
	border: 0 !important;
	object-fit: cover;
}

.prose-content .article-gallery-image {
	cursor: zoom-in;
}

.prose-content .article-gallery-image:focus-visible {
	outline: 2px solid var(--wp--preset--color--cinnabar);
	outline-offset: 4px;
}

.prose-content figcaption {
	margin-top: 10px;
	color: var(--wp--preset--color--stone);
	font-size: var(--wp--preset--font-size--tiny);
	line-height: 1.6;
	text-align: left;
}

.prose-content blockquote {
	margin-block: clamp(48px, 7vw, 72px);
	padding: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border-left: 2px solid var(--wp--preset--color--cinnabar);
	color: var(--wp--preset--color--pine);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.4;
}

.prose-content blockquote p {
	margin: 0;
}

.prose-content ul,
.prose-content ol {
	padding-left: 1.35em;
}

.prose-content li + li {
	margin-top: 0.7em;
}

.prose-content .wp-block-table {
	margin-block: var(--wp--preset--spacing--50);
	overflow-x: auto;
}

.prose-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.prose-content th,
.prose-content td {
	padding: 14px 16px;
	border: 1px solid var(--wp--preset--color--paper-edge);
	text-align: left;
}

.prose-content th {
	background: var(--wp--preset--color--aged-paper);
	color: var(--wp--preset--color--pine);
}

.article-lightbox-open {
	overflow: hidden;
}

.article-lightbox[hidden] {
	display: none !important;
}

.article-lightbox {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
}

.article-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 24, 18, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.article-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	width: min(100%, 1440px);
	height: min(92svh, 980px);
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	align-items: center;
}

.article-lightbox__figure {
	display: grid;
	width: 100%;
	min-width: 0;
	max-height: 88svh;
	margin: 0;
	place-items: center;
}

.article-lightbox__image {
	display: block;
	width: min(100%, 1200px);
	max-width: 100%;
	height: auto;
	max-height: 82svh;
	object-fit: contain;
}

.article-lightbox__caption {
	max-width: 760px;
	margin-top: 14px;
	color: color-mix(in srgb, var(--wp--preset--color--paper) 78%, transparent);
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
}

.article-lightbox button {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--paper) 38%, transparent);
	border-radius: 50%;
	background: rgba(249, 247, 242, 0.06);
	color: var(--wp--preset--color--paper);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.article-lightbox button:hover {
	border-color: var(--wp--preset--color--paper);
	background: rgba(249, 247, 242, 0.14);
}

.article-lightbox__previous {
	justify-self: start;
}

.article-lightbox__next {
	justify-self: end;
}

.article-lightbox__close {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	font-size: 30px !important;
}

.article-lightbox__counter {
	position: absolute;
	right: 64px;
	bottom: 0;
	margin: 0;
	color: color-mix(in srgb, var(--wp--preset--color--paper) 72%, transparent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.article-end-section {
	padding-block: clamp(64px, 8vw, 96px);
	border-block: 1px solid var(--wp--preset--color--paper-edge);
}

.article-end-inner {
	max-width: 1120px;
}

.brand-symbol--article-end {
	width: 52px;
	height: 52px;
	margin: 0 auto var(--wp--preset--spacing--30);
}

.article-end-inner > .wp-block-heading {
	margin-top: 0;
}

.article-navigation {
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--pine) 22%, transparent);
}

.article-navigation > * {
	flex: 1 1 0;
}

.article-navigation .wp-block-post-navigation-link {
	margin: 0;
}

.article-navigation .wp-block-post-navigation-link:last-child {
	text-align: right;
}

.article-navigation a {
	display: inline-flex;
	max-width: 390px;
	color: var(--wp--preset--color--pine);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.article-navigation a:hover {
	color: var(--wp--preset--color--pine-soft);
}

.culture-landing-hero,
.archive-masthead {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(76px, 9vw, 120px);
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
	background: linear-gradient(
		115deg,
		color-mix(in srgb, var(--wp--preset--color--aged-paper) 72%, var(--wp--preset--color--paper)) 0%,
		var(--wp--preset--color--paper) 72%
	);
}

.culture-landing-hero::after,
.archive-masthead::after {
	position: absolute;
	z-index: -1;
	right: max(-80px, calc((100vw - 1120px) / 2 - 170px));
	bottom: -190px;
	width: min(440px, 42vw);
	aspect-ratio: 1;
	background: var(--wp--preset--color--pine);
	content: "";
	opacity: 0.035;
	-webkit-mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	pointer-events: none;
}

.culture-landing-hero__grid,
.archive-masthead__grid {
	gap: clamp(44px, 8vw, 112px);
}

.culture-landing-heading,
.archive-heading-column {
	flex: 1 1 52%;
	max-width: 680px;
	margin: 0 !important;
}

.culture-landing-title,
.archive-title {
	max-width: 760px;
	margin: 0;
	color: var(--wp--preset--color--pine);
	font-size: clamp(52px, 7vw, 88px) !important;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.culture-landing-copy,
.archive-description {
	flex: 1 1 34%;
	max-width: 500px;
	margin: 0 !important;
	padding-left: var(--wp--preset--spacing--30);
	border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--cinnabar) 58%, transparent);
	color: var(--wp--preset--color--stone);
	font-size: 18px;
	line-height: 1.75;
}

.culture-landing-copy > :first-child,
.archive-description > :first-child,
.archive-description .taxonomy-description > :first-child {
	margin-top: 0;
}

.culture-landing-copy > :last-child,
.archive-description > :last-child,
.archive-description .taxonomy-description > :last-child {
	margin-bottom: 0;
}

.landmarks-landing-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(84px, 10vw, 136px);
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--wp--preset--color--aged-paper) 54%, var(--wp--preset--color--paper)),
			var(--wp--preset--color--paper) 72%
		);
	text-align: center;
}

.landmarks-landing-hero::after {
	position: absolute;
	z-index: -1;
	top: -230px;
	right: 50%;
	width: min(530px, 50vw);
	aspect-ratio: 1;
	background: var(--wp--preset--color--pine);
	content: "";
	opacity: 0.035;
	transform: translateX(50%);
	-webkit-mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	pointer-events: none;
}

.landmarks-landing-title {
	max-width: 900px;
	margin: var(--wp--preset--spacing--20) auto 0;
	color: var(--wp--preset--color--pine);
	font-size: clamp(52px, 7vw, 88px) !important;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.landmarks-landing-copy {
	max-width: 700px;
	margin: var(--wp--preset--spacing--30) auto 0 !important;
	color: var(--wp--preset--color--stone);
	font-size: 18px;
	line-height: 1.75;
}

.landmarks-landing-copy > :first-child {
	margin-top: 0;
}

.landmarks-landing-copy > :last-child {
	margin-bottom: 0;
}

.culture-posts-section,
.archive-posts-section {
	padding-block: clamp(72px, 8vw, 104px);
}

.landmarks-posts-section {
	padding-block: clamp(72px, 8vw, 104px);
}

.culture-section-heading,
.archive-section-heading {
	margin-bottom: var(--wp--preset--spacing--50);
	padding-bottom: 28px;
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
}

.culture-section-heading .wp-block-heading,
.archive-section-heading .wp-block-heading {
	margin: 0;
}

.landmarks-section-heading {
	margin-bottom: var(--wp--preset--spacing--50);
	padding-bottom: 28px;
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
}

.landmarks-section-heading .wp-block-heading {
	margin: 0;
}

.associated-category-summary {
	margin-bottom: var(--wp--preset--spacing--40);
}

.culture-posts-section .associated-category-posts,
.landmarks-posts-section .associated-category-posts {
	width: min(calc(100vw - 48px), 1120px);
	max-width: none;
	margin-inline: auto;
	transform: none;
}

.associated-category-summary p {
	margin: 0;
	color: var(--wp--preset--color--stone);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.associated-category-grid,
.archive-article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 64px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.associated-post-card,
.archive-post-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	margin: 0;
	padding: 0 0 var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
}

.associated-post-card__media,
.archive-post-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--aged-paper);
}

.associated-post-card__media img,
.archive-post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	filter: saturate(0.8) contrast(1.03);
	object-fit: cover;
	transition: transform 480ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.associated-post-card__media > br,
.archive-post-card__media > br {
	display: none;
}

.associated-post-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		color-mix(in srgb, var(--wp--preset--color--aged-paper) 90%, var(--wp--preset--color--paper)),
		var(--wp--preset--color--paper)
	);
}

.associated-post-card__placeholder::after {
	display: block;
	width: 34%;
	height: 100%;
	margin-inline: auto;
	background: var(--wp--preset--color--pine);
	content: "";
	opacity: 0.08;
	-webkit-mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
}

.archive-post-card__body {
	display: flex;
	height: 100%;
	flex-direction: column;
	margin: 0;
}

.associated-post-card__meta,
.archive-post-card__meta {
	display: flex;
	margin-top: var(--wp--preset--spacing--30);
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--wp--preset--color--cinnabar);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.11em;
	line-height: 1.5;
	text-transform: uppercase;
}

.archive-post-card__meta {
	width: 100%;
	margin-inline: 0 !important;
}

.archive-post-card__meta a {
	color: inherit;
	text-decoration: none;
}

.archive-post-card__meta time {
	color: var(--wp--preset--color--stone);
}

.associated-post-card__title,
.archive-post-card__title {
	margin-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--10);
	color: var(--wp--preset--color--pine);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(24px, 2.1vw, 30px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.22;
}

.archive-post-card__title {
	width: 100%;
	margin-inline: 0 !important;
}

.associated-post-card__title a,
.archive-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.associated-post-card__excerpt,
.archive-post-card__excerpt {
	margin-top: 0;
	color: var(--wp--preset--color--stone);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.75;
}

.archive-post-card__excerpt {
	width: 100%;
	margin-inline: 0 !important;
}

.associated-post-card__link,
.archive-post-card__excerpt .wp-block-post-excerpt__more-link {
	display: inline-flex;
	min-height: 44px;
	margin-top: auto;
	align-items: center;
	gap: 8px;
	color: var(--wp--preset--color--pine);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.associated-post-card__link {
	align-self: flex-start;
}

.associated-category-pagination,
.archive-pagination {
	margin-top: clamp(56px, 7vw, 80px);
}

.associated-category-pagination ul,
.archive-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.associated-category-pagination a,
.associated-category-pagination .current,
.archive-pagination a,
.archive-pagination .current {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border: 1px solid var(--wp--preset--color--paper-edge);
	color: var(--wp--preset--color--pine);
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}

.associated-category-pagination .current,
.archive-pagination .current {
	border-color: var(--wp--preset--color--pine);
	background: var(--wp--preset--color--pine);
	color: var(--wp--preset--color--paper);
}

.associated-category-empty,
.archive-empty {
	padding: clamp(36px, 6vw, 64px);
	border: 1px solid var(--wp--preset--color--paper-edge);
	background: color-mix(in srgb, var(--wp--preset--color--aged-paper) 38%, transparent);
	text-align: center;
}

.archive-article-grid > li {
	display: flex;
}

.archive-masthead {
	padding-block: clamp(68px, 8vw, 104px);
	background: var(--wp--preset--color--paper);
	text-align: center;
}

.archive-masthead::after {
	right: 50%;
	bottom: -250px;
	width: min(430px, 38vw);
	opacity: 0.025;
	transform: translateX(50%);
}

.archive-masthead__inner {
	max-width: 820px;
}

.archive-masthead__inner::after {
	display: block;
	width: 126px;
	height: 9px;
	margin: clamp(32px, 4vw, 44px) auto 0;
	background: var(--wp--preset--color--pine);
	content: "";
	opacity: 0.32;
	-webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
	mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.archive-title {
	max-width: 820px;
	margin: var(--wp--preset--spacing--20) auto 0;
	font-size: clamp(52px, 6.4vw, 80px) !important;
	text-align: center;
}

.archive-description {
	max-width: 720px;
	margin: var(--wp--preset--spacing--30) auto 0 !important;
	padding: 0;
	border: 0;
	font-size: clamp(16px, 1.35vw, 18px);
	line-height: 1.75;
	text-align: center;
}

.archive-posts-section {
	padding-block: clamp(64px, 8vw, 104px) clamp(80px, 10vw, 128px);
}

.archive-article-grid > li:first-child {
	grid-column: 1 / -1;
	width: 100%;
}

.archive-article-grid > li:first-child .archive-post-card:has(.archive-post-card__media) {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: clamp(500px, 50vw, 660px);
	width: 100%;
	justify-content: flex-end;
	overflow: hidden;
	padding: clamp(32px, 5vw, 64px);
	border: 0;
	background: var(--wp--preset--color--pine);
}

.archive-article-grid > li:first-child .archive-post-card:has(.archive-post-card__media)::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(8, 36, 26, 0.82) 0%, rgba(8, 36, 26, 0.44) 58%, rgba(8, 36, 26, 0.12) 100%),
		linear-gradient(0deg, rgba(8, 36, 26, 0.58), transparent 60%);
	content: "";
}

.archive-article-grid > li:first-child .archive-post-card__media {
	position: absolute;
	z-index: -2;
	inset: 0;
	height: 100%;
	aspect-ratio: auto;
}

.archive-article-grid > li:first-child .archive-post-card__body {
	height: auto;
	max-width: 700px;
	justify-content: flex-end;
	margin: 0 auto 0 0 !important;
}

.archive-article-grid > li:first-child .archive-post-card__meta {
	max-width: 620px;
	justify-content: flex-start;
	gap: var(--wp--preset--spacing--30);
	color: color-mix(in srgb, var(--wp--preset--color--paper) 78%, transparent);
}

.archive-article-grid > li:first-child .archive-post-card__meta time {
	color: color-mix(in srgb, var(--wp--preset--color--paper) 72%, transparent);
}

.archive-article-grid > li:first-child .archive-post-card__title {
	max-width: 680px;
	margin-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--paper);
	font-size: clamp(38px, 5vw, 64px);
	line-height: 1.08;
}

.archive-article-grid > li:first-child .archive-post-card__excerpt {
	max-width: 620px;
	color: color-mix(in srgb, var(--wp--preset--color--paper) 86%, transparent);
	font-size: clamp(15px, 1.25vw, 18px);
}

.archive-article-grid > li:first-child .archive-post-card__excerpt .wp-block-post-excerpt__more-link {
	margin-top: var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--paper);
}

.not-found-page {
	display: flex;
	min-height: calc(100svh - var(--taoist-header-height));
	flex-direction: column;
}

.not-found-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: 700px;
	flex: 1;
	align-items: center;
	overflow: hidden;
	padding-block: clamp(72px, 8vw, 112px);
	border-bottom: 1px solid var(--wp--preset--color--paper-edge);
	background:
		linear-gradient(
			120deg,
			color-mix(in srgb, var(--wp--preset--color--aged-paper) 58%, var(--wp--preset--color--paper)) 0%,
			var(--wp--preset--color--paper) 68%
		);
}

.not-found-hero::before {
	position: absolute;
	z-index: -1;
	top: -180px;
	right: -140px;
	width: min(520px, 46vw);
	aspect-ratio: 1;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--pine) 9%, transparent);
	border-radius: 50%;
	content: "";
}

.not-found-grid {
	width: 100%;
	gap: clamp(48px, 8vw, 112px);
}

.not-found-mark {
	position: relative;
	display: grid;
	min-height: 430px;
	flex: 1 1 44%;
	place-items: center;
	overflow: hidden;
	border-block: 1px solid color-mix(in srgb, var(--wp--preset--color--pine) 13%, transparent);
}

.not-found-number {
	color: var(--wp--preset--color--pine);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(170px, 21vw, 310px);
	font-weight: 700;
	letter-spacing: -0.09em;
	line-height: 0.8;
	opacity: 0.075;
	transform: translateX(-0.04em);
	white-space: nowrap;
}

.not-found-symbol {
	position: absolute;
	width: clamp(116px, 13vw, 176px);
	aspect-ratio: 1;
	background: var(--wp--preset--color--pine);
	-webkit-mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
	mask: url("./assets/brand/taoist-symbol.svg") center / contain no-repeat;
}

.not-found-copy {
	flex: 1 1 40%;
	max-width: 520px;
	margin: 0 !important;
}

.not-found-title {
	margin: 0;
	color: var(--wp--preset--color--pine);
	font-size: clamp(48px, 5.5vw, 72px) !important;
	letter-spacing: -0.042em;
	line-height: 1.04;
}

.not-found-message {
	max-width: 500px;
	margin-top: var(--wp--preset--spacing--30);
	padding-left: var(--wp--preset--spacing--30);
	border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--cinnabar) 58%, transparent);
	line-height: 1.75;
}

.not-found-actions {
	margin-top: var(--wp--preset--spacing--40);
	gap: var(--wp--preset--spacing--20);
}

.not-found-actions .is-style-outline .wp-block-button__link {
	border-color: color-mix(in srgb, var(--wp--preset--color--pine) 48%, transparent);
	color: var(--wp--preset--color--pine);
}

.not-found-links {
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--paper-edge);
}

.not-found-links p {
	margin: 0;
}

.not-found-links a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--wp--preset--color--pine);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: 600;
	letter-spacing: 0.09em;
	text-decoration: none;
	text-transform: uppercase;
}

.not-found-links a::after {
	margin-left: 8px;
	color: var(--wp--preset--color--cinnabar);
	content: "→";
	transition: transform var(--taoist-transition);
}

.wp-block-button .wp-block-button__link:hover {
	background: var(--wp--preset--color--pine-soft);
	transform: translateY(-1px);
}

.wp-block-button__link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

.home-hero .wp-block-button__link::after,
.contact-panel .wp-block-button__link::after {
	content: "↗";
	margin-left: 12px;
	font-size: 13px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--pine);
	color: var(--wp--preset--color--white);
}

@media (hover: hover) and (pointer: fine) {
	.pillar-card:hover img,
	.destination-card:hover img,
	.article-card:hover .wp-block-post-featured-image img,
	.associated-post-card:hover img,
	.archive-post-card:hover img {
		transform: scale(1.025);
	}

	.destination-card:hover {
		border-color: var(--wp--preset--color--pine);
		transform: translateY(-3px);
	}

	.associated-post-card:hover .associated-post-card__link,
	.archive-post-card:hover .wp-block-post-excerpt__more-link {
		color: var(--wp--preset--color--cinnabar);
	}

	.not-found-links a:hover::after {
		transform: translateX(4px);
	}
}

@media (min-width: 961px) {
	.pillar-card--offset {
		margin-top: var(--wp--preset--spacing--50);
	}

	.home-stories-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr) !important;
		grid-template-rows: repeat(2, minmax(240px, 1fr));
		gap: 0 !important;
	}

	.home-stories-grid > li:first-child {
		grid-row: 1 / 3;
	}

	.home-stories-grid > li:first-child .article-card {
		position: relative;
		min-height: 560px;
		justify-content: flex-end;
		padding: var(--wp--preset--spacing--40);
		overflow: hidden;
		border: 0;
	}

	.home-stories-grid > li:first-child .article-card::after {
		content: "";
		position: absolute;
		z-index: 1;
		inset: 0;
		background: linear-gradient(
			180deg,
			rgba(249, 247, 242, 0.02) 20%,
			rgba(249, 247, 242, 0.18) 45%,
			rgba(249, 247, 242, 0.94) 100%
		);
		pointer-events: none;
	}

	.home-stories-grid > li:first-child .wp-block-post-featured-image {
		position: absolute;
		z-index: 0;
		inset: 0;
		margin: 0;
	}

	.home-stories-grid > li:first-child .wp-block-post-featured-image,
	.home-stories-grid > li:first-child .wp-block-post-featured-image a,
	.home-stories-grid > li:first-child .wp-block-post-featured-image img {
		width: 100%;
		height: 100%;
	}

	.home-stories-grid > li:first-child .article-card > *:not(.wp-block-post-featured-image) {
		position: relative;
		z-index: 2;
	}

	.home-stories-grid > li:first-child .wp-block-post-title {
		max-width: 560px;
		font-size: var(--wp--preset--font-size--heading-2) !important;
	}

	.home-stories-grid > li:not(:first-child) .article-card {
		justify-content: center;
		padding: var(--wp--preset--spacing--40);
		border: 1px solid var(--wp--preset--color--paper-edge);
		border-left: 0;
		background: var(--wp--preset--color--white);
	}

	.home-stories-grid > li:not(:first-child) + li .article-card {
		border-top: 0;
	}

	.home-stories-grid > li:not(:first-child) .wp-block-post-featured-image {
		display: none;
	}
}

@media (max-width: 960px) {
	.site-header {
		background: var(--wp--preset--color--paper);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.main-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		border-radius: 4px;
		background: var(--wp--preset--color--pine);
		color: var(--wp--preset--color--white);
	}

	.main-navigation .wp-block-navigation__responsive-container-open svg,
	.main-navigation .wp-block-navigation__responsive-container-close svg {
		width: 24px;
		height: 24px;
	}

	.main-navigation .wp-block-navigation__responsive-container-open:hover,
	.main-navigation .wp-block-navigation__responsive-container-close:hover {
		background: var(--wp--preset--color--pine-soft);
	}

	.main-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.main-navigation .wp-block-navigation__responsive-container.is-menu-open {
		height: 100vh;
		height: 100dvh;
		padding: 0 max(var(--wp--preset--spacing--30), env(safe-area-inset-right)) max(var(--wp--preset--spacing--40), env(safe-area-inset-bottom)) max(var(--wp--preset--spacing--30), env(safe-area-inset-left));
		overflow-y: auto;
		background: var(--wp--preset--color--paper);
	}

	.main-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: flex-start;
		padding-top: 88px;
	}

	.main-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: flex-start;
		gap: 0;
		width: 100%;
		border-top: 1px solid var(--wp--preset--color--paper-edge);
	}

	.main-navigation .wp-block-navigation__responsive-container-close {
		top: max(16px, env(safe-area-inset-top));
		right: max(var(--wp--preset--spacing--30), env(safe-area-inset-right));
		display: flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		border-radius: 4px;
		background: var(--wp--preset--color--pine);
		color: var(--wp--preset--color--white);
	}

	.main-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		width: 100%;
		border-bottom: 1px solid var(--wp--preset--color--paper-edge);
	}

	.main-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		width: 100%;
		min-height: 56px;
		justify-content: space-between;
		padding-inline: 0;
		font-family: var(--wp--preset--font-family--display);
		font-size: clamp(22px, 4vw, 28px);
		font-weight: 600;
	}

	.main-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
		content: "→";
		color: var(--wp--preset--color--cinnabar);
		font-family: var(--wp--preset--font-family--body);
		font-size: 16px;
		font-weight: 400;
	}

	.places-grid {
		flex-wrap: wrap !important;
	}

	.places-grid > .wp-block-column {
		flex-basis: calc(50% - 16px) !important;
		flex-grow: 0;
	}

	.places-grid > .wp-block-column:last-child {
		margin-inline: auto;
	}

	.article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.landmark-query-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 781px) {
	:root {
		--taoist-header-height: 68px;
	}

	.site-header__inner {
		min-height: var(--taoist-header-height);
	}

	.site-brand .wp-block-site-title {
		font-size: 20px !important;
	}

	.brand-symbol {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}

	.brand-symbol--about {
		width: 52px;
		height: 52px;
		flex-basis: 52px;
	}

	.home-hero {
		min-height: 620px !important;
	}

	.home-hero .wp-block-cover__background {
		background: linear-gradient(
			180deg,
			rgba(249, 247, 242, 0.96) 0%,
			rgba(249, 247, 242, 0.88) 54%,
			rgba(249, 247, 242, 0.28) 100%
		),
		linear-gradient(90deg, rgba(249, 247, 242, 0.38), transparent) !important;
	}

	.home-hero .wp-block-cover__image-background {
		object-position: 62% center;
	}

	.section-shell {
		padding-block: 64px;
	}

	.hero-note {
		display: none;
	}

	.home-hero__copy > p:not(.section-kicker) {
		padding-left: 16px;
		font-size: 17px;
	}

	.pillars-intro {
		flex-direction: column;
		align-items: flex-start !important;
		gap: var(--wp--preset--spacing--30);
		margin-bottom: var(--wp--preset--spacing--50);
		padding-bottom: 28px;
	}

	.pillars-intro > .wp-block-group,
	.pillars-intro > p {
		flex-basis: 100%;
		width: 100%;
		max-width: 620px;
	}

	.article-heading-grid {
		flex-direction: column;
		align-items: flex-start !important;
		gap: var(--wp--preset--spacing--40);
	}

	.article-meta-column {
		flex-basis: auto;
		width: 100%;
		padding-left: 16px;
	}

	.article-title-column {
		width: 100%;
		max-width: 680px;
	}

	.article-title {
		font-size: clamp(42px, 11vw, 58px) !important;
	}

	.article-feature-shell {
		width: min(calc(100% - 40px), 1120px);
	}

	.article-content-shell {
		padding-block: 64px 80px;
	}

	.prose-content > p:has(> img) {
		width: calc(100vw - 40px);
		gap: 12px;
	}

	.prose-content > p:has(> img) img {
		max-width: 100%;
	}

	.prose-content .wp-block-gallery.has-nested-images,
	.prose-content .wp-block-gallery.has-nested-images.columns-3,
	.prose-content .wp-block-gallery.has-nested-images.columns-4,
	.prose-content .wp-block-gallery.has-nested-images.columns-5,
	.prose-content .wp-block-gallery.has-nested-images.columns-6 {
		width: calc(100vw - 40px);
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.prose-content .gallery {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.article-lightbox {
		padding: 12px;
	}

	.article-lightbox__dialog {
		height: 96svh;
		grid-template-columns: 44px minmax(0, 1fr) 44px;
	}

	.article-lightbox button {
		width: 40px;
		height: 40px;
	}

	.article-lightbox__image {
		max-height: 78svh;
	}

	.article-lightbox__close {
		top: 4px;
		right: 4px;
	}

	.article-lightbox__counter {
		right: 8px;
		bottom: 8px;
	}

	.prose-content .wp-block-image.alignwide,
	.prose-content .wp-block-gallery.alignwide,
	.prose-content .wp-block-video.alignwide {
		width: calc(100vw - 40px);
	}

	.article-navigation {
		flex-direction: column;
		align-items: stretch !important;
	}

	.article-navigation .wp-block-post-navigation-link:last-child {
		padding-top: var(--wp--preset--spacing--30);
		border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--pine) 16%, transparent);
		text-align: left;
	}

	.places-grid > .wp-block-column {
		flex-basis: 100% !important;
	}

	.destination-card img {
		aspect-ratio: 4 / 3;
	}

	.places-grid > .wp-block-column:last-child {
		margin-inline: 0;
	}

	.article-grid {
		grid-template-columns: 1fr !important;
	}

	.landmark-query-grid {
		grid-template-columns: 1fr !important;
	}

	.contact-panel {
		align-items: flex-start !important;
		padding: var(--wp--preset--spacing--40) !important;
	}

	.contact-panel .wp-block-buttons,
	.contact-panel .wp-block-button,
	.contact-panel .wp-block-button__link {
		width: 100%;
	}

	.site-footer__inner,
	.site-footer__links {
		align-items: flex-start !important;
	}
}

@media (max-width: 480px) {
	.home-hero {
		min-height: 590px !important;
	}

	.home-hero__copy .wp-block-heading {
		font-size: clamp(38px, 11.6vw, 46px) !important;
		line-height: 1.04;
	}

	.article-masthead {
		padding-block: 56px 44px;
	}

	.article-title {
		font-size: clamp(40px, 13vw, 50px) !important;
	}

	.prose-content > p,
	.prose-content > ul,
	.prose-content > ol {
		font-size: 17px;
		line-height: 1.8;
	}

	.home-hero__copy .wp-block-buttons,
	.home-hero__copy .wp-block-button,
	.home-hero__copy .wp-block-button__link {
		width: 100%;
	}

	.destination-card {
		padding: 14px 14px var(--wp--preset--spacing--30);
	}

	.site-footer__links {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}
}

@media (max-width: 960px) {
	.associated-category-grid,
	.archive-article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.not-found-grid {
		gap: clamp(40px, 6vw, 64px);
	}

	.not-found-mark {
		min-height: 360px;
	}
}

@media (max-width: 781px) {
	.culture-landing-hero,
	.archive-masthead,
	.landmarks-landing-hero {
		padding-block: 64px;
	}

	.culture-landing-hero::after,
	.archive-masthead::after {
		right: -90px;
		bottom: -120px;
		width: 320px;
	}

	.culture-landing-hero__grid,
	.archive-masthead__grid {
		flex-direction: column;
		align-items: flex-start !important;
		gap: var(--wp--preset--spacing--40);
	}

	.culture-landing-heading,
	.archive-heading-column,
	.culture-landing-copy,
	.archive-description {
		width: 100%;
		max-width: 680px;
		flex-basis: 100%;
	}

	.culture-landing-copy,
	.archive-description {
		padding-left: 16px;
		font-size: 17px;
	}

	.archive-description {
		margin-inline: auto !important;
		padding-left: 0;
		text-align: center;
	}

	.culture-landing-title,
	.archive-title,
	.landmarks-landing-title {
		font-size: clamp(44px, 12vw, 64px) !important;
	}

	.landmarks-landing-copy {
		font-size: 17px;
	}

	.archive-title {
		margin-inline: auto;
		text-align: center;
	}

	.culture-posts-section,
	.archive-posts-section,
	.landmarks-posts-section {
		padding-block: 64px 72px;
	}

	.culture-posts-section .associated-category-posts,
	.landmarks-posts-section .associated-category-posts {
		width: calc(100vw - 40px);
		margin-inline: auto;
	}

	.associated-category-grid,
	.archive-article-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.archive-article-grid > li:first-child .archive-post-card:has(.archive-post-card__media) {
		min-height: 520px;
		padding: var(--wp--preset--spacing--40);
	}

	.archive-article-grid > li:first-child .archive-post-card:has(.archive-post-card__media)::after {
		background: linear-gradient(0deg, rgba(8, 36, 26, 0.88) 0%, rgba(8, 36, 26, 0.42) 62%, rgba(8, 36, 26, 0.1) 100%);
	}

	.archive-article-grid > li:first-child .archive-post-card__title {
		font-size: clamp(36px, 8vw, 52px);
	}

	.not-found-hero {
		min-height: 0;
		padding-block: 64px 72px;
	}

	.not-found-grid {
		flex-direction: column;
		align-items: stretch !important;
		gap: var(--wp--preset--spacing--50);
	}

	.not-found-mark {
		width: 100%;
		min-height: 230px;
		flex-basis: auto;
	}

	.not-found-number {
		font-size: clamp(132px, 38vw, 210px);
	}

	.not-found-symbol {
		width: clamp(92px, 24vw, 132px);
	}

	.not-found-copy {
		width: 100%;
		max-width: 680px;
	}

	.not-found-title {
		font-size: clamp(44px, 11vw, 64px) !important;
	}
}

@media (max-width: 480px) {
	.culture-landing-hero,
	.archive-masthead,
	.landmarks-landing-hero {
		padding-block: 54px;
	}

	.culture-landing-title,
	.archive-title,
	.landmarks-landing-title {
		font-size: clamp(40px, 13vw, 52px) !important;
	}

	.culture-section-heading,
	.archive-section-heading {
		margin-bottom: var(--wp--preset--spacing--40);
	}

	.associated-category-pagination a,
	.associated-category-pagination .current,
	.archive-pagination a,
	.archive-pagination .current {
		padding-inline: 12px;
	}

	.not-found-hero {
		padding-block: 44px 64px;
	}

	.not-found-mark {
		min-height: 170px;
	}

	.not-found-title {
		font-size: clamp(40px, 13vw, 52px) !important;
	}

	.not-found-message {
		padding-left: 16px;
	}

	.not-found-actions,
	.not-found-actions .wp-block-button,
	.not-found-actions .wp-block-button__link {
		width: 100%;
	}

	.not-found-links {
		display: grid !important;
		grid-template-columns: 1fr;
		gap: 0;
	}

	.not-found-links p + p {
		border-top: 1px solid var(--wp--preset--color--paper-edge);
	}

	.not-found-links a {
		width: 100%;
		justify-content: space-between;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
