/* Sections of the content pages: hero, cards, numbers, photos, carousel, steps, licences. */

/* Hero: text keeps a readable width and lines up with the logo; the shade comes from the text side. */
.wp-block-cover.alignfull {
	padding-inline: var(--wp--style--root--padding-left);
}

.wp-block-cover.alignfull.has-custom-content-position > .wp-block-cover__inner-container {
	width: 100% !important; /* over core's width for positioned content */
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto !important;
	padding-inline: 0;
}

.wp-block-cover__inner-container > .hbge-hero-text {
	margin-left: 0 !important; /* over the constrained layout's auto margins */
}

.hbge-hero-text {
	max-width: 680px;
	padding-bottom: clamp(32px, 6vw, 72px);
}

.wp-block-cover .hbge-hero-text {
	text-shadow: 0 1px 14px rgba(30, 30, 60, 0.35);
}

.wp-block-cover .hbge-hero-title {
	color: var(--wp--preset--color--base);
}

.wp-block-cover .hbge-hero-script {
	margin-bottom: -0.2em;
	color: var(--wp--preset--color--base);
}

.hbge-cover-script {
	color: var(--wp--preset--color--base);
	text-shadow: 0 2px 18px rgba(53, 54, 106, 0.45);
}

/* On photos, outline buttons turn light. */
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--base);
}

.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* The gradient preset's colours are set inline; these replace them per screen size. */
@media (min-width: 782px) {
	.wp-block-cover .has-hero-shade-gradient-background {
		background: linear-gradient(90deg, rgba(53, 54, 106, 0.72) 0%, rgba(53, 54, 106, 0.5) 38%, rgba(53, 54, 106, 0.08) 68%) !important;
	}
}

/* Phones: hero photo on top, text below on peach, so faces stay visible and the text readable. */
@media (max-width: 781px) {
	.wp-block-cover .has-hero-shade-gradient-background {
		background: linear-gradient(180deg, rgba(53, 54, 106, 0.2) 0%, rgba(53, 54, 106, 0.82) 55%) !important;
	}

	.wp-block-cover:has(.hbge-hero-text) {
		display: block;
		min-height: 0 !important; /* over the block's inline min-height */
		padding: 0;
		background: var(--wp--preset--color--peach);
	}

	.wp-block-cover:has(.hbge-hero-text) > .wp-block-cover__image-background {
		position: relative;
		display: block;
		width: 100%;
		height: clamp(220px, 62vw, 340px);
	}

	.wp-block-cover:has(.hbge-hero-text) > .wp-block-cover__background {
		display: none;
	}

	.wp-block-cover.alignfull.has-custom-content-position:has(.hbge-hero-text) > .wp-block-cover__inner-container {
		box-sizing: border-box;
		padding: 28px var(--wp--style--root--padding-left) 56px;
		color: var(--wp--preset--color--contrast);
	}

	.wp-block-cover .hbge-hero-text {
		padding-bottom: 0;
		text-shadow: none;
	}

	.wp-block-cover .hbge-hero-title {
		color: var(--wp--preset--color--gold-text);
	}

	.wp-block-cover .hbge-hero-script {
		color: var(--wp--preset--color--gold-deep);
	}

	.wp-block-cover:has(.hbge-hero-text) .wp-block-button.is-style-outline > .wp-block-button__link {
		border-color: currentColor;
		color: var(--wp--preset--color--gold-deep);
	}
}

/* Cards: white on a coloured section, equal height in a row, buttons at the foot */
.is-style-card {
	display: flex;
	flex-direction: column;
	padding: var(--wp--preset--spacing--40);
	border-radius: var(--wp--custom--radius--large);
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--soft);
}

.is-style-card > :first-child {
	margin-top: 0;
}

.is-style-card > .wp-block-buttons:last-child,
.is-style-card > .wp-block-buttons:has(+ p:last-child) {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--40); /* room between the text and its buttons */
}

.is-style-card > .wp-block-image:not(.is-style-portrait):first-child img[style*="aspect-ratio"] {
	width: 100%;
}

.is-style-card > .is-style-portrait:first-child img {
	width: 120px;
}

.is-style-card:has(.hbge-testimonial) > .is-style-portrait:first-child img {
	width: 52px;
	height: 52px;
}

/* Parents' quotes: the quote first, then photo and names side by side like a signature */
.is-style-card:has(> .hbge-testimonial) {
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 14px;
	align-items: center;
}

.is-style-card:has(> .hbge-testimonial) > * {
	grid-column: 1 / -1;
}

.is-style-card:has(> .hbge-testimonial) > .hbge-testimonial {
	display: contents;
}

.is-style-card:has(> .hbge-testimonial) > .hbge-testimonial > p {
	grid-row: 1;
	grid-column: 1 / -1;
}

.is-style-card:has(> .hbge-testimonial) > .is-style-portrait {
	grid-row: 2;
	grid-column: 1;
	margin: 18px 0 0 !important; /* over the card's block gap */
}

.is-style-card:has(> .hbge-testimonial) > .hbge-testimonial > cite {
	grid-row: 2;
	grid-column: 2;
	margin: 18px 0 0;
}

.is-style-card:has(> .hbge-testimonial):not(:has(> .is-style-portrait)) > .hbge-testimonial > cite {
	grid-column: 1 / -1;
}

/* Fold-outs inside cards: a quiet text toggle, not the FAQ line. */
.is-style-card .wp-block-details {
	padding: 0;
	border: 0;
}

.is-style-card .wp-block-details summary {
	display: inline-flex;
	gap: 6px;
	padding: 0;
	color: var(--wp--preset--color--gold-deep);
	font-size: var(--wp--preset--font-size--small);
	line-height: inherit;
}

.is-style-card .wp-block-details summary::after {
	width: 7px;
	height: 7px;
	margin-right: 0;
	transform: rotate(45deg) translateY(-2px);
}

.is-style-card .wp-block-details[open] {
	padding-bottom: 0;
}

.is-style-card .wp-block-details[open] summary {
	margin-bottom: 8px;
	padding-bottom: 0;
}

.is-style-card .wp-block-details p {
	font-size: var(--wp--preset--font-size--small);
}

/* Quotes from parents and Kursleiter:innen */
.hbge-testimonial {
	margin: 0;
	padding: var(--wp--preset--spacing--40);
	border-radius: var(--wp--custom--radius--large);
	background: var(--wp--preset--color--base);
	font-style: normal;
}

.hbge-testimonial p {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
}

.hbge-testimonial cite {
	display: block;
	margin-top: 12px;
	color: var(--wp--preset--color--gold-text);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}

.is-style-card .hbge-testimonial {
	padding: 0;
	border: 0;
	background: none;
}

/* Numbers on a card that overlaps the hero */
.wp-block-group.hbge-facts {
	position: relative;
	z-index: 2;
	margin-top: calc(-1 * clamp(56px, 8vw, 110px));
	text-align: center;
}

/* On phones the hero's text and buttons reach its bottom edge, and how far depends on the phone's text
   size; the card would cover them, so it starts below the hero there. */
@media (max-width: 781px) {
	.wp-block-group.hbge-facts {
		margin-top: 0;
	}
}

.hbge-facts .wp-block-image {
	margin: 0 auto 10px;
}

.hbge-facts .wp-block-image img {
	width: auto;
	height: 72px;
	object-fit: contain;
}

/* Big numbers with a short label */
.hbge-fact strong {
	display: block;
	color: var(--wp--preset--color--gold-text);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 300;
	line-height: 1.1;
	white-space: nowrap;
}

.hbge-facts .hbge-fact {
	font-size: var(--wp--preset--font-size--small);
}

.hbge-facts .hbge-fact strong {
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
}

/* Pillars with icons */
.hbge-pillar {
	text-align: center;
}

.hbge-pillar .wp-block-image {
	margin: 0 auto 6px;
}

.hbge-pillar h3 {
	margin-top: 0;
}

/* Layered photos on a soft shape */
.hbge-photos {
	position: relative;
	isolation: isolate;
	padding: 4% 2%;
}

.hbge-photos::before {
	content: "";
	position: absolute;
	inset: 10% 0 2% 12%;
	z-index: -1;
	border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
	background: var(--wp--preset--color--peach);
}

.has-peach-background-color .hbge-photos::before,
.has-sand-background-color .hbge-photos::before {
	background: var(--wp--preset--color--sky-light);
}

.has-sky-light-background-color .hbge-photos::before {
	background: var(--wp--preset--color--base);
}

.hbge-photos > .is-style-print {
	width: 78%;
	margin: 0;
}

.hbge-photos > .is-style-print + .is-style-print {
	position: relative;
	width: 62%;
	margin: -22% 0 0 38%;
}

/* Pairs whose first photo has a face near the lower right: the second overlaps only its corner. */
.hbge-photos--apart > .is-style-print + .is-style-print {
	width: 56%;
	margin: -9% 0 0 44%;
}

/* The research infographic is a tall image: small next to the list, whole in the enlarged view. */
.hbge-infographic {
	max-width: 320px;
	margin: 0 0 0 auto;
}

.hbge-infographic img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: top;
	box-shadow: var(--wp--preset--shadow--soft);
}

.hbge-infographic figcaption {
	margin-top: 8px;
	text-align: center;
}

.wp-lightbox-overlay .hbge-infographic,
.wp-lightbox-overlay figure {
	max-width: none;
	margin: 0;
}

/* The lightbox copies the image's inline crop; the enlarged view shows it whole. */
.wp-lightbox-overlay img {
	aspect-ratio: auto !important;
	object-fit: contain !important;
	box-shadow: none !important;
}

/* Jump links: a row of soft pills; the dots between them in the text are for feeds and editors only. */
.hbge-jumplinks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	font-size: 0;
}

.hbge-jumplinks:not(.has-text-align-center) {
	justify-content: flex-start;
}

.hbge-jumplinks a {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid var(--wp--custom--color--field-border);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--gold-deep);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s;
}

@media (hover: hover) {
	.hbge-jumplinks a:hover {
		border-color: var(--wp--preset--color--gold-deep);
		background: var(--wp--preset--color--sand);
		color: var(--wp--preset--color--gold-dark);
	}
}

.hbge-table table {
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.hbge-table th,
.hbge-table td {
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid var(--wp--custom--color--gold-line);
	text-align: left;
}

.hbge-card-wide {
	grid-column: 1 / -1;
}

/* Card rows that scroll sideways (team, interviews): one card per view, controls below (assets/js/carousel.js) */
.wp-block-group.alignwide.hbge-carousel {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0;
	max-width: 860px;
	margin-inline: auto !important; /* over alignwide's margins */
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	transition: height 0.25s;
}

.hbge-carousel::-webkit-scrollbar {
	display: none;
}

.hbge-carousel > * {
	flex: 0 0 100%;
	box-sizing: border-box;
	margin: 0 !important; /* over the layout's block gap */
	border: 1px solid var(--wp--custom--color--gold-line);
	box-shadow: none;
	scroll-snap-align: start;
}

.hbge-carousel .is-style-card > .is-style-portrait:first-child img {
	width: 112px;
	height: 112px;
}

.hbge-carousel .is-style-card:has(.hbge-testimonial) > .is-style-portrait:first-child img {
	width: 52px;
	height: 52px;
}

/* Team and interview cards on phones: photo beside name and role, the text below */
@media (max-width: 781px) {
	.hbge-carousel > .is-style-card:has(> .is-style-portrait:first-child + h3) {
		display: grid;
		grid-template-columns: 76px 1fr;
		column-gap: 16px;
	}

	.hbge-carousel > .is-style-card:has(> .is-style-portrait:first-child + h3) > * {
		grid-column: 1 / -1;
	}

	.hbge-carousel > .is-style-card:has(> .is-style-portrait:first-child + h3) > .is-style-portrait:first-child {
		grid-row: 1 / span 2;
		grid-column: 1;
		align-self: center;
		margin: 0 !important; /* over the card's block gap */
	}

	.hbge-carousel > .is-style-card:has(> .is-style-portrait:first-child + h3) > .is-style-portrait:first-child img {
		width: 76px;
		height: 76px;
	}

	.hbge-carousel > .is-style-card:has(> .is-style-portrait:first-child + h3) > h3 {
		grid-row: 1;
		grid-column: 2;
		align-self: end;
		margin: 0 !important;
	}

	.hbge-carousel > .is-style-card:has(> .is-style-portrait:first-child + h3) > .hbge-role {
		grid-row: 2;
		grid-column: 2;
		align-self: start;
		margin: 2px 0 0 !important;
	}

	.hbge-carousel > .is-style-card:has(> .is-style-portrait:first-child + h3) > h3 + .hbge-role + * {
		margin-top: 16px !important;
	}
}

.hbge-carousel .is-style-card > .hbge-role {
	margin-top: 0;
	color: var(--wp--preset--color--gold-text);
	font-size: var(--wp--preset--font-size--small);
}

.hbge-carousel .is-style-card p,
.hbge-carousel .is-style-card li {
	font-size: var(--wp--preset--font-size--small);
}

/* Interview cards: one line from the interview, the full text behind the toggle. */
.hbge-carousel .is-style-card > .hbge-quote {
	margin: 4px 0;
	padding-left: 16px;
	border-left: 2px solid var(--wp--preset--color--gold);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium) !important; /* over the card's small text */
	line-height: 1.5;
}

.hbge-carousel-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 18px;
}

.hbge-carousel-nav[hidden] {
	display: none;
}

.hbge-carousel-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
}

.hbge-carousel-dot {
	position: relative;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.hbge-carousel-dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--wp--custom--color--gold-line);
	transform: translate(-50%, -50%);
	transition: width 0.2s, background 0.2s;
}

.hbge-carousel-dot[aria-current="true"]::before {
	width: 22px;
	border-radius: 5px;
	background: var(--wp--preset--color--gold-deep);
}

.hbge-carousel-nav__prev,
.hbge-carousel-nav__next {
	position: relative;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid var(--wp--preset--color--gold-deep);
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--gold-deep);
	cursor: pointer;
}

.hbge-carousel-nav__prev::before,
.hbge-carousel-nav__next::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translate(-65%, -50%) rotate(45deg);
}

.hbge-carousel-nav__prev::before {
	transform: translate(-35%, -50%) rotate(-135deg);
}

@media (hover: hover) {
	.hbge-carousel-nav__prev:hover,
	.hbge-carousel-nav__next:hover {
		background: var(--wp--custom--color--gold-tint);
	}
}

/* Certification path: three numbered steps joined by a thin line on wide screens */
.hbge-steps {
	display: grid;
	gap: 20px;
	margin: 28px 0 40px;
	padding: 0;
	list-style: none;
	counter-reset: hbge-step;
}

.hbge-steps li {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	column-gap: 16px;
	align-items: start;
	align-content: start;
	counter-increment: hbge-step;
}

.hbge-steps li::before {
	content: counter(hbge-step);
	display: grid;
	place-items: center;
	grid-row: span 2;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--wp--preset--color--gold-deep);
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--gold-deep);
	font-size: 18px;
}

.hbge-steps strong {
	display: block;
	margin-bottom: 2px;
	color: var(--wp--preset--color--gold-deep);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
}

/* Licences: equal cards, the price at the foot; Premium is the one most people take. */
.hbge-licences {
	display: grid;
	gap: 20px;
}

.hbge-licence {
	display: flex;
	flex-direction: column;
	margin: 0 !important; /* over the layout's block gap */
}

.hbge-licence > * {
	margin-block: 0;
}

.hbge-licence h3 {
	margin-bottom: 6px;
}

.hbge-licence__lead {
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
}

.hbge-licence .is-style-checks {
	margin: 18px 0 24px;
	font-size: var(--wp--preset--font-size--x-small);
}

.hbge-licence__price {
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--wp--custom--color--gold-line);
	color: var(--wp--preset--color--gold-deep);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.2;
}

.hbge-licence__note {
	margin-top: 4px;
	font-size: var(--wp--preset--font-size--xxx-small);
	opacity: 0.85;
}

.hbge-licence--featured {
	border: 1.5px solid var(--wp--preset--color--gold);
}

.hbge-licence-footnote {
	max-width: 760px;
	margin-top: 28px;
	opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
	.hbge-carousel {
		transition: none;
	}
}

@media (max-width: 480px) {
	.hbge-carousel-nav {
		gap: 10px;
	}

	.hbge-carousel-dots {
		gap: 0;
	}

	.hbge-carousel-dot {
		width: 22px;
	}
}

/* Tablets (600–781px): two-column sections stay side by side instead of stacking like on a phone. */
@media (min-width: 600px) and (max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile):has(> .wp-block-column:nth-child(2):last-child) {
		flex-wrap: nowrap !important; /* over core's stacking */
		gap: 28px;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile):has(> .wp-block-column:nth-child(2):last-child) > .wp-block-column {
		flex-basis: 0 !important;
		flex-grow: 1;
	}

	.wp-block-columns.hbge-media-first {
		flex-direction: row;
	}
}

/* Phones: text before photos, and one photo per section is enough. */
@media (max-width: 781px) {
	.hbge-media-first {
		flex-direction: column-reverse;
	}

	.wp-block-column > .is-style-print ~ .is-style-print {
		display: none;
	}

	.hbge-photos > .is-style-print {
		width: 92%;
	}

	.hbge-infographic {
		max-width: 240px;
		margin: 8px auto 0;
	}
}

@media (min-width: 782px) {
	/* Portrait beside the profile */
	.hbge-carousel > .is-style-card:has(> .wp-block-image:first-child) {
		display: grid;
		grid-template-columns: 136px 1fr;
		column-gap: 32px;
		align-content: start;
		padding: 32px 36px;
	}

	.hbge-carousel > .is-style-card:has(> .wp-block-image:first-child) > * {
		grid-column: 2;
		margin-block-start: 0;
	}

	.hbge-carousel > .is-style-card > .wp-block-image:first-child {
		grid-column: 1;
		grid-row: 1 / span 20;
	}

	.hbge-carousel > .is-style-card {
		padding: 32px 36px;
	}

	.hbge-carousel > .is-style-card > * + * {
		margin-top: 10px;
	}

	/* Card across a whole grid row, photo beside the text */
	.hbge-card-wide {
		display: grid;
		grid-template-columns: 2fr 3fr;
		column-gap: 40px;
		align-content: center;
	}

	.hbge-card-wide > * {
		grid-column: 2;
		margin-block-start: 0;
	}

	.hbge-card-wide > * + * {
		margin-top: 12px;
	}

	.hbge-card-wide > .wp-block-image:first-child {
		grid-column: 1;
		grid-row: 1 / span 10;
		align-self: center;
	}

	.hbge-steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px;
	}

	.hbge-steps li {
		grid-template-columns: 1fr;
	}

	.hbge-steps li::before {
		grid-row: auto;
		margin-bottom: 14px;
	}

	.hbge-steps li:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 22px;
		right: -16px;
		left: 60px;
		height: 1px;
		background: var(--wp--custom--color--field-border);
	}

	.hbge-licences {
		grid-template-columns: repeat(3, 1fr);
		align-items: stretch;
	}
}

/* „Gratis reinhören“ (site plugin, Invites\Teaser, [hbge_hoerprobe]): calm text on peach beside a white form card */
.hbge-teaser {
	display: grid;
	/* Side by side where there is room, stacked in narrow places (phones, the product page's column). */
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 28px clamp(28px, 5vw, 64px);
	align-items: center;
	margin: var(--wp--preset--spacing--50, 40px) auto;
	padding: clamp(24px, 4.5vw, 52px);
	border-radius: var(--wp--custom--radius--large);
	background: var(--wp--preset--color--peach);
}

.hbge-teaser__text > * {
	max-width: 44ch;
}

.hbge-teaser .hbge-teaser__kicker {
	margin: 0 0 4px;
	color: var(--wp--preset--color--gold-deep);
	font-family: var(--wp--preset--font-family--script);
	font-size: var(--wp--preset--font-size--large);
	font-style: italic;
	font-weight: 300;
	line-height: 1.2;
}

.hbge-teaser .hbge-teaser__title {
	margin: 0 0 14px;
	color: var(--wp--preset--color--gold-text);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.15;
}

.hbge-teaser__text p {
	margin: 0 0 10px;
}

.hbge-teaser .hbge-teaser__steps {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--x-small);
}

.hbge-teaser__form {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: clamp(20px, 3vw, 28px);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--base);
	box-shadow: 0 1px 2px rgba(90, 74, 22, 0.06), 0 8px 24px rgba(90, 74, 22, 0.06);
}

.hbge-teaser__label {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
}

.hbge-teaser__form input[type="email"] {
	width: 100%;
	min-height: 48px;
	margin-top: -6px;
	padding: 0 16px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--gold) 45%, transparent);
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--base);
	font: inherit;
}

.hbge-teaser__form input[type="email"]:focus-visible,
.hbge-teaser__consent input:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold-deep);
	outline-offset: 2px;
}

.hbge-teaser__consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	align-items: start;
	font-size: var(--wp--preset--font-size--xx-small);
	line-height: 1.5;
	cursor: pointer;
}

.hbge-teaser__consent input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--wp--preset--color--gold-deep);
}

.hbge-teaser__form .wp-element-button {
	width: 100%;
	min-height: 48px;
}

.hbge-teaser .cf-turnstile {
	min-height: 0;
}

.hbge-teaser__error {
	margin: 0;
	color: #a1281f;
	font-size: var(--wp--preset--font-size--x-small);
}

.hbge-teaser__small {
	margin: 0;
	font-size: var(--wp--preset--font-size--xxx-small);
	line-height: 1.5;
	opacity: 0.8;
}

.hbge-teaser__small a {
	color: inherit;
}

/* Bots fill in every field; people never see this one. */
.hbge-teaser__trap {
	position: absolute;
	left: -9999px;
}

/* Contact page: both cards as tall as the taller one, the same portrait size, contact details at the foot */
.hbge-contact-cards > .wp-block-column {
	display: flex;
}

.hbge-contact-cards .is-style-card {
	flex: 1;
}

.is-style-card > .is-style-portrait:first-child img {
	height: 120px;
}

.hbge-card-role {
	color: var(--wp--preset--color--gold-text);
}

.is-style-card > h3 + .hbge-card-role {
	margin-top: 2px;
}

/* A portrait shot from further away, zoomed in so the face fills the circle like the others */
.is-style-portrait.hbge-portrait-zoom {
	width: fit-content;
	line-height: 0;
	overflow: hidden;
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--wp--preset--color--peach), 0 0 0 5px var(--wp--custom--color--gold-line);
}

.is-style-portrait.hbge-portrait-zoom img {
	box-shadow: none;
	transform: scale(1.45);
	transform-origin: 50% 22%;
}

.is-style-card > .hbge-card-contact {
	margin-top: auto;
	padding-top: 8px;
}

/* Press: who to ask, then per year a list of date, title and source */
.is-style-card.hbge-press-contact {
	flex-direction: row;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
}

.hbge-press-contact > .is-style-portrait {
	flex-shrink: 0;
	margin: 0;
}

.is-style-card.hbge-press-contact > .is-style-portrait img {
	width: 72px;
	height: 72px;
}

.hbge-press-contact > p {
	margin: 0;
}

.hbge-press-year {
	margin-top: var(--wp--preset--spacing--50);
}

.hbge-press {
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
	list-style: none;
}

.hbge-press li {
	display: grid;
	grid-template-columns: 11rem 1fr;
	column-gap: var(--wp--preset--spacing--40);
	row-gap: 2px;
	padding: 16px 0;
	border-top: 1px solid var(--wp--custom--color--gold-line);
}

.hbge-press li:last-child {
	border-bottom: 1px solid var(--wp--custom--color--gold-line);
}

.hbge-press__date {
	grid-row: span 2;
	color: var(--wp--preset--color--gold-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.9;
}

.hbge-press__source {
	grid-column: 2;
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.8;
}

@media (max-width: 600px) {
	.hbge-press li {
		grid-template-columns: 1fr;
	}

	.hbge-press__date {
		grid-row: auto;
		line-height: inherit;
	}

	.hbge-press__source {
		grid-column: 1;
	}

	.is-style-card.hbge-press-contact {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Footer: quiet column headings, the same size as the links */
.hbge-footer-heading {
	margin-bottom: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}
