/*
 * Block styles our content relies on. CoBlocks used to provide them; when it was removed
 * (2026-11-23) only the rules that matched an element on one of the site's pages were kept.
 */

/* Full-width buttons (class "w-100" on the button block). */
.wp-block-button.w-100,
.wp-block-button.w-100 .wp-block-button__link {
	width: 100%;
}

/* A font set on the block reaches the button text, cover and quote text, and list items. */
.has-custom-font.wp-block-button .wp-block-button__link,
.has-custom-font.wp-block-cover p,
blockquote.has-custom-font cite,
blockquote.has-custom-font p {
	font-family: inherit !important;
}

ul.has-custom-font li {
	font-family: inherit;
}

/* Lists with the "None" style: no bullets, no indent. */
.is-style-none,
.is-style-none li {
	list-style-type: none !important;
	padding-left: 0 !important;
}

/* Keeps the items announced as list items by VoiceOver once the bullets are gone. */
.is-style-none li::before {
	content: "\200B";
}

/* Media & text: the text column starts flush with the image. */
.wp-block-media-text .wp-block-media-text__content :first-child {
	margin-top: 0;
}

/* Home page slider (Gutenslider): slide layout and text size. */
.swiper-container,
.swiper-wrapper {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
}

.swiper-slide,
.swiper-slide-thumbnail {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	font-size: 18px;
	justify-content: center;
}

.swiper-slide {
	flex-direction: row;
	width: 100%;
}

/*
 * Lists that slide in from the left when they scroll into view (block-animation.js marks
 * them). They are only hidden once the script runs, so they stay visible without it, and
 * visitors who ask for less motion get no animation.
 */
@media (prefers-reduced-motion: no-preference) {
	.ile-animate .coblocks-animate {
		opacity: 0;
	}

	.ile-animate .coblocks-animate.is-in-view {
		animation: ile-slide-in-left 0.75s ease-in forwards;
	}
}

@keyframes ile-slide-in-left {
	from {
		opacity: 0;
		transform: translateX(-5em);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}
