/* =========================================================================
   Wildtrack — modern visual layer over Twenty Twenty-Four
   Loaded after theme.json presets, so it can refine typography, colour,
   spacing and components site-wide.
   ========================================================================= */

:root {
	--wt-green: #1f7a4d;
	--wt-green-dark: #0e3d26;
	--wt-cream: #f4efe3;
	--wt-cream-2: #faf8f3;
	--wt-ink: #16150f;
	--wt-shadow: 0 18px 40px rgba(14, 61, 38, 0.14);
	--wt-shadow-sm: 0 6px 18px rgba(22, 21, 15, 0.08);
	--wt-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
* { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--wt-green); color: #fff; }

:where(.wp-site-blocks *:focus-visible) {
	outline: 2px solid var(--wt-green);
	outline-offset: 2px;
}

.wp-site-blocks > main { margin-top: 0; }

/* -------------------------------------------------------------------------
   Typography — Fraunces on headings, Inter everywhere else
   ------------------------------------------------------------------------- */
h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading,
h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading,
.wp-block-post-title, .wp-block-site-title, .wp-block-site-title a {
	font-family: "Fraunces", Georgia, "Times New Roman", serif !important;
	font-optical-sizing: auto;
}

h1.wp-block-heading, h2.wp-block-heading { letter-spacing: -0.02em; }

p, li, .wp-block-button__link, input, textarea, select, .wp-block-navigation {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Balance long headings, tidy paragraph measure */
h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading {
	text-wrap: balance;
}
p { text-wrap: pretty; }

/* Asterisk motif -> a small green flourish that reads as an eyebrow */
.is-style-asterisk:before {
	color: var(--wt-green);
	font-size: 1.15em;
	line-height: 1;
}

/* -------------------------------------------------------------------------
   Header + navigation
   ------------------------------------------------------------------------- */
.wp-site-blocks > header.header { position: relative; }

/* Remove the photo band in the header everywhere — keep just logo + nav */
.header .header-div { position: relative; background-image: none !important; }
.header .header-div:before { display: none !important; }

/* Home: header floats transparently over the hero (no separate top bar) */
body.home header.header {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 20;
}
body.home .header .header-div { background: transparent !important; }

/* Inner pages: clean solid header bar instead of a photo strip */
body:not(.home) .header .header-div {
	background: var(--wt-green-dark) !important;
}

.wp-block-site-title a { text-decoration: none !important; }

/* Nav items -> clean glass pills with subtle borders */
nav.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content,
nav.wp-block-navigation a.wp-block-navigation-item__content {
	text-decoration: none !important;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding: 0.55rem 1.05rem;
	border-radius: 999px;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.10);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background-color 0.25s var(--wt-ease), transform 0.25s var(--wt-ease), border-color 0.25s ease;
}
nav.wp-block-navigation .wp-block-navigation-item a:hover .wp-block-navigation-item__content,
nav.wp-block-navigation a.wp-block-navigation-item__content:hover {
	background: rgba(255, 255, 255, 0.95);
	color: var(--wt-green-dark) !important;
	border-color: transparent;
	transform: translateY(-2px);
}

/* The nav is built from Button blocks with a muddy grey background baked in.
   Override to clean, consistent glass pills that work on the transparent hero
   header and the solid green inner-page header alike. */
nav.wp-block-navigation .wp-block-button__link,
.wp-block-navigation-item .wp-block-button__link {
	background: rgba(255, 255, 255, 0.10) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 999px !important;
	padding: 0.5rem 1.05rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	white-space: nowrap;
	box-shadow: none !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background-color 0.25s var(--wt-ease), color 0.2s ease, transform 0.25s var(--wt-ease), border-color 0.2s ease !important;
}
/* Keep the logo + nav on one row on tablet/desktop */
@media (min-width: 782px) {
	.header .header-div > .wp-block-group.alignwide { flex-wrap: nowrap !important; }
	.header nav.wp-block-navigation { flex-wrap: nowrap !important; }
}
nav.wp-block-navigation .wp-block-button__link:hover,
.wp-block-navigation-item .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.95) !important;
	color: var(--wt-green-dark) !important;
	border-color: transparent !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
}
/* Current page pill: subtle solid so it reads as active */
nav.wp-block-navigation .current-menu-item .wp-block-button__link,
nav.wp-block-navigation .wp-block-button__link[aria-current="page"] {
	background: rgba(255, 255, 255, 0.9) !important;
	color: var(--wt-green-dark) !important;
	border-color: transparent !important;
}

/* -------------------------------------------------------------------------
   Hero — fills one viewport, next section starts at the fold
   ------------------------------------------------------------------------- */
.main_image { min-height: 100vh; overflow: hidden; position: relative; }
.main_image:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 61, 38, 0.18) 0%, rgba(14, 61, 38, 0) 35%, rgba(14, 61, 38, 0.28) 100%);
	pointer-events: none;
	z-index: 0;
}
.main_image > * { position: relative; z-index: 1; }
.main_image .main_title { padding-top: 1.5rem !important; padding-bottom: 2.5rem !important; }

.main_image .main_title h2 {
	font-size: clamp(2.75rem, 1.8rem + 5vw, 5.5rem) !important;
	font-weight: 600 !important;
	letter-spacing: -0.03em !important;
	line-height: 1.02 !important;
	text-shadow: 0 2px 30px rgba(14, 61, 38, 0.35);
}

/* Hero intro highlight -> softer rounded chip rather than raw <mark> band */
.main_image .main-text mark {
	background-color: rgba(31, 122, 77, 0.92) !important;
	color: #fff !important;
	padding: 0.15em 0.55em;
	border-radius: 0.5em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	box-shadow: 0 8px 22px rgba(14, 61, 38, 0.3);
}

/* -------------------------------------------------------------------------
   Section colour harmonisation — replace off-brand inline colours
   ------------------------------------------------------------------------- */
/* Muddy olive block -> warm cream, keeps dark text readable */
[style*="background-color:#a9ac5a"] {
	background-color: var(--wt-cream) !important;
}
/* Cool grey block -> warm off-white */
[style*="background-color:#f4f2f2"] {
	background-color: var(--wt-cream-2) !important;
}
/* Dusty mauve cover overlay -> forest green, matches sibling card */
[style*="background-color:#ad9893"] {
	background-color: var(--wt-green-dark) !important;
}
/* Warm the light divider strip */
.has-contrast-3-background-color { background-color: var(--wt-cream) !important; }

/* Generous, consistent vertical rhythm on full-width bands */
.wp-site-blocks > main .alignfull.wp-block-group {
	padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
	padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.wp-site-blocks > main .main_image.alignfull { padding-top: 0; padding-bottom: 0; }

/* -------------------------------------------------------------------------
   Cards / covers (Zulu, Miro navigation tiles)
   ------------------------------------------------------------------------- */
.wp-block-cover {
	overflow: hidden;
	border-radius: 1.25rem;
	box-shadow: var(--wt-shadow-sm);
	transition: box-shadow 0.35s var(--wt-ease), transform 0.35s var(--wt-ease);
}
.wp-block-cover:hover { box-shadow: var(--wt-shadow); transform: translateY(-4px); }
.wp-block-cover img.wp-block-cover__image-background { transition: transform 0.6s var(--wt-ease); }
.wp-block-cover:hover img.wp-block-cover__image-background { transform: scale(1.06); }
.wp-block-cover .wp-block-cover__inner-container a {
	text-decoration: none !important;
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	letter-spacing: 0.01em;
}
/* Make the Zulu/Miro tiles feel like consistent, tall image cards */
.wp-block-columns .wp-block-column > .wp-block-cover { min-height: 340px; }

/* -------------------------------------------------------------------------
   Images
   ------------------------------------------------------------------------- */
.wp-block-image img,
.wp-block-post-featured-image img { border-radius: 1rem; }
.wp-block-image, .wp-block-post-featured-image { transition: transform 0.4s var(--wt-ease); }
.wp-block-image img, .wp-block-post-featured-image img {
	box-shadow: var(--wt-shadow-sm);
	transition: transform 0.4s var(--wt-ease), box-shadow 0.4s ease;
}
.wp-block-image:hover img,
.wp-block-post-featured-image:hover img {
	transform: translateY(-4px) scale(1.012);
	box-shadow: var(--wt-shadow);
}

/* -------------------------------------------------------------------------
   Buttons + inline "link" calls-to-action
   ------------------------------------------------------------------------- */
.wp-block-button__link {
	box-shadow: 0 8px 20px rgba(31, 122, 77, 0.28);
	transition: transform 0.25s var(--wt-ease), box-shadow 0.25s ease, background-color 0.2s ease;
}
.wp-block-button__link:hover {
	transform: translateY(-3px) scale(1.015);
	box-shadow: 0 16px 30px rgba(31, 122, 77, 0.36);
}
.wp-block-button__link:active { transform: translateY(-1px) scale(0.99); }

/* Turn the bare "Jak přispět / Zjistit více" text links into pill CTAs */
.is-style-checkmark-list + p > a,
p > a[href*="join-us"],
p > a[href*="/join-us/"] {
	display: inline-block;
	text-decoration: none !important;
	background: var(--wt-green);
	color: #fff !important;
	padding: 0.75rem 1.6rem;
	border-radius: 999px;
	font-weight: 600;
	box-shadow: 0 8px 20px rgba(31, 122, 77, 0.28);
	transition: transform 0.25s var(--wt-ease), box-shadow 0.25s ease, background-color 0.2s ease;
}
.is-style-checkmark-list + p > a:hover,
p > a[href*="join-us"]:hover,
p > a[href*="/join-us/"]:hover {
	background: var(--wt-green-dark);
	color: #fff !important;
	transform: translateY(-3px);
	box-shadow: 0 16px 30px rgba(31, 122, 77, 0.36);
}

/* Checkmark list flourish */
.is-style-checkmark-list li { position: relative; }

/* -------------------------------------------------------------------------
   Separators
   ------------------------------------------------------------------------- */
.wp-block-separator.is-style-wide {
	border-color: rgba(22, 21, 15, 0.14);
	max-width: 100%;
}

/* -------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=number], input[type=search], textarea, select {
	border-radius: 0.7rem !important;
	border: 1px solid var(--wp--preset--color--contrast-3) !important;
	padding: 0.75em 0.95em !important;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
	outline: none !important;
	border-color: var(--wt-green) !important;
	box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.18) !important;
}
.wpforms-submit, .wpcf7-submit, .pum-submit {
	border-radius: 999px !important;
	background: var(--wt-green) !important;
	color: #fff !important;
	border: 0 !important;
	padding: 0.85rem 2rem !important;
	font-weight: 600 !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}
.wpforms-submit:hover, .wpcf7-submit:hover, .pum-submit:hover {
	transform: translateY(-2px);
	background: var(--wt-green-dark) !important;
	box-shadow: 0 12px 24px rgba(31, 122, 77, 0.32) !important;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.wp-site-blocks > footer,
footer.wp-block-template-part {
	background: var(--wt-green-dark);
	color: rgba(255, 255, 255, 0.82);
	margin-top: 0 !important;
}

/* Brand column */
.wt-footer-brand,
.wt-footer-brand a {
	font-family: "Fraunces", Georgia, serif !important;
	font-size: 1.7rem !important;
	font-weight: 600 !important;
	color: #fff !important;
	text-decoration: none !important;
	line-height: 1.1;
}
.wt-footer-tag {
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 0.95rem !important;
	line-height: 1.6;
	max-width: 34ch;
	margin-top: 0.9rem !important;
}

/* Small uppercase column headings */
footer.wp-block-template-part .wt-foot-h {
	font-family: "Inter", sans-serif !important;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: #83d7ab !important;
	margin: 0 0 1.1rem !important;
}

/* Link list */
.wt-foot-links {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.wt-foot-links li { margin: 0 !important; }
.wt-foot-links a {
	color: rgba(255, 255, 255, 0.82) !important;
	text-decoration: none !important;
	font-size: 1rem;
	transition: color 0.2s ease, padding-left 0.2s ease;
}
.wt-foot-links a:hover { color: #fff !important; padding-left: 4px; }

/* Social icons — clean monochrome, subtle */
.wt-social { gap: 0.6rem !important; }
.wt-social .wp-social-link {
	background: rgba(255, 255, 255, 0.08) !important;
	border-radius: 999px !important;
	padding: 0.55rem !important;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.wt-social .wp-social-link:hover {
	background: var(--wt-green) !important;
	transform: translateY(-2px);
}
.wt-social .wp-social-link a { color: #fff !important; }
.wt-social .wp-block-social-link-anchor svg { fill: #fff !important; }

/* Divider + bottom bar */
.wt-foot-sep.wp-block-separator {
	border-color: rgba(255, 255, 255, 0.14) !important;
	background: transparent !important;
	margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 1.5rem !important;
	opacity: 1;
}
.wt-foot-bottom { align-items: center; gap: 0.5rem 2rem; }
.wt-foot-copy {
	color: rgba(255, 255, 255, 0.5) !important;
	font-size: 0.82rem !important;
	margin: 0 !important;
}

/* Fallback for any remaining footer headings/links */
footer.wp-block-template-part .wp-block-site-title a { color: #fff !important; }
footer.wp-block-template-part a:not(.wp-social-link a) { text-decoration: none; }

@media (max-width: 781px) {
	.wt-footer-top { gap: 2.5rem; }
	.wt-foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------------------
   Scroll reveal + animation safety
   ------------------------------------------------------------------------- */
.reveal-on-scroll {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--wt-ease), transform 0.7s var(--wt-ease);
}
.reveal-on-scroll.is-revealed { opacity: 1; transform: translateY(0); }

/* Never let animated media stay hidden if an observer fails */
.no-js .animated,
.wp-block-image.animated.is-fallback-visible,
.wp-block-cover.animated.is-fallback-visible { opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-on-scroll, .reveal-on-scroll.is-revealed { opacity: 1 !important; transform: none !important; }
	.animated { opacity: 1 !important; animation: none !important; }
	html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------
   Small screens
   ------------------------------------------------------------------------- */
@media (max-width: 781px) {
	.wp-block-columns .wp-block-column > .wp-block-cover { min-height: 260px; }
	.main_image .main_title h2 { line-height: 1.05 !important; }
}

/* =========================================================================
   CINEMATIC HOMEPAGE (wt-*)
   ========================================================================= */

/* Seamless bands: kill the vertical block-gap between the full-bleed
   sections on the homepage so nothing shows a white seam between them. */
body.home .entry-content.wp-block-post-content { margin-top: 0; }
body.home .entry-content.wp-block-post-content > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Full-bleed covers: no rounding, no hover lift, cinematic depth gradient */
.wt-hero, .wt-immersive,
.wp-block-cover.alignfull {
	border-radius: 0 !important;
	box-shadow: none !important;
}
.wt-hero:hover, .wt-immersive:hover,
.wp-block-cover.alignfull:hover { transform: none !important; box-shadow: none !important; }
.wt-hero:hover img.wp-block-cover__image-background,
.wt-immersive:hover img.wp-block-cover__image-background { transform: none; }

.wt-hero:after, .wt-immersive:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6,20,13,0.35) 0%, rgba(6,20,13,0) 30%, rgba(6,20,13,0.10) 55%, rgba(6,20,13,0.75) 100%);
	pointer-events: none;
	z-index: 1;
}
.wt-hero .wp-block-cover__inner-container,
.wt-immersive .wp-block-cover__inner-container { position: relative; z-index: 2; }

/* Ken Burns on hero + gentle parallax reveal on immersive bands */
.wt-hero img.wp-block-cover__image-background {
	animation: wt-kenburns 26s ease-out both;
	will-change: transform;
}
@keyframes wt-kenburns {
	from { transform: scale(1.02); }
	to { transform: scale(1.14); }
}
.wt-immersive img.wp-block-cover__image-background {
	height: 124% !important;
	top: -12% !important;
	will-change: transform;
}

/* Eyebrow label */
.wt-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.82rem !important;
	font-weight: 700;
	color: var(--wt-green);
	margin-bottom: 0.9rem !important;
	font-family: "Inter", sans-serif !important;
}
.wt-hero .wt-eyebrow, .wt-immersive .wt-eyebrow, .wt-team .wt-eyebrow {
	color: #83d7ab;
}

/* Big display headings */
.wt-hero-title {
	font-size: clamp(2.9rem, 1.9rem + 5.5vw, 6rem) !important;
	font-weight: 500 !important;
	line-height: 0.98 !important;
	letter-spacing: -0.03em !important;
	margin: 0 0 1.25rem !important;
	text-shadow: 0 4px 40px rgba(6, 20, 13, 0.45);
}
.wt-bigquote {
	font-size: clamp(2rem, 1.3rem + 3.6vw, 4rem) !important;
	font-weight: 500 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
	max-width: 20ch;
	margin: 0 auto !important;
	text-shadow: 0 4px 40px rgba(6, 20, 13, 0.5);
}
.wt-quote-by {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.82rem !important;
	margin-top: 1.75rem !important;
	opacity: 0.85;
}
.wt-h2 {
	font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem) !important;
	font-weight: 500 !important;
	letter-spacing: -0.02em !important;
	margin: 0 0 1rem !important;
}

/* Lead + body paragraphs */
.wt-lead {
	font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem) !important;
	line-height: 1.55;
	max-width: 44ch;
	margin: 0 auto 2rem !important;
	opacity: 0.94;
}
.wt-body {
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem) !important;
	line-height: 1.75;
	max-width: 60ch;
	margin-left: auto !important;
	margin-right: auto !important;
}
.wt-body-sm { font-size: 1rem !important; opacity: 0.88; max-width: 52ch; margin: 1.25rem auto 2rem !important; }
.wt-media-note { font-size: 0.95rem !important; color: var(--wt-green-dark); margin-top: 2.5rem !important; opacity: 0.9; }

/* Section rhythm */
.wt-section {
	padding-top: clamp(4.5rem, 3rem + 6vw, 8rem) !important;
	padding-bottom: clamp(4.5rem, 3rem + 6vw, 8rem) !important;
}
.wt-narrow { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* Hero inner + scroll cue */
.wt-hero .wp-block-cover__inner-container { width: 100%; }
.wt-hero-buttons { gap: 0.9rem; }
.wt-scrollcue { display: none; }
.wt-scrollcue--x {
	position: absolute;
	left: 50%; bottom: 1.6rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.7rem !important;
	margin: 0 !important;
	animation: wt-bounce 2s infinite;
	z-index: 3;
}
@keyframes wt-bounce {
	0%, 100% { transform: translate(-50%, 0); opacity: 0.8; }
	50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* Ghost / secondary button */
.wp-block-button.wt-ghost .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.wp-block-button.wt-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.95) !important;
	color: var(--wt-green-dark) !important;
	border-color: transparent !important;
}

/* Pillars */
.wt-pillars { gap: clamp(1.5rem, 1rem + 2vw, 3rem) !important; margin-top: 1rem; }
.wt-pillar {
	border-top: 3px solid var(--wt-green);
	padding-top: 1.4rem;
	height: 100%;
}
.wt-pillar-title { font-size: 1.4rem !important; margin: 0 0 0.6rem !important; }
.wt-pillar p { font-size: 1.02rem !important; color: var(--wt-ink); opacity: 0.82; line-height: 1.6; margin: 0; }

/* Team band + cards */
.wt-team { color: #fff; }
.wt-team-grid { gap: clamp(1.25rem, 1rem + 2vw, 2rem) !important; }
.wt-team-card { border-radius: 1.5rem; }
/* When only one member remains, center the single card */
.wt-team-grid .wp-block-column:only-child {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	flex-basis: 100% !important;
}
.wt-team-card:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6,20,13,0) 35%, rgba(6,20,13,0.85) 100%);
	pointer-events: none;
	z-index: 1;
}
.wt-team-card .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	align-self: flex-end;
	text-align: left;
	padding: 1.75rem;
}
.wt-team-card .wp-block-cover__inner-container > * { text-align: left; }
.wt-card-role {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem !important;
	color: #83d7ab !important;
	margin: 0 0 0.35rem !important;
	font-family: "Inter", sans-serif !important;
}
.wt-card-name { font-size: 1.7rem !important; margin: 0 0 0.75rem !important; }
.wt-card-link a {
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	font-family: "Inter", sans-serif;
	display: inline-block;
	transition: transform 0.25s var(--wt-ease);
}
.wt-team-card:hover .wt-card-link a { transform: translateX(6px); }
.wt-team-card:hover img.wp-block-cover__image-background { transform: scale(1.06) !important; }

/* Hero video background — cover the viewport, sit behind overlay + content */
.wt-hero video.wp-block-cover__video-background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
/* Ensure the dark overlay actually dims the video for text legibility */
.wt-hero .wp-block-cover__background { z-index: 1; }

/* Join Us page — misc content */
.wt-body-left {
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.18rem) !important;
	line-height: 1.78;
	margin-bottom: 1.2rem !important;
}
.wt-train-group {
	font-size: 1.4rem !important;
	margin: 0 0 1.1rem !important;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--wt-green);
	display: inline-block;
}

/* Join Us page — cost cards grid */
.wt-cost-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(0.8rem, 0.5rem + 1vw, 1.25rem);
	margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.wt-cost-grid > * { max-width: none !important; margin: 0 !important; }
.wt-cost-card {
	min-height: 200px !important;
	cursor: pointer;
	border-radius: 1.1rem;
}
.wt-cost-card .wp-block-cover__inner-container { width: 100%; padding: 1.25rem; }
.wt-cost-label {
	font-family: "Fraunces", Georgia, serif !important;
	color: #fff !important;
	font-size: 1.15rem !important;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 !important;
	text-shadow: 0 2px 12px rgba(6, 20, 13, 0.5);
}

/* Featured film section */
.wt-film { color: #fff; }
.wt-film-video {
	margin: 0 auto !important;
	max-width: 1000px;
}
.wt-film-video video {
	display: block;
	width: 100%;
	border-radius: 1.1rem;
	background: #000;
	box-shadow: 0 30px 70px rgba(6, 20, 13, 0.45);
}

/* Gallery band heading spacing (shortcode gallery keeps its own styling) */
.wt-gallery .wt-narrow { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

/* Lazy-loaded images sit on a warm placeholder so nothing flashes white
   before they load (was reading as "white gaps" while scrolling). */
.wt-gallery img, .wp-block-image img { background-color: var(--wt-cream-2); }

/* Native photo grid */
.wt-photo-grid { gap: clamp(0.6rem, 0.4rem + 0.8vw, 1rem) !important; }
.wt-photo-grid .wp-block-image { margin: 0 !important; }
.wt-photo-grid .wp-block-image img {
	border-radius: 0.9rem;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
	height: 100%;
}
@media (max-width: 781px) {
	.wt-photo-grid.columns-3 { --wp--style--unstable-gallery-gap: 0.6rem; }
}

@media (max-width: 781px) {
	.wt-hero-title { line-height: 1.02 !important; }
	.wt-team-card { min-height: 380px !important; }
	.wt-pillar { border-top-width: 3px; }
	.wt-immersive img.wp-block-cover__image-background { height: 108% !important; top: -4% !important; }
}

/* =========================================================================
   DETAILS / ACCORDION (core/details) — brand the "dropdowns"
   ========================================================================= */
.wp-block-details {
	border: 1px solid var(--wp--preset--color--contrast-3) !important;
	border-radius: 0.85rem !important;
	background: var(--wt-cream-2) !important;
	padding: 0 !important;
	margin: 0 0 0.85rem !important;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.wp-block-details:hover {
	border-color: var(--wt-green) !important;
	box-shadow: 0 8px 20px rgba(22, 21, 15, 0.07);
}
.wp-block-details[open] {
	border-color: var(--wt-green) !important;
	background: #fff !important;
}
.wp-block-details > summary {
	list-style: none !important;
	list-style-type: none !important;
	cursor: pointer;
	padding: 1.05rem 1.3rem !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--wt-ink);
	display: flex !important;
	align-items: center;
	gap: 0.75rem;
	transition: color 0.2s ease;
}
.wp-block-details > summary::-webkit-details-marker { display: none !important; }
.wp-block-details > summary::marker { content: "" !important; font-size: 0 !important; }
.wp-block-details > summary::after {
	content: "";
	margin-left: auto;
	flex: none;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2.5px solid var(--wt-green);
	border-bottom: 2.5px solid var(--wt-green);
	transform: rotate(45deg);
	transition: transform 0.25s ease;
}
.wp-block-details[open] > summary { color: var(--wt-green-dark); }
.wp-block-details[open] > summary::after { transform: rotate(-135deg); }
.wp-block-details > *:not(summary) {
	padding-left: 1.3rem !important;
	padding-right: 1.3rem !important;
	margin-top: 0;
}
.wp-block-details > *:not(summary):last-child { padding-bottom: 1.2rem !important; }

/* =========================================================================
   PROJECTS section
   ========================================================================= */
.wt-proj-subhead {
	font-size: 1.4rem !important;
	margin: 0 0 1.4rem !important;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--wt-green);
	display: inline-block;
}
.wt-proj-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}
.wt-proj-grid > * { max-width: none !important; margin: 0 !important; }
.wt-proj-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 1rem;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	height: 100%;
	transition: transform 0.3s var(--wt-ease), box-shadow 0.3s var(--wt-ease);
}
.wt-proj-card:hover { transform: translateY(-4px); box-shadow: var(--wt-shadow); }
.wt-proj-card > * { margin: 0 !important; }
.wt-proj-img { margin: 0 0 0.4rem !important; }
.wt-proj-img img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0.6rem;
	display: block;
}
.wt-proj-badge {
	align-self: flex-start;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	font-family: "Inter", sans-serif !important;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	line-height: 1;
}
.wt-badge-live { background: var(--wt-green); color: #fff; }
.wt-badge-done { background: var(--wt-accent-4, #e7efe7); color: var(--wt-green-dark); border: 1px solid var(--wt-green); }
.wt-proj-title { font-size: 1.25rem !important; line-height: 1.2; }
.wt-proj-desc { font-size: 0.96rem !important; line-height: 1.6; color: var(--wt-ink); opacity: 0.82; }
.wt-proj-link a {
	color: var(--wt-green) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-family: "Inter", sans-serif;
	font-size: 0.95rem;
	transition: color 0.2s ease;
}
.wt-proj-link a:hover { color: var(--wt-green-dark) !important; }
.wt-proj-card:hover .wt-proj-img img { }

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.wt-contact-cols { align-items: flex-start; }
.wt-contact-card {
	margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	padding: 1.6rem 1.75rem;
	background: var(--wt-cream-2);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-left: 4px solid var(--wt-green);
	border-radius: 0.9rem;
}
.wt-contact-role {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: var(--wt-green) !important;
	font-family: "Inter", sans-serif !important;
	margin: 0 0 0.3rem !important;
}
.wt-contact-name { font-size: 1.35rem !important; margin: 0 0 0.9rem !important; }
.wt-contact-social { gap: 0.5rem !important; }
.wt-contact-social .wp-social-link {
	background: var(--wt-accent-4, #e7efe7) !important;
	border-radius: 999px !important;
	padding: 0.5rem !important;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.wt-contact-social .wp-social-link:hover { background: var(--wt-green) !important; transform: translateY(-2px); }
.wt-contact-social .wp-block-social-link-anchor svg,
.wt-contact-social .wp-social-link svg { fill: var(--wt-green-dark) !important; }
.wt-contact-social .wp-social-link:hover svg { fill: #fff !important; }

/* Form card */
.wt-form-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 1.1rem;
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	box-shadow: var(--wt-shadow-sm);
}
.wt-form-title { font-size: 1.5rem !important; margin: 0 0 1.25rem !important; }
.wt-form-card .wpcf7-form p { margin: 0 0 1rem; }
.wt-form-card .wpcf7 input[type="text"],
.wt-form-card .wpcf7 input[type="email"],
.wt-form-card .wpcf7 input[type="tel"],
.wt-form-card .wpcf7 textarea {
	width: 100% !important;
	background: var(--wt-cream-2) !important;
	border: 1px solid var(--wp--preset--color--contrast-3) !important;
	border-radius: 0.7rem !important;
	padding: 0.8em 0.95em !important;
	font-size: 1rem !important;
}
.wt-form-card .wpcf7 input:focus,
.wt-form-card .wpcf7 textarea:focus {
	border-color: var(--wt-green) !important;
	box-shadow: 0 0 0 3px rgba(31,122,77,0.16) !important;
	outline: none !important;
}
.wt-form-card .wpcf7-submit {
	background: var(--wt-green) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 0.85rem 2rem !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}
.wt-form-card .wpcf7-submit:hover {
	background: var(--wt-green-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(31,122,77,0.3) !important;
}

/* =========================================================================
   MEMBER DETAIL — timeline layout (Zulu)
   ========================================================================= */
.wt-story-lead {
	font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.55rem) !important;
	line-height: 1.6;
	color: var(--wt-ink);
	font-family: "Fraunces", Georgia, serif;
	font-weight: 400;
}

/* Quick facts strip */
.wt-facts {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
	margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
	text-align: center;
}
.wt-facts > * { max-width: none !important; margin: 0 !important; }
.wt-fact { border-top: 3px solid var(--wt-green); padding-top: 1.1rem; }
.wt-fact-label { font-size: 1.35rem !important; margin: 0 0 0.3rem !important; line-height: 1.1; }
.wt-fact-desc { font-size: 0.92rem !important; color: var(--wt-ink); opacity: 0.68; margin: 0 !important; }

/* Timeline */
.wt-timeline { position: relative; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.wt-timeline:before {
	content: "";
	position: absolute;
	left: 9px; top: 10px; bottom: 10px;
	width: 2px;
	background: var(--wt-green);
	opacity: 0.35;
}
.wt-tl-item {
	position: relative;
	padding-left: 2.75rem !important;
	margin-bottom: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem) !important;
}
.wt-tl-item:before {
	content: "";
	position: absolute;
	left: 0; top: 5px;
	width: 20px; height: 20px;
	border-radius: 999px;
	background: var(--wt-green);
	border: 4px solid var(--wt-cream-2);
	box-shadow: 0 0 0 1.5px var(--wt-green);
}
.wt-timeline-sec.wt-section { background: var(--wt-cream-2) !important; }
.wt-tl-year {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	color: var(--wt-green) !important;
	font-family: "Inter", sans-serif !important;
	margin: 0 0 0.25rem !important;
}
.wt-tl-head { font-size: 1.4rem !important; margin: 0 0 0.6rem !important; }
.wt-tl-item p { font-size: 1.02rem !important; line-height: 1.7; margin: 0; color: var(--wt-ink); }


/* Round the masonry gallery images to match the site */
[class*="pgcsimplygallery"] img,
.pgc-masonry img,
[class*="pgc_sgb"] img { border-radius: 0.9rem !important; }

/* Team page — member role eyebrow under the name */
.wt-member-role {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	color: var(--wt-green) !important;
	font-family: "Inter", sans-serif !important;
	margin: 0.35rem 0 1.1rem !important;
}

/* =========================================================================
   COOKIE CONSENT (Complianz) — brand it, keep behaviour untouched
   ========================================================================= */
.cmplz-cookiebanner.banner-1 {
	font-family: "Inter", sans-serif !important;
	max-width: 1120px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	margin: 0 auto 1.25rem !important;
	border: 1px solid var(--wp--preset--color--contrast-3) !important;
	border-radius: 1rem !important;
	box-shadow: 0 20px 50px rgba(14, 61, 38, 0.22) !important;
	padding: 1.6rem !important;
}
.cmplz-cookiebanner .cmplz-title {
	font-family: "Fraunces", Georgia, serif !important;
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	color: var(--wt-ink) !important;
}
.cmplz-cookiebanner .cmplz-body,
.cmplz-cookiebanner .cmplz-message { color: var(--wt-ink) !important; opacity: 0.82; font-size: 0.92rem !important; }

/* Buttons */
.cmplz-cookiebanner .cmplz-buttons { align-items: center !important; }
.cmplz-cookiebanner .cmplz-btn {
	border-radius: 999px !important;
	font-weight: 600 !important;
	padding: 0.75rem 1.5rem !important;
	height: auto !important;
	min-height: 0 !important;
	align-self: center !important;
	flex: 0 1 auto !important;
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
	box-shadow: none !important;
}
.cmplz-cookiebanner .cmplz-accept {
	background: var(--wt-green) !important;
	color: #fff !important;
	border: 0 !important;
}
.cmplz-cookiebanner .cmplz-accept:hover {
	background: var(--wt-green-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(31, 122, 77, 0.3) !important;
}
.cmplz-cookiebanner .cmplz-deny {
	background: transparent !important;
	color: var(--wt-green-dark) !important;
	border: 1.5px solid var(--wt-green) !important;
}
.cmplz-cookiebanner .cmplz-deny:hover { background: var(--wt-green) !important; color: #fff !important; }
.cmplz-cookiebanner .cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-save-preferences {
	background: transparent !important;
	color: var(--wt-green-dark) !important;
	border: 1.5px solid var(--wp--preset--color--contrast-3) !important;
}
.cmplz-cookiebanner .cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-save-preferences:hover { border-color: var(--wt-green) !important; }

/* Category rows + native toggles */
.cmplz-cookiebanner .cmplz-category {
	border: 1px solid var(--wp--preset--color--contrast-3) !important;
	border-radius: 0.6rem !important;
	background: var(--wt-cream-2) !important;
}
.cmplz-cookiebanner .cmplz-category .cmplz-title { font-size: 1rem !important; }
.cmplz-cookiebanner input[type="checkbox"] { accent-color: var(--wt-green) !important; }
.cmplz-cookiebanner .cmplz-always-active,
.cmplz-cookiebanner .cmplz-value { color: var(--wt-green) !important; font-weight: 600 !important; }

/* Persistent "Manage consent" tab -> discreet small green pill */
.cmplz-manage-consent.manage-consent-1 {
	font-family: "Inter", sans-serif !important;
	background: var(--wt-green-dark) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px 999px 0 0 !important;
	font-size: 0.72rem !important;
	padding: 0.35rem 0.8rem !important;
	opacity: 0.72;
	box-shadow: 0 4px 14px rgba(14, 61, 38, 0.25) !important;
	transition: opacity 0.2s ease !important;
}
.cmplz-manage-consent.manage-consent-1:hover { opacity: 1; }

/* =========================================================================
   POPUP MAKER — brand the popup boxes (behaviour untouched)
   ========================================================================= */
.pum-overlay { background: rgba(6, 20, 13, 0.62) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pum-container {
	border-radius: 1.25rem !important;
	border: 0 !important;
	border-top: 4px solid var(--wt-green) !important;
	box-shadow: 0 30px 70px rgba(6, 20, 13, 0.45) !important;
	font-family: "Inter", sans-serif !important;
	padding: 2.5rem !important;
	background: #fff !important;
	max-width: min(620px, 92vw) !important;
}
.pum-container .pum-title,
.pum-container h1, .pum-container h2, .pum-container h3 {
	font-family: "Fraunces", Georgia, serif !important;
	color: var(--wt-ink) !important;
	font-size: 1.7rem !important;
	font-weight: 600 !important;
	line-height: 1.15 !important;
	text-align: left !important;
	margin: 0 0 0.4rem !important;
	padding-bottom: 1rem !important;
	padding-right: 2rem !important;
}
.pum-container .pum-content {
	color: var(--wt-ink) !important;
	font-size: 1.02rem !important;
	line-height: 1.65 !important;
}
/* Normalise oversized inline font-size baked into popup content */
.pum-container .pum-content div[style*="font-size"] { font-size: 1.02rem !important; }
.pum-container .pum-content p,
.pum-container .pum-content div { margin-bottom: 0.9rem; }
.pum-container .pum-content .wp-block-button__link,
.pum-container .pum-content a.button {
	border-radius: 999px !important;
	background: var(--wt-green) !important;
	color: #fff !important;
}
.pum-container .pum-close.popmake-close {
	background: var(--wt-cream) !important;
	color: var(--wt-ink) !important;
	border-radius: 999px !important;
	width: 2rem !important;
	height: 2rem !important;
	line-height: 2rem !important;
	top: 0.75rem !important;
	right: 0.75rem !important;
	font-size: 1.1rem !important;
	box-shadow: 0 4px 12px rgba(6, 20, 13, 0.2) !important;
	transition: transform 0.2s ease, background-color 0.2s ease !important;
}
.pum-container .pum-close.popmake-close:hover {
	background: var(--wt-green) !important;
	color: #fff !important;
	transform: rotate(90deg);
}

/* =========================================================================
   DESIGN AUDIT — consistency fixes (kept last so they win)
   ========================================================================= */

/* No white seams between full-bleed sections on any page */
.entry-content.wp-block-post-content > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-site-blocks > main { margin-top: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* Cover content always sits above the background, overlay and gradient */
.wp-block-cover > .wp-block-cover__inner-container { position: relative; z-index: 3 !important; }

/* Buttons always use the UI font (links inside covers were inheriting Fraunces) */
.wp-block-button__link,
.wp-block-cover .wp-block-cover__inner-container a.wp-block-button__link {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: 0.005em;
}

/* Inline text links readable on dark backgrounds */
.wp-block-cover.is-dark p a:not(.wp-block-button__link),
.has-accent-3-background-color p a:not(.wp-block-button__link) {
	color: #a8e6c4 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	font-family: inherit !important;
	font-weight: 500;
}

/* Display headings stay centred inside wide containers */
.wt-h2, .wt-hero-title, .wt-bigquote { margin-left: auto !important; margin-right: auto !important; }

/* Sub-heading rhythm inside lists of cards / accordions */
.wt-proj-grid + .wt-proj-subhead,
.wp-block-details + .wt-train-group { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem) !important; }

/* Projects use the wide grid instead of the narrow text column */
.wt-projects > .wp-block-group + .wp-block-group { max-width: 1160px !important; width: 100%; }

/* Cost cards: centred rows of four (two on mobile), no orphan row */
.wt-cost-grid { display: flex !important; flex-wrap: wrap; justify-content: center; }
.wt-cost-grid > .wt-cost-card { flex: 0 1 calc(25% - 1rem); min-width: 210px; }

/* Contact form fields never overflow their card */
.wt-form-card .wpcf7 input,
.wt-form-card .wpcf7 textarea,
.wt-form-card .wpcf7 select { box-sizing: border-box !important; max-width: 100% !important; }
.wt-form-card .wpcf7-form-control-wrap { display: block; }

/* Donate band had no breathing room */
.wt-donate { padding-top: clamp(5rem, 4rem + 4vw, 8rem) !important; padding-bottom: clamp(5rem, 4rem + 4vw, 8rem) !important; }

/* Mobile: consistent gutters and tighter cards */
@media (max-width: 781px) {
	.wt-section { padding-left: 20px !important; padding-right: 20px !important; }
	.wt-cost-grid > .wt-cost-card { flex-basis: calc(50% - 0.5rem); min-width: 0; min-height: 150px !important; }
	.wt-cost-label { font-size: 0.98rem !important; }
	.wt-cost-card .wp-block-cover__inner-container { padding: 0.75rem; }
	.wt-hero-title { font-size: clamp(2.4rem, 1.6rem + 6vw, 3.2rem) !important; }
}

/* Team page — member feature */
.wt-member-photo { margin: 0 !important; }
.wt-member-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.25rem; box-shadow: var(--wt-shadow); }
.wt-member-name { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem) !important; margin: 0 0 0.25rem !important; line-height: 1.1; }
.wt-member-sub { font-family: "Fraunces", Georgia, serif !important; font-style: italic; font-size: 1.15rem !important; color: var(--wt-green-dark); margin: 0 0 1.1rem !important; }
.wt-member-cols .wp-block-buttons { margin-top: 1.5rem; }
@media (max-width: 781px) { .wt-member-cols { gap: 1.75rem !important; } }

/* Eyebrows on the dark film band */
.wt-film .wt-eyebrow { color: #83d7ab !important; }
/* Team card link: clean white, not the generic underlined dark-bg link */
.wt-card-link a { color: #fff !important; text-decoration: none !important; font-family: "Inter", sans-serif !important; font-weight: 600 !important; }
.wt-card-link a:hover { color: #83d7ab !important; }
/* Project cards keep the same width whether a row has 2 or 3 of them */
.wt-proj-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; }
.wp-block-cover.is-dark p.wt-card-link a { color: #fff !important; text-decoration: none !important; font-family: "Inter", sans-serif !important; font-weight: 600 !important; }
.wp-block-cover.is-dark p.wt-card-link a:hover { color: #83d7ab !important; }

/* =========================================================================
   HEADER NAVIGATION — clean text links + a single CTA, proper mobile menu
   ========================================================================= */
.header nav.wp-block-navigation { font-size: 0.98rem !important; }
.header nav.wp-block-navigation .wp-block-navigation__container { gap: 0.4rem 2rem !important; align-items: center; }
.header nav.wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0.4rem 0 !important;
	color: #fff !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transform: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	opacity: 0.92;
	transition: opacity 0.2s ease !important;
}
.header nav.wp-block-navigation .wp-block-navigation-item__content:after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: #83d7ab;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--wt-ease);
}
.header nav.wp-block-navigation .wp-block-navigation-item__content:hover { opacity: 1; }
.header nav.wp-block-navigation .wp-block-navigation-item__content:hover:after,
.header nav.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content:after { transform: scaleX(1); }
.header nav.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { opacity: 1; }

/* The one call-to-action in the header */
.header nav.wp-block-navigation .wt-nav-cta > .wp-block-navigation-item__content {
	background: var(--wt-green) !important;
	padding: 0.62rem 1.35rem !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	opacity: 1;
	box-shadow: 0 6px 18px rgba(6, 20, 13, 0.25) !important;
	transition: background-color 0.2s ease, color 0.2s ease !important;
}
.header nav.wp-block-navigation .wt-nav-cta > .wp-block-navigation-item__content:after { display: none; }
.header nav.wp-block-navigation .wt-nav-cta > .wp-block-navigation-item__content:hover {
	background: #fff !important;
	color: var(--wt-green-dark) !important;
}

/* Hamburger / close icons */
.header .wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { color: #fff !important; }
.header .wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; fill: currentColor; }

/* Mobile overlay menu */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wt-green-dark) !important;
	color: #fff !important;
	padding: 1.5rem 1.5rem 2.5rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start !important;
	padding-top: 4rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important;
	gap: 0.6rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: "Fraunces", Georgia, serif !important;
	font-size: 2rem !important;
	font-weight: 500 !important;
	color: #fff !important;
	padding: 0.35rem 0 !important;
	opacity: 1;
}
.wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: #83d7ab !important; }
.wp-block-navigation__responsive-container.is-menu-open .wt-nav-cta { margin-top: 1.25rem; }
.wp-block-navigation__responsive-container.is-menu-open .wt-nav-cta > .wp-block-navigation-item__content {
	font-family: "Inter", sans-serif !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	background: var(--wt-green) !important;
	padding: 0.85rem 1.6rem !important;
	border-radius: 999px !important;
}

/* Nav hover: stay light on the dark header (an old pill rule turned links dark-green = invisible) */
.header nav.wp-block-navigation .wp-block-navigation-item > a.wp-block-navigation-item__content:hover,
.header nav.wp-block-navigation .wp-block-navigation-item > a.wp-block-navigation-item__content:focus-visible {
	color: #fff !important;
	background: none !important;
	opacity: 1;
}
.header nav.wp-block-navigation .wt-nav-cta > a.wp-block-navigation-item__content:hover,
.header nav.wp-block-navigation .wt-nav-cta > a.wp-block-navigation-item__content:focus-visible {
	background: var(--wt-green-dark) !important;
	color: #fff !important;
	box-shadow: 0 0 0 2px #83d7ab inset, 0 8px 20px rgba(6, 20, 13, 0.3) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a.wp-block-navigation-item__content:hover { color: #83d7ab !important; }

/* Anchored sections don't hide under the top of the viewport */
#projekty, #dary { scroll-margin-top: 1.5rem; }

/* Projects — featured in-progress fundraiser */
.wt-proj-feature {
	background: #fff;
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 1.25rem;
	padding: clamp(1rem, 0.75rem + 1.5vw, 2rem);
	box-shadow: var(--wt-shadow-sm);
	max-width: none !important;
}
.wt-proj-feature-cols { gap: clamp(1.5rem, 1rem + 2.5vw, 3rem) !important; margin: 0 !important; }
.wt-proj-feature-img { margin: 0 !important; }
.wt-proj-feature-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.9rem; display: block; }
.wt-proj-feature .wp-block-column > * { margin-top: 0 !important; margin-bottom: 0.85rem !important; }
.wt-proj-feature-title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem) !important; line-height: 1.15; }
.wt-badge-seek { background: #f6ead3; color: #7a5310; border: 1px solid var(--wp--preset--color--savanna, #d8a24a); }
.wt-proj-goal { font-size: 1.05rem !important; color: var(--wt-ink); }
.wt-proj-goal strong { color: var(--wt-green-dark); font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; font-weight: 600; }
.wt-milestones { list-style: none !important; padding: 0 !important; display: grid; gap: 0.5rem; }
.wt-milestones li {
	margin: 0 !important;
	padding: 0.7rem 0.9rem;
	background: var(--wt-cream-2);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-left: 3px solid var(--wt-green);
	border-radius: 0.6rem;
	font-size: 0.96rem;
	line-height: 1.45;
}
.wt-milestones li strong { display: inline-block; min-width: 6.5rem; color: var(--wt-green); font-weight: 700; }
.wt-proj-note { font-size: 0.96rem !important; color: var(--wt-ink); opacity: 0.8; font-style: italic; }
.wt-proj-feature .wp-block-buttons { margin-bottom: 0 !important; }
@media (max-width: 781px) {
	.wt-milestones li strong { display: block; min-width: 0; }
}
.wt-proj-feature > .wt-proj-feature-cols { max-width: none !important; width: 100%; }
.wt-proj-badge { display: inline-block !important; width: fit-content; }
.wt-proj-feature + .wt-proj-subhead { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem) !important; }
@media (min-width: 782px) {
	.wt-proj-feature-cols { align-items: stretch !important; }
	.wt-proj-feature-cols > .wp-block-column:first-child { align-self: stretch !important; display: flex; }
	.wt-proj-feature-cols > .wp-block-column:first-child .wt-proj-feature-img { flex: 1; margin-bottom: 0 !important; }
	.wt-proj-feature-cols > .wp-block-column:first-child .wt-proj-feature-img img { height: 100%; min-height: 340px; aspect-ratio: auto; }
}

/* Homepage pillars centred */
.wt-pillar, .wt-pillar .wt-pillar-title, .wt-pillar p { text-align: center !important; }

/* =========================================================================
   Language switcher (CZ | EN)
   ========================================================================= */
.wt-header-right { gap: 1.75rem !important; align-items: center; }
.wt-lang {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.34rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 999px;
	font-family: "Inter", sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
	white-space: nowrap;
}
.wt-lang-link { color: rgba(255, 255, 255, 0.6) !important; text-decoration: none !important; transition: color 0.2s ease; }
.wt-lang-link:hover, .wt-lang-link:focus-visible { color: #fff !important; }
.wt-lang-link.is-current { color: #fff !important; }
.wt-lang-sep { color: rgba(255, 255, 255, 0.35); font-weight: 400; }
@media (max-width: 599px) {
	.wt-header-right { gap: 0.9rem !important; }
	.wt-lang { order: -1; }
}

/* Header stays on one row on mobile too: logo | CZ|EN ☰ */
.header .header-div > .wp-block-group.alignwide { flex-wrap: nowrap !important; align-items: center; }
.wt-header-right { flex-shrink: 0; }
@media (max-width: 599px) {
	.header .header-div { padding-left: 20px !important; padding-right: 20px !important; }
	.header .wp-block-site-title { font-size: 1.35rem !important; }
}
