/* ==========================================================================
   Balihara Ranch — theme styles
   Palette: the Sennenhund tricolour. Coat black, rust, snow.
   Type: Inter Display (headings), Inter (text).
   ========================================================================== */

:root {
	--c-bg: #F5F1EA;
	--c-surface: #EBE4D8;
	--c-snow: #FFFFFF;
	--c-ink: #15120F;
	--c-ink-2: #2A2520;
	--c-muted: #5F574E;
	--c-line: rgba(21, 18, 15, 0.12);
	--c-line-2: rgba(21, 18, 15, 0.22);
	--c-rust: #B04E26;
	--c-rust-d: #93401E;
	--c-rust-l: #E07A48;
	--c-on-dark: #F5F1EA;
	--c-on-dark-2: #B9AFA2;

	--f-display: "Inter Display", "Inter", system-ui, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 56px);
	--sec-y: clamp(80px, 11vw, 150px);
	--gap: clamp(20px, 2.4vw, 32px);
	--r-s: 8px;
	--r-m: 14px;
	--r-l: 22px;
	--header-h: 76px;
	--top: var(--wp-admin--admin-bar--height, 0px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--top) + 16px); }
body {
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	margin: 0;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main { margin-block-start: 0; }
:where(.wp-site-blocks) > * + * { margin-block-start: 0; }

::selection { background: var(--c-rust); color: var(--c-snow); }

:focus-visible { outline: 2px solid var(--c-rust); outline-offset: 3px; border-radius: 4px; }
.br-dark :focus-visible, .br-footer :focus-visible, .br-hero.has-photo :focus-visible { outline-color: var(--c-rust-l); }

.skip-link.screen-reader-text:focus {
	background: var(--c-ink);
	color: var(--c-on-dark);
	z-index: 1000;
	top: calc(var(--top) + 12px);
	left: 12px;
	padding: 14px 20px;
	border-radius: var(--r-s);
	font-weight: 600;
	text-decoration: none;
	clip: auto; clip-path: none; height: auto; width: auto;
}

.br-wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: border-box;
}

.br-muted { color: var(--c-muted); }
.br-mt { margin-top: var(--gap); }

/* ---------- Type ---------- */

.br-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 18px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-rust-d);
}
.br-eyebrow a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.br-eyebrow a:hover { background-size: 100% 1px; }
.br-dark .br-eyebrow, .br-hero.is-type .br-eyebrow { color: var(--c-rust-l); }
.br-hero.has-photo .br-eyebrow { color: rgba(245, 241, 234, 0.88); }

.br-h2, .br-sec h2.wp-block-heading {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(2.25rem, 4.6vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.032em;
	margin: 0 0 20px;
	max-width: 18ch;
	text-wrap: balance;
}
.br-h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
.br-lead, .br-sec p.br-lead {
	font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
	line-height: 1.55;
	color: var(--c-muted);
	max-width: 54ch;
	margin: 0 0 28px;
	text-wrap: pretty;
}
.br-dark .br-lead { color: var(--c-on-dark-2); }

/* ---------- Buttons and links ---------- */

.br-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.br-btn,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--f-body);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
	box-sizing: border-box;
}
.br-btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.br-btn:active, .wp-block-button__link:active { transform: translateY(0) scale(0.98); transition-duration: .08s; }
.br-btn .br-arrow { transition: transform .25s var(--ease); flex: none; }
.br-btn:hover .br-arrow { transform: translateX(3px); }

.br-btn--primary, .wp-block-button__link { background: var(--c-ink); color: var(--c-on-dark); }
.br-btn--primary:hover, .wp-block-button__link:hover { background: var(--c-rust); color: var(--c-snow); }
.br-btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-2); }
.br-btn--ghost:hover { border-color: var(--c-ink); background: rgba(21, 18, 15, 0.05); }
.br-btn--small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }

.br-dark .br-btn--primary, .br-hero .br-btn--primary { background: var(--c-on-dark); color: var(--c-ink); }
.br-dark .br-btn--primary:hover, .br-hero .br-btn--primary:hover { background: var(--c-rust); color: var(--c-snow); }
.br-dark .br-btn--ghost, .br-hero .br-btn--ghost { color: var(--c-on-dark); border-color: rgba(245, 241, 234, 0.4); }
.br-dark .br-btn--ghost:hover, .br-hero .br-btn--ghost:hover { border-color: var(--c-on-dark); background: rgba(245, 241, 234, 0.08); }

.br-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	color: var(--c-ink);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	padding-bottom: 2px;
	transition: background-size .35s var(--ease);
}
a:hover .br-link, .br-link:hover { background-size: calc(100% - 24px) 1px; }
a:hover .br-link .br-arrow, .br-link:hover .br-arrow { transform: translateX(3px); }
.br-arrow { transition: transform .25s var(--ease); }

/* ---------- Header ---------- */

.br-header {
	position: sticky;
	top: var(--top);
	z-index: 60;
	background: rgba(245, 241, 234, 0.9);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--c-line);
	color: var(--c-ink);
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.br-header__inner {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
	flex-wrap: nowrap !important;
}

/* Over the photo hero the header starts transparent. */
body.br-has-type-hero .br-header { position: fixed; left: 0; right: 0; }
body.br-has-photo-hero .br-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--c-on-dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.br-has-photo-hero .br-header.is-scrolled { background: rgba(245, 241, 234, 0.92); color: var(--c-ink); border-color: var(--c-line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
body.br-has-type-hero .br-header:not(.is-scrolled) { background: var(--c-ink); color: var(--c-on-dark); border-color: transparent; }

.br-logo { margin: 0; flex: none; }
.br-logo a, .br-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	color: inherit;
	text-decoration: none;
	min-height: 44px;
}
.br-logo a::before {
	content: "";
	flex: none;
	width: 30px;
	height: 12px;
	border-radius: 999px;
	background:
		radial-gradient(circle at 6px 6px, var(--c-ink) 5px, transparent 5.5px),
		radial-gradient(circle at 15px 6px, var(--c-rust) 5px, transparent 5.5px),
		radial-gradient(circle at 24px 6px, var(--c-snow) 3.6px, var(--c-ink) 4.1px, var(--c-ink) 5px, transparent 5.5px);
	box-shadow: none;
	outline: 1px solid transparent;
}
body.br-has-photo-hero .br-header:not(.is-scrolled) .br-logo a::before,
body.br-has-type-hero .br-header:not(.is-scrolled) .br-logo a::before,
.br-footer .br-logo a::before {
	background:
		radial-gradient(circle at 6px 6px, var(--c-ink-2) 4px, var(--c-on-dark) 4.5px, var(--c-on-dark) 5px, transparent 5.5px),
		radial-gradient(circle at 15px 6px, var(--c-rust-l) 5px, transparent 5.5px),
		radial-gradient(circle at 24px 6px, var(--c-snow) 5px, transparent 5.5px);
}

.br-header .wp-block-navigation { gap: 6px; font-size: 0.9375rem; font-weight: 500; }
.br-header .wp-block-navigation .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	color: inherit;
	text-decoration: none;
	position: relative;
}
.br-header .wp-block-navigation .wp-block-navigation-item:not(.br-nav-cta) .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 10px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}
.br-header .wp-block-navigation .wp-block-navigation-item:not(.br-nav-cta) .wp-block-navigation-item__content:hover::after,
.br-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }

.br-header .br-nav-cta { margin-left: 10px; }
.br-header .br-nav-cta > .wp-block-navigation-item__content {
	background: var(--c-ink);
	color: var(--c-on-dark) !important;
	border-radius: 999px;
	padding: 0 20px !important;
	transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.br-header .br-nav-cta > .wp-block-navigation-item__content:hover { background: var(--c-rust); transform: translateY(-1px); }
.br-header .br-nav-cta > .wp-block-navigation-item__content:active { transform: scale(.98); }
body.br-has-photo-hero .br-header:not(.is-scrolled) .br-nav-cta > .wp-block-navigation-item__content,
body.br-has-type-hero .br-header:not(.is-scrolled) .br-nav-cta > .wp-block-navigation-item__content { background: var(--c-on-dark); color: var(--c-ink) !important; }
body.br-has-photo-hero .br-header:not(.is-scrolled) .br-nav-cta > .wp-block-navigation-item__content:hover,
body.br-has-type-hero .br-header:not(.is-scrolled) .br-nav-cta > .wp-block-navigation-item__content:hover { background: var(--c-rust); color: var(--c-snow) !important; }

/* Mobile menu: full screen. */
.br-header .wp-block-navigation__responsive-container-open,
.br-header .wp-block-navigation__responsive-container-close {
	min-width: 44px; min-height: 44px;
	align-items: center; justify-content: center;
	border-radius: 999px;
	color: inherit;
}
.br-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--c-ink) !important;
	color: var(--c-on-dark) !important;
	padding: calc(var(--top) + 18px) var(--gutter) 32px;
}
.br-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; align-items: flex-start; }
.br-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 4px; align-items: flex-start; }
.br-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--f-display);
	font-size: clamp(2rem, 8vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	padding: 6px 0 !important;
	min-height: 56px;
}
.br-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
.br-header .wp-block-navigation__responsive-container.is-menu-open .br-nav-cta { margin: 24px 0 0; }
.br-header .wp-block-navigation__responsive-container.is-menu-open .br-nav-cta > .wp-block-navigation-item__content {
	background: var(--c-on-dark); color: var(--c-ink) !important;
	font-family: var(--f-body); font-size: 1.0625rem; font-weight: 500; letter-spacing: 0;
	min-height: 56px; padding: 0 28px !important;
}

/* ---------- Home hero ---------- */

.br-hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	grid-template-rows: 1fr auto;
	color: var(--c-on-dark);
	background: var(--c-ink);
	overflow: hidden;
	isolation: isolate;
}
.br-hero__media { position: absolute; inset: 0; z-index: -2; }
.br-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: brHeroImg 1.8s var(--ease-out) both; }
.br-hero.has-photo::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(21, 18, 15, 0.55) 0%, rgba(21, 18, 15, 0.12) 24%, rgba(21, 18, 15, 0.3) 50%, rgba(21, 18, 15, 0.86) 100%);
}
.br-hero__inner {
	align-self: end;
	padding-top: calc(var(--header-h) + var(--top) + 48px);
	padding-bottom: clamp(32px, 5vw, 56px);
}
.br-hero__title {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(3rem, 7.6vw, 7.25rem);
	line-height: 0.96;
	letter-spacing: -0.04em;
	max-width: 13ch;
	margin: 0 0 24px;
	text-wrap: balance;
}
.br-hero__text {
	font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
	line-height: 1.55;
	max-width: 46ch;
	margin: 0;
	color: rgba(245, 241, 234, 0.86);
}
.br-hero__facts { padding-bottom: clamp(24px, 3vw, 40px); }

.br-hero.is-type { --stripe: clamp(10px, 2vw, 30px); }
.br-hero.is-type .br-wrap { padding-right: calc(var(--gutter) + var(--stripe) * 3); }
.br-hero.is-type .br-hero__inner { align-self: center; }
.br-hero.is-type .br-hero__title { font-size: clamp(3.25rem, 9vw, 9.5rem); max-width: 12ch; }
.br-hero__stripe {
	position: absolute;
	top: 0; bottom: 0; right: 0;
	display: grid;
	grid-template-columns: repeat(3, var(--stripe));
	gap: 0;
	z-index: -1;
	animation: brStripe 1.2s var(--ease-out) both;
	transform-origin: top;
}
.br-hero__stripe span:nth-child(1) { background: var(--c-ink-2); }
.br-hero__stripe span:nth-child(2) { background: var(--c-rust); }
.br-hero__stripe span:nth-child(3) { background: var(--c-on-dark); }

.br-stats {
	list-style: none;
	margin: 0;
	padding: 22px 0 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	border-top: 1px solid rgba(245, 241, 234, 0.24);
}
.br-stats li { display: flex; flex-direction: column; gap: 4px; }
.br-stats strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.75rem, 2.6vw, 2.5rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.br-stats span { font-size: 0.9375rem; color: rgba(245, 241, 234, 0.72); }

/* ---------- Entrance (once, on load) ---------- */

[data-enter] .br-enter {
	animation: brIn .9s var(--ease-out) both;
	animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}
@keyframes brIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes brHeroImg { from { transform: scale(1.06); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes brStripe { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Sections ---------- */

.br-sec { padding-block: var(--sec-y); position: relative; }
.br-sec--surface { background: var(--c-surface); }
.br-dark { background: var(--c-ink); color: var(--c-on-dark); }
.br-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.br-sec__head .br-h2, .br-sec__head .br-lead { margin-bottom: 0; }
.br-sec__head > div > .br-lead { margin-top: 16px; }

@media (min-width: 900px) and (min-height: 640px) {
	.br-screen { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
}

.br-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.br-split--even { grid-template-columns: 1fr 1fr; align-items: center; }

/* ---------- Frames and images ---------- */

.br-frame { position: relative; display: block; overflow: hidden; border-radius: var(--r-m); background: var(--c-surface); }
.br-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.br-frame--tall { aspect-ratio: 4 / 5; }
.br-frame--square { aspect-ratio: 1 / 1; }
.br-frame--wide { aspect-ratio: 16 / 11; }
a:hover .br-frame img, a:focus-visible .br-frame img { transform: scale(1.03); }

.br-noimg {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: var(--c-ink);
	color: var(--c-rust-l);
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(4rem, 9vw, 8rem);
	letter-spacing: -0.04em;
	overflow: hidden;
}
.br-noimg::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
	background: linear-gradient(90deg, var(--c-ink-2) 0 33.3%, var(--c-rust) 33.3% 66.6%, var(--c-on-dark) 66.6%);
}

/* ---------- Cards ---------- */

.br-grid { display: grid; gap: clamp(28px, 3vw, 40px) var(--gap); }
.br-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.br-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.br-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	color: inherit;
	text-decoration: none;
	transition: transform .3s var(--ease);
}
.br-card:hover { transform: translateY(-2px); }
.br-card__meta { display: flex; flex-direction: column; gap: 6px; }
.br-card__eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.br-card__titles { font-size: 0.875rem; font-weight: 600; color: var(--c-rust-d); letter-spacing: 0.02em; }
.br-card__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.375rem, 1.8vw, 1.625rem); letter-spacing: -0.02em; line-height: 1.12; }
.br-card__line { color: var(--c-muted); font-size: 0.9375rem; }
.br-card__line em { font-style: normal; color: var(--c-rust-d); font-weight: 600; }
.br-card__health { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--c-line); font-size: 0.8125rem; color: var(--c-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

.br-status {
	position: absolute; top: 14px; left: 14px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.8125rem; font-weight: 600;
	background: var(--c-snow); color: var(--c-ink);
}
.br-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.br-status.is-available { background: var(--c-ink); color: var(--c-on-dark); }
.br-status.is-available::before { background: #5BC27A; }
.br-status.is-reserved::before { background: var(--c-rust); }
.br-status.is-sold, .br-status.is-staying { background: rgba(255, 255, 255, 0.9); color: var(--c-muted); }

.br-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; font-size: 0.75rem; letter-spacing: 0.08em; }

/* ---------- Breeds ---------- */

.br-breeds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.br-breed { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; transition: transform .3s var(--ease); }
.br-breed:hover { transform: translateY(-2px); }
.br-breed .br-frame { margin-bottom: 10px; }
.br-breed__no { font-size: 0.8125rem; font-weight: 600; color: var(--c-rust-d); font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
.br-breed__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.08; letter-spacing: -0.025em; }
.br-breed__text { color: var(--c-muted); font-size: 0.9875rem; line-height: 1.5; }
.br-breed .br-link { margin-top: 6px; align-self: flex-start; }

/* ---------- Litters ---------- */

.br-litters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.br-litter {
	display: grid;
	gap: 22px;
	padding: clamp(18px, 2vw, 26px);
	border-radius: var(--r-l);
	background: var(--c-snow);
	color: inherit;
	text-decoration: none;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
	box-shadow: 0 1px 0 var(--c-line);
}
.br-sec--surface .br-litter { background: var(--c-bg); }
.br-litter:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(21, 18, 15, 0.35); }
.br-litter__meta { display: flex; flex-direction: column; gap: 6px; }
.br-litter .br-link { margin-top: 8px; align-self: flex-start; }

.br-pair { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 14px; container-type: inline-size; }
.br-pair__dog { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.br-pair__dog .br-frame { margin-bottom: 6px; }
.br-pair__role { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.br-pair__name { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; color: inherit; text-decoration: none; }
a.br-pair__name:hover { color: var(--c-rust-d); }
.br-pair__x {
	position: absolute;
	left: 50%;
	top: calc((100cqw - 14px) / 4);
	transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--c-snow);
	color: var(--c-rust);
	font-family: var(--f-display);
	font-weight: 500;
	font-size: 1.375rem;
	line-height: 1;
	box-shadow: 0 6px 18px -8px rgba(21, 18, 15, 0.4);
	z-index: 1;
}
.br-pair.is-large .br-pair__name { font-family: var(--f-display); font-size: clamp(1.125rem, 1.6vw, 1.375rem); letter-spacing: -0.015em; }

.br-past { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.br-past a {
	display: grid;
	grid-template-columns: 160px minmax(0, 1.2fr) minmax(0, 2fr) 24px;
	gap: 20px;
	align-items: center;
	min-height: 64px;
	padding: 12px 0;
	border-bottom: 1px solid var(--c-line);
	color: inherit;
	text-decoration: none;
}
.br-past a:hover .br-arrow { transform: translateX(4px); color: var(--c-rust); }
.br-past__date { color: var(--c-muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.br-past__name { font-weight: 600; }
.br-past__parents { color: var(--c-muted); }

.br-empty {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--r-l);
	border: 1px dashed var(--c-line-2);
}
.br-empty p { margin: 0; font-size: 1.125rem; max-width: 52ch; }

/* ---------- Statement moment ---------- */

.br-statement { background: var(--c-ink); color: var(--c-on-dark); }
.br-statement .br-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.br-statement .br-eyebrow, .br-statement__body { grid-column: 1; }
.br-statement__line {
	grid-column: 1;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(3rem, 8.4vw, 8.5rem);
	line-height: 0.95;
	letter-spacing: -0.045em;
	margin: 0;
	text-wrap: balance;
}
.br-w { display: inline-block; opacity: 0.2; transition: opacity .5s var(--ease), color .5s var(--ease); }
.br-w.is-lit { opacity: 1; }
.br-statement__line .br-w:last-child.is-lit { color: var(--c-rust-l); }
.br-statement__photo { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 4 / 5; align-self: stretch; }
.br-statement__body { max-width: 56ch; color: var(--c-on-dark-2); font-size: 1.125rem; }
.br-statement__body p { margin: 28px 0 0; }
.br-statement__body a { color: var(--c-on-dark); }

/* ---------- Health tiles ---------- */

.br-tests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-line); }
.br-tests li { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2.6vw, 36px) 20px clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--c-line); }
.br-tests li:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--c-line); }
.br-tests strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.5rem, 4.6vw, 4.25rem); letter-spacing: -0.04em; line-height: 1; color: var(--c-rust); }
.br-tests span { color: var(--c-muted); }

/* ---------- Results ---------- */

.br-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.br-result {
	display: grid;
	grid-template-columns: 150px minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 20px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--c-line);
}
.br-results .br-result:has(.br-result__dog:empty) { grid-template-columns: 150px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.3fr); }
.br-result__date { color: var(--c-muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.br-result__show { display: flex; flex-direction: column; gap: 2px; }
.br-result__show strong { font-weight: 600; }
.br-result__show span, .br-result__class { color: var(--c-muted); font-size: 0.9375rem; }
.br-result__dog a { color: inherit; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.br-result__dog a:hover { background-size: 100% 1px; }
.br-result__awards { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.br-result__dog:empty { display: none; }

.br-chip {
	display: inline-flex; align-items: center;
	padding: 5px 11px;
	border-radius: 999px;
	border: 1px solid var(--c-line-2);
	font-size: 0.8125rem; font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.br-chip.is-strong { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark); }
.br-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }

.br-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 0 0 40px; }
.br-filters label { display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; font-weight: 600; }
.br-filters select { min-width: 200px; }

.br-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(40px, 5vw, 64px); }
.br-filter a {
	display: inline-flex; align-items: center;
	min-height: 44px; padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--c-line-2);
	color: inherit; text-decoration: none; font-weight: 500;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.br-filter a:hover { border-color: var(--c-ink); transform: translateY(-1px); }
.br-filter a[aria-current] { background: var(--c-ink); color: var(--c-on-dark); border-color: var(--c-ink); }

.br-group + .br-group { margin-top: clamp(56px, 7vw, 96px); }
.br-group__title { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; margin: 0 0 28px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.br-group__title span { font-size: 1rem; font-weight: 500; color: var(--c-muted); font-variant-numeric: tabular-nums; }

/* ---------- Page heads ---------- */

.br-pagehead { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
.br-pagehead__title {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(3rem, 7vw, 6.5rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
	margin: 0 0 24px;
	max-width: 16ch;
	text-wrap: balance;
}
.br-pagehead--split .br-split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }

/* ---------- Profiles ---------- */

.br-profile { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.br-profile__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.br-profile__media { position: relative; }
@media (min-width: 900px) {
	.br-profile__media.br-frame { position: sticky; top: calc(var(--header-h) + var(--top) + 24px); }
}
.br-profile__text { padding-top: clamp(0px, 2vw, 24px); }
.br-profile__titles { margin: 0 0 6px; font-weight: 600; color: var(--c-rust-d); letter-spacing: 0.02em; font-size: 1.0625rem; }
.br-profile__name {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(2.75rem, 5.4vw, 5.25rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
	margin: 0 0 16px;
	text-wrap: balance;
}
.br-profile__call { margin: 0 0 28px; color: var(--c-muted); font-size: 1.125rem; }
.br-profile__call em { font-style: normal; color: var(--c-ink); font-weight: 600; }
.br-profile--litter .br-profile__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }

.br-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--c-line); }
.br-facts > div { padding: 14px 0; border-bottom: 1px solid var(--c-line); min-width: 0; }
.br-facts dt { font-size: 0.8125rem; color: var(--c-muted); margin-bottom: 3px; }
.br-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.br-ach {
	list-style: none;
	margin: clamp(48px, 6vw, 80px) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 var(--gap);
	border-top: 1px solid var(--c-line);
}
.br-ach li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--c-line); font-weight: 500; }
.br-ach li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-rust); transform: translateY(-1px); }

/* Health table */
.br-health { border-top: 1px solid var(--c-line); }
.br-health__row {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
	gap: 16px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--c-line);
}
.br-health__test { font-weight: 600; display: flex; flex-direction: column; }
.br-health__test small { font-weight: 400; color: var(--c-muted); font-size: 0.875rem; }
.br-health__result { font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; color: var(--c-rust-d); font-variant-numeric: tabular-nums; }
.br-health__date { color: var(--c-muted); font-size: 0.9375rem; }
.br-health__doc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--c-line-2); color: inherit; text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.br-health__doc a:hover { border-color: var(--c-ink); transform: translateY(-1px); }

/* Pedigree */
.br-ped-scroll { overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.br-ped {
	display: grid;
	grid-template-columns: minmax(150px, 0.8fr) repeat(3, minmax(190px, 1fr));
	grid-template-rows: auto repeat(8, minmax(58px, auto));
	gap: 8px 14px;
	min-width: 860px;
}
.br-ped__gen { margin: 0 0 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.br-ped__node {
	align-self: center;
	min-height: 52px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--c-snow);
	border-left: 3px solid var(--c-ink);
	color: inherit;
	text-decoration: none;
	min-width: 0;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.br-sec--surface .br-ped__node { background: var(--c-bg); }
.br-ped__node.is-dam { border-left-color: var(--c-rust); }
.br-ped__node.is-subject { background: var(--c-ink); color: var(--c-on-dark); border-left-color: var(--c-rust-l); }
.br-ped__node.is-unknown { background: transparent; border: 1px dashed var(--c-line-2); color: var(--c-muted); }
a.br-ped__node:hover { transform: translateX(2px); box-shadow: 0 10px 26px -18px rgba(21, 18, 15, 0.45); }
.br-ped__label { font-weight: 600; font-size: 0.9375rem; line-height: 1.25; overflow-wrap: anywhere; }
.br-ped__titles { font-size: 0.75rem; font-weight: 600; color: var(--c-rust-d); }
.br-ped__health { font-size: 0.75rem; color: var(--c-muted); }
.br-ped__node.is-subject .br-ped__label { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -0.015em; }

/* ---------- Prose (pages, posts, dog stories) ---------- */

.br-prose { padding-block: clamp(32px, 5vw, 72px); }
.br-prose > * { max-width: 760px; margin-inline: auto; }
.br-prose > .alignwide { max-width: var(--wrap); }
.br-prose > .alignfull { max-width: none; }
.br-prose p, .br-prose li { font-size: 1.0625rem; line-height: 1.7; }
.br-prose h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.08; }
.br-prose h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-top: 1.6em; }
.br-prose h3 { margin-top: 1.4em; }
.br-prose img { border-radius: var(--r-m); display: block; height: auto; }
.br-prose figure { margin-block: 32px; }
.br-prose .wp-block-gallery { gap: 12px; }
.br-prose .wp-block-gallery img { border-radius: var(--r-s); }
.br-prose a:not(.wp-block-button__link) { color: var(--c-rust-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.br-prose a:not(.wp-block-button__link):hover { color: var(--c-ink); }

/* News list */
.br-news .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) var(--gap); list-style: none; padding: 0; margin: 0; }
.br-news .wp-block-post { display: flex; flex-direction: column; gap: 12px; margin: 0; position: relative; transition: transform .3s var(--ease); }
.br-news .wp-block-post:hover { transform: translateY(-2px); }
.br-news .wp-block-post-featured-image { margin: 0 0 6px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-m); }
.br-news .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.br-news .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.br-news .wp-block-post-date { font-size: 0.875rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.br-news .wp-block-post-title { font-family: var(--f-display); font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.18; letter-spacing: -0.02em; margin: 0; }
.br-news .wp-block-post-title a { color: inherit; text-decoration: none; }
.br-news .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.br-news .wp-block-post-excerpt { color: var(--c-muted); margin: 0; }
.br-news .wp-block-post-excerpt__more-text { display: none; }
.br-news .wp-block-query-pagination { margin-top: 64px; gap: 8px; font-weight: 500; }
.br-news .wp-block-query-pagination a, .br-news .wp-block-query-pagination .current { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line-2); color: inherit; text-decoration: none; }
.br-news .wp-block-query-pagination .current { background: var(--c-ink); color: var(--c-on-dark); border-color: var(--c-ink); }

.br-post-head { padding: clamp(48px, 7vw, 104px) 0 0; }
.br-post-head .wp-block-post-title { font-family: var(--f-display); font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1; letter-spacing: -0.04em; max-width: 18ch; margin: 0 0 20px; }
.br-post-head .wp-block-post-date { color: var(--c-muted); }
.br-post-head .wp-block-post-featured-image { margin-top: 40px; }
.br-post-head .wp-block-post-featured-image img { border-radius: var(--r-l); max-height: 78vh; object-fit: cover; width: 100%; }

/* ---------- Forms ---------- */

.br-form { display: grid; gap: 18px; }
.br-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.br-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.br-field label { font-size: 0.875rem; font-weight: 600; }
.br-form input[type=text], .br-form input[type=email], .br-form select, .br-form textarea, .br-filters select {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid var(--c-line-2);
	background: var(--c-snow);
	color: var(--c-ink);
	font: inherit;
	font-size: 1rem;
	box-sizing: border-box;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.br-form textarea { min-height: 140px; resize: vertical; }
.br-form input:hover, .br-form select:hover, .br-form textarea:hover { border-color: var(--c-muted); }
.br-form input:focus, .br-form select:focus, .br-form textarea:focus, .br-filters select:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(176, 78, 38, 0.25); }
.br-form [aria-invalid=true] { border-color: var(--c-rust-d); }
.br-field__error { color: var(--c-rust-d); font-size: 0.875rem; font-weight: 500; }
.br-field--check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 0.9375rem; line-height: 1.5; cursor: pointer; }
.br-field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-rust); flex: none; }
.br-form .br-btn { justify-self: start; margin-top: 6px; }
.br-form__alert { margin: 0; padding: 14px 18px; border-radius: 12px; background: rgba(176, 78, 38, 0.1); color: var(--c-rust-d); font-weight: 500; }
.br-form-done { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--c-snow); }
.br-form-done:focus { outline: none; }
.br-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.br-enquire .br-split { align-items: start; }
.br-enquire__card { background: var(--c-snow); border-radius: var(--r-l); padding: clamp(24px, 3.4vw, 48px); }
.br-enquire .br-steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: s; border-top: 1px solid var(--c-line); }
.br-enquire .br-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--c-line); color: var(--c-muted); }
.br-enquire .br-steps li::before { content: "0" counter(s); font-weight: 600; color: var(--c-rust-d); font-variant-numeric: tabular-nums; }
.br-enquire .br-steps strong { color: var(--c-ink); font-weight: 600; display: block; }

/* ---------- Footer ---------- */

.br-footer { background: var(--c-ink); color: var(--c-on-dark); padding: clamp(72px, 9vw, 128px) 0 32px; }
.br-footer a { color: var(--c-on-dark); text-decoration: none; }
.br-footer__word {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(3.25rem, 11.5vw, 11rem);
	line-height: 0.9;
	letter-spacing: -0.05em;
	margin: 0 0 clamp(48px, 6vw, 88px);
	color: var(--c-on-dark);
}
.br-footer__word span { color: var(--c-rust-l); }
.br-footer__cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); padding-top: 40px; border-top: 1px solid rgba(245, 241, 234, 0.16); }
.br-footer__cols h2 { font-family: var(--f-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-on-dark-2); margin: 0 0 16px; }
.br-footer__about { color: var(--c-on-dark-2); max-width: 36ch; margin: 16px 0 0; }
.br-footlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.br-footlist a, .br-footlist li { display: inline-flex; align-items: center; min-height: 40px; color: var(--c-on-dark); }
.br-footlist a { background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s var(--ease); }
.br-footlist a:hover { background-size: 100% 1px; color: var(--c-rust-l); }
.br-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; font-size: 0.875rem; color: var(--c-on-dark-2); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.br-breeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.br-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.br-result { grid-template-columns: 120px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr); }
	.br-result__class { display: none; }
	.br-results .br-result:has(.br-result__dog:empty) { grid-template-columns: 120px minmax(0, 1.6fr) minmax(0, 1.3fr); }
	.br-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.br-footer__cols > :first-child { grid-column: 1 / -1; }
	.br-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.br-split, .br-split--even, .br-profile__grid, .br-profile--litter .br-profile__grid, .br-pagehead--split .br-split { grid-template-columns: minmax(0, 1fr); }
	.br-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.br-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.br-litters { grid-template-columns: minmax(0, 1fr); }
	.br-news .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.br-ach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.br-statement .br-wrap { grid-template-columns: minmax(0, 1fr); }
	.br-statement__photo { grid-column: 1; grid-row: auto; max-width: 420px; }
	.br-tests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.br-tests li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
	.br-tests li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--c-line); }
	.br-result { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
	.br-results .br-result:has(.br-result__dog:empty) { grid-template-columns: minmax(0, 1fr) auto; }
	.br-result__date { grid-column: 1 / -1; }
	.br-result__show { grid-column: 1; }
	.br-result__dog { grid-column: 1; }
	.br-result__awards { grid-column: 2; grid-row: 2 / span 2; justify-content: flex-end; }
	.br-past a { grid-template-columns: 110px minmax(0, 1fr) 24px; }
	.br-past__parents { grid-column: 2; grid-row: 2; font-size: 0.9375rem; }
	.br-past .br-arrow { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 700px) {
	.br-ped-scroll { overflow: visible; }
	.br-ped { min-width: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; gap: 8px; }
	.br-ped > * { grid-column: auto !important; grid-row: auto !important; align-self: stretch !important; }
	.br-ped > .br-ped__gen, .br-ped > .is-subject { grid-column: 1 / -1 !important; }
	.br-ped > .br-ped__gen { margin-top: 16px; }
	.br-ped > .br-ped__gen:first-child { margin-top: 0; }
}

@media (max-width: 600px) {
	.br-breeds, .br-grid--3, .br-grid--4, .br-news .wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
	.br-form__row, .br-facts { grid-template-columns: minmax(0, 1fr); }
	.br-ach { grid-template-columns: minmax(0, 1fr); }
	.br-tests { grid-template-columns: minmax(0, 1fr); }
	.br-tests li:nth-child(2n) { padding-left: 0; border-left: 0; }
	.br-actions .br-btn, .br-form .br-btn, .br-empty .br-btn { width: 100%; }
	.br-health__row { grid-template-columns: minmax(0, 1fr) auto; }
	.br-health__date { grid-column: 1; }
	.br-health__doc { grid-column: 2; grid-row: 1 / span 2; }
	.br-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.br-result__awards { grid-column: 1; grid-row: auto; justify-content: flex-start; }
	.br-result { grid-template-columns: minmax(0, 1fr); }
	.br-results .br-result:has(.br-result__dog:empty) { grid-template-columns: minmax(0, 1fr); }
	.br-filters label, .br-filters select { width: 100%; min-width: 0; }
	.br-filters .br-btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.br-w { opacity: 1 !important; }
	[data-enter] .br-enter { opacity: 1; transform: none; }
}

/* Hide the story block when a profile has no text. */
.br-prose:has(> .wp-block-post-content:empty),
.br-prose:has(> .wp-block-post-content > :only-child:empty) { display: none; }
.br-statement .br-wrap:not(:has(.br-statement__photo)) { grid-template-columns: minmax(0, 1fr); }
