/**
 * Global styles that theme.json cannot express.
 *
 * Loaded on every page and in the editor. Everything specific to one block
 * lives in that block's own style.css and loads only where the block is
 * used. Values come from theme.json presets (--wp--preset--*) and custom
 * properties (--wp--custom--*); no raw colours or sizes here unless Figma has
 * no token for them.
 *
 * Naming: e-* for theme components, is-style-* for block style variations
 * (inc/block-styles.php).
 */

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

/* Fallback faces with the web fonts' metrics. Until Cormorant Garamond and
 * DM Sans arrive, text is set in Times New Roman / Arial scaled to the same
 * average glyph width and line box, so lines break in the same places and
 * nothing moves when the web font swaps in (the home H1 used to lose a line,
 * CLS 0.22 on phones). Values from the font files with fontTools: size-adjust
 * = average advance of a Polish sample, the overrides = the web font's
 * ascent and descent over that size. Liberation and Noto are the nearest
 * faces on Linux and Android, where Times and Arial are missing. */
@font-face {
	font-family: "Cormorant Garamond Fallback";
	src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("Noto Serif");
	size-adjust: 96.29%;
	ascent-override: 95.96%;
	descent-override: 29.81%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "DM Sans Fallback";
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Roboto");
	size-adjust: 104.11%;
	ascent-override: 95.28%;
	descent-override: 29.77%;
	line-gap-override: 0%;
}

/* WordPress kebab-cases preset slugs, so the "h1"…"h4" font sizes come out
 * as --wp--preset--font-size--h-1 … h-4 (and .has-h-2-font-size). The
 * aliases keep the readable names working in theme.json and block CSS. */
:root {
	--wp--preset--font-size--h1: var(--wp--preset--font-size--h-1);
	--wp--preset--font-size--h2: var(--wp--preset--font-size--h-2);
	--wp--preset--font-size--h3: var(--wp--preset--font-size--h-3);
	--wp--preset--font-size--h4: var(--wp--preset--font-size--h-4);

	/* Widest frame a row may run into past the content column (the team
	 * carousel and the districts strip run to the window edge): up to a
	 * 1920 px window they still do, on wider screens they stop 320 px past
	 * the column and fade out instead of crossing half an ultrawide screen
	 * (review of 21.11.2026, 3440 px monitor). Blocks fall back to the same
	 * value where this file is not loaded. */
	--e-bleed-frame: 1920px;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--wp--custom--header) + 16px);
}

/* Template parts and main sit edge to edge: no root block gap between the
 * header, the first section, the last section and the footer. */
.wp-site-blocks > * {
	margin-block: 0;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizelegibility;
	overflow-x: clip;
}

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

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

/* A heading set in another level's size (the editor's Font size control:
 * the district sections set their H2s in the H1 size) takes that level's
 * line height as well. */
:is(h1, h2, h3, h4, h5, h6).has-h-1-font-size {
	line-height: 1.1429;
}

:is(h1, h2, h3, h4, h5, h6).has-h-2-font-size {
	line-height: 1.15;
}

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

:where(a, button, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--burgundy);
	outline-offset: 3px;
}

.e-icon {
	display: inline-block;
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	vertical-align: middle;
}

/* [hidden] wins over component display rules (an arrow link is
 * inline-flex). hidden="until-found" keeps its own find-in-page behaviour. */
[hidden]:not([hidden="until-found"]) {
	display: none !important;
}

.screen-reader-text,
.e-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Logo, inline SVG (inc/icons.php). */
.e-logo {
	display: block;
	width: 95px;
	height: auto;
}

/* A logo uploaded in Ustawienia Eterii fits the drawing's box. */
img.e-logo--image {
	height: 48px;
	object-fit: contain;
	object-position: left center;
}

.e-logo--inverse .logo-mark,
.e-logo--inverse .logo-text,
.e-logo--inverse .logo-accent {
	fill: var(--wp--preset--color--text-inverse);
}

/* Inline accent colour picked with the editor's highlight format: keep the
 * transparent background core writes inline, only the colour matters. */
mark.has-inline-color {
	background-color: transparent;
}

/* -------------------------------------------------------------------------
 * Sections (core/group style variations)
 * ---------------------------------------------------------------------- */

:where(
	.is-style-section-white,
	.is-style-section-cream,
	.is-style-section-parchment,
	.is-style-section-graphite,
	.is-style-section-deep,
	.is-style-section-hero,
	.is-style-section-page-hero
) {
	padding-top: var(--wp--custom--section);
	padding-bottom: var(--wp--custom--section);
}

/* Sections stack edge to edge: no block gap between them. The calculator
   bar too: where its stylesheet loads before the global styles, the
   layout's gap would win over its own margin. .is-root-container is the
   content in the editor canvas. */
:where(.wp-site-blocks, main, .wp-block-post-content, .is-root-container) > :is(
	.is-style-section-white,
	.is-style-section-cream,
	.is-style-section-parchment,
	.is-style-section-graphite,
	.is-style-section-deep,
	.is-style-section-hero,
	.is-style-section-page-hero,
	.wp-block-eteria-cta-bar
) {
	margin-block: 0;
}

.is-style-section-white {
	background-color: var(--wp--preset--color--white);
}

.is-style-section-cream {
	background-color: var(--wp--preset--color--cream);
}

.is-style-section-parchment {
	background-color: var(--wp--preset--color--parchment);
}

.is-style-section-hero,
.is-style-section-page-hero {
	background: linear-gradient(180deg, var(--wp--preset--color--cream) 0%, var(--wp--preset--color--white) 100%);
}

/* A background colour picked in the editor replaces the gradient. */
:is(.is-style-section-hero, .is-style-section-page-hero).has-background {
	background-image: none;
}

/* «Nagłówek strony»: the title band of inner pages. Breadcrumbs, the H1
 * (or the columns that hold it) a little further down, a lead in a reading
 * measure that stays aligned with the title (the constrained layout would
 * centre it). Pages built from sections and the page templates share it. */
.is-style-section-page-hero {
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: clamp(2rem, 1.2958rem + 3.0047vw, 4rem);
}

.is-style-section-page-hero > * + * {
	margin-block-start: var(--wp--preset--spacing--20);
}

.is-style-section-page-hero > h1,
.is-style-section-page-hero > .wp-block-eteria-breadcrumbs + .wp-block-columns {
	margin-block-start: clamp(1.5rem, 1.1479rem + 1.5023vw, 2.5rem);
}

.is-style-section-page-hero > :is(.is-style-lead, .wp-block-term-description) {
	max-width: 50rem;
	margin-left: max(0px, (100% - var(--wp--style--global--content-size)) / 2) !important;
}

.is-style-section-graphite,
.is-style-section-deep {
	--e-line: var(--wp--preset--color--border-dark);
	color: var(--wp--preset--color--text-inverse);
	background-color: var(--wp--preset--color--graphite);
}

.is-style-section-deep {
	background-color: var(--wp--preset--color--graphite-deep);
}

/* text/muted is tuned for light surfaces (5.8:1 on white, 5:1 on cream);
 * on graphite it swaps for its lighter twin (6.2:1). White cards inside a
 * dark section take the light value back. */
body {
	--e-text-muted-light: var(--wp--preset--color--text-muted);
}

:is(.is-style-section-graphite, .is-style-section-deep, .has-graphite-background-color, .has-graphite-mid-background-color, .has-graphite-deep-background-color, .wp-block-eteria-site-footer) {
	--wp--preset--color--text-muted: var(--wp--preset--color--text-muted-inverse);
}

:is(.is-style-section-graphite, .is-style-section-deep) :is(.has-white-background-color, .has-cream-background-color, .has-ecru-background-color, .has-parchment-background-color, .e-lead-form__card) {
	--wp--preset--color--text-muted: var(--e-text-muted-light);
}

:is(.is-style-section-graphite, .is-style-section-deep) :where(a:not(.wp-block-button__link)) {
	color: var(--wp--preset--color--gold);
}

:is(.is-style-section-graphite, .is-style-section-deep) :where(.has-text-subtle-color, .is-style-lead) {
	color: rgb(240 240 230 / 0.7) !important;
}

/* -------------------------------------------------------------------------
 * Text styles (core/paragraph style variations)
 * ---------------------------------------------------------------------- */

.is-style-eyebrow,
.is-style-label {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--label);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
}

.is-style-eyebrow {
	color: var(--wp--preset--color--burgundy);
}

.is-style-label {
	color: var(--wp--preset--color--text-muted);
}

:is(.is-style-section-graphite, .is-style-section-deep) .is-style-eyebrow {
	color: var(--wp--preset--color--gold);
}

/* «Podtytuł»: the line under a page title, in the heading face. */
.is-style-subtitle {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.375rem, 1.243rem + 0.5634vw, 1.75rem);
	font-weight: 300;
	line-height: 1.357;
	color: var(--wp--preset--color--text-subtle);
}

:is(.is-style-section-graphite, .is-style-section-deep) .is-style-subtitle {
	color: rgb(240 240 230 / 0.7);
}

/* «Display» (core/heading): the mockups' 99 px titles of /o-nas/,
 * /nasze-realizacje/, the services and /kontakt/. */
.wp-block-heading.is-style-display {
	font-size: var(--wp--preset--font-size--display);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.01em;
}

.is-style-lead {
	font-size: var(--wp--preset--font-size--lead);
	line-height: var(--wp--custom--line-height--lead);
	color: var(--wp--preset--color--text-subtle);
}

.is-style-arrow-link a,
:is(a, button).e-arrow-link {
	display: inline-flex;
	gap: 0.75rem;
	align-items: center;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	line-height: var(--wp--custom--line-height--label);
	letter-spacing: var(--wp--custom--letter-spacing--label-lg);
	color: var(--wp--preset--color--burgundy);
	text-decoration: none;
	text-transform: uppercase;
}

/* Gold on the dark sections, as every link there. */
:is(.is-style-section-graphite, .is-style-section-deep) .is-style-arrow-link a {
	color: var(--wp--preset--color--gold);
}

.is-style-arrow-link a::after,
:is(a, button).e-arrow-link::after {
	content: "";
	width: 1rem;
	height: 1rem;
	background-color: currentcolor;
	mask: url(../icons/arrow-right.svg) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.is-style-arrow-link a:hover::after,
:is(a, button).e-arrow-link:hover::after {
	transform: translateX(3px);
}

button.e-arrow-link {
	padding: 0;
	font-family: inherit;
	cursor: pointer;
	background: none;
	border: 0;
}

/* Lists */
.is-style-check,
.is-style-arrow {
	padding-left: 0;
	list-style: none;
}

.is-style-check li,
.is-style-arrow li {
	position: relative;
	padding-left: 1.75rem;
}

.is-style-check li + li,
.is-style-arrow li + li {
	margin-top: 0.75rem;
}

.is-style-check li::before,
.is-style-arrow li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 1.125rem;
	height: 1.125rem;
	background-color: var(--wp--preset--color--burgundy);
	mask: url(../icons/check.svg) center / contain no-repeat;
}

.is-style-arrow li::before {
	background-color: var(--wp--preset--color--gold);
	mask-image: url(../icons/arrow-right.svg);
}

/* Square gold markers (Figma 4581:12518, calculator). */
.is-style-square {
	padding-left: 0;
	list-style: none;
}

.is-style-square li {
	position: relative;
	padding-left: 1.125rem;
}

.is-style-square li + li {
	margin-top: 0.75rem;
}

.is-style-square li::before {
	content: "";
	position: absolute;
	top: calc(0.5lh - 3px);
	left: 0;
	width: 6px;
	height: 6px;
	background-color: var(--wp--preset--color--gold);
}

/* Ordered list «Numerowana (01, 02…)»: rows between rules, the number in
 * the heading face (the vacancy's questions). */
.is-style-numbered {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--e-line, var(--wp--preset--color--border-cream));
	counter-reset: e-numbered-list;
}

.is-style-numbered li {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	gap: 16px;
	align-items: baseline;
	padding-block: 22px;
	font-size: var(--wp--preset--font-size--lead);
	line-height: var(--wp--custom--line-height--lead);
	border-bottom: 1px solid var(--e-line, var(--wp--preset--color--border-cream));
	counter-increment: e-numbered-list;
}

.is-style-numbered li::before {
	content: counter(e-numbered-list, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--h-3);
	line-height: 1;
	color: var(--wp--preset--color--burgundy);
}

:is(.is-style-section-graphite, .is-style-section-deep) .is-style-numbered li::before {
	color: var(--wp--preset--color--gold);
}

@media (max-width: 781px) {

	.is-style-numbered li {
		grid-template-columns: 2.5rem minmax(0, 1fr);
		gap: 12px;
		padding-block: 18px;
		font-size: var(--wp--preset--font-size--body);
	}
}

/* Ordered list «Kroki rzymskie»: gold I, II, III beside each step, the
 * step's bold opening as its title (contact sections). */
.is-style-roman-steps {
	display: grid;
	gap: 24px;
	padding: 16px 0 0;
	list-style: none;
	counter-reset: e-roman-step;
}

.is-style-roman-steps li {
	position: relative;
	min-height: 40px;
	padding-inline-start: 64px;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 300;
	line-height: 1.625;
	color: var(--wp--preset--color--text-subtle);
	counter-increment: e-roman-step;
}

:is(.is-style-section-graphite, .is-style-section-deep) .is-style-roman-steps li {
	color: rgb(240 240 230 / 0.6);
}

.is-style-roman-steps li::before {
	content: counter(e-roman-step, upper-roman);
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--gold);
}

.is-style-roman-steps strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--h-4);
	font-weight: 500;
	line-height: 1.185;
	color: var(--wp--preset--color--text-primary);
}

:is(.is-style-section-graphite, .is-style-section-deep) .is-style-roman-steps strong {
	color: var(--wp--preset--color--cream);
}

@media (max-width: 781px) {

	.is-style-roman-steps li {
		padding-inline-start: 48px;
	}
}

/* Under a heading and lead in a column (the contact sections). */
.wp-block-column > .is-style-roman-steps {
	margin-block-start: 28px;
}

/* -------------------------------------------------------------------------
 * Cards (core/group style variations; «Karta» in the inserter)
 *
 * The title takes its size from the editor's font size control, the
 * spacing inside from «Odstęp bloków»; these only draw the card.
 * ---------------------------------------------------------------------- */

.wp-block-group:is(.is-style-card, .is-style-card-cream, .is-style-card-line, .is-style-note) {
	--e-card-gap: 12px;
}

/* 12 px between the parts unless the card sets its own «Odstęp bloków»
 * (core then gives it a wp-container-* class and its own gap rule; in the
 * editor canvas this file is one class stronger and would win otherwise). */
.wp-block-group:is(.is-style-card, .is-style-card-cream, .is-style-card-line, .is-style-note):not([class*="wp-container-"]) > * {
	margin-block: 0;
}

.wp-block-group:is(.is-style-card, .is-style-card-cream, .is-style-card-line, .is-style-note):not([class*="wp-container-"]) > * + * {
	margin-block-start: var(--e-card-gap);
}

/* «Karta»: white, padded; cream where the section itself is white. Scoped
 * to groups: «Liczba» has a «Karta» style of its own. */
.wp-block-group.is-style-card {
	padding: clamp(1.75rem, 1.3099rem + 1.8779vw, 2.5rem);
	background-color: var(--wp--preset--color--white);
}

:is(.is-style-section-white, .has-white-background-color) .wp-block-group.is-style-card {
	background-color: var(--wp--preset--color--cream);
}

/* «Karta kremowa». */
.wp-block-group.is-style-card-cream {
	padding: clamp(1.5rem, 0.9718rem + 2.2535vw, 3rem);
	background-color: var(--wp--preset--color--cream);
}

/* «Z linią u góry»: no box, a hairline above (lists of points). */
.wp-block-group.is-style-card-line {
	padding-top: 20px;
	border-top: 1px solid var(--e-line, var(--wp--preset--color--border-cream));
}

/* «Notatka»: a gold rule down the left side. */
.wp-block-group.is-style-note {
	padding-inline-start: 20px;
	border-inline-start: 2px solid var(--wp--preset--color--gold);
}

/* -------------------------------------------------------------------------
 * Buttons (core/button). Primary comes from theme.json elements.button.
 * ---------------------------------------------------------------------- */

.wp-block-button__link,
.e-button {
	display: inline-flex;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.e-button {
	padding: 14px 24px;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 400;
	line-height: 16px;
	letter-spacing: var(--wp--custom--letter-spacing--button);
	color: var(--wp--preset--color--text-inverse);
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	background-color: var(--wp--preset--color--burgundy);
	border: 0;
	border-radius: 0;
}

.e-button:hover {
	color: var(--wp--preset--color--text-inverse);
	background-color: var(--wp--preset--color--burgundy-hover);
}

.wp-block-button.is-style-outline .wp-block-button__link,
.e-button--outline {
	padding: 13px 23px;
	color: var(--wp--preset--color--text-primary);
	background-color: transparent;
	border: 1px solid var(--wp--preset--color--text-primary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.e-button--outline:hover {
	color: var(--wp--preset--color--text-inverse);
	background-color: var(--wp--preset--color--graphite);
}

.wp-block-button.is-style-outline-gold .wp-block-button__link {
	padding: 17px 33px;
	color: var(--wp--preset--color--text-primary);
	background-color: transparent;
	border: 1px solid var(--wp--preset--color--gold);
}

.wp-block-button.is-style-outline-gold .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--ecru);
	border-color: var(--wp--preset--color--burgundy);
}

.wp-block-button.is-style-outline-light .wp-block-button__link,
.e-button--outline-light {
	padding: 13px 23px;
	color: var(--wp--preset--color--text-inverse);
	background-color: transparent;
	border: 1px solid rgb(240 240 230 / 0.35);
}

.wp-block-button.is-style-outline-light .wp-block-button__link:hover,
.e-button--outline-light:hover {
	color: var(--wp--preset--color--graphite);
	background-color: var(--wp--preset--color--text-inverse);
}

.wp-block-button.is-style-ghost .wp-block-button__link {
	color: var(--wp--preset--color--text-primary);
	background-color: transparent;
}

/* Arrow after the label: add the "has-arrow" class to a Button block. */
.wp-block-button.has-arrow .wp-block-button__link::after,
.e-button.has-arrow::after {
	content: "";
	width: 0.875rem;
	height: 0.875rem;
	background-color: currentcolor;
	mask: url(../icons/arrow-right.svg) center / contain no-repeat;
}

.wp-block-button:is(.is-style-outline, .is-style-outline-gold).has-arrow .wp-block-button__link::after {
	background-color: var(--wp--preset--color--burgundy);
}

/* Large size (Figma Size=LG). */
.wp-block-button.is-size-lg:not([class*="is-style-outline"]) .wp-block-button__link {
	padding: 18px 32px;
}

/* Wherever the columns stack (below 782 px, core's breakpoint) every call to
 * action spans the column, as in the mobile mockups, so buttons stacked
 * under each other are the same size. */
@media (max-width: 781px) {

	.wp-block-buttons > .wp-block-button {
		flex: 1 1 100%;
		width: 100%;
	}

	.wp-block-buttons > .wp-block-button > .wp-block-button__link {
		width: 100%;
	}
}

/* -------------------------------------------------------------------------
 * Carousel (assets/js/carousel.js wires the optional controls)
 * ---------------------------------------------------------------------- */

/* Defaults at zero specificity: block stylesheets load before this file
 * and set their own --e-carousel-item / --e-carousel-gap. */
:where(.e-carousel) {
	--e-carousel-gap: 16px;
	--e-carousel-item: 80%;
}

.e-carousel {
	position: relative;
}

.e-carousel__track {
	display: grid;
	grid-auto-columns: var(--e-carousel-item);
	grid-auto-flow: column;
	gap: var(--e-carousel-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.e-carousel__track::-webkit-scrollbar {
	display: none;
}

.e-carousel__track > * {
	min-width: 0;
	scroll-snap-align: start;
}

/* Let the track run into the right gutter so the next card peeks out. */
@media (max-width: 1023px) {

	.e-carousel--bleed .e-carousel__track {
		margin-right: calc(-1 * var(--wp--custom--gutter));
		padding-right: var(--wp--custom--gutter);
		scroll-padding-right: var(--wp--custom--gutter);
	}
}

.e-carousel__controls {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	justify-content: center;
	margin-top: 2rem;
}

.e-carousel.is-static .e-carousel__controls {
	display: none;
}

.e-carousel__prev,
.e-carousel__next {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	color: inherit;
	cursor: pointer;
	background: transparent;
	border: 1px solid var(--e-line, var(--wp--preset--color--border-cream));
	border-radius: 0;
}

.e-carousel__prev .e-icon,
.e-carousel__next .e-icon {
	width: 1.125rem;
	height: 1.125rem;
}

.e-carousel__prev[aria-disabled="true"],
.e-carousel__next[aria-disabled="true"] {
	cursor: default;
	opacity: 0.35;
}

/* Position indicator: one bar filled up to the current page, the same on
 * every carousel of the site (review of 12.11.2026: the segments and the
 * bar used to mix on one page, and a team of 20 needs too many segments).
 * carousel.js sets --e-progress. */
.e-carousel__dots {
	position: relative;
	flex: 0 0 auto;
	width: 120px;
	height: 2px;
	background-color: var(--e-line, var(--wp--preset--color--border-cream));
}

.e-carousel__dots span {
	position: absolute;
	inset: 0 auto 0 0;
	width: calc(var(--e-progress, 0) * 100%);
	background-color: currentcolor;
	transition: width 0.2s ease;
}

:is(.is-style-section-graphite, .is-style-section-deep) .e-carousel__dots span {
	background-color: var(--wp--preset--color--gold);
}

@media (max-width: 1023px) {

	.e-carousel__prev,
	.e-carousel__next {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {

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

/* reCAPTCHA v3 badge of Contact Form 7: hidden as on the current site (old
 * theme, custom.css). Left visible it also sticks out of the viewport on
 * phones and makes the whole page zoom out. Stage 5 (own forms) revisits
 * the reCAPTCHA notice. */
.grecaptcha-badge {
	visibility: hidden;
}

/* -------------------------------------------------------------------------
 * Page links (offers, cases, blog): real links, a square per page
 * ---------------------------------------------------------------------- */

.e-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 40px;
}

.e-pagination > * {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	min-width: 42px;
	height: 42px;
	padding: 0 8px;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
	border: 1px solid var(--e-listing-line);
}

.e-pagination a:hover {
	border-color: var(--wp--preset--color--text-primary);
}

.e-pagination [aria-current="page"] {
	font-weight: 500;
	color: var(--wp--preset--color--text-inverse);
	background-color: var(--wp--preset--color--graphite);
	border-color: var(--wp--preset--color--graphite);
}

.e-pagination__gap {
	color: var(--wp--preset--color--text-muted);
}

.e-pagination span.e-pagination__arrow {
	color: var(--wp--preset--color--text-muted);
	opacity: 0.5;
}

.e-pagination .e-icon {
	width: 16px;
	height: 16px;
}

/* Links in CF7 consent texts carry an inline gold from the old theme's dark
 * forms (2.3:1 on white). They follow the label colour instead, underlined. */
.wpcf7-form a[style*="color"] {
	color: inherit !important;
	text-decoration: underline;
}
