@font-face {
	font-family: "Caveat SPD";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/caveat/Caveat-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Caveat SPD";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/caveat/Caveat-Bold.ttf") format("truetype");
}

@font-face {
	font-family: "Caveat Brush SPD";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/caveat-brush/CaveatBrush-Regular.ttf") format("truetype");
}

:root {
	--spd-blue: #004aad;
	--spd-blue-bright: #007acc;
	--spd-red: #e4002b;
	--spd-navy: #0b1f33;
	--spd-navy-deep: #061522;
	--spd-sky: #c6e6ff;
	--spd-white: #ffffff;
	--spd-muted: #5b6876;
	--spd-border: #d9e1e8;
	--spd-footer-bg-start: #174b78;
	--spd-footer-bg-mid: #1f3558;
	--spd-footer-bg: #17243d;
	--content-width: 760px;
	--wide-width: 1200px;
	--header-height: 94px;
	--admin-bar-offset: 0px;
	--page-gutter: clamp(1rem, 4vw, 2rem);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	flex-direction: column;
	margin: 0;
	background: var(--spd-white);
	color: var(--spd-navy);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	overflow-x: hidden;
}

body.admin-bar {
	--admin-bar-offset: 32px;
}

body.menu-open {
	overflow: hidden;
}

img,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--spd-blue);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--spd-red);
}

button,
input,
textarea,
select {
	font: inherit;
}

:where(a, button, input, textarea, select):focus-visible {
	outline: 3px solid var(--spd-red);
	outline-offset: 3px;
}

.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;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: calc(var(--admin-bar-offset) + 0.75rem);
	left: 0.75rem;
	z-index: 10000;
	display: block;
	width: auto;
	height: auto;
	padding: 0.65rem 1rem;
	clip: auto;
	background: var(--spd-white);
	color: var(--spd-navy);
	font-weight: 800;
	white-space: normal;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.site-header {
	position: relative;
	top: auto;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: rgba(7, 27, 45, 0.98);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
	color: var(--spd-white);
	transform: none;
	transition: none;
}

.site-header--overlay {
	background: rgba(7, 27, 45, 0.98);
}

.site-header--overlay.menu-is-open {
	background: rgba(7, 27, 45, 0.98);
}

.site-header--solid {
	background: rgba(7, 27, 45, 0.98);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.5rem, 4vw, 4.5rem);
	width: min(calc(100% - (2 * var(--page-gutter))), var(--wide-width));
	min-height: var(--header-height);
	margin-inline: auto;
}

.site-header--solid .site-header__inner {
	min-height: var(--header-height);
}

.site-branding {
	--brand-logo-width: clamp(104.4px, 9.63vw, 131.4px);
	--brand-city-width: clamp(156.9px, 14.47vw, 197.5px);
	position: relative;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	gap: clamp(0.65rem, 1.6vw, 1.2rem);
	flex: 0 0 auto;
}

.default-logo-link,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.default-logo,
.custom-logo {
	display: block;
	width: var(--brand-logo-width);
	max-height: 78px;
	object-fit: contain;
}

.site-branding__city {
	display: block;
	width: var(--brand-city-width);
	height: auto;
	margin-bottom: 1px;
	filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.18));
	flex: 0 0 auto;
}

.primary-navigation {
	margin-left: auto;
}

.header-social-links {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex: 0 0 auto;
}

.header-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: rgba(5, 20, 34, 0.24);
	color: var(--spd-white);
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-social-link:hover {
	border-color: var(--spd-red);
	background: var(--spd-red);
	color: var(--spd-white);
	transform: translateY(-1px);
}

.header-social-link:focus-visible {
	color: var(--spd-white);
	outline: 3px solid var(--spd-sky);
	outline-offset: 3px;
}

.header-social-link svg {
	display: block;
	width: 23px;
	height: 23px;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.header-facebook-link svg {
	fill: currentColor;
}

.header-instagram-link svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.primary-navigation__socials {
	display: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu > .menu-item {
	position: relative;
	display: flex;
	align-items: center;
}

.primary-menu__parent {
	display: flex;
	align-items: center;
}

.primary-menu > .menu-item + .menu-item::before {
	width: 1px;
	height: 1.05rem;
	margin-inline: clamp(0.55rem, 1.25vw, 1.05rem);
	background: rgba(255, 255, 255, 0.75);
	content: "";
}

.primary-menu a,
.primary-menu .submenu-parent-button {
	position: relative;
	display: block;
	padding: 0.72rem 0.08rem;
	color: var(--spd-white);
	font-size: clamp(0.88rem, 1.15vw, 1rem);
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.primary-menu a::after,
.primary-menu .submenu-parent-button::after {
	position: absolute;
	right: 0;
	bottom: 0.34rem;
	left: 0;
	height: 3px;
	background: var(--spd-red);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-item > .primary-menu__parent > a,
.primary-menu .current_page_item > .primary-menu__parent > a,
.primary-menu .current-menu-ancestor > .primary-menu__parent > a,
.primary-menu a[aria-current="page"] {
	color: var(--spd-white);
}

.primary-menu .submenu-parent-button:hover::after,
.primary-menu .submenu-parent-button:focus-visible::after,
.primary-menu .current-menu-item > .primary-menu__parent > .submenu-parent-button::after,
.primary-menu .current-menu-ancestor > .primary-menu__parent > .submenu-parent-button::after,
.primary-menu a:hover::after,
.primary-menu a:focus-visible::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after,
.primary-menu .current-menu-item > .primary-menu__parent > a::after,
.primary-menu .current_page_item > .primary-menu__parent > a::after,
.primary-menu .current-menu-ancestor > .primary-menu__parent > a::after,
.primary-menu a[aria-current="page"]::after {
	transform: scaleX(1);
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--spd-white);
	cursor: pointer;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
	color: var(--spd-sky);
}

.submenu-toggle:focus-visible {
	outline: 2px solid var(--spd-sky);
	outline-offset: 1px;
}

.primary-menu .submenu-parent-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	width: auto;
	height: auto;
	min-height: 44px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.primary-menu .submenu-parent-button::after {
	right: 1.3rem;
}

.submenu-parent-button svg {
	flex: 0 0 13px;
}

.js #election-submenu[hidden] {
	display: none;
}

.no-js .submenu-toggle {
	display: none;
}

.no-js .primary-menu .menu-item-election > .sub-menu {
	display: block;
	position: static;
	opacity: 1;
	pointer-events: auto;
	transform: none;
	visibility: visible;
}

.submenu-toggle svg {
	display: block;
	width: 13px;
	height: 9px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	transition: transform 180ms ease;
}

.submenu-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 0.35rem);
	right: 0;
	z-index: 20;
	min-width: 238px;
	padding: 0.35rem;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	background: rgba(5, 22, 37, 0.985);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
	list-style: none;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-7px);
	transition: opacity 170ms ease, transform 170ms ease, visibility 170ms step-end;
	visibility: hidden;
}

.menu-item-election.submenu-is-open > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	transition: opacity 170ms ease, transform 170ms ease, visibility 0ms step-start;
	visibility: visible;
}

.primary-menu .sub-menu li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.primary-menu .sub-menu a {
	padding: 0.82rem 0.9rem;
	border-left: 3px solid transparent;
	font-size: 0.94rem;
	line-height: 1.25;
}

.primary-menu .sub-menu a::after {
	display: none;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible,
.primary-menu .sub-menu .current-menu-item > a,
.primary-menu .sub-menu a[aria-current="page"] {
	border-left-color: var(--spd-red);
	background: rgba(255, 255, 255, 0.09);
}

.menu-toggle {
	position: relative;
	z-index: 3;
	display: none;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	padding: 11px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 4px;
	background: rgba(5, 20, 34, 0.24);
	color: var(--spd-white);
	cursor: pointer;
}

.menu-toggle__line {
	position: absolute;
	left: 11px;
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.menu-toggle__line:nth-child(1) {
	top: 14px;
}

.menu-toggle__line:nth-child(2) {
	top: 22px;
}

.menu-toggle__line:nth-child(3) {
	top: 30px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
	top: 22px;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
	top: 22px;
	transform: rotate(-45deg);
}

.video-hero {
	position: relative;
	min-height: calc(100vh - var(--header-height) - var(--admin-bar-offset));
	min-height: calc(100svh - var(--header-height) - var(--admin-bar-offset));
	height: calc(100dvh - var(--header-height) - var(--admin-bar-offset));
	overflow: hidden;
	background-color: var(--spd-navy);
}

.video-hero__poster,
.video-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.video-hero__poster {
	z-index: 0;
	display: block;
	opacity: 1;
	transition: opacity 420ms ease;
}

.video-hero__poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.video-hero__media {
	z-index: 0;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transition: opacity 420ms ease;
}

.video-hero.video-ready .video-hero__media {
	opacity: 1;
}

.video-hero.video-ready .video-hero__poster {
	opacity: 0;
}

.video-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(4, 17, 29, 0.56) 0%, rgba(7, 31, 49, 0.32) 36%, rgba(4, 18, 31, 0.56) 100%),
		linear-gradient(90deg, rgba(3, 17, 29, 0.16), rgba(3, 17, 29, 0.04) 55%, rgba(3, 17, 29, 0.14));
	pointer-events: none;
}

.video-hero__control {
	position: absolute;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.76);
	border-radius: 50%;
	background: rgba(5, 22, 37, 0.76);
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
	color: var(--spd-white);
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.video-hero--election .video-hero__control--viewport {
	position: fixed;
	right: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-right, 0px));
	bottom: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-bottom, 0px));
	z-index: 900;
}

.video-hero__control[hidden] {
	display: none;
}

.video-hero__control:hover {
	border-color: var(--spd-white);
	background: var(--spd-red);
	transform: translateY(-1px);
}

.video-hero__control:focus-visible {
	outline: 3px solid var(--spd-white);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--spd-red);
}

.video-hero__control svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.video-hero__icon-play,
.video-hero__control[data-state="paused"] .video-hero__icon-pause {
	display: none;
}

.video-hero__control[data-state="paused"] .video-hero__icon-play {
	display: block;
}

.video-hero--has-content {
	height: auto;
	min-height: calc(100vh - var(--header-height) - var(--admin-bar-offset));
	min-height: calc(100svh - var(--header-height) - var(--admin-bar-offset));
}

.video-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	width: min(calc(100% - (2 * var(--page-gutter))), var(--wide-width));
	min-height: calc(100vh - var(--header-height) - var(--admin-bar-offset));
	min-height: calc(100svh - var(--header-height) - var(--admin-bar-offset));
	align-items: center;
	margin-inline: auto;
	padding-block: clamp(1.35rem, 3vw, 2.25rem) clamp(4.75rem, 8vw, 6.5rem);
}

.video-hero--election .video-hero__overlay {
	background:
		linear-gradient(180deg, rgba(4, 15, 26, 0.57) 0%, rgba(4, 19, 31, 0.45) 44%, rgba(3, 14, 24, 0.62) 100%),
		linear-gradient(90deg, rgba(3, 14, 24, 0.18), rgba(3, 14, 24, 0.08) 50%, rgba(3, 14, 24, 0.18));
}

.video-hero--election .video-hero__content {
	justify-content: center;
	width: 100%;
	padding-inline: var(--page-gutter);
}

.election-letter {
	position: relative;
	width: min(74vw, 1120px);
	max-width: 100%;
	margin-inline: auto;
	color: #fff8e8;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: clamp(1.3rem, 1.85vw, 1.85rem);
	font-synthesis: none;
	font-weight: 500;
	line-height: 1.42;
	text-align: left;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.82), 0 0 12px rgba(0, 0, 0, 0.34);
}

.election-letter__skip {
	display: none;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-width: 44px;
	min-height: 44px;
	margin: 0 0 0.55rem auto;
	padding: 0.55rem 0.75rem;
	border: 0;
	border-bottom: 1px solid rgba(255, 248, 232, 0.68);
	background: transparent;
	color: #fff8e8;
	font: 700 0.82rem/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0.015em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
	cursor: pointer;
}

.election-letter.is-enhanced .election-letter__skip {
	display: flex;
}

.election-letter__skip[hidden],
.election-letter.is-complete .election-letter__skip {
	display: none !important;
}

.election-letter__skip:hover {
	border-bottom-color: var(--spd-red);
	color: var(--spd-white);
}

.election-letter__skip:focus-visible {
	border-radius: 3px;
	outline: 3px solid var(--spd-white);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba(228, 0, 43, 0.78);
}

.election-letter__paper {
	position: relative;
}

.election-letter__semantic,
.election-letter__animated-copy {
	width: 100%;
}

.election-letter.is-animating .election-letter__semantic {
	opacity: 0;
	pointer-events: none;
}

.election-letter__visual {
	position: absolute;
	inset: 0;
	display: none;
	pointer-events: none;
}

.election-letter.is-animating .election-letter__visual {
	display: block;
}

.election-letter p,
.election-letter__animated-copy p {
	margin: 0 0 0.82em;
}

.election-letter__salutation {
	font-size: 1.2em;
	font-weight: 700;
}

.election-letter__closing {
	margin-top: 0.9em;
	text-align: center;
}

.election-letter__closing p {
	margin-bottom: 0.22em;
}

.election-letter__closing .election-letter__signature {
	display: block;
	width: 100%;
	margin: 0 0 0.72em;
	font-size: 1.22em;
	font-style: italic;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.015em;
	text-align: left;
}

.election-letter__pledge {
	font-size: 1.25em;
	line-height: 1.15;
}

.election-letter__invitation {
	font-size: 1.08em;
	line-height: 1.2;
}

.election-letter p.election-letter__date {
	position: relative;
	display: table;
	margin: 0.52em auto 0;
	font-size: 1.32em;
	line-height: 1.15;
}

.election-letter__date::after {
	position: absolute;
	right: -0.08em;
	bottom: -0.12em;
	left: -0.08em;
	height: 0.13em;
	border-radius: 999px 55% 999px 45%;
	background: var(--spd-red);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
	content: "";
	transform: rotate(-1.1deg) scaleX(1);
	transform-origin: left center;
}

.election-letter.is-animating .election-letter__visual .election-letter__date::after {
	transform: rotate(-1.1deg) scaleX(0);
}

.election-letter.is-animating .election-letter__visual .election-letter__date.is-written::after {
	transform: rotate(-1.1deg) scaleX(1);
	transition: transform 480ms cubic-bezier(0.22, 0.68, 0.28, 1);
}

.election-letter__glyph {
	opacity: 0;
	transition: opacity 72ms ease-out;
}

.election-letter__glyph.is-visible {
	opacity: 1;
}

.campaign-brush {
	z-index: 5;
	padding: 0;
	margin: 0;
	color: var(--spd-white);
	pointer-events: none;
	text-align: center;
}

.campaign-brush__motion {
	display: block;
	font-family: "Caveat Brush SPD", "Caveat SPD", "Segoe Print", cursive;
	font-weight: 400;
	font-size: 0;
	font-synthesis: none;
	letter-spacing: normal;
	line-height: 0;
	word-spacing: normal;
	color: transparent;
	-webkit-text-stroke: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	filter:
		drop-shadow(0 2px 1px rgba(1, 15, 28, 0.78))
		drop-shadow(0 7px 14px rgba(1, 15, 28, 0.48));
	transform: none;
	transform-origin: center;
}

.campaign-brush__line {
	display: block;
	white-space: nowrap;
}

.campaign-brush--election {
	position: absolute;
	bottom: -2.4rem;
	left: 76%;
	width: max-content;
}

.campaign-brush--election .campaign-brush__motion {
	width: clamp(20rem, 26vw, 31rem);
	aspect-ratio: 410 / 250;
	background-image: url("../images/campaign-brush-election.png");
}

.js .election-letter:not(.is-complete) .campaign-brush--election .campaign-brush__motion {
	opacity: 0;
}

.js .election-letter.is-complete .campaign-brush--election .campaign-brush__motion {
	animation: campaign-brush-toss 1250ms cubic-bezier(0.2, 0.8, 0.24, 1) 500ms both;
}

@keyframes campaign-brush-toss {
	0% {
		opacity: 0;
		transform: translate3d(42vw, -22vh, 0) rotate(28deg) scale(0.55);
	}

	44% {
		opacity: 1;
		transform: translate3d(-1.6rem, 1rem, 0) rotate(-5deg) scale(1.08);
	}

	66% {
		transform: translate3d(0.75rem, -0.45rem, 0) rotate(2deg) scale(0.97);
	}

	83% {
		transform: translate3d(-0.25rem, 0.15rem, 0) rotate(-1deg) scale(1.015);
	}

	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0) rotate(0) scale(1);
	}
}

.site-main {
	flex: 1 0 auto;
	min-width: 0;
	padding-top: 0;
	scroll-margin-top: 0;
}

.front-page-content {
	background: var(--spd-white);
}

.news-page-content {
	position: relative;
	isolation: isolate;
	min-height: calc(100vh - var(--header-height) - var(--admin-bar-offset));
	min-height: calc(100svh - var(--header-height) - var(--admin-bar-offset));
	overflow: hidden;
	background: var(--spd-sky);
}

.news-page-content--empty {
	min-height: calc(100vh - var(--header-height) - var(--admin-bar-offset));
	min-height: calc(100svh - var(--header-height) - var(--admin-bar-offset));
}

.news-page-background {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: -2;
	display: block;
	height: clamp(720px, 100vh, 1080px);
	pointer-events: none;
}

.news-page-background::after {
	position: absolute;
	right: 0;
	bottom: -2px;
	left: 0;
	height: 28%;
	background: linear-gradient(180deg, rgba(198, 230, 255, 0), var(--spd-sky));
	content: "";
}

.news-page-background img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.video-news-layout {
	position: relative;
	z-index: 1;
	width: min(calc(100% - (2 * var(--page-gutter))), 1320px);
	margin-inline: auto;
	padding-top: clamp(21rem, 35vw, 35rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
}

.video-news-layout--single {
	padding-top: clamp(10rem, 18vw, 18rem);
}

.video-news-stream {
	position: relative;
	display: flow-root;
	padding: 0;
	margin: 0;
	counter-reset: news-video;
	list-style: none;
}

.video-news-stream::before {
	position: absolute;
	top: clamp(21rem, 29vw, 30rem);
	bottom: 2rem;
	left: 50%;
	width: 3px;
	border-radius: 99px;
	background: rgba(0, 122, 204, 0.48);
	content: "";
	transform: translateX(-50%);
}

.video-news-stream__entry {
	position: relative;
	width: calc(50% - 3.6rem);
	margin-bottom: clamp(3rem, 7vw, 6rem);
	counter-increment: news-video;
}

.video-news-stream__entry:nth-child(even) {
	margin-left: auto;
}

.video-news-stream__entry::before {
	position: absolute;
	top: clamp(3rem, 8vw, 5rem);
	right: -4.25rem;
	z-index: 3;
	width: 18px;
	height: 18px;
	border: 4px solid var(--spd-sky);
	border-radius: 50%;
	background: var(--spd-red);
	box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.55);
	content: "";
}

.video-news-stream__entry:nth-child(even)::before {
	right: auto;
	left: -4.25rem;
}

.video-news-stream__entry:first-child {
	width: min(920px, 78%);
	margin-right: auto;
	margin-bottom: clamp(5rem, 10vw, 8rem);
	margin-left: auto;
}

.video-news-stream__entry:first-child::before {
	right: auto;
	bottom: clamp(-5.2rem, -7vw, -3.4rem);
	left: 50%;
	top: auto;
	transform: translateX(-50%);
}

.video-news-item {
	display: grid;
	gap: clamp(1.1rem, 2.4vw, 1.75rem);
	color: var(--spd-navy);
}

.video-news-item--featured {
	grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.8fr);
	align-items: center;
}

.video-news-item__media {
	position: relative;
	min-width: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.82);
	border-radius: 7px;
	background: rgba(0, 74, 173, 0.16);
	box-shadow: 0 12px 30px rgba(7, 31, 51, 0.12);
}

.video-news-item__trigger,
.video-news-item__poster-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.video-news-item__trigger picture,
.video-news-item__poster-link picture {
	display: block;
	width: 100%;
	height: 100%;
}

.video-news-item__trigger img,
.video-news-item__poster-link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.video-news-item__trigger:hover img,
.video-news-item__trigger:focus-visible img,
.video-news-item__poster-link:hover img,
.video-news-item__poster-link:focus-visible img {
	transform: scale(1.025);
}

.video-news-item__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(3.2rem, 7vw, 4.8rem);
	height: clamp(3.2rem, 7vw, 4.8rem);
	border: 2px solid rgba(255, 255, 255, 0.94);
	border-radius: 50%;
	background: rgba(7, 31, 51, 0.6);
	color: var(--spd-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	transform: translate(-50%, -50%);
	transition: background 180ms ease, transform 180ms ease;
}

.video-news-item__trigger:hover .video-news-item__play,
.video-news-item__trigger:focus-visible .video-news-item__play {
	background: var(--spd-red);
	transform: translate(-50%, -50%) scale(1.06);
}

.video-news-item__play .dashicons {
	width: auto;
	height: auto;
	font-size: clamp(1.5rem, 3.6vw, 2.2rem);
}

.video-news-item__date {
	margin: 0 0 0.55rem;
	color: var(--spd-red);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.video-news-item__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.25rem, 2.3vw, 1.8rem);
	font-weight: 850;
	line-height: 1.16;
}

.video-news-item__title a {
	color: var(--spd-navy);
	text-decoration-color: transparent;
}

.video-news-item__title a:hover,
.video-news-item__title a:focus-visible {
	color: var(--spd-blue);
	text-decoration-color: var(--spd-red);
}

.video-news-item__excerpt {
	font-size: 0.98rem;
	line-height: 1.58;
}

.video-news-item--featured .video-news-item__copy {
	position: relative;
	padding-left: clamp(1rem, 2vw, 1.4rem);
}

.video-news-item--featured .video-news-item__copy::before {
	position: absolute;
	top: 0.15rem;
	bottom: 0.15rem;
	left: 0;
	width: 4px;
	border-radius: 99px;
	background: var(--spd-red);
	content: "";
}

.video-news-item--featured .video-news-item__title {
	font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.video-news-item__excerpt p {
	margin-top: 0;
	margin-bottom: 1rem;
}

.video-news-item__closing {
	font-size: clamp(1rem, 1.35vw, 1.14rem);
	line-height: 1.42;
}

.video-news-item__fallback-link {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	left: 0.75rem;
	padding: 0.65rem 0.9rem;
	border-radius: 4px;
	background: rgba(7, 31, 51, 0.88);
	color: var(--spd-white);
	font-weight: 800;
	text-align: center;
}

.video-news-item__excerpt > :last-child {
	margin-bottom: 0;
}

body.news-video-is-open {
	overflow: hidden;
}

.news-video-modal[hidden] {
	display: none;
}

.news-video-modal {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: grid;
	place-items: center;
	padding: var(--page-gutter);
}

.news-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 14, 24, 0.9);
}

.news-video-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1100px, 100%);
}

.news-video-modal__player {
	display: block;
	width: 100%;
	max-height: min(78vh, 760px);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 6px;
	background: #000;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.news-video-modal__close {
	position: absolute;
	top: -3.25rem;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(7, 31, 51, 0.82);
	color: var(--spd-white);
	cursor: pointer;
}

.news-video-modal__close:hover {
	background: var(--spd-red);
}

.news-video-modal__close .dashicons {
	width: auto;
	height: auto;
	font-size: 1.65rem;
}

.program-page-content {
	position: relative;
	isolation: isolate;
	min-height: calc(100vh - var(--header-height) - var(--admin-bar-offset));
	min-height: calc(100svh - var(--header-height) - var(--admin-bar-offset));
	overflow: hidden;
	background: var(--spd-sky);
}

.program-page__hero {
	position: relative;
	background: #518ecb;
}

.program-page__hero-visual {
	position: relative;
}

.program-page__hero-image {
	display: block;
	width: 100%;
	height: auto;
}

.campaign-brush--program {
	position: absolute;
	top: 48%;
	left: 50%;
	width: max-content;
	max-width: calc(100% - (2 * var(--page-gutter)));
	transform: translate(-50%, -50%);
}

.campaign-brush--program .campaign-brush__motion {
	width: clamp(32rem, 46vw, 51rem);
	aspect-ratio: 760 / 170;
	background-image: url("../images/campaign-brush-program.png");
	white-space: nowrap;
}

.js .campaign-brush--program .campaign-brush__motion {
	animation: campaign-brush-toss 1150ms cubic-bezier(0.2, 0.8, 0.24, 1) 260ms both;
}

.program-page__candidate-scroll {
	display: contents;
}

.program-page__candidate-labels {
	position: absolute;
	z-index: 3;
	top: 62.5%;
	left: 0;
	display: grid;
	grid-template-columns: 14% 17% 16% 14% 13% 13% 13%;
	align-items: start;
	width: 100%;
	padding: 0 1.1%;
	margin: 0;
	list-style: none;
}

.program-page__candidate-label {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	color: var(--spd-navy);
	line-height: 1;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.72);
}

.program-page__candidate-given {
	margin-bottom: -0.08em;
	font-family: "Caveat SPD", "Segoe Print", cursive;
	font-size: clamp(0.95rem, 1.5vw, 1.55rem);
	font-weight: 700;
	transform: rotate(-1deg);
}

.program-page__candidate-family {
	font-size: clamp(0.72rem, 1.15vw, 1.16rem);
	font-weight: 900;
	letter-spacing: 0.035em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.program-page__candidate-party {
	--party-color: #087bac;
	--party-highlight: #1497cf;
	--party-shadow: #05597e;
	position: relative;
	z-index: 0;
	display: block;
	width: min(68%, 7.8rem);
	padding: 0.22em 0.72em 0.2em;
	margin-top: 0.32rem;
	background: linear-gradient(180deg, var(--party-highlight) 0%, var(--party-color) 48%, var(--party-shadow) 100%);
	box-shadow: 0 1px 2px rgba(5, 44, 70, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
	color: var(--spd-white);
	font-size: clamp(0.58rem, 0.78vw, 0.78rem);
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1;
	text-shadow: none;
}

.program-page__candidate-party::before,
.program-page__candidate-party::after {
	position: absolute;
	top: 0.22em;
	z-index: -1;
	width: 24%;
	height: calc(100% + 0.08em);
	background: linear-gradient(180deg, var(--party-color), var(--party-shadow));
	content: "";
}

.program-page__candidate-party::before {
	left: -16%;
	clip-path: polygon(0 0, 100% 16%, 100% 84%, 0 100%, 28% 50%);
}

.program-page__candidate-party::after {
	right: -16%;
	clip-path: polygon(0 16%, 100% 0, 72% 50%, 100% 100%, 0 84%);
}

.program-page__candidate-party--spd {
	--party-color: #087bac;
	--party-highlight: #1699ce;
	--party-shadow: #075c83;
}

.program-page__candidate-party--stacilo {
	--party-color: #d72c2c;
	--party-highlight: #ef4545;
	--party-shadow: #aa2020;
}

.program-page__candidate-party--pro {
	--party-color: #08a9a7;
	--party-highlight: #13c4c1;
	--party-shadow: #087e7c;
}

.program-page__slogan {
	position: absolute;
	top: clamp(0.55rem, 1.15vw, 1.15rem);
	left: 50%;
	z-index: 4;
	width: min(calc(100% - (2 * var(--page-gutter))), 980px);
	color: var(--spd-white);
	text-align: center;
	text-shadow: 0 2px 8px rgba(4, 33, 64, 0.28);
	transform: translateX(-50%);
}

.program-page__slogan-main {
	position: relative;
	display: inline-block;
	margin: 0;
	font-size: clamp(1.65rem, 3vw, 3.1rem);
	font-weight: 900;
	letter-spacing: 0.015em;
	line-height: 1;
}

.program-page__slogan-sub {
	position: relative;
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0.42rem auto 0;
	font-size: clamp(0.82rem, 1.12vw, 1.08rem);
	font-weight: 650;
	line-height: 1.28;
}

.program-page__slogan-sub::after {
	position: absolute;
	right: 1%;
	bottom: -0.38em;
	left: 1%;
	height: clamp(3px, 0.12em, 5px);
	border-radius: 60% 40% 55% 45%;
	background: linear-gradient(90deg, var(--spd-red) 0%, var(--spd-red) 96%, transparent 100%);
	content: "";
	transform: rotate(-1.1deg) scaleX(0);
	transform-origin: left center;
	animation: program-tagline-underline-draw 1.05s cubic-bezier(0.22, 0.78, 0.32, 1) 0.45s both;
}

@keyframes program-tagline-underline-draw {
	0% {
		transform: rotate(-1.1deg) scaleX(0);
	}

	68% {
		transform: rotate(-1.1deg) scaleX(0.82);
	}

	100% {
		transform: rotate(-1.1deg) scaleX(1);
	}
}

.program-page__body {
	position: relative;
	z-index: 2;
	margin-top: clamp(-18rem, -17vw, -4.5rem);
	background: linear-gradient(180deg, rgba(198, 230, 255, 0), var(--spd-sky) clamp(4rem, 9vw, 9rem));
}

.program-page__layout {
	width: min(calc(100% - (2 * var(--page-gutter))), 1540px);
	margin-inline: auto;
	padding-top: clamp(5rem, 10vw, 9rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
}

.program-page__header {
	margin-bottom: clamp(2.6rem, 5vw, 4.8rem);
	text-align: center;
}

.program-page__title {
	margin: 0;
	color: var(--spd-navy);
	font-size: clamp(2.35rem, 5vw, 4.6rem);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.02;
}

.program-page-content--decalogue .program-page__title {
	max-width: 1180px;
	margin-inline: auto;
	font-size: clamp(2rem, 4.5vw, 4.2rem);
}

.vision-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding: 0;
	margin: 0;
	counter-reset: vision-item;
	list-style: none;
}

.vision-grid > li {
	position: relative;
	padding: 0 clamp(1.25rem, 2.25vw, 2.3rem);
	border-right: 1px solid rgba(0, 122, 204, 0.34);
	counter-increment: vision-item;
}

.vision-grid > li:first-child {
	padding-left: 0;
}

.vision-grid > li:last-child {
	padding-right: 0;
	border-right: 0;
}

.vision-grid > li::before {
	display: block;
	margin-bottom: 1rem;
	color: var(--spd-red);
	content: "0" counter(vision-item);
	font-size: clamp(2.6rem, 5vw, 4.4rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
}

.vision-grid h2,
.decalogue-list h2,
.team-member h2 {
	margin: 0 0 0.85rem;
	color: var(--spd-navy);
	font-weight: 900;
	line-height: 1.18;
}

.vision-grid h2 {
	font-size: clamp(1rem, 1.25vw, 1.25rem);
}

.vision-grid p {
	margin: 0;
	font-size: clamp(0.94rem, 1.02vw, 1.04rem);
	line-height: 1.62;
}

.decalogue-list {
	--decalogue-rope-width: clamp(34px, 3.1vw, 52px);
	--decalogue-rope-number-gap: 1.45rem;
	--decalogue-number-width: 4.8rem;
	--decalogue-number-text-gap: 1.35rem;
	position: relative;
	display: flow-root;
	max-width: 1260px;
	padding: 0;
	margin: 0 auto;
	counter-reset: decalogue-item;
	list-style: none;
}

.decalogue-list::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: var(--decalogue-rope-width);
	background: url("../images/rope-vertical.png") center top / 100% auto repeat-y;
	filter: drop-shadow(0 3px 3px rgba(78, 52, 23, 0.2));
	content: "";
	transform: translateX(-50%);
}

.decalogue-list > li {
	position: relative;
	width: calc(50% - (var(--decalogue-rope-width) / 2) - var(--decalogue-rope-number-gap) - var(--decalogue-number-width) - var(--decalogue-number-text-gap));
	margin-bottom: clamp(3rem, 6vw, 5rem);
	counter-increment: decalogue-item;
}

.decalogue-list > li:nth-child(even) {
	margin-left: auto;
}

.decalogue-list > li::before {
	position: absolute;
	top: 50%;
	right: calc(0px - var(--decalogue-number-width) - var(--decalogue-number-text-gap));
	width: var(--decalogue-number-width);
	color: rgba(228, 0, 43, 0.66);
	content: "0" counter(decalogue-item);
	font-size: clamp(2.7rem, 5vw, 4.6rem);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 1;
	text-align: left;
	transform: translateY(-50%);
}

.decalogue-list > li:last-child::before {
	content: "10";
}

.decalogue-list > li:nth-child(even)::before {
	right: auto;
	left: calc(0px - var(--decalogue-number-width) - var(--decalogue-number-text-gap));
	text-align: right;
}

.decalogue-list > li::after {
	display: none;
}

.decalogue-list > li:nth-child(even)::after {
	right: auto;
	left: -5.65rem;
}

.decalogue-list h2 {
	font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

.decalogue-list p {
	margin: 0;
	font-size: clamp(0.98rem, 1.2vw, 1.08rem);
	line-height: 1.65;
}

.decalogue-closing {
	position: relative;
	width: fit-content;
	max-width: 100%;
	margin: clamp(1rem, 4vw, 3rem) auto 0;
	color: var(--spd-navy);
	font-size: clamp(1.35rem, 2.7vw, 2.25rem);
	line-height: 1.25;
	text-align: center;
}

.decalogue-closing::after {
	display: block;
	width: 68%;
	height: 5px;
	margin: 0.75rem auto 0;
	border-radius: 99px;
	background: var(--spd-red);
	content: "";
	transform: rotate(-1deg);
}

.team-rope {
	position: relative;
	max-width: 1260px;
	padding: 0;
	margin: 0 auto;
	list-style: none;
}

.team-rope::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: clamp(36px, 3.5vw, 58px);
	background: url("../images/rope-vertical.png") center top / 100% auto repeat-y;
	filter: drop-shadow(0 3px 3px rgba(78, 52, 23, 0.22));
	content: "";
	transform: translateX(-50%);
}

.team-member {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
	align-items: center;
	min-height: clamp(330px, 31vw, 430px);
	padding-block: clamp(1.25rem, 2.4vw, 2.25rem);
}

.team-member::before {
	display: none;
}

.team-member__portrait {
	position: relative;
	grid-column: 1;
	justify-self: end;
	width: clamp(300px, 25vw, 360px);
	aspect-ratio: 9 / 7;
	margin: 0;
	overflow: hidden;
	-webkit-mask-image:
		radial-gradient(ellipse 50% 80% at 50% 48%, #000 32%, rgba(0, 0, 0, 0.98) 42%, rgba(0, 0, 0, 0.86) 54%, rgba(0, 0, 0, 0.68) 65%, rgba(0, 0, 0, 0.48) 74%, rgba(0, 0, 0, 0.3) 82%, rgba(0, 0, 0, 0.16) 89%, rgba(0, 0, 0, 0.06) 95%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 3%, rgba(0, 0, 0, 0.42) 7%, rgba(0, 0, 0, 0.72) 11%, rgba(0, 0, 0, 0.9) 15%, #000 19%, #000 68%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.7) 82%, rgba(0, 0, 0, 0.45) 88%, rgba(0, 0, 0, 0.22) 94%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		radial-gradient(ellipse 50% 80% at 50% 48%, #000 32%, rgba(0, 0, 0, 0.98) 42%, rgba(0, 0, 0, 0.86) 54%, rgba(0, 0, 0, 0.68) 65%, rgba(0, 0, 0, 0.48) 74%, rgba(0, 0, 0, 0.3) 82%, rgba(0, 0, 0, 0.16) 89%, rgba(0, 0, 0, 0.06) 95%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 3%, rgba(0, 0, 0, 0.42) 7%, rgba(0, 0, 0, 0.72) 11%, rgba(0, 0, 0, 0.9) 15%, #000 19%, #000 68%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.7) 82%, rgba(0, 0, 0, 0.45) 88%, rgba(0, 0, 0, 0.22) 94%, transparent 100%);
	mask-composite: intersect;
}

.team-member__portrait img {
	position: absolute;
	top: var(--portrait-y, -12%);
	left: 50%;
	display: block;
	width: var(--portrait-scale, 150%);
	max-width: none;
	height: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transform: translateX(-50%);
}

.team-member--ales .team-member__portrait {
	--portrait-scale: 150%;
	--portrait-y: -12.5%;
}

.team-member--petr .team-member__portrait {
	--portrait-scale: 149%;
	--portrait-y: -13.9%;
}

.team-member--stanislav .team-member__portrait {
	--portrait-scale: 145%;
	--portrait-y: -11.4%;
}

.team-member--eliska .team-member__portrait {
	--portrait-scale: 151%;
	--portrait-y: -11.8%;
}

.team-member--martin .team-member__portrait {
	--portrait-scale: 148%;
	--portrait-y: -12.5%;
}

.team-member--lucia .team-member__portrait {
	--portrait-scale: 150%;
	--portrait-y: -12.1%;
}

.team-member--lucie .team-member__portrait {
	--portrait-scale: 154%;
	--portrait-y: -7.9%;
}

.team-member__profile {
	grid-column: 3;
	max-width: 490px;
	padding-left: clamp(1rem, 3vw, 2.4rem);
}

.team-member:nth-child(even) .team-member__portrait {
	grid-column: 3;
	justify-self: start;
}

.team-member:nth-child(even) .team-member__profile {
	grid-column: 1;
	grid-row: 1;
	justify-self: end;
	padding-right: clamp(1rem, 3vw, 2.4rem);
	padding-left: 0;
	text-align: right;
}

.team-member h2 {
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.team-member h2::after {
	display: block;
	width: 3.5rem;
	height: 4px;
	margin-top: 0.75rem;
	border-radius: 99px;
	background: var(--spd-red);
	content: "";
}

.team-member:nth-child(even) h2::after {
	margin-left: auto;
}

.team-member p {
	margin: 0;
	font-size: clamp(0.98rem, 1.2vw, 1.08rem);
	line-height: 1.65;
}

.program-page__stored-content {
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(7, 31, 51, 0.2);
}

.entry-content,
.listing-layout,
.not-found-layout,
.post-navigation,
.entry-featured-wrap {
	width: min(calc(100% - (2 * var(--page-gutter))), var(--content-width));
	margin-inline: auto;
}

.entry-content,
.listing-layout,
.not-found-layout {
	padding-block: clamp(2.8rem, 7vw, 5.5rem);
}

.front-page-article > .entry-content {
	padding-block: clamp(3.2rem, 8vw, 6.5rem);
}

.entry-content > :first-child,
.listing-layout > :first-child,
.not-found-layout > :first-child {
	margin-top: 0;
}

.entry-content > :last-child,
.listing-layout > :last-child,
.not-found-layout > :last-child {
	margin-bottom: 0;
}

.entry-content > .alignwide {
	width: min(calc(100vw - (2 * var(--page-gutter))), var(--wide-width));
	max-width: none;
	margin-right: calc((min(calc(100vw - (2 * var(--page-gutter))), var(--wide-width)) - 100%) / -2);
	margin-left: calc((min(calc(100vw - (2 * var(--page-gutter))), var(--wide-width)) - 100%) / -2);
}

.entry-content > .alignfull {
	width: 100vw;
	max-width: none;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.entry-content :where(img, iframe, video) {
	max-width: 100%;
}

.entry-content :where(h1, h2, h3, h4, h5, h6) {
	color: var(--spd-navy);
	font-weight: 800;
	line-height: 1.18;
	overflow-wrap: anywhere;
}

.entry-content h2 {
	margin-top: 2.4em;
	font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.entry-content h3 {
	margin-top: 2em;
	font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content table {
	margin-block: 1.25rem;
}

.entry-content blockquote {
	padding: 0.15rem 0 0.15rem 1.4rem;
	border-left: 5px solid var(--spd-red);
	color: #31465b;
	font-size: 1.1em;
}

.entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--spd-border);
	text-align: left;
}

.entry-content th {
	background: #edf4fa;
}

.wp-element-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.72rem 1.25rem;
	border: 2px solid var(--spd-red);
	border-radius: 3px;
	background: var(--spd-red);
	color: var(--spd-white);
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--spd-navy);
	border-color: var(--spd-navy);
	color: var(--spd-white);
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
	max-width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #8a99a8;
	border-radius: 3px;
	background: var(--spd-white);
	color: var(--spd-navy);
}

.search-form {
	display: flex;
	align-items: end;
	gap: 0.7rem;
	max-width: 620px;
	margin-top: 1.5rem;
}

.search-form label {
	flex: 1 1 auto;
}

.search-field {
	width: 100%;
}

.page-hero {
	background: linear-gradient(125deg, var(--spd-navy-deep), #123b5d 72%, #0d4d78);
	color: var(--spd-white);
}

.page-hero__inner {
	width: min(calc(100% - (2 * var(--page-gutter))), var(--wide-width));
	min-height: clamp(190px, 28vw, 310px);
	margin-inline: auto;
	padding-block: clamp(2.8rem, 8vw, 6rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.page-hero .entry-title {
	max-width: 980px;
	margin: 0;
	color: var(--spd-white);
	font-size: clamp(2.15rem, 6vw, 4.6rem);
	font-weight: 850;
	letter-spacing: -0.025em;
	line-height: 1.04;
	overflow-wrap: anywhere;
}

@media (min-width: 861px) {
	.privacy-policy .page-hero .entry-title {
		max-width: none;
		font-size: clamp(2.8rem, 5.2vw, 4.2rem);
		overflow-wrap: normal;
		white-space: nowrap;
	}
}

.entry-kicker,
.post-card__date {
	margin: 0 0 0.55rem;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.page-hero .entry-kicker {
	color: var(--spd-sky);
}

.archive-description {
	max-width: 760px;
	margin-top: 1rem;
	color: #dbeaf6;
}

.archive-description > :last-child {
	margin-bottom: 0;
}

.entry-featured-wrap {
	padding-top: clamp(2rem, 5vw, 4rem);
}

.entry-featured {
	display: block;
	width: 100%;
	border-radius: 4px;
}

.post-grid {
	display: grid;
	gap: 1.25rem;
}

.post-card {
	padding: clamp(1.4rem, 4vw, 2rem);
	border: 1px solid var(--spd-border);
	border-left: 5px solid var(--spd-blue);
	background: #f9fbfd;
}

.post-card__date {
	color: var(--spd-muted);
}

.post-card__title {
	margin: 0;
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	line-height: 1.2;
}

.post-card__title a {
	color: var(--spd-navy);
	text-decoration-color: transparent;
}

.post-card__title a:hover,
.post-card__title a:focus-visible {
	color: var(--spd-blue);
	text-decoration-color: var(--spd-red);
}

.post-card__excerpt > :last-child {
	margin-bottom: 0;
}

.navigation.pagination,
.post-navigation {
	margin-top: 2.5rem;
	margin-bottom: clamp(2.5rem, 7vw, 5rem);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: space-between;
}

.navigation.pagination .nav-links {
	justify-content: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.35rem 0.55rem;
	border: 1px solid var(--spd-border);
	text-decoration: none;
}

.page-numbers.current {
	border-color: var(--spd-red);
	background: var(--spd-red);
	color: var(--spd-white);
	font-weight: 800;
}

.site-footer {
	background: linear-gradient(180deg, var(--spd-footer-bg) 0%, var(--spd-footer-bg-mid) 55%, var(--spd-footer-bg-start) 100%);
	color: var(--spd-white);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 1.75rem;
	width: min(calc(100% - (2 * var(--page-gutter))), 1080px);
	margin-inline: auto;
	padding-block: clamp(2.6rem, 5vw, 4rem) clamp(1.25rem, 2.2vw, 1.8rem);
}

.site-footer__brand {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 1.25rem;
}

.site-footer__logo {
	display: inline-flex;
	line-height: 0;
	border-radius: 4px;
}

.site-footer__logo:focus-visible {
	outline: 3px solid var(--spd-sky);
	outline-offset: 5px;
}

.site-footer__logo img {
	display: block;
	width: min(190px, 48vw);
	max-height: 100px;
	object-fit: contain;
}

.site-footer__socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.62rem;
}

.site-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 6px;
	background: var(--spd-red);
	color: var(--spd-white);
	text-decoration: none;
	transition: background-color 150ms ease, transform 150ms ease;
}

.site-footer__socials a:hover {
	background: #c90026;
	color: var(--spd-white);
	transform: translateY(-1px);
}

.site-footer__socials a:focus-visible {
	outline: 3px solid var(--spd-sky);
	outline-offset: 3px;
}

.site-footer__socials svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.site-footer__socials svg rect,
.site-footer__socials svg circle {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.site-footer__socials svg circle:last-child {
	fill: currentColor;
	stroke: none;
}

.site-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.2rem;
	width: 100%;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(198, 230, 255, 0.22);
	font-size: clamp(0.92rem, 1vw, 1rem);
	font-weight: 650;
	line-height: 1.45;
}

.site-footer__privacy {
	color: var(--spd-white);
	font-weight: 700;
	text-align: right;
	text-decoration: none;
}

.site-footer__privacy:hover {
	color: var(--spd-sky);
	text-decoration: underline;
}

.site-footer__privacy:focus-visible {
	color: var(--spd-white);
	outline: 3px solid var(--spd-sky);
	outline-offset: 4px;
	text-decoration: underline;
}

@media (max-width: 1040px) and (min-width: 900px) {
	:root {
		--page-gutter: 1.2rem;
	}

	.site-header__inner {
		gap: 1.2rem;
	}

	.site-branding {
		--brand-logo-width: 100.8px;
		--brand-city-width: 151.5px;
	}

	.primary-menu > .menu-item + .menu-item::before {
		margin-inline: 0.55rem;
	}

	.primary-menu a,
.primary-menu .submenu-parent-button {
		font-size: 0.84rem;
	}
}

@media (max-width: 899px) {
	.decalogue-list {
		--decalogue-rope-left: 1.2rem;
		--decalogue-rope-width: 36px;
		--decalogue-rope-number-gap: 0.8rem;
		--decalogue-number-width: 3.4rem;
		--decalogue-number-text-gap: 1.25rem;
	}

	:root {
		--header-height: 77px;
	}

	.site-header__inner,
	.site-header--solid .site-header__inner {
		min-height: var(--header-height);
	}

	.default-logo,
	.custom-logo {
		width: var(--brand-logo-width);
		max-height: 57.6px;
	}

	.site-branding {
		--brand-logo-width: clamp(75.6px, 24.03vw, 100.8px);
		--brand-city-width: clamp(113.6px, 36.11vw, 151.5px);
		gap: clamp(0.4rem, 2vw, 0.65rem);
	}

	.header-social-links {
		display: none;
	}

	.js .menu-toggle {
		display: inline-block;
	}

	.no-js .menu-toggle {
		display: none;
	}

	.js .primary-navigation {
		position: fixed;
		top: calc(var(--admin-bar-offset) + var(--header-height));
		right: 0;
		z-index: 2;
		width: min(88vw, 390px);
		height: calc(100dvh - var(--admin-bar-offset) - var(--header-height));
		padding: 1.1rem 1.35rem 2rem;
		overflow-y: auto;
		background: rgba(5, 22, 37, 0.985);
		box-shadow: -12px 0 32px rgba(0, 0, 0, 0.28);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 220ms ease, visibility 220ms step-end;
	}

	.js .primary-navigation.is-open {
		transform: translateX(0);
		visibility: visible;
		transition: transform 220ms ease, visibility 0ms step-start;
	}

	.primary-menu {
		align-items: stretch;
		flex-direction: column;
	}

	.primary-menu > .menu-item {
		display: block;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.primary-menu__parent {
		width: 100%;
	}

	.primary-menu__parent > a {
		flex: 1 1 auto;
	}

	.submenu-toggle {
		flex: 0 0 48px;
		width: 48px;
		height: 48px;
	}

	.primary-menu .submenu-parent-button {
		flex: 1 1 auto;
		width: 100%;
		min-height: 48px;
	}

	.js .primary-navigation:not(.is-open) .sub-menu {
		display: none;
		visibility: hidden;
	}

	.primary-menu > .menu-item + .menu-item::before {
		display: none;
	}

	.primary-menu a,
.primary-menu .submenu-parent-button {
		padding: 1rem 0.25rem;
		font-size: 1.05rem;
		white-space: normal;
	}

	.primary-menu a::after,
.primary-menu .submenu-parent-button::after {
		right: auto;
		bottom: 0.5rem;
		left: 0.25rem;
		width: 48px;
		transform-origin: left;
	}

	.primary-menu .sub-menu {
		position: static;
		min-width: 0;
		max-height: 0;
		padding: 0;
		margin: 0;
		overflow: hidden;
		border: 0;
		border-radius: 0;
		background: rgba(255, 255, 255, 0.045);
		box-shadow: none;
		opacity: 0;
		pointer-events: none;
		transform: none;
		transition: max-height 220ms ease, opacity 170ms ease, visibility 220ms step-end;
		visibility: hidden;
	}

	.primary-menu .menu-item-election:not(.submenu-is-open) > .sub-menu {
		max-height: 0;
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
	}

	.primary-menu .menu-item-election.submenu-is-open > .sub-menu {
		max-height: none;
		padding-block: 0.25rem;
		opacity: 1;
		pointer-events: auto;
		transition: max-height 220ms ease, opacity 170ms ease, visibility 0ms step-start;
		visibility: visible;
	}

	.primary-menu .sub-menu a {
		padding: 0.82rem 0.75rem 0.82rem 1rem;
		font-size: 0.98rem;
	}

	.no-js .primary-menu .menu-item-election > .sub-menu {
		max-height: none;
		padding-block: 0.25rem;
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
	}

	.primary-navigation__socials {
		display: grid;
		gap: 0.15rem;
		margin-top: 1rem;
		padding-top: 0.5rem;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.primary-navigation__social-link {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 0.85rem 0.25rem;
		color: var(--spd-white);
		font-size: 1.05rem;
		font-weight: 750;
		line-height: 1.2;
		text-decoration: none;
	}

	.primary-navigation__social-link:hover,
	.primary-navigation__social-link:focus-visible {
		color: var(--spd-white);
	}

	.primary-navigation__social-link svg {
		display: block;
		flex: 0 0 24px;
		width: 24px;
		height: 24px;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.primary-navigation__facebook svg {
		fill: currentColor;
	}

	.primary-navigation__instagram svg {
		fill: none;
		stroke: currentColor;
		stroke-width: 1.8;
	}

	.no-js .site-header__inner {
		align-items: flex-start;
		flex-wrap: wrap;
		padding-block: 0.8rem;
	}

	.no-js .primary-navigation {
		width: 100%;
		padding: 0.35rem 1rem 0.9rem;
		background: rgba(5, 22, 37, 0.9);
	}

	.no-js .site-main {
		padding-top: 0;
	}

	.no-js .video-hero {
		min-height: calc(100svh - var(--header-height) - var(--admin-bar-offset) - 12rem);
		height: calc(100dvh - var(--header-height) - var(--admin-bar-offset) - 12rem);
	}

	.video-hero__content {
		align-items: flex-start;
		padding-block: 1rem 5.5rem;
	}

}

@media (max-width: 860px) {
	.site-footer__inner {
		gap: 1.6rem;
		padding-block: 2.6rem 1.6rem;
		text-align: center;
	}

	.site-footer__logo img {
		width: min(168px, 48vw);
	}

	.site-footer__legal {
		align-items: center;
		flex-direction: column;
		gap: 0.35rem;
		justify-content: center;
		text-align: center;
	}

	.site-footer__privacy {
		text-align: center;
	}
}

@media (max-width: 1180px) {
	.vision-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 3.5rem;
	}

	.vision-grid > li,
	.vision-grid > li:first-child,
	.vision-grid > li:last-child {
		padding-inline: clamp(1.25rem, 3vw, 2.2rem);
	}

	.vision-grid > li:nth-child(2n) {
		border-right: 0;
	}
}

@media (max-width: 899px) {
	.video-news-layout {
		padding-top: clamp(26rem, 76vw, 36rem);
	}

	.video-news-layout--single {
		padding-top: clamp(17rem, 70vw, 25rem);
	}

	.video-news-stream::before {
		top: 0;
		bottom: 0;
		left: 1.15rem;
		transform: none;
	}

	.video-news-stream__entry,
	.video-news-stream__entry:nth-child(even),
	.video-news-stream__entry:first-child {
		width: calc(100% - 4.5rem);
		margin-right: 0;
		margin-bottom: clamp(3.5rem, 9vw, 5.5rem);
		margin-left: 4.5rem;
	}

	.video-news-stream__entry::before,
	.video-news-stream__entry:nth-child(even)::before,
	.video-news-stream__entry:first-child::before {
		top: clamp(2.5rem, 9vw, 4.5rem);
		right: auto;
		bottom: auto;
		left: -4.1rem;
		transform: none;
	}

	.video-news-item--featured {
		grid-template-columns: minmax(0, 1fr);
	}

	.decalogue-list::before,
	.team-rope::before {
		left: 1.2rem;
		width: 36px;
		transform: none;
	}

	.decalogue-list > li,
	.decalogue-list > li:nth-child(even) {
		width: auto;
		margin-bottom: clamp(3rem, 9vw, 4.5rem);
		margin-left: calc(var(--decalogue-rope-left) + var(--decalogue-rope-width) + var(--decalogue-rope-number-gap) + var(--decalogue-number-width) + var(--decalogue-number-text-gap));
	}

	.decalogue-list > li::before,
	.decalogue-list > li:nth-child(even)::before {
		top: 50%;
		right: auto;
		left: calc(0px - var(--decalogue-number-width) - var(--decalogue-number-text-gap));
		width: var(--decalogue-number-width);
		font-size: clamp(2.3rem, 8vw, 3.5rem);
		text-align: right;
		transform: translateY(-50%);
	}

	.decalogue-list > li::after,
	.decalogue-list > li:nth-child(even)::after {
		top: 1.2rem;
		right: auto;
		left: -4.48rem;
	}

	.team-member,
	.team-member:nth-child(even) {
		display: grid;
		grid-template-columns: 4.75rem minmax(0, 1fr);
		min-height: 0;
		padding-block: 1rem clamp(2.5rem, 9vw, 4.5rem);
	}

	.team-member::before {
		top: clamp(7.5rem, 27vw, 10rem);
		left: 1.2rem;
		transform: translate(-50%, -50%);
	}

	.team-member__portrait,
	.team-member:nth-child(even) .team-member__portrait {
		grid-column: 2;
		grid-row: 1;
		justify-self: start;
		width: min(320px, 100%);
	}

	.team-member__profile,
	.team-member:nth-child(even) .team-member__profile {
		grid-column: 2;
		grid-row: 2;
		justify-self: start;
		max-width: 620px;
		padding: 1.4rem 0 0;
		text-align: left;
	}

	.team-member:nth-child(even) h2::after {
		margin-left: 0;
	}
}

@media (max-width: 700px) {
	.decalogue-list {
		--decalogue-rope-number-gap: 0.75rem;
		--decalogue-number-width: 2.85rem;
		--decalogue-number-text-gap: 1.1rem;
	}

	.news-page-background {
		height: clamp(650px, 142vw, 980px);
	}

	.news-page-background::after {
		height: 20%;
	}

	.video-news-layout {
		padding-top: clamp(34rem, 125vw, 47rem);
	}

	.video-news-layout--single {
		padding-top: clamp(15rem, 65vw, 21rem);
	}

	.video-news-stream--single .video-news-item__media {
		width: min(100%, 360px);
		aspect-ratio: 9 / 16;
		margin-inline: auto;
	}

	.video-news-item--featured .video-news-item__copy {
		padding-left: 1rem;
	}

	.program-page__hero {
		padding-top: clamp(4.45rem, 19vw, 5.8rem);
	}

	.program-page__slogan {
		top: 0.55rem;
	}

	.program-page__slogan-main {
		font-size: clamp(1.38rem, 6vw, 2.2rem);
	}

	.program-page__slogan-sub {
		margin-top: 0.36rem;
		font-size: clamp(0.76rem, 3.15vw, 0.98rem);
	}

	.campaign-brush--program {
		top: 58%;
	}

	.campaign-brush--program .campaign-brush__motion {
		width: min(60vw, 16rem);
	}

	.campaign-brush--election {
		position: relative;
		bottom: auto;
		left: auto;
		width: 100%;
		margin: clamp(1.5rem, 7vw, 2.3rem) auto 0;
		padding-inline: 0.5rem;
	}

	.campaign-brush--election .campaign-brush__motion {
		width: min(78vw, 19rem);
		margin-inline: auto;
	}

	.program-page__candidate-labels {
		position: absolute;
		top: 62.5%;
		left: 0;
		display: grid;
		grid-template-columns: 14% 17% 16% 14% 13% 13% 13%;
		align-items: start;
		width: 100%;
		padding: 0 1.1%;
		overflow: visible;
		background: none;
	}

	.program-page__candidate-scroll {
		display: contents;
	}

	.program-page__candidate-label {
		min-width: 0;
	}

	.program-page__candidate-given {
		font-size: clamp(0.43rem, 2.1vw, 0.58rem);
	}

	.program-page__candidate-family {
		font-size: clamp(0.36rem, 1.72vw, 0.48rem);
	}

	.program-page__candidate-party {
		width: min(70%, 2.75rem);
		padding: 0.2em 0.32em 0.18em;
		font-size: clamp(0.31rem, 1.45vw, 0.39rem);
		letter-spacing: 0.055em;
	}

	.program-page__body {
		margin-top: -2px;
		background: var(--spd-sky);
	}

	.program-page__layout {
		padding-top: clamp(2.6rem, 9vw, 4rem);
		padding-bottom: 4rem;
	}

	.program-page__header {
		margin-bottom: 2.5rem;
	}

	.program-page__title,
	.program-page-content--decalogue .program-page__title {
		font-size: clamp(2rem, 10vw, 3.25rem);
	}

	.vision-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}

	.vision-grid > li,
	.vision-grid > li:first-child,
	.vision-grid > li:last-child {
		padding: 2.3rem 0;
		border-top: 1px solid rgba(0, 122, 204, 0.32);
		border-right: 0;
	}

	.vision-grid > li:first-child {
		padding-top: 0;
		border-top: 0;
	}

	.vision-grid h2,
	.decalogue-list h2 {
		font-size: clamp(1.16rem, 5.3vw, 1.45rem);
	}

	.vision-grid p,
	.decalogue-list p,
	.team-member p {
		font-size: 1rem;
	}

	.decalogue-list > li,
	.decalogue-list > li:nth-child(even) {
		margin-left: calc(var(--decalogue-rope-left) + var(--decalogue-rope-width) + var(--decalogue-rope-number-gap) + var(--decalogue-number-width) + var(--decalogue-number-text-gap));
	}

	.decalogue-list > li::before,
	.decalogue-list > li:nth-child(even)::before {
		left: calc(0px - var(--decalogue-number-width) - var(--decalogue-number-text-gap));
		width: var(--decalogue-number-width);
		font-size: clamp(2rem, 9vw, 2.85rem);
	}

	.decalogue-list > li::after,
	.decalogue-list > li:nth-child(even)::after {
		left: -3.58rem;
	}

	.team-member,
	.team-member:nth-child(even) {
		grid-template-columns: 3.8rem minmax(0, 1fr);
	}

	.team-member__portrait,
	.team-member:nth-child(even) .team-member__portrait {
		width: min(320px, 100%);
	}

	.team-member h2 {
		font-size: clamp(1.55rem, 7vw, 2.05rem);
	}
}

@media (max-width: 520px) {
	:root {
		--page-gutter: 1rem;
	}

	.decalogue-list {
		--decalogue-rope-left: 0.25rem;
		--decalogue-rope-width: 24px;
		--decalogue-rope-number-gap: 0.75rem;
		--decalogue-number-width: 2.45rem;
		--decalogue-number-text-gap: 0.75rem;
	}

	.decalogue-list::before {
		left: var(--decalogue-rope-left);
		width: var(--decalogue-rope-width);
	}

	.decalogue-list > li::before,
	.decalogue-list > li:nth-child(even)::before {
		font-size: clamp(1.85rem, 8vw, 2.45rem);
	}

	.site-branding {
		gap: 0.5rem;
	}

	.video-hero--election .video-hero__content {
		align-items: flex-start;
		padding-block: 1rem 5.5rem;
	}

	.election-letter {
		width: 100%;
		font-size: clamp(1.18rem, 5.2vw, 1.38rem);
		line-height: 1.48;
	}

	.election-letter__skip {
		margin-bottom: 0.8rem;
	}

	.home .election-letter__closing {
		padding-inline: 3.5rem;
	}

	.home .election-letter__closing .election-letter__signature {
		width: calc(100% + 7rem);
		margin-inline: -3.5rem;
	}

	.program-page__title {
		font-size: clamp(1.95rem, 10.4vw, 2.8rem);
	}

	.page-hero__inner {
		min-height: 170px;
	}

	.search-form {
		align-items: stretch;
		flex-direction: column;
	}

	.search-submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.election-letter__glyph,
	.election-letter__date::after {
		transition: none !important;
	}

	.campaign-brush__motion {
		opacity: 1 !important;
		animation: none !important;
		transform: none !important;
	}
}

@media (forced-colors: active) {
	.campaign-brush__motion {
		width: auto;
		aspect-ratio: auto;
		font-size: clamp(2rem, 6vw, 5rem);
		line-height: 1.05;
		color: CanvasText;
		background-image: none;
		filter: none;
	}
}

@media (max-width: 360px) {
	.site-header__inner {
		gap: 0.625rem;
	}

	.site-branding {
		--brand-logo-width: clamp(70.2px, 22.5vw, 81px);
		--brand-city-width: clamp(105.5px, 33.81vw, 121.7px);
		gap: 0.4rem;
	}
}

@media (max-width: 782px) {
	body.admin-bar {
		--admin-bar-offset: 46px;
	}
}

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

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

	.program-page__slogan-sub::after {
		animation: none !important;
		transform: rotate(-1.1deg) scaleX(1);
	}

	.video-hero__media {
		display: none !important;
	}

	.video-hero__control {
		display: none !important;
	}
}


/* Newer video posts grow upwards; keep the original artwork at the origin. */
.news-page-content--organic:has(.video-news-stream--alternating) {
    background: #014190;
}

.video-news-layout--timeline {
    --news-row-gap: clamp(14rem, 18vw, 18rem);
    --news-tail-space: clamp(5rem, 10vw, 8rem);
    --news-origin-offset: clamp(10rem, 18vw, 18rem);
    --news-bottom-space: clamp(4rem, 8vw, 7rem);
    padding-top: clamp(5rem, 8vw, 8rem);
    padding-bottom: 0;
}

.video-news-stream--alternating::before {
    content: none;
}

.video-news-stream--alternating > .video-news-stream__entry {
    width: min(920px, 78%);
    margin: 0 auto var(--news-row-gap);
}

.video-news-stream--alternating > .video-news-stream__entry:last-child {
    margin-bottom: calc(var(--news-tail-space) / 2 + 1rem);
}

.video-news-stream--alternating > .video-news-stream__entry::before {
    content: none;
}

.video-news-stream--alternating > .video-news-stream__entry::after {
    position: absolute;
    top: calc(100% + 2rem);
    bottom: auto;
    left: 50%;
    width: 3px;
    height: calc(var(--news-row-gap) - 4rem);
    border: 0;
    border-radius: 99px;
    background: rgba(0, 122, 204, 0.48);
    transform: translateX(-50%);
    content: "";
}

.video-news-stream--alternating > .video-news-stream__entry::before {
    top: calc(100% + var(--news-row-gap) / 2);
    bottom: auto;
    right: auto;
    left: 50%;
    width: 18px;
    height: 18px;
    border: 4px solid var(--spd-sky);
    background: var(--spd-red);
    box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.55);
    transform: translate(-50%, -50%);
    content: "";
}

.video-news-stream--alternating > .video-news-stream__entry:last-child::after {
    top: 100%;
    height: calc(var(--news-tail-space) - 2rem);
}

.video-news-stream--alternating > .video-news-stream__entry:last-child::before {
    top: calc(100% + var(--news-tail-space) / 2);
}

.video-news-stream--alternating .video-news-item {
    color: #000;
}

.video-news-stream--alternating .video-news-item__title {
    color: inherit;
}

.video-news-stream__entry--origin > .news-page-background {
    top: calc(-1 * var(--news-origin-offset));
    right: auto;
    bottom: auto;
    left: 50%;
    width: 100vw;
    height: calc(100% + var(--news-origin-offset) + var(--news-bottom-space) + var(--news-tail-space));
    background: var(--spd-sky);
    transform: translateX(-50%);
    mask-image: linear-gradient(to bottom, transparent, #000 5rem);
}

.video-news-stream__entry--origin > .news-page-background img {
    height: clamp(720px, 100vh, 1080px);
}

.video-news-stream__entry--origin > .news-page-background::after {
    top: clamp(518.4px, 72vh, 777.6px);
    bottom: auto;
    height: clamp(201.6px, 28vh, 302.4px);
}

@media (min-width: 900px) {
    .video-news-stream__entry--origin > .news-page-background img {
        height: 100%;
    }

    .video-news-stream__entry--origin > .news-page-background::after {
        top: auto;
        bottom: -2px;
        height: 28%;
    }

    .video-news-stream--alternating > .video-news-stream__entry:nth-last-child(even) .video-news-item__media {
        grid-column: 2;
        grid-row: 1;
    }

    .video-news-stream--alternating > .video-news-stream__entry:nth-last-child(even) .video-news-item__copy {
        grid-column: 1;
        grid-row: 1;
    }
}

#prispevky-na-skolni-pobyty .video-news-item {
    color: #fff;
}

.news-video-modal__focus-guard {
    position: fixed;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

#prispevky-na-skolni-pobyty .video-news-item__media {
    width: min(100%, 360px);
    aspect-ratio: 9 / 16;
    margin-inline: auto;
}

.news-video-modal__dialog:has(.news-video-modal__player[src*="prispevky-skolni-pobyty-"]) {
    width: min(100%, 43.875vh, 427.5px);
}

.news-video-modal__player[src*="prispevky-skolni-pobyty-"] {
    height: auto;
    aspect-ratio: 9 / 16;
}

#prispevky-na-skolni-pobyty .school-news-emoji::before {
    content: attr(data-emoji);
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
}

#prispevky-na-skolni-pobyty .school-news-emoji[data-emoji="🔹"]::before {
    content: "◆";
    color: #8dd1ff;
    font-family: inherit;
    font-size: 0.85em;
}

@media (max-width: 899px) {
    .video-news-layout--timeline {
        --news-row-gap: 12rem;
        --news-origin-offset: clamp(17rem, 70vw, 25rem);
        padding-top: 4rem;
    }

    .video-news-stream--alternating > .video-news-stream__entry {
        width: min(100%, 620px);
        margin-inline: auto;
    }
}

@media (max-width: 700px) {
    .video-news-layout--timeline {
        --news-origin-offset: clamp(15rem, 65vw, 21rem);
        padding-top: 3rem;
    }

    /* The mobile artwork's red/blue junction is at 86% of its height. */
    .video-news-stream__entry--origin > .news-page-background {
        height: calc((100% + var(--news-origin-offset) + var(--news-tail-space) / 2 + 1rem) / 0.86);
    }

    .video-news-stream__entry--origin > .news-page-background img {
        height: 100%;
    }

    .video-news-stream__entry--origin > .news-page-background::after {
        top: auto;
        bottom: -2px;
        height: 28%;
    }
}
