/* Base: things theme.json cannot express. Tokens only, no raw colors. */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}

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

	*,
	*::before,
	*::after {
		transition: none !important; /* Honour the user's reduced-motion setting everywhere. */
		animation: none !important; /* Same. */
	}
}

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

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

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

/* Buttons: one look across the site. */
.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-1px);
}

.is-style-secondary .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--rust);
	box-shadow: inset 0 0 0 2px currentColor;
}

.is-style-secondary .wp-block-button__link:hover {
	background: var(--wp--preset--color--rust);
	color: var(--wp--preset--color--white);
}

.is-style-whatsapp .wp-block-button__link {
	background: var(--wp--preset--color--palm);
}

.smh-on-dark .wp-block-button__link,
.has-earth-background-color .is-style-primary .wp-block-button__link {
	background: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--earth);
}

.smh-on-dark .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
}

/* Small label above headings, echoing the lines around the logo subtitle. */
.is-style-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--palm);
	margin-block-end: 0;
}

.is-style-kicker::before,
.is-style-kicker::after {
	content: "";
	width: 1.75rem;
	height: 2px;
	background: var(--wp--preset--color--hill);
}

.is-style-kicker a {
	color: inherit;
	text-decoration: none;
}

/* River separator: the Jordan from the logo. */
.wp-block-separator.is-style-river {
	border: 0;
	height: 14px;
	max-width: 220px;
	margin-inline: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14'%3E%3Cpath d='M2 9c18-8 30 4 48-2s26-8 44-2 28 6 46 0 30-8 46-2 20 4 32 1' fill='none' stroke='%23226D95' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
	opacity: 1;
}

.is-style-checks {
	list-style: none;
	padding-inline-start: 0;
}

.is-style-checks li {
	position: relative;
	padding-inline-start: 1.6rem;
	margin-block-end: 0.4rem;
}

.is-style-checks li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.55em;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: var(--wp--preset--color--ochre);
}

.is-style-card {
	background: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--40);
	border-block-start: 4px solid var(--wp--preset--color--ochre);
}
