/*
Theme Name: Obec
Theme URI: https://www.example.org/
Author: Obec
Author URI: https://www.example.org/
Description: Accessible, reusable WordPress theme for Slovak municipal websites.
Version: 1.7.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: obec
*/

@font-face {
	font-family: "Lora Local";
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/lora-italic.ttf") format("truetype");
}

@font-face {
	font-family: "Inter Local";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter Local";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin-ext-variable.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter Local";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/inter-italic-latin-variable.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter Local";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/inter-italic-latin-ext-variable.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--color-red: #c4162a;
	--color-red-dark: #8f1020;
	--color-yellow: #ffc928;
	--color-yellow-soft: #fff2b8;
	--color-ink: #101010;
	--color-muted: #555c64;
	--color-line: #dfe7ed;
	--color-sky: #fff7e9;
	--color-surface: #ffffff;
	--color-focus: #005fcc;
	--color-navy: #17324d;
	--color-cream: #f7f2e8;
	--shadow-card: 0 18px 50px rgba(23, 31, 38, 0.13);
	--shadow-soft: 0 8px 28px rgba(23, 31, 38, 0.08);
	--content: 1280px;
	--radius: 14px;
	--font-main: "Inter Local", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #f8f7f4;
	color: var(--color-ink);
	font-family: var(--font-main);
	font-optical-sizing: auto;
	font-size: 16px;
	line-height: 1.55;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: var(--color-red-dark);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 3px;
}

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

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

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	padding: 0.8rem 1rem;
	background: #fff;
	color: var(--color-ink);
	border: 3px solid var(--color-focus);
	border-radius: var(--radius);
}

.site-header {
	position: relative;
	z-index: 50;
	background: var(--color-surface);
	border-top: 3px solid var(--color-red-dark);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

.top-bar {
	background: var(--color-cream);
	color: #111;
	font-size: 0.82rem;
	font-weight: 700;
}

.top-bar__inner,
.header-main,
.primary-navigation,
.site-footer__inner {
	width: min(var(--content), calc(100% - 2rem));
	margin-inline: auto;
}

.top-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.4rem;
}

.icon {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
	flex: 0 0 auto;
}

.top-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.top-links a {
	color: #111;
	text-decoration: none;
}

.top-links a:hover {
	text-decoration: underline;
}

.top-link__mobile {
	display: none;
}

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

.social-links a {
	display: grid;
	place-items: center;
	width: 2.45rem;
	height: 2.45rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: inherit;
	transition: transform 160ms ease, background 160ms ease;
}

.social-links a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: inherit;
	transform: translateY(-2px);
}

.social-links--top a {
	width: 1.9rem;
	height: 1.9rem;
	border-color: #d9cfc0;
	color: var(--color-red-dark);
}

.social-links--top .icon {
	width: 1rem;
	height: 1rem;
}

.header-main {
	display: grid;
	grid-template-columns: minmax(20rem, 1fr) auto auto;
	align-items: center;
	gap: 1.4rem;
	min-height: 6.5rem;
	padding: 1.35rem 0;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.site-logo {
	width: 4.2rem;
	height: 4.2rem;
	border: 1px solid #aeb8c0;
	border-radius: 0 0 1.4rem 1.4rem;
	background:
		radial-gradient(circle at 50% 28%, var(--color-yellow) 0 18%, transparent 19%),
		linear-gradient(145deg, var(--color-red), var(--color-red-dark));
	flex: 0 0 auto;
}

.custom-logo {
	width: 4.8rem;
	height: 5.4rem;
	object-fit: contain;
	flex: 0 0 auto;
}

.site-title {
	display: block;
	color: var(--color-red-dark);
	font-size: clamp(1.55rem, 2.25vw, 2.35rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

.site-years {
	display: block;
	margin-top: 0.12rem;
	color: #8a5a00;
	font-size: clamp(0.9rem, 1.35vw, 1.2rem);
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.1;
}

.site-slogan {
	display: block;
	margin-top: 0.08rem;
	color: #3e332f;
	font-family: "Lora Local", Georgia, serif;
	font-size: clamp(0.9rem, 1.2vw, 1.15rem);
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.header-tools {
	display: grid;
	grid-template-columns: auto auto repeat(3, auto);
	align-items: center;
	gap: 0.75rem;
}

.suggestion-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.45rem;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	background: var(--color-red);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.suggestion-button:hover {
	background: var(--color-red-dark);
	color: #fff;
}

#podnety-obce {
	min-height: 30rem;
}

#podnety-obce:empty {
	display: grid;
	place-items: center;
	border: 1px dashed #cbd4da;
	border-radius: 12px;
	background: #f7f9fa;
}

#podnety-obce:empty::before {
	content: "Načítava sa formulár podnetu…";
	color: #60707b;
	font-weight: 700;
}

.header-search {
	display: flex;
	align-items: center;
	width: 14.5rem;
	min-height: 2.5rem;
	border: 1px solid #b9c4cc;
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.header-search input {
	min-width: 0;
	width: 100%;
	border: 0;
	padding: 0.55rem 0.75rem;
	background: transparent;
	color: var(--color-ink);
}

.header-search button {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	background: transparent;
	color: var(--color-red-dark);
	font-size: 1.2rem;
	cursor: pointer;
}

.tool-link {
	display: grid;
	place-items: center;
	gap: 0.12rem;
	color: #111;
	font-size: 0.78rem;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
}

.tool-link span {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid #c8d0d6;
	border-radius: 50%;
	background: #fff;
	color: var(--color-red);
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tool-link:hover span {
	border-color: var(--color-red);
	background: #fff2f3;
	color: var(--color-red-dark);
}

.tool-link strong {
	font-weight: 700;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.75rem;
	padding: 0.55rem 0.85rem;
	border: 2px solid var(--color-red);
	border-radius: var(--radius);
	background: var(--color-surface);
	color: var(--color-red-dark);
	cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 1.15rem;
	height: 2px;
	background: currentColor;
	content: "";
}

.menu-toggle__icon {
	position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
	position: absolute;
	left: 0;
}

.menu-toggle__icon::before {
	top: -6px;
}

.menu-toggle__icon::after {
	top: 6px;
}

.nav-bar {
	background: #fff9f9;
	border-top: 1px solid #f4dadd;
	border-bottom: 1px solid #f4dadd;
}

.primary-navigation ul {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	display: block;
	padding: 1rem clamp(.55rem, .9vw, .85rem);
	color: #111;
	font-size: clamp(.82rem, 1.05vw, .95rem);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	background: #fae4e6;
	color: var(--color-red-dark);
}

.primary-navigation a:not([href]) {
	cursor: default;
	text-decoration: none;
}

.primary-navigation .sub-menu {
	position: absolute;
	z-index: 20;
	display: none;
	min-width: 15rem;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	display: block;
}

.primary-navigation .sub-menu a {
	padding: 0.75rem 1rem;
}

@media (min-width: 1041px) {
	.primary-navigation > ul {
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	.primary-navigation > ul > .menu-item-has-children > a {
		display: flex;
		align-items: center;
		gap: .35rem;
	}

	.primary-navigation > ul > .menu-item-has-children > a::after {
		content: "";
		width: .38rem;
		height: .38rem;
		margin-top: -.18rem;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		color: #687680;
		transform: rotate(45deg);
		transition: color 150ms ease, transform 150ms ease;
	}

	.primary-navigation > ul > .menu-item-has-children:hover > a::after,
	.primary-navigation > ul > .menu-item-has-children:focus-within > a::after {
		margin-top: .18rem;
		color: var(--color-red-dark);
		transform: rotate(225deg);
	}

	.primary-navigation > ul > li:hover > a,
	.primary-navigation > ul > li:focus-within > a {
		background: #fae4e6;
		color: var(--color-red-dark);
	}

	.primary-navigation > ul > li > .sub-menu {
		top: 100%;
		left: 0;
		grid-template-columns: repeat(2, minmax(13rem, 1fr));
		gap: .2rem .65rem;
		width: min(42rem, calc(100vw - 2rem));
		max-width: none;
		max-height: min(72vh, 43rem);
		overflow-y: auto;
		padding: .75rem;
		border-radius: 0 0 14px 14px;
		background: #fff;
	}

	.primary-navigation > ul > li:hover > .sub-menu,
	.primary-navigation > ul > li:focus-within > .sub-menu {
		display: grid;
	}

	.primary-navigation > ul > li:nth-last-child(-n + 4) > .sub-menu {
		right: 0;
		left: auto;
	}

	.primary-navigation .sub-menu {
		width: max-content;
		max-width: 22rem;
		padding: .4rem;
		border-radius: 0 0 12px 12px;
	}

	.primary-navigation .sub-menu li {
		width: 100%;
	}

	.primary-navigation .sub-menu a {
		border-radius: 8px;
		white-space: normal;
	}

	.primary-navigation > ul > li > .sub-menu > li > a {
		height: 100%;
		padding: .65rem .75rem;
		font-size: .9rem;
		line-height: 1.35;
	}

	.primary-navigation .sub-menu .menu-item-has-children > a {
		padding-right: 2.4rem;
	}

	.primary-navigation .sub-menu .menu-item-has-children > a::after {
		position: absolute;
		right: .85rem;
		top: 50%;
		content: "";
		width: .38rem;
		height: .38rem;
		border-top: 1.5px solid currentColor;
		border-right: 1.5px solid currentColor;
		color: #687680;
		transform: translateY(-50%) rotate(45deg);
	}

	.primary-navigation > ul > li > .sub-menu > .menu-item-has-children {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: minmax(9.5rem, .42fr) minmax(0, 1.58fr);
		gap: .5rem;
		align-items: start;
		margin-top: .25rem;
		padding: .55rem;
		border: 1px solid #e1e6ea;
		border-radius: 10px;
		background: #f7f9fa;
	}

	.primary-navigation > ul > li > .sub-menu > .menu-item-has-children > a {
		height: auto;
		padding: .55rem .65rem;
		color: var(--color-navy);
		font-weight: 850;
	}

	.primary-navigation > ul > li > .sub-menu > .menu-item-has-children > a::after {
		display: none;
	}

	.primary-navigation > ul > li > .sub-menu > .menu-item-has-children > .sub-menu {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .15rem .45rem;
		width: auto;
		max-width: none;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.primary-navigation > ul > li > .sub-menu > .menu-item-has-children > .sub-menu a {
		padding: .5rem .6rem;
		font-size: .84rem;
		line-height: 1.3;
	}

	/*
	 * "O obci" contains substantially more links than the other sections.
	 * Flow its links into compact columns and keep nested sections together,
	 * instead of stretching Projects across the whole mega menu.
	 */
	.primary-navigation > ul > .menu-section-about > .sub-menu {
		width: min(50rem, calc(100vw - 2rem));
		max-height: min(68vh, 36rem);
		padding: .8rem;
		column-count: 3;
		column-gap: .65rem;
		column-rule: 1px solid #edf0f2;
	}

	.primary-navigation > ul > .menu-section-about:hover > .sub-menu,
	.primary-navigation > ul > .menu-section-about:focus-within > .sub-menu {
		display: block;
	}

	.primary-navigation > ul > .menu-section-about > .sub-menu > li {
		display: inline-block;
		width: 100%;
		margin: 0 0 .2rem;
		break-inside: avoid;
	}

	.primary-navigation > ul > .menu-section-about > .sub-menu > li > a {
		padding: .55rem .65rem;
		font-size: .86rem;
	}

	.primary-navigation > ul > .menu-section-about > .sub-menu > .menu-section-group {
		display: inline-block;
		margin: .25rem 0 .45rem;
		padding: .35rem;
		border-color: #dce3e8;
		background: #f6f8f9;
	}

	.primary-navigation > ul > .menu-section-about > .sub-menu > .menu-section-group > a {
		padding: .55rem .6rem;
		border-bottom: 1px solid #dfe5e9;
		border-radius: 7px 7px 3px 3px;
	}

	.primary-navigation > ul > .menu-section-about > .sub-menu > .menu-section-group > .sub-menu {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: .1rem;
		margin-top: .25rem;
	}

	.primary-navigation > ul > .menu-section-about > .sub-menu > .menu-section-group > .sub-menu a {
		padding: .42rem .55rem;
		font-size: .81rem;
		line-height: 1.25;
	}
}

.submenu-toggle {
	display: none;
}

.site-main {
	position: relative;
	z-index: 0;
	width: 100%;
	padding: 1px 1rem 3.5rem;
	background: linear-gradient(180deg, #f8f7f4 0%, #fff 32rem);
}

.site-main > :not(.top-news-stage):not(.front-content-grid) {
	width: min(var(--content), 100%);
	margin-right: auto;
	margin-left: auto;
}

.top-news-stage {
	position: relative;
	margin-right: -1rem;
	margin-left: -1rem;
	padding: 3rem 1rem 0;
	background: var(--stage-bg, linear-gradient(135deg, #fff7e9, #fff4ba));
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.top-news-stage::before {
	position: absolute;
	inset: -18px;
	z-index: 0;
	background: inherit;
	filter: blur(9px);
	transform: scale(1.03);
	content: "";
}

.top-news-stage::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg, transparent 0%, transparent 72%, #fff 100%),
		rgba(0, 0, 0, 0.42);
	content: "";
}

.top-news-stage__inner {
	position: relative;
	z-index: 1;
	width: min(var(--content), 100%);
	margin-inline: auto;
}

.top-news-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.42fr) minmax(20rem, 1fr);
	grid-template-rows: repeat(2, minmax(14rem, 1fr));
	gap: 1.35rem;
}

.top-news-card {
	position: relative;
	min-height: 14rem;
	background: var(--color-red-dark);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.top-news-card--large {
	grid-row: span 2;
	min-height: 32.75rem;
}

.top-news-card__link {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff;
	text-decoration: none;
}

.top-news-card img,
.top-news-card__fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.top-news-card__image.is-fallback-image {
	filter: saturate(0.9) contrast(1.03);
}

.top-news-card__fallback {
	display: block;
	background:
		radial-gradient(circle at 25% 28%, rgba(255, 201, 40, 0.85), transparent 20rem),
		linear-gradient(135deg, var(--color-red), var(--color-red-dark));
}

.top-news-card__link:hover img,
.top-news-card__link:hover .top-news-card__fallback {
	transform: scale(1.03);
}

.top-news-card__overlay {
	position: absolute;
	inset: auto 0 0;
	display: grid;
	gap: 0.65rem;
	padding: 2rem 2.2rem;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.top-news-card__meta {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.top-news-card__meta span,
.top-news-card__meta time {
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	background: var(--color-red);
}

.top-news-card__meta time {
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.75);
	text-transform: none;
}

.top-news-card__title {
	max-width: 82%;
	color: #fff;
	font-size: clamp(1.65rem, 2.8vw, 2.1rem);
	font-weight: 900;
	line-height: 1.1;
}

.top-news-card:not(.top-news-card--large) .top-news-card__title {
	font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.top-news-card__arrow {
	position: absolute;
	right: 2rem;
	bottom: 2rem;
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	font-size: 1.45rem;
}

.feature-links {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.9rem;
	padding: 2.2rem 0 2rem;
	border-bottom: 0;
}

.front-editable,
.contact-page-content {
	width: min(var(--content), calc(100% - 2rem));
	margin: 2rem auto 0;
}

.contact-page-content.entry-content {
	max-width: var(--content);
}

/* Data-heavy public information page needs the full content width. */
.page-id-3646 .page-layout {
	grid-template-columns: minmax(0, 1fr);
}

.page-id-3646 .entry-content {
	max-width: none;
	display: grid;
	gap: 1.35rem;
	padding: clamp(1rem, 2.4vw, 2rem);
}

.page-id-3646 .entry-header h1 {
	max-width: 30ch;
	font-size: clamp(2.25rem, 5vw, 4.6rem);
}

.page-id-3646 .context-sidebar {
	position: static;
}

.page-id-3646 .context-menu {
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: .45rem;
}

.page-id-3646 .access-page-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem 2rem;
	align-items: center;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border: 1px solid #dfe6eb;
	border-radius: 16px;
	background: linear-gradient(135deg, #f7f9fa, #fffaf0);
}

.page-id-3646 .access-page-intro p {
	max-width: 68ch;
	margin: 0;
	color: #52616d;
}

.page-id-3646 .access-jump-nav {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
}

.page-id-3646 .access-jump-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 2.55rem;
	padding: .5rem .8rem;
	border: 1px solid #d6dde2;
	border-radius: 999px;
	background: #fff;
	color: #17324d;
	font-size: .88rem;
	font-weight: 800;
	text-decoration: none;
}

.page-id-3646 .access-jump-nav a:hover,
.page-id-3646 .access-jump-nav a:focus-visible {
	border-color: #8f1020;
	color: #8f1020;
}

.page-id-3646 .access-section {
	min-width: 0;
	padding: clamp(1rem, 2.3vw, 1.6rem);
	border: 1px solid #dfe5e9;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(23, 50, 77, .055);
	scroll-margin-top: 1rem;
}

.page-id-3646 .access-section > header {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: end;
	margin-bottom: 1rem;
	padding-bottom: .9rem;
	border-bottom: 1px solid #e1e6ea;
}

.page-id-3646 .access-section > header h2 {
	margin: 0;
	font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.page-id-3646 .access-section > header p {
	max-width: 54rem;
	margin: 0;
	color: #5f6c76;
}

.page-id-3646 .access-section .obec-data-module {
	margin: 0;
}

.page-id-3646 .access-legacy-files {
	margin-top: 1.35rem;
	border: 1px solid #dce3e8;
	border-radius: 12px;
	background: #f8fafb;
}

.page-id-3646 .access-legacy-files > summary {
	padding: .9rem 1rem;
	cursor: pointer;
	color: #17324d;
	font-weight: 850;
}

.page-id-3646 .access-year-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	padding: 0 1rem 1rem;
}

.page-id-3646 .access-year-grid section {
	padding: .9rem;
	border: 1px solid #e0e5e9;
	border-radius: 10px;
	background: #fff;
}

.page-id-3646 .access-year-grid h3 {
	margin: 0 0 .55rem;
	font-size: 1rem;
}

.page-id-3646 .access-year-grid ul {
	display: grid;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-id-3646 .access-year-grid a {
	display: block;
	padding: .28rem 0;
	font-size: .9rem;
}

.page-id-3646 .access-archive-link {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
	padding: 1rem 1.1rem;
	border-radius: 12px;
	background: #f4f6f7;
}

.page-id-3646 .access-archive-link p {
	margin: 0;
}

.page-id-3646 .access-archive-link a {
	flex: 0 0 auto;
	font-weight: 850;
}

@media (max-width: 900px) {
	.page-id-3646 .access-page-intro,
	.page-id-3646 .access-year-grid {
		grid-template-columns: 1fr;
	}

	.page-id-3646 .access-section > header,
	.page-id-3646 .access-archive-link {
		align-items: flex-start;
		flex-direction: column;
	}
}

.page-id-3714 .page-layout {
	grid-template-columns: minmax(0, 1fr);
}

.page-id-3714 .context-sidebar {
	position: static;
}

.page-id-3714 .context-menu {
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: .45rem;
}

.front-editable:empty {
	display: none;
}

.feature-links a {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-height: 5rem;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow-soft);
	color: #111;
	font-weight: 900;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-links a:hover {
	color: var(--color-red-dark);
	box-shadow: var(--shadow-card);
	transform: translateY(-2px);
}

.feature-links span {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	color: var(--color-red-dark);
	line-height: 1;
	flex: 0 0 auto;
}

.feature-links .icon {
	width: 1.65rem;
	height: 1.65rem;
}

.front-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
	gap: 3rem;
	width: min(var(--content), calc(100% - 2rem));
	margin: 2.6rem auto 0;
}

.front-section {
	margin: 0;
}

.section-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.2rem;
}

.section-header h1,
.section-header h2,
h1,
h2,
h3 {
	color: var(--color-ink);
	line-height: 1.18;
}

h1 {
	font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
	margin: 0;
	font-size: clamp(1.6rem, 2.2vw, 2rem);
	font-weight: 500;
}

h3 {
	margin: 0 0 0.4rem;
	font-size: 1.18rem;
}

.section-header--tabs {
	display: block;
}

.section-header--tabs p {
	display: flex;
	gap: 0.75rem;
	margin: 0.8rem 0 0;
	font-size: 0.9rem;
	font-weight: 800;
}

.notice-list {
	display: grid;
	gap: 1.1rem;
}

.notice-item {
	display: grid;
	grid-template-columns: 15rem minmax(0, 1fr);
	gap: 1rem;
	padding: 0.75rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.notice-item__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #f1e9df, var(--color-cream));
	border-radius: calc(var(--radius) - 5px);
	overflow: hidden;
}

.notice-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.notice-item h3 a {
	color: #111;
	text-decoration: none;
}

.notice-item h3 a:hover {
	color: var(--color-red-dark);
	text-decoration: underline;
}

.notice-item p {
	margin: 0;
	color: var(--color-muted);
}

.post-card__meta,
.event-card__meta,
.entry-meta {
	color: var(--color-muted);
	font-size: 0.88rem;
}

.post-card__meta,
.entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.post-card__meta span,
.entry-meta span {
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: #f7e7e9;
	color: var(--color-red-dark);
	font-size: 0.75rem;
	font-weight: 800;
}

.events-list {
	display: grid;
	gap: 0.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.event-card {
	display: grid;
	grid-template-columns: 4.2rem minmax(0, 1fr);
	gap: 0.9rem;
	align-items: start;
	padding: 1rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.event-date {
	display: grid;
	place-items: center;
	min-height: 4.2rem;
	padding: 0.4rem;
	background: var(--color-red);
	border-radius: 10px;
	color: #fff;
	text-align: center;
	font-size: 1.3rem;
	font-weight: 900;
	line-height: 1.1;
}

.event-date span {
	display: block;
	color: var(--color-yellow);
	font-size: 0.78rem;
	text-transform: uppercase;
}

.event-card h3 {
	font-size: 1.05rem;
}

.event-card h3 a {
	color: #111;
	text-decoration: none;
}

.event-card h3 a:hover {
	color: var(--color-red-dark);
	text-decoration: underline;
}

.calendar-panel {
	align-self: start;
	padding: clamp(1.1rem, 2vw, 1.5rem);
	border: 1px solid #e5d9cc;
	border-radius: calc(var(--radius) + 4px);
	background: linear-gradient(155deg, #fffaf1, #fff 45%);
	box-shadow: var(--shadow-soft);
}

.calendar-panel__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.1rem;
}

.calendar-panel__header h2 {
	font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.calendar-panel__header > a {
	font-size: 0.88rem;
	font-weight: 800;
	white-space: nowrap;
}

.calendar-panel .events-list {
	gap: 0;
	border-top: 1px solid var(--color-line);
}

.calendar-panel .events-list > li {
	border-bottom: 1px solid var(--color-line);
}

.calendar-panel .event-card {
	grid-template-columns: 3.65rem minmax(0, 1fr);
	gap: 0.85rem;
	padding: 0.95rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.calendar-panel .event-date {
	min-height: 3.65rem;
	border-radius: 12px;
	background: var(--color-navy);
	font-size: 1.1rem;
}

.calendar-panel .event-date span {
	color: #fff;
	font-size: 0.68rem;
}

.event-card__body {
	min-width: 0;
}

.calendar-panel .event-card h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.32;
}

.event-card__time {
	display: inline-block;
	margin: 0.35rem 0 0;
	color: var(--color-red-dark);
	font-size: 0.82rem;
	font-weight: 850;
}

.calendar-panel .event-card__meta {
	margin: 0.12rem 0 0;
	line-height: 1.35;
}

.calendar-panel__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 3rem;
	margin-top: 1.1rem;
	border-radius: 10px;
	background: var(--color-red);
	color: #fff;
	font-weight: 850;
	text-decoration: none;
}

.calendar-panel__button:hover {
	background: var(--color-red-dark);
	color: #fff;
}

.calendar-panel__button .icon {
	width: 1.2rem;
	height: 1.2rem;
}

.content-box,
.info-panel {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.button,
.wp-block-button__link,
.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.65rem 1rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background: var(--color-red);
	color: #fff;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover,
.search-submit:hover {
	background: var(--color-red-dark);
	color: #fff;
}

.button--secondary {
	border-color: #cfd7dc;
	background: #fff;
	color: var(--color-navy);
}

.button--secondary:hover {
	border-color: var(--color-red);
	background: #fff2f3;
	color: var(--color-red-dark);
}

.page-header {
	margin: 2rem 0 1.4rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid #eadfd2;
	border-radius: var(--radius);
	background: radial-gradient(circle at 92% 10%, rgba(229, 183, 70, 0.28), transparent 19rem), linear-gradient(135deg, #fffaf1, #fff);
	color: var(--color-ink);
	box-shadow: var(--shadow-soft);
}

.page-header h1 {
	margin: 0;
	color: var(--color-navy);
}

.page-header p:last-child,
.page-header__description > :last-child {
	margin-bottom: 0;
}

.page-header__description {
	max-width: 72ch;
	color: var(--color-muted);
}

.eyebrow {
	margin: 0 0 0.5rem;
	color: var(--color-red-dark);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.archive-list {
	display: grid;
	gap: 1.1rem;
}

.post-card {
	display: grid;
	grid-template-columns: 16rem minmax(0, 1fr);
	gap: 1rem;
	padding: 0.75rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.post-card:hover {
	box-shadow: var(--shadow-card);
	transform: translateY(-2px);
}

.post-card__media {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #f1e9df, var(--color-cream));
	border-radius: calc(var(--radius) - 5px);
	overflow: hidden;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 0.4rem 0.5rem 0.4rem 0;
}

.post-card__title {
	margin: 0.25rem 0 0.4rem;
	font-size: 1.35rem;
}

.post-card__title a {
	color: #111;
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--color-red-dark);
	text-decoration: underline;
}

.post-card__excerpt {
	margin: 0;
	color: var(--color-muted);
}

.entry-content {
	max-width: 72ch;
	font-size: 1.05rem;
}

.page-id-4282 .entry-content {
	max-width: none;
}

.youtube-gallery-intro {
	max-width: 72ch;
	margin-bottom: 1.5rem;
	color: var(--color-muted);
}

.youtube-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.youtube-video {
	min-width: 0;
	margin: 0;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.youtube-video__frame {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #f1e9df, var(--color-cream));
}

.youtube-video__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.youtube-video__caption {
	padding: 1rem 1.1rem 1.1rem;
}

.youtube-video__caption h2 {
	margin: 0 0 .25rem;
	font-size: 1.12rem;
	line-height: 1.3;
}

.youtube-video__caption p {
	margin: 0;
	color: var(--color-muted);
	font-size: .88rem;
}

@media (max-width: 720px) {
	.youtube-gallery {
		grid-template-columns: 1fr;
	}
}

.entry-header {
	margin: 2.25rem auto 1.75rem;
}

.entry-header h1 {
	max-width: 22ch;
	margin: 0.45rem 0 0;
	color: var(--color-navy);
}

.entry-featured {
	display: grid;
	place-items: center;
	margin: 0 0 2.25rem;
	padding: clamp(0.65rem, 1.5vw, 1rem);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #f6f3ee;
	overflow: hidden;
}

.entry-featured__image {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(66vh, 34rem);
	border-radius: calc(var(--radius) - 5px);
	object-fit: contain;
}

.entry-featured--fallback {
	padding: 0;
}

.entry-featured--fallback .entry-featured__image {
	width: 100%;
	max-height: 20rem;
	border-radius: 0;
	object-fit: cover;
}

.entry-featured figcaption {
	width: 100%;
	margin-top: 0.6rem;
	color: var(--color-muted);
	font-size: 0.86rem;
	text-align: center;
}

.article-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.print-button {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.8rem;
	border: 1px solid #cfd7dc;
	border-radius: 999px;
	background: #fff;
	color: var(--color-navy);
	font-weight: 700;
	cursor: pointer;
}

.print-button:hover {
	border-color: var(--color-red);
	color: var(--color-red-dark);
}

.print-button .icon {
	width: 1.1rem;
	height: 1.1rem;
}

.single-layout,
.page-layout,
.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
	margin-top: 2.25rem;
}

.page-layout--full,
.archive-layout--full {
	grid-template-columns: minmax(0, 1fr);
}

.single-layout .single-article {
	min-width: 0;
	padding: clamp(1.5rem, 4vw, 3.1rem);
}

.page-layout .entry-header {
	margin-top: 0;
}

.single-article .entry-header {
	margin: 0 0 2rem;
	padding-bottom: 1.6rem;
	border-bottom: 1px solid var(--color-line);
}

.single-article .entry-content {
	max-width: 76ch;
	margin-inline: auto;
}

.article-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-line);
}

.article-footer > a {
	font-weight: 800;
}

.context-sidebar {
	position: sticky;
	top: 1rem;
	padding: 1.35rem;
	border: 1px solid #e5d9cc;
	border-radius: var(--radius);
	background: linear-gradient(150deg, #fffaf2, #fff);
	box-shadow: var(--shadow-soft);
}

.context-sidebar h2 {
	margin-bottom: 1rem;
	font-size: 1.35rem;
	font-weight: 750;
}

.context-sidebar h2 a {
	color: var(--color-navy);
	text-decoration: none;
}

.context-menu {
	display: grid;
	gap: 0.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.context-menu a {
	display: block;
	padding: 0.65rem 0.75rem;
	border-radius: 9px;
	color: #27333d;
	font-size: 0.94rem;
	font-weight: 720;
	line-height: 1.35;
	text-decoration: none;
}

.context-menu a:hover {
	background: #f8e9e9;
	color: var(--color-red-dark);
}

.context-menu .is-current a {
	background: var(--color-red);
	color: #fff;
}

.sidebar-cta {
	display: block;
	margin-top: 1rem;
	padding: 0.75rem;
	border-top: 1px solid var(--color-line);
	font-size: 0.9rem;
	font-weight: 850;
	text-decoration: none;
}

.archive-layout .page-header {
	margin-top: 0;
}

.archive-layout .post-card {
	grid-template-columns: 13rem minmax(0, 1fr);
}

.related-posts {
	margin-top: 3.5rem;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	border: 1px solid #e6d9ca;
	border-radius: calc(var(--radius) + 4px);
	background: linear-gradient(145deg, #fff8ed, #fff);
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.related-card {
	background: #fff;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.related-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.related-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.related-card:hover .related-card__media img {
	transform: scale(1.025);
}

.related-card__body {
	padding: 1rem;
}

.related-card h3 {
	margin-top: 0.45rem;
}

.related-card h3 a {
	color: var(--color-navy);
	text-decoration: none;
}

.single-navigation .post-navigation {
	margin-top: 1.5rem;
}

.single-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.single-navigation .nav-previous,
.single-navigation .nav-next {
	min-width: 0;
}

.single-navigation .nav-next {
	grid-column: 2;
}

.single-navigation .nav-links a {
	display: flex;
	min-height: 7.25rem;
	flex-direction: column;
	justify-content: center;
	gap: .5rem;
	padding: 1rem 1.15rem;
	border: 1px solid #dce3e8;
	border-radius: 14px;
	background: linear-gradient(135deg, #fff, var(--color-cream));
	box-shadow: var(--shadow-soft);
	color: var(--color-navy);
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.single-navigation .nav-next a {
	align-items: flex-end;
	text-align: right;
}

.single-navigation .nav-links a:hover,
.single-navigation .nav-links a:focus-visible {
	border-color: #be9da2;
	box-shadow: var(--shadow-card);
	color: var(--color-red-dark);
	transform: translateY(-2px);
}

.single-navigation .nav-links .post-nav-card__direction,
.single-navigation .nav-links .post-nav-card__title {
	padding: 0;
	border: 0;
	background: transparent;
}

.post-nav-card__direction {
	color: var(--color-red-dark);
	font-size: .72rem;
	font-weight: 850;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.post-nav-card__title {
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	font-weight: 850;
	line-height: 1.35;
}

.utility-layout,
.sitemap-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
	gap: 1.5rem;
}

.sitemap-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sitemap-list,
.sitemap-list ul {
	display: grid;
	gap: 0.45rem;
	padding-left: 1.25rem;
}

.entry-content :where(p, ul, ol) {
	margin-top: 0;
}

.entry-content a {
	font-weight: 700;
}

.alignwide {
	max-width: var(--content);
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-field {
	min-width: 0;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.55rem 0.75rem;
	border: 2px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--color-ink);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	overflow-wrap: anywhere;
}

.entry-content th,
.entry-content td {
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--color-line);
	text-align: left;
	vertical-align: top;
}

.entry-content tr:nth-child(even) {
	background: #f7f8f8;
}

/* Cultural hall availability calendar. */
.entry-content .wpsbc-container {
	width: min(100%, 42rem);
	margin: 1.25rem auto 2rem;
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid var(--color-line);
	border-radius: calc(var(--radius) + 3px);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.entry-content .wpsbc-calendar-header {
	margin-bottom: .75rem;
	border-radius: 10px;
	background: var(--color-navy);
	color: #fff;
}

.entry-content .wpsbc-calendar-header select {
	color: var(--color-navy);
	font-weight: 800;
}

.entry-content .wpsbc-calendar-wrapper table {
	table-layout: fixed;
	margin: 0;
}

.entry-content .wpsbc-calendar-wrapper th,
.entry-content .wpsbc-calendar-wrapper td {
	padding: .2rem;
	border-color: #e5e8ea;
	text-align: center;
}

.entry-content .wpsbc-date {
	min-height: 2.8rem;
	border-radius: 6px;
}

.entry-content .wpsbc-date-number {
	font-weight: 750;
}

/* Contact landing page. */
.contact-hero,
.app-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.72fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	margin-top: 2.25rem;
	padding: clamp(1.75rem, 5vw, 4rem);
	border-radius: calc(var(--radius) + 8px);
	background:
		radial-gradient(circle at 88% 12%, rgba(255, 201, 40, 0.24), transparent 18rem),
		linear-gradient(135deg, #fff9ed, #fff);
	border: 1px solid #e7dacb;
	box-shadow: var(--shadow-card);
}

.contact-hero h1,
.app-hero h1 {
	max-width: 14ch;
	margin: 0;
	color: var(--color-navy);
}

.contact-hero > div:first-child > p:last-child,
.app-hero__lead {
	max-width: 58ch;
	margin: 1rem 0 0;
	color: #43505b;
	font-size: 1.12rem;
}

.contact-hero__actions {
	display: grid;
	gap: 0.7rem;
}

.contact-action {
	display: grid;
	grid-template-columns: 2.7rem minmax(0, 1fr);
	gap: 0.85rem;
	align-items: center;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(23, 50, 77, 0.14);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--color-navy);
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-action:hover {
	color: var(--color-red-dark);
	box-shadow: var(--shadow-soft);
	transform: translateY(-2px);
}

.contact-action > .icon,
.contact-panel__heading > .icon {
	width: 2rem;
	height: 2rem;
	color: var(--color-red);
}

.contact-action span,
.store-button span {
	display: grid;
}

.contact-action small,
.store-button small {
	color: var(--color-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

.contact-action strong {
	overflow-wrap: anywhere;
}

.contact-overview,
.contact-bottom-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.contact-bottom-grid--emergency {
	margin-top: 3rem;
}

.contact-panel,
.contact-form-panel,
.emergency-panel {
	padding: clamp(1.35rem, 3vw, 2.2rem);
	border: 1px solid var(--color-line);
	border-radius: calc(var(--radius) + 2px);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.contact-panel__heading {
	display: flex;
	align-items: start;
	gap: 0.9rem;
	margin-bottom: 1.2rem;
}

.contact-panel__heading h2 {
	font-weight: 720;
}

.office-hours,
.billing-details {
	margin: 0;
}

.office-hours > div,
.billing-details > div {
	display: grid;
	grid-template-columns: minmax(7rem, 0.45fr) minmax(0, 1fr);
	gap: 1rem;
	padding: 0.72rem 0;
	border-bottom: 1px solid var(--color-line);
}

.office-hours dt,
.billing-details dt {
	font-weight: 850;
}

.office-hours dd,
.billing-details dd {
	margin: 0;
	text-align: right;
}

.office-hours dd span {
	display: inline-block;
	margin-left: 0.65rem;
}

.office-hours .is-closed dd {
	color: var(--color-muted);
	font-style: italic;
}

.contact-note {
	margin: 1rem 0 0;
	padding: 0.85rem;
	border-radius: 9px;
	background: #fff6df;
	color: #5b470d;
	font-size: 0.9rem;
}

.contact-address {
	margin-bottom: 1.15rem;
	font-size: 1.08rem;
	font-style: normal;
	line-height: 1.7;
}

.contact-directory {
	margin-top: 3.25rem;
}

.contact-directory .section-header > p {
	max-width: 38rem;
	color: var(--color-muted);
}

.contact-directory__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.person-card {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	min-height: 13.5rem;
	padding: 1.25rem;
	border: 1px solid var(--color-line);
	border-top: 4px solid #c9d5de;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.person-card--primary {
	border-top-color: var(--color-red);
}

.person-card__role {
	margin: 0 0 0.65rem;
	color: var(--color-muted);
	font-size: 0.82rem;
	font-weight: 750;
}

.person-card h3 {
	margin-bottom: auto;
	color: var(--color-navy);
}

.person-card a {
	margin-top: 0.35rem;
	font-size: 0.9rem;
	font-weight: 750;
	overflow-wrap: anywhere;
}

.contact-form-panel h2,
.emergency-panel h2 {
	font-weight: 720;
}

.contact-form-panel > p:not(.eyebrow) {
	color: var(--color-muted);
}

.emergency-panel {
	background: var(--color-navy);
	color: #fff;
}

.emergency-panel h2,
.emergency-panel .eyebrow {
	color: #fff;
}

.emergency-list {
	display: grid;
	gap: 0;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.emergency-list li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.emergency-list a {
	color: var(--color-yellow);
	font-weight: 900;
	white-space: nowrap;
}

/* Mobile application landing page. */
.app-hero {
	grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.52fr);
	background:
		radial-gradient(circle at 82% 18%, rgba(196, 22, 42, 0.13), transparent 19rem),
		linear-gradient(135deg, #fffaf0, #fff);
}

.store-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.store-badge {
	display: block;
	border-radius: 10px;
	text-decoration: none;
	transition: transform 160ms ease, filter 160ms ease;
}

.store-badge:hover {
	filter: brightness(1.06);
	transform: translateY(-2px);
}

.store-badge img {
	width: auto;
	height: 4rem;
}

.app-availability {
	margin: 0.85rem 0 0;
	color: var(--color-muted);
	font-size: 0.86rem;
}

.phone-mockup {
	width: min(18rem, 100%);
	margin-inline: auto;
	padding: 0.65rem;
	border: 3px solid #182431;
	border-radius: 2.2rem;
	background: #111820;
	box-shadow: 0 24px 60px rgba(23, 50, 77, 0.23);
}

.phone-mockup__speaker {
	width: 4.5rem;
	height: 0.35rem;
	margin: 0.25rem auto 0.7rem;
	border-radius: 999px;
	background: #485561;
}

.phone-screen {
	min-height: 26rem;
	padding: 1rem;
	border-radius: 1.5rem;
	background: linear-gradient(165deg, #fff9ed, #fff);
}

.phone-screen__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-red-dark);
}

.phone-screen > p {
	margin: 1.5rem 0 0.65rem;
	color: var(--color-muted);
	font-size: 0.72rem;
	font-weight: 850;
	text-transform: uppercase;
}

.phone-notification {
	display: grid;
	grid-template-columns: 2.2rem 1fr;
	gap: 0.6rem;
	align-items: center;
	margin-bottom: 0.6rem;
	padding: 0.75rem;
	border: 1px solid var(--color-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(23, 31, 38, 0.08);
}

.phone-notification > span {
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 8px;
	background: #f9e7e9;
	color: var(--color-red-dark);
}

.phone-notification div {
	display: grid;
	font-size: 0.75rem;
}

.phone-notification small {
	color: var(--color-muted);
}

.app-features {
	margin-top: 3.25rem;
}

.app-features__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.app-features article {
	padding: 1.5rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.app-features article > span {
	display: grid;
	place-items: center;
	width: 3.2rem;
	height: 3.2rem;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: #f8e8e9;
	color: var(--color-red-dark);
}

.app-features article .icon {
	width: 1.65rem;
	height: 1.65rem;
}

.app-features article p {
	margin-bottom: 0;
	color: var(--color-muted);
}

.app-help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 1.25rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--radius);
	background: var(--color-navy);
	color: #fff;
}

.app-help h2,
.app-help .eyebrow {
	color: #fff;
}

.app-help p:last-child {
	margin-bottom: 0;
	color: #dce6ee;
}

.app-help .button {
	flex: 0 0 auto;
}

/* NextGEN Gallery: turn the legacy album markup into a useful card grid. */
.page-id-3714 .entry-content {
	max-width: none;
}

.page-id-3714 .entry-content > a[href^="#album-link-"] {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	margin: 0.2rem 0.22rem 0.2rem 0;
	padding: 0.45rem 0.8rem;
	border: 1px solid #d9cfc7;
	border-radius: 999px;
	background: #fff;
	color: var(--color-navy);
	font-size: 0.92rem;
	text-decoration: none;
}

.page-id-3714 .entry-content > a[href^="#album-link-"]:hover,
.page-id-3714 .entry-content > a[href^="#album-link-"]:focus-visible {
	border-color: var(--color-red);
	background: #fff7f3;
	color: var(--color-red-dark);
}

.page-id-3714 .entry-content > h2[id^="album-link-"] {
	margin: 2.75rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-line);
	color: var(--color-navy);
	scroll-margin-top: 2rem;
}

.page-id-3714 .entry-content > hr,
.page-id-3714 .entry-content > a[href^="#album-link-"] + br,
.page-id-3714 .entry-content > h2[id^="album-link-"] + br {
	display: none;
}

.page-id-3714 .ngg-albumoverview.default-view {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	width: 100% !important;
	margin: 0 !important;
	clear: both;
}

.page-id-3714 .ngg-albumoverview .ngg-album {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.page-id-3714 .ngg-albumoverview .ngg-albumcontent {
	display: grid;
	grid-template-rows: auto auto 1fr;
	height: 100%;
	padding: 0 0 0.85rem !important;
}

.page-id-3714 .ngg-albumoverview .ngg-thumbnail {
	float: none !important;
	width: 100% !important;
	margin: 0 0 0.75rem !important;
}

.page-id-3714 .ngg-albumoverview .ngg-thumbnail a {
	display: block;
}

.page-id-3714 .ngg-albumoverview img.Thumb {
	display: block;
	width: 100% !important;
	height: 10.5rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: cover;
	transition: transform 180ms ease;
}

.page-id-3714 .ngg-albumoverview .ngg-album:hover img.Thumb {
	transform: scale(1.025);
}

.page-id-3714 .ngg-albumoverview .ngg-albumtitle,
.page-id-3714 .ngg-albumoverview .ngg-description {
	padding: 0 1rem !important;
}

.page-id-3714 .ngg-albumoverview .ngg-albumtitle a.gallery_link {
	color: var(--color-navy) !important;
	font-size: 1rem !important;
	line-height: 1.35;
	text-decoration: none;
}

.page-id-3714 .ngg-albumoverview .ngg-albumtitle a.gallery_link:hover {
	color: var(--color-red-dark) !important;
	text-decoration: underline;
}

.page-id-3714 .ngg-album-gallery-image-counter {
	margin: 0.45rem 0 0 !important;
	color: var(--color-muted);
	font-size: 0.88rem;
}

.page-id-3714 .ngg-clear {
	display: none;
}

/* The Events Calendar: preserve plugin behaviour while matching the civic theme. */
.post-type-archive-tribe_events .entry-content {
	max-width: none;
}

.post-type-archive-tribe_events .content-box {
	padding: clamp(1rem, 2.2vw, 2rem);
	border-top: 4px solid var(--color-red-dark);
}

.post-type-archive-tribe_events .tribe-common {
	--tec-color-accent-primary: var(--color-red-dark);
	--tec-color-text-primary: var(--color-ink);
	--tec-color-text-secondary: var(--color-muted);
	--tec-color-border-default: #dbe3e8;
	--tec-color-border-secondary: #e8edf0;
	--tec-color-background-events: #fff;
	font-family: var(--font-main);
}

.post-type-archive-tribe_events .tribe-common .tribe-common-l-container {
	max-width: none;
	min-height: 0;
	padding: 0;
}

.post-type-archive-tribe_events .tribe-events-header {
	margin-bottom: 1.25rem !important;
	padding: clamp(.8rem, 2vw, 1.15rem);
	border: 1px solid #e4d9d5;
	border-radius: var(--radius);
	background: linear-gradient(135deg, #fff9f4, #f7f9fa);
}

.post-type-archive-tribe_events .tribe-events-header__content-title {
	margin-bottom: 1rem;
}

.post-type-archive-tribe_events .tribe-events-header__events-bar {
	border: 1px solid #dbe3e8;
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
}

.post-type-archive-tribe_events .tribe-events-c-view-selector__list-item-link {
	border-radius: 8px;
	font-weight: 750;
}

.post-type-archive-tribe_events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link {
	background: #f9e7e9;
	color: var(--color-red-dark);
}

.post-type-archive-tribe_events .tribe-events-header__top-bar {
	min-height: 3.25rem;
	margin: .75rem 0 0 !important;
	padding: .45rem .55rem;
	border: 1px solid #dbe3e8;
	border-radius: 11px;
	background: #fff;
}

.post-type-archive-tribe_events .tribe-events-c-top-bar__datepicker-button,
.post-type-archive-tribe_events .tribe-events-c-view-selector__button {
	min-height: 2.5rem;
	padding: .55rem .75rem;
	border-radius: 9px;
	color: var(--color-navy);
	font-weight: 850;
}

.post-type-archive-tribe_events .tribe-events-c-top-bar__nav-link {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid #d5dee4;
	border-radius: 50%;
	background: #fff;
}

.post-type-archive-tribe_events .tribe-events-c-top-bar__nav-link:hover,
.post-type-archive-tribe_events .tribe-events-c-top-bar__nav-link:focus-visible {
	border-color: var(--color-red-dark);
	background: #f9e7e9;
}

.post-type-archive-tribe_events .tribe-events-c-top-bar__today-button {
	min-height: 2.4rem;
	padding: .45rem .75rem;
	border-color: #d5dee4;
	border-radius: 8px;
	background: #fff;
	color: var(--color-navy);
	font-weight: 750;
}

.post-type-archive-tribe_events .tribe-events-calendar-month {
	border: 1px solid #d8e1e6;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 14px 34px rgba(23, 31, 38, 0.08);
	overflow: hidden;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__header-column {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: .75rem .5rem !important;
	border-color: #2a4359 !important;
	background: var(--color-navy);
}

.post-type-archive-tribe_events .tribe-events-calendar-month__header-column-title {
	color: #fff !important;
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__day {
	min-height: 7.75rem;
	border-color: #e1e7eb !important;
	background: #fff;
	transition: background 150ms ease;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__day:hover {
	background: #fffaf6;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__day--other-month {
	background: #f6f8f9;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date {
	opacity: .48;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__day-date {
	padding: .5rem .55rem .25rem;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum {
	display: inline-grid;
	place-items: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 .35rem;
	border-radius: 999px;
	background: var(--color-red-dark);
	color: #fff !important;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__calendar-event {
	margin: .25rem .4rem !important;
	padding: .4rem .45rem;
	border-left: 3px solid var(--color-red-dark);
	border-radius: 6px;
	background: #fff1f2;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__calendar-event-datetime {
	color: #6e3b42;
	font-size: .72rem;
	font-weight: 750;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__calendar-event-title-link {
	color: #4f1019 !important;
	font-weight: 800;
	line-height: 1.3;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__calendar-event-title-link:hover {
	text-decoration: underline;
}

.post-type-archive-tribe_events .tribe-events-calendar-month__calendar-event-tooltip {
	border: 1px solid #dbe3e8;
	border-radius: 12px;
	box-shadow: 0 18px 46px rgba(20, 28, 35, .17);
}

.post-type-archive-tribe_events .tribe-events-c-messages__message {
	padding: .85rem 1rem;
	border: 1px solid #ead9ae;
	border-radius: 10px;
	background: #fff9e8;
	color: #594715;
}

.post-type-archive-tribe_events .tribe-events-calendar-list__month-separator-text,
.post-type-archive-tribe_events .tribe-events-calendar-day__type-separator-text {
	color: var(--color-navy);
	font-weight: 850;
}

.post-type-archive-tribe_events .tribe-events-calendar-list__event-row,
.post-type-archive-tribe_events .tribe-events-calendar-day__event {
	margin-bottom: 1rem !important;
	padding: clamp(.8rem, 2vw, 1.15rem);
	border: 1px solid #dde5e9;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 7px 20px rgba(23, 31, 38, .06);
}

.post-type-archive-tribe_events :where(.tribe-events-calendar-list__event-title-link, .tribe-events-calendar-day__event-title-link) {
	color: var(--color-red-dark) !important;
	font-weight: 850;
}

.post-type-archive-tribe_events :where(.tribe-events-calendar-list__event-featured-image, .tribe-events-calendar-day__event-featured-image) {
	border-radius: 10px;
}

.post-type-archive-tribe_events .tribe-events-c-nav {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top-color: #dfe6ea;
}

.post-type-archive-tribe_events .tribe-events-c-nav a {
	color: var(--color-navy);
	font-weight: 800;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__button {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	min-height: 3rem;
	padding: 0 !important;
	border-color: var(--color-red-dark) !important;
	border-radius: 9px !important;
	background: #fff;
	color: var(--color-red-dark) !important;
	font-weight: 800;
	overflow: hidden;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__button:hover,
.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__button:focus-within {
	background: var(--color-red-dark) !important;
	color: #fff !important;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__container {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-top: 1.4rem;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown {
	width: min(100%, 20rem);
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__button-text {
	flex: 1;
	min-height: 3rem;
	padding: .75rem .2rem .75rem 1rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit;
	line-height: 1.25;
	text-align: left;
	text-decoration: none !important;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__button-icon {
	flex: 0 0 auto;
	width: .75rem;
	margin: 0 1rem 0 .6rem;
	color: inherit;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__button-icon path {
	fill: currentColor;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__content {
	width: 100% !important;
	margin-top: .45rem;
	padding: .45rem !important;
	border: 1px solid #dbe3e8 !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 16px 38px rgba(23, 31, 38, .14) !important;
	overflow: hidden;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list-item {
	margin: 0 !important;
	padding: 0 !important;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list-item-link {
	display: flex;
	align-items: center;
	min-height: 2.75rem;
	padding: .65rem .75rem !important;
	border-radius: 8px;
	color: var(--color-navy) !important;
	font-weight: 750;
	line-height: 1.35;
	text-decoration: none !important;
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list-item-link::before {
	content: "";
	flex: 0 0 auto;
	width: .45rem;
	height: .45rem;
	margin-right: .7rem;
	border-radius: 50%;
	background: var(--color-red-dark);
}

.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list-item-link:hover,
.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list-item-link:focus-visible {
	background: var(--color-cream);
	color: var(--color-red-dark) !important;
}

@media (max-width: 767px) {
	.post-type-archive-tribe_events .entry-header h1 {
		font-size: clamp(1.75rem, 8vw, 2.1rem);
		line-height: 1.12;
	}

	.post-type-archive-tribe_events .content-box {
		padding: .5rem;
		border-radius: 12px;
	}

	.post-type-archive-tribe_events .tribe-events-header {
		margin-bottom: .65rem !important;
		padding: .45rem;
		border-radius: 10px;
		background: #f8f6f1;
	}

	.post-type-archive-tribe_events .tribe-events-header__top-bar {
		min-height: 3.2rem;
		margin-top: .35rem !important;
		padding: .2rem;
	}

	.post-type-archive-tribe_events .tribe-events-c-top-bar__datepicker-button {
		min-height: 2.8rem;
		padding-inline: .65rem;
		font-size: 1.15rem;
	}

	.post-type-archive-tribe_events .tribe-events-calendar-month {
		border: 0;
		border-radius: 10px;
		box-shadow: none;
	}

	.post-type-archive-tribe_events .tribe-events-calendar-month__header-column {
		padding: .55rem .2rem !important;
	}

	.post-type-archive-tribe_events .tribe-events-calendar-month__day {
		min-height: auto;
	}

	.post-type-archive-tribe_events .tribe-events-calendar-month__day-cell--mobile {
		border-radius: 8px;
	}

	.post-type-archive-tribe_events .tribe-events-calendar-month__day-cell--selected {
		background: var(--color-red-dark) !important;
	}

	.post-type-archive-tribe_events .tribe-events-calendar-month-mobile-events__day-marker {
		margin-top: 1rem;
		padding-bottom: .55rem;
		border-bottom: 2px solid var(--color-red-dark);
	}

	.post-type-archive-tribe_events .tribe-events-calendar-month-mobile-events__mobile-event {
		margin: .65rem 0 !important;
		padding: .85rem;
		border: 1px solid #dde5e9;
		border-left: 4px solid var(--color-red-dark);
		border-radius: 10px;
		background: #fff;
		box-shadow: 0 6px 18px rgba(23, 31, 38, .06);
	}

	.post-type-archive-tribe_events .tribe-events-calendar-month-mobile-events__mobile-event-title-link {
		color: var(--color-red-dark) !important;
		font-weight: 850;
	}

	.post-type-archive-tribe_events .tribe-events-calendar-list__event-row,
	.post-type-archive-tribe_events .tribe-events-calendar-day__event {
		padding: .85rem;
	}

	.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown,
	.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__button {
		width: 100%;
	}

	.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__container {
		margin-top: 1rem;
	}

	.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__content {
		position: static !important;
		margin-top: .5rem;
		box-shadow: 0 10px 24px rgba(23, 31, 38, .1) !important;
	}

	.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list-item-link {
		min-height: 3rem;
		padding: .72rem .8rem !important;
	}
}

/* The Events Calendar: event detail. */
.single-tribe_events .entry-content {
	width: 100%;
	max-width: none;
}

.single-tribe_events .content-box {
	padding: 0;
	border-top: 4px solid var(--color-red-dark);
	overflow: hidden;
}

.single-tribe_events .tribe-events-single {
	width: 100% !important;
	max-width: none;
	padding: clamp(1.25rem, 3vw, 2.5rem);
}

.single-tribe_events .tribe-events-back {
	margin: 0 0 1.5rem;
}

.single-tribe_events .tribe-events-back a {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: .45rem .8rem;
	border: 1px solid #d8e1e6;
	border-radius: 9px;
	background: #f7f9fa;
	color: var(--color-navy);
	font-size: .88rem;
	font-weight: 800;
	text-decoration: none;
}

.single-tribe_events .tribe-events-back a:hover {
	border-color: var(--color-red-dark);
	background: #f9e7e9;
	color: var(--color-red-dark);
}

.single-tribe_events .tribe-events-single-event-title {
	max-width: 24ch;
	margin: 0;
	color: var(--color-navy);
	font-size: clamp(2rem, 4vw, 3.35rem);
	font-weight: 850;
	letter-spacing: -.025em;
	line-height: 1.08;
}

.single-tribe_events .tribe-events-schedule {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	min-height: 3rem;
	margin: 1.15rem 0 1.75rem;
	padding: .65rem 1rem .65rem .85rem;
	border: 1px solid #ead4d7;
	border-left: 4px solid var(--color-red-dark);
	border-radius: 9px;
	background: #fff4f5;
	color: #57111a;
	font-weight: 800;
}

.single-tribe_events .tribe-events-schedule::before {
	display: grid;
	place-items: center;
	width: auto;
	height: 1.65rem;
	padding: 0 .5rem;
	border-radius: 5px;
	background: var(--color-red-dark);
	color: #fff;
	content: "Kedy";
	font-size: .65rem;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.single-tribe_events .tribe-events-schedule h2,
.single-tribe_events .tribe-events-schedule h3,
.single-tribe_events .tribe-events-schedule p {
	margin: 0;
	color: inherit;
	font: inherit;
}

.single-tribe_events .tribe_events {
	display: block;
	width: 100%;
}

.single-tribe_events .tribe-events-single-event-description:not(:has(*)) {
	display: none;
}

.single-tribe_events .tribe-events-single-event-description:has(*) {
	max-width: 75ch;
	margin: 0 0 1.75rem;
	padding: 1.25rem;
	border: 1px solid #e1e7eb;
	border-radius: 12px;
	background: #fff;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__container {
	justify-content: flex-start;
	width: 100%;
	height: auto;
	margin: 0 0 1.5rem;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button {
	border-color: var(--color-red-dark) !important;
	border-radius: 9px !important;
	background: #fff;
	color: var(--color-red-dark) !important;
	font-weight: 800;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button:hover,
.single-tribe_events .tribe-events-c-subscribe-dropdown__button:focus-within {
	background: var(--color-red-dark) !important;
	color: #fff !important;
}

.single-tribe_events .tribe-events-event-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.single-tribe_events .tribe-events-meta-group {
	width: auto !important;
	margin: 0;
	padding: 1.1rem;
	border: 1px solid #dde5e9;
	border-radius: 12px;
	background: #f7f9fa;
}

.single-tribe_events .tribe-events-single-section-title {
	margin: 0 0 .85rem;
	padding-bottom: .65rem;
	border-bottom: 2px solid #e2e8ec;
	color: var(--color-navy);
	font-size: .78rem;
	font-weight: 900;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.single-tribe_events .tribe-events-meta-list {
	display: grid;
	gap: .65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-tribe_events .tribe-events-meta-item {
	display: grid;
	gap: .12rem;
	margin: 0;
	color: #263845;
}

.single-tribe_events .tribe-events-meta-label {
	color: #6b7881;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.single-tribe_events .tribe-events-meta-value,
.single-tribe_events .tribe-venue,
.single-tribe_events .tribe-organizer {
	font-size: .96rem;
	font-weight: 750;
}

.single-tribe_events .tribe-events-nav-pagination {
	width: 100%;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #dfe6ea;
}

.single-tribe_events .tribe-events-sub-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-tribe_events .tribe-events-sub-nav li {
	margin: 0;
	padding: 0;
}

.single-tribe_events .tribe-events-sub-nav a {
	display: flex;
	align-items: center;
	height: 100%;
	min-height: 3rem;
	padding: .65rem .8rem;
	border: 1px solid #dde5e9;
	border-radius: 9px;
	background: #fff;
	color: var(--color-navy);
	font-size: .86rem;
	font-weight: 750;
	text-decoration: none;
}

.single-tribe_events .tribe-events-nav-next a {
	justify-content: flex-end;
	text-align: right;
}

.single-tribe_events .tribe-events-sub-nav a:hover {
	border-color: var(--color-red-dark);
	background: #fff7f7;
	color: var(--color-red-dark);
}

@media (max-width: 720px) {
	.single-tribe_events .tribe-events-single {
		padding: 1rem;
	}

	.single-tribe_events .tribe-events-back {
		margin-bottom: 1.1rem;
	}

	.single-tribe_events .tribe-events-single-event-title {
		font-size: clamp(1.85rem, 9vw, 2.5rem);
	}

	.single-tribe_events .tribe-events-schedule {
		display: flex;
		width: 100%;
		margin: .9rem 0 1.25rem;
	}

	.single-tribe_events .tribe-events-c-subscribe-dropdown,
	.single-tribe_events .tribe-events-c-subscribe-dropdown__button {
		width: 100%;
	}

	.single-tribe_events .tribe-events-event-meta,
	.single-tribe_events .tribe-events-sub-nav {
		grid-template-columns: 1fr;
	}

	.single-tribe_events .tribe-events-meta-group {
		padding: 1rem;
	}

	.single-tribe_events .tribe-events-nav-next a {
		justify-content: flex-start;
		text-align: left;
	}
}

.wpcf7-form label {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.wpcf7-form :where(input[type="text"], input[type="email"], textarea) {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #adb9c1;
	border-radius: 9px;
	background: #fff;
	color: var(--color-ink);
}

.wpcf7-form textarea {
	min-height: 10rem;
	resize: vertical;
}

.wpcf7-submit {
	min-height: 2.8rem;
	padding: 0.65rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: var(--color-red);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.wpcf7-submit:hover {
	background: var(--color-red-dark);
}

.site-footer {
	margin-top: 4rem;
	background: #121d27;
	color: #e9f0f4;
}

.footer-cta {
	display: grid;
	grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.4fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
	width: min(var(--content), calc(100% - 2rem));
	margin-inline: auto;
	padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: calc(var(--radius) + 6px);
	background: linear-gradient(115deg, var(--color-red-dark), #b91e31);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	transform: translateY(-2rem);
}

.footer-cta .eyebrow,
.footer-cta h2 {
	color: #fff;
}

.footer-cta h2 {
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	font-weight: 750;
}

.footer-cta__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.65rem;
}

.footer-cta__links a {
	display: grid;
	place-items: center;
	gap: 0.4rem;
	min-height: 5.5rem;
	padding: 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.footer-cta__links a:hover {
	background: #fff;
	color: var(--color-red-dark);
}

.footer-cta__links .icon {
	width: 1.45rem;
	height: 1.45rem;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(18rem, 1.1fr) minmax(15rem, 0.8fr) minmax(15rem, 0.85fr);
	gap: clamp(2rem, 5vw, 5rem);
	padding: 1.25rem 0 3rem;
}

.site-footer a {
	color: #fff;
}

.site-footer__inner h2 {
	margin-bottom: 1rem;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 800;
}

.footer-brand__heading {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.footer-brand__heading img {
	width: 3.25rem;
	height: auto;
	filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.footer-brand__heading h2 {
	margin: 0;
	font-size: 1.45rem;
}

.footer-brand__heading p {
	margin: 0.1rem 0 0;
	color: var(--color-yellow);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.footer-brand > p {
	max-width: 44ch;
	color: #b9c7d1;
	font-size: 0.92rem;
}

.footer-social-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.25rem;
}

.footer-app {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 9px;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
}

.footer-contact {
	display: grid;
	gap: 0.65rem;
	font-style: normal;
}

.footer-contact span,
.footer-contact a {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
}

.footer-contact .icon {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.15rem;
	color: var(--color-yellow);
	flex: 0 0 auto;
}

.footer-text-link {
	display: inline-block;
	margin-top: 1rem;
	color: var(--color-yellow) !important;
	font-size: 0.88rem;
	font-weight: 800;
}

.footer-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	color: #c9d5dd;
	font-size: 0.9rem;
	text-decoration: none;
}

.footer-menu a:hover {
	color: var(--color-yellow);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(var(--content), calc(100% - 2rem));
	margin-inline: auto;
	padding: 1rem 0 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #8fa2b0;
	font-size: 0.82rem;
}

.footer-bottom p {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem .8rem;
	margin: 0;
}

.footer-supplier::before {
	margin-right: .8rem;
	content: "·";
}

.footer-bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-bottom a {
	color: #b9c7d1;
	text-decoration: none;
}

.pagination,
.post-navigation {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nav-links a,
.nav-links span {
	padding: 0.45rem 0.75rem;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
}

@media (max-width: 1120px) {
	.header-main {
		grid-template-columns: minmax(15rem, 1fr) auto;
	}

	.header-tools {
		grid-column: 1 / -1;
		justify-content: end;
	}

	.top-news-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.top-news-card--large {
		grid-row: auto;
		min-height: 26rem;
	}

	.front-content-grid {
		gap: 2rem;
	}

	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.contact-directory__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1040px) {
	.top-bar {
		display: block;
		font-size: 0.74rem;
	}

	.top-bar__inner {
		min-height: 2.5rem;
		gap: 0.5rem;
	}

	.top-links {
		flex-wrap: nowrap;
		gap: 0.7rem;
	}

	.top-link--desktop-only,
	.top-link__desktop {
		display: none;
	}

	.top-link__mobile {
		display: inline;
	}

	.social-links--top {
		margin-left: auto;
		gap: 0.3rem;
	}

	.social-links--top a {
		width: 1.75rem;
		height: 1.75rem;
	}

	.header-main {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: auto;
		padding: 0.8rem 0;
	}

	.header-tools {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	body.menu-open .menu-toggle {
		position: fixed;
		top: 0.75rem;
		right: 1rem;
		z-index: 70;
		background: #fff;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
	}

	body.menu-open::before {
		position: fixed;
		z-index: 45;
		inset: 0;
		background: rgba(16, 25, 34, 0.5);
		content: "";
	}

	body.menu-open .menu-toggle__icon {
		background: transparent;
	}

	body.menu-open .menu-toggle__icon::before {
		top: 0;
		transform: rotate(45deg);
	}

	body.menu-open .menu-toggle__icon::after {
		top: 0;
		transform: rotate(-45deg);
	}

	.nav-bar {
		border: 0;
	}

	.primary-navigation {
		position: fixed;
		z-index: 60;
		inset: 0 0 0 auto;
		width: min(26rem, 88vw);
		padding: 5rem 1rem 1rem;
		background: var(--color-surface);
		border-left: 1px solid var(--color-line);
		box-shadow: 0 0 36px rgba(0, 0, 0, 0.18);
		transform: translateX(100%);
		transition: transform 180ms ease;
		overflow-y: auto;
	}

	.primary-navigation.is-open {
		transform: translateX(0);
	}

	.primary-navigation ul,
	.primary-navigation .sub-menu {
		position: static;
		display: grid;
		align-items: stretch;
		justify-content: stretch;
		gap: 0.25rem;
		min-width: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.primary-navigation a {
		padding: 0.75rem;
		white-space: normal;
	}

	.primary-navigation .menu-item-has-children > a {
		padding-right: 3rem;
	}

	.primary-navigation .submenu-toggle {
		position: absolute;
		top: .3rem;
		right: .25rem;
		display: grid;
		place-items: center;
		width: 2.25rem;
		height: 2.25rem;
		padding: 0;
		border: 1px solid #e2e5e7;
		border-radius: 50%;
		background: #fff;
		color: var(--color-navy);
	}

	.primary-navigation .submenu-toggle span::before {
		content: "+";
		font-size: 1.3rem;
		line-height: 1;
	}

	.primary-navigation .submenu-toggle[aria-expanded="true"] span::before {
		content: "−";
	}

	.primary-navigation .menu-item-has-children > .sub-menu[hidden] {
		display: none !important;
	}

	.primary-navigation .sub-menu {
		margin-left: 1rem;
		padding-left: .55rem;
		border-left: 2px solid #e5d5d7;
	}

	.primary-navigation > ul > li {
		border-bottom: 1px solid #edf0f2;
	}

	.primary-navigation > ul > li:last-child {
		border-bottom: 0;
	}

	.primary-navigation .sub-menu a {
		font-size: .92rem;
	}

	.primary-navigation .menu-section-about > .sub-menu {
		margin: .25rem 0 .65rem .45rem;
	}

	.primary-navigation .menu-section-group {
		margin: .25rem 0;
		padding: .25rem;
		background: #f7f9fa;
		border: 1px solid #e0e6ea;
		border-radius: 10px;
	}

	.primary-navigation .menu-section-group > a {
		font-weight: 800;
	}

	.primary-navigation .menu-section-group > .sub-menu {
		margin: .15rem 0 .25rem .55rem;
	}

	.feature-links,
	.front-content-grid {
		grid-template-columns: 1fr 1fr;
	}

	.front-content-grid {
		gap: 2rem;
	}

	.single-layout,
	.page-layout,
	.archive-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.context-sidebar {
		position: static;
	}

	.related-posts__grid,
	.app-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-hero,
	.app-hero {
		grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.65fr);
		gap: 2rem;
	}

	.footer-cta {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	body {
		font-size: 16px;
	}

	.single-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.single-navigation .nav-next {
		grid-column: 1;
	}

	.single-navigation .nav-next a {
		align-items: flex-start;
		text-align: left;
	}

	.print-button {
		display: none;
	}

	.top-bar__inner,
	.header-main {
		width: min(var(--content), calc(100% - 1.5rem));
	}

	.header-main {
		gap: 0.7rem;
		padding: 0.75rem 0;
	}

	.site-branding {
		gap: 0.7rem;
	}

	.site-main {
		padding-right: 0.5rem;
		padding-left: 0.5rem;
	}

	.site-title {
		font-size: clamp(1.05rem, 5vw, 1.3rem);
		white-space: nowrap;
	}

	.site-years {
		font-size: 0.82rem;
	}

	.site-slogan {
		font-size: 0.78rem;
	}

	.site-logo,
	.custom-logo {
		width: 3.15rem;
		height: 3.6rem;
	}

	.menu-toggle {
		width: 3rem;
		height: 3rem;
		min-height: 3rem;
		padding: 0;
		justify-content: center;
		border-radius: 50%;
	}

	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.top-news-stage {
		margin-right: -0.5rem;
		margin-left: -0.5rem;
		padding-top: 1rem;
	}

	.top-news-card,
	.top-news-card--large {
		min-height: 18rem;
	}

	.top-news-card__overlay {
		padding: 1.25rem;
	}

	.top-news-card__title,
	.top-news-card:not(.top-news-card--large) .top-news-card__title {
		max-width: 100%;
		font-size: 1.45rem;
	}

	.top-news-card__arrow {
		display: none;
	}

	.feature-links,
	.front-content-grid,
	.site-footer__inner,
	.post-card,
	.notice-item,
	.utility-layout,
	.sitemap-grid,
	.related-posts__grid,
	.contact-hero,
	.contact-overview,
	.contact-bottom-grid,
	.app-hero,
	.app-features__grid {
		grid-template-columns: 1fr;
	}

	.contact-directory__grid {
		grid-template-columns: 1fr;
	}

	.contact-hero,
	.app-hero {
		padding: 1.4rem;
	}

	.phone-mockup {
		width: min(18rem, 86vw);
	}

	.app-help,
	.footer-bottom,
	.calendar-panel__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-cta__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-cta {
		width: min(var(--content), calc(100% - 2rem));
		gap: 1.25rem;
		padding: 1.5rem 1rem;
	}

	.site-footer__inner {
		width: min(var(--content), calc(100% - 2rem));
		gap: 2.25rem;
		padding: 1rem 0 2.25rem;
	}

	.footer-bottom {
		width: min(var(--content), calc(100% - 2rem));
		gap: .75rem;
		padding: 1rem 0 1.25rem;
	}

	.footer-menu {
		grid-template-columns: 1fr;
	}

	.archive-layout .post-card {
		grid-template-columns: 1fr;
	}

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

	.notice-item__media {
		max-width: none;
	}

	.page-header {
		padding: 1.25rem;
	}

	.page-id-3714 .ngg-albumoverview.default-view {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.page-id-3714 .ngg-albumoverview.default-view {
		grid-template-columns: 1fr;
	}
}

@media print {
	.site-header,
	.site-footer,
	.article-actions,
	.post-navigation,
	#wpadminbar,
	.wpa-toolbar {
		display: none !important;
	}

	body,
	.site-main,
	.content-box {
		background: #fff !important;
		box-shadow: none !important;
	}

	.site-main {
		padding: 0;
	}

	.content-box {
		max-width: none !important;
		padding: 0 !important;
		border: 0 !important;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	.entry-content a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
		font-weight: 400;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
