/*
Theme Name: HALI-DAS School
Theme URI: https://example.com/halidas-school
Author: OpenAI
Description: Custom school theme for HALI-DAS Educational Complex.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: halidas-school
*/

@font-face {
	font-family: "Jost";
	src: url("assets/fonts/Jost-VariableFont_wght.woff2") format("woff2");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "Cardo";
	src: url("assets/fonts/Cardo-Regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Cardo";
	src: url("assets/fonts/Cardo-Bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	--halidas-red: #f2232f;
	--halidas-red-deep: #be101d;
	--halidas-green: #09a84e;
	--halidas-green-deep: #06783a;
	--halidas-gold: #f0d76b;
	--halidas-ink: #173124;
	--halidas-muted: #54655b;
	--halidas-cream: #fcfbf6;
	--halidas-sand: #f2efe4;
	--halidas-white: #ffffff;
	--halidas-border: rgba(23, 49, 36, 0.12);
	--halidas-shadow: 0 22px 50px rgba(14, 31, 21, 0.12);
	--halidas-radius: 28px;
	--halidas-radius-sm: 18px;
	--halidas-content: min(1180px, calc(100vw - 2rem));
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Jost", "Segoe UI", sans-serif;
	color: var(--halidas-ink);
	background:
		radial-gradient(circle at top left, rgba(242, 35, 47, 0.1), transparent 34%),
		radial-gradient(circle at top right, rgba(9, 168, 78, 0.12), transparent 34%),
		linear-gradient(180deg, #fffef9 0%, #fbf8ef 100%);
	line-height: 1.7;
	overflow-x: hidden;
}

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

a {
	color: var(--halidas-green-deep);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--halidas-red-deep);
}

p {
	margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	font-family: "Cardo", Georgia, serif;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

ul,
ol {
	margin: 0;
	padding-left: 1.25rem;
}

.site-shell {
	min-height: 100vh;
}

.site-topbar {
	background: linear-gradient(90deg, var(--halidas-red) 0%, var(--halidas-red) 48%, var(--halidas-green) 52%, var(--halidas-green) 100%);
	color: var(--halidas-white);
	font-size: 0.95rem;
}

.site-topbar__inner,
.site-header__inner,
.site-footer__inner,
.section-shell,
.page-banner__inner,
.archive-header,
.content-shell {
	width: var(--halidas-content);
	margin: 0 auto;
}

.site-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 0;
}

.site-topbar__list,
.meta-list,
.hero__facts,
.values-list,
.contact-strip__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-topbar__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.site-topbar__list a,
.site-topbar__motto {
	color: inherit;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(16px);
	background: rgba(255, 255, 255, 0.86);
	border-bottom: 1px solid rgba(23, 49, 36, 0.08);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding: 1rem 0;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.site-brand__logo {
	width: 82px;
	height: 82px;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(242, 35, 47, 0.14), rgba(9, 168, 78, 0.16)),
		var(--halidas-white);
	box-shadow: inset 0 0 0 1px rgba(9, 168, 78, 0.2);
	overflow: hidden;
	flex-shrink: 0;
}

.site-brand__logo .custom-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.65rem;
}

.site-brand__mark {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-family: "Cardo", Georgia, serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--halidas-green-deep);
	text-align: center;
	line-height: 1.05;
}

.site-brand__title {
	margin: 0;
	font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.site-brand__title a {
	color: var(--halidas-red);
}

.site-brand__subtitle {
	margin: 0.18rem 0 0;
	font-size: 0.92rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--halidas-green-deep);
}

.primary-nav {
	margin-left: auto;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 0.9rem 1.2rem;
	border: 1px solid rgba(23, 49, 36, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--halidas-ink);
	box-shadow: 0 12px 24px rgba(23, 49, 36, 0.08);
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nav-toggle__icon {
	display: grid;
	gap: 0.24rem;
}

.nav-toggle__icon span {
	display: block;
	width: 1.2rem;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transform-origin: center;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.menu-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.1rem;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.88rem;
	color: var(--halidas-ink);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.menu-item a:hover,
.menu-item a:focus,
.current-menu-item a,
.current_page_item a,
.current-cat a {
	background: var(--halidas-green);
	color: var(--halidas-white);
	transform: translateY(-1px);
}

.site-main {
	padding-bottom: 4rem;
}

.hero,
.page-banner,
.archive-hero {
	padding: 3rem 0 0;
}

.hero__layout,
.page-banner__inner,
.split-section,
.owner-spotlight,
.contact-strip,
.archive-layout,
.single-layout {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.hero__layout {
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	width: var(--halidas-content);
	margin: 0 auto;
	padding: 1.2rem 0 2rem;
}

.hero__content,
.hero__card,
.statement-card,
.feature-card,
.post-card,
.owner-portrait,
.contact-strip,
.archive-card,
.content-panel,
.not-found {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--halidas-border);
	border-radius: var(--halidas-radius);
	box-shadow: var(--halidas-shadow);
}

.hero__content {
	padding: clamp(2rem, 4vw, 3.4rem);
	background:
		linear-gradient(140deg, rgba(242, 35, 47, 0.12), transparent 38%),
		linear-gradient(220deg, rgba(9, 168, 78, 0.14), transparent 45%),
		var(--halidas-white);
}

.hero__card {
	padding: 1.5rem;
	align-self: stretch;
	background:
		linear-gradient(180deg, rgba(9, 168, 78, 0.08), rgba(9, 168, 78, 0.02)),
		var(--halidas-white);
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--halidas-green-deep);
}

.section-kicker::before {
	content: "";
	width: 2.6rem;
	height: 2px;
	background: linear-gradient(90deg, var(--halidas-red), var(--halidas-green));
}

.hero h1,
.page-banner h1,
.archive-header h1,
.single-header h1,
.not-found h1 {
	font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.hero__lead,
.page-banner__summary,
.archive-header__summary,
.single-header__summary {
	max-width: 60ch;
	font-size: 1.08rem;
	color: var(--halidas-muted);
}

.hero__actions,
.page-banner__actions,
.contact-strip__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.6rem;
}

.button,
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.95rem 1.35rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.88rem;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	transform: translateY(-1px);
}

.button--primary,
button,
input[type="submit"] {
	background: linear-gradient(90deg, var(--halidas-red), var(--halidas-red-deep));
	color: var(--halidas-white);
	box-shadow: 0 14px 28px rgba(190, 16, 29, 0.24);
}

.button--secondary {
	background: linear-gradient(90deg, var(--halidas-green), var(--halidas-green-deep));
	color: var(--halidas-white);
	box-shadow: 0 14px 28px rgba(6, 120, 58, 0.24);
}

.button--ghost {
	background: transparent;
	border-color: rgba(23, 49, 36, 0.14);
	color: var(--halidas-ink);
}

.hero__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.hero__fact {
	padding: 1rem;
	border-radius: var(--halidas-radius-sm);
	background: rgba(252, 251, 246, 0.85);
	border: 1px solid rgba(23, 49, 36, 0.08);
}

.hero__fact strong,
.statement-card h3,
.feature-card h3,
.post-card__title,
.archive-card__title,
.contact-card h3 {
	display: block;
	font-size: 1.15rem;
	color: var(--halidas-ink);
}

.hero__fact span,
.statement-card p,
.feature-card p,
.post-card p,
.archive-card p,
.contact-card p {
	color: var(--halidas-muted);
}

.statement-stack {
	display: grid;
	gap: 1rem;
}

.statement-card {
	padding: 1.25rem;
	border-radius: 22px;
}

.statement-card--accent {
	background: linear-gradient(180deg, rgba(242, 35, 47, 0.08), rgba(242, 35, 47, 0.02)), var(--halidas-white);
}

.section-shell {
	padding-top: 3.8rem;
}

.section-heading {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 1.75rem;
}

.section-heading h2 {
	font-size: clamp(2rem, 3vw, 3rem);
	max-width: 12ch;
}

.section-heading p {
	max-width: 60ch;
	color: var(--halidas-muted);
}

.values-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.82rem 1.05rem;
	border-radius: 999px;
	background: var(--halidas-white);
	border: 1px solid rgba(9, 168, 78, 0.2);
	box-shadow: 0 12px 24px rgba(23, 49, 36, 0.08);
	font-weight: 700;
}

.pill::before {
	content: "";
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--halidas-red), var(--halidas-green));
}

.split-section,
.owner-spotlight {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid,
.posts-grid,
.info-grid,
.contact-grid,
.archive-grid {
	display: grid;
	gap: 1.25rem;
}

.feature-grid,
.info-grid,
.contact-grid,
.archive-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.posts-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.content-panel,
.archive-card {
	padding: 1.5rem;
}

.feature-card--accent {
	background:
		linear-gradient(180deg, rgba(9, 168, 78, 0.1), transparent 52%),
		var(--halidas-white);
}

.level-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.level-card {
	padding: 1rem;
	border-radius: 20px;
	background: rgba(242, 239, 228, 0.6);
	border: 1px solid rgba(23, 49, 36, 0.08);
}

.info-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	display: grid;
	gap: 0.7rem;
}

.info-list li {
	position: relative;
	padding-left: 1.2rem;
	color: var(--halidas-muted);
}

.info-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7rem;
	width: 0.48rem;
	height: 0.48rem;
	border-radius: 50%;
	background: var(--halidas-green);
}

.owner-portrait {
	padding: 1rem;
	min-height: 100%;
}

.owner-portrait__media,
.post-card__media,
.single-featured {
	border-radius: 24px;
	overflow: hidden;
}

.owner-portrait__media img,
.single-featured img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.owner-portrait__placeholder,
.post-card__placeholder {
	display: grid;
	place-items: center;
	min-height: 320px;
	padding: 2rem;
	text-align: center;
	background:
		linear-gradient(135deg, rgba(242, 35, 47, 0.14), transparent 36%),
		linear-gradient(220deg, rgba(9, 168, 78, 0.16), transparent 42%),
		var(--halidas-sand);
	color: var(--halidas-green-deep);
	font-weight: 700;
}

.owner-portrait__caption {
	padding: 1rem 0.5rem 0;
	color: var(--halidas-muted);
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.post-card__media img,
.post-card__placeholder {
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.post-card__body {
	padding: 1.35rem;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.85rem;
}

.post-card__meta,
.archive-card__meta,
.single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
	font-size: 0.88rem;
	color: var(--halidas-muted);
}

.category-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: rgba(9, 168, 78, 0.1);
	color: var(--halidas-green-deep);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.78rem;
}

.page-banner__inner,
.archive-header,
.single-header {
	padding: clamp(2rem, 4vw, 3rem);
	background:
		linear-gradient(140deg, rgba(242, 35, 47, 0.08), transparent 35%),
		linear-gradient(220deg, rgba(9, 168, 78, 0.1), transparent 40%),
		rgba(255, 255, 255, 0.94);
	border: 1px solid var(--halidas-border);
	border-radius: var(--halidas-radius);
	box-shadow: var(--halidas-shadow);
}

.page-banner__inner {
	grid-template-columns: minmax(0, 1fr) auto;
}

.page-banner__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 170px;
	padding: 1rem 1.2rem;
	border-radius: 26px;
	background: linear-gradient(135deg, var(--halidas-green), var(--halidas-green-deep));
	color: var(--halidas-white);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.content-shell {
	padding-top: 2rem;
}

.content-panel {
	background: rgba(255, 255, 255, 0.94);
}

.rich-text {
	color: var(--halidas-ink);
}

.rich-text > :last-child {
	margin-bottom: 0;
}

.contact-strip {
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	padding: clamp(1.5rem, 3vw, 2rem);
	background:
		linear-gradient(135deg, rgba(242, 35, 47, 0.12), transparent 35%),
		linear-gradient(210deg, rgba(9, 168, 78, 0.14), transparent 42%),
		var(--halidas-white);
}

.contact-strip__list {
	display: grid;
	gap: 0.75rem;
	margin-top: 1rem;
}

.contact-strip__list a {
	color: var(--halidas-ink);
	font-weight: 600;
}

.contact-card {
	padding: 1.4rem;
	border-radius: 24px;
	background: rgba(252, 251, 246, 0.9);
	border: 1px solid rgba(23, 49, 36, 0.08);
}

.archive-layout,
.single-layout {
	grid-template-columns: minmax(0, 1fr);
}

.archive-grid {
	margin-top: 1.8rem;
}

.archive-card__actions,
.pagination,
.single-related__grid {
	margin-top: 1.4rem;
}

.single-layout {
	width: var(--halidas-content);
	margin: 0 auto;
	padding-top: 3rem;
}

.single-featured {
	margin-top: 1.6rem;
}

.single-content {
	margin-top: 2rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--halidas-border);
	border-radius: var(--halidas-radius);
	box-shadow: var(--halidas-shadow);
}

.single-related {
	margin-top: 3rem;
}

.single-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.site-footer {
	padding: 4rem 0 2rem;
	background:
		linear-gradient(180deg, rgba(9, 168, 78, 0.08), rgba(9, 168, 78, 0.02)),
		#f8f6ee;
	border-top: 1px solid rgba(23, 49, 36, 0.08);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(220px, 0.8fr));
	gap: 1.5rem;
}

.site-footer__column {
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(23, 49, 36, 0.08);
	border-radius: 24px;
}

.site-footer__column h3 {
	font-size: 1.35rem;
}

.site-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.65rem;
}

.site-footer__legal {
	width: var(--halidas-content);
	margin: 1.4rem auto 0;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(23, 49, 36, 0.08);
	font-size: 0.92rem;
	color: var(--halidas-muted);
}

.pagination .nav-links,
.posts-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.pagination .page-numbers,
.posts-navigation a,
.posts-navigation span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.8rem;
	padding: 0.8rem 1rem;
	border-radius: 999px;
	background: var(--halidas-white);
	border: 1px solid var(--halidas-border);
	color: var(--halidas-ink);
	font-weight: 700;
}

.pagination .current {
	background: var(--halidas-green);
	border-color: var(--halidas-green);
	color: var(--halidas-white);
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.search-field,
input[type="text"],
input[type="email"],
textarea {
	width: 100%;
	padding: 0.95rem 1.1rem;
	border-radius: 18px;
	border: 1px solid rgba(23, 49, 36, 0.16);
	background: rgba(255, 255, 255, 0.95);
	font: inherit;
	color: var(--halidas-ink);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.not-found {
	width: var(--halidas-content);
	margin: 3rem auto 0;
	padding: clamp(2rem, 5vw, 3.5rem);
	text-align: center;
}

@media (max-width: 1080px) {
	.hero__layout,
	.split-section,
	.owner-spotlight,
	.contact-strip,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.feature-grid,
	.info-grid,
	.contact-grid,
	.archive-grid,
	.posts-grid,
	.single-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-banner__inner {
		grid-template-columns: 1fr;
	}

	.site-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}

	.site-brand {
		min-width: 0;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.primary-nav {
		grid-column: 1 / -1;
		width: 100%;
		margin-left: 0;
		padding-top: 0.35rem;
	}

	.has-js .primary-nav {
		display: none;
	}

	.has-js .primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
		width: 100%;
		padding: 1rem;
		background: rgba(255, 255, 255, 0.94);
		border: 1px solid var(--halidas-border);
		border-radius: 24px;
		box-shadow: var(--halidas-shadow);
	}

	.primary-nav .menu-item {
		min-width: 0;
	}

	.primary-nav .menu-item a {
		width: 100%;
		min-height: 3.35rem;
		padding: 0.82rem 0.75rem;
		text-align: center;
		border: 1px solid rgba(23, 49, 36, 0.1);
		background: rgba(255, 255, 255, 0.82);
	}

	.primary-nav .menu > .menu-item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.site-topbar {
		background: linear-gradient(180deg, var(--halidas-red) 0%, var(--halidas-red) 48%, var(--halidas-green) 48%, var(--halidas-green) 100%);
	}

	.site-topbar__inner,
	.site-header__inner,
	.section-heading {
		align-items: start;
	}

	.site-topbar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.9rem;
		padding: 0.95rem 0;
	}

	.site-topbar__list {
		display: grid;
		gap: 0.7rem;
	}

	.site-topbar__motto {
		text-align: center;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.site-header__inner {
		grid-template-columns: 1fr;
		justify-items: stretch;
		gap: 1.15rem;
		padding: 1rem 0 1.25rem;
	}

	.site-brand {
		width: 100%;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 0.9rem;
	}

	.site-brand__logo {
		width: 96px;
		height: 96px;
	}

	.site-brand__copy {
		width: 100%;
	}

	.site-brand__title {
		font-size: clamp(2rem, 8vw, 2.7rem);
		line-height: 1.04;
	}

	.site-brand__subtitle {
		letter-spacing: 0.14em;
		font-size: 0.86rem;
	}

	.nav-toggle {
		width: 100%;
		justify-content: center;
	}

	.primary-nav .menu {
		grid-template-columns: 1fr;
	}

	.hero,
	.page-banner,
	.archive-hero {
		padding-top: 1.6rem;
	}

	.hero__content,
	.hero__card,
	.page-banner__inner,
	.archive-header,
	.single-header,
	.content-panel,
	.single-content,
	.not-found {
		border-radius: 22px;
	}

	.hero__facts,
	.feature-grid,
	.info-grid,
	.contact-grid,
	.archive-grid,
	.posts-grid,
	.level-grid,
	.single-related__grid {
		grid-template-columns: 1fr;
	}

	.hero h1,
	.page-banner h1,
	.archive-header h1,
	.single-header h1,
	.not-found h1 {
		font-size: clamp(2.2rem, 11vw, 3rem);
	}

	.section-heading h2 {
		max-width: none;
	}

	.owner-portrait__placeholder,
	.post-card__placeholder {
		min-height: 240px;
	}
}

@media (max-width: 420px) {
	.primary-nav .menu > .menu-item:last-child:nth-child(odd) {
		grid-column: auto;
	}
}
