/*
Theme Name: Geithus Helsesenter
Author: Geithus Helsesenter
Description: A calm, accessible block theme for Geithus Helsesenter.
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.10.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geithus-helsesenter
Tags: block-patterns, full-site-editing, accessibility-ready, translation-ready
*/

html {
	scroll-behavior: smooth;
}

body {
	overflow-wrap: break-word;
	text-wrap: pretty;
}

:where(h1, h2, h3) {
	text-wrap: balance;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 3px;
}

a {
	text-underline-offset: 0.16em;
	text-decoration-thickness: 0.08em;
}

a:hover {
	text-decoration-thickness: 0.12em;
}

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > footer {
	margin-block-start: auto;
}

.site-header {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.gh-header-emergency {
	font-size: var(--wp--preset--font-size--small);
	margin-block-start: 0 !important;
	padding-block: 0.65rem;
}

.gh-header-emergency .wp-block-group {
	gap: 0.35rem 2rem;
}

.gh-header-emergency p {
	margin-block: 0;
}

.gh-header-emergency a {
	color: var(--wp--preset--color--white);
	font-weight: 800;
}

.gh-operational-notice {
	background: var(--wp--preset--color--soft-green);
	border-bottom: 1px solid var(--wp--preset--color--border);
	margin-block-start: 0 !important;
}

.gh-operational-notice--important {
	background: var(--wp--preset--color--emergency-pale);
	border-color: var(--wp--preset--color--emergency);
}

.gh-operational-notice__inner {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	padding: 0.8rem var(--wp--preset--spacing--40);
}

.site-header .wp-block-site-title a,
.site-footer .wp-block-site-title {
	text-decoration: none;
}

.site-header .wp-block-site-logo {
	flex: 0 1 15rem;
	margin: 0;
}

/* Match core's image sizing when the bundled logo is rendered as inline SVG. */
.gh-themed-logo {
	border-radius: inherit;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

.wp-block-site-logo.is-default-size .gh-themed-logo {
	width: 120px;
}

.site-header .custom-logo {
	display: block;
	height: auto;
	max-width: 100%;
	width: clamp(12rem, 20vw, 15rem);
}

.site-header > .wp-block-group > * {
	margin-block-start: 0 !important;
}

.gh-primary-navigation a {
	font-weight: 650;
}

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

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

.gh-footer-grid {
	display: grid !important;
	grid-template-columns: 1.1fr 1fr 1fr;
	gap: var(--wp--preset--spacing--60);
	align-items: start;
}

.gh-footer-grid > * {
	margin-block-start: 0 !important;
}

.gh-footer-meta {
	border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--40);
}

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

.gh-footer-credit {
	opacity: 0.82;
}

.gh-footer-meta-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--30) !important;
}

.wp-block-navigation-item__content,
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close,
.wp-element-button,
.wp-block-button__link {
	min-height: 44px;
}

.wp-block-navigation-item__content,
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	display: inline-flex;
	align-items: center;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	justify-content: center;
}

.wp-element-button,
.wp-block-button__link {
	border: 2px solid var(--wp--preset--color--clinic-green);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: normal;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--deep-green) !important;
	border-color: var(--wp--preset--color--deep-green);
	color: var(--wp--preset--color--white) !important;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--wp--preset--color--clinic-green);
	color: var(--wp--preset--color--clinic-green);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--soft-green) !important;
	border-color: var(--wp--preset--color--deep-green);
	color: var(--wp--preset--color--deep-green);
}

.wp-element-button:active,
.wp-block-button__link:active {
	background-color: var(--wp--preset--color--ink) !important;
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white) !important;
}

.wp-element-button[aria-disabled="true"],
.wp-block-button__link[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.65;
}

.gh-home-intro p {
	max-width: 42rem;
}

.gh-foundation-notice {
	max-width: 46rem;
}

.gh-section {
	scroll-margin-top: 2rem;
}

.gh-section-heading {
	max-width: 44rem;
}

.gh-eyebrow {
	color: var(--wp--preset--color--clinic-green);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gh-hero {
	overflow: hidden;
}

.gh-hero__grid,
.gh-contact-grid,
.gh-practical-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60);
	align-items: start;
}

.gh-hero__grid {
	grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.8fr);
	align-items: center;
}

.gh-hero__panel,
.gh-info-card,
.gh-practical-card,
.gh-staff-card {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	overflow: hidden;
}

.gh-clinic-summary {
	background: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--50);
}

.gh-clinic-summary > :first-child,
.gh-open-status > :first-child {
	margin-top: 0;
}

.gh-clinic-summary > :last-child,
.gh-open-status > :last-child {
	margin-bottom: 0;
}

.gh-open-status {
	background: var(--wp--preset--color--warm-white);
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid var(--wp--preset--color--muted-ink);
	border-radius: var(--wp--custom--radius--small);
	font-size: var(--wp--preset--font-size--small);
	margin-block: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

.gh-open-status--open {
	border-left-color: var(--wp--preset--color--clinic-green);
}

.gh-open-status--closed {
	border-left-color: var(--wp--preset--color--emergency);
}

.gh-open-status div {
	align-items: center;
	display: flex;
	gap: 0.55rem;
}

.gh-open-status p {
	color: var(--wp--preset--color--muted-ink);
	margin-block: 0.35rem 0;
}

.gh-status-dot {
	background: var(--wp--preset--color--muted-ink);
	border-radius: 50%;
	flex: 0 0 0.7rem;
	height: 0.7rem;
	width: 0.7rem;
}

.gh-open-status--open .gh-status-dot {
	background: var(--wp--preset--color--clinic-green);
}

.gh-open-status--closed .gh-status-dot {
	background: var(--wp--preset--color--emergency);
}

.gh-clinic-details > * {
	background: var(--wp--preset--color--warm-white);
}

.gh-actions,
.gh-staff-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60);
}

.gh-staff-grid {
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gh-doctor-grid {
	display: grid !important;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gh-doctor-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: var(--wp--preset--spacing--40);
}

.gh-doctor-card__header {
	align-items: start;
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: 4.5rem minmax(0, 1fr);
	min-height: 9rem;
}

.gh-doctor-card__identity > * {
	margin-block: 0;
}

.gh-doctor-card__photo,
.gh-doctor-card__initials {
	align-items: center;
	background: var(--wp--preset--color--soft-green);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.875rem;
	box-sizing: border-box;
	color: var(--wp--preset--color--deep-green);
	display: inline-flex;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 750;
	height: 6rem;
	justify-content: center;
	letter-spacing: 0.03em;
	line-height: 1;
	margin: 0;
	width: 4.5rem;
}

.gh-doctor-card__photo {
	object-fit: cover;
	object-position: center 30%;
}

.gh-doctor-card__role {
	color: var(--wp--preset--color--muted-ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 650;
	margin-block-start: 0.2rem;
}

.gh-doctor-card__badge {
	border: 1px solid transparent;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 750;
	line-height: 1;
	margin-block-start: 0.55rem !important;
	padding: 0.32rem 0.55rem;
	width: fit-content;
}

.gh-doctor-card__badge--available {
	background: var(--wp--preset--color--soft-green);
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--deep-green);
}

.gh-doctor-card__badge--waitlist {
	background: #fbf0d8;
	border-color: #e7cc94;
	color: #755100;
}

.gh-doctor-card__badge--unavailable {
	background: var(--wp--preset--color--warm-white);
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--muted-ink);
}

.gh-doctor-card__status {
	border-top: 1px solid var(--wp--preset--color--border);
	margin-block-start: var(--wp--preset--spacing--40);
	padding-block-start: var(--wp--preset--spacing--40);
}

.gh-doctor-card__status > * {
	margin-block: 0;
}

.gh-doctor-card__status-label {
	color: var(--wp--preset--color--muted-ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 650;
}

.gh-doctor-card__metric {
	color: var(--wp--preset--color--deep-green);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 750;
	line-height: 1.25;
	margin-block-start: 0.15rem !important;
}

.gh-doctor-card__detail,
.gh-doctor-choice__source {
	color: var(--wp--preset--color--muted-ink);
	font-size: var(--wp--preset--font-size--small);
}

.gh-doctor-card__detail {
	margin-block-start: 0.15rem !important;
}

.gh-doctor-card__action {
	margin-block: auto 0 !important;
	padding-block-start: var(--wp--preset--spacing--40);
}

.gh-doctor-card__action,
.gh-doctor-card__action .wp-block-button__link {
	width: 100%;
}

.gh-doctor-card__action .wp-block-button__link {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.2;
	padding-inline: 0.7rem;
}

.gh-doctor-card__action-label,
.gh-doctor-card__action-meta {
	display: block;
}

.gh-doctor-card__action-label {
	font-size: 1rem;
}

.gh-doctor-card__action-meta {
	font-size: 0.78rem;
	font-weight: 650;
	margin-block-start: 0.16rem;
	opacity: 0.86;
}

.gh-doctor-choice__footer {
	margin-block-start: var(--wp--preset--spacing--50);
}

.gh-doctor-choice__footer > * {
	margin-block: 0;
}

/* WordPress flow layouts add top margins between sibling blocks. Grid gap is
 * the only spacing mechanism inside these components. */
.gh-hero__grid > *,
.gh-contact-grid > *,
.gh-practical-grid > *,
.gh-actions > *,
.gh-staff-grid > * {
	margin-block-start: 0 !important;
	margin-block-end: 0;
}

.gh-doctor-grid > * {
	box-sizing: border-box;
	height: 100%;
	margin-block: 0 !important;
}

.gh-action-card {
	align-content: start;
	align-items: center;
	border-radius: 1.5rem !important;
	box-shadow: 0 0.45rem 1.2rem color-mix(in srgb, var(--wp--preset--color--deep-green) 9%, transparent);
	column-gap: clamp(1rem, 2vw, 1.5rem);
	display: grid;
	grid-template-areas:
		"icon heading"
		"description description"
		"link link";
	grid-template-columns: clamp(4rem, 5vw, 5rem) minmax(0, 1fr);
	grid-template-rows: auto 1fr auto;
	min-height: 100%;
	position: relative;
	row-gap: var(--wp--preset--spacing--40);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.gh-action-card > * {
	margin-block: 0 !important;
	margin-inline: 0 !important;
	max-width: none !important;
	width: auto;
}

.gh-action-card__icon {
	align-items: center;
	align-self: center;
	background: var(--wp--preset--color--soft-green);
	border-radius: 1rem;
	color: var(--wp--preset--color--deep-green);
	display: flex;
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	grid-area: icon;
	height: clamp(4rem, 6vw, 4.75rem);
	justify-content: center;
	line-height: 1;
	width: clamp(4rem, 6vw, 4.75rem);
}

.gh-action-card > .wp-block-heading {
	grid-area: heading;
	line-height: 1.25;
}

.gh-action-card > p:not(.gh-action-card__link) {
	align-self: start;
	grid-area: description;
}

.gh-action-card .gh-action-card__link {
	align-self: end;
}

.gh-action-card:focus-within {
	box-shadow: 0 0 0 3px var(--wp--preset--color--white), 0 0 0 6px var(--wp--preset--color--clinic-green);
	outline: none;
}

@media (hover: hover) and (pointer: fine) {
	.gh-action-card:hover {
		box-shadow: 0 1rem 2.1rem color-mix(in srgb, var(--wp--preset--color--deep-green) 16%, transparent);
		transform: translateY(-0.2rem) scale(1.018);
	}
}

.gh-action-card__title {
	color: var(--wp--preset--color--deep-green);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.2;
}

.gh-action-card .gh-action-card__link {
	grid-area: link;
}

.gh-action-card .gh-action-card__link a,
.gh-practical-card .gh-action-card__link a {
	align-items: center;
	color: var(--wp--preset--color--clinic-green);
	display: inline-flex;
	font-weight: 700;
	min-height: 44px;
	position: static;
}

.gh-action-card .gh-action-card__link a::after {
	content: "";
	inset: 0;
	position: absolute;
}

.gh-action-card .gh-action-card__link a:focus-visible {
	outline: none;
}

.gh-contact-guide,
.gh-health-feed,
.gh-departures {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
}

.gh-guide-list {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--50);
}

.gh-guide-item {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	overflow: hidden;
}

.gh-guide-item summary {
	color: var(--wp--preset--color--deep-green);
	cursor: pointer;
	font-weight: 700;
	list-style-position: inside;
	min-height: 44px;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.gh-guide-item[open] summary {
	background: var(--wp--preset--color--soft-green);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.gh-guide-item__answer {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
}

.gh-guide-item__answer > :first-child,
.gh-health-card > :first-child,
.gh-departures > :first-child {
	margin-top: 0;
}

.gh-guide-item__answer > :last-child,
.gh-health-card > :last-child,
.gh-departures > :last-child {
	margin-bottom: 0;
}

.gh-guide-item__link,
.gh-health-card__link a {
	font-weight: 700;
}

.gh-guide-emergency {
	background: var(--wp--preset--color--emergency-pale);
	border-left: 4px solid var(--wp--preset--color--emergency);
	margin-top: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.gh-health-grid {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: var(--wp--preset--spacing--50);
}

.gh-contact-grid,
.gh-practical-grid,
.gh-price-grid,
.gh-local-price-grid,
.gh-page-grid,
.gh-page-link-grid,
.gh-emergency-grid {
	align-items: stretch;
}

.gh-contact-grid > *,
.gh-practical-grid > *,
.gh-actions > *,
.gh-staff-grid > *,
.gh-health-grid > *,
.gh-price-grid > *,
.gh-local-price-grid > *,
.gh-page-grid > *,
.gh-page-link-grid > *,
.gh-emergency-grid > * {
	box-sizing: border-box;
	height: 100%;
}

.gh-health-card,
.gh-departures {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	padding: var(--wp--preset--spacing--50);
}

.gh-health-card {
	display: flex;
	flex-direction: column;
}

.gh-health-card__link {
	margin-top: auto;
}

.gh-departure-table-wrap {
	overflow-x: auto;
}

.gh-departure-table {
	border-collapse: collapse;
	width: 100%;
}

.gh-departure-table :where(th, td) {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 0.75rem 0.5rem;
	text-align: left;
}

.gh-departure-table :where(th, td):last-child {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.editor-styles-wrapper .gh-editor-dynamic-block {
	background: var(--wp--preset--color--soft-green);
	border: 1px dashed var(--wp--preset--color--clinic-green);
	border-radius: var(--wp--custom--radius--medium);
	padding: var(--wp--preset--spacing--40);
}

.editor-styles-wrapper .gh-editor-dynamic-block p {
	margin-bottom: 0;
}

.gh-urgent a {
	color: var(--wp--preset--color--white);
	font-weight: 800;
}

.gh-contact-list,
.gh-hours-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gh-contact-list li,
.gh-hours-list li {
	padding-block: 0.35rem;
}

.gh-contact-list a {
	font-weight: 700;
}

.gh-staff-photo {
	align-content: center;
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--soft-green);
	display: grid;
	gap: var(--wp--preset--spacing--20);
	place-items: center;
	text-align: center;
}

.gh-staff-photo__initials {
	color: var(--wp--preset--color--deep-green);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 750;
	line-height: 1;
}

.gh-staff-photo__label {
	color: var(--wp--preset--color--muted-ink);
	font-size: var(--wp--preset--font-size--small);
}

.gh-staff-photo__initials,
.gh-staff-photo__label {
	margin-block: 0;
}

.gh-staff-placeholder {
	align-items: center;
	color: var(--wp--preset--color--deep-green);
	display: flex;
	font-size: clamp(6rem, 10vw, 8rem);
	height: 8rem;
	justify-content: center;
	line-height: 1;
	margin-inline: auto;
	width: 8rem;
}

.gh-staff-card__content {
	padding: var(--wp--preset--spacing--40);
}

.gh-staff-card__content > :first-child,
.gh-practical-card > :first-child,
.gh-info-card > :first-child {
	margin-top: 0;
}

.gh-staff-card__content > :last-child,
.gh-practical-card > :last-child,
.gh-info-card > :last-child {
	margin-bottom: 0;
}

.gh-placeholder-note {
	border-left: 4px solid var(--wp--preset--color--clinic-green);
}

.gh-pattern-instruction {
	color: var(--wp--preset--color--muted-ink);
	font-size: var(--wp--preset--font-size--small);
	font-style: italic;
}

.gh-source-link {
	font-size: var(--wp--preset--font-size--small);
}

.gh-price-status {
	border-left: 4px solid var(--wp--preset--color--clinic-green);
	font-size: var(--wp--preset--font-size--small);
	margin-bottom: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--white);
}

.gh-price-status--warning {
	border-color: var(--wp--preset--color--focus);
}

.gh-price-grid,
.gh-local-price-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60);
	align-items: stretch;
}

.gh-price-grid > *,
.gh-local-price-grid > * {
	margin-block: 0 !important;
}

.gh-price-card,
.gh-local-price-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	overflow: hidden;
	padding: var(--wp--preset--spacing--50);
}

.gh-price-card > :first-child,
.gh-local-price-card > :first-child {
	margin-top: 0;
}

.gh-price-card > :last-child,
.gh-local-price-card > :last-child {
	margin-bottom: 0;
}

.gh-price-table-wrap,
.gh-local-price-card .wp-block-table {
	margin: 0;
	overflow-x: auto;
}

.gh-price-table,
.gh-local-price-card .wp-block-table table {
	border: 0;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	table-layout: auto;
	width: 100%;
}

.gh-price-table :where(th, td),
.gh-local-price-card .wp-block-table :where(th, td) {
	border: 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--border) !important;
	padding: 0.8rem 0.5rem;
	text-align: left;
	vertical-align: top;
}

.gh-price-table thead th,
.gh-price-table tbody th,
.gh-local-price-card .wp-block-table thead th,
.gh-local-price-card .wp-block-table tbody th {
	font-weight: 700;
}

.gh-price-table th:last-child,
.gh-price-table td:last-child,
.gh-local-price-card .wp-block-table th:last-child,
.gh-local-price-card .wp-block-table td:last-child {
	text-align: right;
	white-space: nowrap;
}

.gh-price-table tbody tr:last-child :where(th, td),
.gh-local-price-card .wp-block-table tbody tr:last-child :where(th, td) {
	border-bottom: 0 !important;
}

.gh-price-note,
.gh-price-source {
	font-size: var(--wp--preset--font-size--small);
}

.gh-local-price-section {
	margin-top: var(--wp--preset--spacing--70);
}

.gh-no-show-card {
	border-left: 4px solid var(--wp--preset--color--clinic-green);
	margin-top: var(--wp--preset--spacing--60);
}

.gh-internal-page > .wp-block-post-title {
	max-width: 52rem;
}

.gh-internal-page .wp-block-post-content > :first-child {
	margin-top: 0;
}

.gh-page-intro {
	max-width: 48rem;
}

.gh-page-section {
	margin-top: var(--wp--preset--spacing--70);
}

.gh-page-grid,
.gh-page-link-grid,
.gh-emergency-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50);
	align-items: stretch;
}

.gh-page-grid > *,
.gh-page-link-grid > *,
.gh-emergency-grid > * {
	margin-block: 0 !important;
}

.gh-page-card,
.gh-page-callout,
.gh-emergency-card {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	padding: var(--wp--preset--spacing--50);
}

.gh-page-card,
.gh-page-callout {
	background: var(--wp--preset--color--warm-white);
}

.gh-page-card > :first-child,
.gh-page-callout > :first-child,
.gh-emergency-card > :first-child {
	margin-top: 0;
}

.gh-page-card > :last-child,
.gh-page-callout > :last-child,
.gh-emergency-card > :last-child {
	margin-bottom: 0;
}

.gh-page-callout {
	border-left: 4px solid var(--wp--preset--color--clinic-green);
}

.gh-page-callout--provisional {
	background: var(--wp--preset--color--soft-green);
}

.gh-page-link-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gh-page-link-list li + li {
	margin-top: var(--wp--preset--spacing--30);
}

.gh-page-link-list a {
	font-weight: 700;
}

.gh-emergency-card {
	background: var(--wp--preset--color--white);
}

.gh-emergency-card--critical {
	background: var(--wp--preset--color--deep-green);
	color: var(--wp--preset--color--white);
}

.gh-emergency-card--critical :where(h2, h3, a) {
	color: var(--wp--preset--color--white);
}

.gh-emergency-number {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
}

@media (min-width: 48.0625rem) {
	.gh-doctor-card__identity h3 {
		min-height: 3.45em;
	}
}

@media (max-width: 64rem) {
	.gh-actions {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 48rem) {
	.gh-doctor-card__header {
		min-height: 0;
	}

	.site-header > .wp-block-group {
		align-items: center;
	}

	.site-header .wp-block-site-logo {
		flex-basis: 11rem;
	}

	.site-header .custom-logo {
		width: 11rem;
	}

	.gh-header-emergency .wp-block-group {
		align-items: flex-start;
		flex-direction: column;
	}

	.gh-home-intro {
		padding-top: var(--wp--preset--spacing--60) !important;
		padding-bottom: var(--wp--preset--spacing--60) !important;
	}

	.gh-hero__grid,
	.gh-contact-grid,
	.gh-practical-grid,
	.gh-actions,
	.gh-staff-grid,
	.gh-doctor-grid,
	.gh-footer-grid,
	.gh-price-grid,
	.gh-local-price-grid,
	.gh-page-grid,
	.gh-page-link-grid,
	.gh-emergency-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.gh-health-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.gh-action-card {
		align-items: start;
		column-gap: var(--wp--preset--spacing--40);
		grid-template-areas:
			"icon heading"
			"icon description"
			"icon link";
		grid-template-columns: 3.75rem minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		padding: var(--wp--preset--spacing--40) !important;
		row-gap: 0.55rem;
	}

	.gh-action-card__icon {
		align-self: center;
		font-size: 2.25rem;
		height: 3.75rem;
		width: 3.75rem;
	}

	.gh-section {
		padding-top: var(--wp--preset--spacing--60) !important;
		padding-bottom: var(--wp--preset--spacing--60) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

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