/**
 * Chrome — live salonvilpas.fi 1:1 (header overlay, hero, footer, archive).
 * Brand hues stay recognizable. CTA / text-on-fill pairs use AAA-safe darken/lighten
 * (7:1 normal). Decorative accents (tile bars) may keep brighter brand fills.
 */

/* GeneratePress pads every .wp-block-group__inner-container (40px / 30px).
   Nested mm-gb groups then collapse on small viewports. Zero here; mm-gb / shell keep spacing. */
.site-main .wp-block-group__inner-container {
	padding: 0 !important;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/*
 * GP sets .site-content { display:flex }. Front template uses #main.sv-gp-front
 * (not .site-main). Without an explicit width it shrink-wraps to the boxed hero
 * (1375px) and sticks left on wide screens while the absolute header still
 * centers — looks “broken” / edge-aligned.
 */
body.sv-gp-child .site-content {
	width: 100%;
}

body.sv-gp-child .site-content > #main,
body.sv-gp-child .site-content > .site-main,
body.sv-gp-child .site-content > .sv-gp-front {
	flex: 1 1 auto;
	width: 100%;
	max-width: none;
	min-width: 0;
}

/*
 * Lajit cards: WP wraps group contents in .wp-block-group__inner-container, so
 * Additional CSS child combinators that assume .mm-gb-laji-card > .wp-block-columns
 * miss. Use descendants here (child theme) as the local responsive SSOT.
 */
.sv-gp-theme-post-content .mm-gb-laji-lede {
	font-size: 1.05rem;
	max-width: 42rem;
}

.sv-gp-theme-post-content .mm-gb-laji-join {
	box-sizing: border-box;
	background: #f2f2f2;
	border: 2px solid #980032;
	color: #2c2c2c;
	padding: 1.35rem 1.25rem;
	margin: 0 0 1.25rem;
}

.sv-gp-theme-post-content .mm-gb-laji-join .wp-block-heading {
	margin-top: 0;
	margin-bottom: 0.65rem;
}

.sv-gp-theme-post-content .mm-gb-laji-join .wp-block-button__link {
	min-height: 44px;
}

.sv-gp-theme-post-content .mm-gb-laji-card .wp-block-columns {
	display: grid !important;
	grid-template-columns: minmax(160px, 220px) 1fr;
	gap: 0 !important;
	margin-bottom: 0 !important;
	align-items: stretch;
	width: 100%;
}

.sv-gp-theme-post-content .mm-gb-laji-card .wp-block-columns > .wp-block-column {
	flex-basis: auto !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}

.sv-gp-theme-post-content .mm-gb-laji-section .wp-block-heading,
.sv-gp-theme-post-content .mm-gb-laji-section h2 {
	font-size: 1.6rem !important;
	font-weight: 900 !important;
	color: #fff !important;
	margin: 0 0 16px !important;
	letter-spacing: 0.02em;
	position: relative;
	padding-left: 16px !important;
	line-height: 1.25;
	text-transform: none !important;
}

.sv-gp-theme-post-content .mm-gb-laji-section .wp-block-heading::before,
.sv-gp-theme-post-content .mm-gb-laji-section h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.18em;
	width: 5px;
	height: 1.2em;
	border-radius: 3px;
	background: #cc4470;
}

.sv-gp-theme-post-content [class*="mm-gb-laji-accent-"] .wp-block-heading::before,
.sv-gp-theme-post-content [class*="mm-gb-laji-accent-"] h2::before {
	background: var(--mm-gb-laji-accent, #990132);
}

/*
 * Mediapankki: same __inner-container wrap as Lajit. Without pierce, the logo
 * grid collapses to one column and H2 accent bars miss (child combinators).
 * Full rules stay in custom-css.css; this is the local GP-child backstop.
 */
.sv-gp-theme-post-content .mm-gb-mediapankki-page > .wp-block-group__inner-container,
.sv-gp-theme-post-content .mm-gb-mediapankki-toc > .wp-block-group__inner-container,
.sv-gp-theme-post-content .mm-gb-mediapankki-download-all > .wp-block-group__inner-container,
.sv-gp-theme-post-content .mm-gb-mediapankki-section > .wp-block-group__inner-container,
.sv-gp-theme-post-content .mm-gb-mediapankki-grid > .wp-block-group__inner-container,
.sv-gp-theme-post-content .mm-gb-mediapankki-card > .wp-block-group__inner-container,
.sv-gp-theme-post-content .mm-gb-mediapankki-card-preview > .wp-block-group__inner-container,
.sv-gp-theme-post-content .mm-gb-mediapankki-card-body > .wp-block-group__inner-container {
	display: contents;
}

.sv-gp-theme-post-content .mm-gb-mediapankki-section .wp-block-heading,
.sv-gp-theme-post-content .mm-gb-mediapankki-section h2 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin: 0 0 18px !important;
	letter-spacing: 0.01em;
	position: relative;
	padding-left: 16px !important;
	line-height: 1.25;
	text-transform: none !important;
}

.sv-gp-theme-post-content .mm-gb-mediapankki-section > .wp-block-heading::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-section > h2::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-section > .wp-block-group__inner-container > .wp-block-heading::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-section > .wp-block-group__inner-container > h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.12em;
	width: 4px;
	height: 1.15em;
	border-radius: 1px;
	background: #990132;
}

.sv-gp-theme-post-content .mm-gb-mediapankki-accent-brand > .wp-block-heading::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-accent-brand > h2::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-accent-brand > .wp-block-group__inner-container > .wp-block-heading::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-accent-brand > .wp-block-group__inner-container > h2::before {
	background: #990132;
}

.sv-gp-theme-post-content .mm-gb-mediapankki-section[class*="mm-gb-laji-accent-"] > .wp-block-heading::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-section[class*="mm-gb-laji-accent-"] > .wp-block-group__inner-container > .wp-block-heading::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-section[class*="mm-gb-laji-accent-"] > h2::before,
.sv-gp-theme-post-content .mm-gb-mediapankki-section[class*="mm-gb-laji-accent-"] > .wp-block-group__inner-container > h2::before {
	background: var(--mm-gb-laji-accent, #990132);
}

.sv-gp-theme-post-content .mm-gb-mediapankki-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 20px;
}

@media (max-width: 781px) {
	.sv-gp-theme-post-content .mm-gb-laji-card .wp-block-columns {
		grid-template-columns: 1fr !important;
	}

	.sv-gp-theme-post-content .mm-gb-laji-card .wp-block-columns > .wp-block-column:first-child {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		min-height: 180px;
	}
}

:root {
	--sv-gp-red: #980032;
	/* White-on-fill CTAs — brand red already AAA (~8.8:1); hover darker. */
	--sv-gp-red-cta: #980032;
	--sv-gp-red-cta-hover: #7a0128;
	--sv-gp-red-cta-active: #6b0122;
	/* Token names kept (--sv-gp-blue*) so existing selectors keep working.
	   Brand red #980032 fails as text on dark (~1.6:1). Dark links stay
	   cream #f2f2f2 (AAA); current/hover use red rail + fill, not blush. */
	--sv-gp-blue: #f2f2f2;
	--sv-gp-blue-link: #f2f2f2;
	--sv-gp-blue-link-on-light: #980032;
	--sv-gp-blue-cta: #980032;
	--sv-gp-blue-cta-hover: #7a0128;
	--sv-gp-blue-cta-active: #6b0122;
	--sv-gp-gold: #96885f;
	--sv-gp-gold-cta: #61583d;
	--sv-gp-gold-cta-hover: #4f4833;
	--sv-gp-green-cta: #1e5a2a;
	--sv-gp-green-cta-hover: #174820;
	--sv-gp-pill: #980032;
	--sv-gp-dark: #2c2c2c;
	--sv-gp-black: #0d0d0d;
	--sv-gp-toolbar: #2d2d2c;
	--sv-gp-white: #fff;
	--sv-gp-bg: #2c2c2c;
	--sv-gp-surface: #0d0d0d;
	--sv-gp-surface-2: #2d2d2c;
	--sv-gp-text: #fff;
	--sv-gp-muted: #e1e1e1;
	--sv-gp-border: #6b6b6b;
	--sv-gp-input-bg: #121212;
	--sv-gp-dropdown-bg: #1a1a1a;
	--sv-gp-dropdown-border: #454545;
	--sv-gp-dropdown-hover: #242424;
	--sv-gp-header-fg: #fff;
	--sv-gp-page-body: #121212;
	--sv-gp-page-ink: #f2f2f2;
	--sv-gp-hairline: rgba(255, 255, 255, 0.08);
	--sv-gp-hairline-strong: rgba(255, 255, 255, 0.12);
	--sv-gp-focus: #fff;
	--sv-gp-focus-ring: 0 0 0 2px var(--sv-gp-black), 0 0 0 4px var(--sv-gp-focus);
	--sv-gp-admin-offset: 0px;
	--sv-gp-header-pad-top: 38px;
	--sv-gp-header-pad-bottom: 31px;
	--sv-gp-logo-h: 95px;
	--sv-gp-header-h: calc(var(--sv-gp-header-pad-top) + var(--sv-gp-logo-h) + var(--sv-gp-header-pad-bottom));
	--sv-gp-boxed: 1375px;
}

html[data-theme="dark"] {
	color-scheme: dark;
}

html[data-theme="light"] {
	color-scheme: light;
	--sv-gp-bg: #ececec;
	--sv-gp-dark: #ececec;
	--sv-gp-toolbar: #f2f2f2;
	--sv-gp-surface: #ffffff;
	--sv-gp-surface-2: #f2f2f2;
	--sv-gp-text: #2c2c2c;
	--sv-gp-muted: #4a4a4a;
	--sv-gp-border: #b8b8b8;
	--sv-gp-blue-link: #980032;
	--sv-gp-input-bg: #ffffff;
	--sv-gp-dropdown-bg: #ffffff;
	--sv-gp-dropdown-border: #b8b8b8;
	--sv-gp-dropdown-hover: #f2f2f2;
	--sv-gp-header-fg: #2c2c2c;
	--sv-gp-page-body: #ffffff;
	--sv-gp-page-ink: #2c2c2c;
	--sv-gp-hairline: rgba(0, 0, 0, 0.08);
	--sv-gp-hairline-strong: rgba(0, 0, 0, 0.14);
	--sv-gp-focus: #980032;
	--sv-gp-focus-ring: 0 0 0 2px #fff, 0 0 0 4px #980032;
}

html.admin-bar,
body.admin-bar {
	--sv-gp-admin-offset: 32px;
}

@media screen and (max-width: 782px) {
	html.admin-bar,
	body.admin-bar {
		--sv-gp-admin-offset: 46px;
	}
}

/*
 * Anchor offset SSOT for the GP child. The header is position:absolute (scrolls away), so
 * jumps only clear the fixed admin bar plus a small gap. :root beats the Elementor-era
 * html { scroll-padding-top: 120px/96px } in Additional CSS (still used by the live site).
 * Pair: assets/js/anchor-scroll.js. No scroll-margin-top on targets (it would stack).
 */
:root {
	--sv-gp-anchor-gap: 16px;
	scroll-padding-top: calc(var(--sv-gp-admin-offset) + var(--sv-gp-anchor-gap));
}

body.sv-gp-child {
	background: var(--sv-gp-bg);
	color: var(--sv-gp-text);
	font-family: Montserrat, system-ui, sans-serif;
	margin: 0;
}

.sv-gp-page,
.sv-gp-page.grid-container,
.sv-gp-page.container {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	overflow-x: clip;
}

/* Skip — visible on focus (AAA). Live label: Mene sisältöön */
.skip-link.screen-reader-text:focus,
.skip-link:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	z-index: 10000;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	background: var(--sv-gp-black);
	color: var(--sv-gp-white);
	text-decoration: underline;
	outline: 3px solid var(--sv-gp-focus);
	outline-offset: 2px;
}

/* AAA focus on interactive chrome (does not change brand fills) */
.sv-gp-header a:focus-visible,
.sv-gp-footer a:focus-visible,
.sv-gp-nav-toggle:focus-visible,
.theme-toggle-btn:focus-visible,
.sv-gp-sub-toggle:focus-visible,
.sv-gp-footer-search button:focus-visible,
.sv-gp-footer-search input:focus-visible,
.sv-gp-hero a:focus-visible,
.sv-gp-cta-strip__btn:focus-visible,
.sv-gp-btn:focus-visible,
.sv-gp-404__cta:focus-visible,
.mm-ajankohtaista-search input:focus-visible,
.mm-ajankohtaista-search button:focus-visible,
.sv-gp-search__fields input:focus-visible,
.sv-gp-search__fields button:focus-visible,
.sv-gp-search__select:focus-visible,
.sv-gp-search__next a:focus-visible,
.sv-gp-search__active-clear:focus-visible,
.sv-gp-search .page-numbers:focus-visible,
.sv-gp-article .entry-content a:focus-visible,
.sv-gp-article .post-password-form input:focus-visible,
.sv-gp-post-meta a:focus-visible,
.sv-gp-post-pills a:focus-visible,
.sv-gp-post-share a:focus-visible,
.sv-gp-related a:focus-visible,
.sv-gp-post-back a:focus-visible,
.sv-gp-post-nav a:focus-visible,
.sv-gp-breadcrumb a:focus-visible,
.sv-gp-ajankohtaista__pagination a:focus-visible,
.sv-gp-search a:focus-visible,
.sv-gp-theme-post-content .wp-block-button__link:focus-visible,
.sv-gp-article .entry-content .wp-block-button__link:focus-visible,
.sv-gp-theme-post-content .wp-block-social-link-anchor:focus-visible,
.sv-gp-article .entry-content .wp-block-social-link-anchor:focus-visible {
	outline: 2px solid var(--sv-gp-focus);
	outline-offset: 3px;
}

/* Body-text links on pages/posts — underline, no brand fill change */
.sv-gp-article .entry-content a:not(.wp-block-button__link):not(.sv-gp-btn):not(.sv-gp-cta-strip__btn) {
	color: var(--sv-gp-blue-link);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.sv-gp-article .entry-content a:not(.wp-block-button__link):not(.sv-gp-btn):not(.sv-gp-cta-strip__btn):hover,
.sv-gp-article .entry-content a:not(.wp-block-button__link):not(.sv-gp-btn):not(.sv-gp-cta-strip__btn):active {
	text-decoration-thickness: 2px;
}

/* Gutenberg latest-posts / social labels often ship a leftover blue text color. */
.sv-gp-theme-post-content .wp-block-latest-posts.has-text-color,
.sv-gp-theme-post-content .wp-block-latest-posts.has-text-color a,
.sv-gp-theme-post-content .wp-block-social-links .wp-block-social-link-anchor {
	color: var(--sv-gp-blue-link) !important;
}

.sv-gp-header {
	position: absolute;
	top: var(--sv-gp-admin-offset);
	left: 0;
	right: 0;
	z-index: 400;
	/* Top scrim: labels survive light/busy hero slides without touching .sv-gp-hero*. */
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.58) 35%,
		rgba(0, 0, 0, 0.34) 62%,
		rgba(0, 0, 0, 0.12) 88%,
		rgba(0, 0, 0, 0) 100%
	);
	color: var(--sv-gp-header-fg);
	overflow: visible;
}

.sv-gp-header__inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	padding: var(--sv-gp-header-pad-top) 1.25rem var(--sv-gp-header-pad-bottom);
	min-height: var(--sv-gp-header-h);
	overflow: visible;
}

.sv-gp-header__logo {
	flex: 0 0 auto;
}

.sv-gp-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.sv-gp-header__logo img,
.sv-gp-footer__brand img {
	display: block;
	max-height: var(--sv-gp-logo-h);
	width: auto;
}

/* Dual logos: Vit on dark chrome; Mediapankki color on light (no CSS invert). */
.sv-gp-logo--light {
	display: none;
}

html[data-theme="dark"] .sv-gp-logo--dark {
	display: block;
	filter: brightness(2) contrast(1.2);
}

html[data-theme="dark"] .sv-gp-logo--light {
	display: none;
}

html[data-theme="light"] .sv-gp-logo--dark {
	display: none;
}

html[data-theme="light"] .sv-gp-logo--light {
	display: block;
	filter: none;
}

.sv-gp-logo-text {
	color: var(--sv-gp-white);
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.sv-gp-header__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 auto;
	min-width: 0;
	overflow: visible;
	gap: 0.65rem;
}

.sv-gp-header__tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	gap: 0.45rem;
}

.theme-toggle {
	display: inline-flex;
	align-items: stretch;
	flex-shrink: 0;
	padding: 2px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 6px;
	background: rgba(13, 13, 13, 0.55);
}

.theme-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #e1e1e1;
	cursor: pointer;
	line-height: 1;
}

.theme-toggle-btn .ph-fill {
	font-size: 1.15rem;
	line-height: 1;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus-visible {
	color: #fff;
	background: rgba(152, 0, 50, 0.35);
}

.theme-toggle-btn.is-active {
	color: #fff;
	background: var(--sv-gp-blue-cta);
}

.theme-toggle-btn.is-active:hover,
.theme-toggle-btn.is-active:focus-visible {
	color: #fff;
	background: var(--sv-gp-blue-cta-hover);
}

@media (prefers-reduced-motion: no-preference) {
	.theme-toggle-btn {
		transition: background-color 0.15s ease, color 0.15s ease;
	}
}

.sv-gp-header__menu-wrap {
	overflow: visible;
}

.sv-gp-menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sv-gp-menu > .menu-item {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.sv-gp-menu a {
	color: var(--sv-gp-header-fg);
	font-family: Montserrat, system-ui, sans-serif;
	font-weight: 600;
	font-size: 1rem;
	text-transform: uppercase;
	text-decoration: none;
	min-height: 44px;
	padding: 1rem 0.5rem;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

/* Primary top-level labels/icons: ink + halo so white survives bright slide patches. */
.sv-gp-header .sv-gp-menu > .menu-item > a {
	text-shadow:
		0 0 2px rgba(0, 0, 0, 1),
		0 1px 3px rgba(0, 0, 0, 1),
		0 2px 10px rgba(0, 0, 0, 0.85),
		0 0 18px rgba(0, 0, 0, 0.7);
}

.sv-gp-header .sv-gp-menu > .menu-item > a i[class*="ph-"],
.sv-gp-header .sv-gp-menu > .menu-item > a .sv-gp-nav-icon {
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95));
}

.sv-gp-menu a i[class*="ph-"],
.sv-gp-menu a .sv-gp-nav-icon,
.mm-ajankohtaista-filters a i[class*="ph-"] {
	margin-right: 0.4em;
	font-size: 1em;
	line-height: 1;
	flex-shrink: 0;
}

/* External menu links (e.g. lomakkeet.salonvilpas.fi): trailing out icon. */
.sv-gp-menu a .sv-gp-nav-external {
	display: inline-flex;
	align-items: center;
	margin-left: 0.35em;
	flex-shrink: 0;
	opacity: 0.9;
}

.sv-gp-menu a .sv-gp-nav-external i[class*="ph-"] {
	margin-right: 0;
	font-size: 0.9em;
}

/* Header hover/active/current: cream link + brand-red rail on dark scrim. */
.sv-gp-header .sv-gp-menu > .menu-item > a:hover,
.sv-gp-header .sv-gp-menu > .menu-item > a:focus-visible,
.sv-gp-header .sv-gp-menu > .menu-item > a:active {
	color: var(--sv-gp-blue-link);
	text-shadow:
		0 0 1px rgba(0, 0, 0, 1),
		0 1px 3px rgba(0, 0, 0, 0.98),
		0 0 16px rgba(0, 0, 0, 0.75);
}

.sv-gp-menu > .menu-item > a .sv-gp-nav-label {
	color: inherit;
}

/* In-page / Wilpas section-nav labels on dark #2c2c2c need lighter blue for AAA. */
.sv-gp-article .sv-gp-nav-label,
.mm-gb-page-nav .sv-gp-nav-label,
.mm-gb-wilpas-page .sv-gp-nav-label,
.mm-gb-wilpas-hub .sv-gp-nav-label {
	color: var(--sv-gp-blue-link);
}

/* Current item: same AAA blue + underline cue (scrim keeps contrast). */
.sv-gp-header .sv-gp-menu > .current-menu-item > a,
.sv-gp-header .sv-gp-menu > .current-menu-ancestor > a,
.sv-gp-header .sv-gp-menu > .current_page_item > a,
.sv-gp-header .sv-gp-menu > .current-menu-item > a:hover,
.sv-gp-header .sv-gp-menu > .current-menu-ancestor > a:hover,
.sv-gp-header .sv-gp-menu > .current_page_item > a:hover,
.sv-gp-header .sv-gp-menu > .current-menu-item > a:active,
.sv-gp-header .sv-gp-menu > .current-menu-ancestor > a:active,
.sv-gp-header .sv-gp-menu > .current_page_item > a:active {
	color: var(--sv-gp-blue-link);
	box-shadow: inset 0 -2px 0 0 var(--sv-gp-blue-link);
}

.sv-gp-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	background: var(--sv-gp-dropdown-bg);
	border: 1px solid var(--sv-gp-dropdown-border);
	min-width: 16rem;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.sv-gp-menu .sub-menu .menu-item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}

.sv-gp-menu .sub-menu a {
	color: var(--sv-gp-page-ink);
	font-size: 1rem;
	padding: 0.85rem 1.1rem;
	min-height: 44px;
	width: 100%;
	white-space: normal;
}

.sv-gp-menu .sub-menu a:hover,
.sv-gp-menu .sub-menu a:focus-visible,
.sv-gp-menu .sub-menu a:active,
.sv-gp-menu .sub-menu .current-menu-item > a {
	color: var(--sv-gp-blue-link);
	background: var(--sv-gp-dropdown-hover);
}

.sv-gp-sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: transparent;
	border: 0;
	color: var(--sv-gp-white);
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	font-size: 0;
	flex: 0 0 auto;
}

.sv-gp-header .sv-gp-menu > .menu-item > .sv-gp-sub-toggle {
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95));
}

.sv-gp-header .sv-gp-menu > .menu-item > .sv-gp-sub-toggle:hover,
.sv-gp-header .sv-gp-menu > .menu-item > .sv-gp-sub-toggle:focus-visible,
.sv-gp-header .sv-gp-menu > .menu-item.is-open > .sv-gp-sub-toggle {
	color: var(--sv-gp-blue-link);
}

.sv-gp-sub-toggle .ph-fill {
	font-size: 1rem;
	line-height: 1;
	transition: transform 0.18s ease;
}

.menu-item.is-open > .sv-gp-sub-toggle .ph-fill {
	transform: rotate(180deg);
}

@media (min-width: 1025px) {
	.menu-item-has-children:hover > .sv-gp-sub-toggle .ph-fill,
	.menu-item-has-children:focus-within > .sv-gp-sub-toggle .ph-fill {
		transform: rotate(180deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sv-gp-sub-toggle .ph-fill {
		transition: none;
	}
}

/*
 * Additional CSS (.screen-reader-text clip-path only, no clip:rect) + flex button
 * lets “Avaa alavalikko” ink paint at full size. Hide inside chrome toggles.
 */
.sv-gp-sub-toggle .screen-reader-text,
.sv-gp-nav-toggle .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

@media (min-width: 1025px) {
	/*
	 * Desktop dropdown: top:100% (no gap). Transparent padding-top is hover bridge.
	 * Inner panel via ::after so the bridge stays empty of paint.
	 */
	.sv-gp-menu > .menu-item-has-children > .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: auto;
		display: none;
		z-index: 500;
		min-width: 17rem;
		padding: 0.65rem 0 0;
		margin: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	/*
	 * CSS-first: last top-level items open toward the left so right-edge
	 * menus (Yhdistys) stay in viewport before JS measures.
	 */
	.sv-gp-menu > .menu-item-has-children:last-child > .sub-menu,
	.sv-gp-menu > .menu-item-has-children:nth-last-child(2) > .sub-menu {
		left: auto;
		right: 0;
	}

	.sv-gp-menu > .menu-item-has-children > .sub-menu.sv-gp-sub--align-end {
		left: auto;
		right: 0;
	}

	.sv-gp-menu > .menu-item-has-children > .sub-menu.sv-gp-sub--align-start {
		left: 0;
		right: auto;
	}

	.sv-gp-menu > .menu-item-has-children > .sub-menu::after {
		content: "";
		position: absolute;
		top: 0.65rem;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: -1;
		background: var(--sv-gp-dropdown-bg);
		border: 1px solid var(--sv-gp-dropdown-border);
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
		pointer-events: none;
	}

	.sv-gp-menu > .menu-item-has-children:hover > .sub-menu,
	.sv-gp-menu > .menu-item-has-children:focus-within > .sub-menu,
	.sv-gp-menu > .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.sv-gp-menu .sub-menu .sub-menu {
		position: absolute;
		top: 0;
		left: calc(100% - 2px);
		right: auto;
		display: none;
		z-index: 510;
		min-width: 16rem;
		padding: 0.35rem 0;
		background: var(--sv-gp-dropdown-bg);
		border: 1px solid var(--sv-gp-dropdown-border);
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
	}

	.sv-gp-menu .sub-menu .sub-menu.sv-gp-sub--align-end {
		left: auto;
		right: calc(100% - 2px);
	}

	.sv-gp-menu .sub-menu .sub-menu.sv-gp-sub--align-start {
		left: calc(100% - 2px);
		right: auto;
	}

	.sv-gp-menu .sub-menu .sub-menu::after {
		display: none;
	}

	.sv-gp-menu .menu-item-has-children:hover > .sub-menu,
	.sv-gp-menu .menu-item-has-children:focus-within > .sub-menu,
	.sv-gp-menu .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	/* WCAG 2.2 target-size ≥24px; caret stays visually compact. */
	.sv-gp-menu > .menu-item > .sv-gp-sub-toggle {
		min-width: 24px;
		min-height: 24px;
		width: 24px;
		height: 24px;
		margin-left: 0;
		color: inherit;
	}

	.sv-gp-menu .sub-menu > .menu-item > .sv-gp-sub-toggle {
		min-width: 44px;
		min-height: 44px;
		width: 44px;
		align-self: stretch;
	}

	.sv-gp-sub-toggle .ph-fill {
		font-size: 0.9rem;
	}
}

@media (min-width: 1025px) and (max-width: 1199px) {
	.sv-gp-menu > .menu-item > a {
		padding-left: 0.35rem;
		padding-right: 0.35rem;
		font-size: 0.9rem;
	}
}

.sv-gp-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-sizing: border-box;
	/* Match .theme-toggle shell + one .theme-toggle-btn cell. */
	width: calc(2.75rem + 6px);
	height: calc(2.75rem + 6px);
	min-width: calc(2.75rem + 6px);
	min-height: calc(2.75rem + 6px);
	margin: 0;
	padding: 2px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 6px;
	background: rgba(13, 13, 13, 0.55);
	color: #e1e1e1;
	cursor: pointer;
	line-height: 1;
	font-size: 1.15rem;
	box-shadow: none;
	text-shadow: none;
}

.sv-gp-nav-toggle .ph-fill {
	font-size: 1.15rem;
	line-height: 1;
}

.sv-gp-nav-toggle:hover,
.sv-gp-nav-toggle:focus-visible {
	color: #fff;
	background: rgba(152, 0, 50, 0.35);
	border-color: rgba(255, 255, 255, 0.28);
}

.sv-gp-nav-toggle.is-open,
.sv-gp-nav-toggle.is-open:hover,
.sv-gp-nav-toggle.is-open:focus-visible {
	color: #fff;
	background: var(--sv-gp-blue-cta);
	border-color: var(--sv-gp-blue-cta);
}

.sv-gp-nav-toggle .ph-x {
	display: none;
}

.sv-gp-nav-toggle.is-open .ph-list {
	display: none;
}

.sv-gp-nav-toggle.is-open .ph-x {
	display: inline-block;
}

/* Front hero */
.sv-gp-front {
	padding-top: 0;
	background: var(--sv-gp-black);
}

.sv-gp-reveal {
	opacity: 1;
	transform: none;
}

.js .sv-gp-reveal:not(.is-visible) {
	opacity: 0;
	transform: translateY(0.85rem);
}

.js .sv-gp-reveal.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.sv-gp-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: var(--sv-gp-white);
}

.sv-gp-hero__slides,
.sv-gp-hero__slide,
.sv-gp-hero__overlay {
	position: absolute;
	inset: 0;
}

.sv-gp-hero__slide {
	background: center / cover no-repeat;
	opacity: 0;
	transition: opacity 1.1s ease;
}

.sv-gp-hero__slide.is-active {
	opacity: 1;
}

.sv-gp-hero__overlay {
	/* Left-weighted + bottom scrim so copy survives light and busy slides. */
	background:
		linear-gradient(105deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.47) 42%, rgba(0, 0, 0, 0.24) 74%, rgba(0, 0, 0, 0.43) 100%),
		linear-gradient(to top, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.26) 46%, rgba(0, 0, 0, 0.34) 100%);
}

.sv-gp-hero__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	padding: calc(var(--sv-gp-admin-offset) + var(--sv-gp-header-h) + 1.1rem) 1.5rem 4.25rem;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(15.5rem, 0.7fr);
	gap: 2rem 2.75rem;
	align-items: end;
}

.sv-gp-hero__more {
	position: absolute;
	left: 50%;
	bottom: 0.85rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	transform: translateX(-50%);
	color: #fff;
	text-decoration: none;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

.sv-gp-hero__more .ph-fill {
	font-size: 1.75rem;
	line-height: 1;
}

.sv-gp-hero__more:hover,
.sv-gp-hero__more:focus-visible,
.sv-gp-hero__more:active {
	color: #fff;
}

.sv-gp-hero__more:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
	.sv-gp-hero__more .ph-fill {
		animation: sv-gp-hero-more 1.8s ease-in-out infinite;
	}
}

@keyframes sv-gp-hero-more {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(6px);
	}
}

/* Soft scrim panel — not a floating card. Red rail = brand cue. */
.sv-gp-hero__copy {
	box-sizing: border-box;
	max-width: 42rem;
	padding: 0.15rem 0 0.25rem 1.05rem;
	border-left: 3px solid var(--sv-gp-red);
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.sv-gp-hero__title {
	margin: 0 0 0.3rem;
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: clamp(2.85rem, 6.4vw, 4.5rem);
	letter-spacing: 0.033em;
	text-transform: uppercase;
	color: #fff;
	line-height: 0.92;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.sv-gp-hero__tag {
	margin: 0 0 0.85rem;
	font-family: Teko, Montserrat, sans-serif;
	font-size: clamp(1.15rem, 2.4vw, 1.55rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.15;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.sv-gp-hero__lead {
	max-width: 40rem;
	margin: 0 0 0.15rem;
	font-size: 1.08rem;
	line-height: 1.55;
	color: #fff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.sv-gp-hero .sv-gp-social--hero {
	margin: 1.1rem 0 0;
}

.sv-gp-hero .sv-gp-social--hero .sv-gp-social__btn {
	border: 1px solid rgba(255, 255, 255, 0.38);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
	transition: filter 0.15s ease, transform 0.15s ease;
}

.sv-gp-hero .sv-gp-social--hero .sv-gp-social__btn:hover,
.sv-gp-hero .sv-gp-social--hero .sv-gp-social__btn:focus-visible {
	filter: brightness(1.12);
	transform: translateY(-1px);
	color: #fff;
}

.sv-gp-hero .sv-gp-cta-strip__btn {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.16);
	transition: background-color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

.sv-gp-hero .sv-gp-cta-strip__btn:hover,
.sv-gp-hero .sv-gp-cta-strip__btn:focus-visible {
	filter: brightness(0.9);
	transform: translateY(-1px);
	color: #fff;
}

.sv-gp-hero .sv-gp-cta-strip__btn:active {
	filter: brightness(0.82);
	transform: none;
}

.sv-gp-social {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.sv-gp-social__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
}

.sv-gp-social__btn .sv-gp-nav-icon,
.sv-gp-social__btn .ph-fill {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

.sv-gp-hero-news {
	box-sizing: border-box;
	min-width: 0;
	background: rgba(8, 8, 8, 0.55);
	border: 0;
	border-top: 2px solid var(--sv-gp-red);
	border-radius: 0;
	padding: 0.95rem 1.05rem 0.65rem;
	backdrop-filter: blur(5px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.sv-gp-hero-news__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 0.55rem;
}

.sv-gp-hero-news__head:hover,
.sv-gp-hero-news__head:focus-visible {
	color: #fff;
}

.sv-gp-hero-news__arrow {
	margin-left: auto;
	opacity: 0.85;
	transition: transform 0.15s ease;
}

.sv-gp-hero-news__head:hover .sv-gp-hero-news__arrow,
.sv-gp-hero-news__head:focus-visible .sv-gp-hero-news__arrow {
	transform: translateX(3px);
}

.sv-gp-hero-news__featured {
	margin: 0 0 0.15rem;
	padding-top: 0.15rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sv-gp-hero-news__featured a {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.7rem 0 0.75rem;
	color: #fff;
	text-decoration: none;
}

.sv-gp-hero-news__featured a:hover .sv-gp-hero-news__title,
.sv-gp-hero-news__featured a:focus-visible .sv-gp-hero-news__title {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.sv-gp-hero-news__label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	align-self: flex-start;
	margin-bottom: 0.15rem;
	padding: 0.15rem 0.55rem;
	border-radius: 2px;
	background: var(--sv-gp-red);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.3;
}

.sv-gp-hero-news__label i[class*="ph-"] {
	font-size: 0.85em;
	line-height: 1;
}

.sv-gp-hero-news__row {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
}

.sv-gp-hero-news__cat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 2px;
	color: #fff;
	background: color-mix(in srgb, var(--sv-gp-hero-cat, var(--sv-gp-pill)) 22%, transparent);
}

.sv-gp-hero-news__cat .ph-fill {
	font-size: 0.95rem;
	line-height: 1;
}

.sv-gp-hero-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sv-gp-hero-news__list a {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.55rem 0;
	color: #fff;
	text-decoration: none;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sv-gp-hero-news__list a:hover .sv-gp-hero-news__title,
.sv-gp-hero-news__list a:focus-visible .sv-gp-hero-news__title {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.sv-gp-hero-news__date {
	color: #f2f2f2;
	font-size: 0.88rem;
}

.sv-gp-hero-news__list .sv-gp-hero-news__title {
	font-size: 0.95rem;
	line-height: 1.35;
}

.sv-gp-hero-news__featured .sv-gp-hero-news__title {
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.35;
}

.sv-gp-hero-news__empty {
	margin: 0;
	padding: 0.5rem 0 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sv-gp-hero-news__empty a {
	color: #fff;
	font-weight: 600;
}

.sv-gp-cta-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.65rem;
	width: 100%;
	margin-top: 1.2rem;
}

.sv-gp-cta-strip__btn {
	flex: 0 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 38px;
	padding: 0.42rem 0.9rem;
	color: #fff;
	font-weight: 700;
	font-size: 0.88rem;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.02em;
}

.sv-gp-cta-strip__btn--primary {
	min-height: 44px;
	padding: 0.55rem 1.1rem;
	font-size: 0.95rem;
	flex: 1 1 auto;
}

.sv-gp-cta-strip__btn .ph-fill {
	font-size: 1em;
}

.sv-gp-home-yhdistys {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 2.75rem;
	align-items: center;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	padding: 3.75rem 1.25rem 4.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-gp-home-yhdistys__media {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.5rem 0 0.25rem;
}

/* CRT TV frame around yhdistys carousel (same slides as hero). */
.sv-gp-tv {
	box-sizing: border-box;
	width: 100%;
	max-width: 34rem;
	margin: 0 auto;
}

.sv-gp-tv__antenna {
	position: relative;
	height: 1.75rem;
	margin: 0 auto 0.15rem;
	width: 55%;
}

.sv-gp-tv__antenna::before,
.sv-gp-tv__antenna::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 3px;
	height: 1.65rem;
	background: linear-gradient(180deg, #8a8a8a 0%, #3a3a3a 100%);
	border-radius: 2px;
	transform-origin: bottom center;
}

.sv-gp-tv__antenna::before {
	transform: translateX(-50%) rotate(-28deg);
}

.sv-gp-tv__antenna::after {
	transform: translateX(-50%) rotate(28deg);
}

.sv-gp-tv__bezel {
	box-sizing: border-box;
	padding: 0.85rem 0.85rem 1.6rem;
	background:
		linear-gradient(165deg, #3a3a3a 0%, #1a1a1a 42%, #0f0f0f 100%);
	border: 2px solid #4a4a4a;
	border-radius: 14px 14px 10px 10px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		0 10px 28px rgba(0, 0, 0, 0.45);
	position: relative;
}

/* Power LED: bottom-right frame strip, below screen + controls on every layout. */
.sv-gp-tv__bezel::after {
	content: "";
	position: absolute;
	right: 0.75rem;
	bottom: 0.55rem;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: #c0392b;
	box-shadow: 0 0 6px rgba(192, 57, 43, 0.65);
}

.sv-gp-tv__screen {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 4px;
	background: #050505;
	border: 3px solid #0a0a0a;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sv-gp-tv__viewport {
	position: relative;
}

.sv-gp-tv__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.55rem;
	padding: 0 0.15rem 0.1rem;
}

.sv-gp-tv__nav {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	color: #fff;
	background: #1a1a1a;
	border: 2px solid #e8e8e8;
	border-radius: 2px;
	cursor: pointer;
	line-height: 1;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sv-gp-tv__nav .ph-fill {
	font-size: 1.15rem;
	line-height: 1;
}

.sv-gp-tv__nav:hover,
.sv-gp-tv__nav:focus-visible {
	background: #2a2a2a;
	border-color: #fff;
	color: #fff;
	outline: none;
}

.sv-gp-tv__nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.sv-gp-tv__nav:active {
	background: #0d0d0d;
}

.sv-gp-tv__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	flex: 1 1 auto;
	min-width: 0;
}

/* Hit target ≥44×44 (WCAG 2.5.5 AAA); visual disc stays ~12px via ::after. */
.sv-gp-tv__dot {
	box-sizing: border-box;
	position: relative;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.sv-gp-tv__dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	box-sizing: border-box;
	border-radius: 50%;
	border: 2px solid #e8e8e8;
	background: transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sv-gp-tv__dot.is-active::after {
	background: #fff;
	border-color: #fff;
}

.sv-gp-tv__dot:hover::after,
.sv-gp-tv__dot:focus-visible::after {
	border-color: #fff;
}

.sv-gp-tv__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.sv-gp-tv__dot:active {
	transform: scale(0.92);
}

.sv-gp-tv__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.85s ease;
}

.sv-gp-tv__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.sv-gp-tv__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sv-gp-tv__link {
	display: block;
	position: absolute;
	inset: 0;
	color: inherit;
	text-decoration: none;
}

.sv-gp-tv__link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.sv-gp-tv__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--sv-gp-tv-fallback, #e8e914) 35%, #1a1a1a) 0%, #0d0d0d 70%),
		linear-gradient(160deg, #1a1408 0%, #0a0a0a 100%);
	color: var(--sv-gp-tv-fallback, #e8e914);
	font-size: clamp(3.5rem, 12vw, 5.5rem);
	line-height: 1;
}

.sv-gp-tv__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	box-sizing: border-box;
	padding: 2.25rem 0.85rem 0.75rem;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 55%);
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	pointer-events: none;
}

.sv-gp-tv__date {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #e8e8e8;
}

.sv-gp-tv__title {
	font-family: Teko, Montserrat, sans-serif;
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: #fff;
	text-wrap: balance;
}

.sv-gp-tv__excerpt {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.82rem;
	line-height: 1.3;
	opacity: 0.92;
	color: #e8e8e8;
}

.sv-gp-tv__stand {
	width: 42%;
	height: 0.55rem;
	margin: 0.35rem auto 0;
	background: linear-gradient(180deg, #2c2c2c, #151515);
	border-radius: 0 0 4px 4px;
	position: relative;
}

.sv-gp-tv__stand::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -0.35rem;
	width: 18%;
	height: 0.4rem;
	background: #222;
	transform: translateX(-50%);
	border-radius: 2px 2px 0 0;
}

.sv-gp-home-yhdistys h2 {
	margin-top: 0;
	margin-bottom: 0.85rem;
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: clamp(2rem, 4vw, 2.75rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sv-gp-home-yhdistys p {
	line-height: 1.6;
	color: #f2f2f2;
}

.sv-gp-home-yhdistys__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.35rem;
}

.sv-gp-home-yhdistys__actions .sv-gp-btn .ph-fill {
	font-size: 1.1em;
	line-height: 1;
}

.sv-gp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 44px;
	padding: 0.7rem 1.15rem;
	margin: 0;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 2px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sv-gp-btn:hover {
	color: #fff;
}

.sv-gp-btn:active {
	color: #fff;
}

.sv-gp-btn:disabled,
.sv-gp-btn[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.sv-gp-btn--red {
	background: var(--sv-gp-red-cta);
	color: #fff;
}

.sv-gp-btn--red:hover {
	background: var(--sv-gp-red-cta-hover);
}

.sv-gp-btn--red:active {
	background: var(--sv-gp-red-cta-active);
}

.sv-gp-btn--blue {
	background: var(--sv-gp-blue-cta);
	color: #fff;
}

.sv-gp-btn--blue:hover {
	background: var(--sv-gp-blue-cta-hover);
}

.sv-gp-btn--blue:active {
	background: var(--sv-gp-blue-cta-active);
}

.sv-gp-btn--outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.sv-gp-btn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.sv-gp-btn--outline:active {
	background: rgba(255, 255, 255, 0.18);
}

.sv-gp-btn--accent {
	background: var(--sv-gp-btn-bg, var(--sv-gp-red-cta));
	color: var(--sv-gp-btn-fg, #fff);
	border-color: transparent;
}

.sv-gp-btn--accent:hover,
.sv-gp-btn--accent:active {
	color: var(--sv-gp-btn-fg, #fff);
	filter: brightness(0.88);
}

.sv-gp-home-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem 1.5rem;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	padding: 3.25rem 1.25rem 1.75rem;
}

.sv-gp-home-stat {
	box-sizing: border-box;
	padding: 1.45rem 1.1rem 1.3rem;
	background: linear-gradient(165deg, #1a1416 0%, #100e0f 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 3px solid var(--sv-gp-red);
	text-align: left;
}

.sv-gp-home-stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.65rem;
	color: var(--sv-gp-red);
	font-size: 1.45rem;
	line-height: 1;
	background: rgba(152, 0, 50, 0.14);
	border: 1px solid rgba(152, 0, 50, 0.35);
}

.sv-gp-home-stat__value {
	margin: 0 0 0.35rem;
	font-family: Teko, Montserrat, sans-serif;
	font-size: clamp(2.65rem, 5.2vw, 3.65rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 0.95;
	color: #fff;
}

.sv-gp-home-stat__label {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #e0e0e0;
}

.sv-gp-home-join {
	background: linear-gradient(180deg, #1a1014 0%, #0a0a0a 100%);
	border-block: 1px solid rgba(255, 255, 255, 0.1);
	margin: 1.5rem 0 0;
	position: relative;
}

.sv-gp-home-join::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--sv-gp-red);
}

.sv-gp-home-join__inner {
	box-sizing: border-box;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	padding: 3.25rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
}

.sv-gp-home-join__copy {
	flex: 1 1 18rem;
	min-width: 0;
}

.sv-gp-home-join h2 {
	margin: 0 0 0.55rem;
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: clamp(2rem, 4vw, 2.75rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.sv-gp-home-join p {
	margin: 0;
	color: #f2f2f2;
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 34rem;
}

.sv-gp-home-join__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
}

.sv-gp-home-join__cta {
	min-height: 56px;
	padding: 0.95rem 1.65rem;
	font-size: 1.05rem;
	gap: 0.65rem;
	letter-spacing: 0.03em;
}

.sv-gp-home-join__cta .ph-fill {
	font-size: 1.25em;
	line-height: 1;
}

.sv-gp-home-lajit {
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	padding: 3.25rem 1.25rem 2.5rem;
}

.sv-gp-home-lajit__kicker {
	margin: 0 0 0.5rem;
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: clamp(1.85rem, 3.5vw, 2.4rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sv-gp-home-lajit__lead {
	max-width: 40rem;
	margin: 0 0 1.65rem;
	color: #f2f2f2;
	line-height: 1.55;
}

.sv-gp-home-lajit__grid {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.sv-gp-home-lajit__grid a {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 52px;
	padding: 0.85rem 1rem;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	background: #161214;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 4px solid var(--sv-gp-laji-accent, var(--sv-gp-red));
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.sv-gp-home-lajit__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: var(--sv-gp-laji-accent, var(--sv-gp-red));
	font-size: 1.2rem;
	line-height: 1;
}

.sv-gp-home-lajit__label {
	flex: 1 1 auto;
	min-width: 0;
}

.sv-gp-home-lajit__out {
	display: inline-flex;
	flex: 0 0 auto;
	margin-left: auto;
	opacity: 0.75;
	font-size: 1rem;
	line-height: 1;
}

.sv-gp-home-lajit__grid a:hover,
.sv-gp-home-lajit__grid a:focus-visible {
	background: #211a1c;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.22);
	transform: translateY(-2px);
}

.sv-gp-home-lajit__more {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin: 0.25rem 0 0;
}

.sv-gp-home-lajit__more .sv-gp-btn {
	min-height: 48px;
	padding: 0.8rem 1.35rem;
	gap: 0.55rem;
	font-size: 0.98rem;
}

.sv-gp-home-lajit__more .sv-gp-btn .ph-fill {
	font-size: 1.15em;
	line-height: 1;
}

@media (min-width: 900px) {
	.sv-gp-home-lajit__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Phone: dots get their own row (6 x 44px AAA targets fit), arrows below. */
@media (max-width: 480px) {
	.sv-gp-tv__controls {
		flex-wrap: wrap;
		row-gap: 0.25rem;
	}

	.sv-gp-tv__dots {
		order: -1;
		flex: 1 1 100%;
		flex-wrap: nowrap;
		gap: 0;
		margin-inline: -0.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sv-gp-hero__slide,
	.sv-gp-tv__slide {
		transition: none;
	}

	.sv-gp-tv__nav,
	.sv-gp-tv__dot {
		transition: none;
		transform: none;
	}

	.sv-gp-btn,
	.sv-gp-home-lajit__grid a,
	.sv-gp-hero .sv-gp-cta-strip__btn,
	.sv-gp-hero .sv-gp-social--hero .sv-gp-social__btn,
	.sv-gp-hero-news__arrow {
		transition: none;
		transform: none;
	}

	.js .sv-gp-reveal:not(.is-visible),
	.js .sv-gp-reveal.is-visible {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.sv-gp-footer {
	background: var(--sv-gp-black);
	color: var(--sv-gp-white);
	padding: 2.75rem 1.25rem 0;
	margin-top: 0;
	overflow-x: clip;
}

.sv-gp-footer__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(12rem, 1.1fr) minmax(12rem, 1fr) minmax(9rem, 0.85fr) minmax(14rem, 1.15fr);
	gap: 2rem 1.75rem;
	align-items: start;
	justify-items: stretch;
	text-align: left;
	padding: 0 0 2rem;
}

.sv-gp-footer__inner > * {
	min-width: 0;
	max-width: 100%;
}

.sv-gp-footer__contact-list a,
.sv-gp-footer__contact-list li,
.sv-gp-footer__tag,
.sv-gp-footer__name {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.sv-gp-footer__heading {
	margin: 0 0 0.65rem;
	font-family: Montserrat, system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

.sv-gp-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
}

.sv-gp-footer__brand .custom-logo-link,
.sv-gp-footer__brand .custom-logo {
	display: block;
}

.sv-gp-footer__brand img {
	max-height: 72px;
	width: auto;
}

.sv-gp-footer__name {
	margin: 0;
	font-family: Teko, Montserrat, sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.1;
}

.sv-gp-footer__tag {
	margin: 0.2rem 0 0;
	font-size: 0.875rem;
	color: #e1e1e1;
}

.sv-gp-social--footer {
	margin: 0.25rem 0 0;
}

.sv-gp-social--footer .sv-gp-social__btn[style*="#0d0d0d"] {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.sv-gp-footer__contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sv-gp-footer__contact-list li {
	margin: 0 0 0.45rem;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.sv-gp-footer__contact-list a,
.sv-gp-footer-hours__more a {
	color: #f2f2f2;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-shadow: none;
}

.sv-gp-footer .sv-gp-menu--footer a {
	color: #f2f2f2;
	text-decoration: none;
	text-shadow: none;
}

.sv-gp-footer__contact-list a:hover,
.sv-gp-footer__contact-list a:focus-visible,
.sv-gp-footer-hours__more a:hover,
.sv-gp-footer-hours__more a:focus-visible,
.sv-gp-footer .sv-gp-menu--footer a:hover,
.sv-gp-footer .sv-gp-menu--footer a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.sv-gp-footer__nav .sv-gp-nav--footer,
.sv-gp-footer__nav .sv-gp-menu--footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sv-gp-menu--footer a {
	font-size: 0.9375rem;
	min-height: 44px;
	padding: 0.35rem 0;
	text-transform: none;
}

.sv-gp-footer__tools {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
	min-width: 0;
}

.sv-gp-footer-search {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.sv-gp-footer-search__row {
	display: flex;
	gap: 0.5rem;
	width: 100%;
	position: relative;
}

.sv-gp-footer-search__row .algolia-autocomplete {
	flex: 1;
	min-width: 0;
	display: block;
}

.sv-gp-footer-search input {
	flex: 1;
	min-width: 0;
	width: 100%;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--sv-gp-dropdown-border);
	border-radius: 4px;
	background: var(--sv-gp-input-bg);
	color: var(--sv-gp-text);
}

.sv-gp-footer-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 44px;
	min-width: 44px;
	padding: 0 1rem;
	background: var(--sv-gp-red-cta);
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.sv-gp-footer-search button:hover {
	background: var(--sv-gp-red-cta-hover);
	color: #fff;
}

.sv-gp-footer-search button:active {
	background: var(--sv-gp-red-cta-active);
	color: #fff;
}

.sv-gp-footer-search button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.sv-gp-footer-hours {
	width: 100%;
	max-width: 22rem;
	min-width: 0;
}

.sv-gp-footer-hours .myclub-embed,
.sv-gp-footer-hours iframe {
	display: block;
	width: 100%;
	max-width: 100%;
}

.sv-gp-footer-hours__more {
	margin: 0.65rem 0 0;
	font-size: 0.875rem;
}

.sv-gp-footer__meta {
	background: #0d0d0d;
	color: #f2f2f2;
	margin: 0 -1.25rem 0;
	padding: 0.9rem 1.25rem;
}

.sv-gp-footer__meta-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.25rem;
}

.sv-gp-footer__credit,
.sv-gp-footer__made {
	margin: 0;
	font-size: 0.8125rem;
}


.sv-gp-footer__version {
	margin-left: 0.35em;
	font-variant-numeric: tabular-nums;
	opacity: 0.85;
	white-space: nowrap;
}
.sv-gp-footer__made a {
	color: #f2f2f2;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.sv-gp-footer__made a:hover,
.sv-gp-footer__made a:focus-visible {
	color: #fff;
}

/* Gallery gap (0.5.93): core sizes nested gallery items with
   --wp--style--unstable-gallery-gap (16px fallback), but the flex `gap` itself comes from
   global styles (:root :where(.is-layout-flex) { gap: 44px }) because layout support is not
   emitted here. The mismatch wrapped "3 columns" into 2. Use the same value for both. */
.entry-content .wp-block-gallery.has-nested-images {
	gap: var(--wp--style--unstable-gallery-gap, 16px);
	margin-bottom: 1.5em;
}

/* Footer icons (0.5.92): same Phosphor fill icon + label pattern as lomakkeet
   site-footer.js. The link itself carries no underline so the icon glyph is never
   decorated; the label span carries it instead. */
.sv-gp-footer {
	--sv-gp-footer-icon: color-mix(in srgb, #980032 58%, #fff);
}

.sv-gp-footer__heading,
.sv-gp-footer__contact-list a,
.sv-gp-footer__contact-text,
.sv-gp-footer-hours__more a,
.sv-gp-footer .sv-gp-menu--footer a {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	max-width: 100%;
}

.sv-gp-footer__heading > span,
.sv-gp-footer__contact-list a > span,
.sv-gp-footer__contact-text > span,
.sv-gp-footer-hours__more a > span,
.sv-gp-footer .sv-gp-menu--footer a > span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.sv-gp-footer__heading i[class*="ph-"],
.sv-gp-footer__contact-list i[class*="ph-"],
.sv-gp-footer-hours__more i[class*="ph-"],
.sv-gp-footer .sv-gp-menu--footer a i[class*="ph-"] {
	flex-shrink: 0;
	margin: 0;
	font-size: 1em;
	line-height: 1;
	color: var(--sv-gp-footer-icon);
}

.sv-gp-footer__contact-list a,
.sv-gp-footer__contact-list a:hover,
.sv-gp-footer__contact-list a:focus-visible,
.sv-gp-footer-hours__more a,
.sv-gp-footer-hours__more a:hover,
.sv-gp-footer-hours__more a:focus-visible,
.sv-gp-footer .sv-gp-menu--footer a,
.sv-gp-footer .sv-gp-menu--footer a:hover,
.sv-gp-footer .sv-gp-menu--footer a:focus-visible,
.sv-gp-footer .sv-gp-menu--footer .current-menu-item > a,
.sv-gp-footer .sv-gp-menu--footer .current_page_item > a,
.sv-gp-footer .sv-gp-menu--footer a[aria-current="page"] {
	text-decoration: none;
}

.sv-gp-footer__contact-list a > span,
.sv-gp-footer-hours__more a > span,
.sv-gp-footer .sv-gp-menu--footer a:hover > span,
.sv-gp-footer .sv-gp-menu--footer a:focus-visible > span,
.sv-gp-footer .sv-gp-menu--footer .current-menu-item > a > span,
.sv-gp-footer .sv-gp-menu--footer .current_page_item > a > span,
.sv-gp-footer .sv-gp-menu--footer a[aria-current="page"] > span {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

/* Footer stack: see also tablet 2-col + phone 1-col after the 1024px chrome block
   (that block must not override this with a later 1fr 1fr rule). */

/* Page / single — Elementor TB 4540 */
.sv-gp-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 451px;
	padding: calc(var(--sv-gp-admin-offset) + 200px) 24px 0;
	overflow: hidden;
	color: var(--sv-gp-white);
	background-color: var(--sv-gp-black);
	background-image: var(--sv-gp-page-hero-image);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.sv-gp-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0.64;
}

/* Wilpas stripes graphic — slightly stronger scrim so Teko title stays readable. */
.sv-gp-page-hero--wilpas::before {
	opacity: 0.72;
}

.sv-gp-page-hero__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: 3.6rem;
	letter-spacing: 2.2px;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 8px rgba(0, 0, 0, 0.49);
}

.sv-gp-page-hero--post {
	flex-direction: column;
	padding: calc(var(--sv-gp-admin-offset) + 200px) 24px 48px;
	gap: 18px;
}

.sv-gp-page-hero--placeholder {
	background-image: none;
	background:
		linear-gradient(
			155deg,
			color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 42%, #1a1a1a) 0%,
			color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 18%, #0d0d0d) 100%
		);
	border-bottom: 4px solid var(--sv-gp-cat-accent, var(--sv-gp-red));
}

.sv-gp-page-hero--placeholder::before {
	opacity: 0.35;
}

.sv-gp-page-hero__ph-icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.55rem;
	font-size: 1.75rem;
	background: color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 72%, #1a1a1a);
	color: #fff;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 50%, transparent);
}

.sv-gp-post-meta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
}

.sv-gp-post-meta .ph-fill {
	font-size: 1.15rem;
	color: #f2f2f2;
}

.sv-gp-post-meta time {
	color: #fff;
}

.sv-gp-post-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.sv-gp-post-pills__chip,
.sv-gp-post-pills a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid color-mix(in srgb, var(--sv-gp-cat-accent, #980032) 55%, rgba(255, 255, 255, 0.22));
	border-radius: 999px;
	background: color-mix(in srgb, var(--sv-gp-cat-accent, #980032) 18%, rgba(255, 255, 255, 0.04));
	color: #f2f2f2;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sv-gp-post-pills__chip:hover,
.sv-gp-post-pills__chip:focus-visible,
.sv-gp-post-pills a:hover,
.sv-gp-post-pills a:focus-visible {
	border-color: var(--sv-gp-cat-accent, var(--sv-gp-red));
	background: color-mix(in srgb, var(--sv-gp-cat-accent, #980032) 28%, #1a1a1a);
	color: #fff;
}

.sv-gp-post-pills__chip:active,
.sv-gp-post-pills a:active {
	background: color-mix(in srgb, var(--sv-gp-cat-accent, #980032) 36%, #121212);
}

.sv-gp-post-pills__chip .ph-fill {
	color: var(--sv-gp-cat-accent, var(--sv-gp-pill));
	font-size: 1.05rem;
}

.sv-gp-single__featured {
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: 4px;
	border-bottom: 3px solid var(--sv-gp-red);
	background: #1a1a1a;
}

.sv-gp-single__featured-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 28rem;
	object-fit: cover;
}

.sv-gp-single__featured-cap {
	margin: 0;
	padding: 0.65rem 0.9rem;
	font-size: 0.9rem;
	font-style: italic;
	color: var(--sv-gp-muted);
	background: #161616;
}

.sv-gp-post-share {
	margin: 36px 0 0;
}

.sv-gp-post-share__label {
	margin: 0 0 12px;
	text-align: right;
	font-family: Teko, Montserrat, sans-serif;
	font-size: 1.25rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f2f2f2;
}

.sv-gp-post-share__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sv-gp-post-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 7px 14px;
	background: var(--sv-gp-red-cta);
	color: #fff !important;
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 700;
	transition: background-color 0.15s ease;
}

.sv-gp-post-share__btn:hover {
	background: var(--sv-gp-red-cta-hover);
	color: #fff !important;
}

.sv-gp-post-share__btn:active {
	background: var(--sv-gp-red-cta-active);
	color: #fff !important;
}

.sv-gp-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 28px 0 0;
	padding-top: 20px;
	border-top: 2px solid #454545;
}

.sv-gp-post-nav__link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-height: 44px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.04);
	color: #f2f2f2;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sv-gp-post-nav__link--next {
	align-items: flex-end;
	text-align: right;
}

.sv-gp-post-nav__link:hover,
.sv-gp-post-nav__link:focus-visible {
	border-color: var(--sv-gp-blue-link);
	background: rgba(131, 193, 235, 0.1);
	color: #fff;
}

.sv-gp-post-nav__link:active {
	background: rgba(131, 193, 235, 0.16);
}

.sv-gp-post-nav__link--empty {
	visibility: hidden;
	pointer-events: none;
	border: 0;
	background: transparent;
	min-height: 0;
	padding: 0;
}

.sv-gp-post-nav__dir {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sv-gp-blue-link);
}

.sv-gp-post-nav__title {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	color: #f2f2f2;
}

.sv-gp-related {
	margin: 36px 0 0;
}

.sv-gp-related__title {
	margin: 0 0 20px;
	text-align: center;
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: 1.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #f2f2f2;
}

.sv-gp-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 12px;
}

.sv-gp-related__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sv-gp-red);
	border-radius: 6px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.sv-gp-related__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #ececec;
}

.sv-gp-related__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sv-gp-related__thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(
			155deg,
			color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 42%, #1a1a1a) 0%,
			color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 22%, #121212) 100%
		);
	border-bottom: 3px solid var(--sv-gp-cat-accent, var(--sv-gp-pill));
	color: #0d0d0d;
	font-size: 2rem;
	text-decoration: none;
}

.sv-gp-related__body {
	padding: 14px 16px 16px;
}

.sv-gp-related__card-title {
	margin: 0 0 10px;
	font-family: Montserrat, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.45;
	text-transform: none;
}

.sv-gp-related__card-title a {
	color: #0d0d0d;
	text-decoration: none;
}

.sv-gp-related__card-title a:hover,
.sv-gp-related__card-title a:focus-visible {
	color: var(--sv-gp-blue-link-on-light);
	text-decoration: underline;
}

.sv-gp-related__meta {
	margin: 0 0 10px;
	color: var(--sv-gp-red-cta);
	font-size: 0.9rem;
	font-weight: 600;
}

.sv-gp-related__more {
	margin: 0;
}

.sv-gp-related__more a {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	min-height: 44px;
	color: var(--sv-gp-gold-cta);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	text-decoration: none;
}

.sv-gp-related__more a:hover,
.sv-gp-related__more a:focus-visible {
	color: var(--sv-gp-gold-cta-hover);
	text-decoration: underline;
}

.sv-gp-post-back {
	margin: 28px 0 0;
	padding-top: 20px;
	border-top: 2px solid #454545;
}

.sv-gp-post-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--sv-gp-blue-link);
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
}

.sv-gp-post-back a:hover,
.sv-gp-post-back a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.sv-gp-post-back a:active {
	color: #fff;
}

.sv-gp-main--singular {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0 0 54px;
}

.sv-gp-page-shell {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	padding: 14px 24px 0;
}

/* Overlay header is absolute — without TB 4540 hero, clear it (Wilpas content H1). */
.sv-gp-page-shell--no-hero {
	padding-top: calc(var(--sv-gp-admin-offset) + var(--sv-gp-header-h) + 14px);
}

.sv-gp-page-shell .rank-math-breadcrumb,
.sv-gp-breadcrumb {
	margin: 0 0 18px;
	padding: 12px 16px;
	background: var(--sv-gp-toolbar);
	border: 1px solid var(--sv-gp-hairline);
	border-radius: 6px;
	text-transform: uppercase;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.45;
	color: var(--sv-gp-page-ink);
}

.sv-gp-breadcrumb__trail,
.sv-gp-breadcrumb p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.45rem;
	margin: 0;
}

.sv-gp-breadcrumb__link,
.sv-gp-breadcrumb a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: 44px;
	padding: 0 2px;
	color: var(--sv-gp-blue-link);
	text-decoration: none;
}

.sv-gp-breadcrumb__link:hover,
.sv-gp-breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.sv-gp-breadcrumb__link:active,
.sv-gp-breadcrumb a:active {
	color: #fff;
}

.sv-gp-breadcrumb__sep,
.sv-gp-breadcrumb .separator {
	color: rgba(255, 255, 255, 0.55);
	font-weight: 700;
	user-select: none;
}

.sv-gp-breadcrumb__current,
.sv-gp-breadcrumb .last {
	color: #f2f2f2;
	font-weight: 700;
}

.sv-gp-breadcrumb__link .ph-fill,
.sv-gp-breadcrumb a .ph-fill {
	font-size: 1rem;
	color: inherit;
}

.sv-gp-breadcrumb__label {
	display: inline;
}

.sv-gp-theme-post-content,
.sv-gp-article .entry-content {
	box-sizing: border-box;
	background: var(--sv-gp-page-body);
	padding: 32px 48px 64px;
	border-radius: 4px;
	border-bottom: 3px solid #980032;
	color: var(--sv-gp-page-ink);
}

/* Single article body rhythm */
.sv-gp-main--article .sv-gp-single__content,
.sv-gp-main--article .sv-gp-article .entry-content {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.sv-gp-main--article .sv-gp-article .entry-content > * + * {
	margin-top: 1.15em;
}

.sv-gp-main--article .sv-gp-article .entry-content p {
	margin: 0;
	max-width: 68ch;
}

.sv-gp-main--article .sv-gp-article .entry-content .wp-block-image,
.sv-gp-main--article .sv-gp-article .entry-content figure {
	margin: 1.5em 0;
}

.sv-gp-main--article .sv-gp-article .entry-content .wp-block-image img,
.sv-gp-main--article .sv-gp-article .entry-content figure img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.sv-gp-main--article .sv-gp-article .entry-content figcaption {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: var(--sv-gp-muted);
}

.sv-gp-main--article .sv-gp-article .entry-content h2 {
	margin-top: 0;
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: clamp(2rem, 4vw, 3.2rem);
	letter-spacing: 2.2px;
	line-height: 1.14;
	text-transform: uppercase;
	color: #fff;
}

.sv-gp-main--article .sv-gp-article .entry-content h3 {
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	text-transform: uppercase;
	color: #fff;
}

.sv-gp-main--article .sv-gp-article .entry-content h4 {
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: 1.75rem;
	text-transform: uppercase;
	color: #fff;
}

.sv-gp-article .entry-content .has-white-background-color,
.sv-gp-article .entry-content .has-white-background-color h2,
.sv-gp-article .entry-content .has-white-background-color h3,
.sv-gp-article .entry-content .has-white-background-color h4,
.sv-gp-article .entry-content .has-black-color {
	color: #111;
}

/* Gutenberg + chrome CTAs — AAA fills (default / hover / active) */
.sv-gp-theme-post-content .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.sv-gp-article .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background-color: var(--sv-gp-red-cta);
	color: #fff !important;
	border: 2px solid transparent;
	border-radius: 7px;
	min-height: 44px;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sv-gp-theme-post-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.sv-gp-article .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background-color: var(--sv-gp-red-cta-hover);
	color: #fff !important;
}

.sv-gp-theme-post-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:active,
.sv-gp-article .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:active {
	background-color: var(--sv-gp-red-cta-active);
	color: #fff !important;
}

.sv-gp-theme-post-content .wp-block-button.is-style-outline .wp-block-button__link,
.sv-gp-article .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent;
	color: #fff !important;
	border: 2px solid #fff;
	border-radius: 7px;
	min-height: 44px;
}

.sv-gp-theme-post-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.sv-gp-article .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.12);
	color: #fff !important;
}

.sv-gp-theme-post-content .wp-block-button.is-style-outline .wp-block-button__link:active,
.sv-gp-article .entry-content .wp-block-button.is-style-outline .wp-block-button__link:active {
	background-color: rgba(255, 255, 255, 0.18);
}

.sv-gp-theme-post-content .mm-gb-page-nav .wp-block-button__link,
.sv-gp-article .entry-content .mm-gb-page-nav .wp-block-button__link {
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 700;
	min-height: 44px;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.sv-gp-theme-post-content .mm-gb-page-nav .wp-block-button__link .ph-fill,
.sv-gp-article .entry-content .mm-gb-page-nav .wp-block-button__link .ph-fill {
	flex-shrink: 0;
	margin-right: 0;
	font-size: 1.05em;
	line-height: 1;
	color: inherit;
}

.sv-gp-theme-post-content .mm-gb-page-nav .wp-block-buttons,
.sv-gp-article .entry-content .mm-gb-page-nav .wp-block-buttons {
	gap: 8px;
}

/* Laji brand-red CTAs — white ink AAA on #980032 */
.sv-gp-theme-post-content .mm-gb-laji-cta .wp-block-button__link,
.sv-gp-article .entry-content .mm-gb-laji-cta .wp-block-button__link {
	background-color: var(--sv-gp-red-cta) !important;
	color: #fff !important;
	border-color: var(--sv-gp-red-cta) !important;
}

.sv-gp-theme-post-content .mm-gb-laji-cta .wp-block-button__link:hover,
.sv-gp-article .entry-content .mm-gb-laji-cta .wp-block-button__link:hover {
	background-color: var(--sv-gp-red-cta-hover) !important;
	border-color: var(--sv-gp-red-cta-hover) !important;
}

/* Wilpas pages: yellow/black CTAs beat club-red .mm-gb-laji-cta */
.sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-cta .wp-block-button__link,
.sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-cta .wp-block-button__link.wp-element-button,
.sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-laji-cta .wp-block-button__link,
.sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-laji-cta .wp-block-button__link.wp-element-button {
	background-color: #e8e914 !important;
	color: #0d0d0d !important;
	border-color: #e8e914 !important;
}

.sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-cta .wp-block-button__link:hover,
.sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-cta .wp-block-button__link:focus-visible,
.sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-laji-cta .wp-block-button__link:hover,
.sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-laji-cta .wp-block-button__link:focus-visible {
	background-color: #f0f12a !important;
	color: #0d0d0d !important;
	border-color: #f0f12a !important;
}

.sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a,
.sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a {
	color: #e8e914 !important;
	background: rgba(232, 233, 20, 0.1);
	border-color: rgba(232, 233, 20, 0.45);
}

.sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a:hover,
.sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a:focus-visible,
.sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a:hover,
.sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a:focus-visible {
	color: #0d0d0d !important;
	background: #e8e914;
	border-color: #e8e914;
	outline-color: #e8e914;
}

.sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .ph-fill,
.sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-laji-toc .ph-fill {
	color: #e8e914 !important;
}

/* Social links (intro) — AAA on dark */
.sv-gp-theme-post-content .wp-block-social-links .wp-block-social-link-anchor,
.sv-gp-article .entry-content .wp-block-social-links .wp-block-social-link-anchor {
	color: #fff !important;
	background: var(--sv-gp-blue-cta);
	border-radius: 999px;
	min-width: 44px;
	min-height: 44px;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sv-gp-theme-post-content .wp-block-social-links .wp-block-social-link-anchor:hover,
.sv-gp-article .entry-content .wp-block-social-links .wp-block-social-link-anchor:hover {
	background: var(--sv-gp-blue-cta-hover);
	color: #fff !important;
}

.sv-gp-theme-post-content .wp-block-social-links .wp-block-social-link-anchor:active,
.sv-gp-article .entry-content .wp-block-social-links .wp-block-social-link-anchor:active {
	background: var(--sv-gp-blue-cta-active);
}

/* Wilpas hero social — black on yellow chips (AAA; not yellow-on-yellow). */
.sv-gp-theme-post-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor {
	color: #0d0d0d !important;
	background: #e8e914;
	border: 2px solid #e8e914;
	border-radius: 0;
	min-height: 44px;
	padding: 0.4rem 0.9rem;
}

.sv-gp-theme-post-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor:hover,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor:hover,
.sv-gp-theme-post-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor:focus-visible,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor:focus-visible {
	background: transparent;
	color: #e8e914 !important;
	border-color: #e8e914;
}

.sv-gp-theme-post-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor:active,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor:active {
	background: #dbdb0d;
	color: #0d0d0d !important;
	border-color: #dbdb0d;
}


/* Wilpas pelaa — fixtures CTA next to hero socials (stands out via pulse; Wilpas yellow). */
.mm-gb-wilpas-hero__actions {
	align-items: center;
	gap: 7px;
	margin-top: 0;
}

.mm-gb-wilpas-hero__actions .wp-block-social-links,
.mm-gb-wilpas-hero__actions .wp-block-buttons {
	margin: 0;
}

.mm-gb-wilpas-hero__actions .wp-block-button {
	margin: 0;
}

.sv-gp-theme-post-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link,
.sv-gp-theme-post-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link.wp-element-button,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link.wp-element-button,
.mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.4rem 1rem;
	border-radius: 0;
	border: 2px solid #111;
	background-color: #e8e914 !important;
	color: #111 !important;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 0 0 0 rgba(232, 233, 20, 0.7);
	animation: mm-gb-wilpas-pelaa-pulse 2s ease-out infinite;
}

.sv-gp-theme-post-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link:hover,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link:hover,
.sv-gp-theme-post-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link:focus-visible,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link:focus-visible,
.mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link:hover,
.mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link:focus-visible {
	background-color: #111 !important;
	color: #e8e914 !important;
	border-color: #e8e914;
}

.sv-gp-theme-post-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link .ph-fill,
.sv-gp-article .entry-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link .ph-fill,
.mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link .ph-fill {
	color: inherit !important;
	font-size: 1.15em;
	line-height: 1;
}

@keyframes mm-gb-wilpas-pelaa-pulse {
	0% { box-shadow: 0 0 0 0 rgba(232, 233, 20, 0.65); }
	70% { box-shadow: 0 0 0 12px rgba(232, 233, 20, 0); }
	100% { box-shadow: 0 0 0 0 rgba(232, 233, 20, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.sv-gp-theme-post-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link,
	.sv-gp-article .entry-content .mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link,
	.mm-gb-wilpas-hero .mm-gb-wilpas-pelaa .wp-block-button__link {
		animation: none;
	}
}

/* Search / archive submits */
.mm-ajankohtaista-search button,
.sv-gp-ajankohtaista__search button,
.sv-gp-search__fields button {
	background: var(--sv-gp-red-cta);
	color: #fff;
	transition: background-color 0.15s ease;
}

.mm-ajankohtaista-search button:hover,
.sv-gp-ajankohtaista__search button:hover,
.sv-gp-search__fields button:hover {
	background: var(--sv-gp-red-cta-hover);
	color: #fff;
}

.mm-ajankohtaista-search button:active,
.sv-gp-ajankohtaista__search button:active,
.sv-gp-search__fields button:active {
	background: var(--sv-gp-red-cta-active);
}

/* Pagination chips */
.sv-gp-ajankohtaista__pagination .page-numbers,
.sv-gp-search .page-numbers {
	color: #f2f2f2;
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.04);
}

.sv-gp-ajankohtaista__pagination a.page-numbers:hover,
.sv-gp-ajankohtaista__pagination a.page-numbers:focus-visible,
.sv-gp-search a.page-numbers:hover,
.sv-gp-search a.page-numbers:focus-visible {
	background: var(--sv-gp-blue-cta);
	border-color: var(--sv-gp-blue-cta);
	color: #fff;
}

.sv-gp-ajankohtaista__pagination .page-numbers.current,
.sv-gp-search .page-numbers.current {
	background: var(--sv-gp-red-cta);
	border-color: var(--sv-gp-red-cta);
	color: #fff;
}

.sv-gp-ajankohtaista {
	background: var(--sv-gp-toolbar);
}

.sv-gp-ajankohtaista__hero {
	position: relative;
	min-height: 254px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--sv-gp-admin-offset) + var(--sv-gp-header-h) + 1.25rem) 24px 56px;
	background: #0d0d0d var(--sv-gp-page-hero-image, none) center / cover no-repeat;
	color: var(--sv-gp-white);
}

.sv-gp-ajankohtaista__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(45, 45, 44, 0.92) 100%);
	opacity: 1;
}

.sv-gp-ajankohtaista__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: Teko, Montserrat, sans-serif;
	font-size: clamp(2.5rem, 6vw, 3.5rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.mm-ajankohtaista-toolbar,
.sv-gp-ajankohtaista__toolbar {
	max-width: 1200px;
	margin: 0 auto;
	padding: 21px 24px 84px;
	background: transparent;
}

.mm-ajankohtaista-toolbar .rank-math-breadcrumb,
.sv-gp-ajankohtaista__toolbar .rank-math-breadcrumb,
.sv-gp-ajankohtaista__toolbar .sv-gp-breadcrumb {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: var(--sv-gp-toolbar);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	text-transform: uppercase;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: #f2f2f2;
}

.mm-ajankohtaista-toolbar .rank-math-breadcrumb a,
.sv-gp-ajankohtaista__toolbar .rank-math-breadcrumb a,
.sv-gp-ajankohtaista__toolbar .sv-gp-breadcrumb a {
	color: var(--sv-gp-blue-link);
	text-decoration: none;
}

.mm-ajankohtaista-toolbar .rank-math-breadcrumb a:hover,
.mm-ajankohtaista-toolbar .rank-math-breadcrumb a:focus-visible,
.sv-gp-ajankohtaista__toolbar .rank-math-breadcrumb a:hover,
.sv-gp-ajankohtaista__toolbar .rank-math-breadcrumb a:focus-visible,
.sv-gp-ajankohtaista__toolbar .sv-gp-breadcrumb a:hover,
.sv-gp-ajankohtaista__toolbar .sv-gp-breadcrumb a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.mm-ajankohtaista-search,
.sv-gp-ajankohtaista__search {
	display: flex;
	width: 100%;
	max-width: 640px;
	margin: 0 auto 28px;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mm-ajankohtaista-search input,
.sv-gp-ajankohtaista__search input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 12px 18px;
	border: 0;
	border-radius: 24px 0 0 24px;
	background: #e8e8e8;
	color: #0d0d0d;
	font-family: "Roboto Slab", Montserrat, serif;
	font-size: 1rem;
}

.mm-ajankohtaista-search input::placeholder,
.sv-gp-ajankohtaista__search input::placeholder {
	color: #3a3a3a;
	opacity: 1;
}

.mm-ajankohtaista-search button,
.sv-gp-ajankohtaista__search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	min-height: 48px;
	padding: 0 22px;
	background: #990132;
	color: #fff;
	border: 0;
	border-radius: 0 24px 24px 0;
	font-weight: 800;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease;
}

.mm-ajankohtaista-search button:hover,
.mm-ajankohtaista-search button:focus-visible,
.sv-gp-ajankohtaista__search button:hover,
.sv-gp-ajankohtaista__search button:focus-visible {
	background: #7a0128;
}

.mm-ajankohtaista-search button i[class*="ph-"],
.sv-gp-ajankohtaista__search button i[class*="ph-"] {
	font-size: 1.05rem;
	line-height: 1;
}

.mm-ajankohtaista-filters,
.sv-gp-ajankohtaista-filters {
	margin: 0 0 20px;
}

ul.mm-ajankohtaista-filters,
.mm-ajankohtaista-filters .elementor-icon-list-items,
.mm-ajankohtaista-filters.elementor-icon-list-items,
.sv-gp-ajankohtaista-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 20px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 7px;
}

.mm-ajankohtaista-filters .elementor-icon-list-item,
.sv-gp-ajankohtaista-filters__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mm-ajankohtaista-filters .elementor-icon-list-item > a,
.sv-gp-ajankohtaista-filters__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 44px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, 0.08);
	color: #f2f2f2;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 7px;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.3;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mm-ajankohtaista-filters .elementor-icon-list-item > a i[class*="ph-"],
.sv-gp-ajankohtaista-filters__link i[class*="ph-"] {
	flex-shrink: 0;
	font-size: 1.05rem;
	line-height: 1;
	margin-right: 0;
}

.mm-ajankohtaista-filters .elementor-icon-list-item > a:hover,
.mm-ajankohtaista-filters .elementor-icon-list-item > a:focus-visible,
.sv-gp-ajankohtaista-filters__link:hover,
.sv-gp-ajankohtaista-filters__link:focus-visible {
	color: #fff;
	background: rgba(152, 0, 50, 0.35);
	border-color: #980032;
}

/* Active pill: brand red fill + white text (AAA). */
.mm-ajankohtaista-filters .elementor-icon-list-item.is-current > a,
.sv-gp-ajankohtaista-filters__item.is-current .sv-gp-ajankohtaista-filters__link,
body.blog .mm-ajankohtaista-filters .elementor-icon-list-item > a[href$="/ajankohtaista/"],
body.blog .sv-gp-ajankohtaista-filters__item > a[href$="/ajankohtaista/"] {
	color: #fff;
	background: var(--sv-gp-pill);
	border-color: var(--sv-gp-pill);
	font-weight: 800;
	box-shadow: 0 0 0 1px rgba(13, 13, 13, 0.12);
}

.mm-ajankohtaista-filters .elementor-icon-list-item.is-current > a:hover,
.mm-ajankohtaista-filters .elementor-icon-list-item.is-current > a:focus-visible,
.sv-gp-ajankohtaista-filters__item.is-current .sv-gp-ajankohtaista-filters__link:hover,
.sv-gp-ajankohtaista-filters__item.is-current .sv-gp-ajankohtaista-filters__link:focus-visible,
body.blog .mm-ajankohtaista-filters .elementor-icon-list-item > a[href$="/ajankohtaista/"]:hover,
body.blog .mm-ajankohtaista-filters .elementor-icon-list-item > a[href$="/ajankohtaista/"]:focus-visible,
body.blog .sv-gp-ajankohtaista-filters__item > a[href$="/ajankohtaista/"]:hover,
body.blog .sv-gp-ajankohtaista-filters__item > a[href$="/ajankohtaista/"]:focus-visible {
	color: #fff;
	background: #7a0128;
	border-color: #7a0128;
}

.sv-gp-ajankohtaista-filters__group {
	margin: 0 0 20px;
	padding: 4px 12px 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 7px;
}

.sv-gp-ajankohtaista-filters__summary {
	display: flex;
	align-items: center;
	gap: 0.45em;
	min-height: 44px;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.875rem;
	color: #f2f2f2;
	list-style: none;
}

.sv-gp-ajankohtaista-filters__summary::-webkit-details-marker,
.sv-gp-ajankohtaista-filters__summary::marker {
	display: none;
	content: "";
}

.sv-gp-ajankohtaista-filters__summary .ph-fill {
	transition: transform 0.15s ease;
}

.sv-gp-ajankohtaista-filters__group[open] .sv-gp-ajankohtaista-filters__summary .ph-fill {
	transform: rotate(-180deg);
}

.sv-gp-ajankohtaista-filters__sub {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0 0 6px;
}

.sv-gp-ajankohtaista-filters__sub .sv-gp-ajankohtaista-filters__item {
	margin: 0;
}

.mm-ajankohtaista-posts,
.sv-gp-ajankohtaista__posts {
	padding: 2rem;
	background: #242425;
	border-radius: 7px;
}

.sv-gp-ajankohtaista__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 24px;
}

.sv-gp-ajankohtaista__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	color: #111;
	border-radius: 7px;
	overflow: hidden;
	border: 1px solid #454545;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sv-gp-ajankohtaista__card:hover,
.sv-gp-ajankohtaista__card:focus-within {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.sv-gp-ajankohtaista__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 20px 20px;
	gap: 0;
}

.sv-gp-ajankohtaista__meta {
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	color: #4a4a4a;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sv-gp-ajankohtaista__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
}

.sv-gp-ajankohtaista__cats a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 2px 10px;
	border-radius: 999px;
	background: #f2f2f2;
	border: 1px solid #b8b8b8;
	color: var(--sv-gp-blue-link-on-light) !important;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
}

.sv-gp-ajankohtaista__cats a:hover,
.sv-gp-ajankohtaista__cats a:focus-visible {
	background: #ececec;
	border-color: #980032;
	text-decoration: underline;
}

.sv-gp-ajankohtaista__card-title {
	margin: 0 0 10px;
	font-family: Teko, Montserrat, sans-serif;
	font-size: 1.375rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-transform: uppercase;
}

.sv-gp-ajankohtaista__card-title a {
	color: #1e1e1e;
	text-decoration: none;
}

.sv-gp-ajankohtaista__card-title a:hover,
.sv-gp-ajankohtaista__card-title a:focus-visible {
	color: #990132;
	text-decoration: underline;
}

.sv-gp-ajankohtaista__excerpt {
	flex: 1 1 auto;
	margin: 0 0 14px;
	color: #333;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.sv-gp-ajankohtaista__excerpt p {
	margin: 0;
}

.sv-gp-ajankohtaista__more {
	margin: auto 0 0;
	padding-top: 4px;
}

.sv-gp-ajankohtaista__more a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: #990132 !important;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

.sv-gp-ajankohtaista__more a:hover,
.sv-gp-ajankohtaista__more a:focus-visible {
	text-decoration: underline;
	color: #7a0128 !important;
}

.sv-gp-ajankohtaista__more a i[class*="ph-"] {
	font-size: 1rem;
	line-height: 1;
}

.sv-gp-ajankohtaista__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(153, 1, 50, 0.25) 0%, rgba(0, 81, 119, 0.3) 100%);
}

.sv-gp-ajankohtaista__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.sv-gp-ajankohtaista__card:hover .sv-gp-ajankohtaista__thumb img,
.sv-gp-ajankohtaista__card:focus-within .sv-gp-ajankohtaista__thumb img {
	transform: scale(1.03);
}

.sv-gp-ajankohtaista__thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(
			155deg,
			color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 42%, #1a1a1a) 0%,
			color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 22%, #121212) 100%
		);
	border-bottom: 3px solid var(--sv-gp-cat-accent, var(--sv-gp-pill));
	color: #0d0d0d;
	font-size: 2.75rem;
	text-decoration: none;
}

.sv-gp-ajankohtaista__thumb--placeholder i[class*="ph-"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 0.55rem;
	/* Light chip + dark ink (AAA); accent reads on border + outer tint. */
	background: color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 72%, #1a1a1a);
	color: #fff;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--sv-gp-cat-accent, var(--sv-gp-pill)) 50%, transparent);
}

.sv-gp-ajankohtaista__empty {
	text-align: center;
	padding: 2.5rem 1.25rem;
	color: #f2f2f2;
}

.sv-gp-ajankohtaista__empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #f2f2f2;
	font-size: 1.5rem;
}

.sv-gp-ajankohtaista__empty-lead {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 700;
}

.sv-gp-ajankohtaista__empty-hint {
	margin: 0 0 18px;
	color: var(--sv-gp-muted);
	font-size: 0.95rem;
}

.sv-gp-ajankohtaista__empty-actions {
	margin: 0;
}

.sv-gp-ajankohtaista__empty-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 7px;
	background: #990132;
	color: #fff !important;
	font-weight: 800;
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

.sv-gp-ajankohtaista__empty-cta:hover,
.sv-gp-ajankohtaista__empty-cta:focus-visible {
	background: #7a0128;
	text-decoration: underline;
}

.sv-gp-ajankohtaista__pagination {
	margin-top: 8px;
}

.sv-gp-ajankohtaista .navigation.pagination,
.sv-gp-ajankohtaista .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
}

.sv-gp-ajankohtaista .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 7px;
	border: 1px solid rgba(131, 193, 235, 0.35);
	background: rgba(0, 0, 0, 0.18);
	color: var(--sv-gp-blue-link);
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sv-gp-ajankohtaista .page-numbers:hover:not(.current),
.sv-gp-ajankohtaista .page-numbers:focus-visible:not(.current) {
	background: rgba(131, 193, 235, 0.16);
	border-color: rgba(131, 193, 235, 0.65);
	color: #fff;
}

.sv-gp-ajankohtaista .page-numbers.current {
	background: #990132;
	border-color: #990132;
	color: #fff;
	font-weight: 800;
}

.sv-gp-ajankohtaista .page-numbers.dots {
	border: 0;
	background: transparent;
	min-width: auto;
	padding: 8px 4px;
	color: var(--sv-gp-muted);
}

.sv-gp-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: calc(var(--sv-gp-admin-offset) + var(--sv-gp-header-h) + 2rem) 1.25rem 3rem;
}

.sv-gp-main.sv-gp-main--singular {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0 0 54px;
}

.sv-gp-article .entry-title {
	margin-top: 0;
}

.sv-gp-404__path {
	margin: 0 0 1rem;
	color: #c8c8c8;
	font-size: 0.95rem;
	line-height: 1.4;
	word-break: break-all;
}

.sv-gp-404__path code {
	display: inline;
	padding: 0.1em 0.35em;
	color: var(--sv-gp-blue-link);
	background: #1a1a1a;
	font-size: 0.95em;
}

.sv-gp-404__actions {
	margin: 1.5rem 0 0;
	text-align: center;
}

.sv-gp-404__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.75rem 1.25rem;
	background: var(--sv-gp-red-cta);
	color: var(--sv-gp-white);
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-radius: 4px;
}

.sv-gp-404__cta:hover {
	background: var(--sv-gp-red-cta-hover);
	color: var(--sv-gp-white);
}

.sv-gp-404__cta:active {
	background: var(--sv-gp-red-cta-active);
}

/* Search archive shell — all rules scoped under .sv-gp-search* */
.sv-gp-search {
	background: var(--sv-gp-toolbar);
	color: #f2f2f2;
	width: 100%;
}

.sv-gp-search__hero {
	position: relative;
	min-height: 254px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--sv-gp-admin-offset) + var(--sv-gp-header-h) + 1.25rem) 24px 48px;
	background: #0d0d0d var(--sv-gp-page-hero-image, none) center / cover no-repeat;
	color: var(--sv-gp-white);
}

.sv-gp-search__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0.55;
}

.sv-gp-search__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: Teko, Montserrat, sans-serif;
	font-size: clamp(2.5rem, 6vw, 3.5rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.05;
	text-align: center;
}

.sv-gp-search__panel {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	padding: 1.5rem 24px 3.5rem;
}

.sv-gp-search__toolbar {
	margin: 0 0 1.75rem;
	padding: 1.25rem 1.35rem 1.35rem;
	background: #121212;
	border-radius: 4px;
	border-bottom: 3px solid var(--sv-gp-red);
}

.sv-gp-search__query,
.sv-gp-search__lead {
	margin: 0 0 1rem;
	color: #f2f2f2;
	font-size: 1.05rem;
	line-height: 1.4;
}

.sv-gp-search__query-term {
	color: var(--sv-gp-blue-link);
	font-weight: 700;
	word-break: break-word;
}

.sv-gp-search__active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.65rem;
	margin: 1rem 0 0;
	color: #cfcfcf;
	font-size: 0.9rem;
	line-height: 1.35;
}

.sv-gp-search__active-label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.75rem;
	color: #b8b8b8;
}

.sv-gp-search__chip {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0.2rem 0.65rem;
	border-radius: 4px;
	background: #242424;
	border: 1px solid #3a3a3a;
	color: #f2f2f2;
	font-weight: 600;
	font-size: 0.875rem;
}

.sv-gp-search__active-clear {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 32px;
	padding: 0.2rem 0.55rem;
	color: var(--sv-gp-blue-link);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	font-weight: 600;
	font-size: 0.875rem;
}

.sv-gp-search__active-clear:hover,
.sv-gp-search__active-clear:focus-visible {
	color: #fff;
}

.sv-gp-search__form {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	max-width: 48rem;
}

.sv-gp-search__crumb {
	color: #bdbdbd;
	font-size: 0.8rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.sv-gp-search__hints {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.sv-gp-search__hints a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.45rem 0.9rem;
	background: #242424;
	border: 1px solid #3a3a3a;
	border-radius: 4px;
	color: var(--sv-gp-blue-link);
	text-decoration: none;
	font-weight: 700;
}

.sv-gp-search__hints a:hover,
.sv-gp-search__hints a:focus-visible {
	background: #2c2c2c;
	color: #fff;
}

.sv-gp-search__label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.875rem;
	color: #f2f2f2;
}

.sv-gp-search__hint {
	margin: 0 0 0.35rem;
	color: #cfcfcf;
	font-size: 0.875rem;
	line-height: 1.4;
}

.sv-gp-search__fields {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: stretch;
	position: relative;
	z-index: 4;
}

.sv-gp-search__fields .algolia-autocomplete {
	flex: 1 1 14rem;
	min-width: 0;
	display: block;
}

.sv-gp-search__fields input {
	flex: 1 1 14rem;
	width: 100%;
	min-height: 48px;
	padding: 0.6rem 0.85rem;
	border: 1px solid #5a5a5a;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 1.05rem;
}

.sv-gp-search__fields input::placeholder {
	color: #b8b8b8;
}

.sv-gp-search__fields input:hover {
	border-color: #7a7a7a;
}

.sv-gp-search__fields button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 48px;
	min-width: 48px;
	padding: 0 1.15rem;
	background: var(--sv-gp-red);
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
}

.sv-gp-search__fields button:hover {
	filter: brightness(1.08);
}

.sv-gp-search__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-top: 0.85rem;
	max-width: 40rem;
}

.sv-gp-search__filter {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1 1 11rem;
	min-width: min(100%, 10rem);
}

.sv-gp-search__select {
	min-height: 48px;
	width: 100%;
	padding: 0.55rem 2.25rem 0.55rem 0.85rem;
	border: 1px solid #5a5a5a;
	border-radius: 4px;
	background: #1a1a1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%23cfcfcf' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") right 0.75rem center / 1rem no-repeat;
	color: #fff;
	font: inherit;
	font-size: 1.05rem;
	appearance: none;
	cursor: pointer;
}

.sv-gp-search__select:hover {
	border-color: #7a7a7a;
}

.sv-gp-search__count {
	margin: 0 0 1rem;
	color: var(--sv-gp-blue-link);
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.sv-gp-search__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.sv-gp-search__item {
	margin: 0;
}

/* One hit = card; the h2 title link stretches over it (::after), so the whole card is
   clickable but the accessible link name is just the title (WCAG 2.4.9). */
.sv-gp-search__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	padding: 1.1rem 1.25rem 1.2rem;
	background: #121212;
	border-radius: 4px;
	border-left: 4px solid var(--sv-gp-red);
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.sv-gp-search__card:hover,
.sv-gp-search__card:focus-within {
	background: #1a1a1a;
	box-shadow: 0 0 0 1px #3a3a3a;
}

.sv-gp-search__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	align-items: center;
	margin: 0;
	color: #cfcfcf;
	font-size: 0.875rem;
	line-height: 1.4;
}

.sv-gp-search__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	min-height: 1.5rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: #980032;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sv-gp-search__date {
	color: #cfcfcf;
}

.sv-gp-search__card .sv-gp-search__title {
	position: static;
	z-index: auto;
	margin: 0;
	text-align: left;
	font-family: Montserrat, sans-serif;
	font-size: clamp(1.15rem, 2.4vw, 1.35rem);
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
}

.sv-gp-search__link {
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	overflow-wrap: anywhere;
}

.sv-gp-search__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.sv-gp-search__link:hover,
.sv-gp-search__link:focus-visible {
	color: #fff;
	text-decoration-thickness: 3px;
}

.sv-gp-search__link:focus-visible {
	outline: none;
}

.sv-gp-search__link:focus-visible::after {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.sv-gp-search__excerpt {
	margin: 0;
	color: #e8e8e8;
	font-size: 1rem;
	line-height: 1.6;
	max-width: 70ch;
}

/* Query term highlight: bold + underline bar, never colour alone (1.4.1). */
.sv-gp-search__hl {
	padding: 0 0.1em;
	border-radius: 2px;
	background: #3d0014;
	box-shadow: inset 0 -0.14em 0 #ff7aa0;
	color: #fff;
	font-weight: 700;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.sv-gp-search__empty {
	margin: 0;
	padding: 2rem 1.35rem 1.75rem;
	text-align: center;
	background: #121212;
	border-radius: 4px;
	border-bottom: 3px solid var(--sv-gp-red);
}

.sv-gp-search__empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #242424;
	color: var(--sv-gp-blue-link);
	font-size: 1.6rem;
}

.sv-gp-search__empty-title {
	margin: 0 0 0.65rem;
	font-family: Teko, Montserrat, sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.15;
	color: #fff;
}

.sv-gp-search__empty-text {
	margin: 0 auto 1.35rem;
	max-width: 36rem;
	color: #e8e8e8;
	font-size: 1.05rem;
	line-height: 1.45;
}

.sv-gp-search__next {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.sv-gp-search__next a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.55rem 1.1rem;
	background: var(--sv-gp-red-cta);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.15s ease;
}

.sv-gp-search__next a:hover {
	background: var(--sv-gp-red-cta-hover);
	color: #fff;
}

.sv-gp-search__next a:active {
	background: var(--sv-gp-red-cta-active);
}

.sv-gp-search .navigation.pagination {
	margin-top: 1.75rem;
}

.sv-gp-search .navigation.pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sv-gp-search .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.sv-gp-search .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 7px;
	color: var(--sv-gp-blue-link);
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
}

.sv-gp-search .page-numbers.current {
	background: var(--sv-gp-red);
	color: #fff;
}

.sv-gp-search .page-numbers:hover:not(.current),
.sv-gp-search .page-numbers:focus-visible:not(.current) {
	background: #242424;
}

@media (max-width: 1024px) {
	.sv-gp-search__hero {
		min-height: 220px;
		padding: calc(var(--sv-gp-admin-offset) + 126px) 16px 45px;
	}

	.sv-gp-search__panel {
		padding: 1rem 12px 3rem;
	}

	.sv-gp-search__toolbar,
	.sv-gp-search__empty {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.sv-gp-search__card {
		padding: 0.95rem 1rem 1rem;
	}
}

/* Algolia autocomplete (plugin Legacy) — match Vilpas chrome; override white plugin CSS */
.algolia-autocomplete {
	width: 100%;
}

.aa-dropdown-menu {
	position: absolute;
	z-index: 40;
	left: 0;
	right: 0;
	max-height: min(70vh, 28rem);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--sv-gp-blue-link);
	background: #121212;
	border: 1px solid #3a3a3a;
	border-radius: 4px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
	margin-top: 4px;
}

.aa-dropdown-menu a {
	font-size: inherit;
	color: var(--sv-gp-blue-link);
	font-weight: 600;
}

.aa-dropdown-menu .autocomplete-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0;
	padding: 0.55rem 1rem 0.4rem;
	line-height: 1.3;
	border-bottom: 1px solid #3a3a3a;
	color: #b8b8b8;
}

.aa-dropdown-menu .autocomplete-header .clear {
	display: none;
}

.aa-dropdown-menu .autocomplete-header-title,
.aa-dropdown-menu .autocomplete-header-more {
	letter-spacing: 0.06em;
	font-size: 0.75rem;
	text-transform: uppercase;
	font-weight: 700;
}

.aa-dropdown-menu .autocomplete-header-more a {
	color: #8a8a8a;
}

.aa-dropdown-menu .autocomplete-header-more a:hover {
	color: var(--sv-gp-blue-link);
}

.aa-dropdown-menu .aa-suggestion {
	padding: 0;
	border-bottom: 1px solid #2a2a2a;
}

.aa-dropdown-menu .aa-suggestion:last-child {
	border-bottom: 0;
}

.aa-dropdown-menu .aa-suggestion.aa-cursor {
	background: #242424;
}

.aa-dropdown-menu a.suggestion-link {
	display: block;
	padding: 0.7rem 1rem;
	min-height: 44px;
	box-sizing: border-box;
	text-decoration: none;
}

.aa-dropdown-menu .aa-suggestion .suggestion-post-title {
	font-weight: 700;
	color: var(--sv-gp-blue-link);
	line-height: 1.35;
}

.aa-dropdown-menu .aa-suggestion .suggestion-post-content {
	margin-top: 0.2rem;
	color: #9a9a9a;
	font-size: 0.875rem;
	line-height: 1.4;
	font-weight: 400;
}

.aa-dropdown-menu .aa-suggestion em,
.aa-dropdown-menu .aa-suggestion .suggestion-post-content em {
	color: #fff;
	background: color-mix(in srgb, var(--sv-gp-pill) 38%, transparent);
	box-shadow: inset 0 -0.12em 0 color-mix(in srgb, var(--sv-gp-pill) 70%, transparent);
	font-style: normal;
	font-weight: 700;
	padding: 0 0.05em;
	border-radius: 1px;
}

.aa-dropdown-menu a.suggestion-link svg {
	fill: #8a8a8a;
}

.aa-dropdown-menu .autocomplete-footer-branding {
	color: #6a6a6a;
	padding: 0.75rem 1rem 0.5rem;
	font-size: 0.75rem;
}

.autocomplete-empty {
	padding: 1rem;
	color: #9a9a9a;
}

.autocomplete-empty .empty-query {
	color: var(--sv-gp-blue-link);
}

/* Result highlights from Algolia backend search */
.algolia-search-highlight {
	color: inherit;
	font-style: normal;
	font-weight: 700;
	background: color-mix(in srgb, var(--sv-gp-pill) 32%, transparent);
	box-shadow: inset 0 -0.12em 0 color-mix(in srgb, var(--sv-gp-pill) 65%, transparent);
	padding: 0 0.04em;
	border-radius: 1px;
	box-decoration-break: clone;
}

html[data-theme="light"] .aa-dropdown-menu {
	background: #fff;
	border-color: #d0d0d0;
	color: #2c2c2c;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .aa-dropdown-menu a,
html[data-theme="light"] .aa-dropdown-menu .aa-suggestion .suggestion-post-title,
html[data-theme="light"] .autocomplete-empty .empty-query {
	color: #2c2c2c;
}

html[data-theme="light"] .aa-dropdown-menu .autocomplete-header {
	border-bottom-color: #e0e0e0;
	color: #4a4a4a;
}

html[data-theme="light"] .aa-dropdown-menu .aa-suggestion {
	border-bottom-color: #ececec;
}

html[data-theme="light"] .aa-dropdown-menu .aa-suggestion.aa-cursor {
	background: #f2f2f2;
}

html[data-theme="light"] .aa-dropdown-menu .aa-suggestion .suggestion-post-content {
	color: #4a4a4a;
}

html[data-theme="light"] .aa-dropdown-menu .aa-suggestion em,
html[data-theme="light"] .aa-dropdown-menu .aa-suggestion .suggestion-post-content em,
html[data-theme="light"] .algolia-search-highlight {
	background: color-mix(in srgb, var(--sv-gp-pill) 18%, #fff);
	box-shadow: inset 0 -0.12em 0 color-mix(in srgb, var(--sv-gp-pill) 45%, transparent);
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__active {
	color: #4a4a4a;
}

html[data-theme="light"] .sv-gp-search__active-label {
	color: #4a4a4a;
}

html[data-theme="light"] .sv-gp-search__crumb {
	color: #4a4a4a;
}

html[data-theme="light"] .sv-gp-search__hints a {
	background: #fff;
	border-color: var(--sv-gp-border);
	color: #980032;
}

html[data-theme="light"] .sv-gp-search__hints a:hover,
html[data-theme="light"] .sv-gp-search__hints a:focus-visible {
	background: #f2f2f2;
	color: #7a0128;
}

html[data-theme="light"] .sv-gp-ajankohtaista-filters__group {
	background: #fff;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-ajankohtaista-filters__summary {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__chip {
	background: #fff;
	border-color: var(--sv-gp-border);
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__active-clear {
	color: #980032;
}

html[data-theme="light"] .sv-gp-search__active-clear:hover,
html[data-theme="light"] .sv-gp-search__active-clear:focus-visible {
	color: #2c2c2c;
}

/* Light surfaces only (not dark mm-gb-card). */
.sv-gp-article .entry-content .has-white-background-color a:not(.wp-block-button__link):not(.sv-gp-btn),
.sv-gp-article .entry-content .has-black-color a:not(.wp-block-button__link):not(.sv-gp-btn),
.sv-gp-ajankohtaista__card a:not(.sv-gp-ajankohtaista__thumb),
.sv-gp-related__card a {
	color: var(--sv-gp-blue-link-on-light);
}

.sv-gp-ajankohtaista__card .sv-gp-ajankohtaista__card-title a,
.sv-gp-related__card .sv-gp-related__card-title a {
	color: #111;
}

/* Latest Posts default = dark chrome link; override on white / when not in mm-gb-card. */
.sv-gp-article .entry-content .wp-block-latest-posts a,
.sv-gp-article .entry-content .wp-block-latest-posts__post-title,
.sv-gp-article .entry-content .wp-block-latest-posts__post-date {
	color: var(--sv-gp-blue-link);
}

.sv-gp-article .entry-content .wp-block-column > .wp-block-latest-posts a.wp-block-latest-posts__post-title,
.sv-gp-article .entry-content .wp-block-column > .wp-block-latest-posts .wp-block-latest-posts__post-date {
	color: var(--sv-gp-blue-link-on-light);
}

.sv-gp-article .entry-content .mm-gb-card .wp-block-latest-posts a,
.sv-gp-article .entry-content .mm-gb-card .wp-block-latest-posts__post-title,
.sv-gp-article .entry-content .mm-gb-card .wp-block-latest-posts__post-date,
.sv-gp-article .entry-content .mm-gb-card .wp-block-column > .wp-block-latest-posts a.wp-block-latest-posts__post-title,
.sv-gp-article .entry-content .mm-gb-card .wp-block-column > .wp-block-latest-posts .wp-block-latest-posts__post-date {
	color: var(--sv-gp-blue-link);
}

.sv-gp-article .entry-content .has-white-background-color .wp-block-latest-posts a,
.sv-gp-article .entry-content .has-white-background-color .wp-block-latest-posts__post-title,
.sv-gp-article .entry-content .has-white-background-color .wp-block-latest-posts__post-date {
	color: var(--sv-gp-blue-link-on-light);
}

.sv-gp-form-stub,
.sv-gp-article .post-password-form {
	border: 1px dashed #888;
	padding: 1.25rem;
	background: #1f1f1f;
	color: #f2f2f2;
}

.sv-gp-article .post-password-form p {
	margin: 0 0 0.85rem;
}

.sv-gp-article .post-password-form input[type="password"] {
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--sv-gp-dropdown-border);
	background: var(--sv-gp-input-bg);
	color: var(--sv-gp-text);
}

.sv-gp-article .post-password-form input[type="submit"] {
	min-height: 44px;
	min-width: 44px;
	padding: 0 1rem;
	margin-left: 0.5rem;
	background: var(--sv-gp-red);
	color: #fff;
	border: 0;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.sv-gp-main--attachment .sv-gp-theme-post-content img {
	display: block;
	width: 100%;
	height: auto;
}

.sv-gp-form-stub p {
	margin: 0;
	color: #f2f2f2;
}

html[data-theme="light"] .sv-gp-form-stub {
	background: #f2f2f2;
	color: #2c2c2c;
	border-color: #980032;
}

html[data-theme="light"] .sv-gp-form-stub p {
	color: #2c2c2c;
}

/* Neutral surfaces aiming 7:1 (#fff on #2c2c2c ≈ 12:1) */
.sv-gp-article .entry-content {
	color: #f2f2f2;
}

@media (max-width: 1024px) {
	.sv-gp-nav-toggle {
		display: inline-flex;
		grid-area: toggle;
	}

	/* Logo | burger on row 1; full-width menu on row 2 (nav uses display:contents). */
	.sv-gp-header__inner {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"logo tools"
			"menu menu";
		align-items: center;
		padding: 18px 1rem;
		min-height: 0;
	}

	.sv-gp-header__logo {
		grid-area: logo;
	}

	.sv-gp-header__nav {
		display: contents;
	}

	.sv-gp-header__tools {
		grid-area: tools;
	}

	.sv-gp-header__menu-wrap {
		display: none;
		grid-area: menu;
		width: 100%;
		background: rgba(13, 13, 13, 0.97);
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
	}

	.sv-gp-header__menu-wrap.is-open {
		display: block;
	}

	.sv-gp-menu {
		flex-direction: column;
		flex-wrap: wrap;
		align-items: stretch;
		width: 100%;
		padding: 0.5rem 0 1rem;
	}

	.sv-gp-menu > .menu-item {
		flex-wrap: wrap;
	}

	.sv-gp-menu > .menu-item > a {
		flex: 1;
		white-space: normal;
		/* Drawer already near-black — drop hero text-shadow so labels stay crisp. */
		text-shadow: none;
		color: #f7f7f7;
	}

	.sv-gp-header .sv-gp-menu > .menu-item > a i[class*="ph-"],
	.sv-gp-header .sv-gp-menu > .menu-item > a .sv-gp-nav-icon,
	.sv-gp-header .sv-gp-menu > .menu-item > .sv-gp-sub-toggle {
		filter: none;
	}

	.sv-gp-header .sv-gp-menu > .menu-item > a:hover,
	.sv-gp-header .sv-gp-menu > .menu-item > a:focus-visible,
	.sv-gp-header .sv-gp-menu > .menu-item > a:active,
	.sv-gp-header .sv-gp-menu > .current-menu-item > a,
	.sv-gp-header .sv-gp-menu > .current-menu-ancestor > a,
	.sv-gp-header .sv-gp-menu > .current_page_item > a {
		color: var(--sv-gp-blue-link);
		text-shadow: none;
	}

	.sv-gp-header .sv-gp-menu > .current-menu-item > a,
	.sv-gp-header .sv-gp-menu > .current-menu-ancestor > a,
	.sv-gp-header .sv-gp-menu > .current_page_item > a {
		box-shadow: inset 3px 0 0 0 var(--sv-gp-blue-link);
	}

	.sv-gp-header .sv-gp-menu .sub-menu a {
		color: #f2f2f2;
	}

	.sv-gp-menu .sub-menu {
		display: none;
		width: 100%;
		position: static;
		margin: 0.25rem 0 0.5rem;
		padding: 0.25rem 0 0.25rem 0.75rem;
		border: 0;
		border-left: 2px solid #454545;
		background: transparent;
		box-shadow: none;
	}

	.sv-gp-menu .menu-item.is-open > .sub-menu {
		display: block;
	}

	.sv-gp-menu .sub-menu a {
		padding: 0.75rem 0.85rem;
	}

	.sv-gp-header__menu-wrap.is-open {
		z-index: 450;
	}

	.sv-gp-hero__inner,
	.sv-gp-home-yhdistys,
	.sv-gp-home-stats {
		grid-template-columns: 1fr;
	}

	.sv-gp-home-lajit__grid {
		grid-template-columns: 1fr;
	}

	/* Tablet: two footer columns. Phone (≤720) stacks — rule after this block. */
	.sv-gp-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sv-gp-header__tools {
		gap: 0.35rem;
	}

	.theme-toggle-btn {
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
	}

	.sv-gp-nav-toggle {
		width: 48px;
		height: 48px;
		min-width: 48px;
		min-height: 48px;
	}

	.sv-gp-header__menu-wrap.is-open {
		max-height: min(70vh, 32rem);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.sv-gp-search__fields {
		flex-direction: column;
		align-items: stretch;
	}

	.sv-gp-search__fields .algolia-autocomplete,
	.sv-gp-search__fields input,
	.sv-gp-search__fields button {
		flex: 1 1 auto;
		width: 100%;
	}

	.sv-gp-hero {
		min-height: 92vh;
	}

	.sv-gp-hero__copy {
		max-width: none;
		padding: 0.1rem 0 0.15rem 0.85rem;
	}

	.sv-gp-hero__inner {
		align-items: stretch;
		gap: 1.35rem;
		padding-bottom: 3.75rem;
	}

	.sv-gp-social__btn {
		width: 44px;
		height: 44px;
	}

	.sv-gp-cta-strip__btn {
		min-height: 44px;
		flex: 1 1 calc(50% - 0.4rem);
		justify-content: center;
	}

	.sv-gp-cta-strip__btn--primary {
		flex: 1 1 100%;
	}

	.sv-gp-home-stats {
		gap: 0.85rem;
		padding-top: 2rem;
		padding-bottom: 0.75rem;
	}

	.sv-gp-home-stat {
		padding-inline: 0;
	}

	.sv-gp-home-join__inner {
		align-items: stretch;
	}

	.sv-gp-home-join__actions {
		width: 100%;
	}

	.sv-gp-home-join__actions .sv-gp-btn,
	.sv-gp-home-join__cta {
		flex: 1 1 auto;
		justify-content: center;
		width: 100%;
	}

	.sv-gp-home-yhdistys {
		padding-top: 2.75rem;
		padding-bottom: 3.25rem;
		gap: 1.75rem;
	}

	.sv-gp-home-lajit {
		padding-top: 2.5rem;
		padding-bottom: 3.5rem;
	}

	.sv-gp-page-hero {
		min-height: 250px;
		padding: calc(var(--sv-gp-admin-offset) + 126px) 16px 32px;
	}

	.sv-gp-page-hero--post {
		padding: calc(var(--sv-gp-admin-offset) + 126px) 16px 40px;
	}

	.sv-gp-page-hero__title {
		font-size: 2.2rem;
		letter-spacing: 1px;
	}

	.sv-gp-post-share__label,
	.sv-gp-post-share__list {
		text-align: left;
		justify-content: flex-start;
	}

	.sv-gp-related__grid {
		grid-template-columns: 1fr;
	}

	.sv-gp-post-nav {
		grid-template-columns: 1fr;
	}

	.sv-gp-post-nav__link--next {
		align-items: flex-start;
		text-align: left;
	}

	.sv-gp-related__card {
		padding: 0;
	}

	.sv-gp-breadcrumb,
	.sv-gp-page-shell .rank-math-breadcrumb {
		padding: 10px 12px;
		font-size: 0.8125rem;
	}

	.sv-gp-page-shell {
		padding: 12px 12px 0;
	}

	.sv-gp-page-shell--no-hero {
		padding-top: calc(var(--sv-gp-admin-offset) + var(--sv-gp-header-h) + 12px);
	}

	.sv-gp-theme-post-content,
	.sv-gp-article .entry-content {
		padding: 1rem;
	}

	.sv-gp-main--article .sv-gp-article .entry-content h2 {
		font-size: 2rem;
	}

	.sv-gp-ajankohtaista__hero {
		min-height: 220px;
		padding: calc(var(--sv-gp-admin-offset) + 126px) 16px 45px;
	}

	.mm-ajankohtaista-toolbar,
	.sv-gp-ajankohtaista__toolbar {
		padding: 12px 12px 48px;
	}

	.mm-ajankohtaista-posts,
	.sv-gp-ajankohtaista__posts {
		padding: 1rem;
	}

	.sv-gp-ajankohtaista__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.mm-ajankohtaista-filters .elementor-icon-list-items,
	ul.mm-ajankohtaista-filters,
	.sv-gp-ajankohtaista-filters__list {
		padding: 12px;
		gap: 6px;
	}

	.mm-ajankohtaista-filters .elementor-icon-list-item > a,
	.sv-gp-ajankohtaista-filters__link {
		padding: 8px 12px;
		font-size: 0.8125rem;
	}

	.mm-ajankohtaista-search,
	.sv-gp-ajankohtaista__search {
		max-width: none;
		border-radius: 16px;
	}

	.mm-ajankohtaista-search input,
	.sv-gp-ajankohtaista__search input {
		border-radius: 16px 0 0 16px;
		font-size: 0.9375rem;
	}

	.mm-ajankohtaista-search button,
	.sv-gp-ajankohtaista__search button {
		border-radius: 0 16px 16px 0;
		padding: 0 14px;
	}

	/* Content media / tables — never blow past the shell on small viewports. */
	.sv-gp-theme-post-content img,
	.sv-gp-article .entry-content img,
	.sv-gp-theme-post-content video,
	.sv-gp-article .entry-content video,
	.sv-gp-theme-post-content embed,
	.sv-gp-article .entry-content embed {
		max-width: 100%;
		height: auto;
	}

	.sv-gp-theme-post-content iframe,
	.sv-gp-article .entry-content iframe {
		max-width: 100%;
	}

	.sv-gp-theme-post-content .wp-block-table,
	.sv-gp-article .entry-content .wp-block-table,
	.sv-gp-theme-post-content table,
	.sv-gp-article .entry-content table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.sv-gp-theme-post-content pre,
	.sv-gp-article .entry-content pre {
		max-width: 100%;
		overflow-x: auto;
	}
}

/* Phone: single-column footer (must follow the 1024px 2-col rule). */
@media (max-width: 720px) {
	.sv-gp-footer__inner {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.sv-gp-footer {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.sv-gp-footer__meta {
		margin-left: -1rem;
		margin-right: -1rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.sv-gp-footer-search__row {
		flex-wrap: wrap;
	}

	.sv-gp-footer-search__row .algolia-autocomplete,
	.sv-gp-footer-search input {
		flex: 1 1 100%;
		min-width: 0;
		width: 100%;
	}

	.sv-gp-footer-search button {
		flex: 1 1 auto;
		width: 100%;
	}

	.sv-gp-header__logo img {
		width: 3.25rem;
		height: auto;
	}

	.theme-toggle {
		padding: 1px;
	}

	/* Keep ≥44px taps on phone (was 2.35rem ≈ 37.6px). */
	.theme-toggle-btn {
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
	}

	.sv-gp-nav-toggle {
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
		padding: 1px;
	}

	.sv-gp-cta-strip__btn {
		flex: 1 1 100%;
	}

	.sv-gp-hero-news {
		max-width: 100%;
	}

	.sv-gp-hero__inner {
		padding-inline: 0.15rem;
	}
}

@media (max-width: 380px) {
	.mm-ajankohtaista-search button span,
	.sv-gp-ajankohtaista__search button span {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sv-gp-ajankohtaista__card,
	.sv-gp-ajankohtaista__thumb img,
	.mm-ajankohtaista-filters .elementor-icon-list-item > a,
	.sv-gp-ajankohtaista-filters__link,
	.mm-ajankohtaista-search button,
	.sv-gp-ajankohtaista__search button,
	.sv-gp-ajankohtaista .page-numbers {
		transition: none;
	}

	.sv-gp-ajankohtaista__card:hover,
	.sv-gp-ajankohtaista__card:focus-within {
		transform: none;
	}

	.sv-gp-ajankohtaista__card:hover .sv-gp-ajankohtaista__thumb img,
	.sv-gp-ajankohtaista__card:focus-within .sv-gp-ajankohtaista__thumb img {
		transform: none;
	}
}

/* -------------------------------------------------------------------------
   Light theme — chrome surfaces. Brand CTAs, Wilpas hub, hero photo scrims stay.
   ------------------------------------------------------------------------- */
html[data-theme="light"] .sv-gp-front,
html[data-theme="light"] body.sv-gp-child #main,
html[data-theme="light"] .sv-gp-main {
	background: var(--sv-gp-bg);
}

html[data-theme="light"] .sv-gp-header {
	/* Stronger top wash so dark ink survives dark hero photos (Lajit, etc.). */
	background: linear-gradient(
		to bottom,
		rgba(236, 236, 236, 0.94) 0%,
		rgba(236, 236, 236, 0.82) 28%,
		rgba(236, 236, 236, 0.52) 55%,
		rgba(236, 236, 236, 0.2) 82%,
		rgba(236, 236, 236, 0) 100%
	);
	box-shadow: none;
	color: var(--sv-gp-header-fg);
}

html[data-theme="light"] .sv-gp-logo-text {
	color: var(--sv-gp-header-fg);
}

html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a:hover,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a:focus-visible,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a:active {
	color: var(--sv-gp-header-fg);
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95),
		0 0 8px rgba(236, 236, 236, 0.85);
}

html[data-theme="light"] .sv-gp-header .sv-gp-menu > .current-menu-item > a,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .current-menu-ancestor > a,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .current_page_item > a,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .current-menu-item > a:hover,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .current-menu-ancestor > a:hover,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .current_page_item > a:hover,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a:hover,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a:focus-visible,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a:active {
	color: #980032;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95),
		0 0 6px rgba(236, 236, 236, 0.8);
}

html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a i[class*="ph-"],
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > a .sv-gp-nav-icon,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > .sv-gp-sub-toggle {
	color: inherit;
	filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.9));
}

html[data-theme="light"] .sv-gp-sub-toggle {
	color: var(--sv-gp-header-fg);
}

html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > .sv-gp-sub-toggle:hover,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item > .sv-gp-sub-toggle:focus-visible,
html[data-theme="light"] .sv-gp-header .sv-gp-menu > .menu-item.is-open > .sv-gp-sub-toggle {
	color: #980032;
}

html[data-theme="light"] .sv-gp-nav-toggle {
	background: #fff;
	border-color: var(--sv-gp-border);
	color: #4a4a4a;
	box-shadow: none;
	text-shadow: none;
}

html[data-theme="light"] .sv-gp-nav-toggle:hover,
html[data-theme="light"] .sv-gp-nav-toggle:focus-visible {
	color: #980032;
	background: color-mix(in srgb, var(--sv-gp-blue-cta) 12%, #fff);
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-nav-toggle.is-open,
html[data-theme="light"] .sv-gp-nav-toggle.is-open:hover,
html[data-theme="light"] .sv-gp-nav-toggle.is-open:focus-visible {
	color: #fff;
	background: var(--sv-gp-blue-cta);
	border-color: var(--sv-gp-blue-cta);
}

html[data-theme="light"] .theme-toggle {
	background: #fff;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .theme-toggle-btn {
	color: #4a4a4a;
}

html[data-theme="light"] .theme-toggle-btn:hover,
html[data-theme="light"] .theme-toggle-btn:focus-visible {
	color: #980032;
	background: color-mix(in srgb, var(--sv-gp-blue-cta) 12%, #fff);
}

html[data-theme="light"] .theme-toggle-btn.is-active,
html[data-theme="light"] .theme-toggle-btn.is-active:hover,
html[data-theme="light"] .theme-toggle-btn.is-active:focus-visible {
	color: #fff;
}

html[data-theme="light"] .skip-link.screen-reader-text:focus,
html[data-theme="light"] .skip-link:focus {
	background: #fff;
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-footer {
	background: #f2f2f2;
	color: #2c2c2c;
	border-top: 1px solid var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-footer__heading,
html[data-theme="light"] .sv-gp-footer__name {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-footer__tag {
	color: #4a4a4a;
}

html[data-theme="light"] .sv-gp-footer__contact-list,
html[data-theme="light"] .sv-gp-footer__contact-list li {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-footer__contact-list a,
html[data-theme="light"] .sv-gp-footer-hours__more a {
	color: #980032;
}

html[data-theme="light"] .sv-gp-footer__contact-list a:hover,
html[data-theme="light"] .sv-gp-footer__contact-list a:focus-visible,
html[data-theme="light"] .sv-gp-footer-hours__more a:hover,
html[data-theme="light"] .sv-gp-footer-hours__more a:focus-visible {
	color: #7a0128;
}

/* Alavalikko: dark ink in light chrome; brand red for current + hover only. */
html[data-theme="light"] .sv-gp-footer .sv-gp-menu--footer a {
	color: #2c2c2c;
	font-weight: 600;
}

html[data-theme="light"] .sv-gp-footer .sv-gp-menu--footer a:hover,
html[data-theme="light"] .sv-gp-footer .sv-gp-menu--footer a:focus-visible {
	color: #980032;
}

html[data-theme="light"] .sv-gp-footer .sv-gp-menu--footer .current-menu-item > a,
html[data-theme="light"] .sv-gp-footer .sv-gp-menu--footer .current_page_item > a,
html[data-theme="light"] .sv-gp-footer .sv-gp-menu--footer a[aria-current="page"] {
	color: #980032;
}

html[data-theme="light"] .sv-gp-footer__meta {
	background: #2c2c2c;
	color: #f2f2f2;
}

html[data-theme="light"] .sv-gp-footer__version {
	opacity: 0.75;
}

html[data-theme="light"] .sv-gp-footer__made a {
	color: #f2f2f2;
}

html[data-theme="light"] .sv-gp-footer__made a:hover,
html[data-theme="light"] .sv-gp-footer__made a:focus-visible {
	color: #fff;
}

html[data-theme="light"] .sv-gp-social--footer .sv-gp-social__btn[style*="#0d0d0d"] {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .sv-gp-footer {
	--sv-gp-footer-icon: #980032;
}

html[data-theme="light"] .sv-gp-menu .sub-menu {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .sv-gp-social--footer .sv-gp-social__btn[style*="#0d0d0d"] {
	box-shadow: none;
}

html[data-theme="light"] .sv-gp-home-yhdistys {
	border-top-color: var(--sv-gp-hairline);
}

html[data-theme="light"] .sv-gp-home-yhdistys p,
html[data-theme="light"] .sv-gp-home-lajit__lead,
html[data-theme="light"] .sv-gp-home-join p {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-home-yhdistys h2,
html[data-theme="light"] .sv-gp-home-lajit__kicker,
html[data-theme="light"] .sv-gp-home-join h2,
html[data-theme="light"] .sv-gp-home-stat__value {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-home-stat {
	background: #fff;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-home-stat__label {
	color: #4a4a4a;
}

html[data-theme="light"] .sv-gp-home-join {
	background: #f2f2f2;
	border-block-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-home-lajit__grid a,
html[data-theme="light"] .sv-gp-home-lajit__grid a:hover,
html[data-theme="light"] .sv-gp-home-lajit__grid a:focus-visible {
	background: #fff;
	color: #2c2c2c;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-section .wp-block-heading,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-section h2,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-mediapankki-section .wp-block-heading,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-mediapankki-section h2 {
	color: #2c2c2c !important;
}

/* Lajit/Toiminta Phosphor: dark rules force white/#90caf9 — brand red on light. */
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-page .ph-fill,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-toc .ph-fill,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-section .wp-block-heading .ph-fill,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-section h2 .ph-fill,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-section > .wp-block-group__inner-container > .wp-block-heading .ph-fill,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-section > .wp-block-group__inner-container > h2 .ph-fill {
	color: #980032 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-toc a:hover .ph-fill,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-toc a:focus-visible .ph-fill {
	color: #7a0128 !important;
}

/* Backstop when Additional CSS lags: pierce WP group wrappers. */
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-page,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-page .wp-block-paragraph,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-page p,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-toc .wp-block-paragraph,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-toc p {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-page > .wp-block-group__inner-container > .wp-block-paragraph:first-child,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-page > .wp-block-group__inner-container > p:first-child {
	color: #2c2c2c !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-card .wp-block-paragraph,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-card .wp-block-list,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-card .wp-block-list > li {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-laji-card .wp-block-columns > .wp-block-column:first-child {
	border-bottom-color: var(--sv-gp-hairline);
}

/* CRT TV stays a dark island — do not inherit light body ink. */
html[data-theme="light"] .sv-gp-tv,
html[data-theme="light"] .sv-gp-tv__slide,
html[data-theme="light"] .sv-gp-tv__caption,
html[data-theme="light"] .sv-gp-tv__title,
html[data-theme="light"] .sv-gp-tv__date,
html[data-theme="light"] .sv-gp-tv__link {
	color: #f2f2f2;
}

/* Page-nav light: filled = brand fill; outline = white shell (exclude Wilpas yellow bar). */
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-page-nav:not(.sv-gp-wilpas-section-nav) .wp-block-button:not(.is-style-outline) .wp-block-button__link,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-page-nav:not(.sv-gp-wilpas-section-nav) .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	color: #ffffff !important;
	background: #980032 !important;
	border-color: #980032 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-page-nav:not(.sv-gp-wilpas-section-nav) .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-page-nav:not(.sv-gp-wilpas-section-nav) .wp-block-button.is-style-outline .wp-block-button__link {
	color: #980032 !important;
	background: #ffffff !important;
	border-color: #b8b8b8 !important;
}

html[data-theme="light"] .sv-gp-tv__fallback {
	color: #f2f2f2;
	background: #121212;
}

html[data-theme="light"] .sv-gp-breadcrumb__link:hover,
html[data-theme="light"] .sv-gp-breadcrumb a:hover {
	color: #980032;
}

html[data-theme="light"] .sv-gp-breadcrumb__sep,
html[data-theme="light"] .sv-gp-breadcrumb .separator {
	color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .sv-gp-breadcrumb__current,
html[data-theme="light"] .sv-gp-breadcrumb .last {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-main--article .sv-gp-article .entry-content h2,
html[data-theme="light"] .sv-gp-main--article .sv-gp-article .entry-content h3,
html[data-theme="light"] .sv-gp-main--article .sv-gp-article .entry-content h4,
html[data-theme="light"] .sv-gp-article .entry-content {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-404__path {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-404__path code {
	color: #980032;
	background: #ececec;
}

html[data-theme="light"] .sv-gp-post-pills__chip,
html[data-theme="light"] .sv-gp-post-pills a {
	color: #2c2c2c;
	background: #fff;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-post-pills__chip:hover,
html[data-theme="light"] .sv-gp-post-pills__chip:focus-visible,
html[data-theme="light"] .sv-gp-post-pills a:hover,
html[data-theme="light"] .sv-gp-post-pills a:focus-visible {
	color: #980032;
	background: #fff;
}

html[data-theme="light"] .sv-gp-ajankohtaista__hero::before {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(236, 236, 236, 0.96) 100%);
}

html[data-theme="light"] .mm-ajankohtaista-toolbar .rank-math-breadcrumb,
html[data-theme="light"] .sv-gp-ajankohtaista__toolbar .rank-math-breadcrumb,
html[data-theme="light"] .sv-gp-ajankohtaista__toolbar .sv-gp-breadcrumb {
	color: #2c2c2c;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-search {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__toolbar,
html[data-theme="light"] .sv-gp-search__panel .sv-gp-search__empty,
html[data-theme="light"] .sv-gp-search__result {
	background: #fff;
	border-color: var(--sv-gp-border);
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__query,
html[data-theme="light"] .sv-gp-search__lead,
html[data-theme="light"] .sv-gp-search__label {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__hint {
	color: #4a4a4a;
}

html[data-theme="light"] .sv-gp-search__fields input,
html[data-theme="light"] .sv-gp-search__select {
	background: #fff;
	color: #2c2c2c;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-search__fields input::placeholder {
	color: #6a6a6a;
}

html[data-theme="light"] .sv-gp-theme-post-content .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: #980032 !important;
	color: #980032 !important;
	background-color: transparent !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: #f2f2f2;
	color: #980032 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-mediapankki-btn-view.is-style-outline .wp-block-button__link,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-mediapankki-btn-view.is-style-outline .wp-block-button__link {
	color: #2c2c2c !important;
	border-color: #6a6a6a !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-mediapankki-toc > .wp-block-paragraph,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-mediapankki-toc > p,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-mediapankki-download-all .wp-block-paragraph,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-mediapankki-download-all .wp-block-paragraph strong {
	color: #2c2c2c !important;
}

html[data-theme="light"] .mm-ajankohtaista-toolbar .rank-math-breadcrumb a:hover,
html[data-theme="light"] .sv-gp-ajankohtaista__toolbar .rank-math-breadcrumb a:hover,
html[data-theme="light"] .sv-gp-ajankohtaista__toolbar .sv-gp-breadcrumb a:hover {
	color: #980032;
}

html[data-theme="light"] .sv-gp-ajankohtaista__pagination .page-numbers,
html[data-theme="light"] .sv-gp-search .page-numbers {
	color: #2c2c2c;
	border-color: var(--sv-gp-border);
	background: #fff;
}

html[data-theme="light"] .sv-gp-single__featured {
	background: #f2f2f2;
}

html[data-theme="light"] .sv-gp-single__featured-cap {
	background: #ececec;
}

html[data-theme="light"] .sv-gp-post-share__label,
html[data-theme="light"] .sv-gp-related__title,
html[data-theme="light"] .sv-gp-post-back,
html[data-theme="light"] .sv-gp-post-nav__link,
html[data-theme="light"] .sv-gp-post-nav__title {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-post-nav {
	border-top-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-post-nav__link {
	background: #fff;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-post-nav__link:hover,
html[data-theme="light"] .sv-gp-post-nav__link:focus-visible {
	color: #980032;
	background: #fff;
}

html[data-theme="light"] .sv-gp-search__toolbar {
	border: 1px solid var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-search__card {
	background: #fff;
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__card:hover,
html[data-theme="light"] .sv-gp-search__card:focus-within {
	background: #fafafa;
	box-shadow: 0 0 0 1px var(--sv-gp-border);
}

html[data-theme="light"] .sv-gp-search__link,
html[data-theme="light"] .sv-gp-search__link:hover,
html[data-theme="light"] .sv-gp-search__link:focus-visible {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__link:focus-visible::after {
	outline-color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__excerpt,
html[data-theme="light"] .sv-gp-search__date,
html[data-theme="light"] .sv-gp-search__meta {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__hl {
	background: #fde4ec;
	box-shadow: inset 0 -0.14em 0 #980032;
	color: #1a1a1a;
}

html[data-theme="light"] .sv-gp-search__badge {
	background: #980032;
	color: #fff;
}

html[data-theme="light"] .sv-gp-related a,
html[data-theme="light"] .sv-gp-post-back a {
	color: var(--sv-gp-blue-link);
}

html[data-theme="light"] .mm-ajankohtaista-filters .elementor-icon-list-item > a,
html[data-theme="light"] .sv-gp-ajankohtaista-filters__link {
	color: #980032;
	background: #fff;
	border-color: var(--sv-gp-border);
}

html[data-theme="light"] .mm-ajankohtaista-filters .elementor-icon-list-item > a:hover,
html[data-theme="light"] .mm-ajankohtaista-filters .elementor-icon-list-item > a:focus-visible,
html[data-theme="light"] .sv-gp-ajankohtaista-filters__link:hover,
html[data-theme="light"] .sv-gp-ajankohtaista-filters__link:focus-visible {
	color: #980032;
	background: #f2f2f2;
}

html[data-theme="light"] .mm-ajankohtaista-filters .elementor-icon-list-item.is-current > a,
html[data-theme="light"] .sv-gp-ajankohtaista-filters__item.is-current .sv-gp-ajankohtaista-filters__link,
html[data-theme="light"] body.blog .mm-ajankohtaista-filters .elementor-icon-list-item > a[href$="/ajankohtaista/"],
html[data-theme="light"] body.blog .sv-gp-ajankohtaista-filters__link[href$="/ajankohtaista/"] {
	color: #fff;
	background: var(--sv-gp-pill);
	border-color: var(--sv-gp-pill);
}

html[data-theme="light"] .mm-ajankohtaista-posts,
html[data-theme="light"] .sv-gp-ajankohtaista__posts {
	background: #f2f2f2;
}

html[data-theme="light"] .sv-gp-ajankohtaista__empty,
html[data-theme="light"] .sv-gp-search__empty {
	background: #fff;
	border-color: var(--sv-gp-border);
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__empty-title,
html[data-theme="light"] .sv-gp-search__empty-text {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-search__empty-icon {
	background: #ececec;
	color: #980032;
}

/* Latest Posts: kill leftover Elementor blue (#2672a7), mute dates, card chrome. */
html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts.has-background,
html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts.has-white-background-color,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts.has-background,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts.has-white-background-color {
	background-color: #ffffff !important;
	border: 1px solid var(--sv-gp-border);
	border-radius: 7px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts,
html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts.has-text-color,
html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts.has-text-color a,
html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts a,
html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts__post-title,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts.has-text-color,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts.has-text-color a,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts a,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts__post-title,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-column > .wp-block-latest-posts a.wp-block-latest-posts__post-title {
	color: #980032 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts__post-date,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts__post-date,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-column > .wp-block-latest-posts .wp-block-latest-posts__post-date,
html[data-theme="light"] .sv-gp-article .entry-content .has-white-background-color .wp-block-latest-posts__post-date {
	color: #4a4a4a !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts li + li,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts li + li {
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--sv-gp-hairline);
}

html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts a:hover,
html[data-theme="light"] .sv-gp-theme-post-content .wp-block-latest-posts a:focus-visible,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts a:hover,
html[data-theme="light"] .sv-gp-article .entry-content .wp-block-latest-posts a:focus-visible {
	color: #7a0028 !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* Vit lockups on light cards: dark plate (white art otherwise disappears). */
html[data-theme="light"] .join-vilpeli .wp-block-image:has(img[src*="_Vit"]),
html[data-theme="light"] .mm-gb-card .wp-block-image:has(img[src*="_Vit"]),
html[data-theme="light"] .mm-gb-intro .wp-block-image:has(img[src*="_Vit"]) {
	background: #2c2c2c;
	border-radius: 8px;
	padding: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 0.75rem;
}

html[data-theme="light"] .join-vilpeli .wp-block-image:has(img[src*="_Vit"]) img,
html[data-theme="light"] .mm-gb-card .wp-block-image:has(img[src*="_Vit"]) img,
html[data-theme="light"] .mm-gb-intro .wp-block-image:has(img[src*="_Vit"]) img {
	filter: none;
}

html[data-theme="light"] .sv-gp-footer-hours {
	color: #4a4a4a;
}

html[data-theme="light"] .sv-gp-menu .sub-menu a {
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-menu > .menu-item-has-children > .sub-menu::after {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1024px) {
	html[data-theme="light"] .sv-gp-header__menu-wrap {
		background: #f2f2f2;
		border-top-color: var(--sv-gp-border);
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	}

	html[data-theme="light"] .sv-gp-menu > .menu-item > a,
	html[data-theme="light"] .sv-gp-header .sv-gp-menu .sub-menu a {
		color: #2c2c2c;
	}

	html[data-theme="light"] .sv-gp-menu .sub-menu {
		border-left-color: var(--sv-gp-border);
	}
}

/*
 * Wilpas light surface (mirror custom-css.css).
 * Cream/white + dark ink + yellow chrome — not black island.
 * Beats chrome club-red page-nav when Additional CSS lags.
 */
html[data-theme="light"] .mm-gb-wilpas-hub,
html[data-theme="light"] .mm-gb-wilpas-page {
	background-color: transparent;
	color: #2c2c2c;
}

html[data-theme="light"] .mm-gb-wilpas-hero,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-hero {
	background: #ffffff;
	color: #2c2c2c;
	border-color: #e8e914;
}

html[data-theme="light"] .sv-gp-wilpas-section-nav,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-page-nav {
	background: var(--sv-gp-section-accent, #e8e914);
	color: var(--sv-gp-section-ink, #0d0d0d);
	border: 0;
}

html[data-theme="light"] .sv-gp-wilpas-section-nav__link,
html[data-theme="light"] .sv-gp-wilpas-section-nav__item.is-current > .sv-gp-wilpas-section-nav__link {
	color: var(--sv-gp-section-ink, #0d0d0d) !important;
}

html[data-theme="light"] .sv-gp-wilpas-section-nav__sub {
	background: #0d0d0d;
	border-color: var(--sv-gp-section-accent, #e8e914);
}

html[data-theme="light"] .sv-gp-wilpas-section-nav__sub-link {
	color: var(--sv-gp-section-sub, #e8e914) !important;
}

html[data-theme="light"] .sv-gp-wilpas-section-nav__sub-link:hover,
html[data-theme="light"] .sv-gp-wilpas-section-nav__sub-link:focus-visible,
html[data-theme="light"] .sv-gp-wilpas-section-nav__sub-item.is-current .sv-gp-wilpas-section-nav__sub-link {
	color: var(--sv-gp-section-ink, #0d0d0d) !important;
	background: var(--sv-gp-section-accent, #e8e914) !important;
}

/* Club Lajit/Toiminta: jaosto/activity nav is Pikalinkit only (no hub bar). */
.sv-gp-section-nav__pika {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.sv-gp-section-nav__pika-item {
	margin: 0;
	list-style: none;
}

.sv-gp-section-nav__pika-item.is-hub .sv-gp-section-nav__pika-link {
	padding-left: 0.85rem;
	padding-right: 0.85rem;
	gap: 0;
}

.sv-gp-section-nav__pika-item.is-hub .sv-gp-section-nav__pika-link .ph-fill {
	margin-right: 0;
	font-size: 1.15em;
}

.sv-gp-section-nav__pika-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	min-height: 44px;
	padding: 0.55rem 0.95rem;
	color: var(--sv-gp-section-ink, #0d0d0d) !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	text-transform: none;
	line-height: 1.25;
}

.sv-gp-section-nav__pika-link .ph-fill {
	font-size: 1.05em;
	line-height: 1;
}

.sv-gp-wilpas-section-nav__link .sv-gp-nav-external {
	display: inline-flex;
	margin-left: 0.15em;
	opacity: 0.85;
}

.sv-gp-wilpas-section-nav__link .sv-gp-nav-external .ph-fill {
	font-size: 0.85em;
	margin-right: 0;
}

.sv-gp-wilpas-section-nav__label--compact {
	display: none;
}

.sv-gp-section-nav__pika-link:hover,
.sv-gp-section-nav__pika-link:focus-visible,
.sv-gp-section-nav__pika-item.is-current .sv-gp-section-nav__pika-link {
	color: var(--sv-gp-section-ink, #0d0d0d) !important;
	background: var(--sv-gp-section-hover, rgba(13, 13, 13, 0.1)) !important;
	text-decoration: none !important;
}

.sv-gp-section-nav__pika-link:focus-visible {
	outline: 2px solid var(--sv-gp-section-ink, #0d0d0d);
	outline-offset: -2px;
}

html[data-theme="light"] .sv-gp-section-nav__pika-link {
	color: var(--sv-gp-section-ink, #0d0d0d) !important;
}

html[data-theme="light"] .sv-gp-section-nav__pika-link:hover,
html[data-theme="light"] .sv-gp-section-nav__pika-link:focus-visible,
html[data-theme="light"] .sv-gp-section-nav__pika-item.is-current .sv-gp-section-nav__pika-link {
	color: var(--sv-gp-section-ink, #0d0d0d) !important;
	background: var(--sv-gp-section-hover, rgba(13, 13, 13, 0.1)) !important;
}

/*
 * Section nav submenus: the caret is its own button (touch + keyboard open the
 * dropdown without following the parent link). chrome.js sets .is-open.
 */
.sv-gp-section-nav__toggle {
	display: none;
}

.sv-gp-wilpas-section-nav__item.has-submenu {
	display: flex;
	align-items: stretch;
}

.sv-gp-wilpas-section-nav__item.has-submenu > .sv-gp-wilpas-section-nav__link {
	padding-right: 0.2rem !important;
}

.sv-gp-wilpas-section-nav__sub-toggle {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--sv-gp-section-ink, #0d0d0d);
	font-size: clamp(1.05rem, 2.1vw, 1.35rem);
	line-height: 1;
	cursor: pointer;
}

.sv-gp-wilpas-section-nav__sub-toggle .sv-gp-wilpas-section-nav__caret {
	margin-left: 0;
	transition: transform 0.15s ease;
}

.sv-gp-wilpas-section-nav__sub-toggle[aria-expanded="true"] .sv-gp-wilpas-section-nav__caret {
	transform: rotate(180deg);
}

.sv-gp-wilpas-section-nav__item.has-submenu:is(:hover, .is-open) > .sv-gp-wilpas-section-nav__link,
.sv-gp-wilpas-section-nav__item.has-submenu:is(:hover, :focus-within, .is-open) > .sv-gp-wilpas-section-nav__sub-toggle,
.sv-gp-wilpas-section-nav__item.has-submenu.is-current > .sv-gp-wilpas-section-nav__sub-toggle {
	background: var(--sv-gp-section-hover, rgba(13, 13, 13, 0.1));
}

.sv-gp-wilpas-section-nav__sub-toggle:focus-visible,
.sv-gp-section-nav__toggle:focus-visible {
	outline: 2px solid var(--sv-gp-section-ink, #0d0d0d);
	outline-offset: -2px;
}

/* Phone: hub nav collapses to one bar (accordion inside), pika = one scroll row. */
@media (max-width: 720px) {
	.sv-gp-wilpas-section-nav.sv-gp-section-nav {
		padding-left: 0;
		padding-right: 0;
	}

	html.js .sv-gp-section-nav__toggle {
		appearance: none;
		display: flex;
		align-items: center;
		gap: 0.5rem;
		width: 100%;
		min-height: 48px;
		margin: 0;
		padding: 0.55rem 1rem;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: var(--sv-gp-section-ink, #0d0d0d);
		font-family: Teko, Montserrat, sans-serif;
		font-size: 1.3rem;
		font-weight: 500;
		letter-spacing: 0.08em;
		line-height: 1.1;
		text-align: left;
		text-transform: uppercase;
		cursor: pointer;
	}

	.sv-gp-wilpas-section-nav .sv-gp-section-nav__toggle .ph-fill {
		flex: 0 0 auto;
		font-size: 1.15em;
	}

	.sv-gp-wilpas-section-nav .sv-gp-section-nav__toggle-label {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.sv-gp-wilpas-section-nav .sv-gp-section-nav__toggle-current {
		flex: 0 1 auto;
		min-width: 0;
		overflow: hidden;
		padding: 0.1rem 0.5rem;
		border: 1px solid currentColor;
		font-family: Montserrat, sans-serif;
		font-size: 0.8rem;
		font-weight: 600;
		letter-spacing: 0.02em;
		text-overflow: ellipsis;
		text-transform: none;
		white-space: nowrap;
	}

	.sv-gp-wilpas-section-nav .sv-gp-section-nav__toggle-caret {
		display: inline-flex;
		margin-left: auto;
		font-size: 0.8em;
		transition: transform 0.15s ease;
	}

	.sv-gp-wilpas-section-nav.is-open .sv-gp-section-nav__toggle-caret {
		transform: rotate(180deg);
	}

	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__inner {
		display: flex !important;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}

	html.js .sv-gp-wilpas-section-nav:not(.is-open) .sv-gp-wilpas-section-nav__inner {
		display: none !important;
	}

	html.js .sv-gp-wilpas-section-nav.is-open .sv-gp-wilpas-section-nav__inner {
		border-top: 1px solid var(--sv-gp-section-hover, rgba(13, 13, 13, 0.1));
	}

	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__item {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		min-width: 0;
		border-top: 1px solid var(--sv-gp-section-hover, rgba(13, 13, 13, 0.1));
	}

	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__item:first-child {
		border-top: 0;
	}

	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__link,
	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__item.is-icon-only .sv-gp-wilpas-section-nav__link,
	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__item.has-submenu > .sv-gp-wilpas-section-nav__link {
		flex: 1 1 0;
		min-width: 0;
		min-height: 48px;
		justify-content: flex-start;
		gap: 0.5em;
		padding: 0.6rem 1rem !important;
		font-size: 1.25rem;
		letter-spacing: 0.08em;
		overflow-wrap: anywhere;
	}

	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__label--compact {
		display: inline;
	}

	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__sub-toggle {
		flex: 0 0 56px;
		min-height: 48px;
		border-left: 1px solid var(--sv-gp-section-hover, rgba(13, 13, 13, 0.1));
		font-size: 1.25rem;
	}

	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__sub {
		flex: 1 1 100%;
		position: static;
		min-width: 0;
		padding: 0.25rem 0;
		border-width: 0;
		box-shadow: none;
	}

	html:not(.js) .sv-gp-wilpas-section-nav__sub {
		display: block;
	}

	.sv-gp-wilpas-section-nav .sv-gp-wilpas-section-nav__sub-link {
		padding-left: 2.9rem;
	}

	/* Pikalinkit: single swipeable row; fade on the right hints there is more. */
	.sv-gp-wilpas-section-nav .sv-gp-section-nav__pika {
		display: flex !important;
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		padding: 0 2rem 0 0.25rem;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
	}

	.sv-gp-wilpas-section-nav .sv-gp-section-nav__pika::-webkit-scrollbar {
		display: none;
	}

	.sv-gp-wilpas-section-nav .sv-gp-section-nav__pika-item {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}

	.sv-gp-wilpas-section-nav .sv-gp-section-nav__pika-link,
	.sv-gp-wilpas-section-nav .sv-gp-section-nav__pika-item.is-hub .sv-gp-section-nav__pika-link {
		min-height: 48px;
		padding: 0.55rem 0.8rem;
		gap: 0.4em;
		font-size: 0.9rem;
		white-space: nowrap;
	}

	.sv-gp-ajankohtaista-filters__list,
	.sv-gp-ajankohtaista-filters__sub {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
		scrollbar-width: thin;
	}

	.sv-gp-ajankohtaista-filters__link {
		flex-shrink: 0;
		white-space: nowrap;
	}

	.sv-gp-page-hero {
		min-height: 210px;
		padding: calc(var(--sv-gp-admin-offset) + 110px) 14px 28px;
	}

	.sv-gp-page-hero__title {
		font-size: clamp(1.65rem, 7.5vw, 2.1rem);
		letter-spacing: 0.5px;
		overflow-wrap: anywhere;
	}

	.sv-gp-hero {
		min-height: min(92vh, 42rem);
	}

	.sv-gp-breadcrumb,
	.sv-gp-page-shell .rank-math-breadcrumb {
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

html[data-theme="light"] .mm-gb-wilpas-page .mm-gb-page-nav {
	background: #f2f2f2;
	color: #2c2c2c;
	border-color: #e8e914;
}

/* Leirit: keep the current Wilpas camp yellow in both theme modes. */
.mm-gb-wilpas-page .mm-gb-wilpas-camp,
html[data-theme="light"] .mm-gb-wilpas-page .mm-gb-wilpas-camp {
	background: #e8e914;
	border: 2px solid #0d0d0d;
	color: #0d0d0d;
}

.mm-gb-wilpas-page .mm-gb-wilpas-camp .wp-block-heading,
.mm-gb-wilpas-page .mm-gb-wilpas-camp h3,
.mm-gb-wilpas-page .mm-gb-wilpas-camp p,
html[data-theme="light"] .mm-gb-wilpas-page .mm-gb-wilpas-camp .wp-block-heading,
html[data-theme="light"] .mm-gb-wilpas-page .mm-gb-wilpas-camp h3,
html[data-theme="light"] .mm-gb-wilpas-page .mm-gb-wilpas-camp p {
	color: #0d0d0d !important;
}

html[data-theme="light"] .mm-gb-wilpas-join,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-join,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-card,
html[data-theme="light"] .mm-gb-wilpas-page .mm-gb-card,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-promo {
	background-color: #ffffff;
	color: #2c2c2c;
	border-color: #e8e914;
}

html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-heading,
html[data-theme="light"] .mm-gb-wilpas-hub h1,
html[data-theme="light"] .mm-gb-wilpas-hub h2,
html[data-theme="light"] .mm-gb-wilpas-page .mm-gb-card .wp-block-heading,
html[data-theme="light"] .mm-gb-wilpas-page .mm-gb-card h3,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-join h2,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-news h2,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-links h2,
html[data-theme="light"] .mm-gb-wilpas-hero .wp-block-heading,
html[data-theme="light"] .mm-gb-wilpas-hero h1 {
	color: #2c2c2c !important;
}

html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-card .wp-block-paragraph,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-promo p,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-intro,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-join p,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-hero .wp-block-paragraph,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-hero p {
	color: #4a4a4a !important;
}

/* Hub CRT plate is a dark island — keep light cream ink off it. */
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-tv-wrap > p,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-tv-wrap .wp-block-paragraph,
html[data-theme="light"] .mm-gb-wilpas-home-split .mm-gb-wilpas-tv-wrap > p,
html[data-theme="light"] .mm-gb-wilpas-home-split .mm-gb-wilpas-tv-wrap .wp-block-paragraph {
	color: #f2f2f2 !important;
}

html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-tv-wrap h2,
html[data-theme="light"] .mm-gb-wilpas-home-split .mm-gb-wilpas-tv-wrap h2,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-wilpas-tv-wrap h2 .ph-fill,
html[data-theme="light"] .mm-gb-wilpas-home-split .mm-gb-wilpas-tv-wrap h2 .ph-fill {
	color: #e8e914 !important;
}

html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-latest-posts li {
	background: #ffffff !important;
	border-color: #e8e914 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-latest-posts,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-latest-posts a,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-latest-posts__post-title,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .wp-block-latest-posts,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .wp-block-latest-posts a,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .wp-block-latest-posts__post-title,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-latest-posts,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-latest-posts a,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-latest-posts__post-title {
	color: #2c2c2c !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-latest-posts__post-date,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .wp-block-latest-posts__post-date,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-latest-posts__post-date {
	color: #4a4a4a !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-page-nav .wp-block-button:not(.is-style-outline) .wp-block-button__link,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-page-nav .wp-block-button:not(.is-style-outline) .wp-block-button__link,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-button:not(.is-style-outline) .wp-block-button__link,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .wp-block-button:not(.is-style-outline) .wp-block-button__link,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-button:not(.is-style-outline) .wp-block-button__link,
html[data-theme="light"] .mm-gb-wilpas-page .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	color: #0d0d0d !important;
	background: #e8e914 !important;
	border-color: #e8e914 !important;
}

/* Hub section nav stays text-on-yellow (PPJ-style), not filled pills */
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link {
	color: #0d0d0d !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-page-nav .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-page .mm-gb-page-nav .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="light"] .mm-gb-wilpas-page .wp-block-button.is-style-outline .wp-block-button__link {
	color: #0d0d0d !important;
	background-color: transparent !important;
	border-color: #e8e914 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-page-nav .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-page-nav .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible,
html[data-theme="light"] .mm-gb-wilpas-page .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
html[data-theme="light"] .mm-gb-wilpas-page .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible {
	color: #0d0d0d !important;
	background: #f0f12a !important;
	border-color: #f0f12a !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link:focus-visible,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link:focus-visible,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link:hover,
html[data-theme="light"] .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button .wp-block-button__link:focus-visible {
	color: #0d0d0d !important;
	background: rgba(13, 13, 13, 0.1) !important;
	border: 0 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button.is-style-outline .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-page-nav .wp-block-button.is-style-outline .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-page-nav .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button.is-style-outline .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hub .mm-gb-page-nav .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-button.is-style-outline .wp-block-button__link:hover,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hub .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-button.is-style-outline .wp-block-button__link:hover,
html[data-theme="light"] .mm-gb-wilpas-hub .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
html[data-theme="light"] .mm-gb-wilpas-page .wp-block-button.is-style-outline .wp-block-button__link:hover,
html[data-theme="light"] .mm-gb-wilpas-page .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	color: #0d0d0d !important;
	background: #e8e914 !important;
	border-color: #e8e914 !important;
}

html[data-theme="light"] .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor,
html[data-theme="light"] .sv-gp-article .entry-content .mm-gb-wilpas-hero .wp-block-social-links .wp-block-social-link-anchor {
	color: #0d0d0d !important;
	background: #e8e914 !important;
	border-color: #e8e914 !important;
}

/* Wilpas child indexes — light surface + yellow chrome. */
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page.mm-gb-laji-page,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page.mm-gb-laji-page .wp-block-paragraph,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page.mm-gb-laji-page p,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page.mm-gb-laji-page > .wp-block-group__inner-container > .wp-block-paragraph:first-child,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page.mm-gb-laji-page > .wp-block-group__inner-container > p:first-child,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-paragraph,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc p {
	color: #2c2c2c !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc {
	background: #ffffff !important;
	border-color: #e8e914 !important;
	color: #2c2c2c !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a {
	color: #0d0d0d !important;
	background: #f2f2f2 !important;
	border-color: #e8e914 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a:hover,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .wp-block-list a:focus-visible {
	color: #0d0d0d !important;
	background: #e8e914 !important;
	border-color: #e8e914 !important;
	outline-color: #e8e914 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-card {
	background: #ffffff !important;
	border-color: #e8e914 !important;
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-card .wp-block-paragraph,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-card .wp-block-list,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-card .wp-block-list > li {
	color: #4a4a4a !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-card .wp-block-paragraph strong {
	color: #2c2c2c !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page.mm-gb-laji-page .ph-fill,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc .ph-fill {
	color: #5c5c00 !important;
}

html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc a:hover .ph-fill,
html[data-theme="light"] .sv-gp-theme-post-content .mm-gb-wilpas-page .mm-gb-laji-toc a:focus-visible .ph-fill {
	color: #0d0d0d !important;
}

/* —— Rank Math HTML sitemap (/sitemap/) — plugin owns tree; theme owns chrome —— */
.sv-gp-theme-post-content .rank-math-html-sitemap {
	max-width: var(--sv-gp-boxed);
	margin: 0 auto;
	color: var(--sv-gp-page-ink);
}

.sv-gp-theme-post-content .rank-math-html-sitemap__section {
	margin: 0 0 2rem;
	padding: 1.25rem 1.35rem;
	background: var(--sv-gp-surface-2);
	border: 1px solid var(--sv-gp-hairline-strong);
	border-radius: 0;
}

.sv-gp-theme-post-content .rank-math-html-sitemap__title {
	margin: 0 0 0.85rem;
	font-family: Teko, Montserrat, sans-serif;
	font-weight: 500;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sv-gp-page-ink);
}

.sv-gp-theme-post-content .rank-math-html-sitemap__list {
	margin: 0;
	padding: 0 0 0 1.1rem;
	list-style: disc;
}

.sv-gp-theme-post-content .rank-math-html-sitemap__list .rank-math-html-sitemap__list {
	margin-top: 0.35rem;
	margin-bottom: 0.35rem;
}

.sv-gp-theme-post-content .rank-math-html-sitemap__item {
	margin: 0.2rem 0;
	line-height: 1.45;
}

.sv-gp-theme-post-content .rank-math-html-sitemap__link {
	color: var(--sv-gp-blue-link);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.sv-gp-theme-post-content .rank-math-html-sitemap__link:hover,
.sv-gp-theme-post-content .rank-math-html-sitemap__link:focus-visible {
	color: var(--sv-gp-white);
	outline: none;
	box-shadow: var(--sv-gp-focus-ring);
}

html[data-theme="light"] .sv-gp-theme-post-content .rank-math-html-sitemap__section {
	background: #fff;
	border-color: #d0d0d0;
	color: #2c2c2c;
}

html[data-theme="light"] .sv-gp-theme-post-content .rank-math-html-sitemap__title {
	color: #0d0d0d;
}

html[data-theme="light"] .sv-gp-theme-post-content .rank-math-html-sitemap__link {
	color: var(--sv-gp-blue-link-on-light);
}

html[data-theme="light"] .sv-gp-theme-post-content .rank-math-html-sitemap__link:hover,
html[data-theme="light"] .sv-gp-theme-post-content .rank-math-html-sitemap__link:focus-visible {
	color: #7a0128;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #980032;
}

/* File block: filename link + Lataa button as 44px targets (WCAG 2.5.5 AAA). */
.wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
}

.wp-block-file > a:not(.wp-block-file__button),
.wp-block-file .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
