/*
Theme Name: BiblioCopy Blocks
Theme URI: https://www.bibliocopy.de/
Author: BiblioCopy
Description: Modernes Full-Site-Editing-Theme für BiblioCopy. Alle redaktionellen Inhalte bestehen aus nativen WordPress-Blöcken.
Version: 1.2.22
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: bibliocopy-blocks
*/

:root {
	--bc-green: #0C4881;
	--bc-green-dark: #093864;
	--bc-green-soft: #A1C7EB;
	--bc-cream: #F2EFE8;
	--bc-paper: #FBFAF7;
	--bc-orange: #B25B0E;
	--bc-ink: #17232D;
	--bc-muted: #72797E;
	--bc-line: #DCE3E8;
	--bc-white: #fff;
	--bc-shadow-rgb: 9 56 100;
	--bc-deep-rgb: 7 46 82;
	--bc-overlay-rgb: 6 40 72;
	--bc-primary-rgb: 12 72 129;
	--bc-accent-rgb: 178 91 14;
	--bc-accent-soft-focus-rgb: 187 111 43;
	--bc-accent-form-focus-rgb: 195 127 67;
	--bc-shadow: 0 14px 42px rgb(var(--bc-shadow-rgb) / 11%);
	--bc-heading-muted: #0E304F;
	--bc-soft-border: #7CA7D1;
	--bc-hover-border: #B3C5D4;
	--bc-card-hover-border: #CBD6DF;
	--bc-on-dark-soft: #C7DCF0;
	--bc-on-dark-icon: #B7D3EE;
	--bc-on-dark-copy: #FBFAF7;
	--bc-on-dark-hero-copy: #FBFAF7;
	--bc-on-dark-tag: #BCD6EF;
	--bc-on-dark-muted: #AECEED;
	--bc-on-dark-kicker: #C3DAF0;
	--bc-highlight: #FFF0B8;
	--bc-field-background: #FBFAF7;
	--bc-footer: #0D3255;
	--bc-footer-copy: #B1D0ED;
	--bc-footer-link: #FBFAF7;
	--bc-footer-line: #2E4E6C;
	--bc-footer-muted: #C7DCF0;
	--bc-radius: 6px;
	--bc-shell: min(1180px, calc(100% - 48px));
	--bc-text: min(820px, 100%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bc-paper);
	color: var(--bc-ink);
	text-rendering: optimizeLegibility;
}

a {
	text-underline-offset: 0.16em;
}

.wp-site-blocks {
	overflow: hidden;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.wp-block-post-content > * {
	margin-block-start: 0;
}

.bc-section > .alignwide {
	width: var(--bc-shell) !important;
	max-width: var(--bc-shell) !important;
	margin-inline: auto !important;
}

.bc-site-header__inner,
.bc-site-cta__inner,
.bc-site-footer > .alignwide,
.bc-page-layout {
	width: var(--bc-shell) !important;
	max-width: var(--bc-shell) !important;
	margin-inline: auto !important;
}

.bc-site-header {
	position: relative;
	z-index: 1000;
	border-bottom: 1px solid rgb(var(--bc-shadow-rgb) / 10%);
	background: rgb(255 255 255 / 97%);
}

.bc-site-header__inner {
	min-height: 96px;
	gap: 32px !important;
}

.bc-site-brand {
	flex: 0 0 auto;
	gap: 12px !important;
}

.bc-site-header .wp-block-site-logo {
	flex: 0 0 auto;
}

.bc-site-header .custom-logo {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.bc-brand-copy {
	line-height: 1.05;
}

.bc-brand-copy .wp-block-site-title {
	margin: 0;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.035em;
}

.bc-brand-copy .wp-block-site-title a {
	color: var(--bc-green-dark);
	text-decoration: none;
}

.bc-brand-copy .wp-block-site-tagline {
	margin: 5px 0 0;
	color: var(--bc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bc-site-header .wp-block-navigation {
	margin-left: auto;
}

@media (min-width: 901px) {
	.bc-site-header .wp-block-navigation__container {
		flex-wrap: nowrap !important;
		gap: 18px !important;
	}
}

.bc-site-header .wp-block-navigation-item__content {
	color: var(--bc-ink);
	font-size: 15px;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
}

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

.bc-site-header .wp-block-navigation__submenu-container {
	min-width: 270px !important;
	padding: 0.55rem 0 !important;
	border: 1px solid var(--bc-line) !important;
	border-top: 3px solid var(--bc-green) !important;
	border-radius: 0 0 var(--bc-radius) var(--bc-radius);
	box-shadow: var(--bc-shadow);
}

.bc-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.65rem 1rem;
}

@media (min-width: 901px) {
	.bc-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex;
		justify-content: flex-end;
		text-align: right;
	}
}

.bc-header-button .wp-block-button__link {
	white-space: nowrap;
}

.bc-language-switcher {
	flex: 0 0 auto;
	margin: 0;
}

.bc-language-switcher .trp-shortcode-switcher__wrapper {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
}

.bc-language-switcher .trp-language-switcher {
	display: inline-flex;
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0;
	border-radius: 50%;
	transition:
		border-color 160ms ease,
		box-shadow 160ms ease,
		transform 160ms ease;
}

.bc-language-switcher .trp-language-switcher:hover {
	box-shadow: 0 4px 12px rgb(var(--bc-shadow-rgb) / 10%);
	transform: translateY(-1px);
}

.bc-language-switcher .trp-current-language-item__wrapper {
	width: 100%;
	height: 100%;
}

.bc-language-switcher .trp-language-item {
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	text-decoration: none;
}

.bc-language-switcher .trp-language-item:focus-visible {
	outline: 3px solid rgb(var(--bc-accent-soft-focus-rgb) / 35%);
	outline-offset: 3px;
}

.bc-home-hero {
	min-height: min(760px, calc(100vh - 86px)) !important;
	align-items: end;
	padding: 0;
}

.bc-home-hero .wp-block-cover__image-background {
	object-position: 50% 45%;
}

.bc-home-hero .wp-block-cover__background {
	background:
		linear-gradient(90deg, rgb(var(--bc-deep-rgb) / 92%) 0%, rgb(var(--bc-deep-rgb) / 70%) 46%, rgb(var(--bc-deep-rgb) / 16%) 78%),
		linear-gradient(0deg, rgb(var(--bc-deep-rgb) / 25%), transparent 45%);
	opacity: 1;
}

.bc-home-hero .wp-block-cover__inner-container {
	width: 100%;
}

.bc-home-hero__content {
	width: var(--bc-shell);
	margin-inline: auto;
	padding: 120px 0 92px;
}

.bc-eyebrow,
.bc-section-label,
.bc-reference-year,
.bc-process-card__number {
	display: block;
	margin: 0 0 17px;
	color: var(--bc-green);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bc-home-hero .bc-eyebrow {
	color: var(--bc-on-dark-soft);
}

.bc-home-hero h1 {
	max-width: 830px;
	margin: 0 0 26px;
	font-size: clamp(52px, 7.2vw, 92px);
	font-weight: 780;
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.bc-home-hero__lead {
	max-width: 790px;
	margin: 0 0 32px;
	font-size: clamp(20px, 2vw, 25px);
	line-height: 1.52;
}

/* Time-limited editorial notices sit directly after the home hero. The same
 * component also gives visitors to the Staatsbibliothek service an immediate,
 * calm place for operational updates. */
.bc-current-news {
	padding-block: 24px 26px;
	background: var(--bc-green-soft);
}

.bc-current-news--service {
	padding-block: 24px 26px;
	border-bottom: 1px solid var(--bc-line);
	background: var(--bc-paper);
}

.bc-current-news__inner {
	width: var(--bc-shell);
	max-width: var(--bc-shell);
	margin-inline: auto;
}

.bc-current-news__eyebrow {
	margin: 0 0 8px;
	color: var(--bc-green);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bc-current-news__items {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.bc-current-news__item {
	position: relative;
	display: flex;
	height: 120px;
	align-items: stretch;
	overflow: hidden;
	border-radius: var(--bc-radius);
	background: var(--bc-green-dark);
	box-shadow: 0 10px 26px rgb(var(--bc-shadow-rgb) / 14%);
	color: var(--bc-white);
	isolation: isolate;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.bc-current-news__type {
	display: grid;
	width: 64px;
	min-width: 64px;
	place-items: center;
	border-inline-end: 1px solid rgb(255 255 255 / 16%);
	color: var(--bc-on-dark-icon);
}

.bc-current-news__type--warning {
	color: #f5ca52;
}

.bc-current-news__type--appointment {
	color: #b7daf2;
}

.bc-current-news__type--closure {
	color: #f2a682;
}

.bc-current-news__type svg {
	width: 31px;
	height: 31px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}
.bc-current-news__item::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(112deg, rgb(var(--bc-deep-rgb) / 94%) 0%, rgb(var(--bc-deep-rgb) / 84%) 58%, rgb(var(--bc-deep-rgb) / 72%) 100%);
	content: "";
}

.bc-current-news__image {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bc-current-news__item:hover,
.bc-current-news__item:focus-within {
	transform: translateY(-3px);
	box-shadow: var(--bc-shadow);
}

.bc-current-news__item-content {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 12px 24px;
}

.bc-current-news__item h3,
.bc-current-news__item p {
	margin-inline: 0;
	text-align: left;
}

.bc-current-news__item h3 {
	margin-top: 0;
	margin-bottom: 4px;
	color: var(--bc-white);
	font-size: clamp(19px, 1.55vw, 23px);
	font-weight: 740;
	letter-spacing: -0.035em;
	line-height: 1.14;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.bc-current-news__item h3 a {
	color: inherit;
	text-decoration: none;
}

.bc-current-news__item h3 a:hover,
.bc-current-news__item h3 a:focus-visible,
.bc-current-news__link a:hover,
.bc-current-news__link a:focus-visible {
	text-decoration: underline;
}

.bc-current-news__item .bc-current-news__teaser {
	max-width: min(100%, 100ch);
	margin-top: 0;
	margin-bottom: 0;
	color: var(--bc-on-dark-copy);
	font-size: 15px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}

.bc-current-news__teaser + .bc-current-news__link {
	margin-top: 4px;
}

.bc-current-news__link {
	margin-top: 4px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.bc-current-news__link a {
	color: var(--bc-white);
	text-decoration: none;
}

.bc-current-news__link span {
	padding-left: 0.18em;
}

.bc-section {
	padding-block: 96px;
}

.bc-section--cream {
	background: var(--bc-cream);
}

.bc-section--green {
	background: var(--bc-green-dark);
	color: var(--bc-white);
}

.bc-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	align-items: end;
	gap: 72px;
	margin-bottom: 42px !important;
}

.bc-section__head h2,
.bc-home-intro h2 {
	margin: 0;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 760;
	line-height: 1.06;
	letter-spacing: -0.045em;
}

.bc-section__lead,
.bc-home-intro > p {
	margin: 0;
	font-size: 20px;
	line-height: 1.65;
}

.bc-home-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
	gap: 80px;
	align-items: end;
}

.bc-home-intro > p {
	font-size: 21px;
	line-height: 1.7;
}

.bc-facts,
.bc-reference-facts {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 48px !important;
	background: var(--bc-line);
}

.bc-fact,
.bc-reference-fact {
	margin: 0;
	padding: 25px;
	background: var(--bc-white);
	color: var(--bc-muted);
}

.bc-fact strong,
.bc-reference-fact strong {
	display: block;
	margin-bottom: 5px;
	color: var(--bc-green-dark);
	font-size: 25px;
	line-height: 1.15;
}

.bc-card-grid,
.bc-service-grid,
.bc-reference-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 34px auto 42px !important;
}

.bc-reference-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-block: 32px 40px !important;
}

.bc-card,
.bc-service-card,
.bc-reference-card,
.bc-migrated-card {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius);
	background: var(--bc-white);
	box-shadow: 0 9px 28px rgb(var(--bc-shadow-rgb) / 8%);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

/* Step-by-step printer instructions: editable text stays over the relevant UI. */
.bc-page-layout .wp-block-post-content .bc-print-steps {
	display: grid;
	gap: 20px;
	margin: 30px 0 42px !important;
}

.bc-page-layout .wp-block-post-content .bc-print-step {
	min-height: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	border-radius: 10px;
}

/* Preserve each source image's native proportions so instructional details are not cropped. */
.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(1) {
	aspect-ratio: 998 / 666 !important;
}

.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(2) {
	aspect-ratio: 1035 / 604 !important;
}

.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(n + 3) {
	aspect-ratio: 1026 / 595 !important;
}

.bc-page-layout .wp-block-post-content .bc-print-step .wp-block-cover__background {
	background-color: #000 !important;
	opacity: 0.32 !important;
}

.bc-page-layout .wp-block-post-content .bc-print-step .wp-block-cover__image-background {
	object-fit: cover;
}

.bc-page-layout .wp-block-post-content .bc-print-step .wp-block-cover__inner-container {
	display: flex;
	width: 100%;
	height: 100%;
	max-width: none;
	box-sizing: border-box;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 5vw, 58px);
	color: var(--bc-white);
	text-align: center;
}

.bc-page-layout .wp-block-post-content .bc-print-step__label,
.bc-page-layout .wp-block-post-content .bc-print-step__arrow {
	margin: 0 !important;
	color: var(--bc-white);
	font-weight: 760;
	line-height: 1.1;
	text-shadow: 0 2px 12px rgb(0 0 0 / 55%);
}

.bc-page-layout .wp-block-post-content .bc-print-step__label {
	max-width: 18ch;
	font-size: clamp(27px, 4.2vw, 46px);
}

.bc-page-layout .wp-block-post-content .bc-print-step__arrow {
	margin-top: 12px !important;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 0.8;
}

.bc-page-layout .wp-block-post-content .bc-print-step__arrow--up {
	order: -1;
	margin: 0 0 12px !important;
}

.bc-page-layout .wp-block-post-content .bc-print-step--top .wp-block-cover__inner-container {
	justify-content: flex-start;
	padding-top: clamp(34px, 8vw, 92px);
}

.bc-page-layout .wp-block-post-content .bc-print-step--bottom .wp-block-cover__inner-container {
	justify-content: flex-end;
	padding-bottom: clamp(32px, 7vw, 82px);
}

.bc-page-layout .wp-block-post-content .bc-print-step--right .wp-block-cover__inner-container {
	align-items: flex-end;
	text-align: right;
}

/* Per-image annotation alignment follows the controls in the printer screenshots. */
.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(2) .bc-print-step__arrow {
	position: relative;
	left: -13%;
}

.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(3) .wp-block-cover__inner-container {
	padding-bottom: clamp(60px, 11vw, 130px);
}

.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(4) .wp-block-cover__inner-container {
	padding-top: clamp(56px, 14vw, 160px);
}

.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(4) .bc-print-step__arrow {
	position: relative;
	left: -11%;
}

.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(5) .bc-print-step__arrow {
	position: relative;
	left: clamp(20px, 4vw, 34px);
}

@media (min-width: 1101px) {
	.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(2) .wp-block-cover__inner-container {
		padding-bottom: 170px;
	}

	.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(3) .wp-block-cover__inner-container {
		padding-bottom: 185px;
	}

	.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(4) .wp-block-cover__inner-container {
		padding-top: 200px;
	}
}

@media (min-width: 521px) and (max-width: 1100px) {
	.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(2) .wp-block-cover__inner-container {
		padding-bottom: 120px;
	}

	.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(3) .wp-block-cover__inner-container {
		padding-bottom: 145px;
	}

	.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(4) .wp-block-cover__inner-container {
		padding-top: 165px;
	}
}

@media (max-width: 520px) {
	.bc-page-layout .wp-block-post-content .bc-print-steps {
		gap: 16px;
	}

	.bc-page-layout .wp-block-post-content .bc-print-step__label {
		font-size: 29px;
	}

	.bc-page-layout .wp-block-post-content .bc-print-steps > .bc-print-step:nth-child(4) .wp-block-cover__inner-container {
		padding-top: 8px;
	}
}

/* Kopierkarte: native blocks replacing the nested migration wrappers. */
.bc-copy-card {
	margin-block: 24px !important;
}

.bc-page-layout .wp-block-post-content .bc-copy-card > .bc-copy-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 230px;
	margin: 0 0 14px !important;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.bc-page-layout .wp-block-post-content .bc-copy-card > .bc-copy-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
}

.bc-page-layout .wp-block-post-content .bc-copy-card > p {
	margin: 0 !important;
}

.bc-page-layout .wp-block-post-content .bc-copy-discount-callout {
	margin: 0 0 12px;
	padding: 0 0 18px;
}

.bc-page-layout .wp-block-post-content .bc-copy-discount-callout > h4 {
	margin: 0 !important;
}

.bc-page-layout .wp-block-post-content .bc-copy-discount-callout > .wp-block-list {
	margin: 8px 0 0 !important;
}

.bc-service-grid > .bc-card,
.bc-service-grid > .bc-service-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.bc-service-grid > .bc-card:hover,
.bc-service-grid > .bc-card:focus-within,
.bc-service-grid > .bc-service-card:hover,
.bc-service-grid > .bc-service-card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--bc-shadow);
}

.bc-card > .wp-block-image,
.bc-service-card > .wp-block-image,
.bc-reference-card > .wp-block-image {
	margin: 0;
}

.bc-service-grid > .bc-card > .wp-block-image a,
.bc-reference-grid > .bc-card > .wp-block-image a {
	display: block;
	width: 100%;
}

.bc-card > .wp-block-image img,
.bc-service-card > .wp-block-image img,
.bc-reference-card > .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 260ms ease;
}

.bc-service-grid > .bc-card:hover > .wp-block-image img,
.bc-service-grid > .bc-card:focus-within > .wp-block-image img {
	transform: scale(1.025);
}

.bc-card__body,
.bc-service-card__content,
.bc-reference-card__body {
	padding: 25px 27px 27px;
}

.bc-service-grid .bc-card__body,
.bc-service-grid .bc-service-card__content {
	display: flex;
	min-height: 245px;
	flex: 1;
	flex-direction: column;
}

.bc-service-grid .bc-card__body,
.bc-reference-grid .bc-card__body {
	margin-block-start: 0 !important;
}

.bc-service-grid > .bc-service-card > .wp-block-image,
.bc-service-grid > .bc-service-card > .bc-service-card__content,
.bc-service-grid .bc-service-card__content > * {
	margin-block: 0 !important;
}

.bc-service-grid .bc-service-card__content > p {
	margin-bottom: 20px !important;
}

.bc-card h3,
.bc-service-card h2,
.bc-service-card h3,
.bc-reference-card h2,
.bc-reference-card h3 {
	margin-top: 0;
	margin-bottom: 12px;
	color: var(--bc-heading-muted);
	font-size: 27px;
	font-weight: 680;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.bc-card h3 a,
.bc-service-card h2 a,
.bc-service-card h3 a,
.bc-reference-card h2 a,
.bc-reference-card h3 a {
	color: inherit;
	text-decoration: none;
}

.bc-service-grid .bc-card__body > .wp-block-buttons,
.bc-service-grid .bc-service-card__content > .wp-block-buttons {
	margin-top: auto;
}

.bc-service-grid .bc-card--wide .bc-card__body > .wp-block-buttons {
	margin-top: 20px;
}

.bc-service-grid .bc-card--wide .bc-card__body > p {
	margin-bottom: 0;
}

.bc-service-grid .wp-block-button__link,
.bc-service-grid .bc-service-card__link .wp-block-button__link,
.bc-reference-grid .bc-card-link a {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bc-green);
	font-weight: 800;
	text-decoration: none;
}

.bc-service-grid .wp-block-button__link::after,
.bc-service-grid .bc-service-card__link .wp-block-button__link::after,
.bc-reference-grid .bc-card-link a::after {
	content: "\00a0\2192";
}

.bc-card--wide,
.bc-service-card--wide {
	display: flex;
	grid-column: 1 / -1;
	flex-direction: column;
}

.bc-card--wide > .wp-block-image img,
.bc-service-card--wide > .wp-block-image img {
	aspect-ratio: 2 / 1;
}

.bc-service-grid .bc-card--wide .bc-card__body {
	min-height: 0;
}

.bc-reference-grid > .bc-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 0;
	border: 0;
	border-top: 4px solid var(--bc-green);
	box-shadow: 0 8px 24px rgb(var(--bc-shadow-rgb) / 8%);
}

.bc-reference-grid > .bc-card > .wp-block-image img {
	aspect-ratio: 3 / 2;
}

.bc-reference-grid .bc-card__body {
	display: flex;
	min-height: 270px;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.bc-reference-grid .bc-card h3 {
	margin: 8px 0 12px;
	color: var(--bc-green-dark);
	font-size: 22px;
	line-height: 1.28;
}

.bc-reference-grid .bc-card__body > p:not(.bc-card-link) {
	margin: 0 0 18px;
	line-height: 1.5;
}

.bc-reference-grid .bc-card-link {
	margin-top: auto;
}

/* Reference overview: balanced two-column cards in the page content column. */
.bc-reference-grid:has(> .bc-reference-card) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 22px;
	align-items: stretch;
}

.bc-reference-grid > .bc-reference-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 320px;
	flex-direction: column;
	padding: 26px;
	border: 1px solid var(--bc-line);
	border-top: 4px solid var(--bc-green);
	border-radius: var(--bc-radius);
	background: var(--bc-white);
	box-shadow: 0 8px 26px rgb(var(--bc-shadow-rgb) / 8%);
}

.bc-reference-grid > .bc-reference-card:hover,
.bc-reference-grid > .bc-reference-card:focus-within {
	transform: translateY(-3px);
	box-shadow: var(--bc-shadow);
}

.bc-reference-grid > .bc-reference-card > * {
	margin-block: 0 !important;
}

.bc-reference-grid > .bc-reference-card > .bc-reference-year {
	align-self: flex-start;
	margin-bottom: 18px !important;
	padding: 6px 11px;
	border: 1px solid var(--bc-soft-border);
	border-radius: 999px;
	background: var(--bc-green-soft);
	color: var(--bc-green-dark);
	font-size: 13px;
	font-weight: 760;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: none;
}

.bc-reference-grid > .bc-reference-card > h2 {
	margin: 0 0 14px !important;
	color: var(--bc-green-dark);
	font-size: 24px;
	font-weight: 720;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.bc-reference-grid > .bc-reference-card > h2 a:hover,
.bc-reference-grid > .bc-reference-card > h2 a:focus-visible {
	color: var(--bc-green);
	text-decoration: underline;
}

.bc-reference-grid > .bc-reference-card > p:not(.bc-reference-year) {
	margin-bottom: 22px !important;
	color: var(--bc-ink);
	line-height: 1.55;
}

.bc-reference-grid > .bc-reference-card > .wp-block-buttons {
	width: 100%;
	margin-top: auto !important;
	padding-top: 18px;
	border-top: 1px solid var(--bc-line);
}

/* Guide cards use the same compact layout without a visual separator above the link. */
.bc-guide-grid > .bc-reference-card > .wp-block-buttons {
	padding-top: 0;
	border-top: 0;
}

/* Align the first guide card with the service navigation beside it. */
.bc-guide-grid {
	margin-top: 0 !important;
}

.bc-reference-grid > .bc-reference-card .bc-reference-card-link {
	margin: 0;
}

.bc-reference-grid > .bc-reference-card .bc-reference-card-link .wp-block-button__link {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bc-green);
	font-weight: 800;
	text-decoration: none;
}

.bc-reference-grid > .bc-reference-card .bc-reference-card-link .wp-block-button__link::after {
	content: "\00a0\2192";
}

.bc-reference-grid > .bc-reference-card .bc-reference-card-link .wp-block-button__link:hover,
.bc-reference-grid > .bc-reference-card .bc-reference-card-link .wp-block-button__link:focus-visible {
	color: var(--bc-orange);
	text-decoration: underline;
}

.bc-process-grid,
.bc-migrated-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

/* Documents service: a simple editorial image row instead of migrated card wrappers. */
.bc-document-showcase {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 30px 0 48px !important;
}

.bc-page-layout .wp-block-post-content .bc-document-showcase > .wp-block-image {
	margin: 0 !important;
}

.bc-document-showcase__image img {
	display: block;
	width: 100%;
	height: 198px;
	border-radius: var(--bc-radius);
	object-fit: cover;
}

.bc-page-layout .wp-block-post-content .bc-document-showcase__image > figcaption {
	margin: 0.375rem 0 0;
}

.bc-process-card {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: var(--bc-radius);
	background: var(--bc-white);
	box-shadow: var(--bc-shadow);
}

.bc-section > .bc-process-grid .bc-process-card {
	min-height: 490px;
	background: var(--bc-green-dark);
	color: var(--bc-white);
	box-shadow: none;
}

.bc-section > .bc-process-grid .bc-process-card::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgb(var(--bc-deep-rgb) / 80%), transparent 58%);
	content: "";
	pointer-events: none;
}

.bc-process-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bc-section > .bc-process-grid .bc-process-card img {
	height: 100%;
	min-height: 490px;
	aspect-ratio: auto;
}

.bc-section > .bc-process-grid .bc-process-card > a {
	display: block;
	height: 100%;
}

.bc-section > .bc-process-grid .bc-process-card > a img {
	transition: transform 220ms ease, filter 220ms ease;
}

.bc-section > .bc-process-grid .bc-process-card:has(> a):hover > a img,
.bc-section > .bc-process-grid .bc-process-card:has(> a):focus-within > a img {
	transform: scale(1.025);
	filter: brightness(1.06);
}

.bc-section > .bc-process-grid .bc-process-card:has(> a):focus-within {
	outline: 3px solid var(--bc-orange);
	outline-offset: 4px;
}

.bc-process-card figcaption {
	padding: 1.25rem 1.35rem 1.45rem;
	color: var(--bc-ink);
	font-size: 1rem;
	text-align: left;
}

.bc-section > .bc-process-grid .bc-process-card figcaption {
	position: absolute;
	z-index: 1;
	right: 25px;
	bottom: 25px;
	left: 25px;
	padding: 0;
	color: var(--bc-white);
	font-size: 23px;
	font-weight: 780;
	line-height: 1.2;
	pointer-events: none;
}

.bc-section > .bc-process-grid .bc-process-card__number {
	margin-bottom: 7px;
	color: var(--bc-on-dark-muted);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.11em;
}

.bc-process-cta {
	margin: 30px 0 0 !important;
}

.bc-process-credit {
	margin-bottom: 34px !important;
	color: var(--bc-muted);
	font-size: 0.76rem;
	line-height: 1.4;
}

.bc-media-split {
	min-height: 620px;
}

.bc-media-split .wp-block-media-text__media {
	position: relative;
	height: 100%;
	min-height: 620px;
	overflow: hidden;
}

.bc-media-split .wp-block-media-text__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
}

.bc-media-split .wp-block-media-text__content {
	display: flex;
	min-height: 620px;
	align-items: center;
	padding: clamp(3rem, 8vw, 7rem);
	background: var(--bc-green);
	color: var(--bc-white);
}

.bc-media-split .bc-section-label {
	color: var(--bc-green-soft);
}

.bc-media-split .wp-block-media-text__content h2 {
	margin: 0;
	color: var(--bc-white);
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 760;
	line-height: 1.06;
	letter-spacing: -0.045em;
}

.bc-media-split .wp-block-media-text__content p:not(.bc-section-label) {
	font-size: 20px;
	line-height: 1.7;
}

.bc-page-hero {
	position: relative;
	display: flex;
	min-height: 470px;
	align-items: end;
	overflow: hidden;
	background: var(--bc-green-dark);
}

.bc-page-hero > .wp-block-post-featured-image {
	position: absolute;
	z-index: 0;
	inset: 0;
	margin: 0;
}

.bc-page-hero > .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Keep the library-card barcode prominent in the copy-card hero. */
.page-id-1193 .bc-page-hero > .wp-block-post-featured-image img {
	object-position: 50% 74%;
}

/* Keep the historic title page prominent in the wide References hero. */
.page-id-974 .bc-page-hero > .wp-block-post-featured-image img {
	object-position: 50% 45%;
}

/* Keep the foreground historic volumes in the Staatsbibliothek reference hero. */
.page-id-2959 .bc-page-hero > .wp-block-post-featured-image img {
	object-position: 50% 56%;
}

/* Keep the book and control monitors together in the scan-service hero. */
.page-id-1251 .bc-page-hero > .wp-block-post-featured-image img {
	object-position: 50% 58%;
}

.bc-page-hero::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(var(--bc-deep-rgb) / 92%) 0%, rgb(var(--bc-deep-rgb) / 70%) 52%, rgb(var(--bc-deep-rgb) / 26%) 100%),
		linear-gradient(0deg, rgb(var(--bc-deep-rgb) / 36%), transparent 50%);
	content: "";
}

.bc-page-hero__content {
	position: relative;
	z-index: 2;
	width: var(--bc-shell);
	margin-inline: auto;
	padding: 92px 0 62px;
	color: var(--bc-white);
}

.bc-page-hero__content h1 {
	max-width: 920px;
	margin: 0;
	color: var(--bc-white);
	font-size: clamp(43px, 6vw, 74px);
	font-weight: 770;
	line-height: 1.02;
	letter-spacing: -0.05em;
	hyphens: auto;
	overflow-wrap: anywhere;
}

html[lang="en-GB"] .bc-page-hero__content h1 {
	hyphens: manual;
	overflow-wrap: normal;
	word-break: normal;
}

/* Keep the long institution name intact when it comfortably fits on a new line. */
.page-id-674 .bc-page-hero__content h1 {
	hyphens: manual;
	overflow-wrap: normal;
	word-break: normal;
}

.bc-page-hero__content .wp-block-post-excerpt {
	max-width: 720px;
	margin-top: 20px;
	color: var(--bc-on-dark-hero-copy);
	font-size: 20px;
	line-height: 1.55;
}

/* Posts do not carry a hero excerpt; their heading needs much less vertical room. */
.single-post .bc-page-hero {
	min-height: 300px;
}

.single-post .bc-page-hero__content {
	padding: 62px 0 40px;
}

.bc-page-content {
	padding-block: 76px 100px;
}

.bc-page-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 70px;
}

.bc-page-layout > .wp-block-column {
	min-width: 0;
	flex-basis: auto !important;
}

.bc-page-layout .wp-block-post-content {
	max-width: none;
	font-size: 18px;
	line-height: 1.72;
}

.bc-page-sidebar {
	position: sticky;
	top: 28px;
	align-self: start;
	display: grid;
	gap: 18px;
}

.bc-page-sidebar > * {
	margin-block: 0;
}

.admin-bar .bc-page-sidebar {
	top: 60px;
}

.bc-sidebar-panel {
	padding: 24px;
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius);
	background: var(--bc-white);
}

.bc-callout {
	overflow: hidden;
	font-size: 14px;
	line-height: 1.52;
}

.bc-callout p,
.bc-callout ul,
.bc-callout figure,
.bc-callout details,
.bc-callout .wp-block-buttons {
	margin-top: 0;
	margin-bottom: 16px;
}

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

.bc-callout__media {
	margin-inline: -24px;
}

.bc-callout__media:first-child {
	margin-top: -24px;
}

.bc-callout__media img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.bc-callout--offer,
.bc-callout--price {
	border-top: 4px solid var(--bc-orange);
	border-radius: 0 0 var(--bc-radius) var(--bc-radius);
}

.bc-callout--planning {
	border-color: var(--bc-line);
	border-top: 4px solid var(--bc-orange);
	border-radius: 0 0 var(--bc-radius) var(--bc-radius);
	background: var(--bc-white);
}

.bc-callout--planning h3 {
	font-size: 19px;
}

.bc-callout--planning .bc-sidebar-kicker {
	color: var(--bc-green);
}

.bc-callout--locations {
	border-top: 4px solid var(--bc-orange);
	border-radius: 0 0 var(--bc-radius) var(--bc-radius);
	background: var(--bc-white);
}

.bc-callout--locations h3 {
	font-size: 20px;
}

.bc-location-list {
	display: grid;
	gap: 0;
	margin: 0 0 15px !important;
}

.bc-callout .bc-location-list > p {
	margin: 0 !important;
	padding: 11px 0;
	border-top: 1px solid var(--bc-line);
	font-size: 13px;
	line-height: 1.45;
}

.bc-callout .bc-location-list > p:last-child {
	border-bottom: 1px solid var(--bc-line);
}

.bc-location-list strong {
	display: block;
	margin-bottom: 2px;
	color: var(--bc-green-dark);
	font-size: 14px;
}

.bc-callout--locations .bc-callout__text-link {
	padding-top: 0;
	border-top: 0;
}

.bc-callout__text-link {
	padding-top: 13px;
	border-top: 1px solid var(--bc-line);
}

.bc-callout__text-link a {
	color: var(--bc-green-dark);
	font-weight: 800;
	text-decoration: none;
}

.bc-callout__text-link a::after {
	content: "\00a0\2192";
}

.bc-callout__text-link a:hover,
.bc-callout__text-link a:focus-visible {
	color: var(--bc-orange);
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

.bc-callout--service,
.bc-callout--help,
.bc-callout--glossary,
.bc-callout--copy-card {
	border-top: 4px solid var(--bc-green);
	border-radius: 0 0 var(--bc-radius) var(--bc-radius);
}

.bc-callout__price {
	padding: 13px 15px;
	border-radius: 4px;
	background: var(--bc-green-soft);
	color: var(--bc-green-dark);
	font-size: 15px;
}

.bc-callout__price strong {
	font-size: 18px;
}

.bc-callout__note {
	color: var(--bc-muted);
	font-size: 12px;
	line-height: 1.55;
}

.bc-callout .wp-block-buttons,
.bc-callout .wp-block-button,
.bc-callout .wp-block-button__link {
	width: 100%;
}

.bc-callout .wp-block-button__link {
	padding: 0.68rem 0.9rem;
	text-align: center;
}

.bc-hours-table {
	margin-inline: 0;
}

.bc-hours-table table {
	width: 100%;
	border: 0;
	font-size: 13px;
}

.bc-hours-table th,
.bc-hours-table td {
	padding: 6px 0;
	border: 0;
	border-bottom: 1px solid var(--bc-line);
	background: transparent;
	text-align: left;
}

.bc-hours-table th {
	font-weight: 750;
}

.bc-hours-table td {
	text-align: right;
}

.bc-callout--glossary details {
	padding: 10px 0;
	border-bottom: 1px solid var(--bc-line);
}

.bc-callout--glossary details:last-child {
	border-bottom: 0;
}

.bc-callout--glossary summary {
	cursor: pointer;
	color: var(--bc-green-dark);
	font-weight: 780;
}

.bc-callout--glossary details p {
	margin: 8px 0 0;
}

.bc-glossary-related {
	margin: 12px 0 0 !important;
	font-size: 12px;
	font-weight: 750;
}

.bc-glossary-related a {
	color: var(--bc-green-dark);
}

.bc-glossary-term {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-align: inherit;
	text-decoration: underline dashed var(--bc-green);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.18em;
	cursor: help;
}

.bc-glossary-term:hover {
	color: var(--bc-green-dark);
	text-decoration-style: solid;
}

.bc-glossary-term:focus-visible {
	border-radius: 2px;
	outline: 3px solid rgb(var(--bc-accent-rgb) / 42%);
	outline-offset: 3px;
	text-decoration-style: solid;
}

.bc-glossary-term__space {
	display: inline-block;
	width: 0.32em;
}

.bc-callout--glossary details.bc-glossary-term--highlighted {
	animation: bc-glossary-term-highlight 1.8s ease-out;
}

@keyframes bc-glossary-term-highlight {
	0%,
	45% {
		background: var(--bc-highlight);
		box-shadow: 0 0 0 6px var(--bc-highlight);
	}

	100% {
		background: transparent;
		box-shadow: none;
	}
}

.bc-page-layout .wp-block-post-content {
	position: relative;
}

.bc-reference-glossary-launcher {
	position: absolute;
	top: -62px;
	right: 0;
	z-index: 20;
	display: flex;
	justify-content: flex-end;
	width: 44px;
	height: 44px;
	margin: 0;
}

.bc-reference-glossary-dialog {
	width: min(540px, calc(100vw - 36px));
	max-width: none;
	height: min(760px, 90dvh);
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--bc-radius);
	background: var(--bc-white);
	box-shadow: 0 24px 80px rgb(var(--bc-overlay-rgb) / 28%);
	color: var(--bc-ink);
	overflow: hidden;
}

.bc-reference-glossary-dialog:not([open]) {
	display: none;
}

.bc-reference-glossary-dialog::backdrop {
	background: rgb(var(--bc-overlay-rgb) / 58%);
	backdrop-filter: blur(3px);
}

/* Fallback for browsers, including older iOS Safari, without dialog.showModal(). */
body.bc-reference-glossary--fallback-open {
	overflow: hidden;
}

body.bc-reference-glossary--fallback-open::before {
	position: fixed;
	z-index: 1000;
	inset: 0;
	content: '';
	background: rgb(var(--bc-overlay-rgb) / 58%);
	backdrop-filter: blur(3px);
}

.bc-reference-glossary-dialog.bc-reference-glossary-dialog--fallback-open {
	position: fixed;
	z-index: 1001;
	inset: 18px;
	display: block;
	width: auto;
	height: auto;
	max-width: 540px;
	max-height: none;
	overflow: hidden;
}

.bc-reference-glossary-dialog__panel {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	height: 100%;
}

.bc-reference-glossary-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--bc-line);
	background: var(--bc-cream);
}

.bc-reference-glossary-dialog__header h2 {
	margin: 0;
	color: var(--bc-green-dark);
	font-size: 22px;
}

.bc-reference-glossary-dialog__close,
.bc-reference-glossary-launcher__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bc-green-dark);
	color: var(--bc-white);
	cursor: pointer;
}

.bc-reference-glossary-dialog__close {
	flex: 0 0 auto;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
}

.bc-reference-glossary-dialog__close:hover,
.bc-reference-glossary-dialog__close:focus-visible,
.bc-reference-glossary-launcher__button:hover,
.bc-reference-glossary-launcher__button:focus-visible {
	background: var(--bc-orange);
}

.bc-reference-glossary-dialog__close:focus-visible,
.bc-reference-glossary-launcher__button:focus-visible {
	outline: 3px solid rgb(var(--bc-accent-rgb) / 42%);
	outline-offset: 3px;
}

.bc-reference-glossary-launcher__button svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bc-reference-glossary-launcher__button {
	box-shadow: 0 6px 18px rgb(var(--bc-shadow-rgb) / 22%);
}

.bc-reference-glossary-dialog__content {
	min-height: 0;
	max-height: none;
	overflow: auto;
	padding: 22px;
}

.bc-reference-glossary-dialog__content .bc-sidebar-panel {
	padding: 0;
	border: 0;
	border-radius: 0;
}

.bc-reference-glossary-dialog__content .bc-sidebar-kicker,
.bc-reference-glossary-dialog__content h3 {
	display: none;
}

.bc-reference-glossary-dialog__content .bc-callout__note {
	margin-top: 0;
}

.bc-reference-glossary-launcher--is-floating {
	position: fixed;
	top: 14px;
	right: auto;
	left: var(--bc-reference-glossary-launcher-fixed-left, 18px);
	width: 44px;
	height: 44px;
	margin: 0;
}

@media (max-width: 900px) {
	.bc-reference-glossary-launcher {
		top: -52px;
	}

	.bc-reference-glossary-launcher--is-floating {
		top: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bc-callout--glossary details.bc-glossary-term--highlighted {
		animation: none;
		background: var(--bc-highlight);
	}
}

.bc-sidebar-navigation {
	border-top: 4px solid var(--bc-green);
	border-radius: 0 0 var(--bc-radius) var(--bc-radius);
	background: var(--bc-cream);
}

.bc-service-subnavigation {
	padding: 24px 0 12px;
}

.bc-service-subnavigation__title {
	margin: 0 24px 14px !important;
}

.bc-service-subnavigation__title a {
	color: inherit;
	text-decoration: none;
}

.bc-service-subnavigation__title a:hover,
.bc-service-subnavigation__title a:focus-visible {
	color: var(--bc-green);
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.bc-service-subnavigation__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-service-subnavigation__item > a {
	display: block;
	padding: 9px 24px;
	color: var(--bc-ink);
	font-size: 14px;
	font-weight: 680;
	line-height: 1.35;
	text-decoration: none;
}

.bc-service-subnavigation__item > a:hover,
.bc-service-subnavigation__item > a:focus-visible {
	background: var(--bc-green-soft);
	color: var(--bc-green-dark);
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.bc-service-subnavigation__item.is-current > a {
	background: var(--bc-green);
	color: var(--bc-white);
	font-weight: 780;
}

.bc-service-subnavigation__item.is-ancestor > a {
	color: var(--bc-green-dark);
	font-weight: 780;
}

.bc-service-subnavigation__item .bc-service-subnavigation__list {
	margin: 2px 0 6px;
	padding-left: 13px;
	border-left: 2px solid var(--bc-line);
}

.bc-service-subnavigation__item .bc-service-subnavigation__item > a {
	padding: 7px 24px 7px 16px;
	font-size: 13px;
	font-weight: 620;
}

.bc-page-sidebar h2,
.bc-page-sidebar h3 {
	margin: 0 0 15px;
	color: var(--bc-green-dark);
	line-height: 1.25;
}

.bc-page-sidebar h2 {
	font-size: 19px;
}

.bc-page-sidebar h3 {
	font-size: 21px;
}

.bc-page-sidebar .wp-block-navigation {
	display: block;
}

.bc-page-sidebar .wp-block-navigation__container {
	display: block;
}

.bc-page-sidebar .wp-block-navigation-item__content {
	display: block;
	padding: 8px 0;
	color: var(--bc-ink);
	font-size: 14px;
	font-weight: 680;
	line-height: 1.35;
	text-decoration: none;
}

.bc-sidebar-kicker {
	margin: 0 0 10px !important;
	color: var(--bc-green);
	font-size: 11px !important;
	font-weight: 850;
	letter-spacing: 0.12em;
	line-height: 1.3 !important;
	text-transform: uppercase;
}

.bc-callout__title {
	margin: 0 0 16px !important;
	font-size: 22px !important;
	line-height: 1.18 !important;
}

.bc-sidebar-checklist {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-callout--copy-card .bc-sidebar-checklist {
	margin-top: 12px;
}

.bc-sidebar-checklist li {
	position: relative;
	margin: 0;
	padding-left: 22px;
	color: var(--bc-ink);
	font-size: 14px;
	line-height: 1.45;
}

.bc-sidebar-checklist li::before {
	position: absolute;
	top: 0.08em;
	left: 0;
	color: var(--bc-orange);
	content: "✓";
	font-weight: 900;
}

.bc-sidebar-contact {
	border-color: var(--bc-green-dark);
	background: var(--bc-green-dark);
	box-shadow: var(--bc-shadow);
	color: var(--bc-white);
}

.bc-sidebar-contact .bc-sidebar-kicker {
	color: var(--bc-on-dark-kicker);
}

.bc-sidebar-contact h3 {
	color: var(--bc-white);
}

.bc-sidebar-contact p {
	margin: 0 0 15px;
	font-size: 14px;
	line-height: 1.5;
}

.bc-sidebar-contact__links a {
	color: var(--bc-white);
	font-weight: 750;
	text-decoration-color: rgb(255 255 255 / 35%);
}

.bc-sidebar-contact .wp-block-button,
.bc-sidebar-contact .wp-block-button__link {
	width: 100%;
}

.bc-sidebar-contact .wp-block-button__link {
	text-align: center;
}

/* WLAN instructions: keep the support action visible while the long guide scrolls. */
body:has(.bc-page-sidebar .bc-callout--help) .wp-site-blocks {
	overflow: clip;
}

@media (min-width: 901px) {
	.bc-page-sidebar:has(.bc-callout--help) {
		position: static;
		align-self: stretch;
		align-content: start;
		height: 100%;
	}

	.bc-page-sidebar:has(.bc-callout--help) .bc-callout--help {
		position: sticky;
		z-index: 2;
		top: 28px;
	}

	.admin-bar .bc-page-sidebar:has(.bc-callout--help) .bc-callout--help {
		top: 60px;
	}
}

/* Site-wide request dialog. The linked page remains a non-JavaScript fallback. */
html.bc-modal-is-open {
	overflow: hidden;
}

.bc-request-dialog {
	width: min(880px, calc(100vw - 36px));
	max-width: none;
	height: min(860px, calc(100dvh - 36px));
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--bc-paper);
	box-shadow: 0 30px 100px rgb(var(--bc-overlay-rgb) / 35%);
	color: var(--bc-ink);
	overflow: hidden;
}

.bc-request-dialog:not([open]) {
	display: none;
}

.bc-request-dialog::backdrop {
	background: rgb(var(--bc-overlay-rgb) / 72%);
	backdrop-filter: blur(4px);
}

.bc-request-dialog__panel {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	height: 100%;
}

.bc-request-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--bc-line);
	background: var(--bc-green-dark);
	color: var(--bc-white);
}

.bc-request-dialog__eyebrow {
	margin: 0 0 2px;
	color: var(--bc-on-dark-kicker);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bc-request-dialog__header h2 {
	margin: 0;
	color: var(--bc-white);
	font-size: clamp(23px, 3vw, 31px);
	line-height: 1.1;
}

.bc-request-dialog__close {
	display: grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 45%);
	border-radius: 50%;
	background: transparent;
	color: var(--bc-white);
	cursor: pointer;
	font: inherit;
	font-size: 31px;
	line-height: 1;
}

.bc-request-dialog__close:hover,
.bc-request-dialog__close:focus-visible {
	border-color: var(--bc-orange);
	background: var(--bc-orange);
	outline: 3px solid rgb(255 255 255 / 35%);
	outline-offset: 2px;
}

.bc-request-dialog__body {
	position: relative;
	min-height: 0;
	background: var(--bc-paper);
}

.bc-request-dialog__loading {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 0;
	color: var(--bc-green-dark);
	font-weight: 750;
	transform: translate(-50%, -50%);
}

.bc-request-dialog__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--bc-paper);
}

/* The iframe response deliberately contains just the form. */
body.bc-modal-form-page {
	min-height: 100vh;
	margin: 0;
	background: var(--bc-paper);
}

.bc-modal-form-page .bc-modal-form-shell {
	display: block !important;
	width: min(100%, 820px);
	margin-inline: auto;
	padding: 24px;
}

.bc-modal-form-page .bc-modal-form-shell .wp-block-post-content {
	font-size: 16px;
}

.bc-modal-form-page .bc-modal-form-shell .fluentform {
	margin: 0 !important;
	padding: clamp(18px, 4vw, 30px) !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

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

.bc-page-layout .wp-block-post-content > :last-child {
	margin-bottom: 0;
}

.bc-page-layout .wp-block-post-content h2,
.bc-page-layout .wp-block-post-content h3,
.bc-page-layout .wp-block-post-content h4 {
	color: var(--bc-green-dark);
	font-weight: 720;
	letter-spacing: -0.028em;
	line-height: 1.2;
	hyphens: auto;
	overflow-wrap: anywhere;
}

html[lang="en-GB"] .bc-page-layout .wp-block-post-content h2,
html[lang="en-GB"] .bc-page-layout .wp-block-post-content h3,
html[lang="en-GB"] .bc-page-layout .wp-block-post-content h4 {
	hyphens: manual;
	overflow-wrap: normal;
	word-break: normal;
}

.bc-page-layout .wp-block-post-content > h2 {
	margin: 1.55em 0 0.55em;
	font-size: clamp(31px, 4vw, 44px);
}

.bc-page-layout .wp-block-post-content > h3 {
	margin: 1.45em 0 0.5em;
	font-size: clamp(25px, 3vw, 33px);
}

.bc-page-layout .wp-block-post-content > h4 {
	margin: 1.35em 0 0.45em;
	font-size: 23px;
}

.bc-page-layout .wp-block-post-content p {
	margin-bottom: 1.2em;
}

/* A plain lead-in belongs visually to the following regular content list. */
.bc-page-layout .wp-block-post-content > p:has(+ .wp-block-list) {
	margin-bottom: 4px !important;
}

.bc-page-layout .wp-block-post-content > .bc-page-lead {
	max-width: 43ch;
	margin-bottom: 0;
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.55;
}

.bc-page-layout .wp-block-post-content .wp-block-image,
.bc-page-layout .wp-block-post-content .wp-block-gallery,
.bc-page-layout .wp-block-post-content .wp-block-columns {
	margin-top: 28px;
	margin-bottom: 34px;
}

.bc-page-layout .wp-block-post-content > .wp-block-image:first-child,
.bc-page-layout .wp-block-post-content > .wp-block-gallery:first-child {
	margin-top: 0;
}

/* The mobile glossary launcher is absolute, but remains the first DOM child. */
.bc-page-layout .wp-block-post-content > .bc-reference-glossary-launcher + .wp-block-image,
.bc-page-layout .wp-block-post-content > .bc-reference-glossary-launcher + .wp-block-gallery {
	margin-top: 0;
}

.bc-page-layout .wp-block-post-content .wp-block-image img,
.bc-page-layout .wp-block-post-content .wp-block-gallery img {
	border-radius: var(--bc-radius);
}

/* Shared service cards: only the image's outer top corners are rounded. */
.bc-page-layout .wp-block-post-content .bc-service-grid > .bc-card > .wp-block-image {
	margin: 0 !important;
}

.bc-service-grid > .bc-card > .wp-block-image img {
	border-radius: var(--bc-radius) var(--bc-radius) 0 0;
}

.bc-page-layout .wp-block-post-content .bc-microfilm-intro-visual img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: 50% 52%;
}

/*
 * Preserve the detail in small, documentary source images. Their featured
 * images use dedicated high-resolution media; these in-content originals
 * remain available with their contextual captions, but are never enlarged
 * beyond their native pixel width.
 */
.page-id-3065 .bc-reference-visual,
.page-id-3065 .bc-reference-visual img {
	max-width: 320px;
}

.page-id-3054 .bc-reference-visual,
.page-id-3054 .bc-reference-visual img,
.page-id-3060 .bc-reference-visual,
.page-id-3060 .bc-reference-visual img {
	max-width: 605px;
}

.page-id-2959 .wp-image-3125 {
	max-width: 580px;
}

.page-id-1199 .wp-image-1406 {
	max-width: 340px;
}

.page-id-1193 .wp-image-699 {
	max-width: 320px;
}

.page-id-1193 .wp-image-700 {
	max-width: 225px;
}

.bc-prose {
	padding-block: 76px 100px;
}

.bc-prose > * + * {
	margin-block-start: 1.35rem;
}

.bc-prose > h2 {
	margin: 1.55em 0 0.55em;
	font-size: clamp(31px, 4vw, 44px);
	line-height: 1.2;
	letter-spacing: -0.028em;
}

.bc-prose > h3 {
	margin: 1.45em 0 0.5em;
	font-size: clamp(25px, 3vw, 33px);
	line-height: 1.2;
}

.bc-prose .wp-block-image,
.bc-editorial-visual,
.bc-reference-visual {
	margin-block: 2.5rem;
}

.bc-prose .wp-block-image img,
.bc-editorial-visual img,
.bc-reference-visual img {
	border-radius: var(--bc-radius);
	box-shadow: var(--bc-shadow);
}

/* Reference visuals deliberately span the complete editorial column. */
.bc-page-layout .wp-block-post-content .bc-reference-visual,
.bc-page-layout .wp-block-post-content .bc-reference-visual img {
	width: 100%;
}

.bc-page-layout .wp-block-post-content .bc-reference-visual img {
	display: block;
	height: auto;
}

.bc-page-layout .wp-block-post-content figure.wp-block-image:not(.bc-process-card) > figcaption,
.bc-page-layout .wp-block-post-content figure.wp-block-gallery > figcaption,
.bc-page-layout .wp-block-post-content p.bc-image-credit {
	color: var(--bc-muted);
	font-size: 0.76rem;
	line-height: 1.4;
}

.bc-page-layout .wp-block-post-content figure.wp-block-image:not(.bc-process-card) > figcaption,
.bc-page-layout .wp-block-post-content figure.wp-block-gallery > figcaption {
	margin: 0.375rem 0 0;
}

.bc-page-layout .wp-block-post-content p.bc-image-credit {
	margin-bottom: 34px !important;
}

.bc-page-layout .wp-block-post-content .wp-block-image:has(+ p.bc-image-credit),
.bc-page-layout .wp-block-post-content .wp-block-gallery:has(+ p.bc-image-credit),
.bc-page-layout .wp-block-post-content .bc-service-grid:has(+ p.bc-image-credit),
.bc-page-layout .wp-block-post-content .bc-migrated-grid:has(+ p.bc-image-credit),
.bc-page-layout .wp-block-post-content .bc-process-grid:has(+ p.bc-process-credit) {
	margin-bottom: 0 !important;
}

.bc-page-layout .wp-block-post-content .wp-block-image + p.bc-image-credit,
.bc-page-layout .wp-block-post-content .wp-block-gallery + p.bc-image-credit,
.bc-page-layout .wp-block-post-content .bc-process-grid + p.bc-process-credit,
.bc-page-layout .wp-block-post-content .bc-service-grid + p.bc-image-credit,
.bc-page-layout .wp-block-post-content .bc-migrated-grid + p.bc-image-credit {
	margin-top: 0.375rem !important;
}

.bc-reference-actions,
.bc-widget-actions {
	gap: 0.65rem;
	margin-top: 2rem;
}

.bc-reference-actions .wp-block-button:not(:first-child) .wp-block-button__link,
.bc-reference-button--secondary .wp-block-button__link {
	border-color: var(--bc-green);
	background: transparent;
	color: var(--bc-green);
}

.bc-widget,
.bc-reference-closing,
.bc-process-section {
	margin-block: 2.5rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius);
	background: var(--bc-cream);
}

.bc-widget-hours table {
	width: 100%;
}

.bc-widget-hours td:first-child {
	font-weight: 750;
}

/* Fluent Forms follows the same visual system as the surrounding block theme. */
.bc-page-layout .fluentform {
	margin-block: 3rem 1rem !important;
	padding: clamp(22px, 4vw, 34px) !important;
	border: 1px solid var(--bc-line) !important;
	border-top: 4px solid var(--bc-green) !important;
	border-radius: var(--bc-radius) !important;
	background: var(--bc-white) !important;
	box-shadow: var(--bc-shadow) !important;
	color: var(--bc-ink) !important;
}

/* First content blocks align with the first panel in the adjacent sidebar. */
.bc-page-layout .wp-block-post-content > .fluentform:first-child {
	margin-top: 0 !important;
}

.bc-page-layout .fluentform form,
.bc-page-layout .fluentform fieldset,
.bc-page-layout .fluentform .ff-step-body,
.bc-page-layout .fluentform .fluentform-step {
	background: transparent !important;
}

.bc-page-layout .fluentform .fluentform-step {
	padding: 0 !important;
}

.bc-page-layout .fluentform .ff-el-group {
	margin-bottom: 24px;
}

.bc-page-layout .fluentform .ff-el-section-break {
	margin: 0 0 30px;
	padding: 0 0 20px;
	border-bottom: 1px solid var(--bc-line);
}

.bc-page-layout .fluentform .ff-el-section-break.ff-no-hr {
	border-bottom: 0;
}

.bc-page-layout .fluentform .ff-el-section-title {
	margin: 0 0 8px;
	color: var(--bc-green-dark);
	font-size: clamp(25px, 3vw, 32px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.bc-page-layout .fluentform .ff-section_break_desk,
.bc-page-layout .fluentform .ff-section_break_desk p {
	margin: 0;
	color: var(--bc-muted);
	font-size: 16px;
	line-height: 1.6;
}

.bc-page-layout .fluentform .ff-el-section-break hr {
	display: none;
}

.bc-page-layout .fluentform .ff-el-input--label label {
	color: var(--bc-ink);
	font-size: 15px;
	font-weight: 780;
	line-height: 1.4;
}

.bc-page-layout .fluentform .ff-el-tooltip {
	color: var(--bc-green);
}

.bc-page-layout .fluentform .ff-el-form-control {
	min-height: 50px;
	padding: 0.72rem 0.85rem;
	border: 1px solid var(--bc-line) !important;
	border-radius: 4px !important;
	background: var(--bc-paper) !important;
	box-shadow: none !important;
	color: var(--bc-ink) !important;
	font: inherit;
}

.bc-page-layout .fluentform textarea.ff-el-form-control {
	min-height: 130px;
}

.bc-page-layout .fluentform .ff-el-form-control:focus {
	border-color: var(--bc-green) !important;
	box-shadow: 0 0 0 3px rgb(var(--bc-primary-rgb) / 13%) !important;
	outline: 0;
}

.bc-page-layout .fluentform .ff-t-container {
	gap: 20px;
}

.bc-page-layout .fluentform .ff_el_checkable_photo_holders {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
	gap: 12px;
}

.bc-page-layout .fluentform .ff-el-image-holder {
	width: auto !important;
	margin: 0 !important;
	border: 1px solid var(--bc-line) !important;
	border-radius: var(--bc-radius) !important;
	overflow: hidden;
	background: var(--bc-white);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bc-page-layout .fluentform .ff-el-image-holder:hover {
	border-color: var(--bc-green) !important;
	box-shadow: 0 7px 20px rgb(var(--bc-shadow-rgb) / 10%);
	transform: translateY(-2px);
}

.bc-page-layout .fluentform .ff-el-image-holder > b {
	display: contents;
}

.bc-page-layout .fluentform .ff-el-image-input-src {
	display: block;
	min-height: 145px;
	background-color: var(--bc-paper);
	background-position: center !important;
	background-size: 58% !important;
}

.bc-page-layout .fluentform .ff-el-image-holder .ff-el-form-check-label {
	display: block;
	min-height: 72px;
	padding: 12px !important;
	background: var(--bc-cream) !important;
	color: var(--bc-ink) !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.bc-page-layout .fluentform .ff-el-image-holder .ff-el-form-check-label span {
	display: block;
	padding: 0 !important;
	background: transparent !important;
	color: inherit !important;
}

/* Match the compact, left-aligned image choices from the earlier album form. */
.bc-page-layout #fluentform_1 .ff_el_checkable_photo_holders {
	display: block;
	overflow: visible;
}

.bc-page-layout #fluentform_1 .ff-el-image-holder {
	display: inline-block;
	width: 125px !important;
	margin: 0 15px 10px 0 !important;
	padding: 10px 0 0;
	background: var(--bc-field-background) !important;
	vertical-align: top;
	text-align: center;
}

.bc-page-layout #fluentform_1 .ff-el-image-input-src {
	display: inline-block;
	width: 100px !important;
	height: 100px !important;
	min-height: 100px;
	margin: 0 !important;
	background-color: transparent !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

.bc-page-layout #fluentform_1 .ff-el-image-holder .ff-el-form-check-label {
	display: inline;
	width: auto;
	height: auto;
	min-height: 0;
	padding: 0 0 0 1px !important;
	background: transparent !important;
}

.bc-page-layout #fluentform_1 .ff-el-image-holder .ff-el-form-check-label span {
	display: block;
	position: relative;
	left: 1px;
	padding: 12px 20px !important;
	background: var(--bc-cream) !important;
	color: var(--bc-ink) !important;
	font-size: 12px;
	line-height: 14px;
	text-align: center;
}

.bc-page-layout #fluentform_1 .ff-el-image-holder.ff_item_selected .ff-el-form-check-label {
	background: transparent !important;
}

.bc-page-layout #fluentform_1 .ff-el-image-holder.ff_item_selected .ff-el-form-check-label span {
	background: var(--bc-green) !important;
	color: var(--bc-white) !important;
}

.bc-page-layout #fluentform_1 [data-name="section_break-1_9"],
.bc-page-layout #fluentform_1 [data-name="section_break-1_11"] {
	margin-top: 32px;
}

.bc-page-layout #fluentform_1 [data-name="section_break-1_9"] .ff-el-section-title,
.bc-page-layout #fluentform_1 [data-name="section_break-1_11"] .ff-el-section-title {
	margin-bottom: 0;
	padding-bottom: 0;
}

.bc-page-layout .fluentform .ff-el-image-holder.ff_item_selected {
	border-color: var(--bc-green) !important;
	box-shadow: 0 0 0 2px var(--bc-green);
}

.bc-page-layout .fluentform .ff-el-image-holder.ff_item_selected .ff-el-form-check-label {
	background: var(--bc-green) !important;
	color: var(--bc-white) !important;
}

.bc-page-layout #fluentform_1 .ff-el-image-holder.ff_item_selected {
	box-shadow: none;
}

.bc-page-layout #fluentform_1 .ff-el-image-holder:hover {
	border-color: var(--bc-green) !important;
	box-shadow: 0 7px 20px rgb(var(--bc-shadow-rgb) / 10%);
	transform: translateY(-2px);
}

.bc-page-layout .fluentform .ff-el-image-holder input {
	accent-color: var(--bc-green);
}

/* Step-two recap of the photo-album calculator. */
.bc-page-layout #fluentform_1 .bc-form-summary-field {
	margin-bottom: 30px;
}

.bc-page-layout #fluentform_1 .bc-form-summary-field:focus {
	outline: 0;
}

.bc-page-layout #fluentform_1 .bc-form-summary {
	overflow: hidden;
	border: 1px solid var(--bc-line);
	border-top: 4px solid var(--bc-orange);
	border-radius: var(--bc-radius);
	background: var(--bc-cream);
	box-shadow: 0 10px 26px rgb(var(--bc-shadow-rgb) / 8%);
}

.bc-page-layout #fluentform_1 .bc-form-summary__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 17px 20px 16px;
	background: var(--bc-white);
}

.bc-page-layout #fluentform_1 .bc-form-summary__heading {
	min-width: 0;
	flex: 1 1 160px;
}

.bc-page-layout #fluentform_1 .bc-form-summary__edit {
	display: inline-flex;
	min-height: 36px;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding: 6px 9px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--bc-green-dark);
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

.bc-page-layout #fluentform_1 .bc-form-summary__edit::before {
	content: "✎";
	font-size: 19px;
	font-weight: 700;
	line-height: 1;
}

.bc-page-layout #fluentform_1 .bc-form-summary__edit:hover,
.bc-page-layout #fluentform_1 .bc-form-summary__edit:focus-visible {
	border-color: var(--bc-line);
	background: var(--bc-green-soft);
	color: var(--bc-green-dark);
}

.bc-page-layout #fluentform_1 .bc-form-summary__edit:focus-visible {
	outline: 3px solid rgb(var(--bc-accent-form-focus-rgb) / 32%);
	outline-offset: 2px;
}

.bc-page-layout #fluentform_1 .bc-form-summary__icon {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--bc-green-soft);
	color: var(--bc-green-dark);
	font-size: 18px;
	font-weight: 850;
	line-height: 1;
}

.bc-page-layout #fluentform_1 .bc-form-summary__title {
	margin: 0;
	color: var(--bc-green-dark);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.bc-page-layout #fluentform_1 .bc-form-summary__intro {
	margin: 2px 0 0;
	color: var(--bc-muted);
	font-size: 13px;
	line-height: 1.4;
}

.bc-page-layout #fluentform_1 .bc-form-summary__list {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	margin: 0;
}

.bc-page-layout #fluentform_1 .bc-form-summary__item {
	min-width: 0;
	padding: 18px 20px 20px;
}

.bc-page-layout #fluentform_1 .bc-form-summary__item + .bc-form-summary__item {
	border-left: 1px solid var(--bc-line);
}

.bc-page-layout #fluentform_1 .bc-form-summary dt {
	margin: 0 0 6px;
	color: var(--bc-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.055em;
	line-height: 1.35;
	text-transform: uppercase;
}

.bc-page-layout #fluentform_1 .bc-form-summary dd {
	margin: 0;
	color: var(--bc-green-dark);
	font-size: 16px;
	font-weight: 750;
	line-height: 1.4;
}

.bc-page-layout #fluentform_1 .bc-form-summary dd strong {
	font-size: 21px;
	font-weight: 850;
}

.bc-page-layout #fluentform_1 .bc-form-summary dd span {
	color: var(--bc-ink);
	font-weight: 650;
}

.bc-page-layout .fluentform .ff-signal {
	margin-top: 8px;
	padding: 18px 20px;
	border-left: 4px solid var(--bc-green);
	border-radius: 0 var(--bc-radius) var(--bc-radius) 0;
	background: var(--bc-green-soft);
}

.bc-page-layout .fluentform .ff-signal .ff-html-headline,
.bc-page-layout .fluentform .ff-signal h4 {
	margin: 0 0 4px;
	color: var(--bc-green-dark);
	font-size: 15px;
	font-weight: 780;
}

.bc-page-layout .fluentform .ff-signal .ff-html-important,
.bc-page-layout .fluentform .ff-signal .ff-html-important-inline,
.bc-page-layout .fluentform .ff-signal h1 {
	margin: 0;
	color: var(--bc-green);
	font-size: clamp(30px, 5vw, 42px);
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.bc-page-layout .fluentform .bc-form-privacy {
	margin: 6px 0 18px;
	color: var(--bc-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.bc-page-layout .fluentform .bc-form-privacy a {
	font-weight: 700;
}

.bc-page-layout .fluentform .ff-btn,
.bc-page-layout .fluentform .ff-btn-submit {
	min-height: 46px;
	padding: 0.72rem 1.2rem !important;
	border: 2px solid var(--bc-orange) !important;
	border-radius: 4px !important;
	background: var(--bc-orange) !important;
	box-shadow: none !important;
	color: var(--bc-white) !important;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-shadow: none;
}

.bc-page-layout .fluentform .ff-btn:hover,
.bc-page-layout .fluentform .ff-btn:focus-visible,
.bc-page-layout .fluentform .ff-btn-submit:hover,
.bc-page-layout .fluentform .ff-btn-submit:focus-visible {
	border-color: var(--bc-green-dark) !important;
	background: var(--bc-green-dark) !important;
}

.bc-page-layout .fluentform .ff-btn-prev {
	border-color: var(--bc-green) !important;
	background: transparent !important;
	color: var(--bc-green) !important;
}

.bc-page-layout .fluentform .ff-btn-prev:hover,
.bc-page-layout .fluentform .ff-btn-prev:focus-visible {
	background: var(--bc-green) !important;
	color: var(--bc-white) !important;
}

.bc-page-layout .fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #b42318 !important;
}

.bc-page-layout .fluentform .error,
.bc-page-layout .fluentform .text-danger {
	color: #9f1c13 !important;
	font-size: 13px;
}

.bc-page-layout .fluentform .ff-message-success {
	padding: 18px;
	border: 1px solid var(--bc-green);
	border-radius: var(--bc-radius);
	background: var(--bc-green-soft);
	color: var(--bc-green-dark);
}

.bc-page-layout .fluentform .bc-form-success__kicker {
	margin: 0 0 6px;
	color: var(--bc-green);
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bc-page-layout .fluentform .bc-form-success h3 {
	margin: 0 0 10px;
	color: var(--bc-green-dark);
	font-size: clamp(1.35rem, 3vw, 1.7rem);
	font-weight: 850;
	line-height: 1.2;
}

.bc-page-layout .fluentform .bc-form-success p {
	margin: 0 0 10px;
}

.bc-page-layout .fluentform .bc-form-success p:last-child {
	margin-bottom: 0;
}

.bc-page-layout .fluentform .bc-form-success__meta {
	padding-top: 10px;
	border-top: 1px solid var(--bc-soft-border);
	color: var(--bc-heading-muted);
	font-size: 0.92rem;
}

.bc-site-cta {
	padding-block: 72px;
	background: var(--bc-green-dark);
	color: var(--bc-white);
}

.bc-site-cta__inner {
	gap: 54px !important;
}

.bc-site-cta h2 {
	margin: 0;
	color: var(--bc-white);
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 760;
	line-height: 1.06;
	letter-spacing: -0.045em;
}

.bc-site-cta p {
	max-width: 740px;
	margin: 15px 0 0;
	color: var(--bc-on-dark-muted);
	font-size: 19px;
}

.bc-site-footer {
	padding-block: 64px 26px;
	background: var(--bc-footer);
	color: var(--bc-footer-copy);
}

.bc-site-footer .wp-block-columns {
	gap: 52px;
	margin-bottom: 0;
}

.bc-site-footer h2,
.bc-site-footer h3,
.bc-site-footer strong {
	color: var(--bc-white);
}

.bc-site-footer h2,
.bc-site-footer h3 {
	margin: 0 0 16px;
	font-size: 17px;
}

.bc-site-footer .wp-block-column:first-child h2 {
	font-size: 27px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.bc-site-footer a {
	color: var(--bc-footer-link);
	text-decoration: none;
}

.bc-site-footer .wp-block-list {
	padding-left: 0;
	list-style: none;
}

.bc-site-footer__bottom {
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid var(--bc-footer-line);
	color: var(--bc-footer-muted);
	font-size: 12px;
	line-height: 1.5;
}

.bc-post-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.bc-post-grid .wp-block-post {
	padding: 1.5rem;
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius);
	background: var(--bc-white);
}

/* Schlagwortarchive erhalten einen eigenen, kompakten Einstieg und gleich große Karten. */
.bc-tag-archive-hero {
	padding: 86px 0 74px;
	background-color: var(--bc-green-dark);
	background-image:
		linear-gradient(104deg, rgb(var(--bc-shadow-rgb) / 94%) 0%, rgb(var(--bc-shadow-rgb) / 89%) 48%, rgb(var(--bc-primary-rgb) / 78%) 100%),
		url('/wp-content/uploads/2025/04/pexels-repuding-12064-scaled.jpg');
	background-position: center, center 47%;
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--bc-white);
}

.bc-tag-archive-hero__inner {
	width: var(--bc-shell);
	max-width: var(--bc-shell);
	margin-inline: auto;
}

.bc-tag-archive-hero__inner h1 {
	margin: 0;
	color: var(--bc-white);
	font-size: clamp(42px, 6vw, 76px);
	font-weight: 780;
	line-height: 1;
	letter-spacing: -0.055em;
}

.bc-tag-archive-hero__inner p {
	margin: 16px 0 0;
	color: var(--bc-on-dark-tag);
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.45;
}

.bc-tag-archive-content {
	padding-block: 72px 100px;
}

.bc-tag-archive-query {
	width: var(--bc-shell);
	max-width: var(--bc-shell);
	margin-inline: auto;
}

.bc-tag-archive-query .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
}

.bc-tag-archive-query .wp-block-post {
	position: relative;
	display: flex;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--bc-line);
	border-top: 4px solid var(--bc-green);
	border-radius: var(--bc-radius);
	background: var(--bc-white);
	box-shadow: 0 7px 20px rgb(var(--bc-shadow-rgb) / 7%);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bc-tag-archive-query .wp-block-post:hover,
.bc-tag-archive-query .wp-block-post:focus-within {
	border-color: var(--bc-hover-border);
	box-shadow: var(--bc-shadow);
	transform: translateY(-3px);
}

.bc-tag-archive-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 25px 24px 26px;
}

/* Die Core-Klasse is-layout-constrained zentriert kurze Flex-Kinder sonst sichtbar. */
.bc-tag-archive-card__content > * {
	width: 100%;
	max-width: none !important;
	margin-inline: 0 !important;
}

.bc-tag-archive-card__content .wp-block-post-title {
	margin: 0;
	color: var(--bc-green-dark);
	font-size: clamp(21px, 2vw, 26px);
	line-height: 1.16;
	letter-spacing: -0.03em;
}

.bc-tag-archive-card__content .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

/* Die Link-Fläche liegt über der ganzen Karte; so funktionieren Klick und Tap überall. */
.bc-tag-archive-card__content .wp-block-post-title a::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	cursor: pointer;
	content: "";
}

.bc-tag-archive-card__content .wp-block-post-excerpt {
	margin: 16px 0 0;
	color: var(--bc-muted);
	font-size: 16px;
	line-height: 1.55;
}

.bc-tag-archive-card__content .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.bc-tag-archive-query .wp-block-query-pagination {
	margin-top: 42px;
}

.bc-tag-archive-query .wp-block-query-pagination a {
	color: var(--bc-green-dark);
	font-weight: 750;
}

@media (max-width: 900px) {
	.bc-tag-archive-query .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.bc-tag-archive-hero {
		padding-block: 60px 54px;
	}

	.bc-tag-archive-content {
		padding-block: 48px 72px;
	}

	.bc-tag-archive-query .wp-block-post-template {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.bc-tag-archive-card__content {
		padding: 22px 20px 24px;
	}
}

/* About page: contextualize the two collective-network images without hiding the copy in a lightbox. */
.bc-page-layout .wp-block-post-content .bc-about-collective {
	margin: 38px 0 42px !important;
	padding: 26px;
	border: 1px solid var(--bc-line);
	border-top: 4px solid var(--bc-orange);
	border-radius: 0 0 var(--bc-radius) var(--bc-radius);
	background: var(--bc-cream);
}

.bc-page-layout .wp-block-post-content .bc-about-collective__title {
	margin: 0 0 0.45rem;
	color: var(--bc-green-dark);
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.2;
}

.bc-page-layout .wp-block-post-content .bc-about-collective__intro {
	max-width: 66ch;
	margin: 0 0 20px !important;
}

.bc-page-layout .wp-block-post-content .bc-about-collective__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0 !important;
}

.bc-page-layout .wp-block-post-content .bc-about-collective__figure {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0 !important;
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius);
	background: var(--bc-white);
	box-shadow: 0 9px 24px rgb(var(--bc-shadow-rgb) / 8%);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bc-page-layout .wp-block-post-content .bc-about-collective__figure:hover {
	border-color: var(--bc-card-hover-border);
	box-shadow: 0 13px 30px rgb(var(--bc-shadow-rgb) / 12%);
	transform: translateY(-2px);
}

.bc-page-layout .wp-block-post-content .bc-about-collective__figure img {
	display: block;
	width: 100%;
	aspect-ratio: 706 / 286;
	border-radius: var(--bc-radius) var(--bc-radius) 0 0;
	box-shadow: none;
	object-fit: cover;
}

.bc-page-layout .wp-block-post-content .bc-about-collective__figure > figcaption {
	flex: 1;
	margin: 0;
	padding: 14px 16px 16px;
	background: var(--bc-white);
	color: var(--bc-ink);
	font-size: 0.9rem;
	line-height: 1.48;
	text-align: left;
}

.bc-about-collective__figure figcaption strong,
.bc-about-collective__figure figcaption span {
	display: block;
}

.bc-about-collective__figure figcaption strong {
	margin-bottom: 0.3rem;
	color: var(--bc-green-dark);
	font-size: 1.02rem;
	line-height: 1.3;
}

/* Match the collective-image lightbox to the translucent request-dialog backdrop. */
.page-id-871 .wp-lightbox-overlay .scrim {
	background-color: rgb(var(--bc-overlay-rgb) / 72%) !important;
	backdrop-filter: blur(4px);
}

.page-id-871 .wp-lightbox-overlay .close-button {
	fill: var(--bc-white) !important;
}

.page-id-871 .wp-lightbox-overlay .close-button:hover,
.page-id-871 .wp-lightbox-overlay .close-button:focus-visible {
	fill: var(--bc-orange) !important;
}

@media (max-width: 1240px) {
	.bc-site-header .bc-header-button {
		display: none !important;
	}

	.bc-reference-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 901px) and (max-width: 1060px) {
	.bc-brand-copy .wp-block-site-tagline {
		display: none;
	}
}

@media (max-width: 900px) {
	:root {
		--bc-shell: min(100% - 36px, 1180px);
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding: 56px 28px 40px 24px;
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		top: 18px;
		right: 18px;
	}

	.bc-site-header__inner {
		min-height: 76px;
	}

	.bc-section__head,
	.bc-home-intro {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 26px;
	}

	.bc-facts,
	.bc-reference-facts {
		grid-template-columns: 1fr;
	}

	.bc-page-layout {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.bc-page-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bc-sidebar-navigation {
		grid-column: 1 / -1;
	}

	.bc-site-footer .wp-block-columns {
		flex-wrap: wrap !important;
	}

	.bc-site-footer .wp-block-column {
		flex-basis: calc(50% - 26px) !important;
		flex-grow: 0;
	}

	/* Keep mobile navigation sections compact and independently expandable. */
	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		--bc-mobile-nav-toggle-width: 1.2em;
		--bc-mobile-nav-toggle-gap: 0.45em;
		align-items: flex-end !important;
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.has-child {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) var(--bc-mobile-nav-toggle-width);
		align-items: center !important;
		width: 100%;
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.has-child) {
		margin-inline-end: calc(var(--bc-mobile-nav-toggle-width) + var(--bc-mobile-nav-toggle-gap));
		text-align: right;
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
		grid-column: 1;
		min-width: 0;
		justify-self: end;
		margin-inline-end: var(--bc-mobile-nav-toggle-gap);
		text-align: right;
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-submenu__toggle {
		display: inline-flex !important;
		grid-column: 2;
		grid-row: 1;
		align-items: center;
		justify-content: center;
		width: var(--bc-mobile-nav-toggle-width);
		height: var(--bc-mobile-nav-toggle-width);
		margin: 0 !important;
		padding: 0 !important;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: var(--bc-green-dark);
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
		display: none !important;
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100% !important;
		height: 0 !important;
		min-width: 0 !important;
		opacity: 0 !important;
		overflow: hidden !important;
		visibility: hidden !important;
		padding: 0 !important;
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.has-child[data-bc-open="true"] > .wp-block-navigation__submenu-container {
		display: flex !important;
		height: auto !important;
		opacity: 1 !important;
		overflow: visible !important;
		visibility: visible !important;
		padding: 0.65rem 0 0.85rem 1.25rem !important;
	}

	.bc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		display: flex !important;
		justify-content: flex-end;
		padding-inline-end: calc(var(--bc-mobile-nav-toggle-width) + var(--bc-mobile-nav-toggle-gap));
		text-align: right;
	}
}

@media (max-width: 720px) {
	.bc-home-hero {
		min-height: 700px !important;
	}

	.bc-home-hero__content {
		padding: 92px 0 60px;
	}

	.bc-current-news,
	.bc-current-news--service {
		padding-block: 20px 22px;
	}

	.bc-current-news__eyebrow {
		margin: 0 0 10px;
	}

	.bc-current-news__item {
		height: 108px;
	}

	.bc-current-news__item-content {
		padding: 10px 16px;
	}

	.bc-current-news__type {
		width: 50px;
		min-width: 50px;
	}

	.bc-current-news__type svg {
		width: 25px;
		height: 25px;
	}

	.bc-current-news__item h3 {
		font-size: 18px;
	}

	.bc-current-news__item .bc-current-news__teaser {
		font-size: 14px;
	}

	.bc-section {
		padding-block: 72px;
	}

	.bc-card-grid,
	.bc-service-grid,
	.bc-reference-grid,
	.bc-process-grid,
	.bc-migrated-grid,
	.bc-document-showcase,
	.bc-post-grid .wp-block-post-template {
		grid-template-columns: 1fr;
	}

	.bc-reference-grid:has(> .bc-reference-card) {
		grid-template-columns: 1fr;
	}

	.bc-page-layout .wp-block-post-content .bc-about-collective {
		padding: 20px;
	}

	.bc-page-layout .wp-block-post-content .bc-about-collective__grid {
		grid-template-columns: 1fr;
	}

	.bc-document-showcase__image img {
		height: 230px;
	}

	.bc-card--wide,
	.bc-service-card--wide {
		grid-column: auto;
	}

	.bc-card--wide > .wp-block-image img,
	.bc-service-card--wide > .wp-block-image img {
		aspect-ratio: 16 / 9;
	}

	.bc-service-grid .bc-card__body {
		min-height: 0;
	}

	.bc-section > .bc-process-grid .bc-process-card,
	.bc-section > .bc-process-grid .bc-process-card img {
		min-height: 430px;
	}

	.bc-media-split,
	.bc-media-split .wp-block-media-text__content,
	.bc-media-split .wp-block-media-text__media img {
		min-height: 0;
	}

	.bc-media-split .wp-block-media-text__media {
		min-height: 470px;
	}

	.bc-media-split .wp-block-media-text__content {
		padding: 3rem 1.25rem;
	}

	.bc-page-hero {
		min-height: 400px;
	}

	.page-id-1193 .bc-page-hero > .wp-block-post-featured-image img {
		object-position: 8% 50%;
	}

	.bc-page-hero__content {
		padding: 72px 0 48px;
	}

	.single-post .bc-page-hero {
		min-height: 230px;
	}

	.single-post .bc-page-hero__content {
		padding: 42px 0 28px;
	}

	.bc-page-content,
	.bc-prose {
		padding-block: 58px 76px;
	}

	.bc-page-layout .wp-block-post-content {
		font-size: 17px;
	}

	.bc-page-layout .fluentform {
		padding: 22px !important;
	}

	.bc-page-layout .fluentform .ff-t-container {
		display: block;
	}

	.bc-page-layout .fluentform .ff-t-cell {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		flex-basis: 100% !important;
	}

	.bc-page-layout #fluentform_1 .bc-form-summary__list {
		grid-template-columns: 1fr;
	}

	.bc-page-layout #fluentform_1 .bc-form-summary__item + .bc-form-summary__item {
		border-top: 1px solid var(--bc-line);
		border-left: 0;
	}

	.bc-page-layout #fluentform_1 .bc-form-summary__header {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.bc-page-layout #fluentform_1 .bc-form-summary__edit {
		margin-left: 46px;
	}

	.bc-site-cta__inner {
		align-items: flex-start !important;
		flex-direction: column;
	}

	.bc-site-footer__bottom {
		display: grid !important;
	}
}

@media (max-width: 520px) {
	:root {
		--bc-shell: min(100% - 28px, 1180px);
	}

	.bc-brand-copy .wp-block-site-tagline,
	.bc-site-header .bc-header-button {
		display: none !important;
	}

	.bc-site-header__inner {
		gap: 12px !important;
	}

	.bc-home-hero h1 {
		font-size: 50px;
	}

	.bc-page-hero h1 {
		font-size: 42px;
	}

	.bc-page-sidebar {
		grid-template-columns: 1fr;
	}

	.bc-sidebar-navigation {
		grid-column: auto;
	}

	.bc-page-layout .fluentform {
		padding: 18px !important;
	}

	.bc-request-dialog {
		width: 100vw;
		height: 100dvh;
		border-radius: 0;
	}

	.bc-reference-glossary-dialog {
		width: 100vw;
		height: 90dvh;
		border-radius: 0;
	}

	.bc-request-dialog__header {
		padding: 14px 16px;
	}

	.bc-modal-form-page .bc-modal-form-shell {
		padding: 10px;
	}

	.bc-modal-form-page .bc-modal-form-shell .fluentform {
		padding: 12px !important;
	}

	.bc-site-footer .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (max-width: 360px) {
	.page-id-674 .bc-page-hero__content h1 {
		hyphens: auto;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}
