/*
Theme Name: Physiology Plovdiv
Theme URI: https://physiologyplovdiv.com/
Author: Physiology Plovdiv
Description: Тема за сайта на Катедрата по физиология към Медицински университет – Пловдив. Двуезична (BG/EN), с новини, галерии, академичен състав и настройки за цветове, текстове и снимки в Customizer.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: physiology
*/

/* ---------- Tokens ---------- */
:root {
	--c-primary: #9c2f23;
	--c-accent: #e0a526;
	--c-bg: #fbf7f1;
	--c-surface: #ffffff;
	--c-ink: #1b1f24;
	--c-dark: #1a1d22;

	--c-muted: color-mix(in srgb, var(--c-ink) 64%, var(--c-bg));
	--c-line: color-mix(in srgb, var(--c-ink) 12%, transparent);
	--c-primary-soft: color-mix(in srgb, var(--c-primary) 9%, var(--c-bg));
	--c-primary-strong: color-mix(in srgb, var(--c-primary) 84%, #000);
	--c-on-dark: #f6f1ea;
	--c-on-dark-muted: color-mix(in srgb, var(--c-on-dark) 66%, var(--c-dark));

	--font-sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 32px;
	--shadow-sm: 0 1px 2px rgb(24 20 16 / 0.05), 0 4px 14px -6px rgb(24 20 16 / 0.10);
	--shadow: 0 1px 2px rgb(24 20 16 / 0.05), 0 18px 40px -18px rgb(24 20 16 / 0.22);

	--container: 1240px;
	--gutter: clamp(18px, 4vw, 40px);
	--header-h: 76px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@view-transition { navigation: auto; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--c-primary-strong); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 560; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.6em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--c-accent) 55%, transparent); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top 0.2s; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { --container: 820px; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-pad { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 9vw, 120px); }
.section-tint { background: linear-gradient(180deg, transparent, var(--c-primary-soft) 22%, var(--c-primary-soft) 78%, transparent); }

/* ---------- Buttons & small pieces ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 0.55em;
	padding: 0.85em 1.45em; border-radius: 999px; border: 1px solid transparent;
	font-weight: 600; font-size: 0.98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 10px 24px -12px var(--c-primary); }
.btn-primary:hover { background: var(--c-primary-strong); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--c-line); color: var(--c-ink); background: color-mix(in srgb, var(--c-surface) 60%, transparent); }
.btn-ghost:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn-light { background: var(--c-on-dark); color: var(--c-dark); }
.btn-light:hover { background: #fff; color: var(--c-dark); transform: translateY(-2px); }
.btn-outline-light { border-color: color-mix(in srgb, var(--c-on-dark) 35%, transparent); color: var(--c-on-dark); }
.btn-outline-light:hover { border-color: var(--c-on-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6em; margin: 0 0 1.1em; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.tag { display: inline-flex; padding: 0.25em 0.75em; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary-strong); font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3.1rem); margin: 0; max-width: 18ch; }
.section-title em, .hero-title em { font-style: italic; font-weight: 420; color: var(--c-primary); }
.section-lead { max-width: 40ch; margin: 0; color: var(--c-muted); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--c-bg) 84%, transparent);
	backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
	border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-stuck { border-bottom-color: var(--c-line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink); min-width: 0; }
.brand:hover { color: var(--c-ink); }
.brand-logo { height: 46px; width: auto; flex: none; }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.74rem; color: var(--c-muted); letter-spacing: 0.02em; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.menu, .menu ul, .lang-switch, .footer-menu, .social, .contact-list, .chips, .bento, .staff-grid, .info-cards { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu > li > a, .menu-toggle {
	display: inline-flex; align-items: center; gap: 0.3em;
	padding: 0.55em 0.9em; border: 0; border-radius: 999px; background: none; cursor: pointer;
	font-size: 0.96rem; font-weight: 500; color: var(--c-ink); text-decoration: none; transition: background-color 0.2s, color 0.2s;
}
.menu > li > a:hover, .menu-toggle:hover, .menu > li.is-open > .menu-toggle { background: color-mix(in srgb, var(--c-ink) 7%, transparent); color: var(--c-ink); }
.menu > li.current-menu-item > a, .menu > li.current-menu-ancestor > .menu-toggle { color: var(--c-primary); }
.menu-toggle .icon { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.menu > li.is-open > .menu-toggle .icon { transform: rotate(180deg); }

.menu > li > .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 50%; z-index: 10;
	min-width: 260px; padding: 10px; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.menu > li > .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.menu > li > .sub-menu:has(.sub-menu) { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 4px 10px; width: max-content; max-width: calc(100vw - 2 * var(--gutter)); }
.menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* Wide (grouped) dropdown: anchored to the right edge of the navigation so it never leaves the screen. */
.site-nav { position: relative; }
.menu > li:has(.sub-menu .sub-menu) { position: static; }
.menu > li > .sub-menu:has(.sub-menu) { left: auto; right: 0; transform: translateY(8px); }
.menu > li.is-open > .sub-menu:has(.sub-menu) { transform: none; }
.sub-menu > .menu-item-has-children > a { font-weight: 600; }
@media (hover: hover) and (min-width: 1061px) {
	.menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	.menu > li:hover > .sub-menu:has(.sub-menu) { transform: none; }
}
.sub-menu a, .sub-menu .menu-label { display: block; padding: 0.55em 0.85em; border-radius: var(--radius-sm); font-size: 0.94rem; line-height: 1.35; color: var(--c-ink); text-decoration: none; }
.sub-menu a:hover { background: var(--c-primary-soft); color: var(--c-primary-strong); }
.sub-menu .current-menu-item > a { color: var(--c-primary); font-weight: 600; }
.sub-menu .menu-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-muted); padding-bottom: 0.2em; }
.sub-menu .sub-menu a { padding-block: 0.4em; }

.lang-switch { display: flex; margin-left: 10px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--c-ink) 7%, transparent); }
.lang-switch a { display: block; padding: 0.3em 0.75em; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--c-muted); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--c-surface); color: var(--c-ink); box-shadow: var(--shadow-sm); }

.nav-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--c-line); border-radius: 50%; background: var(--c-surface); cursor: pointer; place-items: center; }
.burger-lines, .burger-lines::before, .burger-lines::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--c-ink); transition: transform 0.3s var(--ease), background-color 0.2s; }
.burger-lines { position: relative; }
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }
.nav-open .burger-lines { background: transparent; }
.nav-open .burger-lines::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
	.nav-burger { display: grid; }
	.site-nav {
		/* Absolute, not fixed: the header's backdrop-filter makes it the containing block anyway. */
		position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); z-index: 99; display: block; overflow-y: auto; overscroll-behavior: contain;
		padding: 16px var(--gutter) 40px; background: var(--c-bg);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.menu { display: block; }
	.menu > li { border-bottom: 1px solid var(--c-line); }
	.menu > li > a, .menu-toggle { width: 100%; justify-content: space-between; padding: 1em 0.2em; border-radius: 0; font-family: var(--font-serif); font-size: 1.35rem; }
	.menu > li > a:hover, .menu-toggle:hover, .menu > li.is-open > .menu-toggle { background: none; }
	.menu > li > .sub-menu, .menu > li > .sub-menu:has(.sub-menu) {
		position: static; display: none; width: auto; max-width: none; min-width: 0; padding: 0 0 14px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none;
	}
	.menu > li.is-open > .sub-menu, .menu > li.is-open > .sub-menu:has(.sub-menu) { display: block; transform: none; }
	.menu > li:has(.sub-menu .sub-menu) { position: relative; }
	.sub-menu a, .sub-menu .menu-label { padding-inline: 0.2em; }
	.sub-menu .sub-menu { padding-left: 12px; }
	.lang-switch { display: inline-flex; margin: 22px 0 0; }
	.lang-switch a { padding: 0.5em 1.1em; font-size: 0.9rem; }
}
@media (max-width: 520px) {
	.brand-sub { display: none; }
	.brand-name { font-size: 1rem; }
	.brand-logo { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(36px, 6vw, 84px); }
.hero::before {
	content: ""; position: absolute; inset: -160px 0 auto; height: 720px; z-index: -1; pointer-events: none;
	background:
		radial-gradient(520px 380px at 12% 30%, color-mix(in srgb, var(--c-accent) 20%, transparent), transparent 70%),
		radial-gradient(620px 420px at 88% 12%, color-mix(in srgb, var(--c-primary) 14%, transparent), transparent 70%);
}
.hero-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.hero-title { font-size: clamp(2.9rem, 8.2vw, 6.6rem); line-height: 0.96; letter-spacing: -0.03em; margin: 0; }
.hero-title em { display: block; }
.hero-text { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--c-muted); margin-bottom: 1.6em; max-width: 46ch; }
.hero-media { position: relative; margin: clamp(32px, 5vw, 64px) 0 0; }
.hero-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stats {
	position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	width: min(100% - 2 * clamp(12px, 3vw, 40px), 1040px); margin: clamp(-64px, -5vw, -36px) auto 0; padding: clamp(18px, 2.4vw, 30px) clamp(8px, 1.5vw, 20px);
	background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { display: grid; gap: 2px; padding: 4px clamp(12px, 2vw, 28px); border-left: 1px solid var(--c-line); }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 560; line-height: 1; letter-spacing: -0.02em; color: var(--c-primary); }
.stat-label { font-size: 0.88rem; line-height: 1.35; color: var(--c-muted); }
@media (max-width: 860px) {
	.hero-top { grid-template-columns: 1fr; }
	.hero-media img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
	.stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
	.stat:nth-child(odd) { border-left: 0; }
}

/* ---------- Bento (students) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-item { grid-column: span 2; }
.bento-item:nth-child(-n+2) { grid-column: span 3; }
.bento-card {
	position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 210px; padding: clamp(22px, 2.4vw, 32px);
	border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--c-ink); }
.bento-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 16px; background: var(--c-primary-soft); color: var(--c-primary); }
.bento-icon .icon { width: 26px; height: 26px; }
.bento-title { margin-top: 28px; font-family: var(--font-serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 560; line-height: 1.15; letter-spacing: -0.01em; }
.bento-text { font-size: 0.95rem; line-height: 1.5; color: var(--c-muted); max-width: 40ch; }
.bento-arrow { position: absolute; top: clamp(22px, 2.4vw, 32px); right: clamp(22px, 2.4vw, 32px); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease), border-color 0.3s; }
.bento-card:hover .bento-arrow { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: rotate(45deg); }
.bento-item:first-child .bento-card { background: var(--c-primary); border-color: transparent; color: #fff; }
.bento-item:first-child .bento-icon { background: rgb(255 255 255 / 0.16); color: #fff; }
.bento-item:first-child .bento-text { color: rgb(255 255 255 / 0.78); }
.bento-item:first-child .bento-arrow { border-color: rgb(255 255 255 / 0.35); }
.bento-item:first-child .bento-card:hover .bento-arrow { background: #fff; border-color: #fff; color: var(--c-primary); }
@media (max-width: 900px) { .bento-item, .bento-item:nth-child(-n+2) { grid-column: span 3; } .bento-item:first-child { grid-column: span 6; } }
@media (max-width: 560px) { .bento-item, .bento-item:nth-child(-n+2) { grid-column: span 6; } .bento-card { min-height: 0; } }

/* ---------- About (dark band) ---------- */
.section-about { padding-block: 0; }
.about {
	--container: 1360px;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center;
	padding: clamp(24px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--c-dark); color: var(--c-on-dark);
}
.about:not(:has(.about-media)) { grid-template-columns: 1fr; }
.about-media { margin: 0; }
.about-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.about .eyebrow { color: var(--c-on-dark-muted); }
.about .dot { background: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 22%, transparent); }
.about .section-title { max-width: 20ch; margin-bottom: 0.55em; color: #fff; }
.about .section-title em { color: var(--c-accent); }
.about-text { color: var(--c-on-dark-muted); max-width: 56ch; margin-bottom: 1.8em; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; border-radius: var(--radius); } }

/* ---------- Cards / news ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-primary-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media-empty { display: grid; place-items: center; height: 100%; color: color-mix(in srgb, var(--c-primary) 45%, transparent); }
.card-media-empty .icon { width: 56px; height: 56px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; font-size: 0.84rem; color: var(--c-muted); }
.card-title { font-size: 1.22rem; line-height: 1.25; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--c-ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-excerpt { font-size: 0.95rem; line-height: 1.55; color: var(--c-muted); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { display: inline-flex; align-items: center; gap: 0.45em; margin-top: auto; font-size: 0.92rem; font-weight: 600; color: var(--c-primary); }
.card-more .icon { transition: transform 0.25s var(--ease); }
.card:hover .card-more .icon { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.chips a { display: block; padding: 0.5em 1.1em; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chips a:hover { border-color: var(--c-ink); }
.chips a[aria-current] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); }

.pagination { margin-top: clamp(32px, 5vw, 56px); }
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pagination li > .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pagination a.page-numbers:hover { border-color: var(--c-ink); }
.pagination li > .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination li > .dots { border: 0; background: none; }

/* ---------- Gallery tiles ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 19vw, 270px); gap: 16px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--c-dark); color: #fff; text-decoration: none; isolation: isolate; }
.mosaic > .tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic-archive > .tile:nth-child(6n) { grid-column: span 2; }
.mosaic-row { grid-auto-rows: clamp(160px, 16vw, 220px); }
.mosaic-row > .tile:first-child { grid-column: auto; grid-row: auto; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.4s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 38%, rgb(12 10 8 / 0.78)); }
.tile:hover img { transform: scale(1.06); }
.tile:hover { color: #fff; }
.tile-body { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 6px; padding: clamp(16px, 2vw, 26px); }
.tile-count { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.8rem; font-weight: 600; opacity: 0.85; }
.tile-count .icon { width: 1.1em; height: 1.1em; }
.tile-title { font-family: var(--font-serif); font-size: clamp(1.05rem, 1.5vw, 1.4rem); font-weight: 560; line-height: 1.2; }
.mosaic > .tile:first-child .tile-title { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.mosaic-row > .tile:first-child .tile-title { font-size: clamp(1.05rem, 1.5vw, 1.4rem); }
.more-title { margin: clamp(48px, 7vw, 88px) 0 24px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 860px) {
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 38vw, 240px); gap: 12px; }
	.mosaic-archive > .tile:nth-child(6n) { grid-column: auto; }
}

/* ---------- CTA ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--c-primary-soft); border: 1px solid color-mix(in srgb, var(--c-primary) 14%, transparent); }
.cta-title { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0 0 0.35em; }
.cta p { margin: 0; color: var(--c-muted); max-width: 48ch; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.cta-phone { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--c-ink); text-decoration: none; }

/* ---------- Page head ---------- */
.page-head { position: relative; padding-block: clamp(36px, 6vw, 80px) clamp(24px, 3.5vw, 44px); }
.page-head::before { content: ""; position: absolute; inset: -160px 0 0; z-index: -1; background: radial-gradient(560px 300px at 85% 30%, color-mix(in srgb, var(--c-primary) 11%, transparent), transparent 70%), radial-gradient(460px 280px at 5% 60%, color-mix(in srgb, var(--c-accent) 14%, transparent), transparent 70%); pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5em; margin-bottom: 1.2em; font-size: 0.86rem; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-primary); }
.page-title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.025em; margin: 0; max-width: 22ch; }
.page-lead { margin: 1em 0 0; font-size: 1.12rem; color: var(--c-muted); max-width: 56ch; }
.article-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.12; max-width: none; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 1.4em 0 0; font-size: 0.92rem; color: var(--c-muted); }
.article-meta > span { display: inline-flex; align-items: center; gap: 0.45em; }
.article-cover { margin: 0 0 clamp(24px, 4vw, 44px); }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }

.page-layout { display: grid; gap: clamp(32px, 5vw, 72px); padding-block: clamp(20px, 3vw, 40px) clamp(64px, 9vw, 120px); }
.page-layout.has-aside { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); align-items: start; }
.page-layout > .entry-content { max-width: 780px; }
.section-nav { position: sticky; top: calc(var(--header-h) + 28px); padding: 22px; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); }
.admin-bar .section-nav { top: calc(var(--header-h) + 60px); }
.section-nav-title { font-family: var(--font-sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 10px; padding-inline: 12px; }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.section-nav a { display: block; padding: 0.55em 12px; border-radius: var(--radius-sm); color: var(--c-ink); font-size: 0.95rem; line-height: 1.35; text-decoration: none; }
.section-nav a:hover { background: var(--c-primary-soft); }
.section-nav a[aria-current] { background: var(--c-primary); color: #fff; font-weight: 600; }
@media (max-width: 900px) { .page-layout.has-aside { grid-template-columns: 1fr; } .section-nav { position: static; } }

/* ---------- Content ---------- */
.entry-content { font-size: 1.08rem; line-height: 1.75; overflow-wrap: break-word; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-top: 1.6em; }
.entry-content h4 { font-size: 1.15rem; margin-top: 1.4em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--c-primary); }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 0.6em; font-size: 0.86rem; color: var(--c-muted); text-align: center; }
.entry-content blockquote { margin-inline: 0; padding: 0.2em 0 0.2em 1.2em; border-left: 3px solid var(--c-primary); font-family: var(--font-serif); font-size: 1.2em; font-style: italic; }
.entry-content hr, .wp-block-separator { border: 0; border-top: 1px solid var(--c-line); margin-block: 2em; }
.entry-content .wp-block-image img { box-shadow: var(--shadow-sm); }
.page-layout .entry-content > .wp-block-image img, .article .entry-content > .wp-block-image img { width: auto; max-height: 460px; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.96rem; background: var(--c-surface); border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 0 0 1px var(--c-line); }
.entry-content th, .entry-content td { padding: 0.75em 1em; border: 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content th, .entry-content thead td { background: var(--c-primary-soft); font-weight: 600; }

/* File block as a download card */
.wp-block-file {
	display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin-block: 0 12px !important; padding: 16px 18px 16px 20px;
	border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); font-size: 1rem; line-height: 1.4;
	transition: border-color 0.25s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.wp-block-file:hover { border-color: color-mix(in srgb, var(--c-primary) 40%, transparent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.wp-block-file::before {
	content: ""; flex: none; width: 30px; height: 30px; background-color: var(--c-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7.500A2.500 2.500 0 0 0 5 5.500v13A2.500 2.500 0 0 0 7.500 21h9a2.500 2.500 0 0 0 2.500-2.500V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7.500A2.500 2.500 0 0 0 5 5.500v13A2.500 2.500 0 0 0 7.500 21h9a2.500 2.500 0 0 0 2.500-2.500V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-file > a:not(.wp-block-file__button) { flex: 1 1 220px; font-weight: 600; color: var(--c-ink); text-decoration: none; }
.wp-block-file > a:not(.wp-block-file__button):hover { color: var(--c-primary); }
.wp-block-file .wp-block-file__button { flex: none; margin: 0; padding: 0.6em 1.15em; border-radius: 999px; background: var(--c-ink); color: var(--c-bg); font-size: 0.86rem; font-weight: 600; text-decoration: none; transition: background-color 0.2s; }
.wp-block-file .wp-block-file__button:hover { background: var(--c-primary); color: #fff; opacity: 1; }
.wp-block-file .wp-block-file__embed { flex: 1 1 100%; order: 3; border-radius: var(--radius-sm); }
.wp-block-button__link, .wp-element-button { border-radius: 999px; }
.wp-block-button__link { background: var(--c-primary); color: #fff; font-weight: 600; padding: 0.85em 1.45em; }

/* Child pages of a hub page */
.child-pages { list-style: none; padding: 0; display: grid; gap: 12px; }
.child-pages li { margin: 0; }
.child-page { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); font-family: var(--font-serif); font-size: 1.2rem; font-weight: 560; text-decoration: none; transition: border-color 0.25s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.child-page:hover { border-color: color-mix(in srgb, var(--c-primary) 40%, transparent); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--c-primary); }
.child-page-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary); }
.child-page-title { flex: 1; }
.child-page > .icon { transition: transform 0.25s var(--ease); }
.child-page:hover > .icon { transform: translateX(4px); }

/* Gallery block: masonry */
.entry-gallery { max-width: none; }
.entry-gallery .wp-block-gallery.has-nested-images { display: block; columns: 3 300px; column-gap: 16px; }
.entry-gallery .wp-block-gallery.has-nested-images figure.wp-block-image { display: block; width: 100% !important; margin: 0 0 16px !important; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.entry-gallery .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: auto !important; border-radius: 0; box-shadow: none; transition: transform 0.6s var(--ease), filter 0.3s; }
.entry-gallery .wp-block-gallery figure.wp-block-image a { display: block; cursor: zoom-in; }
.entry-gallery .wp-block-gallery figure.wp-block-image:hover img { transform: scale(1.04); }
.wp-block-image a[href$=".jpg" i], .wp-block-image a[href$=".jpeg" i], .wp-block-image a[href$=".png" i], .wp-block-image a[href$=".webp" i] { cursor: zoom-in; }

/* ---------- Post navigation ---------- */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 120px); padding-top: clamp(24px, 4vw, 40px); border-top: 1px solid var(--c-line); }
.post-nav-link { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); text-decoration: none; transition: border-color 0.2s, transform 0.25s var(--ease); }
.post-nav-link:hover { border-color: var(--c-primary); color: var(--c-ink); transform: translateY(-2px); }
.post-nav-link span { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.post-nav-link strong { font-family: var(--font-serif); font-weight: 560; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav-link.is-next { text-align: right; }
.post-nav-link.is-next span { justify-content: flex-end; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav > span:empty { display: none; } }

/* ---------- Staff ---------- */
.staff-photo { margin: 0 0 clamp(28px, 4vw, 48px); }
.staff-photo img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 30%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.staff-intro { max-width: 780px; margin-bottom: clamp(24px, 3vw, 40px); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.staff-card { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.staff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.avatar { display: grid; place-items: center; flex: none; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: var(--c-primary-soft); color: var(--c-primary); font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.02em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-body { display: grid; gap: 2px; min-width: 0; }
.staff-position { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.staff-name { font-family: var(--font-serif); font-size: 1.16rem; font-weight: 560; line-height: 1.25; }
.staff-role { font-size: 0.92rem; line-height: 1.4; color: var(--c-muted); }
.staff-email { font-size: 0.9rem; }
.staff-card.is-head { grid-column: 1 / -1; padding: clamp(24px, 3vw, 36px); background: var(--c-dark); border-color: transparent; color: var(--c-on-dark); }
.staff-card.is-head .avatar { width: 92px; height: 92px; font-size: 1.8rem; background: var(--c-primary); color: #fff; }
.staff-card.is-head .staff-name { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #fff; }
.staff-card.is-head .staff-position { color: var(--c-accent); }
.staff-card.is-head .staff-role, .staff-card.is-head .staff-email { color: var(--c-on-dark-muted); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.info-cards { display: grid; gap: 12px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); }
.info-card > span:last-child { display: grid; line-height: 1.45; }
.info-card strong { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.info-card a { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.info-card a:hover { color: var(--c-primary); }
.info-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary); }
.contact-info .entry-content { margin-top: 24px; }
.contact-form-wrap { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); }
.form-title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 0.9em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 0.8em 1em; border-radius: var(--radius-sm); border: 1px solid var(--c-line); background: var(--c-bg); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--c-primary); background: var(--c-surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 16%, transparent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 0.8em 1em; border-radius: var(--radius-sm); font-weight: 500; }
.form-note.is-success { background: #e7f5ec; color: #17603a; }
.form-note.is-error { background: #fdecea; color: #9b2318; }
.map { margin-top: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); line-height: 0; }
.map iframe { width: 100%; height: clamp(300px, 40vw, 460px); border: 0; filter: saturate(0.85); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- 404 / empty ---------- */
.not-found { padding-block: clamp(64px, 10vw, 140px); text-align: center; display: grid; justify-items: center; }
.not-found-code { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(5rem, 18vw, 12rem); line-height: 0.9; color: var(--c-primary); opacity: 0.9; }
.not-found .page-title, .not-found .page-lead { max-width: none; }
.not-found .btn-row { margin-top: 2em; justify-content: center; }
.empty { color: var(--c-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: var(--c-on-dark-muted); margin-top: clamp(8px, 2vw, 24px); font-size: 0.96rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 6vw, 88px); padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); }
.brand-footer, .brand-footer:hover { color: #fff; margin-bottom: 18px; }
.brand-footer .brand-name { font-size: 1.4rem; }
.brand-footer .brand-sub { color: var(--c-on-dark-muted); font-size: 0.82rem; }
.footer-about p { max-width: 38ch; }
.footer-title { font-family: var(--font-sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-on-dark-muted); margin: 0 0 18px; }
.footer-menu { display: grid; gap: 10px; }
.site-footer a { color: var(--c-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-on-dark); }
.contact-list .icon { margin-top: 0.2em; color: var(--c-accent); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c-on-dark) 22%, transparent); transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease); }
.social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-dark); transform: translateY(-2px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid color-mix(in srgb, var(--c-on-dark) 14%, transparent); font-size: 0.86rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 0.4em; }
.to-top .icon { transform: rotate(-45deg); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); background: rgb(14 12 10 / 0.94); opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0.25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 2 * clamp(12px, 3vw, 40px) - 40px); width: auto; height: auto; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgb(0 0 0 / 0.5); }
.lightbox-btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: #fff; cursor: pointer; transition: background-color 0.2s; }
.lightbox-btn:hover { background: rgb(255 255 255 / 0.26); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: rgb(255 255 255 / 0.7); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next, .lightbox.is-single .lightbox-count { display: none; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
	.js .reveal { opacity: 1; translate: none; }
	@view-transition { navigation: none; }
}

@media print {
	.site-header, .site-footer, .section-nav, .post-nav, .btn-row { display: none !important; }
	body { background: #fff; }
}
