/*
Theme Name: Ojji Base
Author: Ojji Studio
Description: Base theme for Ojji Studio WordPress projects. Provides shared markup, styles, and functionality for client child themes.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: ojji-base
*/

/* ==========================================================================
   This theme is built on Bootstrap 5 + Font Awesome (vendored in
   assets/vendor/, enqueued in functions.php) for layout/grid, components
   (buttons, cards, forms, navbar), and icons, plus three Google Fonts
   (Newsreader, Schibsted Grotesk, JetBrains Mono — enqueued in
   functions.php) for an editorial look: serif headings with italic
   accents, a monospace uppercase "eyebrow" label above section headings,
   and pill-shaped buttons. What follows is a thin brand layer on top:
   design tokens, a few Bootstrap component color/shape overrides (its
   documented CSS-custom-property theming mechanism — no Sass build step
   needed), and the section types Bootstrap doesn't provide.
   ========================================================================== */

:root {
	--color-bg: #f6f4ef;
	--color-bg-alt: #fbfaf7;
	--color-border: #e4e0d7;
	--color-ink: #14202e;
	--color-ink-dark: #0f1824;
	--color-card-dark: #1c2a3b;
	--color-text: #14202e;
	--color-text-muted: #46505c;
	--color-text-on-dark-muted: #b9c3cf;
	--color-text-on-dark-faint: #7f8b99;
	--color-accent: #2c5a86;
	--color-accent-light: #8fb4d9;
	--color-surface-blue: #e6ecf2;
	--color-tag-border: #cfc9bc;
	/* Empty photo/image placeholder fill — kept separate from
	   --color-border since a child theme's border can be a strong/dark
	   color (e.g. optometrist-boutique's ink dividers) that would make an
	   empty placeholder box look like a solid black void rather than an
	   obvious "photo goes here" filler. */
	--color-placeholder: #e5e7eb;

	--font-body: 'Schibsted Grotesk', system-ui, sans-serif;
	--font-heading: 'Newsreader', serif;
	--font-mono: 'JetBrains Mono', monospace;

	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 6rem;
	--radius-lg: 24px;
}

/* The nav is sticky (see .site-header below), so an in-page anchor link
   (e.g. nav items pointing at #employers, #work) would otherwise land the
   target section right at the very top edge, hidden behind the nav. */
html {
	scroll-padding-top: 100px;
}

body {
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	font-weight: 300;
	letter-spacing: -0.01em;
	color: var(--color-ink);
}

h1 em,
h2 em,
h3 em,
blockquote em {
	font-style: italic;
	color: var(--color-accent);
}

a {
	color: var(--color-accent);
}

a:hover {
	color: var(--color-ink);
}

.eyebrow {
	display: block;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.text-accent {
	color: var(--color-accent);
}

.section {
	padding-block: var(--space-lg);
}

.section--alt {
	background: var(--color-bg-alt);
	border-block: 1px solid var(--color-border);
}

.section__heading {
	text-align: center;
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
}

.section__subheading {
	text-align: center;
	max-width: 640px;
	margin: 0 auto var(--space-md);
	color: var(--color-text-muted);
}

/* Large left-aligned section heading (e.g. "Two sides of every great
   hire.", "Three principles. No shortcuts.") — .section__heading is
   centered, which doesn't fit these, and plain <h2>/<h3> otherwise falls
   back to the browser's default heading size with no font-size rule of
   our own to override it. */
.section-heading-lg {
	font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);
	line-height: 1.05;
}

.link-arrow {
	display: inline-block;
	margin-top: var(--space-sm);
	font-weight: 600;
	text-decoration: none;
}

/* ==========================================================================
   Bootstrap component overrides — Bootstrap's compiled CSS scopes each
   component's colors/shape to its own custom properties (e.g. .btn-primary
   sets --bs-btn-bg on itself), so brand styling goes here rather than on
   the shared :root --bs-* tokens, which most components don't read from.
   ========================================================================== */

.btn {
	--bs-btn-border-radius: 999px;
	--bs-btn-font-weight: 600;
	--bs-btn-padding-x: 1.5rem;
	--bs-btn-padding-y: 0.75rem;
}

.btn-primary {
	--bs-btn-bg: var(--color-ink);
	--bs-btn-border-color: var(--color-ink);
	--bs-btn-hover-bg: var(--color-accent);
	--bs-btn-hover-border-color: var(--color-accent);
	--bs-btn-active-bg: var(--color-accent);
	--bs-btn-active-border-color: var(--color-accent);
	--bs-btn-disabled-bg: var(--color-ink);
	--bs-btn-disabled-border-color: var(--color-ink);
}

.btn-outline-primary {
	--bs-btn-color: var(--color-ink);
	--bs-btn-border-color: var(--color-ink);
	--bs-btn-hover-bg: var(--color-ink);
	--bs-btn-hover-border-color: var(--color-ink);
}

.btn-light {
	--bs-btn-bg: #fff;
	--bs-btn-border-color: #fff;
	--bs-btn-color: var(--color-ink);
	--bs-btn-hover-bg: var(--color-accent-light);
	--bs-btn-hover-border-color: var(--color-accent-light);
	--bs-btn-hover-color: var(--color-ink);
}

.btn-outline-light {
	--bs-btn-color: #fff;
	--bs-btn-border-color: rgba(255, 255, 255, 0.6);
	--bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-border-color: rgba(255, 255, 255, 0.6);
}

.form-control {
	border-radius: 12px;
}

.form-control:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 0.25rem rgba(44, 90, 134, 0.2);
}

.card {
	border-radius: 16px;
}

/* ==========================================================================
   "Nothing here" content -- shared by 404.php and index.php's empty
   search/archive state (see template-parts/content-none.php). A child
   theme re-skins this one partial (copy, art direction) rather than
   overriding 404.php and every empty-loop case separately.
   ========================================================================== */

.content-none {
	max-width: 520px;
	padding-block: var(--space-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.content-none__icon {
	font-size: 2rem;
	margin-bottom: 0.25rem;
}

.content-none__heading {
	margin: 0;
}

.content-none__text {
	color: var(--color-text-muted);
	margin-bottom: 0.5rem;
}

.content-none__search {
	width: 100%;
	max-width: 360px;
	margin-bottom: 0.5rem;
}

/* ==========================================================================
   Header / navbar — sticky with a translucent, blurred background rather
   than a solid bar.
   ========================================================================== */

/* Sticky lives on .site-header, not .site-navbar: .site-navbar's own
   parent (.site-header) shrink-wraps to exactly the navbar's height, so a
   sticky navbar has zero room within its containing block to actually
   stick -- it just scrolls away like a static element despite the
   computed style saying "sticky". .site-header's parent is <body>
   (the full page height), which gives it real room to stick. */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1040;
}

.site-navbar {
	background-color: rgba(246, 244, 239, 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
	padding-block: 0.85rem;
}

.site-navbar .navbar-brand img {
	height: 36px;
	width: auto;
	max-width: none;
	display: block;
}

.navbar-brand--logo {
	display: flex;
	align-items: center;
	gap: 14px;
}

.navbar-brand--logo .custom-logo-link {
	display: block;
}

.navbar-brand__wordmark {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1;
}

.navbar-brand__title {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	color: var(--color-ink);
}

.navbar-brand__tagline {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.site-navbar .nav-link {
	color: var(--color-ink);
	font-weight: 500;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
	color: var(--color-accent);
}

.site-navbar .nav-link--cta {
	background: var(--color-ink);
	color: #fff;
	border-radius: 999px;
	padding: 0.65rem 1.25rem;
}

.site-navbar .nav-link--cta:hover {
	background: var(--color-accent);
	color: #fff;
}

/* .nav-link.active (three classes: .site-navbar.nav-link.active) otherwise
   beats .nav-link--cta's color:#fff (two classes) on specificity whenever
   WordPress marks a CTA nav item "active" (e.g. the current/front page) --
   leaving low-contrast dark ink-on-ink text on the solid dark CTA pill
   instead of white. Same specificity as that rule, declared after it, so
   the cascade's source-order tiebreak restores white here instead. */
.site-navbar .nav-link--cta.active {
	color: #fff;
}

.site-navbar .navbar-toggler {
	border-color: var(--color-border);
}

.site-navbar .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(20, 32, 46, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Hero (split layout) — photo box with a floating stat card and badge,
   plus a chooser toggle (e.g. hiring / job seeking) that swaps the panel
   below it. No Bootstrap equivalent, so this stays custom.
   ========================================================================== */

.hero-split {
	padding-block: 4.5rem 5rem;
}

@media (min-width: 992px) {
	/* The text column sits shorter than the photo column, so
	   .row.align-items-center vertically centers it against the photo's
	   height, leaving visible empty space above the eyebrow label — pull
	   it back up rather than fighting align-items on the row itself
	   (which both columns share). */
	.hero-split__content {
		margin-top: -50px;
	}
}

.hero-split__heading {
	font-size: clamp(2.75rem, 1.9rem + 3.4vw, 5rem);
	line-height: 1.03;
	letter-spacing: -0.02em;
	max-width: 720px;
}

.hero-split__subheading {
	font-size: 1.2rem;
	line-height: 1.55;
	color: var(--color-text-muted);
	max-width: 520px;
}

/* Positioned ancestor for the stat card / badge below, deliberately
   separate from .hero-split__photo (which clips to round the image's
   corners) so those floating elements aren't clipped along with it. */
.hero-split__photo-wrap {
	position: relative;
}

.hero-split__photo {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-placeholder);
}

.hero-split__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-split__stat {
	position: absolute;
	left: -2rem;
	top: 3rem;
	background: #fff;
	border-radius: 16px;
	padding: 1.25rem 1.4rem;
	box-shadow: 0 20px 40px -16px rgba(20, 32, 46, 0.25);
	max-width: 220px;
}

.hero-split__stat-number {
	font-family: var(--font-heading);
	font-weight: 300;
	font-size: 2.75rem;
	line-height: 1;
}

.hero-split__stat-caption {
	font-size: 13px;
	line-height: 1.4;
	color: var(--color-text-muted);
}

.hero-split__badge {
	position: absolute;
	right: 1.25rem;
	bottom: -1.25rem;
	background: var(--color-ink);
	color: var(--color-bg);
	border-radius: 999px;
	padding: 0.75rem 1.25rem;
	font-size: 13px;
	font-weight: 500;
	display: flex;
	gap: 0.6rem;
	align-items: center;
}

.hero-split__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-accent-light);
	flex-shrink: 0;
}

/* Chooser: generic button-group + swappable panel(s) — see main.js. Used
   for anything from a two-way toggle to an n-way picker. */

.chooser__group {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background: #eae6dd;
	border-radius: 999px;
}

.chooser__btn {
	border: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 0.6rem 1.1rem;
	border-radius: 999px;
	background: transparent;
	color: var(--color-text-muted);
	cursor: pointer;
}

.chooser__btn.is-active {
	background: var(--color-ink);
	color: #fff;
	font-weight: 600;
}

.chooser-panel {
	display: none;
	flex-direction: column;
	gap: 1.1rem;
}

.chooser-panel.is-active {
	display: flex;
}

/* ==========================================================================
   Path cards (e.g. two audiences) — light + dark variants with a
   divider-row list.
   ========================================================================== */

.path-card {
	border-radius: var(--radius-lg);
	padding: clamp(1.75rem, 3vw, 3rem);
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}

.path-card--light {
	background: var(--color-surface-blue);
}

.path-card--dark {
	background: var(--color-ink);
	color: var(--color-bg);
}

/* The global h1-h4 rule hardcodes --color-ink, which otherwise wins over
   an inherited color even though inheritance would already resolve to the
   right value here — without this, a dark card's own heading renders as
   dark navy text on a dark navy background. */
.path-card h1,
.path-card h2,
.path-card h3,
.path-card h4 {
	color: inherit;
}

.path-card--dark .eyebrow {
	color: var(--color-accent-light);
}

.path-card__list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(20, 32, 46, 0.12);
}

.path-card--dark .path-card__list {
	border-top-color: rgba(255, 255, 255, 0.15);
}

.path-card__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-block: 1rem;
	border-bottom: 1px solid rgba(20, 32, 46, 0.12);
	font-size: 1rem;
}

.path-card--dark .path-card__row {
	border-bottom-color: rgba(255, 255, 255, 0.15);
}

.path-card__arrow {
	color: var(--color-accent);
	flex-shrink: 0;
}

.path-card--dark .path-card__arrow {
	color: var(--color-accent-light);
}

.path-card .btn {
	align-self: flex-start;
	margin-top: auto;
}

.path-card--dark .btn-primary {
	--bs-btn-bg: var(--color-bg);
	--bs-btn-border-color: var(--color-bg);
	--bs-btn-color: var(--color-ink);
	--bs-btn-hover-bg: var(--color-accent-light);
	--bs-btn-hover-border-color: var(--color-accent-light);
	--bs-btn-hover-color: var(--color-ink);
}

.principles-col__image {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius-lg);
	margin-bottom: 1rem;
	display: block;
}

/* ==========================================================================
   Numbered principles — index + vertical dividers instead of plain cards.
   ========================================================================== */

.principles-numbered {
	border-top: 1px solid var(--color-ink);
}

.principles-numbered__col {
	padding: 2rem;
	border-right: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
}

.principles-numbered__col:last-child {
	border-right: none;
}

.principles-numbered__index {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--color-accent);
}

/* Mockup sets these titles in the sans body face at semibold weight,
   overriding the global h1-h4 rule's light-weight serif. */
.principles-numbered__col h3 {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.5rem;
	letter-spacing: -0.01em;
}

/* ==========================================================================
   Profile spotlight — photo + pull-quote + bio + contact meta grid.
   ========================================================================== */

.profile-spotlight__photo {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-placeholder);
	max-width: 480px;
}

.profile-spotlight__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.profile-spotlight__quote {
	font-family: var(--font-heading);
	font-weight: 300;
	font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
	line-height: 1.18;
}

.profile-spotlight__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
}

.profile-spotlight__meta strong {
	display: block;
}

.profile-spotlight__meta span {
	font-size: 14px;
	color: var(--color-text-muted);
}

/* ==========================================================================
   Feature grid (e.g. professional offerings) — divided cells, no card
   chrome.
   ========================================================================== */

.feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--color-border);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	overflow: hidden;
}

.feature-grid__cell {
	background: var(--color-bg);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.feature-grid__cell strong {
	font-size: 1.05rem;
}

.feature-grid__cell span {
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

/* ==========================================================================
   Tag list (e.g. recently filled positions) — pill tags.
   ========================================================================== */

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.tag-list__item {
	border: 1px solid var(--color-tag-border);
	border-radius: 999px;
	padding: 0.6rem 1.1rem;
	font-size: 0.95rem;
}

.tag-list__item--highlight {
	border-color: transparent;
	background: var(--color-surface-blue);
	color: var(--color-accent);
}

/* ==========================================================================
   Testimonials — light by default, optional dark section variant.
   ========================================================================== */

.testimonials--dark {
	background: var(--color-ink);
}

.testimonials--dark .section__heading,
.testimonials--dark .eyebrow {
	color: #fff;
}

.testimonials--dark .eyebrow {
	color: var(--color-accent-light);
}

.testimonials--dark .section__subheading {
	color: var(--color-text-on-dark-muted);
}

.testimonials--dark .card {
	background: var(--color-card-dark);
	color: var(--color-bg);
	border: none;
}

.testimonials--dark .card .text-accent {
	color: var(--color-accent-light);
}

.testimonials--dark blockquote footer {
	border-top-color: rgba(255, 255, 255, 0.15);
}

.testimonials--dark .testimonials__title {
	color: var(--color-text-on-dark-muted);
}

.testimonials:not(.testimonials--dark) {
	background: var(--color-bg-alt);
}

/* ==========================================================================
   Brand moment — a big wordmark statement section.
   ========================================================================== */

.brand-moment__word {
	font-family: var(--font-heading);
	font-weight: 300;
	font-size: clamp(5rem, 3rem + 11vw, 13.75rem);
	line-height: 0.85;
	letter-spacing: -0.04em;
}

.brand-moment__note {
	font-family: var(--font-mono);
	font-size: 13px;
	color: #7a7468;
}

.brand-moment__line {
	font-family: var(--font-heading);
	font-weight: 300;
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.875rem);
	line-height: 1.3;
}

/* ==========================================================================
   CTA band — colored rounded band with stacked action links.
   ========================================================================== */

.cta-band {
	background: var(--color-accent);
	color: #fff;
	border-radius: 28px;
	padding: clamp(2.25rem, 3rem + 3vw, 5rem);
}

.cta-band h2 {
	color: #fff;
}

.cta-band h2 em {
	color: var(--color-accent-light);
}

/* ==========================================================================
   Logo grid / carousel — grayscale/opacity treatment has no Bootstrap
   utility.
   ========================================================================== */

.logo-grid__logo,
.logo-carousel__logo {
	max-height: 150px;
	min-height: 150px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.6;
}

.logo-carousel__viewport {
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-carousel__track {
	display: flex;
	width: max-content;
	animation: ojji-logo-carousel-scroll var(--logo-carousel-speed, 30s) linear infinite;
}

.logo-carousel__viewport:hover .logo-carousel__track,
.logo-carousel__viewport:focus-within .logo-carousel__track {
	animation-play-state: paused;
}

.logo-carousel__set {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.logo-carousel__logo {
	margin-inline: var(--space-lg);
}

@keyframes ojji-logo-carousel-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.logo-carousel__track {
		animation: none;
	}
}

/* ==========================================================================
   Static Forms
   ========================================================================== */

.staticform {
	max-width: 560px;
}

.staticform-notice {
	color: #b42318;
	font-weight: 600;
}

/* ==========================================================================
   Footer — 4-column dark footer (brand, links, contact, credentials) plus
   a bottom bar.
   ========================================================================== */

.site-footer {
	background: var(--color-ink-dark);
	color: var(--color-text-on-dark-muted);
	padding-block: var(--space-xl) var(--space-md);
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--color-accent-light);
}

.footer-grid {
	padding-bottom: var(--space-md);
	margin-bottom: var(--space-md);
	border-bottom: 1px solid #243244;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: var(--space-sm);
}

.footer-brand img {
	height: 64px;
	width: auto;
	display: block;
}

.footer-brand__wordmark {
	font-size: 1.6rem;
	color: #fff;
}

.site-footer__tagline {
	max-width: 30ch;
	font-size: 14px;
}

.footer-col span.eyebrow {
	color: var(--color-text-on-dark-faint);
	margin-bottom: 0.75rem;
}

.footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.footer-col .nav-link {
	padding: 0;
	color: #fff;
}

.footer-donate__text {
	font-size: 14px;
	color: var(--color-text-on-dark-muted);
	margin-bottom: 0.75rem;
}

.footer-donate__qr {
	display: block;
	width: 120px;
	height: 120px;
	border-radius: 8px;
	background: #fff;
	padding: 6px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-sm);
	font-size: 0.85rem;
	color: var(--color-text-on-dark-faint);
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.announcement-bar {
	background: var(--color-ink);
	color: var(--color-bg);
	font-size: 13px;
	letter-spacing: 0.04em;
	padding-block: 0.7rem;
}

.announcement-bar a {
	color: var(--color-bg);
	text-decoration: underline;
}

/* ==========================================================================
   Text marquee — same CSS-only technique as .logo-carousel.
   ========================================================================== */

.text-marquee {
	overflow: hidden;
	background: var(--color-accent);
	color: #fff;
	padding-block: 1.4rem;
}

.text-marquee__track {
	display: flex;
	width: max-content;
	animation: ojji-logo-carousel-scroll var(--logo-carousel-speed, 25s) linear infinite;
}

.text-marquee:hover .text-marquee__track {
	animation-play-state: paused;
}

.text-marquee__set {
	display: flex;
	flex-shrink: 0;
}

.text-marquee__item {
	display: flex;
	align-items: center;
	gap: 2rem;
	font-family: var(--font-heading);
	font-size: 1.75rem;
	padding-inline-end: 2rem;
	white-space: nowrap;
}

.text-marquee__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
	.text-marquee__track {
		animation: none;
	}
}

/* ==========================================================================
   Circle services
   ========================================================================== */

.circle-services__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1rem;
}

.circle-services__circle {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-surface-blue);
}

.circle-services__inner {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--color-ink);
}

.circle-services__dot {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-ink);
}

/* ==========================================================================
   Brand wall
   ========================================================================== */

.chooser__group--outline {
	background: transparent;
	border: 1px solid var(--color-ink);
	border-radius: 0;
	padding: 0;
	gap: 0;
}

.chooser__group--outline .chooser__btn {
	border-radius: 0;
	padding: 0.8rem 1.3rem;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.chooser__group--outline .chooser__btn:not(:last-child) {
	border-right: 1px solid var(--color-ink);
}

.brand-wall__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border-top: 1px solid var(--color-border);
	border-left: 1px solid var(--color-border);
}

/* Higher specificity than the generic .chooser-panel.is-active rule
   (display:flex), which would otherwise break this grid layout. */
.brand-wall__grid.chooser-panel.is-active {
	display: grid;
}

.brand-wall__cell {
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem;
	font-family: var(--font-heading);
	font-size: 1.3rem;
	border-right: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.brand-wall__cell--more {
	font-style: italic;
	color: var(--color-accent);
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.timeline {
	display: flex;
	flex-direction: column;
}

.timeline__row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 1.25rem;
	padding-block: 1.4rem;
	border-bottom: 1px solid var(--color-border);
}

.timeline__row:last-child {
	border-bottom: none;
}

.timeline__year {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--color-accent);
	line-height: 1;
}

/* ==========================================================================
   Color band pair
   ========================================================================== */

.color-band {
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tag-list__item--solid {
	background: #fff;
	border-color: transparent;
}

/* ==========================================================================
   Contact band
   ========================================================================== */

.contact-band {
	background: var(--color-ink);
	color: var(--color-text-on-dark-muted);
}

.contact-band h2,
.contact-band h3 {
	color: #fff;
}

/* --color-accent is tuned for use on light backgrounds (buttons, italic
   emphasis elsewhere on the page) -- against this section's dark
   background it reads as low-contrast or illegible. --color-accent-light
   is each theme's own lighter tint of the same accent, defined for exactly
   this situation. Excludes .contact-band__label, which already has its
   own distinct muted treatment below. */
.contact-band em,
.contact-band .eyebrow:not(.contact-band__label) {
	color: var(--color-accent-light);
}

.contact-band a {
	color: #fff;
}

.contact-band__label {
	color: var(--color-text-on-dark-faint);
}

.contact-band__map {
	min-height: 200px;
	border-radius: var(--radius-lg);
	background: var(--color-card-dark);
	display: flex;
	align-items: flex-end;
	padding: 1.25rem;
	color: var(--color-text-on-dark-faint);
	font-family: var(--font-mono);
	font-size: 12px;
}

.contact-band__map-embed {
	width: 100%;
	min-height: 200px;
	height: 100%;
	border: 0;
	border-radius: var(--radius-lg);
	display: block;
}

.contact-band__map-embed--large {
	min-height: 420px;
}

.contact-band__map-embed--stacked {
	min-height: 260px;
}

.contact-band__form-text {
	color: var(--color-text-on-dark-muted);
}

.contact-band__form .staticform .form-label,
.contact-band__form .ojji-form__field label {
	color: var(--color-text-on-dark-muted);
}

.contact-band__form .ojji-form__required {
	color: var(--color-accent-light);
}

/* Both forms' submit buttons default to --color-ink as their background --
   on historic-sites that's the exact same color as this section's own
   background, so the button all but disappears. Same light-on-dark
   treatment as contact-band's own .btn-light CTA. */
.contact-band__form .ojji-form__submit,
.contact-band__form .staticform button[type="submit"] {
	background: #fff;
	color: var(--color-ink);
}

.contact-band__form .ojji-form__submit:hover,
.contact-band__form .staticform button[type="submit"]:hover {
	background: var(--color-accent-light);
}

/* ==========================================================================
   Hero: editorial split (boutique-style)
   ========================================================================== */

.hero-editorial__photo {
	min-height: 480px;
	background-color: var(--color-placeholder);
	background-size: cover;
	background-position: center;
}

.hero-editorial__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 480px;
}

.hero-editorial__content {
	padding: 3.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	background: var(--color-bg);
}

.hero-editorial__heading {
	font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5.25rem);
	line-height: 1;
	letter-spacing: -0.02em;
}

.hero-editorial__text {
	font-size: 1.2rem;
	line-height: 1.6;
	color: var(--color-text-muted);
	max-width: 30ch;
}

.finder {
	border-top: 1px solid var(--color-ink);
	padding-top: 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.finder__options {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--color-ink);
}

.finder__options .chooser__btn {
	border-radius: 0;
	background: transparent;
	color: var(--color-ink);
	padding: 0.85rem 0;
	font-size: 0.95rem;
}

.finder__options .chooser__btn:not(:last-child) {
	border-right: 1px solid var(--color-ink);
}

.finder__options .chooser__btn.is-active {
	background: var(--color-ink);
	color: #fff;
}

.finder__detail {
	min-height: 70px;
}

.finder__detail-title {
	font-family: var(--font-heading);
	font-style: italic;
	font-size: 1.4rem;
}

/* ==========================================================================
   Hero: circle motif (family-style)
   ========================================================================== */

.hero-circle {
	background: var(--color-surface-blue);
	border-radius: var(--radius-lg);
	padding: clamp(2rem, 1.2rem + 3vw, 4.5rem);
}

.hero-circle__prompt {
	font-weight: 700;
	color: var(--color-accent);
}

.hero-circle__heading {
	font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
	line-height: 1;
	letter-spacing: -0.02em;
	transition: filter 0.45s ease;
	margin-bottom: 1.25rem;
}

.hero-circle__heading--blurred {
	filter: blur(5px);
}

.hero-circle__text {
	font-size: 1.2rem;
	line-height: 1.55;
	color: var(--color-text-muted);
	max-width: 34ch;
	margin-bottom: 1.5rem;
}

.hero-circle__photo-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
}

.hero-circle__ring {
	width: 88%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-circle__photo {
	width: 82%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background: var(--color-placeholder);
}

.hero-circle__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-circle__dot {
	position: absolute;
	border-radius: 50%;
}

.hero-circle__dot--a {
	top: 0;
	right: 6%;
	width: 72px;
	height: 72px;
	background: #fbefc6;
}

.hero-circle__dot--b {
	bottom: 8%;
	left: 2%;
	width: 48px;
	height: 48px;
	background: #f9ddd0;
}

.hero-circle__stat {
	position: absolute;
	right: -1rem;
	bottom: 10%;
	background: #fff;
	border-radius: 20px;
	padding: 1rem 1.25rem;
	box-shadow: 0 8px 24px rgba(28, 33, 39, 0.12);
	display: flex;
	flex-direction: column;
}

.hero-circle__stat-title {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	line-height: 1;
}

.hero-circle__stat-caption {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-muted);
}

/* ==========================================================================
   Profile spotlight — credentials list (stacked rows, alternative to the
   meta grid)
   ========================================================================== */

.profile-spotlight__credentials {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--color-border);
}

.profile-spotlight__credential-row {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 1.25rem;
	padding-block: 1rem;
	border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   Photo cards
   ========================================================================== */

.photo-cards__item {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	color: inherit;
	text-decoration: none;
}

a.photo-cards__item:hover {
	color: var(--color-accent);
	text-decoration: none;
}

.photo-cards__photo {
	aspect-ratio: 4 / 5;
	background: var(--color-placeholder);
	overflow: hidden;
}

.photo-cards__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.photo-cards__meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-top: 1px solid var(--color-border);
	padding-top: 0.9rem;
}

.photo-cards__title {
	font-family: var(--font-heading);
	font-size: 1.75rem;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget-area .widget {
	margin-bottom: var(--space-md);
}

.widget-title {
	font-size: 1.1rem;
}

/* ==========================================================================
   Hero: full-bleed overlay (e.g. a landmark/historic-site photo with the
   heading anchored near the bottom, instead of a split photo/content
   layout).
   ========================================================================== */

.hero-overlay {
	position: relative;
	min-height: 520px;
	overflow: hidden;
	background-color: var(--color-placeholder);
}

.hero-overlay--tall {
	min-height: 680px;
}

/* Added by JS only once rotation is actually active (2+ slides) -- clicking
   the photo advances to the next slide (see assets/js/main.js). Links/
   buttons inside the slide (e.g. "Learn More") already show their own
   pointer cursor and aren't affected. */
.hero-overlay--clickable {
	cursor: pointer;
}

/* Each slide fills the hero completely and crossfades via opacity; the
   inactive ones stay in normal flow-less absolute positioning so they
   don't affect the hero's height (that's fixed by min-height above). With
   a single slide (the common case -- no 'slides' arg passed) there's
   exactly one .hero-overlay__slide.is-active and no JS ever runs. */
.hero-overlay__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	opacity: 0;
	transition: opacity 1.2s ease;
	pointer-events: none;
}

.hero-overlay__slide.is-active {
	opacity: 1;
	z-index: 1;
	pointer-events: auto;
}

.hero-overlay__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.05) 75%);
}

.hero-overlay__content {
	position: relative;
	padding-block: var(--space-lg);
	color: #fff;
}

.hero-overlay__kicker {
	display: block;
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 0.75rem;
}

.hero-overlay__heading {
	color: #fff;
	font-size: clamp(2.5rem, 1.8rem + 3vw, 4.25rem);
	line-height: 1.05;
	max-width: 16ch;
	margin-bottom: 1.5rem;
}

.hero-overlay__heading em {
	color: var(--color-accent-light);
	font-style: italic;
}

.hero-overlay__text {
	font-size: 1.1rem;
	line-height: 1.5;
	color: inherit;
	margin-bottom: 1.5rem;
}

.hero-overlay__cta-group {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.hero-overlay__cta {
	--bs-btn-border-radius: 2px;
}

/* Optional small panel pinned bottom-right (see hero-overlay.php's
   'hours_card' arg) -- lives outside the slide crossfade entirely (z-index
   above every slide) so it stays put and visible across rotation. */
.hero-overlay__hours-wrap {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	pointer-events: none;
}

.hero-overlay__hours-inner {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	padding-block: var(--space-lg);
}

.hero-overlay__hours {
	pointer-events: auto;
	background: #fff;
	color: var(--color-text);
	min-width: 230px;
	padding: 1.3rem 1.5rem;
	border-radius: var(--radius-lg);
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.hero-overlay__hours-heading {
	font-weight: 600;
}

.hero-overlay__hours-rows {
	display: grid;
	grid-template-columns: auto auto;
	gap: 0.3rem 1.5rem;
	font-size: 0.95rem;
}

.hero-overlay__hours-value {
	text-align: right;
}

.hero-overlay__hours-note {
	font-size: 0.85rem;
	color: var(--color-text-muted);
}

/* Below md, the hours card can't float bottom-right over the photo the way
   it does at desktop widths (there isn't room beside the heading/CTAs) --
   stack it as its own block after the hero instead. That means taking it
   (and the slide stack it would otherwise float over) out of the hero's
   absolute/overflow-hidden layout entirely: .hero-overlay__slide becomes a
   normal-flow block (photo at a fixed height, card below it, no crossfade
   -- an acceptable simplification for the rare case of a mobile viewer on
   a rotating hero) so the hours card, also normal-flow, truly lands below
   everything instead of overlapping it inside the same absolutely
   positioned box. */
@media (max-width: 767.98px) {
	.hero-overlay {
		min-height: 0;
		overflow: visible;
	}
	.hero-overlay__slide {
		position: static;
		display: block;
		opacity: 1;
	}
	.hero-overlay__slide:not(.is-active) {
		display: none;
	}
	.hero-overlay__photo {
		position: relative;
		height: 280px;
	}
	.hero-overlay__hours-wrap {
		position: static;
		display: block;
	}
	.hero-overlay__hours-inner {
		justify-content: stretch;
		padding-top: 0;
	}
	.hero-overlay__hours {
		width: 100%;
	}
}

/* ==========================================================================
   Visit info (hours / admission)
   ========================================================================== */

.visit-info__panel {
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
}

.visit-info__admission {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.visit-info__admission-text {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--color-accent);
}

.visit-info__admission-note {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.visit-info__hours {
	border-top: 1px solid var(--color-border);
	padding-top: 1rem;
}

.visit-info__hours li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.4rem;
}

.visit-info__hours li:not(:last-child) {
	border-bottom: 1px dashed var(--color-border);
}

.visit-info__note {
	margin-top: 1.25rem;
	margin-bottom: 0;
	color: var(--color-text-muted);
}

/* ==========================================================================
   Facts band (intro column + N short fact columns)
   ========================================================================== */

.facts-band__fact {
	border-top: 2px solid var(--color-accent);
	padding-top: 1rem;
}

/* ==========================================================================
   Events list
   ========================================================================== */

.events-list__card {
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-sm);
	display: flex;
	gap: 1rem;
}

/* .h-100 (see events-list.php) stretches every card in a row to match the
   row's tallest one -- without this, a card with a shorter title/excerpt
   than its neighbor just gets dead space at the bottom instead of its
   meta/link naturally settling there. */
.events-list__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.events-list__footer {
	margin-top: auto;
}

.events-list__date {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	background: var(--color-ink);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
}

.events-list__date-month {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent-light);
}

.events-list__date-day {
	font-size: 1.4rem;
	font-weight: 600;
}

.events-list__title {
	font-size: 1.15rem;
	margin-bottom: 0.4rem;
}

.events-list__text {
	color: var(--color-text-muted);
	font-size: 0.92rem;
	margin-bottom: 0.6rem;
}

.events-list__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-bottom: 0.3rem;
}

.events-list__meta i {
	color: var(--color-accent);
	width: 1em;
}

/* Photo variant (events-list.php's 'image' arg) -- photo on top with the
   date badge overlaid on it, body below, instead of the badge sitting
   inline beside the body. */
.events-list__card--photo {
	flex-direction: column;
	padding: 0;
	gap: 0;
	overflow: hidden;
}

.events-list__photo {
	position: relative;
	aspect-ratio: 4 / 3;
}

.events-list__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.events-list__date--overlay {
	position: absolute;
	top: 14px;
	left: 14px;
}

.events-list__card--photo .events-list__body {
	padding: var(--space-sm);
}

/* ==========================================================================
   Blog teasers (native WP posts)
   ========================================================================== */

.blog-teasers__card {
	display: flex;
	flex-direction: column;
}

.blog-teasers__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 1rem;
	background: var(--color-placeholder);
}

.blog-teasers__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog-teasers__title {
	font-size: 1.2rem;
	margin-bottom: 0.4rem;
}

.blog-teasers__title a {
	color: inherit;
	text-decoration: none;
}

.blog-teasers__byline {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: 0.6rem;
}

.blog-teasers__excerpt {
	color: var(--color-text-muted);
	margin-bottom: 0.5rem;
}

/* ==========================================================================
   Info band (e.g. membership/donate pitch — heading + paragraph + linked
   contact methods)
   ========================================================================== */

.info-band {
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-lg) var(--space-md);
	align-items: center;
}

.info-band__text {
	color: var(--color-text-muted);
	margin-bottom: 0;
}

.info-band__links li:not(:last-child) {
	margin-bottom: 0.75rem;
}

.info-band__links a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
}

.info-band__links i {
	color: var(--color-accent);
	width: 1.1em;
}

.info-band--with-image .info-band__heading-wrap {
	max-width: 46ch;
	margin-inline: auto;
}

.info-band__divider {
	width: 120px;
	margin: var(--space-sm) auto var(--space-md);
	border: 0;
	border-top: 2px solid var(--color-accent);
	opacity: 1;
}

.info-band__image {
	max-width: 100%;
	max-height: 260px;
	width: auto;
}

.info-band__image--inline {
	max-height: 160px;
	flex-shrink: 0;
}

.info-band__list {
	padding-left: 1.2em;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* ==========================================================================
   Single event (ojji-events plugin's ojji_event post type)
   ========================================================================== */

.single-event__meta {
	color: var(--color-text-muted);
	font-size: 0.95rem;
}

.single-event__meta i {
	color: var(--color-accent);
	margin-right: 0.3rem;
}

.single-event__photo {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-placeholder);
}

.single-event__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-event__content {
	color: var(--color-text);
}

.single-event__content :is(h2, h3) {
	margin-top: 2rem;
}

/* ==========================================================================
   Single post (single.php -- native WordPress blog posts)
   ========================================================================== */

.single-post__meta {
	color: var(--color-text-muted);
	font-size: 0.95rem;
}

.single-post__photo {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-placeholder);
}

.single-post__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-post__content {
	color: var(--color-text);
	font-size: 1.05rem;
	line-height: 1.7;
}

.single-post__content :is(h2, h3) {
	margin-top: 2rem;
}

.single-post__content p {
	margin-bottom: 1.25rem;
}

.single-post__content img {
	border-radius: var(--radius-lg);
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Place cards (e.g. nearby attractions, referral partners)
   ========================================================================== */

.place-cards__card {
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
}

.place-cards__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-ink);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.place-cards__name {
	font-size: 1.15rem;
	margin-bottom: 0.4rem;
}

.place-cards__text {
	color: var(--color-text-muted);
	font-size: 0.92rem;
	margin-bottom: 0.6rem;
}

.place-cards__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-bottom: 0.3rem;
}

.place-cards__meta i {
	color: var(--color-accent);
	width: 1em;
}

.place-cards__meta a {
	color: inherit;
}

.place-cards__rows {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	column-gap: 2rem;
}

.place-cards__row {
	padding-block: 1rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.place-cards__row-name {
	font-weight: 600;
}

.place-cards__row-meta {
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

/* ==========================================================================
   Ojji Forms (plugin) -- restyles the plugin's own neutral/theme-agnostic
   classes to match this design system, rather than the plugin depending on
   Bootstrap being present at all (it isn't; this is purely additive).
   ========================================================================== */

.ojji-form__field label {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.ojji-form__required {
	color: var(--color-accent);
}

.ojji-form__field input[type="text"],
.ojji-form__field input[type="email"],
.ojji-form__field input[type="tel"],
.ojji-form__field input[type="date"],
.ojji-form__field input[type="datetime-local"],
.ojji-form__field input[type="file"],
.ojji-form__field textarea {
	border-radius: 12px;
	border: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 1rem;
}

.ojji-form__field input:focus,
.ojji-form__field textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 0.2rem rgba(44, 90, 134, 0.15);
}

.ojji-form__field--invalid input,
.ojji-form__field--invalid textarea {
	border-color: #c0392b;
}

.ojji-form__hint,
.ojji-form__field-error {
	font-family: var(--font-body);
}

.ojji-form__error-banner {
	border-radius: 12px;
	font-family: var(--font-body);
}

.ojji-form__submit {
	--bs-btn-border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	background: var(--color-ink);
	transition: background-color 0.15s ease;
}

.ojji-form__submit:hover {
	background: var(--color-accent);
}

.ojji-form__success {
	border-radius: var(--radius-lg);
	font-family: var(--font-body);
}

/* ==========================================================================
   Ojji Jobs (plugin) -- restyles the plugin's own neutral/theme-agnostic
   classes (its archive/single templates only render when this theme has no
   archive-ojji_job.php / single-ojji_job.php of its own) to match this
   design system. Purely additive, same pattern as Ojji Forms above.
   ========================================================================== */

.ojji-jobs-archive__container,
.ojji-job-single__container {
	max-width: 840px;
	padding-block: var(--space-lg) var(--space-xl);
}

.ojji-jobs-archive__title,
.ojji-job-single__title {
	font-family: var(--font-heading);
}

.ojji-jobs-search {
	border-radius: var(--radius-lg);
	border-color: var(--color-border);
	background: var(--color-bg-alt);
}

.ojji-jobs-search__field label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.ojji-jobs-search__field input,
.ojji-jobs-search__field select {
	border-radius: 10px;
	border-color: var(--color-border);
	font-family: var(--font-body);
}

.ojji-jobs-search__submit {
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 600;
	background: var(--color-ink);
}

.ojji-jobs-search__submit:hover {
	background: var(--color-accent);
}

.ojji-job-card {
	border-radius: var(--radius-lg);
	border-color: var(--color-border);
	background: var(--color-bg-alt);
}

.ojji-job-card__title {
	font-family: var(--font-heading);
}

.ojji-job-card__link {
	color: var(--color-accent);
}

.ojji-job-card__meta,
.ojji-job-single__meta {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ojji-job-single__share a,
.ojji-job-single__share button {
	border-radius: 999px;
	border-color: var(--color-border);
	font-family: var(--font-body);
}

.ojji-job-single__share a:hover,
.ojji-job-single__share button:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.ojji-job-single__photo img {
	border-radius: var(--radius-lg);
}

.ojji-job-single__apply {
	border-top-color: var(--color-border);
}

.ojji-job-single__apply h2 {
	font-family: var(--font-heading);
}

/* ==========================================================================
   Ojji Gallery (plugin) -- restyles the plugin's own neutral/theme-agnostic
   classes to match this design system. Purely additive, same pattern as
   Ojji Forms / Ojji Jobs above.
   ========================================================================== */

.ojji-gallery--grid .ojji-gallery__item,
.ojji-gallery--carousel .ojji-gallery__item {
	border-radius: var(--radius-lg);
	background: var(--color-placeholder);
}

.ojji-gallery__nav {
	border-color: var(--color-border);
	color: var(--color-ink);
}

.ojji-gallery__nav:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.ojji-gallery-lightbox__caption {
	font-family: var(--font-body);
}
