/* ==========================================================================
   Theme additions: WordPress-generated markup and functional states only.
   Visual styling for source markup comes from app.css.
   ========================================================================== */

[hidden] {
	display: none !important;
}

/* Logo sizing (single definition, all contexts). */
.site-logo-img {
	width: auto;
	display: block;
}
/* app.css shrinks .site-logo to 64px below 768px; keep that breakpoint intact. */
@media (min-width: 768px) {
	.site-logo-img {
		height: var(--logo-height) !important;
		width: auto !important;
	}
}
.site-logo-white {
	filter: brightness(0) invert(1);
}
.site-logo-text {
	display: block;
	line-height: var(--logo-height);
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: inherit;
}
.header-inner > a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.site-logo-name {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	white-space: nowrap;
}

/* Fixed header: inner pages always use the solid state. */
.site-header.is-solid {
	background: var(--footer-background);
	border-bottom-color: transparent;
}

/* Admin bar offset for the fixed header. */
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* Inner pages sit below the fixed header. */
.has-inner-header main {
	padding-top: var(--header-height);
}

/* Reveal fallbacks: never leave content invisible. */
html:not(.theme-js) .reveal {
	opacity: 1;
	transform: none;
	filter: none;
}
body.is-customizer .reveal {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

/* Mobile navigation panel. */
.mobile-nav {
	overflow-y: auto;
}

/* AJAX submit lock. */
.theme-btn-loading {
	opacity: 0.6;
	pointer-events: none;
	cursor: wait;
}

/* WordPress-generated inner page markup. */
.inner-page .entry {
	max-width: 820px;
}
.entry-title {
	font-family: var(--font-display);
	font-size: 52px;
	line-height: 1.14;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 24px;
}
.entry-content {
	font-size: 19px;
	line-height: 1.65;
}
.entry-content p {
	margin: 0 0 20px;
}
.entry-content h2 {
	font-family: var(--font-display);
	font-size: 38px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 38px 0 16px;
}
.entry-content h3 {
	font-family: var(--font-display);
	font-size: 29px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 30px 0 12px;
}
.entry-content ul,
.entry-content ol {
	padding-left: 24px;
	margin: 0 0 20px;
}
.entry-content li {
	margin-bottom: 8px;
}
.entry-content a {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.entry-content blockquote {
	margin: 0 0 20px;
	padding-left: 20px;
	border-left: 3px solid var(--gold);
	color: var(--muted-foreground);
}
.entry-content img {
	border-radius: 10px;
	height: auto;
}

/* Pagination (WordPress markup). */
.entry-nav {
	margin-top: 48px;
}
.entry-nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.entry-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 18px;
	border-radius: 6px;
	border: 1px solid var(--border);
	font-size: 17px;
	font-weight: 600;
	transition: border-color 0.25s, color 0.25s;
}
.entry-nav .page-numbers:hover {
	border-color: var(--gold);
	color: var(--gold);
}
.entry-nav .page-numbers.current {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--primary-foreground);
}

/* 404. */
.notfound {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}
.notfound-code {
	font-family: var(--font-display);
	font-size: clamp(64px, 12vw, 120px);
	line-height: 1;
	font-weight: 800;
	color: var(--gold);
	margin: 0 0 18px;
}
.notfound-text {
	color: var(--muted-foreground);
	font-size: 21px;
	line-height: 1.7;
	margin: 0 0 28px;
}

/* WordPress helper classes. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--secondary);
	clip: auto !important;
	clip-path: none;
	color: var(--foreground);
	display: block;
	font-size: 16px;
	height: auto;
	left: 16px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 16px;
	width: auto;
	z-index: 100000;
}
