/* ==========================================================================
   MKB Westland – main stylesheet
   ========================================================================== */

/* Fonts (self-hosted, no third-party requests – AVG/GDPR friendly) */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2-variations");
	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: "Montserrat";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2-variations");
	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: "Montserrat";
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/montserrat-latin-wght-italic.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
	--blue: #0071bd;
	--blue-600: #00609f;
	--blue-700: #004f84;
	--blue-50: #eaf4fb;
	--green: #85bb0b;
	--green-600: #4a7500;
	--green-50: #f2f8e3;
	--navy: #0b2a45;
	--ink: #1f2a37;
	--muted: #5a6677;
	--line: #e3e8ef;
	--soft: #f5f7fa;
	--white: #fff;

	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgb(11 42 69 / .06), 0 1px 3px rgb(11 42 69 / .08);
	--shadow: 0 10px 30px -12px rgb(11 42 69 / .22);
	--shadow-lg: 0 24px 60px -20px rgb(11 42 69 / .35);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 96px;
	--section-y: clamp(48px, 7vw, 96px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }

:focus-visible {
	outline: 3px solid var(--green);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font);
	color: var(--navy);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 1.6em 0 .6em;
	text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.4rem); }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }

p { margin: 0 0 1.15em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
blockquote {
	margin: 1.75em 0;
	padding: .25em 0 .25em 1.25em;
	border-left: 4px solid var(--green);
	font-size: 1.125em;
	color: var(--navy);
}
table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: .95em; }
th, td { border-bottom: 1px solid var(--line); padding: .7em .8em; text-align: left; }
th { color: var(--navy); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 12px; left: 12px; z-index: 1000;
	padding: 12px 18px; background: var(--navy); color: #fff; border-radius: var(--radius-sm);
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"]:not(.search-submit),
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .8em 1.4em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 600 .95rem/1.2 var(--font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
	background: var(--blue);
	color: #fff;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover, .wpcf7-submit:hover {
	background: var(--blue-700);
	color: #fff;
	transform: translateY(-1px);
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: #9bd114; color: var(--navy); box-shadow: 0 8px 20px -8px rgb(133 187 11 / .7); }
.btn-outline { background: transparent; color: var(--blue); border-color: currentColor; }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-lg { padding: 1em 1.75em; font-size: 1rem; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 46px; height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { background: var(--blue-700); }
.icon-btn .icon { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgb(255 255 255 / .92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(11 42 69 / .5); }

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
	transition: min-height .25s var(--ease);
}
.is-scrolled .header-inner { min-height: 72px; }

.site-branding { flex: none; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { width: auto; height: 68px; transition: height .25s var(--ease); }
.is-scrolled .custom-logo { height: 50px; }

.header-actions { display: flex; gap: 10px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

/* Desktop navigation */
.main-nav { margin-left: auto; }
.main-nav-head { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav .menu { display: flex; align-items: center; gap: 2px; }
.main-nav li { position: relative; }
.main-nav .menu > li { display: flex; align-items: center; }

.main-nav a {
	display: block;
	color: var(--navy);
	text-decoration: none;
	font-weight: 600;
	font-size: .9375rem;
	line-height: 1.3;
}
.main-nav .menu > li > a {
	position: relative;
	padding: 12px 12px;
	border-radius: var(--radius-sm);
}
.main-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 4px;
	height: 3px;
	border-radius: 3px;
	background: var(--green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}
.main-nav .menu > li:hover > a,
.main-nav .menu > li:focus-within > a { color: var(--blue); }
.main-nav .menu > li:hover > a::after,
.main-nav .menu > .current-menu-item > a::after,
.main-nav .menu > .current-menu-ancestor > a::after,
.main-nav .menu > .current_page_item > a::after { transform: scaleX(1); }

.main-nav .menu-item-has-children > a,
.main-nav .page_item_has_children > a { padding-right: 4px; }

.submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 26px; height: 26px;
	margin-right: 4px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.submenu-toggle:hover { color: var(--blue); background: var(--blue-50); }
.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

.main-nav .sub-menu,
.main-nav .children {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 270px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
	z-index: 10;
}
/* Invisible hover bridge so the menu doesn't close when moving the mouse */
.main-nav .sub-menu::before, .main-nav .children::before {
	content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu,
.main-nav li:hover > .children,
.main-nav li:focus-within > .children {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.main-nav .sub-menu li { display: flex; align-items: center; flex-wrap: wrap; }
.main-nav .sub-menu a,
.main-nav .children a {
	flex: 1;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	font-weight: 500;
}
.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a,
.main-nav .children a:hover { background: var(--blue-50); color: var(--blue); }
.main-nav .sub-menu .sub-menu { top: -9px; left: calc(100% + 8px); }
.main-nav .sub-menu .sub-menu::before { inset: 0 auto 0 -10px; width: 10px; height: auto; }
.main-nav .sub-menu .submenu-toggle .icon { transform: rotate(-90deg); }
/* Flip deepest flyouts to the left when near the right edge */
.main-nav .menu > li:nth-last-child(-n+3) .sub-menu .sub-menu { left: auto; right: calc(100% + 8px); }

.nav-toggle, .nav-close { display: none; }
.nav-backdrop { display: none; }

/* Mobile navigation */
@media (max-width: 1100px) {
	:root { --header-h: 76px; }
	.custom-logo { height: 52px; }
	.is-scrolled .custom-logo { height: 44px; }
	.is-scrolled .header-inner { min-height: 64px; }
	.nav-toggle { display: inline-grid; background: var(--navy); }
	.main-nav + .header-actions { margin-left: auto; }
	/* backdrop-filter would turn the header into the containing block of the
	   fixed off-canvas panel, so use a solid header on small screens */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }

	.main-nav {
		position: fixed;
		inset: 0 0 0 auto;
		z-index: 200;
		width: min(400px, 88vw);
		height: 100dvh;
		margin: 0;
		padding: 0 0 32px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		box-shadow: var(--shadow-lg);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform .3s var(--ease), visibility 0s linear .3s;
	}
	.nav-open .main-nav { transform: none; visibility: visible; transition-delay: 0s; }
	.main-nav-head {
		position: sticky; top: 0; z-index: 1;
		display: flex; align-items: center; justify-content: space-between;
		padding: 16px 20px;
		background: #fff;
		border-bottom: 1px solid var(--line);
	}
	.main-nav-title { font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
	.nav-close { display: inline-grid; width: 42px; height: 42px; background: var(--soft); color: var(--navy); }
	.nav-close:hover { background: var(--line); }

	.main-nav .menu { display: block; padding: 8px 12px; }
	.main-nav li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
	.main-nav li:last-child { border-bottom: 0; }
	.main-nav .menu > li > a, .main-nav .sub-menu a, .main-nav .children a { flex: 1; padding: 14px 8px; font-size: 1rem; }
	.main-nav .menu > li > a::after { display: none; }
	.submenu-toggle { width: 42px; height: 42px; margin: 0; background: var(--soft); border-radius: 10px; }
	.main-nav .sub-menu .submenu-toggle .icon { transform: none; }
	.main-nav .sub-menu .is-open > .submenu-toggle .icon { transform: rotate(180deg); }

	.main-nav .sub-menu, .main-nav .children,
	.main-nav .sub-menu .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 8px 12px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		transition: none;
	}
	.main-nav .sub-menu::before, .main-nav .children::before { display: none; }
	.main-nav li.is-open > .sub-menu, .main-nav li.is-open > .children { display: block; }
	.main-nav .sub-menu li { border-bottom: 0; }
	.main-nav .sub-menu a { padding: 10px 8px; font-size: .95rem; color: var(--ink); }

	.nav-backdrop {
		display: block;
		position: fixed; inset: 0; z-index: 150;
		background: rgb(11 42 69 / .45);
		opacity: 0;
		transition: opacity .3s var(--ease);
	}
	.nav-backdrop[hidden] { display: none; }
	/* Lift the header (which contains the panel) above the backdrop while open */
	.nav-open .site-header { z-index: 300; }
	.nav-open .nav-backdrop { opacity: 1; }
	.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Search dialog
   -------------------------------------------------------------------------- */
.search-dialog {
	width: min(720px, calc(100vw - 32px));
	margin: 12vh auto auto;
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-lg);
}
.search-dialog::backdrop { background: rgb(11 42 69 / .55); backdrop-filter: blur(4px); }
.search-dialog[open] { animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.search-dialog-inner { display: flex; gap: 12px; align-items: center; padding: 16px; }
.search-dialog .search-form { flex: 1; }
.search-close { background: var(--soft); color: var(--navy); }
.search-close:hover { background: var(--line); }

.search-form { position: relative; display: flex; }
.search-field {
	width: 100%;
	padding: 14px 56px 14px 20px;
	font: 500 1.0625rem var(--font);
	color: var(--ink);
	background: var(--soft);
	border: 2px solid transparent;
	border-radius: 999px;
	transition: border-color .2s, background-color .2s;
}
.search-field:focus { outline: 0; border-color: var(--blue); background: #fff; }
.search-submit {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border: 0; border-radius: 50%;
	background: var(--blue); color: #fff; cursor: pointer;
}
.search-submit:hover { background: var(--blue-700); }
.search-inline { max-width: 560px; margin-bottom: 40px; }

/* --------------------------------------------------------------------------
   Sections & headings
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section + .section:not(.section-events):not(.section-cta) { padding-top: 0; }

.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: clamp(24px, 3vw, 40px);
}
.section-title {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--navy);
}
.section-title::before {
	content: "";
	width: 44px; height: 3px;
	border-radius: 3px;
	background: var(--blue);
}
.section-link {
	display: inline-flex; align-items: center; gap: .4em;
	font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap;
}
.section-link .icon { transition: transform .2s var(--ease); }
.section-link:hover .icon { transform: translateX(3px); }

.kicker {
	margin: 0 0 .6em;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--green);
}

/* --------------------------------------------------------------------------
   Hero (homepage)
   -------------------------------------------------------------------------- */
.hero { padding-top: clamp(8px, 2vw, 24px); }
.hero-media {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: var(--radius-lg);
	aspect-ratio: 16 / 8;
	background: var(--soft);
	box-shadow: var(--shadow);
	margin-bottom: calc(-1 * clamp(56px, 8vw, 120px));
}
.hero-media img {
	display: block;
	width: 100%; height: 100%;
	object-fit: cover;
}
.hero-band {
	position: relative;
	overflow: hidden;
	padding: calc(clamp(56px, 8vw, 120px) + clamp(28px, 4vw, 48px)) 0 clamp(36px, 5vw, 56px);
	background: linear-gradient(115deg, var(--blue-600) 0%, var(--blue) 55%, #1a86cf 100%);
	color: #fff;
}
.hero-band.no-media { padding-top: clamp(40px, 6vw, 72px); }
.hero-band::after {
	/* subtle roof motif from the logo */
	content: "";
	position: absolute;
	right: -60px; bottom: -80px;
	width: 380px; height: 380px;
	border: 46px solid rgb(255 255 255 / .06);
	border-left-color: transparent; border-bottom-color: transparent;
	transform: rotate(-45deg);
	pointer-events: none;
}
.hero-band-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
}
.hero-copy { max-width: 820px; }
.hero .kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgb(255 255 255 / .16); color: #fff; }
.hero-title {
	margin: 0;
	font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.4rem);
	font-weight: 700;
	line-height: 1.18;
	color: #fff;
}
.hero-title a { color: inherit; text-decoration: none; }
.hero-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.hero-text { margin: .8em 0 0; color: rgb(255 255 255 / .85); max-width: 65ch; }
.hero-band .btn { flex: none; }

@media (max-width: 760px) {
	.hero-media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
	.hero-band-inner { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid {
	--cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 1000px) { .card-grid { --cols: 2 !important; } }
@media (max-width: 640px) { .card-grid { --cols: 1 !important; } }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:focus-within { box-shadow: 0 0 0 3px var(--green); }

.card-media { position: relative; aspect-ratio: 74 / 50; overflow: hidden; background: var(--soft); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-placeholder {
	position: absolute; inset: 0;
	background:
		linear-gradient(135deg, transparent 0 60%, rgb(133 187 11 / .25) 60%),
		linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%);
}

.date-badge {
	position: absolute;
	top: 14px; left: 14px;
	display: grid;
	place-items: center;
	min-width: 56px;
	padding: 8px 8px 7px;
	border-radius: 12px;
	background: var(--blue);
	color: #fff;
	line-height: 1;
	text-align: center;
	box-shadow: 0 6px 16px -6px rgb(0 0 0 / .4);
}
.date-badge .d { font-size: 1.35rem; font-weight: 700; }
.date-badge .m { margin-top: 3px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-cat { margin: 0 0 .5em; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); }
.card-title { margin: 0 0 .55em; font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:focus-visible { outline: 0; }
.card:hover .card-title a { color: var(--blue); }
.card-excerpt { margin: 0 0 1.1em; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.card-more {
	display: inline-flex; align-items: center; gap: .4em;
	margin-top: auto;
	font-size: .875rem; font-weight: 700; color: var(--blue);
}
.card-more .icon { transition: transform .2s var(--ease); }
.card:hover .card-more .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Membership CTA
   -------------------------------------------------------------------------- */
.section-cta { padding-top: 0; }
.cta-card {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	padding: clamp(32px, 5vw, 64px);
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, var(--navy) 0%, var(--blue-700) 50%, var(--blue) 100%);
	color: #fff;
	box-shadow: var(--shadow);
}
.cta-copy { position: relative; z-index: 1; max-width: 760px; }
.cta-title { margin: 0 0 .35em; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.cta-copy p { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgb(255 255 255 / .88); }
.cta-card .btn { position: relative; z-index: 1; flex: none; }
.cta-deco { position: absolute; right: -40px; bottom: -40px; width: 300px; color: rgb(133 187 11 / .12); pointer-events: none; }
@media (max-width: 760px) { .cta-card { flex-direction: column; align-items: flex-start; } }

/* --------------------------------------------------------------------------
   Events band
   -------------------------------------------------------------------------- */
.section-events {
	position: relative;
	isolation: isolate;
	color: #fff;
	background: var(--navy);
	overflow: hidden;
}
.section-events::before {
	content: "";
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgb(0 113 189 / .55), transparent 60%),
		radial-gradient(800px 400px at -10% 110%, rgb(133 187 11 / .25), transparent 60%);
}
.section-events.has-bg::before {
	background: var(--events-bg) center / cover no-repeat;
	filter: blur(6px) saturate(1.1);
	transform: scale(1.06);
}
.section-events.has-bg::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgb(11 42 69 / .82), rgb(11 42 69 / .9));
}
.section-events .section-title { color: #fff; }
.section-events .section-title::before { background: var(--green); }
.section-events .section-link { color: #fff; }
.section-events .section-link:hover { color: #dff3a8; }

.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.event-row {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 20px 24px;
	padding: 14px 24px 14px 14px;
	border: 1px solid rgb(255 255 255 / .16);
	border-radius: var(--radius);
	background: rgb(255 255 255 / .07);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.event-row:hover { background: rgb(255 255 255 / .13); border-color: rgb(255 255 255 / .32); transform: translateX(4px); }
.event-row:focus-within { box-shadow: 0 0 0 3px var(--green); }
.event-date {
	display: grid; place-items: center;
	width: 76px; height: 76px;
	border-radius: 12px;
	background: var(--blue);
	line-height: 1;
	text-align: center;
}
.event-date .d { font-size: 1.85rem; font-weight: 700; }
.event-date .m { margin-top: -10px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.event-title { margin: 0 0 6px; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 600; }
.event-title a { color: #fff; text-decoration: none; }
.event-title a::after { content: ""; position: absolute; inset: 0; }
.event-title a:focus-visible { outline: 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: .875rem; color: rgb(255 255 255 / .8); }
.event-meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-meta .icon { width: 16px; height: 16px; color: #dff3a8; }
.event-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / .1); transition: background-color .2s; }
.event-row:hover .event-arrow { background: var(--green); color: var(--navy); }
@media (max-width: 640px) {
	.event-row { grid-template-columns: auto 1fr; padding-right: 16px; gap: 16px; }
	.event-date { width: 62px; height: 62px; }
	.event-date .d { font-size: 1.5rem; }
	.event-arrow { display: none; }
}

/* --------------------------------------------------------------------------
   Page header bar
   -------------------------------------------------------------------------- */
.page-header {
	position: relative;
	overflow: hidden;
	padding: clamp(28px, 4vw, 48px) 0;
	background: linear-gradient(110deg, var(--green) 0%, #9ccc22 100%);
	color: var(--navy);
}
.page-header::after {
	content: "";
	position: absolute;
	right: 6%; top: 50%;
	width: 220px; height: 220px;
	border: 34px solid rgb(255 255 255 / .18);
	border-left-color: transparent; border-bottom-color: transparent;
	transform: translateY(-20%) rotate(-45deg);
	pointer-events: none;
}
.page-title {
	position: relative;
	margin: 0;
	max-width: 900px;
	color: var(--navy);
	font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
}
.page-subtitle {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	margin-top: 12px;
	font-size: .9375rem;
	font-weight: 500;
}
.page-subtitle a { color: var(--navy); }
.page-subtitle p { margin: 0; }

.breadcrumbs { position: relative; margin-bottom: 10px; font-size: .8125rem; font-weight: 500; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; margin-right: 2px; }
.breadcrumbs a { color: var(--navy); text-decoration: none; opacity: .8; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; }
.breadcrumbs [aria-current] { font-weight: 600; }
.breadcrumbs span a, .breadcrumbs > span { color: var(--navy); }

/* --------------------------------------------------------------------------
   Content
   -------------------------------------------------------------------------- */
.page-body { padding-block: clamp(32px, 5vw, 64px); }
.page-body.is-full-width { padding-block: 0; }
.article { padding-block: clamp(32px, 5vw, 56px) clamp(16px, 3vw, 32px); }

.prose, .article .entry-content { max-width: 760px; margin-inline: auto; }
.article-media {
	max-width: 960px;
	margin: 0 auto clamp(28px, 4vw, 44px);
}
.article-media img { display: block; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-media figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }

.entry-content > *:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--blue); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin: 1.75em 0; }
.entry-content figcaption, .wp-caption-text { font-size: .85rem; color: var(--muted); }
.entry-content iframe { border-radius: var(--radius-sm); }

.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

.article .alignwide { margin-inline: calc((760px - min(1200px, 100vw - var(--gutter) * 2)) / 2); max-width: none; }
.article .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }

.article-footer { margin-top: 32px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-list a {
	display: inline-block; padding: 6px 14px;
	border-radius: 999px; background: var(--soft);
	font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--navy);
}
.tag-list a:hover { background: var(--blue-50); color: var(--blue); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.post-nav-link {
	display: flex; flex-direction: column; gap: 6px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s;
}
.post-nav-link:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.post-nav-link.next { grid-column: 2; text-align: right; align-items: flex-end; }
.post-nav-link .label { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-nav-link .title { color: var(--navy); font-weight: 600; line-height: 1.4; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav-link.next { grid-column: 1; } }

.section-related { background: var(--soft); margin-top: clamp(40px, 6vw, 80px); padding-top: var(--section-y) !important; }

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-weight: 600; text-decoration: none; color: var(--navy);
}
.pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .dots { border: 0; }

.empty-state { max-width: 560px; margin: 0 auto; text-align: center; }
.empty-state .search-form { margin: 24px 0; }
.big-404 { margin: 0; font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.04em; }

/* --------------------------------------------------------------------------
   Forms (incl. Contact Form 7)
   -------------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"],
input[type="date"], input[type="password"], select, textarea {
	width: 100%;
	max-width: 100%;
	padding: 12px 16px;
	font: 400 1rem var(--font);
	color: var(--ink);
	background: #fff;
	border: 1.5px solid #cfd7e2;
	border-radius: 10px;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(0 113 189 / .15); }
textarea { min-height: 140px; resize: vertical; }
label { font-weight: 600; color: var(--navy); font-size: .9375rem; }
.wpcf7 form p { margin-bottom: 1.1em; }
.wpcf7-not-valid-tip { font-size: .85rem; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 1em 0 0; padding: 12px 16px; border-radius: 10px; }

/* Comments */
.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: .875rem; }
.avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }

/* --------------------------------------------------------------------------
   Legacy (ThemeREX) shortcode replacements
   -------------------------------------------------------------------------- */
.sc-title.section-title { margin: 2em 0 1.25em; }
.infobox { margin: 1.5em 0; padding: 18px 22px; border-radius: var(--radius); background: var(--blue-50); border-left: 4px solid var(--blue); }
.infobox-success { background: var(--green-50); border-color: var(--green); }
.infobox-error { background: #fdecec; border-color: #d33; }
.trx-columns { --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 24px; margin: 1.5em 0; }
@media (max-width: 760px) { .trx-columns { grid-template-columns: 1fr; } .trx-column { grid-column: auto !important; } }
.trx-list { padding-left: 1.3em; }
.logo-grid {
	--cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	gap: 16px;
	margin: 2em 0;
	padding: 0;
	list-style: none;
}
@media (max-width: 900px) { .logo-grid { --cols: 3 !important; } }
@media (max-width: 560px) { .logo-grid { --cols: 2 !important; } }
.logo-item > a, .logo-item > img, .logo-item > .logo-name {
	display: grid; place-items: center;
	height: 100%;
	min-height: 120px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-align: center;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.logo-item a:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-item img { max-height: 80px; width: auto; object-fit: contain; border-radius: 0; }
.logo-name { font-weight: 600; color: var(--navy); }
.more-link-wrap { text-align: center; margin-top: 32px; }

/* WPBakery: soften old flat blocks so they fit the new look */
.vc_cta3.vc_cta3-style-custom { border-radius: var(--radius-lg); }
.vc_btn3.vc_btn3-shape-rounded, .wpb_btn { border-radius: 999px !important; }
.wpb_single_image .vc_single_image-wrapper img { border-radius: var(--radius-sm); }
.vc_row.vc_row-flex { box-sizing: border-box; }

/* The theme has its own share bar: hide Social Warfare's buttons while that plugin is still active */
.swp_social_panel, .swp_social_panelSide, .swp-hidden-panel-wrap, .swp-content-locator { display: none !important; }

/* Large images inside running text always start on their own line */
.entry-content img.alignnone:is(.size-full, .size-large, .size-medium_large) { display: block; margin: .5em 0 1em; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	margin-top: 0;
	background: #071d31;
	color: rgb(255 255 255 / .78);
	font-size: .9375rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	padding-block: clamp(48px, 6vw, 72px);
}
.site-footer .widget-title,
.site-footer h2,
.site-footer h3 {
	margin: 0 0 16px;
	font-size: .8125rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #dff3a8; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 16px; }
.site-footer address strong { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { width: 18px; height: 18px; color: var(--green); }
.footer-cta p { margin-bottom: 18px; }
.footer-cta .btn-primary, .footer-cta .btn-primary:hover { color: var(--navy); text-decoration: none; }

.social-links { display: flex; gap: 10px; margin-top: 20px !important; }
.social-links li { margin: 0; }
.social-links a {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgb(255 255 255 / .08);
	transition: background-color .2s;
}
.social-links a:hover { background: var(--blue); color: #fff; }
.social-links .icon { width: 18px; height: 18px; }

.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 24px 32px; font-size: .8125rem; }
.footer-bottom p { margin: 0; }
.copyright { color: rgb(255 255 255 / .9); margin-bottom: 10px !important; }
.disclaimer { max-width: 1000px; color: rgb(255 255 255 / .55); line-height: 1.6; }

.to-top {
	position: fixed;
	right: 20px; bottom: 20px;
	z-index: 90;
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	box-shadow: var(--shadow);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--blue-700); color: #fff; }

/* Print */
@media print {
	.site-header, .site-footer, .to-top, .search-dialog, .post-nav, .section-related, .swp_social_panel { display: none !important; }
	.page-header { background: none; padding: 0; }
	body { font-size: 12pt; }
}

/* Section headings/grids placed inside page content (e.g. via [trx_blogger]) */
.entry-content .section-heading { margin-top: 2.5em; }
.entry-content .card-grid { margin-bottom: 1.5em; }
.site-footer .widget + .widget { margin-top: 28px; }

/* --------------------------------------------------------------------------
   WPBakery fallback layout (used only when the WPBakery plugin is removed)
   -------------------------------------------------------------------------- */
.site-main { overflow-x: clip; }
.vc-row { --vc-gap: 30px; position: relative; margin-bottom: 1.5em; }
.vc-row-cols {
	display: flex;
	flex-wrap: wrap;
	margin-inline: calc(var(--vc-gap) / -2);
}
.vc-row.is-equal-height .vc-row-cols { align-items: stretch; }
.vc-row.is-placement-middle .vc-row-cols { align-items: center; }
.vc-row.is-placement-bottom .vc-row-cols { align-items: flex-end; }
.vc-col {
	flex: 0 0 var(--w, 100%);
	max-width: var(--w, 100%);
	padding-inline: calc(var(--vc-gap) / 2);
	min-width: 0;
}
.vc-col-inner > *:first-child { margin-top: 0; }
.vc-col-inner > *:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
	.vc-col { flex-basis: 100%; max-width: 100%; }
	.vc-col + .vc-col { margin-top: 1.25em; }
}
/* Full-width rows break out of the page container */
.vc-row.is-stretched {
	margin-inline: calc(50% - 50vw);
	padding-inline: calc(50vw - 50%);
}
.vc-row.is-stretched-content { padding-inline: 0; }
.vc-row.is-stretched-content > .vc-row-cols { margin-inline: 0; }

.vc-text > *:first-child { margin-top: 0; }
.vc-text { margin-bottom: 1.25em; }
.vc-image { margin: 0 0 1.5em; }
.vc-image.align-center { text-align: center; }
.vc-image.align-right { text-align: right; }
.vc-image img { border-radius: var(--radius-sm); }
.vc-image.is-rounded img { border-radius: 50%; }
.vc-image figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.vc-image-title { font-size: 1.1rem; margin: 0 0 .6em; }
.vc-sep { margin: 2em 0; }
.vc-sep.is-invisible { border-color: transparent; margin: 1em 0; }
.vc-sep-text { display: flex; align-items: center; gap: 16px; margin: 2em 0; font-weight: 700; color: var(--navy); }
.vc-sep-text::before, .vc-sep-text::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.vc-btn-wrap { margin: 1em 0; }
.vc-btn { margin: .25em .5em .25em 0; }
.vc-heading { margin-top: 0; }
.vc-video { margin-bottom: 1.5em; aspect-ratio: 16 / 9; }
.vc-video iframe { width: 100%; height: 100%; }
.vc-cta { margin: 2em 0; }
.vc-cta.is-stacked { flex-direction: column; align-items: flex-start; }
.cta-sub { margin: 0 0 .5em; font-weight: 600; color: rgb(255 255 255 / .9); }
.cta-text { color: rgb(255 255 255 / .88); }
.cta-text a { color: #fff; }
.cta-text p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Photo galleries (Envira fallback) + lightbox
   -------------------------------------------------------------------------- */
.photo-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
	margin: 2em 0;
}
.photo-gallery-item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--soft);
}
.photo-gallery-item img {
	width: 100%; height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform .4s var(--ease), filter .3s;
}
.photo-gallery-item:hover img { transform: scale(1.05); filter: brightness(.9); }
@media (max-width: 480px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

.lightbox {
	width: 100vw; height: 100dvh;
	max-width: none; max-height: none;
	margin: 0; padding: 0;
	border: 0;
	background: rgb(5 15 26 / .94);
	color: #fff;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: fade .2s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.has-lightbox { overflow: hidden; }
.lightbox-figure { margin: 0; max-width: calc(100vw - 32px); text-align: center; }
.lightbox-figure img {
	display: block;
	max-width: min(1400px, calc(100vw - 140px));
	max-height: calc(100dvh - 120px);
	width: auto; height: auto;
	margin: 0 auto;
	border-radius: var(--radius-sm);
}
.lightbox-figure figcaption { margin-top: 12px; font-size: .9rem; color: rgb(255 255 255 / .8); }
.lightbox-btn {
	position: fixed;
	display: grid; place-items: center;
	width: 52px; height: 52px;
	border: 0; border-radius: 50%;
	background: rgb(255 255 255 / .12);
	color: #fff;
	font-size: 2rem; line-height: 1;
	cursor: pointer;
	transition: background-color .2s;
}
.lightbox-btn:hover { background: rgb(255 255 255 / .25); }
.lightbox-close { top: 16px; right: 16px; font-size: 1.8rem; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next { display: none; }
.lightbox-count { position: fixed; top: 28px; left: 24px; font-size: .9rem; font-weight: 600; color: rgb(255 255 255 / .8); }
@media (max-width: 640px) {
	.lightbox-figure img { max-width: calc(100vw - 16px); }
	.lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
}

/* --------------------------------------------------------------------------
   Share bar
   -------------------------------------------------------------------------- */
.share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 40px;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: var(--soft);
}
.page-body .share-bar { max-width: 760px; }
.share-label { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.share-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.share-list li { margin: 0; }
.share-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 42px; height: 42px;
	padding: 0 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font: 600 .875rem var(--font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.share-btn .icon { width: 18px; height: 18px; }
.share-btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; background: var(--blue); }
.share-linkedin:hover { background: #0a66c2; }
.share-facebook:hover { background: #1877f2; }
.share-x:hover { background: #111; }
.share-whatsapp:hover { background: #1fa855; }
.share-status { font-size: .875rem; font-weight: 600; color: var(--green-600); }
.share-status:empty { display: none; }

/* Legacy ThemeREX column markup that may have been pasted into content */
.columns_wrap { display: flex; flex-wrap: wrap; margin: 0 -15px 1.5em; }
.columns_wrap > [class*="column-"] { padding: 0 15px; min-width: 0; }
.columns_wrap > .column-1_1 { width: 100%; }
.columns_wrap > .column-1_2 { width: 50%; }
.columns_wrap > .column-1_3 { width: 33.3333%; }
.columns_wrap > .column-2_3 { width: 66.6667%; }
.columns_wrap > .column-1_4 { width: 25%; }
.columns_wrap > .column-3_4 { width: 75%; }
.columns_wrap > .column-1_5 { width: 20%; }
.columns_wrap > .column-1_6 { width: 16.6667%; }
.columns_wrap img { border-radius: var(--radius-sm); }
@media (max-width: 900px) { .columns_wrap > .column-1_4, .columns_wrap > .column-1_5, .columns_wrap > .column-1_6 { width: 50%; } }
@media (max-width: 767px) { .columns_wrap > [class*="column-"] { width: 100%; margin-bottom: 1.25em; } }
.entry-content a.sc_button {
	display: inline-flex; align-items: center; gap: .5em;
	margin: .25em 0;
	padding: .8em 1.4em;
	border-radius: 999px;
	background: var(--green) !important; border: 0 !important;
	color: var(--navy) !important;
	font-weight: 600; font-size: .95rem; text-decoration: none;
}
.entry-content a.sc_button:hover { background: #9bd114 !important; }

/* --------------------------------------------------------------------------
   Leden: sector filter
   -------------------------------------------------------------------------- */
.sector-filter { margin: 1.5em 0 1.75em; }
.sector-filter ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sector-filter li { margin: 0; }
.sector-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font-size: .875rem; font-weight: 600; line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}
.sector-btn:hover { border-color: var(--blue); color: var(--blue); }
.sector-btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.sector-n {
	display: inline-grid; place-items: center;
	min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: 999px;
	background: var(--soft);
	color: var(--muted);
	font-size: .75rem;
}
.sector-btn.is-active .sector-n { background: var(--blue-700); color: #fff; }
.sector-status { margin: 12px 0 0; font-size: .875rem; color: var(--muted); }
.logo-item[hidden] { display: none !important; }
.leden-empty { color: var(--muted); }

/* --------------------------------------------------------------------------
   Review fixes: readability, touch targets, small screens
   -------------------------------------------------------------------------- */
/* Links in footer text are recognisable without relying on colour */
.footer-bottom a, .site-footer address a, .site-footer .textwidget a { text-decoration: underline; text-underline-offset: .2em; }
/* Comfortable touch targets (≥ 24px) for footer and breadcrumb links */
.site-footer li a { display: inline-block; padding-block: 3px; }
.breadcrumbs a { display: inline-block; padding-block: 3px; }

@media (max-width: 640px) {
	/* The page title is right below: don't repeat it in the breadcrumb */
	.breadcrumbs li[aria-current] { display: none; }
	.breadcrumbs li:nth-last-child(2)::after { content: ""; }

	/* Sector filter: one swipeable row instead of many lines */
	.sector-filter ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: calc(-1 * var(--gutter));
		padding: 2px var(--gutter) 8px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 32px), transparent 100%);
	}
	.sector-filter ul::-webkit-scrollbar { display: none; }
	.sector-filter li { flex: none; scroll-snap-align: start; }
	.sector-status { margin-top: 6px; }
}

/* Former H1 headings inside content keep their size */
.entry-content h2[data-was-h1] { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
.comment-reply-title { font-size: 1.4rem; }

@media (max-width: 640px) {
	/* Smaller roof motif so it doesn't run behind long titles */
	.page-header::after { width: 140px; height: 140px; border-width: 24px; right: -30px; top: auto; bottom: -40px; transform: rotate(-45deg); opacity: .7; }
	/* Date and categories on their own lines without a dangling separator */
	.page-subtitle .sep { display: none; }
	.page-subtitle .cats { flex-basis: 100%; }
}
