/*
Theme Name: Muniworth
Theme URI:
Description: Custom child theme for Muniworth, built on BlankSlate.
Author: Muniworth
Author URI:
Template: blankslate
Version: 1.0.0
Requires at least: 5.2
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: muniworth
*/

/* -----------------------------------------------
   Global
   ----------------------------------------------- */

body {
	font-family: var(--wp--preset--font-family--brand);
	line-height: 1.7;
	background:
		radial-gradient(ellipse 900px 1100px at calc(100% + 200px) 950px, rgba(195, 215, 240, 0.55), transparent 70%),
		radial-gradient(ellipse 1200px 1600px at -300px 2800px, rgba(195, 215, 240, 0.55), transparent 70%),
		radial-gradient(ellipse 900px 1100px at calc(100% + 200px) 3600px, rgba(195, 215, 240, 0.55), transparent 70%),
		radial-gradient(ellipse 900px 1100px at calc(100% + 200px) 4400px, rgba(195, 215, 240, 0.55), transparent 70%),
		radial-gradient(ellipse 900px 1100px at calc(100% + 200px) 5800px, rgba(195, 215, 240, 0.55), transparent 70%),
		var(--wp--preset--color--bg-body);
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.1;
}

strong {
	font-weight: 700;
}

section {
	position: relative;
}

.wp-block-separator {
	border-color: #d9d9d9;
}

.container {
	position: relative;
	z-index: 1;
	max-width: var(--wp--custom--container--default);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wp--custom--page-gutter--x);
	padding-right: var(--wp--custom--page-gutter--x);
}

.container--wide {
	max-width: var(--wp--custom--container--wide);
}

.container--med {
	max-width: var(--wp--custom--container--med);
}

.container--narrow {
	max-width: var(--wp--custom--container--narrow);
}

.container--sm {
	max-width: var(--wp--custom--container--sm);
}

.bg-sky {
	background-color: var(--wp--preset--color--sky);
}

.bg-white {
	background-color: #fff;
}

.alt-rounded {
	border-radius: 32px 0 32px 0;
}

.pad-v-32 {
	padding-top: 32px;
	padding-bottom: 32px;
}

.pad-v-64 {
	padding-top: 64px;
	padding-bottom: 64px;
}

/* -----------------------------------------------
   Typography
   ----------------------------------------------- */

/* Display variants */
.text-hero {
	font-size: var(--wp--preset--font-size--5-xl);
	font-weight: var(--wp--custom--font-weight--bold);
}

.text-display {
	font-size: var(--wp--preset--font-size--4-xl);
	font-weight: var(--wp--custom--font-weight--bold);
}

.text-step-number {
	font-size: var(--wp--preset--font-size--2-xl);
	font-weight: var(--wp--custom--font-weight--bold);
}

/* Labels (eyebrows) */
.text-label {
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--bold);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-subtle);
}

.text-label-sm {
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--font-weight--bold);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-subtle);
}

/* Body variants */
.text-lead {
	font-size: var(--wp--preset--font-size--xl);
	font-weight: var(--wp--custom--font-weight--regular);
}

.text-body-lg {
	font-size: var(--wp--preset--font-size--lg);
	font-weight: var(--wp--custom--font-weight--regular);
	color: var(--wp--preset--color--text-subtle);
}

.text-body-lg-bold {
	font-size: var(--wp--preset--font-size--lg);
	font-weight: var(--wp--custom--font-weight--bold);
}

.text-body-sm {
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--font-weight--medium);
}

.text-caption {
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--font-weight--regular);
	color: var(--wp--preset--color--text-subtle);
}

/* Accent */
.text-accent {
	color: var(--wp--preset--color--primary);
}

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

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	padding-bottom: 20px;
	transition: padding 0.3s ease;
}

.site-header--scrolled .site-header__inner {
	padding-top: 10px;
	padding-bottom: 10px;
}

.site-header__logo {
	display: block;
	flex-shrink: 0;
}

.site-header__logo img {
	display: block;
	height: 50px;
	width: auto;
}

/* Transparent state (default): show light logo, hide dark */
.site-header .site-header__logo-dark {
	display: none;
}

/* Scrolled state: show dark logo, hide light */
.site-header.site-header--scrolled .site-header__logo-light {
	display: none;
}

.site-header.site-header--scrolled .site-header__logo-dark {
	display: block;
}

.site-header__actions {
	display: flex;
	gap: 17px;
	align-items: center;
}

.site-header__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 128px;
	height: 50px;
	padding: 0 20px;
	border-radius: var(--wp--custom--border-radius--sm);
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--md);
	font-weight: var(--wp--custom--font-weight--bold);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	box-sizing: border-box;
}

.site-header__btn-icon {
	display: block;
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

/* Login button — same in both states */
.site-header__btn--login {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--text-on-dark);
	border: 2px solid var(--wp--preset--color--primary);
}

.site-header__btn--login:hover {
	background-color: var(--wp--preset--color--primary-hover);
	border-color: var(--wp--preset--color--primary-hover);
	color: var(--wp--preset--color--text-on-dark);
}

/* Book a Call — transparent state: white outline */
.site-header__btn--cta {
	background-color: transparent;
	color: var(--wp--preset--color--text-on-dark);
	border: 2px solid var(--wp--preset--color--text-on-dark);
}

.site-header__btn--cta:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--wp--preset--color--text-on-dark);
}

/* Book a Call — scrolled state: dark outline */
.site-header--scrolled .site-header__btn--cta {
	color: var(--wp--preset--color--dark);
	border-color: var(--wp--preset--color--dark);
}

.site-header--scrolled .site-header__btn--cta:hover {
	background-color: var(--wp--preset--color--dark);
	color: var(--wp--preset--color--text-on-dark);
}

/* Scrolled state background */
.site-header--scrolled {
	background-color: var(--wp--preset--color--bg-base);
	box-shadow: var(--wp--custom--shadow--soft);
}

/* Push content below fixed header */
#container {
	padding-top: 90px;
}

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

.site-footer {
	position: relative;
	background-color: var(--wp--preset--color--sky);
	border-top: 1px solid var(--wp--preset--color--bg-subtle);
}

.site-footer__inner {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding-top: 28px;
	padding-bottom: 28px;
	border-top: 1px solid #d9d9d9;
}

.site-footer__links {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-footer__links a {
	color: var(--wp--preset--color--text-subtle);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--font-weight--regular);
}

.site-footer__links a:hover {
	color: var(--wp--preset--color--text-main);
}

.site-footer__sep {
	color: var(--wp--preset--color--text-subtle);
	font-size: var(--wp--preset--font-size--sm);
}

.site-footer__copyright {
	color: var(--wp--preset--color--text-subtle);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: var(--wp--custom--font-weight--regular);
	margin: 0;
}

/* -----------------------------------------------
   WPForms Overrides
   ----------------------------------------------- */

div.wpforms-container-full.container {
	position: relative;
	z-index: 1;
	max-width: var(--wp--custom--container--default) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--wp--custom--page-gutter--x) !important;
	padding-right: var(--wp--custom--page-gutter--x) !important;
	padding-top: var(--wp--preset--spacing--2-xl);
	padding-bottom: var(--wp--preset--spacing--2-xl);
}

div.wpforms-container-full.container--wide {
	max-width: var(--wp--custom--container--wide) !important;
}

div.wpforms-container-full.container--med {
	max-width: var(--wp--custom--container--med) !important;
}

div.wpforms-container-full.container--narrow {
	max-width: var(--wp--custom--container--narrow) !important;
}

div.wpforms-container-full.container--sm {
	max-width: var(--wp--custom--container--sm) !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-container {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--md);
}

div.wpforms-container-full .wpforms-form .wpforms-field-container > .wpforms-field {
	width: 100%;
	float: none !important;
	clear: none !important;
	margin-left: 0 !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-container > .wpforms-field.wpforms-one-half {
	width: calc(50% - var(--wp--preset--spacing--md) / 2);
}

div.wpforms-container-full .wpforms-form .wpforms-field-row {
	max-width: 100% !important;
	display: flex;
	gap: var(--wp--preset--spacing--md);
}

div.wpforms-container-full .wpforms-form .wpforms-field-row::before,
div.wpforms-container-full .wpforms-form .wpforms-field-row::after {
	display: none !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-row .wpforms-field-row-block {
	flex: 1;
	padding: 0 !important;
}

div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

div.wpforms-container-full .wpforms-form .wpforms-field-container input,
div.wpforms-container-full .wpforms-form .wpforms-field-container textarea {
	background: transparent !important;
	background-color: transparent !important;
}

div.wpforms-container-full {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

div.wpforms-container-full .wpforms-form label.wpforms-field-label,
div.wpforms-container-full .wpforms-form .wpforms-field-label {
	color: var(--wp--preset--color--text-subtle) !important;
}

div.wpforms-container-full .wpforms-submit-container {
	text-align: left;
}

div.wpforms-container-full .wpforms-submit-container .wpforms-submit {
	border-radius: var(--wp--custom--border-radius--sm) !important;
	padding: 12px 24px !important;
	font-weight: var(--wp--custom--font-weight--bold);
}

/* -----------------------------------------------
   Responsive
   ----------------------------------------------- */

@media (max-width: 768px) {
	.site-header__inner {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.site-header__logo img {
		height: 36px;
	}

	.site-header__btn {
		min-width: auto;
		min-height: 44px;
		padding: 0 14px;
		font-size: var(--wp--preset--font-size--sm);
	}

	.site-header__actions {
		gap: 10px;
	}

	.site-footer__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.site-footer__links {
		flex-direction: column;
		gap: 6px;
	}

	.site-footer__sep {
		display: none;
	}

	.site-footer__copyright,
	.site-footer__links a {
		font-size: var(--wp--preset--font-size--md);
	}

	/* Content pages */
	.entry-title {
		margin-top: var(--wp--preset--spacing--xl);
	}

	.entry-content h2,
	.entry-content h3,
	.entry-content h4 {
		margin-top: var(--wp--preset--spacing--sm);
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.entry-content .wp-block-columns {
		flex-direction: column;
	}
}

@media (max-width: 380px) {
	div.wpforms-container-full .wpforms-form .wpforms-field-row {
		flex-direction: column;
	}
}

/* -----------------------------------------------
   Background decorations
   ----------------------------------------------- */

/* Containing-block hosts. .wp-block-muni-how-it-works and
   .wp-block-muni-testimonials already get position: relative from the
   global `section { position: relative }` rule above. */
body {
	position: relative;
}

.wp-block-muni-how-it-works,
.wp-block-muni-testimonials {
	position: relative;
	/* Clip the decoration to the host so it doesn't bleed up into the
	   section above. */
	overflow: hidden;
}

#map {
	background-color: var(--wp--preset--color--sky);
	/* top-left, top-right, bottom-right, bottom-left */
	border-radius: 8px 32px 8px 32px;
	overflow: hidden;
	margin-block: 0;
}

body:has(.wp-block-muni-hero)::before,
.wp-block-muni-how-it-works::after,
body.home .site-footer::before,
body.page:not(.home) .site-footer::before {
	content: '';
	position: absolute;
	pointer-events: none;
	user-select: none;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: contain;
}

body:has(.wp-block-muni-hero)::before {
	/* The hero block starts at body y=0 and has min-height max(100vh, 800px)
	   per src/blocks/hero/style.scss:3 — anchor the decoration flush with
	   its bottom edge. */
	top: max(100vh, 800px);
	left: 0;
	width: min(757px, 50vw);
	aspect-ratio: 757 / 942;
	background-image: url('assets/images/hero-bottom-left.svg');
	background-position: top left;
}

.wp-block-muni-how-it-works::after {
	bottom: 0;
	right: 0;
	width: min(757px, 50vw);
	aspect-ratio: 757 / 1153;
	background-image: url('assets/images/how-it-works-bottom-right.svg');
	background-position: bottom right;
}

body.home .site-footer::before,
body.page:not(.home) .site-footer::before {
	bottom: 0;
	right: 0;
	width: min(908px, 50vw);
	aspect-ratio: 908 / 721;
	background-image: url('assets/images/page-bottom-right.svg');
	background-position: bottom right;
}

@media (max-width: 768px) {
	body:has(.wp-block-muni-hero)::before,
	.wp-block-muni-how-it-works::after {
		width: min(757px, 60vw);
	}

	body.home .site-footer::before,
	body.page:not(.home) .site-footer::before {
		width: min(908px, 60vw);
	}
}

/* -----------------------------------------------
   Error 404
   ----------------------------------------------- */

body.error404 .site-header {
	background-color: var(--wp--preset--color--bg-base);
	box-shadow: var(--wp--custom--shadow--soft);
}

body.error404 .site-header .site-header__logo-light {
	display: none;
}

body.error404 .site-header .site-header__logo-dark {
	display: block;
}

body.error404 .site-header__actions {
	display: none;
}

.error-404 {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 90px - 81px);
	padding: var(--wp--preset--spacing--2-xl) var(--wp--preset--spacing--xl);
	margin: var(--wp--preset--spacing--2-xl) auto 0;

	/* Concave bottom-right corner — mirrors the hero block. */
	-webkit-mask-image:
		linear-gradient(#000, #000),
		linear-gradient(#000, #000),
		radial-gradient(circle at 0 0, #000 48px, transparent 48px);
	-webkit-mask-size: 100% calc(100% - 47px), calc(100% - 47px) 48px, 48px 48px;
	-webkit-mask-position: top left, bottom left, bottom right;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-composite: source-over;
	mask-image:
		linear-gradient(#000, #000),
		linear-gradient(#000, #000),
		radial-gradient(circle at 0 0, #000 48px, transparent 48px);
	mask-size: 100% calc(100% - 47px), calc(100% - 47px) 48px, 48px 48px;
	mask-position: top left, bottom left, bottom right;
	mask-repeat: no-repeat;
}

.error-404 > .container--narrow {
	width: 100%;
	text-align: center;
	position: relative;
	z-index: 1;
}

.error-404 .text-label {
	margin: 0 0 var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--dark);
}

.error-404__numeral {
	display: block;
	font-size: var(--wp--preset--font-size--5-xl);
	font-weight: var(--wp--custom--font-weight--bold);
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: var(--wp--preset--color--dark);
	margin: 0 0 var(--wp--preset--spacing--md);
}

.error-404__title {
	margin: 0 auto var(--wp--preset--spacing--lg);
	max-width: 18ch;
}

.error-404__accent {
	color: var(--wp--preset--color--primary);
}

.error-404__lede {
	color: var(--wp--preset--color--text-subtle);
	font-size: var(--wp--preset--font-size--lg);
	max-width: 56ch;
	margin: 0 auto var(--wp--preset--spacing--xl);
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--lg);
	justify-content: center;
	align-items: center;
}

.error-404__secondary-link {
	color: var(--wp--preset--color--text-main);
	text-decoration: underline;
	text-underline-offset: 4px;
	font-weight: var(--wp--custom--font-weight--bold);
	transition: color 0.2s ease;
}

.error-404__secondary-link:hover {
	color: var(--wp--preset--color--primary);
}

.error-404__decoration {
	position: absolute;
	top: -20%;
	right: -10%;
	width: 60%;
	max-width: 520px;
	pointer-events: none;
	opacity: 0.35;
	z-index: 0;
}

@media (max-width: 768px) {
	.error-404 {
		padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--md);
	}

	.error-404__decoration {
		display: none;
	}

	.error-404__actions {
		flex-direction: column;
	}

	.error-404__actions > .site-header__btn {
		width: 100%;
	}
}

/* -----------------------------------------------
   Content Pages
   ----------------------------------------------- */

body.page:not(.home) .site-header {
	background-color: var(--wp--preset--color--bg-base);
	box-shadow: var(--wp--custom--shadow--soft);
}

body.page:not(.home) .site-header .site-header__logo-light {
	display: none;
}

body.page:not(.home) .site-header .site-header__logo-dark {
	display: block;
}

body.page:not(.home) #content {
	padding-top: 90px;
}

.entry-title {
	margin-top: var(--wp--preset--spacing--2-xl);
	margin-bottom: var(--wp--preset--spacing--lg);
	font-size: var(--wp--preset--font-size--3-xl);
	font-weight: var(--wp--custom--font-weight--bold);
}

.entry-content {
	padding-bottom: var(--wp--preset--spacing--2-xl);
}

.entry-links:empty {
	display: none;
}

/* Vertical rhythm */
.entry-content > * + * {
	margin-top: var(--wp--preset--spacing--lg);
}

/* Headings */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: var(--wp--preset--spacing--lg);
	margin-bottom: var(--wp--preset--spacing--sm);
	font-weight: var(--wp--custom--font-weight--bold);
}

.entry-content h2 {
	font-size: var(--wp--preset--font-size--2-xl);
}

.entry-content h3 {
	font-size: var(--wp--preset--font-size--xl);
}

.entry-content h4 {
	font-size: var(--wp--preset--font-size--lg);
}

/* Lists */
.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
}

.entry-content ul {
	list-style-type: disc;
}

.entry-content ol {
	list-style-type: decimal;
}

.entry-content li + li {
	margin-top: var(--wp--preset--spacing--xs);
}

/* Nested lists */
.entry-content li > ul,
.entry-content li > ol {
	margin-top: var(--wp--preset--spacing--xs);
}

.entry-content ul ul {
	list-style-type: circle;
}

/* Blockquotes */
.entry-content blockquote {
	border-left: 3px solid var(--wp--preset--color--primary);
	padding-left: var(--wp--preset--spacing--xl);
	font-style: italic;
	color: var(--wp--preset--color--text-subtle);
}

/* Horizontal rules */
.entry-content hr {
	border: none;
	border-top: 1px solid var(--wp--preset--color--bg-subtle);
	margin-top: var(--wp--preset--spacing--xl);
	margin-bottom: var(--wp--preset--spacing--xl);
}

/* Tables */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--neutral-light);
}

.entry-content th {
	font-weight: var(--wp--custom--font-weight--bold);
	border-bottom-color: var(--wp--preset--color--neutral);
}

/* Inline code */
.entry-content code {
	background-color: var(--wp--preset--color--bg-subtle);
	border-radius: var(--wp--custom--border-radius--sm);
	padding: 0.1em 0.4em;
}

/* Code blocks */
.entry-content pre {
	background-color: var(--wp--preset--color--bg-subtle);
	border-radius: var(--wp--custom--border-radius--md);
	padding: var(--wp--preset--spacing--lg);
	overflow-x: auto;
}

.entry-content pre code {
	background-color: transparent;
	padding: 0;
	border-radius: 0;
}

/* Images */
.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--wp--custom--border-radius--md);
}

/* Figcaptions */
.entry-content figcaption {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--text-subtle);
	text-align: center;
	margin-top: var(--wp--preset--spacing--xs);
}

/* Definition lists */
.entry-content dt {
	font-weight: var(--wp--custom--font-weight--bold);
}

.entry-content dd {
	margin-left: var(--wp--preset--spacing--xl);
	margin-bottom: var(--wp--preset--spacing--md);
}

/* Alignment classes */
.entry-content .alignwide {
	max-width: var(--wp--custom--container--med);
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignfull {
	max-width: none;
	margin-left: calc(-1 * var(--wp--custom--page-gutter--x));
	margin-right: calc(-1 * var(--wp--custom--page-gutter--x));
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignleft {
	float: left;
	margin-right: var(--wp--preset--spacing--lg);
	margin-bottom: var(--wp--preset--spacing--sm);
	max-width: 50%;
}

.entry-content .alignright {
	float: right;
	margin-left: var(--wp--preset--spacing--lg);
	margin-bottom: var(--wp--preset--spacing--sm);
	max-width: 50%;
}

/* Button block */
.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	padding: 12px 28px;
	border-radius: var(--wp--custom--border-radius--sm);
	font-weight: var(--wp--custom--font-weight--bold);
	font-size: var(--wp--preset--font-size--md);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.entry-content .wp-block-button.is-style-fill .wp-block-button__link,
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--text-on-dark);
}

.entry-content .wp-block-button.is-style-fill .wp-block-button__link:hover,
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--primary-hover);
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	background-color: transparent;
}

/* Columns block */
.entry-content .wp-block-columns {
	gap: var(--wp--preset--spacing--xl);
}

/* Embed/video block */
.entry-content .wp-block-embed .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--wp--custom--border-radius--md);
}

.entry-content .wp-block-embed .wp-block-embed__wrapper iframe {
	width: 100%;
	height: 100%;
}

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

[data-muni-animate] {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition:
		opacity var(--wp--custom--motion--duration--base) var(--wp--custom--motion--ease--out),
		transform var(--wp--custom--motion--duration--base) var(--wp--custom--motion--ease--out);
	transition-delay: var(--muni-animate-delay, 0ms);
}

[data-muni-animate].is-in-view {
	opacity: 1;
	transform: none;
}

.no-js [data-muni-animate] {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	[data-muni-animate],
	[data-muni-animate].is-in-view {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
