/* Header and navigation. The template-part wrapper is the sticky element: sticking the inner
   group would only keep it pinned within a wrapper that is exactly its own height. */
.wp-block-template-part:has(> .gph-site-header) {
	position: sticky;
	top: 0;
	z-index: 20;
}

/* The logo's near-white lettering needs a dark bar. */
.gph-site-header {
	--gph-chrome-line: color-mix(in srgb, var(--wp--preset--color--gold) 35%, transparent);
	border-block-end: 1px solid var(--gph-chrome-line);
	background: var(--wp--preset--color--onyx);
	box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 35%);
	color: var(--wp--preset--color--white);
}

.gph-site-header :focus-visible,
.gph-site-footer :focus-visible,
.gph-section--dark :focus-visible,
.gph-hero :focus-visible,
.gph-page-hero :focus-visible,
.gph-cta-band :focus-visible {
	outline-color: var(--wp--preset--color--gold);
}

body.admin-bar .wp-block-template-part:has(> .gph-site-header) {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* WordPress un-fixes the admin bar below 600px, so the header should sit flush at the top there. */
@media (max-width: 600px) {
	body.admin-bar .wp-block-template-part:has(> .gph-site-header) {
		top: 0;
	}
}

.gph-site-header__inner {
	min-height: 5.25rem;
	gap: clamp(1rem, 3vw, 2.5rem);
}

.gph-brand {
	text-decoration: none;
}

.gph-brand__logo {
	flex: 0 1 14rem;
}

.gph-brand__logo img {
	width: min(14rem, 52vw);
	height: auto;
	object-fit: contain;
}

.gph-brand__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1rem, 1.8vw, 1.3rem);
	line-height: 1.1;
}

.gph-brand__tagline {
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.gph-site-header .wp-block-navigation-item__content {
	min-height: 2.75rem;
	display: flex;
	align-items: center;
	color: var(--wp--preset--color--white);
	font-weight: 600;
}

.gph-site-header .wp-block-navigation-item__content:hover,
.gph-site-header .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--gold);
}

/* Core gives dropdowns a white panel, which would hide the white links. */
.gph-site-header .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border: 1px solid var(--gph-chrome-line);
	background: var(--wp--preset--color--onyx);
	color: var(--wp--preset--color--white);
}

.gph-site-header .wp-block-navigation__responsive-container-open,
.gph-site-header .wp-block-navigation__responsive-container-close {
	min-width: 3rem;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gph-chrome-line);
	color: var(--wp--preset--color--gold);
}

.gph-site-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem var(--gph-gutter);
	background: var(--wp--preset--color--onyx) !important;
	color: var(--wp--preset--color--white) !important;
}

/* Mobile overlay: a left-aligned, grouped list instead of core's right-justified, widely gapped stack. */
.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	--navigation-layout-justification-setting: stretch;
	align-items: stretch;
	width: min(100%, 32rem);
	margin-inline: auto;
	padding-top: 3.5rem;
}

.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch;
	gap: 0;
	width: 100%;
}

.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: stretch;
	width: 100%;
	text-align: start;
}

.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	border-block-end: 1px solid var(--gph-chrome-line);
}

.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	width: 100%;
	min-height: 3rem;
	padding-block: 0.5rem;
	font-size: 1.125rem;
}

/* Group labels (Puppies, Great Danes, Our Kennel) read as small headings above their links. */
.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation-item__content {
	min-height: 2.75rem;
	padding-block: 0.75rem 0.25rem;
	color: var(--wp--preset--color--gold);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container {
	gap: 0;
	min-width: 0;
	margin: 0 0 0.75rem;
	padding: 0 0 0 1rem;
	border-inline-start: 2px solid var(--wp--preset--color--gold);
	background: transparent;
}

.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 1rem;
}

.gph-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: 0;
	right: 0;
}

/* Footer. */
.gph-site-footer {
	border-block-start: 4px double var(--wp--preset--color--gold);
	background: var(--wp--preset--color--onyx);
	color: var(--wp--preset--color--antique);
}

.gph-site-footer a {
	color: var(--wp--preset--color--antique);
}

.gph-site-footer a:hover,
.gph-site-footer a:focus-visible {
	color: var(--wp--preset--color--gold);
}

.gph-site-footer h2,
.gph-site-footer h3 {
	color: var(--wp--preset--color--parchment);
}

.gph-footer-logo img {
	width: min(13.75rem, 70vw);
	height: auto;
	object-fit: contain;
}

.gph-footer-brand {
	max-width: 30rem;
}

.gph-footer-copy {
	max-width: 36rem;
	margin-block: 1.25rem 0;
	color: var(--wp--preset--color--antique);
	line-height: 1.75;
}

.gph-footer-heading {
	margin-block-start: 0;
	text-align: right;
}

.gph-site-footer .wp-block-navigation__container {
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	row-gap: 0.5rem;
}

.gph-footer-meta {
	color: var(--wp--preset--color--antique);
}

.gph-footer-meta p {
	margin-block: 0;
}

/* Editorial patterns. */
.gph-hero {
	position: relative;
	overflow: hidden;
	min-height: min(48rem, 78vh);
	display: flex;
	align-items: center;
	background: var(--wp--preset--color--field-night);
	color: var(--wp--preset--color--parchment);
}

.gph-hero h1,
.gph-hero h2 {
	color: var(--wp--preset--color--parchment);
}

.gph-hero::after {
	content: "";
	position: absolute;
	inset: 1rem;
	pointer-events: none;
	border: 1px solid rgb(201 162 74 / 34%);
}

.gph-hero__content {
	position: relative;
	z-index: 1;
	padding-block: clamp(6rem, 12vw, 10rem);
}

/* Homepage composition. The gradient is the fallback; an editor-chosen Group background image replaces it. */
.gph-home-hero {
	min-height: min(50rem, 82vh);
	background:
		radial-gradient(circle at 82% 24%, rgb(201 162 74 / 18%) 0 1px, transparent 2px),
		linear-gradient(118deg, var(--wp--preset--color--field-night) 0 62%, var(--wp--preset--color--forest) 62% 100%);
	background-size: 1.5rem 1.5rem, auto;
}

/* Mirror the photograph onto its own layer so the dog's head clears the left-aligned copy, then darken it for legible text. */
.gph-home-hero[style*="background-image"] {
	isolation: isolate;
}

.gph-home-hero[style*="background-image"]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: inherit;
	background-position: 30% 40%;
	background-size: cover;
	transform: scaleX(-1);
}

.gph-home-hero[style*="background-image"]::after {
	inset: 0;
	border: 0;
	background:
		linear-gradient(90deg, rgb(17 17 16 / 92%) 0%, rgb(17 17 16 / 78%) 42%, rgb(17 17 16 / 30%) 75%, rgb(17 17 16 / 15%) 100%),
		linear-gradient(0deg, rgb(17 17 16 / 45%) 0%, transparent 35%);
	box-shadow: inset 0 0 0 1rem transparent, inset 0 0 0 calc(1rem + 1px) rgb(201 162 74 / 34%);
}

@media (max-width: 48rem) {
	/* Text spans the full width on narrow screens, so the overlay darkens evenly. */
	.gph-home-hero[style*="background-image"]::before {
		background-position: 30% 35%;
	}

	.gph-home-hero[style*="background-image"]::after {
		background: linear-gradient(0deg, rgb(17 17 16 / 92%) 0%, rgb(17 17 16 / 78%) 55%, rgb(17 17 16 / 55%) 100%);
	}
}

.gph-home-hero__lede {
	max-width: 58ch;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.gph-home-intro__panel {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4rem);
	border: 1px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--parchment);
}

.gph-home-intro__panel h3 {
	color: var(--wp--preset--color--parchment);
}

.gph-home-showcase .gph-listing {
	padding-block: clamp(1.5rem, 4vw, 3rem);
}

.gph-home-showcase .gph-results-count {
	display: none;
}

.gph-home-breed-card {
	height: 100%;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid var(--gph-border);
	border-block-start: 3px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--paper);
}

.gph-home-process-step {
	height: 100%;
	padding-block-start: 1.25rem;
	border-block-start: 1px solid var(--wp--preset--color--brass);
}

.gph-home-process-step .gph-numbered-section__number {
	display: block;
	margin-block-end: 0.75rem;
}

@media (max-width: 48rem) {
	.gph-home-hero {
		min-height: auto;
		background: var(--wp--preset--color--field-night);
	}
}

.gph-page-hero {
	padding-block: clamp(3.5rem, 7vw, 6rem);
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--parchment);
}

.gph-page-hero h1 {
	color: var(--wp--preset--color--parchment);
	font-size: clamp(2.125rem, 8vw, 3.25rem);
	line-height: 1.08;
}

.gph-page-hero p:not(.gph-kicker) {
	max-width: 62ch;
	font-size: clamp(1rem, 1.6vw, 1.125rem);
}

@media (min-width: 64rem) {
	.gph-page-hero h1 {
		font-size: clamp(3.25rem, 4.5vw, 4rem);
	}
}

.gph-contact-guidance {
	height: 100%;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid var(--gph-border);
	border-block-start: 3px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--paper);
}

.gph-contact-guidance .wp-block-heading:not(:first-child) {
	margin-block-start: 2rem;
}

.gph-editorial-grid,
.gph-fact-grid,
.gph-process-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}

.gph-fact-grid > *,
.gph-process-grid > * {
	margin-block: 0;
}

.gph-editorial-card {
	padding-block-start: 1.25rem;
	border-block-start: 2px solid var(--wp--preset--color--forest);
}

.gph-numbered-section {
	position: relative;
	padding: clamp(1.5rem, 4vw, 3rem) 0;
	border-block-start: 1px solid var(--gph-border);
}

.gph-numbered-section__number {
	color: var(--wp--preset--color--saddle);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.35rem;
	font-style: italic;
}

.gph-photo-field {
	min-height: 18rem;
	display: grid;
	place-items: center;
	border: 1px solid var(--gph-border);
	background: repeating-linear-gradient(135deg, var(--wp--preset--color--antique) 0 1px, var(--wp--preset--color--paper) 1px 12px);
	color: var(--wp--preset--color--saddle);
}

.gph-photo-field p {
	max-width: 30ch;
	padding: 0.75rem;
	background: rgb(255 255 255 / 94%);
	font-size: 0.8rem;
	text-align: center;
}

.gph-cta-band {
	padding: clamp(2rem, 5vw, 4rem);
	border-block: 1px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--field-night);
	color: var(--wp--preset--color--parchment);
}

.gph-cta-band :where(h2, h3) {
	color: var(--wp--preset--color--parchment);
}

.gph-cta-band .wp-block-button__link {
	border-color: var(--wp--preset--color--brass);
	background: var(--wp--preset--color--brass);
	color: var(--wp--preset--color--forest);
}

.gph-cta-band .is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--parchment);
}

.gph-cta-band .wp-block-button__link:hover,
.gph-cta-band .wp-block-button__link:focus-visible {
	border-color: var(--wp--preset--color--parchment);
	background: var(--wp--preset--color--parchment);
	color: var(--wp--preset--color--forest);
}

@media (max-width: 30rem) {
	.gph-cta-band .wp-block-buttons,
	.gph-cta-band .wp-block-button,
	.gph-cta-band .wp-block-button__link {
		width: 100%;
	}
}

.gph-form-unavailable {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--wp--preset--color--brass);
	border-inline-start-width: 4px;
	background: var(--wp--preset--color--paper);
}

.gph-form-unavailable h2 {
	margin-block-start: 0;
}

.gph-form-unavailable p {
	margin-block-end: 0;
}

/* Dynamic listing views. */
.gph-listing {
	width: min(1200px, calc(100% - 2 * var(--gph-gutter)));
	margin-inline: auto;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.gph-filter {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 1rem;
	align-items: end;
	padding: clamp(1rem, 3vw, 1.75rem);
	border: 1px solid var(--gph-border);
	background: var(--wp--preset--color--paper);
}

.gph-filter__field {
	display: grid;
	gap: 0.45rem;
}

.gph-filter label,
.gph-filter__label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gph-filter select {
	width: 100%;
	min-height: 3rem;
	padding-inline: 0.75rem;
	border: 1px solid var(--wp--preset--color--saddle);
	border-radius: 2px;
	background: var(--wp--preset--color--parchment);
	color: var(--wp--preset--color--charcoal);
	font: inherit;
}

.gph-filter__fixed {
	min-height: 3rem;
	display: flex;
	align-items: center;
	padding-inline: 0.75rem;
	border: 1px solid var(--gph-border);
	background: var(--wp--preset--color--antique);
}

.gph-filter__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 3rem;
}

.gph-results-count {
	margin-block: 1.5rem;
	font-weight: 600;
}

.gph-card-grid,
.gph-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}

/* Puppy and parent cards: at most three per row on wide screens, fewer as space runs out. */
.gph-puppy-listing .gph-card-grid,
.gph-parent-listing .gph-card-grid {
	--gph-card-gap: clamp(1.25rem, 3vw, 2rem);
	grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 17rem), calc((100% - 2 * var(--gph-card-gap)) / 3)), 1fr));
	gap: var(--gph-card-gap);
}

.gph-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gph-border);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--charcoal);
}

.gph-section--dark .gph-card :where(h2, h3, h4) {
	color: var(--wp--preset--color--forest);
}

.gph-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--antique);
}

.gph-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gph-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.25rem;
}

.gph-card__body h3 {
	margin: 0;
	font-size: 1.5rem;
}

.gph-card__body h3 a {
	color: inherit;
	text-decoration: none;
}

.gph-card__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.gph-card__actions {
	margin-block-start: auto;
}

.gph-card__facts,
.gph-fact-list {
	margin: 0;
}

.gph-card__facts div,
.gph-fact-list div {
	display: grid;
	grid-template-columns: minmax(7rem, 35%) 1fr;
	gap: 1rem;
	padding-block: 0.65rem;
	border-block-end: 1px solid var(--gph-border);
}

.gph-card__facts dt,
.gph-fact-list dt {
	color: var(--wp--preset--color--saddle);
	font-size: 0.85rem;
	font-weight: 600;
}

.gph-card__facts dd,
.gph-fact-list dd {
	margin: 0;
}

.gph-status {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 1.75rem;
	padding: 0.25rem 0.5rem;
	border: 1px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--antique);
	color: var(--wp--preset--color--forest);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gph-status--available {
	background: #f6efd9;
	color: #5c4710;
}

.gph-media-placeholder {
	width: 100%;
	height: 100%;
	min-height: 15rem;
	display: grid;
	place-items: center;
	background: repeating-linear-gradient(135deg, #e4e0d4 0 1px, var(--wp--preset--color--antique) 1px 12px);
}

.gph-media-placeholder span {
	padding: 0.5rem 0.75rem;
	background: rgb(255 255 255 / 94%);
	color: var(--wp--preset--color--saddle);
	font-size: 0.75rem;
}

.gph-empty-state {
	padding: clamp(2rem, 5vw, 4rem);
	border: 1px solid var(--gph-border);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--charcoal);
	text-align: center;
}

.gph-empty-state h2 {
	margin-block: 1rem 0.5rem;
	color: var(--wp--preset--color--forest);
}

.gph-empty-state p {
	max-width: 48ch;
	margin-inline: auto;
}

/* Puppy adoption popup. */
body.gph-modal-open {
	overflow: hidden;
}

.gph-puppy-modal[hidden] {
	display: none;
}

.gph-puppy-modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: clamp(0.75rem, 3vw, 2rem);
}

.gph-puppy-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(17 17 16 / 82%);
}

.gph-puppy-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(74rem, 100%);
	max-height: calc(100vh - clamp(1.5rem, 6vw, 4rem));
	overflow: auto;
	border: 1px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--parchment);
	box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 38%);
	color: var(--wp--preset--color--charcoal);
}

.gph-puppy-modal__dialog:focus {
	outline: 3px solid var(--wp--preset--color--saddle);
	outline-offset: 3px;
}

.gph-puppy-modal__close {
	position: sticky;
	z-index: 3;
	top: 0.75rem;
	float: right;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0.75rem 0.75rem -3.5rem 0;
	border: 1px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--parchment);
	color: var(--wp--preset--color--forest);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.gph-puppy-modal__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.85fr);
}

.gph-puppy-modal__information {
	min-width: 0;
	border-inline-end: 1px solid var(--gph-border);
}

.gph-puppy-modal__main-image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--wp--preset--color--antique);
}

.gph-puppy-modal__main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gph-puppy-modal__thumbnails {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	padding: 0.75rem;
	background: var(--wp--preset--color--field-night);
}

.gph-puppy-modal__thumbnail {
	flex: 0 0 5rem;
	width: 5rem;
	height: 4rem;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	background: var(--wp--preset--color--antique);
	cursor: pointer;
}

.gph-puppy-modal__thumbnail:is(.is-active, :focus-visible) {
	border-color: var(--wp--preset--color--brass);
	outline: 2px solid var(--wp--preset--color--parchment);
	outline-offset: 2px;
}

.gph-puppy-modal__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gph-puppy-modal__details,
.gph-puppy-modal__enquiry {
	padding: clamp(1.5rem, 4vw, 3rem);
}

.gph-puppy-modal__details h2,
.gph-puppy-modal__enquiry h2 {
	margin-block-start: 0.35rem;
}

.gph-puppy-modal__description,
.gph-puppy-modal__health,
.gph-puppy-modal__instructions {
	margin-block-start: 2rem;
	padding-block-start: 1.5rem;
	border-block-start: 1px solid var(--gph-border);
}

.gph-puppy-modal__health span {
	display: block;
}

.gph-puppy-modal__enquiry {
	align-self: start;
	background: var(--wp--preset--color--paper);
}

.gph-puppy-modal__enquiry .gph-form-unavailable {
	margin-block: 1.25rem;
	font-size: 0.9rem;
}

.gph-enquiry-preview {
	display: grid;
	gap: 1rem;
}

.gph-enquiry-preview label {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.25rem;
	font-size: 0.82rem;
	font-weight: 600;
}

.gph-enquiry-preview :where(input:not([type="checkbox"]), textarea, select) {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem;
	border: 1px solid var(--gph-border);
	background: var(--wp--preset--color--antique);
	color: var(--wp--preset--color--charcoal);
	font: inherit;
}

/* Keep the required asterisk beside its label; the control takes its own row. */
.gph-enquiry-preview label > :where(input:not([type="checkbox"]), select, textarea) {
	flex-basis: 100%;
}

.gph-enquiry-preview label.gph-enquiry-preview__check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-weight: 400;
}

.gph-puppy-modal__enquiry-intro {
	color: var(--wp--preset--color--saddle);
	font-size: 0.9rem;
}

.gph-enquiry-preview :disabled {
	cursor: not-allowed;
	opacity: 0.72;
}

/* Parent dog cards and profile popup (shares the puppy popup shell and script). */
.gph-parent-card__intro {
	margin: 0;
	color: var(--wp--preset--color--charcoal);
	font-size: 0.95rem;
}

.gph-parent-modal .gph-puppy-modal__dialog {
	width: min(68rem, 100%);
}

.gph-parent-modal__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: start;
}

.gph-parent-modal__media {
	min-width: 0;
	align-self: stretch;
	background: var(--wp--preset--color--field-night);
}

.gph-parent-modal__media .gph-puppy-modal__gallery {
	position: sticky;
	top: 0;
}

.gph-parent-modal__media .gph-puppy-modal__main-image {
	aspect-ratio: 4 / 5;
}

.gph-parent-modal__details {
	min-width: 0;
	padding: clamp(1.5rem, 4vw, 3rem);
}

.gph-parent-modal__details h2 {
	margin-block-start: 0.35rem;
}

.gph-parent-modal__section {
	margin-block-start: 2rem;
	padding-block-start: 1.5rem;
	border-block-start: 1px solid var(--gph-border);
}

.gph-parent-modal__section h3 {
	margin-block: 0 0.75rem;
	font-size: 1.15rem;
}

.gph-parent-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	align-items: center;
	margin-block-start: 2rem;
	padding-block-start: 1.5rem;
	border-block-start: 1px solid var(--gph-border);
}

.gph-parent-modal__review {
	margin-block-end: 1.5rem;
	font-size: 0.9rem;
}

.gph-parent-modal__review ul {
	margin: 0.5rem 0 0;
	padding-inline-start: 1.25rem;
}

@media (max-width: 48rem) {
	.gph-parent-modal__layout {
		grid-template-columns: 1fr;
	}

	.gph-parent-modal__media .gph-puppy-modal__gallery {
		position: static;
	}

	.gph-parent-modal__media .gph-puppy-modal__main-image {
		aspect-ratio: 4 / 3;
	}
}
/* Profiles. */
.gph-profile {
	padding-block-end: var(--gph-section);
}

.gph-profile__hero {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--parchment);
}

.gph-profile__hero h1 {
	color: var(--wp--preset--color--parchment);
}

.gph-profile__media {
	min-height: clamp(22rem, 52vw, 42rem);
}

.gph-profile__media img,
.gph-profile__media .gph-media-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gph-profile__intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.25rem;
	padding: clamp(2rem, 6vw, 5rem);
}

.gph-profile__intro .gph-fact-list div {
	border-color: rgb(255 255 255 / 28%);
}

.gph-profile__intro .gph-fact-list dt {
	color: var(--wp--preset--color--brass);
}

.gph-profile__content,
.gph-profile-section {
	width: min(900px, calc(100% - 2 * var(--gph-gutter)));
	margin-inline: auto;
	padding-block-start: clamp(3rem, 7vw, 6rem);
}

.gph-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
}

.gph-gallery figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.gph-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gph-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: 1rem;
}

.gph-related-card {
	display: grid;
	gap: 0.4rem;
	padding: 1.25rem;
	border: 1px solid var(--gph-border);
	background: var(--wp--preset--color--paper);
	text-decoration: none;
}

.gph-related-card span {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gph-verification {
	padding: clamp(2rem, 5vw, 4rem);
	border: 1px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--paper);
}

.gph-verification__group + .gph-verification__group {
	margin-block-start: 2rem;
}

.gph-health-list li {
	margin-block: 0.75rem;
}

.gph-health-list span,
.gph-health-list a {
	display: block;
}

.gph-link-list {
	padding: 0;
	list-style: none;
}

.gph-link-list li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.85rem;
	border-block-end: 1px solid var(--gph-border);
}

/* Testimonials and FAQ. */
.gph-testimonials {
	width: min(1200px, calc(100% - 2 * var(--gph-gutter)));
	margin-inline: auto;
}

.gph-testimonial {
	margin: 0;
	padding: 0 0 clamp(1.5rem, 4vw, 2.5rem);
	overflow: hidden;
	border-block-start: 2px solid var(--wp--preset--color--forest);
	background: var(--wp--preset--color--paper);
}

.gph-testimonial blockquote {
	margin: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem) 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-style: italic;
}

.gph-testimonial figcaption {
	display: grid;
	gap: 0.2rem;
	margin: 1.25rem clamp(1.5rem, 4vw, 2.5rem) 0;
	font-size: 0.85rem;
}

.gph-testimonial__image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--antique);
}

.gph-testimonial__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wp-block-gallery.gph-family-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.85rem, 2vw, 1.4rem);
}

.wp-block-gallery.gph-family-gallery > .wp-block-image {
	width: 100% !important;
	margin: 0 !important;
}

.wp-block-gallery.gph-family-gallery > .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid var(--gph-border);
	background: var(--wp--preset--color--antique);
}

@media (max-width: 64rem) {
	.wp-block-gallery.gph-family-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 30rem) {
	.wp-block-gallery.gph-family-gallery {
		grid-template-columns: 1fr;
	}
}

.wp-block-details summary {
	min-height: 3rem;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.1rem;
}

/* Form integration shell. */
.gph-form-slot {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px dashed var(--wp--preset--color--saddle);
	background: var(--wp--preset--color--paper);
}

.gph-form-slot :where(input, select, textarea) {
	max-width: 100%;
	min-height: 3rem;
	border: 1px solid var(--wp--preset--color--saddle);
	border-radius: 2px;
	background: var(--wp--preset--color--paper);
	font: inherit;
}

@media (max-width: 74.99rem) {
	.gph-site-header__inner {
		min-height: 4.75rem;
	}

	.gph-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.gph-site-header .wp-block-navigation__responsive-container-open {
		display: flex;
	}
}

@media (min-width: 75rem) {
	.gph-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: block;
		position: relative;
		z-index: auto;
		width: 100%;
	}

	.gph-site-header .wp-block-navigation__responsive-container-open {
		display: none;
	}
}


@media (max-width: 48rem) {
	.gph-puppy-modal {
		place-items: stretch;
		padding: 0;
	}

	.gph-puppy-modal__dialog {
		width: 100%;
		max-height: 100vh;
		border: 0;
	}

	.gph-puppy-modal__layout {
		grid-template-columns: 1fr;
	}

	.gph-puppy-modal__information {
		border-inline-end: 0;
	}

	.gph-site-footer .wp-block-columns,
	.gph-site-footer .wp-block-column {
		text-align: center;
	}

	.gph-footer-brand {
		max-width: none;
		margin-inline: auto;
	}

	.gph-footer-copy {
		margin-inline: auto;
	}

	.gph-footer-heading {
		text-align: center;
	}

	.gph-footer-logo,
	.gph-footer-logo a,
	.gph-site-footer .wp-block-navigation,
	.gph-site-footer .wp-block-navigation__container {
		justify-content: center;
		margin-inline: auto;
	}

	.gph-footer-logo img {
		width: min(11rem, 56vw);
	}

	.gph-site-footer .wp-block-navigation-item__content {
		padding: 0.35rem 0.5rem;
		text-align: center;
	}

	.gph-footer-meta {
		justify-content: center;
		text-align: center;
	}

	.gph-profile__hero {
		grid-template-columns: 1fr;
	}

	.gph-profile__media {
		min-height: 20rem;
	}

	.gph-card__heading,
	.gph-link-list li {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 24.375rem) {
	.gph-brand__name,
	.gph-brand__tagline {
		display: none;
	}

	.gph-brand__logo img {
		width: min(10rem, 58vw);
	}

	.gph-filter__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.gph-filter__actions .wp-element-button {
		width: 100%;
	}
}
