/* Public landing page — minimal, photo-led. Association red + pink. */

:root {
	--kl-red: #e23a2e;
	--kl-red-tint: #fdeeec;
	--kl-accent-light: #b97e7b;
	--kl-accent: #9d524f;
	--kl-accent-dark: #723634;
	--kl-pink: #f7b9b2;
	--kl-pink-muted: #c9a0a0;
	--kl-ink: #1a1414;
	--kl-cream: #e9e7e2;
	--kl-warm-grey: #6b5f5f;
	--kl-warm-grey-light: #8a7c7c;
	--kl-border: #f0e4e2;
	/* Boing for headers, Graphik for body — both local, see fonts.css. */
	--kl-serif: 'Boing', system-ui, sans-serif;
	--kl-sans: 'Graphik', system-ui, sans-serif;
}

body.kotet-landing {
	background: #fff;
}

.kl-page a { color: #1f3a5f; }
.kl-page a:hover { color: var(--kl-red); }

/* .kl-page a beats .kl-btn--primary on specificity alone, so pin button text
   colour explicitly rather than relying on class order. */
.kl-page a.kl-btn--primary,
.kl-page a.kl-btn--primary:hover { color: #fff; }
.kl-page a.kl-btn--outline,
.kl-page a.kl-btn--outline:hover { color: var(--kl-ink); }

.kl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 99px;
	font: 600 13.5px var(--kl-sans);
	white-space: nowrap;
	transition: transform .12s ease, opacity .12s ease;
}
.kl-btn:hover { opacity: .92; }

.kl-btn--primary {
	background: var(--kl-red);
	color: #fff;
	padding: 13px 26px;
}

.kl-btn--outline {
	border: 1.5px solid var(--kl-ink);
	color: var(--kl-ink);
	padding: 12.5px 26px;
}

/* Header */
.kl-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 48px;
	height: 76px;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 300;
}
/* The header is now fixed and out of flow — .kl-hero's margin-top below is
   bumped by its height so nothing sits underneath it (see hero styles). */
.kl-header__brand { display: flex; align-items: center; gap: 11px; flex: none; }
.kl-header__mark {
	/* !important beats WooCommerce's own ".woocommerce img, .woocommerce-page
	   img { height: auto }" (woocommerce-layout.css) on WooCommerce pages
	   like checkout/cart — that selector has one more type selector than
	   plain ".kl-header__mark", so it otherwise wins on specificity alone
	   and the crest renders at its full natural size (was showing as
	   179×152px instead of 44px tall) rather than this theme's fixed
	   header-logo height. */
	width: auto !important;
	height: 44px !important;
	object-fit: contain;
	flex: none;
}
.kl-header__name {
	font: 600 15px var(--kl-serif);
	color: var(--kl-ink);
	letter-spacing: -.01em;
}
.kl-header__name span { color: var(--kl-pink-muted); }
.kl-header__spacer { display: none; }
.kl-header__nav { position: relative; flex: none; }
.kl-nav-list {
	display: flex;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
	font: 600 15.5px var(--kl-sans);
	color: #5c5252;
}
.kl-nav-list li { position: relative; }
.kl-nav-list > li > a {
	display: flex;
	align-items: center;
	gap: 5px;
	height: 82px;
	color: inherit;
}
.kl-nav-list > li:hover > a,
.kl-nav-list > li.menu-item-has-children:hover > a { color: var(--kl-red); }
.kl-nav-list .menu-item-has-children > a::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
	transition: transform .15s ease;
}
.kl-nav-list .menu-item-has-children:hover > a::after { transform: rotate(225deg); margin-top: 4px; }
.kl-nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: -22px;
	list-style: none;
	margin: 0;
	padding: 10px 0;
	min-width: 260px;
	background: #fff;
	border-radius: 0 0 4px 4px;
	border-bottom: 3px solid var(--kl-red);
	box-shadow: 0 18px 30px -14px rgba(26,20,20,.22);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.kl-nav-list .menu-item-has-children:hover .sub-menu,
.kl-nav-list .menu-item-has-children:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.kl-nav-list .sub-menu a {
	display: block;
	padding: 11px 24px;
	color: var(--kl-ink);
	font-weight: 600;
	white-space: nowrap;
}
.kl-nav-list .sub-menu a:hover { color: var(--kl-red); }
.kl-header__actions { display: flex; align-items: center; gap: 18px; }

/* Mobile menu toggle — hidden above the 900px breakpoint where the nav
   shows inline; see the @media block below for its mobile appearance. */
.kl-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
	flex: none;
}
.kl-header__burger span { display: block; width: 100%; height: 2px; background: var(--kl-ink); border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.kl-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kl-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kl-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.kl-header__login { font: 600 13px var(--kl-sans); color: var(--kl-ink); }
.kl-header__join { padding: 10px 20px; }
.kl-header__account { position: relative; }
.kl-header__account-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	font: 600 13px var(--kl-sans);
	color: var(--kl-ink);
	background: none;
	border: none;
	cursor: pointer;
}
.kl-header__avatar { border-radius: 50%; display: block; }
.kl-header__account-chevron { width: 14px; height: 14px; transition: transform .15s ease; }
.kl-header__account.is-open .kl-header__account-chevron,
.kl-header__account:hover .kl-header__account-chevron { transform: rotate(180deg); }
.kl-header__account-menu {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 12px;
	min-width: 170px;
	background: #fff;
	border-radius: 10px;
	padding: 8px;
	box-shadow: 0 18px 30px -14px rgba(26,20,20,.22);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.kl-header__account.is-open .kl-header__account-menu,
.kl-header__account:hover .kl-header__account-menu,
.kl-header__account:focus-within .kl-header__account-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.kl-header__account-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	font: 600 13px var(--kl-sans);
	color: var(--kl-ink);
}
.kl-header__account-menu a:hover { background: var(--kl-red-tint); color: var(--kl-red); }
.kl-header__dashboard { padding: 10px 20px; }

/* Hero */
/* Full-bleed hero — each slide is its own photo + heading + subtitle + CTA
   (not one static text block over rotating backgrounds), crossfading
   together. The photo stays fully visible; only a bottom-anchored gradient
   darkens the area behind the caption, which sits pinned to the bottom-left
   of the slide. */
.kl-hero { position: relative; height: 640px; overflow: hidden; margin: 20px; margin-top: 84px; border-radius: 24px; }
.kl-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.1s ease;
}
.kl-hero__slide.is-active { opacity: 1; z-index: 1; }
.kl-hero__slide .kotet-photo,
.kl-hero__slide .kotet-photo--placeholder { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 9s ease; filter: brightness(.78) saturate(.9); }
.kl-hero__slide .kotet-photo { object-position: center center; }
.kl-hero__slide.is-active .kotet-photo,
.kl-hero__slide.is-active .kotet-photo--placeholder { transform: scale(1.06); }
.kl-hero__tag {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(226,58,46,.22);
	color: #fff;
	padding: 6px 16px;
	border-radius: 50px;
	font: 600 11.5px var(--kl-sans);
	letter-spacing: .07em;
	text-transform: uppercase;
	margin-bottom: 18px;
	border: 1px solid rgba(226,58,46,.45);
}
.kl-hero__fade {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(10,8,8,.28);
}
.kl-hero__content { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; }
.kl-hero__slide .kl-hero__content { max-width: 600px; padding: 56px 56px; }
.kl-hero__title {
	font: 800 40px/1.2 var(--kl-sans);
	color: #fff;
	letter-spacing: -.01em;
	margin: 0 0 28px;
	max-width: 520px;
}
.kl-hero__actions { display: flex; align-items: center; gap: 22px; }
.kl-hero__actions .kl-btn--primary { padding: 16px 34px; font-weight: 700; font-size: 14px; }

.kl-hero__ctrl {
	position: absolute;
	right: 40px;
	bottom: 40px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 18px;
}
.kl-hero__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}
.kl-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,.5);
	padding: 0;
	transition: background-color .3s ease, width .3s ease, border-radius .3s ease;
}
.kl-hero__dot.is-active { background: #fff; width: 24px; border-radius: 5px; }
.kl-hero__arrows { display: flex; gap: 8px; }
.kl-hero__arrow {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.3);
	background: rgba(255,255,255,.1);
	backdrop-filter: blur(6px);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, border-color .2s ease;
}
.kl-hero__arrow:hover { background: rgba(255,255,255,.25); border-color: #fff; }

/* Generic section — header and hero stay full-bleed; every .kl-section
   below them is capped to a centred column so it doesn't stretch
   edge-to-edge on wide screens. */
.kl-section {
	max-width: 1400px;
	margin: 0 auto;
	padding: 64px 48px 0;
}
.kl-eyebrow {
	font: 400 11.5px var(--kl-sans);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--kl-red);
	margin-bottom: 14px;
}
.kl-heading {
	font: 800 40px/1.2 var(--kl-serif);
	color: var(--kl-ink);
	letter-spacing: -.02em;
	margin: 0;
}


/* Forums */
.kl-forums__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.kl-forums__online { display: flex; align-items: center; gap: 8px; font: 500 13px var(--kl-sans); color: var(--kl-warm-grey-light); }
.kl-forums__online .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--kl-red); }
/* Forum thread list — a real forum index (tag, title, author, activity,
   reply count in a row), not a card grid. */
.kl-forum-list {
	background: #fff;
	border: 1px solid var(--kl-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(26,20,20,.04);
}
.kl-forum-row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 22px 26px;
	border-bottom: 1px solid var(--kl-border);
	transition: background-color .15s ease;
}
.kl-forum-row:last-child { border-bottom: 0; }
.kl-forum-row:hover { background: #fdfaf9; }
.kl-forum-row__avatar {
	flex: none;
	width: 38px; height: 38px; border-radius: 50%;
	color: #8c2018; font: 600 12px/38px var(--kl-sans); text-align: center;
}
.kl-forum-row__main { flex: 1; min-width: 0; }
.kl-forum-row__top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.kl-forum-row__tag {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 99px;
	background: var(--kl-red-tint);
	font: 600 10px var(--kl-sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--kl-red);
	flex: none;
}
.kl-forum-row__title {
	font: 500 17px/1.3 var(--kl-serif);
	color: var(--kl-ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.kl-forum-row__meta { font: 400 12.5px var(--kl-sans); color: var(--kl-warm-grey-light); }
.kl-forum-row__stats {
	flex: none;
	display: flex;
	align-items: center;
	gap: 22px;
	font: 500 12.5px var(--kl-sans);
	color: #b0a3a3;
}
.kl-forum-row__stats .kl-forum-row__replies { color: var(--kl-ink); font-weight: 500; }
.kl-forum-row__stats .kl-forum-row__activity { min-width: 80px; text-align: right; }
.kl-forums__cta { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.kl-forums__cta-btn { padding: 13px 28px; font-weight: 600; font-size: 13px; }
.kl-forums__cta-note { font: 400 13px var(--kl-sans); color: var(--kl-warm-grey-light); }

/* Business Connect preview */
.kl-bc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.kl-bc-card {
	display: block;
	width: 100%;
	text-align: left;
	background: #fff;
	border: 1px solid var(--kl-border);
	border-radius: 14px;
	padding: 24px 26px;
	box-shadow: 0 1px 3px rgba(26,20,20,.04);
	transition: transform .15s ease, box-shadow .15s ease;
	cursor: pointer;
}
.kl-bc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -12px rgba(26,20,20,.25); }
.kl-bc-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.kl-bc-card__thumb {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	overflow: hidden;
	background: var(--kl-red-tint);
	color: var(--kl-red);
	display: flex;
	align-items: center;
	justify-content: center;
	font: 600 14px var(--kl-sans);
}
.kl-bc-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kl-bc-card__icon {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: #14213a0f;
	color: #14213a;
	display: flex;
	align-items: center;
	justify-content: center;
}
.kl-bc-card__tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 99px;
	background: var(--kl-red-tint);
	color: var(--kl-red);
	font: 600 10.5px var(--kl-sans);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.kl-bc-card__tag--req { background: #14213a14; color: #14213a; }
.kl-bc-card__when { font: 500 12px var(--kl-sans); color: #b0a3a3; margin-left: auto; }
.kl-bc-card__title { font: 600 19px/1.4 var(--kl-serif); color: var(--kl-ink); margin: 0 0 8px; }
.kl-bc-card__text { font: 400 14px/1.7 var(--kl-sans); color: #6b5f5f; margin: 0 0 14px; }
.kl-bc-card__meta { font: 500 12.5px var(--kl-sans); color: var(--kl-warm-grey-light); }

@media (max-width: 1100px) {
	.kl-bc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.kl-bc-grid { grid-template-columns: 1fr; }
}

/* Business Connect popup */
.kl-bc-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(20,15,15,.55);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.kl-bc-modal-overlay.is-open { display: flex; }
.kl-bc-modal {
	position: relative;
	background: #fff;
	border-radius: 16px;
	max-width: 480px;
	width: 100%;
	max-height: 86vh;
	overflow-y: auto;
	padding: 32px;
}
.kl-bc-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f4efef;
	color: var(--kl-ink);
	font-size: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.kl-bc-modal__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; padding-right: 24px; }
.kl-bc-modal__thumb {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--kl-red-tint);
	color: var(--kl-red);
	display: flex;
	align-items: center;
	justify-content: center;
	font: 600 20px var(--kl-sans);
}
.kl-bc-modal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kl-bc-modal__title { font: 600 21px/1.3 var(--kl-serif); color: var(--kl-ink); margin: 6px 0 4px; }
.kl-bc-modal__cat { font: 500 12.5px var(--kl-sans); color: var(--kl-warm-grey-light); }
.kl-bc-modal__desc { font: 400 14.5px/1.7 var(--kl-sans); color: #6b5f5f; margin: 0 0 18px; white-space: pre-line; }
.kl-bc-modal__rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.kl-bc-modal__row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 500 13.5px var(--kl-sans);
	color: var(--kl-ink);
	text-decoration: none;
}
.kl-bc-modal__row svg { flex: none; color: var(--kl-red); }
.kl-bc-modal__foot { font: 400 13px var(--kl-sans); color: var(--kl-warm-grey-light); border-top: 1px solid var(--kl-border); padding-top: 14px; }
.kl-bc-modal__foot a { color: var(--kl-red); font-weight: 600; }
.kl-bc-modal__login { font: 400 13px var(--kl-sans); color: var(--kl-warm-grey-light); margin-bottom: 14px; }
.kl-bc-modal__login a { color: var(--kl-red); font-weight: 600; }


/* Latest updates — blog post cards, same shape as the events cards. */
.kl-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kl-blog-card {
	display: block;
	border: 1px solid var(--kl-border);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .15s ease, border-color .15s ease;
}
.kl-blog-card:hover { border-color: var(--kl-red); box-shadow: 0 14px 28px -18px rgba(26,20,20,.28); }
.kl-blog-card:hover .kl-blog-card__title { color: var(--kl-red); }
.kl-blog-card__photo { height: 190px; }
.kl-blog-card__body { padding: 20px 22px 22px; }
.kl-blog-card__cat {
	font: 600 10.5px var(--kl-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--kl-red);
	margin-bottom: 10px;
}
.kl-blog-card__title { font: 600 18px/1.3 var(--kl-serif); color: var(--kl-ink); margin: 0; transition: color .15s ease; }

/* Power of education */
.kl-power { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kl-power__photo { height: 420px; border-radius: 6px; overflow: hidden; }
.kl-power__body { font: 400 15px/1.85 var(--kl-sans); color: #6b5f5f; text-wrap: pretty; margin: 0 0 26px; }
.kl-power__heading { margin-bottom: 22px; }
.kl-power__about-btn { padding: 13px 26px; font-size: 13px; }

/* Give back */
.kl-give {
	background: var(--kl-ink);
	border-radius: 6px;
	padding: 60px 52px;
	margin-bottom: 64px;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 64px;
	align-items: start;
}
.kl-give__eyebrow { color: var(--kl-pink); }
.kl-give__heading { color: #fff; margin-bottom: 22px; }
.kl-give__body { font: 400 15px/1.85 var(--kl-sans); color: #c4b6b6; text-wrap: pretty; margin: 0; }
.kl-give__card { background: #fff; border-radius: 14px; padding: 30px; }
.kl-give__card-label {
	font: 600 10.5px var(--kl-sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kl-red);
	margin-bottom: 16px;
}
.kl-give__amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.kl-give__amount-raised { font: 600 30px/1 var(--kl-serif); color: var(--kl-ink); }
.kl-give__amount-goal { font: 400 13px var(--kl-sans); color: var(--kl-warm-grey-light); }
.kl-give__bar { height: 7px; background: #f6e6e4; border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.kl-give__bar-fill { height: 100%; background: var(--kl-red); }
.kl-give__amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.kl-give__amount-btn {
	border: 1px solid var(--kl-border);
	border-radius: 10px;
	padding: 13px 0;
	text-align: center;
	font: 600 13px var(--kl-sans);
	color: var(--kl-ink);
	background: none;
}
.kl-give__amount-btn--active {
	border: 1.5px solid var(--kl-red);
	background: var(--kl-red-tint);
	color: var(--kl-red);
}
.kl-give__donate-btn {
	width: 100%;
	background: var(--kl-red);
	color: #fff;
	border-radius: 99px;
	padding: 15px 0;
	text-align: center;
	font: 700 13.5px var(--kl-sans);
	margin-bottom: 14px;
}
.kl-give__note { font: 400 12px/1.6 var(--kl-sans); color: var(--kl-warm-grey-light); text-align: center; }

/* Donation For WooCommerce widget, reskinned to match the .kl-give__card. */
.kl-give__donation-widget .wc-donation-title { display: none; }
/* The plugin nests a <div class="row1"> of buttons inside another
   <div class="row1"> wrapper — target only the inner one as the grid. */
.kl-give__donation-widget .in-action-elements > .row1 { display: block; }
.kl-give__donation-widget .row1 .row1 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.kl-give__donation-widget label.wc-label-button {
	border: 1px solid var(--kl-border);
	border-radius: 10px;
	padding: 13px 0;
	text-align: center;
	font: 600 13px var(--kl-sans);
	color: var(--kl-ink);
	background: none;
	cursor: pointer;
	display: block;
}
.kl-give__donation-widget label.wc-label-button input { position: absolute; opacity: 0; pointer-events: none; }
.kl-give__donation-widget label.wc-label-button.wc-active {
	border: 1.5px solid var(--kl-red);
	background: var(--kl-red-tint);
	color: var(--kl-red);
}
.kl-give__donation-widget .wc-donation-f-donation-other-value {
	grid-column: 1 / -1;
	width: 100%;
	border: 1px solid var(--kl-border);
	border-radius: 10px;
	padding: 13px 14px;
	font: 600 13px var(--kl-sans);
	color: var(--kl-ink);
	margin-bottom: 12px;
}
/* "Select Cause" dropdown — the plugin's own default is a plain grey
   list with a browser-default-looking arrow; restyled to match the
   rounded, red-accented inputs used everywhere else on the site. */
.kl-give__donation-widget .row2 { margin: 0 0 22px !important; }
/* The plugin's "main goal" block (raised/of/progress bar + donor count)
   duplicates the amount-raised summary this theme already renders above
   the amount buttons (see .kl-give__amount/.kl-give__bar in front-page.php)
   whenever a campaign has its Donation Goal enabled — hidden here so it
   doesn't show twice. */
.kl-give__donation-widget .row3 { display: none; }
.kl-give__donation-widget .row2 .wc-donation-title {
	font: 600 12px var(--kl-sans);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--kl-warm-grey-light);
	margin: 0 0 8px;
}
.kl-give__donation-widget .cause-wrapper { position: relative; }
.kl-give__donation-widget ul.causes-dropdown {
	margin: 0 !important;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--kl-border);
	border-radius: 10px;
	box-shadow: none;
}
.kl-give__donation-widget ul.causes-dropdown:before {
	border-color: var(--kl-warm-grey-light) transparent transparent transparent;
}
.kl-give__donation-widget ul.causes-dropdown.active:before {
	border-color: transparent transparent var(--kl-warm-grey-light) transparent;
}
.kl-give__donation-widget ul.causes-dropdown li.init {
	padding: 13px 34px 13px 14px !important;
	font: 600 13px var(--kl-sans);
	color: var(--kl-ink);
	cursor: pointer;
}
.kl-give__donation-widget ul.causes-dropdown li.dropdown-item {
	padding: 10px 14px !important;
	border-top: 1px solid var(--kl-border);
	background: #fff !important;
	cursor: pointer;
	transition: background-color .12s ease;
}
.kl-give__donation-widget ul.causes-dropdown li.dropdown-item:hover { background: var(--kl-red-tint) !important; }
.kl-give__donation-widget .cause-drop-content { align-items: center; gap: 12px; }
.kl-give__donation-widget .cause-img-wrap {
	min-width: 34px;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--kl-cream);
}
.kl-give__donation-widget img.img-cause-drop { width: 100%; height: 100%; object-fit: cover; }
.kl-give__donation-widget .cause-text-wrap { margin-left: 0; }
.kl-give__donation-widget .cause-drop-title { font: 600 13.5px var(--kl-sans); color: var(--kl-ink); line-height: 1.3; }
.kl-give__donation-widget .cause-drop-desc { font: 400 12px var(--kl-sans); color: var(--kl-warm-grey-light); line-height: 1.4; margin-top: 2px; }
.kl-give__donation-widget button.wc-donation-f-submit-donation {
	width: 100%;
	border: none;
	border-radius: 99px;
	padding: 15px 0;
	text-align: center;
	font: 700 13.5px var(--kl-sans);
	cursor: pointer;
	margin-bottom: 0;
}

/* Events */
.kl-events__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; }
.kl-events__all { font: 500 13px var(--kl-sans); color: var(--kl-red); }
.kl-events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kl-event-card {
	display: block;
	border: 1px solid var(--kl-border);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .15s ease, border-color .15s ease;
}
.kl-event-card:hover {
	border-color: var(--kl-red);
	box-shadow: 0 14px 28px -18px rgba(26,20,20,.28);
}
.kl-event-card:hover .kl-event-card__title { color: var(--kl-red); }
.kl-event-card__date-badge {
	height: 130px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--kl-red-tint);
	color: var(--kl-red);
}
.kl-event-card__date-icon { width: 26px; height: 26px; }
.kl-event-card__date-month {
	font: 700 12px var(--kl-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.kl-event-card__date-day { font: 600 26px/1 var(--kl-serif); color: var(--kl-ink); }
.kl-event-card__body { padding: 20px 22px 22px; }
.kl-event-card__tag {
	font: 600 10.5px var(--kl-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--kl-red);
	margin-bottom: 10px;
}
.kl-event-card__title { font: 600 18px/1.3 var(--kl-serif); color: var(--kl-ink); margin: 0 0 8px; transition: color .15s ease; }
.kl-event-card__date { font: 400 13px var(--kl-sans); color: var(--kl-warm-grey-light); }

/* Footer */
.kl-footer {
	padding: 48px;
	display: flex;
	align-items: center;
	gap: 40px;
	background: var(--kl-ink);
}
.kl-footer__brand { font: 600 13.5px var(--kl-serif); color: #fff; }
.kl-footer__spacer { flex: 1; }
.kl-footer__social { display: flex; align-items: center; gap: 16px; margin-right: 34px; }
.kl-footer__social a { color: #a89b9b; display: flex; transition: color .15s ease; }
.kl-footer__social a:hover { color: #fff; }
.kl-footer__nav { display: flex; gap: 26px; font: 400 12.5px var(--kl-sans); color: #a89b9b; }
.kl-footer__nav a { color: inherit; }

@media (max-width: 900px) {
	.kl-hero { height: 560px; margin: 12px; border-radius: 16px; }
	.kl-hero__slide .kl-hero__content { max-width: none; padding: 32px 24px; }
	.kl-hero__title { font-size: 30px; }
	.kl-hero__ctrl { right: 24px; bottom: 24px; gap: 10px; }
	.kl-hero__arrow { width: 32px; height: 32px; }
	.kl-power,
	.kl-give { grid-template-columns: 1fr; }
	.kl-events__grid,
	.kl-blog-grid { grid-template-columns: 1fr; }
	.kl-section { padding: 56px 24px 0; }
	.kl-header { padding: 0 16px; height: 68px; gap: 12px; }
	/* Full name doesn't fit next to the account controls + burger at this
	   width — the crest alone is still clearly this site's mark. */
	.kl-header__name { display: none; }
	.kl-header__spacer { flex: 1 1 0; min-width: 0; }
	.kl-header__actions { gap: 8px; flex: none; }
	.kl-header__burger { display: flex; flex: none; }

	/* Nav becomes a full-width dropdown panel toggled by the burger button
	   (see the JS in template-parts/site-header.php) instead of sitting
	   inline — hover-revealed sub-menus don't work on touch, so those
	   become tap-to-expand accordions here too. */
	.kl-header__nav {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		max-height: 0;
		overflow: hidden;
		box-shadow: 0 18px 30px -14px rgba(26,20,20,.22);
		transition: max-height .25s ease;
	}
	.kl-header__nav.is-open { max-height: calc(100vh - 68px); overflow-y: auto; }
	.kl-nav-list { flex-direction: column; gap: 0; padding: 8px 0 16px; font-weight: 500; }
	.kl-nav-list > li > a { height: auto; padding: 14px 24px; }
	.kl-nav-list .menu-item-has-children > a::after { margin-top: 0; }
	.kl-nav-list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-bottom: none;
		border-radius: 0;
		background: var(--kl-cream);
		min-width: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height .2s ease;
	}
	.kl-nav-list .menu-item-has-children.is-expanded > a::after { transform: rotate(225deg); }
	.kl-nav-list .menu-item-has-children.is-expanded .sub-menu { max-height: 400px; padding: 4px 0; }
	.kl-nav-list .sub-menu a { padding: 12px 36px; }

	.kl-header__actions { gap: 10px; }
	.kl-header__join,
	.kl-header__dashboard { padding: 9px 14px; font-size: 12px; }
	.kl-header__account-trigger span { display: none; }

	/* Footer — the brand/social/links row was a single unwrapped flex row
	   that pushed the nav links off the edge of the screen on narrow
	   viewports; stack everything instead. */
	.kl-footer { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 24px; }
	.kl-footer__spacer { display: none; }
	.kl-footer__social { margin-right: 0; }
	.kl-footer__nav { flex-wrap: wrap; gap: 12px 20px; }
}
