/*
BRC OnePage — main stylesheet
Theme: BRC OnePage (brc-onepage) by BRC Host
License: GPL-2.0-or-later

Design system: "neutral chrome, colourful canvas".
- The persistent chrome (header, footer) is brand-neutral — a solid white
  bar and a charcoal base band — so any client brand built in Elementor can
  live under it. Brand colour enters through the page canvas (hero, sections).
- Colours come from theme.json presets and fall back to hex values here, so
  editing the palette in theme.json rebrands the whole site.
- Cool-tinted neutrals, one 1.25 type ratio, 4/8px spacing, pill interactive
  elements, soft panel surfaces, one orchestrated hero entrance and quiet
  scroll reveals (assets/js/theme.js — optional, degrades fully).
- Slot classes (.brc-slot-*) mark replaceable blocks for client content.
*/

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
	/* Brand */
	--brc-primary: var(--wp--preset--color--primary, #02bc7d);
	--brc-primary-dark: #029966;
	--brc-on-primary: #07231a;
	--brc-secondary: var(--wp--preset--color--secondary, #007367);
	--brc-contrast: var(--wp--preset--color--contrast, #1b3a4e);
	--brc-contrast-deep: #142d3d;

	/* Neutral chrome (cool-tinted ink ramp) */
	--brc-ink-900: #10151a;
	--brc-ink-800: #171d23;
	--brc-ink-700: #232b33;
	--brc-grey-500: #52616d;
	--brc-grey-450: #5e6a75;
	--brc-grey-200: #dfe5ea;
	--brc-grey-50: #f7f9fa;

	/* Surfaces */
	--brc-base: var(--wp--preset--color--base, #ffffff);
	--brc-shadow-1: 0 0 0 1px rgba(16, 21, 26, 0.05), 0 1px 2px rgba(16, 21, 26, 0.05), 0 6px 16px -6px rgba(16, 21, 26, 0.12);
	--brc-shadow-2: 0 0 0 1px rgba(16, 21, 26, 0.06), 0 2px 4px rgba(16, 21, 26, 0.06), 0 18px 36px -14px rgba(16, 21, 26, 0.24);

	/* Form */
	--brc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--brc-serif: Georgia, "Times New Roman", serif;
	--brc-line: 1.65;
	--brc-radius: 12px;
	--brc-radius-input: 8px;
	--brc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* Layout (bridged from theme.json; fallbacks match it) */
	--brc-container: var(--wp--style--global--wide-size, 1160px);
	--brc-narrow: var(--wp--style--global--content-size, 760px);
	--brc-space-section: clamp(3.5rem, 9vw, 6rem);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Keep anchor targets clear of the sticky header. */
	scroll-padding-top: 5.5rem;
}

body {
	margin: 0;
	font-family: var(--brc-font);
	font-size: 1.0625rem;
	line-height: var(--brc-line);
	color: var(--brc-ink-700);
	background: var(--brc-base);
	-webkit-font-smoothing: antialiased;
	/* Keep the footer anchored to the viewport bottom on short pages. */
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.brc-site {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

.brc-site-main {
	flex: 1 0 auto;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--brc-ink-800);
	font-weight: 700;
	line-height: 1.22;
	margin: 0 0 0.75em;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--brc-secondary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.14s ease, text-decoration-color 0.14s ease;
}

a:hover {
	color: var(--brc-ink-800);
	text-decoration-color: var(--brc-primary);
}

ul {
	padding-left: 1.25em;
}

/* --------------------------------------------------------------------------
   3. Accessibility
   -------------------------------------------------------------------------- */
.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(--brc-base);
	clip: auto !important;
	clip-path: none;
	color: var(--brc-ink-800);
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 1em 1.5em;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	top: 0;
	left: 0;
}

*:focus-visible {
	outline: 3px solid var(--brc-secondary);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.brc-container {
	width: 100%;
	max-width: var(--brc-container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.brc-narrow {
	max-width: var(--brc-narrow);
}

/* --------------------------------------------------------------------------
   5. Buttons (pill interactive system)
   -------------------------------------------------------------------------- */
.brc-button {
	display: inline-block;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.8em 1.6em;
	border-radius: 999px;
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.14s ease, color 0.14s ease, transform 0.14s var(--brc-ease), box-shadow 0.14s ease;
}

.brc-button-primary {
	background: var(--brc-primary);
	color: var(--brc-on-primary);
}

.brc-button-primary:hover {
	background: var(--brc-primary-dark);
	color: var(--brc-on-primary);
	transform: translateY(-1px);
	box-shadow: var(--brc-shadow-2);
}

.brc-button-ink {
	background: var(--brc-ink-800);
	color: #fff;
}

.brc-button-ink:hover {
	background: var(--brc-ink-900);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--brc-shadow-2);
}

.brc-button-ghost {
	background: transparent;
	color: var(--brc-base);
	border-color: rgba(255, 255, 255, 0.5);
}

.brc-button-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--brc-base);
	border-color: rgba(255, 255, 255, 0.8);
}

.brc-button:active {
	transform: translateY(0);
}

/* --------------------------------------------------------------------------
   6. Header — BRC SLOT: header (neutral solid chrome)
   -------------------------------------------------------------------------- */
.brc-site-header {
	position: sticky;
	top: 0;
	/* above positioned page content while stuck */
	z-index: 50;
	background: var(--brc-base);
	border-bottom: 1px solid rgba(16, 21, 26, 0.07);
	flex-shrink: 0;
}

.brc-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	padding-block: 0.8rem;
}

.brc-branding {
	margin-right: auto;
}

.brc-site-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--brc-ink-800);
	text-decoration: none;
	display: inline-block;
	letter-spacing: -0.01em;
}

.brc-site-title:hover {
	color: var(--brc-secondary);
}

.custom-logo-link {
	display: inline-block;
}

.custom-logo {
	max-height: 56px;
	width: auto;
}

.brc-primary-nav {
	width: 100%;
	order: 3;
}

.brc-menu {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
}

.brc-menu li {
	margin: 0;
}

.brc-menu a {
	display: inline-block;
	padding: 0.4em 0;
	color: var(--brc-ink-700);
	font-weight: 500;
	font-size: 0.975rem;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.35em;
	transition: color 0.14s ease, text-decoration-color 0.14s ease;
}

.brc-menu a:hover,
.brc-menu a:focus-visible {
	color: var(--brc-secondary);
	text-decoration-color: var(--brc-primary);
}

/* Hamburger toggle: hidden on desktop and without JS (menu stays stacked). */
.brc-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	margin-right: calc(clamp(1.25rem, 4vw, 2rem) * -1 + 0.5rem);
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
}

.brc-nav-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 999px;
	background: var(--brc-ink-800);
	transition: transform 0.18s var(--brc-ease), opacity 0.18s ease;
}

.brc-nav-toggle:hover .brc-nav-toggle-bar,
.brc-nav-toggle:focus-visible .brc-nav-toggle-bar {
	background: var(--brc-secondary);
}

.brc-nav-toggle[aria-expanded="true"] .brc-nav-toggle-bar:nth-child(2) {
	transform: translateY(7px) rotate(45deg);
}

.brc-nav-toggle[aria-expanded="true"] .brc-nav-toggle-bar:nth-child(3) {
	opacity: 0;
}

.brc-nav-toggle[aria-expanded="true"] .brc-nav-toggle-bar:nth-child(4) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Phones: with JS the nav becomes a dropdown panel under the header. */
@media (max-width: 919px) {
	html.brc-nav-js .brc-primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		background: var(--brc-base);
		border-bottom: 1px solid rgba(16, 21, 26, 0.08);
		box-shadow: 0 18px 36px -14px rgba(16, 21, 26, 0.24);
		padding-block: 0.5rem 1rem;
	}

	html.brc-nav-js .brc-primary-nav.brc-open {
		display: block;
	}

	html.brc-nav-js .brc-menu {
		flex-direction: column;
		gap: 0;
		margin: 0;
	}

	html.brc-nav-js .brc-menu a {
		display: block;
		padding: 0.9rem clamp(1.25rem, 4vw, 2rem);
		font-size: 1.0625rem;
		border-bottom: 1px solid rgba(16, 21, 26, 0.06);
	}

	html.brc-nav-js .brc-menu li:last-child a {
		border-bottom: none;
	}

	html.brc-nav-js .brc-nav-toggle {
		display: inline-flex;
	}
}

@media (min-width: 920px) {
	.brc-primary-nav {
		width: auto;
		order: 0;
	}

	.brc-menu {
		margin-top: 0;
	}
}

/* --------------------------------------------------------------------------
   7. Hero — BRC SLOT: hero (the free tier's one brand moment)
   -------------------------------------------------------------------------- */
.brc-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--brc-contrast) 0%, var(--brc-contrast-deep) 100%);
	color: var(--brc-base);
	padding-block: clamp(4.5rem, 12vw, 8rem);
	border-radius: 0 0 28px 28px;
}

.brc-hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(38rem 26rem at 88% -12%, rgba(2, 188, 125, 0.30), transparent 62%),
		radial-gradient(30rem 22rem at -8% 110%, rgba(2, 188, 125, 0.12), transparent 60%);
}

.brc-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.brc-hero-inner {
	position: relative;
	z-index: 1;
}

.brc-hero-title {
	color: var(--brc-base);
	font-size: clamp(2.25rem, 6vw, 3.75rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	max-width: 21ch;
	margin-bottom: 0.45em;
}

.brc-hero-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 5px;
	border-radius: 999px;
	background: var(--brc-primary);
	margin-top: 0.55em;
}

.brc-hero-sub {
	color: rgba(255, 255, 255, 0.84);
	font-size: 1.125rem;
	max-width: 46ch;
	margin-bottom: 2.25rem;
}

.brc-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* One orchestrated entrance: hero content rises as the page loads.
   Armed only when JS is present (html.brc-js) and motion is welcome. */
@keyframes brc-rise {
	from {
		opacity: 0;
		transform: translateY(26px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

html.brc-js .brc-hero-title {
	animation: brc-rise 0.65s var(--brc-ease) 0.05s both;
}

html.brc-js .brc-hero-sub {
	animation: brc-rise 0.65s var(--brc-ease) 0.14s both;
}

html.brc-js .brc-hero-actions {
	animation: brc-rise 0.65s var(--brc-ease) 0.22s both;
}

@keyframes brc-drift {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}

	to {
		transform: translate3d(2%, 2.5%, 0) scale(1.04);
	}
}

html.brc-js .brc-hero-bg {
	animation: brc-drift 16s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   8. Generic sections + scroll reveals
   -------------------------------------------------------------------------- */
.brc-section {
	padding-block: var(--brc-space-section);
}

.brc-section-alt {
	background: var(--brc-grey-50);
}

.brc-section-title {
	font-size: clamp(1.5rem, 3.2vw, 1.9rem);
	letter-spacing: -0.015em;
	margin-bottom: 1.1em;
}

.brc-section-title::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	border-radius: 999px;
	background: var(--brc-primary);
	margin-top: 0.45em;
}

/* Reveal-on-scroll (progressive enhancement; see assets/js/theme.js). */
html.brc-js .brc-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.6s var(--brc-ease), transform 0.6s var(--brc-ease);
}

html.brc-js .brc-reveal.brc-in {
	opacity: 1;
	transform: none;
}

/* The services list reveals as staggered children, not as one block. */
html.brc-js .brc-services-list.brc-reveal {
	opacity: 1;
	transform: none;
	transition: none;
}

html.brc-js .brc-services-list .brc-service-item {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s var(--brc-ease), transform 0.55s var(--brc-ease);
}

html.brc-js .brc-services-list.brc-in .brc-service-item {
	opacity: 1;
	transform: none;
}

html.brc-js .brc-services-list.brc-in .brc-service-item:nth-child(2) {
	transition-delay: 0.07s;
}

html.brc-js .brc-services-list.brc-in .brc-service-item:nth-child(3) {
	transition-delay: 0.14s;
}

html.brc-js .brc-services-list.brc-in .brc-service-item:nth-child(4) {
	transition-delay: 0.21s;
}

html.brc-js .brc-services-list.brc-in .brc-service-item:nth-child(5) {
	transition-delay: 0.28s;
}

html.brc-js .brc-services-list.brc-in .brc-service-item:nth-child(6) {
	transition-delay: 0.35s;
}

.brc-about p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Services — BRC SLOT: services
   -------------------------------------------------------------------------- */
.brc-services-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem 2rem;
}

.brc-service-item {
	/* Inner padding so the hover surface reads as a card with breathing room. */
	padding: 1.5rem;
	transition: transform 0.16s var(--brc-ease), box-shadow 0.16s ease;
	border-radius: var(--brc-radius);
}

.brc-service-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--brc-shadow-1);
}

.brc-service-item .brc-icon {
	display: block;
	width: 48px;
	height: 48px;
	padding: 10px;
	border-radius: 999px;
	background: rgba(2, 188, 125, 0.12);
	box-shadow: inset 0 0 0 1px rgba(2, 188, 125, 0.28);
	color: var(--brc-secondary);
	margin-bottom: 1rem;
	transition: background-color 0.16s ease;
}

.brc-service-item:hover .brc-icon {
	background: rgba(2, 188, 125, 0.18);
}

.brc-service-title {
	font-size: 1.125rem;
	margin-bottom: 0.35em;
}

.brc-service-text {
	margin: 0;
	color: var(--brc-grey-500);
	font-size: 1rem;
}

/* Phones: stack the hero CTAs like the Elementor demo (natural-width
   left-aligned pills, ~14px apart). */
@media (max-width: 640px) {
	.brc-hero-actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.9rem;
	}
}

@media (min-width: 680px) {
	.brc-services-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.brc-services-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* --------------------------------------------------------------------------
   10. Testimonials — BRC SLOT: testimonials (one quiet quote)
   -------------------------------------------------------------------------- */
.brc-quote {
	margin: 0;
	text-align: center;
}

.brc-quote .brc-icon {
	display: block;
	margin-inline: auto;
	width: 30px;
	height: 30px;
	padding: 12px;
	border-radius: 999px;
	background: rgba(2, 188, 125, 0.12);
	box-shadow: inset 0 0 0 1px rgba(2, 188, 125, 0.28);
	color: var(--brc-secondary);
	margin-bottom: 1.5rem;
}

.brc-quote blockquote {
	margin: 0 0 1.5rem;
}

.brc-quote blockquote p {
	font-family: var(--brc-serif);
	font-style: italic;
	font-size: clamp(1.25rem, 2.6vw, 1.6rem);
	line-height: 1.5;
	color: var(--brc-ink-800);
	margin: 0;
}

.brc-quote blockquote p::before {
	content: "\201C";
	color: var(--brc-primary-dark);
	margin-right: 0.08em;
}

.brc-quote blockquote p::after {
	content: "\201D";
	color: var(--brc-primary-dark);
	margin-left: 0.08em;
}

.brc-quote figcaption {
	display: grid;
	gap: 0.15rem;
}

.brc-quote-name {
	font-weight: 700;
	color: var(--brc-ink-800);
}

.brc-quote-role {
	font-size: 0.875rem;
	color: var(--brc-grey-450);
}

/* --------------------------------------------------------------------------
   11. Contact — BRC SLOT: contact
   -------------------------------------------------------------------------- */
.brc-contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	margin-bottom: 3rem;
}

@media (min-width: 860px) {
	.brc-contact-grid {
		grid-template-columns: 5fr 7fr;
		gap: 3.5rem;
	}
}

.brc-contact-heading {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.brc-contact-list {
	margin: 0;
}

.brc-contact-row {
	margin-bottom: 1.1rem;
}

.brc-contact-row dt {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--brc-ink-800);
	margin-bottom: 0.15rem;
}

.brc-contact-row dd {
	margin: 0;
}

.brc-form-fallback {
	background: var(--brc-base);
	border-radius: var(--brc-radius);
	box-shadow: var(--brc-shadow-1);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.brc-form-fallback p:last-child {
	margin-bottom: 0;
}

/* Fluent Forms output when the plugin is active. */
.brc-form-plugin .ff-el-group {
	margin-bottom: 1rem;
}

.brc-form-plugin label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.brc-form-plugin input[type="text"],
.brc-form-plugin input[type="email"],
.brc-form-plugin input[type="tel"],
.brc-form-plugin textarea,
.brc-form-plugin select {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	padding: 0.7em 0.95em;
	border: 1px solid #b9c6ce;
	border-radius: var(--brc-radius-input);
	background: var(--brc-base);
	color: var(--brc-ink-700);
	transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.brc-form-plugin input:focus-visible,
.brc-form-plugin textarea:focus-visible,
.brc-form-plugin select:focus-visible {
	border-color: var(--brc-secondary);
	box-shadow: 0 0 0 3px rgba(2, 188, 125, 0.18);
	outline: none;
}

/* Map placeholder — replaced by a Google Maps iframe per client. */
.brc-map-slot {
	display: grid;
	place-items: center;
	gap: 0.35rem;
	min-height: 240px;
	padding: 2.5rem 1rem;
	background: rgba(2, 188, 125, 0.05);
	border: 1px dashed #9ec3b6;
	border-radius: var(--brc-radius);
	text-align: center;
}

.brc-map-slot .brc-icon {
	width: 34px;
	height: 34px;
	color: var(--brc-secondary);
}

.brc-map-text {
	margin: 0;
	font-weight: 600;
	color: var(--brc-ink-800);
}

.brc-map-hint {
	margin: 0;
	font-size: 0.875rem;
	color: var(--brc-grey-450);
}

/* --------------------------------------------------------------------------
   12. Footer (neutral charcoal base)
   -------------------------------------------------------------------------- */
.brc-site-footer {
	background: var(--brc-ink-900);
	color: rgba(255, 255, 255, 0.74);
	padding-block: 2.5rem;
	flex-shrink: 0;
}

.brc-footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 2rem;
	justify-content: space-between;
	align-items: center;
}

.brc-site-footer a {
	color: #fff;
	text-decoration-color: transparent;
	text-underline-offset: 0.25em;
}

.brc-site-footer a:hover {
	color: var(--brc-primary);
	text-decoration-color: var(--brc-primary);
}

.brc-footer-contact,
.brc-footer-credit {
	margin: 0;
	font-size: 0.9375rem;
}

.brc-footer-sep {
	margin-inline: 0.45em;
	opacity: 0.5;
}

/* --------------------------------------------------------------------------
   13. Pages, blog list, 404 (non-builder views)
   -------------------------------------------------------------------------- */
.brc-page-main {
	padding-block: clamp(2.5rem, 7vw, 4.5rem);
}

/* Constrain plain (non-Elementor) page content to a readable measure.
   Elementor adds the body class `elementor-page` when it owns the page, which
   lifts the constraint so builder output is never boxed by the theme. */
body:not(.elementor-page) .brc-page-content,
body:not(.elementor-page) .brc-page-header {
	max-width: var(--brc-narrow);
	margin-inline: auto;
}

.brc-page-header {
	margin-bottom: 1.5rem;
}

.brc-page-links {
	clear: both;
}

/* Blog list (bare usability). */
.brc-post-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.brc-post-item {
	padding-block: 1.4rem;
	border-bottom: 1px solid var(--brc-grey-200);
}

.brc-post-title {
	font-size: 1.375rem;
	margin-bottom: 0.3em;
}

.brc-post-title a {
	text-decoration: none;
}

.brc-post-title a:hover {
	color: var(--brc-ink-800);
	text-decoration: underline;
	text-decoration-color: var(--brc-primary);
}

.brc-post-meta {
	font-size: 0.875rem;
	color: var(--brc-grey-450);
	margin-bottom: 0.6em;
}

.brc-readmore {
	font-weight: 600;
}

/* Pagination and search form. */
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 2rem;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 30rem;
	margin-block: 1.5rem;
}

.search-form input[type="search"],
.search-field {
	font-family: inherit;
	font-size: 1rem;
	padding: 0.65em 0.95em;
	border: 1px solid #b9c6ce;
	border-radius: var(--brc-radius-input);
	flex: 1;
}

.search-form .search-submit {
	border: none;
	border-radius: 999px;
	background: var(--brc-ink-800);
	color: #fff;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	padding: 0.65em 1.4em;
	cursor: pointer;
	transition: background-color 0.14s ease, transform 0.14s var(--brc-ease);
}

.search-form .search-submit:hover {
	background: var(--brc-ink-900);
	transform: translateY(-1px);
}

/* 404 */
.brc-404 .search-form {
	margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   14. Core content classes (alignments, captions, sticky posts)
   -------------------------------------------------------------------------- */
.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	font-size: 0.875rem;
	color: var(--brc-grey-450);
	padding: 0.4em 0 0;
}

.sticky {
	/* Nothing special in the placeholder layout; class kept for core markup. */
}

.bypostauthor {
	/* Nothing special in the placeholder layout; class kept for core markup. */
}

@media print {
	/* Printing forces everything "into view" without scroll events; never
	 let below-fold sections stay hidden. */
	html.brc-js .brc-reveal,
	html.brc-js .brc-services-list .brc-service-item,
	html.brc-js .brc-hero-title,
	html.brc-js .brc-hero-sub,
	html.brc-js .brc-hero-actions {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* --------------------------------------------------------------------------
   15. Reduced motion: a genuine variant, not a kill switch
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	/* Everything is simply visible; nothing waits on motion. */
	html.brc-js .brc-reveal,
	html.brc-js .brc-services-list .brc-service-item,
	html.brc-js .brc-hero-title,
	html.brc-js .brc-hero-sub,
	html.brc-js .brc-hero-actions {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}

	html.brc-js .brc-hero-bg {
		animation: none;
	}

	.brc-button,
	.brc-service-item {
		transform: none;
	}
}
