/*
Theme Name: Veterinaria Giulia Gatti
Theme URI: https://veterinaria-giulia-gatti-nqikn6jfxt.live-website.com/
Author: Veterinaria Giulia Gatti
Description: Tema su misura per il sito di Giulia Gatti, veterinaria a domicilio per cani e gatti. Toni caldi e tranquilli, testi leggibili, contatti sempre a portata di mano anche sul telefono.
Version: 1.0.3
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giuliagatti
*/

/* Written phone first: the base rules are for a 360px screen, and the min-width queries add the
   layouts for wider ones. Breakpoints: 600px (large phones, small tablets), 782px (where WordPress
   puts columns side by side), 1100px (where the full menu fits in the bar). */

/* Tokens ------------------------------------------------------------------------------- */

:root {
	--gg-ink: var(--wp--preset--color--inchiostro);
	--gg-paper: var(--wp--preset--color--latte);
	--gg-cream: var(--wp--preset--color--crema);
	--gg-sage: var(--wp--preset--color--salvia);
	--gg-apricot: var(--wp--preset--color--albicocca);
	--gg-terra: var(--wp--preset--color--terracotta);
	--gg-forest: var(--wp--preset--color--bosco);
	--gg-night: var(--wp--preset--color--notte);
	--gg-muted: var(--wp--preset--color--grafite);
	--gg-line: var(--wp--preset--color--filo);
	--gg-white: var(--wp--preset--color--bianco);
	--gg-urgent: var(--wp--preset--color--urgenza);
	--gg-urgent-soft: #FBEDEB;
	--gg-open: #23824F;
	--gg-closed: #B3661A;
	--gg-radius: 1.25rem;
	--gg-radius-lg: 1.75rem;
	--gg-shadow: 0 1px 2px rgb(28 43 39 / 0.06), 0 12px 32px -18px rgb(28 43 39 / 0.28);
	--gg-bar-h: 4rem;
	--gg-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* Icons: Tabler outline files used as masks, so each takes the colour of the text around it. */
.gg-i-visite { --gg-icon: url("assets/icons/visite.svg"); }
.gg-i-prevenzione { --gg-icon: url("assets/icons/prevenzione.svg"); }
.gg-i-cuccioli { --gg-icon: url("assets/icons/cuccioli.svg"); }
.gg-i-microchip { --gg-icon: url("assets/icons/microchip.svg"); }
.gg-i-esami { --gg-icon: url("assets/icons/esami.svg"); }
.gg-i-terapie { --gg-icon: url("assets/icons/terapie.svg"); }
.gg-i-anziani { --gg-icon: url("assets/icons/anziani.svg"); }
.gg-i-alimentazione { --gg-icon: url("assets/icons/alimentazione.svg"); }
.gg-i-fine-vita { --gg-icon: url("assets/icons/fine-vita.svg"); }
.gg-i-struttura { --gg-icon: url("assets/icons/struttura.svg"); }
.gg-i-casa { --gg-icon: url("assets/icons/casa.svg"); }
.gg-i-calma { --gg-icon: url("assets/icons/calma.svg"); }
.gg-i-ambiente { --gg-icon: url("assets/icons/ambiente.svg"); }
.gg-i-insieme { --gg-icon: url("assets/icons/insieme.svg"); }
.gg-i-tempo { --gg-icon: url("assets/icons/tempo.svg"); }
.gg-i-telefono { --gg-icon: url("assets/icons/telefono.svg"); }
.gg-i-whatsapp { --gg-icon: url("assets/icons/whatsapp.svg"); }
.gg-i-email { --gg-icon: url("assets/icons/email.svg"); }
.gg-i-posizione { --gg-icon: url("assets/icons/posizione.svg"); }
.gg-i-orologio { --gg-icon: url("assets/icons/orologio.svg"); }
.gg-i-calendario { --gg-icon: url("assets/icons/calendario.svg"); }
.gg-i-urgenza { --gg-icon: url("assets/icons/urgenza.svg"); }
.gg-i-attenzione { --gg-icon: url("assets/icons/attenzione.svg"); }
.gg-i-documento { --gg-icon: url("assets/icons/documento.svg"); }
.gg-i-formazione { --gg-icon: url("assets/icons/formazione.svg"); }
.gg-i-dialogo { --gg-icon: url("assets/icons/dialogo.svg"); }

.gg-icon {
	display: inline-block;
	flex: none;
	width: 1.15em;
	height: 1.15em;
	vertical-align: -0.2em;
	background: currentColor;
	-webkit-mask: var(--gg-icon) center / contain no-repeat;
	mask: var(--gg-icon) center / contain no-repeat;
}

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

html {
	scroll-padding-top: 1.25rem;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-kerning: normal;
	overflow-wrap: break-word;
}

/* Fraunces' soft terminals, without its "wonky" leaning letters. */
:where(h1, h2, h3, h4, h5, h6, .gg-brand__name, .gg-display) {
	font-variation-settings: "SOFT" 100, "WONK" 0;
	text-wrap: balance;
}

:where(p, li, dd) {
	text-wrap: pretty;
}

strong {
	font-weight: 650;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

::selection {
	background: var(--gg-forest);
	color: var(--gg-paper);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--gg-terra);
	outline-offset: 3px;
	border-radius: 4px;
}

:where(.gg-footer, .gg-cta, .gg-topbar) :focus-visible {
	outline-color: var(--gg-apricot);
}

.wp-site-blocks {
	overflow-x: clip;
}

/* Header, main and footer meet without the block gap between them. */
.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

/* Bands of colour meet edge to edge. */
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + * {
	margin-block-start: 0;
}

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

/* Read by screen readers, not shown. */
.gg-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Preview notice and the bar above the header --------------------------------------------- */

.gg-preview {
	margin: 0;
	padding: 0.45rem 1.25rem;
	background: var(--gg-apricot);
	color: var(--gg-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.gg-topbar {
	display: none;
	background: var(--gg-forest);
	color: var(--gg-paper);
	font-size: 0.875rem;
	line-height: 1.4;
}

.gg-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem 2rem;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding: 0.55rem var(--wp--style--root--padding-right, 1.25rem) 0.55rem var(--wp--style--root--padding-left, 1.25rem);
	box-sizing: content-box;
}

.gg-topbar p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1.4rem;
	margin: 0;
}

.gg-topbar span:has(> .gg-icon),
.gg-topbar a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.gg-topbar a {
	color: inherit;
	text-decoration: none;
}

.gg-topbar a:hover {
	color: inherit;
	text-decoration: underline;
}

.gg-topbar__urgent {
	font-weight: 700;
}

@media (min-width: 782px) {
	.gg-topbar {
		display: block;
	}
}

/* Availability: a dot and a sentence, written by assets/js/gg.js. */
.gg-status {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 650;
}

.gg-status[hidden] {
	display: none;
}

.gg-status::before {
	content: "";
	flex: none;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--gg-closed);
}

.gg-status.is-open::before {
	background: var(--gg-open);
	box-shadow: 0 0 0 3px rgb(35 130 79 / 0.22);
}

.gg-topbar .gg-status.is-open::before {
	background: #6FD39B;
	box-shadow: 0 0 0 3px rgb(111 211 155 / 0.25);
}

.gg-topbar .gg-status.is-closed::before {
	background: #F2C38B;
}

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

.gg-header-wrap {
	position: relative;
	z-index: 20;
	background: var(--gg-paper);
}

.gg-header {
	border-bottom: 1px solid var(--gg-line);
}

.gg-header__bar {
	min-height: 4.25rem;
	gap: 1rem;
}

.gg-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
	color: var(--gg-ink);
	text-decoration: none;
}

.gg-brand img {
	display: block;
	flex: none;
	width: 40px;
	height: 40px;
}

.gg-brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1;
}

.gg-brand__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	font-weight: 620;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.gg-brand__role {
	margin-top: 0.3rem;
	color: var(--gg-terra);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.gg-brand:hover .gg-brand__name {
	color: var(--gg-forest);
}

@media (min-width: 1100px) {
	.gg-header__bar {
		min-height: 5.25rem;
	}

	.gg-brand img {
		width: 44px;
		height: 44px;
	}

	.gg-brand__name {
		font-size: 1.45rem;
	}
}

/* Menu: the full bar from 1100px; below, the navigation block's overlay. Core switches to the
   overlay only below 600px, but five items and the booking button need about 1050px. */
.gg-nav .wp-block-navigation-item__content {
	padding-block: 0.4rem;
	color: var(--gg-ink);
	text-decoration: none;
}

.gg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover,
.gg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.45em;
	text-decoration-color: var(--gg-apricot);
}

.gg-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__label {
	white-space: nowrap;
}

.gg-nav .gg-nav__cta > .wp-block-navigation-item__content {
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	background: var(--gg-forest);
	color: var(--gg-paper);
	font-weight: 650;
	text-decoration: none !important;
	transition: background-color 0.2s;
}

.gg-nav .gg-nav__cta > .wp-block-navigation-item__content:hover {
	background: var(--gg-night);
	color: var(--gg-paper);
}

@media (min-width: 600px) and (max-width: 1099px) {
	.gg-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.gg-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* The menu button: a round 48px target. */
.gg-nav .wp-block-navigation__responsive-container-open {
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--gg-line);
	border-radius: 50%;
	background: var(--gg-white);
	color: var(--gg-ink);
}

.gg-nav .wp-block-navigation__responsive-container-open svg {
	width: 26px;
	height: 26px;
}

/* The open menu. */
.gg-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem clamp(1.25rem, 5vw, 3rem) 2rem;
}

.gg-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 1.15rem;
	right: clamp(1.25rem, 5vw, 3rem);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--gg-line);
	border-radius: 50%;
	background: var(--gg-white);
}

.gg-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4.75rem;
}

.gg-nav .is-menu-open .wp-block-navigation__container {
	--navigation-layout-justification-setting: flex-start;
	gap: 0.15rem;
	width: 100%;
}

.gg-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.gg-nav .is-menu-open .wp-block-navigation-item:not(.gg-nav__cta) {
	border-bottom: 1px solid var(--gg-line);
}

.gg-nav .is-menu-open .wp-block-navigation-item:not(.gg-nav__cta) > .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding-block: 0.85rem;
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 1.75rem;
	font-weight: 560;
	line-height: 1.2;
}

.gg-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--gg-terra);
}

.gg-nav .is-menu-open .gg-nav__cta {
	margin-top: 1.5rem;
}

.gg-nav .is-menu-open .gg-nav__cta > .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 1rem 1.5rem;
	font-size: 1.0625rem;
	text-align: center;
	box-sizing: border-box;
}

/* Sections and page intros ------------------------------------------------------------------ */

.gg-section {
	padding-block: var(--wp--preset--spacing--70);
}

.gg-section--tight {
	padding-block: var(--wp--preset--spacing--60);
}

.gg-section--flush-top {
	padding-top: 0;
}

.gg-head {
	margin-bottom: var(--wp--preset--spacing--50);
}

.gg-head > * {
	max-width: 40rem;
}

.gg-head.has-text-align-center > *,
.gg-head .has-text-align-center {
	margin-inline: auto;
}

.gg-head h2 {
	margin-block: 0.6rem 0;
}

.gg-head .is-style-gg-lead {
	margin-top: 1rem;
}

.is-style-gg-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--gg-terra);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.is-style-gg-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.is-style-gg-note {
	color: var(--gg-muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

.has-bosco-background-color .is-style-gg-kicker,
.has-notte-background-color .is-style-gg-kicker {
	color: var(--gg-apricot);
}

.gg-intro {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
	background: var(--gg-cream);
}

.gg-intro h1 {
	margin-block: 0.75rem 0;
}

.gg-intro .is-style-gg-lead {
	max-width: 40rem;
	margin-top: 1.1rem;
}

/* Hero ------------------------------------------------------------------------------------- */

.gg-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--70);
}

/* A warm patch of colour behind the photo. */
.gg-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -12rem;
	right: -14rem;
	width: 38rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(244 195 165 / 0.55), rgb(244 195 165 / 0));
}

.gg-hero__grid.wp-block-columns {
	gap: var(--wp--preset--spacing--50);
	align-items: center;
}

.gg-hero h1 {
	margin-block: 0.85rem 1.1rem;
}

.gg-hero .wp-block-buttons {
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.gg-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	margin-top: 1.5rem;
	padding: 0;
	list-style: none;
	color: var(--gg-muted);
	font-size: var(--wp--preset--font-size--small);
}

.gg-hero__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.gg-hero__meta li::before {
	content: "";
	width: 1.05rem;
	height: 1.05rem;
	background: var(--gg-forest);
	-webkit-mask: url("assets/icons/spunta.svg") center / contain no-repeat;
	mask: url("assets/icons/spunta.svg") center / contain no-repeat;
}

.gg-hero__media {
	position: relative;
}

/* An arch, like a doorway: she comes to the door. */
.gg-photo img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: var(--gg-radius-lg);
}

.gg-photo--hero img {
	aspect-ratio: 5 / 6;
	border-radius: 999px 999px var(--gg-radius-lg) var(--gg-radius-lg);
}

.gg-photo--side img {
	aspect-ratio: 4 / 3;
}

.gg-photo--small img {
	aspect-ratio: 4 / 3;
}

.gg-photo figcaption {
	margin-top: 0.6rem;
}

/* Buttons that fill a phone's width are easier to hit. */
@media (max-width: 599px) {
	.gg-hero .wp-block-buttons,
	.gg-actions .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.gg-hero .wp-block-button,
	.gg-actions .wp-block-button,
	.gg-hero .wp-block-button__link,
	.gg-actions .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
}

@media (min-width: 782px) {
	.gg-hero {
		padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--80);
	}

	.gg-hero__grid.wp-block-columns {
		gap: var(--wp--preset--spacing--70);
	}
}

/* The card on the hero photo: today's hours and whether she is available. */
.gg-today {
	position: relative;
	z-index: 1;
	width: min(20rem, calc(100% - 2rem));
	margin: -3.5rem auto 0;
	padding: 1.1rem 1.25rem;
	border-radius: var(--gg-radius);
	background: var(--gg-white);
	box-shadow: var(--gg-shadow);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.gg-today p {
	margin: 0;
}

.gg-today__label {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--gg-terra);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gg-today__line {
	margin-top: 0.4rem !important;
	font-weight: 650;
}

.gg-today__status {
	margin-top: 0.3rem !important;
}

.gg-today__link {
	display: inline-block;
	margin-top: 0.55rem;
	font-size: 0.875rem;
	font-weight: 600;
}

/* Over the photo's corner only where the photo is wide enough to keep most of itself in view; on a
   tablet's narrower column it stays under the photo, as on a phone. */
@media (min-width: 1000px) {
	.gg-today {
		position: absolute;
		bottom: 1.75rem;
		left: -1.75rem;
		margin: 0;
	}
}

/* Quick facts under the hero ------------------------------------------------------------------ */

.gg-quick {
	display: grid;
	gap: 1rem;
	margin-block: 0;
}

.gg-quick__item {
	position: relative;
	padding: 1.35rem 1.35rem 1.35rem 4.5rem;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	background: var(--gg-white);
}

.gg-quick__item::before {
	content: "";
	position: absolute;
	top: 1.3rem;
	left: 1.3rem;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: var(--gg-sage);
}

.gg-quick__item::after {
	content: "";
	position: absolute;
	top: 1.85rem;
	left: 1.85rem;
	width: 1.3rem;
	height: 1.3rem;
	background: var(--gg-forest);
	-webkit-mask: var(--gg-icon) center / contain no-repeat;
	mask: var(--gg-icon) center / contain no-repeat;
}

.gg-quick__item--urgent::before {
	background: var(--gg-urgent-soft);
}

.gg-quick__item--urgent::after {
	background: var(--gg-urgent);
}

.gg-quick__title {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
	line-height: 1.25;
}

.gg-quick__item p {
	margin: 0;
	line-height: 1.5;
}

.gg-quick__item p + p {
	margin-top: 0.5rem;
}

.gg-quick__item a {
	font-weight: 600;
}

@media (min-width: 900px) {
	.gg-quick {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

/* Cards (services) ------------------------------------------------------------------------- */

.gg-cards {
	display: grid;
	gap: 1rem;
}

.gg-cards.gg-cards > * {
	margin: 0;
}

/* On a phone the icon sits beside the title, so six cards take two screens instead of four. From
   600px, in a grid, it sits on top. */
.gg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.2rem 1.2rem 1.25rem 4.6rem;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	background: var(--gg-white);
	transition: border-color 0.2s, box-shadow 0.25s var(--gg-ease), translate 0.25s var(--gg-ease);
}

.gg-card::before {
	content: "";
	position: absolute;
	top: 1.15rem;
	left: 1.15rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--gg-sage);
}

.gg-card::after {
	content: "";
	position: absolute;
	top: 1.75rem;
	left: 1.75rem;
	width: 1.3rem;
	height: 1.3rem;
	background: var(--gg-forest);
	-webkit-mask: var(--gg-icon) center / contain no-repeat;
	mask: var(--gg-icon) center / contain no-repeat;
}

@media (min-width: 600px) {
	.gg-card {
		padding: 5rem 1.4rem 1.4rem;
	}

	.gg-card::before {
		top: 1.4rem;
		left: 1.4rem;
		width: 2.75rem;
		height: 2.75rem;
	}

	.gg-card::after {
		top: 2.05rem;
		left: 2.05rem;
		width: 1.45rem;
		height: 1.45rem;
	}
}

.gg-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.3rem;
	line-height: 1.25;
}

.gg-card p {
	margin: 0;
	color: var(--gg-muted);
	line-height: 1.55;
}

/* The whole card is the link to its section of the services page. */
.gg-card h3 a {
	color: inherit;
	text-decoration: none;
}

.gg-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.gg-card:has(h3 a):hover {
	border-color: color-mix(in srgb, var(--gg-forest) 35%, var(--gg-line));
	box-shadow: var(--gg-shadow);
	translate: 0 -2px;
}

.gg-card:has(h3 a:focus-visible) {
	outline: 3px solid var(--gg-terra);
	outline-offset: 3px;
}

.gg-card h3 a:focus-visible {
	outline: none;
}

.gg-more {
	margin-top: var(--wp--preset--spacing--50);
}

@media (min-width: 600px) {
	.gg-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (min-width: 1000px) {
	.gg-cards--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Media and text side by side ----------------------------------------------------------------- */

.gg-split.wp-block-columns {
	gap: var(--wp--preset--spacing--50);
	align-items: center;
}

.gg-split--top.wp-block-columns {
	align-items: flex-start;
}

.gg-split .wp-block-column > h2:first-child {
	margin-top: 0;
}

.gg-split .wp-block-column > h2:not(:first-child) {
	margin-top: var(--wp--preset--spacing--50);
}

@media (min-width: 782px) {
	.gg-split.wp-block-columns {
		gap: var(--wp--preset--spacing--70);
	}
}

/* Points with an icon (why at home, how I work) ------------------------------------------------ */

.gg-points {
	display: grid;
	gap: 1.4rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.gg-points > li {
	position: relative;
	margin: 0;
	padding-left: 3.6rem;
	line-height: 1.55;
}

.gg-points > li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--gg-cream);
}

.gg-points > li::after {
	content: "";
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	width: 1.3rem;
	height: 1.3rem;
	background: var(--gg-terra);
	-webkit-mask: var(--gg-icon) center / contain no-repeat;
	mask: var(--gg-icon) center / contain no-repeat;
}

.has-crema-background-color .gg-points > li::before {
	background: var(--gg-white);
}

.gg-points strong {
	display: block;
	margin-bottom: 0.2rem;
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
}

@media (min-width: 600px) and (max-width: 781px), (min-width: 1100px) {
	.gg-points--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.75rem 2rem;
	}
}

/* Steps ------------------------------------------------------------------------------------- */

.gg-steps {
	display: grid;
	gap: 1rem;
	counter-reset: gg-step;
}

.gg-steps.gg-steps > * {
	margin: 0;
}

.gg-step {
	position: relative;
	padding: 1.5rem 1.4rem 1.4rem;
	border-radius: var(--gg-radius);
	background: var(--gg-white);
	counter-increment: gg-step;
}

.gg-step::before {
	content: counter(gg-step);
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--gg-forest);
	color: var(--gg-paper);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
}

.gg-step h3 {
	margin: 0 0 0.5rem;
	font-size: 1.3rem;
}

.gg-step p,
.gg-step ul {
	margin: 0;
	color: var(--gg-muted);
	line-height: 1.55;
}

.gg-step > * + * {
	margin-top: 0.6rem;
}

@media (min-width: 900px) {
	.gg-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

/* Four steps: two by two, then one row where they fit. */
@media (min-width: 600px) {
	.gg-steps--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (min-width: 1100px) {
	.gg-steps--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.has-crema-background-color .gg-step {
	background: var(--gg-white);
}

.has-latte-background-color .gg-step,
.gg-section:not(.has-background) .gg-step {
	border: 1px solid var(--gg-line);
}

/* Lists --------------------------------------------------------------------------------------- */

.wp-block-list.is-style-gg-check {
	padding-left: 0;
	list-style: none;
}

.wp-block-list.is-style-gg-check > li {
	position: relative;
	padding-left: 1.85rem;
}

.wp-block-list.is-style-gg-check > li + li {
	margin-top: 0.45rem;
}

.wp-block-list.is-style-gg-check > li::before {
	content: "";
	position: absolute;
	top: 0.3em;
	left: 0;
	width: 1.15rem;
	height: 1.15rem;
	background: var(--gg-forest);
	-webkit-mask: url("assets/icons/spunta.svg") center / contain no-repeat;
	mask: url("assets/icons/spunta.svg") center / contain no-repeat;
}

/* Warning signs (Urgenze): a red dot per line, two columns where there is room. */
.wp-block-list.gg-signs {
	padding-left: 0;
	list-style: none;
}

.wp-block-list.gg-signs > li {
	position: relative;
	padding-left: 1.4rem;
	break-inside: avoid;
}

.wp-block-list.gg-signs > li + li {
	margin-top: 0.55rem;
}

.wp-block-list.gg-signs > li::before {
	content: "";
	position: absolute;
	top: 0.6em;
	left: 0.15rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--gg-urgent);
}

@media (min-width: 782px) {
	.wp-block-list.gg-signs--2 {
		columns: 2;
		column-gap: 2.5rem;
	}

	.wp-block-list.gg-signs--2 > li + li {
		margin-top: 0;
		padding-top: 0.55rem;
	}
}

/* Services page ------------------------------------------------------------------------------- */

.gg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.gg-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.4rem 0.95rem;
	border: 1px solid var(--gg-line);
	border-radius: 999px;
	background: var(--gg-white);
	color: var(--gg-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	box-sizing: border-box;
}

.gg-chips a:hover {
	border-color: var(--gg-forest);
	color: var(--gg-forest);
}

.gg-service {
	position: relative;
	padding-block: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--gg-line);
	scroll-margin-top: 1rem;
}

.gg-service.gg-service > * {
	max-width: 46rem;
}

.gg-service h2 {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 0.85rem;
	font-size: var(--wp--preset--font-size--x-large);
}

/* A sage disc with the service's icon centred on it. */
.gg-service h2::before {
	content: "";
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--gg-sage);
}

.gg-service h2::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0.65rem;
	width: 1.45rem;
	height: 1.45rem;
	translate: 0 -50%;
	background: var(--gg-forest);
	-webkit-mask: var(--gg-icon) center / contain no-repeat;
	mask: var(--gg-icon) center / contain no-repeat;
}

.gg-service p {
	margin-block: 0 0.85rem;
}

/* Wide screens: what it is on the left, what it includes on the right, instead of one narrow
   column with the right half of the page empty. */
@media (min-width: 1000px) {
	.gg-service {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		column-gap: clamp(2.5rem, 5vw, 4.5rem);
		align-items: start;
	}

	.gg-service.gg-service > * {
		max-width: none;
		grid-column: 1;
	}

	.gg-service.gg-service > .wp-block-list {
		grid-column: 2;
		grid-row: 2 / span 3;
		margin-top: 0;
	}
}

/* A box set apart: what cannot be done at home, the first visit, a note. */
.gg-callout {
	padding: clamp(1.4rem, 4vw, 2.25rem);
	border-radius: var(--gg-radius-lg);
	background: var(--gg-sage);
}

.gg-callout > :first-child {
	margin-top: 0;
}

.gg-callout > :last-child {
	margin-bottom: 0;
}

.gg-callout h2,
.gg-callout h3 {
	font-size: var(--wp--preset--font-size--x-large);
}

/* Portrait placeholder (Chi sono) ------------------------------------------------------------------ */

.gg-portrait {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 1.25rem;
	aspect-ratio: 4 / 5;
	/* A placeholder should not fill a phone's screen. */
	max-width: min(100%, 16rem);
	margin: 0 auto;
	border-radius: 999px 999px var(--gg-radius-lg) var(--gg-radius-lg);
	background:
		radial-gradient(circle at 50% 38%, rgb(255 255 255 / 0.55), transparent 55%),
		var(--gg-sage);
	text-align: center;
}

.gg-portrait img {
	width: clamp(4.5rem, 18vw, 7.5rem);
	height: auto;
}

@media (min-width: 782px) {
	.gg-portrait {
		max-width: 30rem;
	}
}

.gg-portrait figcaption {
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.25;
}

.gg-portrait figcaption span {
	display: block;
	margin-top: 0.35rem;
	color: var(--gg-muted);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9375rem;
	font-weight: 500;
}

/* Questions --------------------------------------------------------------------------------------- */

.gg-faq {
	max-width: 50rem;
}

.gg-faq > .wp-block-details {
	margin: 0;
	border-top: 1px solid var(--gg-line);
}

.gg-faq > .wp-block-details:last-child {
	border-bottom: 1px solid var(--gg-line);
}

.gg-faq summary {
	position: relative;
	display: block;
	padding: 1.15rem 3.25rem 1.15rem 0;
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 1.2rem;
	font-weight: 580;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.gg-faq summary::-webkit-details-marker {
	display: none;
}

.gg-faq summary:hover {
	color: var(--gg-forest);
}

/* A plus in a ring that loses its upright stroke when the answer is open. */
.gg-faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.15rem;
	width: 2rem;
	height: 2rem;
	translate: 0 -50%;
	border: 1px solid var(--gg-line);
	border-radius: 50%;
	background:
		linear-gradient(currentColor, currentColor) center / 0.75rem 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 0.75rem no-repeat;
	transition: background-size 0.25s var(--gg-ease), border-color 0.2s;
}

.gg-faq details[open] > summary::after {
	border-color: currentColor;
	background-size: 0.75rem 2px, 2px 0;
}

.gg-faq .wp-block-details > :not(summary) {
	margin: 0 0 1.25rem;
	color: var(--gg-muted);
}

/* Call to action band --------------------------------------------------------------------------- */

.gg-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: var(--wp--preset--spacing--70);
}

.gg-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -10rem;
	bottom: -14rem;
	width: 32rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(244 195 165 / 0.22), transparent);
}

.gg-cta__inner {
	display: grid;
	gap: 1.75rem;
}

.gg-cta h2 {
	margin: 0 0 0.75rem;
	color: inherit;
}

.gg-cta p {
	max-width: 36rem;
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.gg-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.gg-cta__actions .wp-element-button,
.gg-alert .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	text-decoration: none;
}

.gg-btn-light.wp-element-button {
	border-color: var(--gg-paper);
	background: var(--gg-paper);
	color: var(--gg-forest);
}

.gg-btn-light.wp-element-button:hover {
	border-color: var(--gg-apricot);
	background: var(--gg-apricot);
	color: var(--gg-night);
}

.gg-btn-ghost.wp-element-button {
	border-color: rgb(251 247 241 / 0.55);
	background: transparent;
	color: var(--gg-paper);
}

.gg-btn-ghost.wp-element-button:hover {
	border-color: var(--gg-paper);
	background: rgb(251 247 241 / 0.1);
	color: var(--gg-paper);
}

@media (min-width: 600px) {
	.gg-cta__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

@media (min-width: 1000px) {
	.gg-cta__inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: center;
		gap: 3rem;
	}

	.gg-cta__actions {
		justify-content: flex-end;
	}
}

/* Urgent care ----------------------------------------------------------------------------------- */

.gg-alert {
	padding: clamp(1.4rem, 4vw, 2.25rem);
	border: 2px solid var(--gg-urgent);
	border-radius: var(--gg-radius-lg);
	background: var(--gg-urgent-soft);
}

.gg-alert__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.25rem;
	color: var(--gg-urgent);
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 620;
	line-height: 1.2;
}

.gg-alert__grid {
	display: grid;
	gap: 1.5rem;
}

.gg-alert__head {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
}

.gg-alert p {
	margin: 0 0 0.85rem;
}

.gg-btn-urgent.wp-element-button {
	border-color: var(--gg-urgent);
	background: var(--gg-urgent);
	color: var(--gg-white);
}

.gg-btn-urgent.wp-element-button:hover {
	border-color: #8E1D17;
	background: #8E1D17;
	color: var(--gg-white);
}

.gg-btn-urgent-outline.wp-element-button {
	border-color: var(--gg-urgent);
	background: transparent;
	color: var(--gg-urgent);
}

.gg-btn-urgent-outline.wp-element-button:hover {
	background: var(--gg-urgent);
	color: var(--gg-white);
}

@media (max-width: 599px) {
	.gg-alert .wp-element-button {
		width: 100%;
		box-sizing: border-box;
	}
}

@media (min-width: 782px) {
	.gg-alert__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.5rem;
	}
}

/* Contacts, area and hours --------------------------------------------------------------------- */

.gg-contact {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gg-contact li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-height: 2.75rem;
	padding: 0.95rem 1rem 0.95rem 4.25rem;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	background: var(--gg-white);
}

.gg-contact li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 1rem;
	width: 2.4rem;
	height: 2.4rem;
	translate: 0 -50%;
	border-radius: 50%;
	background: var(--gg-sage);
}

.gg-contact li::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 1.55rem;
	width: 1.3rem;
	height: 1.3rem;
	translate: 0 -50%;
	background: var(--gg-forest);
	-webkit-mask: var(--gg-icon) center / contain no-repeat;
	mask: var(--gg-icon) center / contain no-repeat;
}

.gg-contact__label {
	color: var(--gg-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gg-contact a {
	font-size: 1.125rem;
	font-weight: 650;
	overflow-wrap: anywhere;
}

/* The whole row is the link. */
.gg-contact a::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.gg-zone__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gg-zone__list li {
	padding: 0.45rem 1rem;
	border-radius: 999px;
	background: var(--gg-white);
	font-weight: 600;
}

.gg-zone__note {
	margin: 1rem 0 0;
	color: var(--gg-muted);
}

.gg-hours__status {
	margin: 0 0 0.85rem;
}

.gg-hours__status:has([hidden]) {
	display: none;
}

.gg-hours__table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.gg-hours__table th,
.gg-hours__table td {
	padding: 0.7rem 0.75rem;
	border-bottom: 1px solid var(--gg-line);
	text-align: left;
	vertical-align: top;
}

.gg-hours__table th {
	font-weight: 600;
}

.gg-hours__table td {
	text-align: right;
}

.gg-hours__table th {
	white-space: nowrap;
}

.gg-hours__table tr.is-today {
	background: var(--gg-sage);
}

.gg-hours__table tr.is-today th::after {
	content: "oggi";
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	background: var(--gg-forest);
	color: var(--gg-paper);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: 0.1em;
}

/* A time range never breaks in the middle; a day with two ranges wraps between them. */
.gg-slot {
	white-space: nowrap;
}

.gg-hours__note {
	margin: 1rem 0 0;
	color: var(--gg-muted);
	font-size: var(--wp--preset--font-size--small);
}

/* Contact form (Contact Form 7) ------------------------------------------------------------------ */

.gg-form-card {
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	background: var(--gg-white);
}

.gg-form-card > h2 {
	margin-top: 0;
}

.wpcf7 .gg-form {
	display: grid;
	gap: 1.1rem 1.25rem;
}

.wpcf7 .gg-form > p {
	margin: 0;
}

.wpcf7 .gg-form label {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 0.9375rem;
	font-weight: 650;
	line-height: 1.35;
}

.wpcf7 .gg-form label br {
	display: none;
}

/* The label's words and its asterisk are one line: the label itself is a column of text and field. */
.wpcf7 .gg-form .gg-label {
	display: block;
}

.wpcf7 .gg-form .gg-req {
	color: var(--gg-terra);
}

/* :where() keeps this at two classes, so the select's own arrow below is not overridden. */
.wpcf7 .gg-form :where(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	box-sizing: border-box;
	width: 100%;
	min-height: 3.1rem;
	padding: 0.75rem 0.95rem;
	border: 1px solid color-mix(in srgb, var(--gg-ink) 22%, var(--gg-line));
	border-radius: 0.75rem;
	background: var(--gg-paper);
	color: var(--gg-ink);
	/* 16px or more: below that, iPhones zoom the page in on every field. */
	font: inherit;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
}

.wpcf7 .gg-form :is(input, select, textarea):focus {
	border-color: var(--gg-forest);
	outline: 3px solid color-mix(in srgb, var(--gg-forest) 25%, transparent);
	outline-offset: 0;
}

.wpcf7 .gg-form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2B27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 0.85rem center;
	background-repeat: no-repeat;
	background-size: 1.1rem;
}

.wpcf7 .gg-form textarea {
	height: 8.5rem;
	min-height: 6rem;
	resize: vertical;
}

.wpcf7 .gg-form input[type="submit"]:disabled:hover {
	border-color: var(--gg-forest);
	background: var(--gg-forest);
}

.wpcf7 .gg-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7 .gg-form .wpcf7-acceptance label {
	flex-direction: row;
	align-items: flex-start;
	gap: 0.65rem;
	font-weight: 400;
}

.wpcf7 .gg-form input[type="checkbox"] {
	flex: none;
	width: 1.35rem;
	height: 1.35rem;
	margin: 0.05rem 0 0;
	accent-color: var(--gg-forest);
}

.wpcf7 .gg-form input[type="submit"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.85rem 1.75rem;
	border: 2px solid var(--gg-forest);
	border-radius: 999px;
	background: var(--gg-forest);
	color: var(--gg-paper);
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 650;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}

.wpcf7 .gg-form input[type="submit"]:hover {
	border-color: var(--gg-night);
	background: var(--gg-night);
}

.wpcf7 .gg-form input[type="submit"]:disabled {
	opacity: 0.6;
	cursor: progress;
}

.wpcf7 .gg-form .wpcf7-spinner {
	display: block;
	margin: 0.75rem auto 0;
}

.wpcf7 .gg-form .gg-form__small {
	color: var(--gg-muted);
	font-size: 0.875rem;
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-top: 0.35rem;
	color: var(--gg-urgent);
	font-size: 0.875rem;
	font-weight: 600;
}

.wpcf7 .gg-form .wpcf7-not-valid {
	border-color: var(--gg-urgent);
}

.wpcf7 form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.95rem 1.15rem;
	border-radius: 0.75rem;
	font-size: 0.9375rem;
}

/* The field people never see; robots fill it in (functions.php treats that as spam). */
.wpcf7 .gg-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (min-width: 600px) {
	.wpcf7 .gg-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wpcf7 .gg-form > p {
		grid-column: 1 / -1;
	}

	.wpcf7 .gg-form > p.gg-form__half {
		grid-column: auto;
	}

	.wpcf7 .gg-form input[type="submit"] {
		width: auto;
	}

	.wpcf7 .gg-form .wpcf7-spinner {
		display: inline-block;
		margin: 0 0 0 1rem;
	}
}

/* Plain pages (privacy) ------------------------------------------------------------------------- */

.gg-prose {
	padding-top: var(--wp--preset--spacing--50);
}

.gg-prose h2 {
	margin-top: 2.25rem;
	font-size: var(--wp--preset--font-size--x-large);
}

.gg-prose h3 {
	margin-top: 1.75rem;
	font-size: var(--wp--preset--font-size--large);
}

.gg-prose :is(td, th) {
	padding: 0.5rem 0.65rem;
	border: 1px solid var(--gg-line);
	text-align: left;
	vertical-align: top;
}

/* Tables scroll inside themselves on a phone instead of widening the page. */
.gg-prose .wp-block-table {
	overflow-x: auto;
}

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

.gg-footer {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
	background: var(--gg-night);
	color: rgb(251 247 241 / 0.86);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.gg-footer a {
	color: var(--gg-paper);
	text-decoration-color: rgb(251 247 241 / 0.35);
}

.gg-footer a:hover {
	color: var(--gg-apricot);
	text-decoration-color: currentColor;
}

.gg-footer__grid {
	display: grid;
	gap: 2.25rem;
}

.gg-brand--light {
	color: var(--gg-paper);
}

.gg-brand--light .gg-brand__role {
	color: var(--gg-apricot);
}

.gg-brand--light:hover .gg-brand__name {
	color: var(--gg-apricot);
}

.gg-footer__about > p {
	max-width: 24rem;
	margin: 1rem 0 0;
}

.gg-footer__legal {
	color: rgb(251 247 241 / 0.7);
	font-size: 0.8125rem;
	line-height: 1.6;
}

.gg-footer__title {
	margin: 0 0 0.75rem;
	color: var(--gg-paper);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.gg-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gg-footer__list li + li {
	margin-top: 0.4rem;
}

/* The page list in two columns on a phone: eight short links need no full-width rows. */
@media (max-width: 599px) {
	.gg-footer__col:last-child .gg-footer__list {
		columns: 2;
		column-gap: 1.5rem;
	}

	.gg-footer__col:last-child .gg-footer__list li {
		break-inside: avoid;
	}

	.gg-footer__col:last-child .gg-footer__list li + li {
		margin-top: 0;
	}

	.gg-footer__col:last-child .gg-footer__list li {
		padding-bottom: 0.4rem;
	}
}

/* Taller links in the page list: easier to tap. */
.gg-footer__list a {
	display: inline-block;
	padding-block: 0.15rem;
	overflow-wrap: anywhere;
}

.gg-footer__hours {
	margin: 0;
}

.gg-footer__hours div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 1rem;
	padding-block: 0.3rem;
	border-bottom: 1px solid rgb(251 247 241 / 0.12);
}

.gg-footer__hours dt {
	font-weight: 600;
}

.gg-footer__hours dd {
	margin: 0;
	font-variant-numeric: tabular-nums;
}

.gg-footer__note {
	margin: 0.85rem 0 0;
	font-size: 0.875rem;
}

.gg-footer__base {
	display: grid;
	gap: 0.6rem;
	margin-top: var(--wp--preset--spacing--60);
	padding-top: 1.25rem;
	border-top: 1px solid rgb(251 247 241 / 0.14);
	color: rgb(251 247 241 / 0.66);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.gg-footer__base p {
	margin: 0;
}

@media (min-width: 600px) {
	.gg-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.5rem 3rem;
	}
}

@media (min-width: 1100px) {
	.gg-footer__grid {
		grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
	}

	.gg-footer__base {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 2rem;
	}

	.gg-footer__declaration {
		text-align: right;
	}
}

/* Action bar: the three things a phone user wants, always within the thumb's reach. */
.gg-actionbar {
	position: fixed;
	z-index: 30;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-bottom: env(safe-area-inset-bottom, 0px);
	border-top: 1px solid var(--gg-line);
	background: var(--gg-paper);
	box-shadow: 0 -10px 24px -18px rgb(28 43 39 / 0.45);
}

.gg-actionbar a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	min-height: var(--gg-bar-h);
	color: var(--gg-forest);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
}

.gg-actionbar a + a {
	border-left: 1px solid var(--gg-line);
}

.gg-actionbar .gg-icon {
	width: 1.45rem;
	height: 1.45rem;
}

.gg-actionbar .gg-actionbar__main {
	border-left: 0;
	background: var(--gg-forest);
	color: var(--gg-paper);
}

.gg-actionbar a:active {
	background: var(--gg-sage);
}

.gg-actionbar .gg-actionbar__main:active {
	background: var(--gg-night);
}

/* Room under the footer for the bar, in the footer's own colour. */
@media (max-width: 781px) {
	.gg-footer {
		padding-bottom: calc(var(--wp--preset--spacing--40) + var(--gg-bar-h) + env(safe-area-inset-bottom, 0px));
	}
}

@media (min-width: 782px) {
	.gg-actionbar {
		display: none;
	}
}

/* 404 and fallback templates -------------------------------------------------------------------- */

.gg-404 {
	padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--80);
}

.gg-404 .wp-block-buttons {
	margin-top: 1.75rem;
}

.gg-archive .wp-block-post {
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--gg-line);
}

/* Motion ---------------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
