/*
Theme Name: Lamppost
Theme URI: https://lamppost.org.bd/
Author: Lamppost
Author URI: https://lamppost.org.bd/
Description: WordPress theme for Lamppost – light for rights.., a government-registered youth-led voluntary organization in Pirganj, Thakurgaon. Rebuilds the full lamppost.org.bd site: hero slider of programmes, welcome section, strategic priorities, latest events, founders, About (mission, vision, executive committee, advisor panel), Legal Status certificate gallery with lightbox, Albums archive, Donate, Contact, Privacy Policy and Terms of Service. On activation it creates every page, the six programme pages, team members and both menus.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lamppost
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--lp-green: #006A4E;
	--lp-green-deep: #0A3B2E;
	--lp-flame: #C8361F;
	--lp-flame-dark: #A42B17;
	--lp-flame-dark: color-mix(in srgb, var(--lp-flame) 80%, #000);
	--lp-glow: #F5B82E;
	--lp-paper: #FFFFFF;
	--lp-mist: #EEF4F0;
	--lp-ink: #17271F;
	--lp-muted: #56675F;
	--lp-line: #D5E1DA;

	--lp-font-display: "Tiro Bangla", "Noto Serif Bengali", Georgia, "Times New Roman", serif;
	--lp-font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--lp-container: 1200px;
	--lp-measure: 780px;
	--lp-gutter: clamp(1rem, 4vw, 2rem);
	--lp-radius-s: 3px;
	--lp-radius-m: 6px;
	--lp-header-h: 84px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--lp-header-h) + 1rem);
}

body {
	margin: 0;
	font-family: var(--lp-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--lp-ink);
	background: var(--lp-paper);
	overflow-x: clip;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}

body.lp-nav-open { overflow: hidden; }

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

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

:focus-visible {
	outline: 3px solid var(--lp-glow);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lp-font-display);
	font-weight: 400;
	line-height: 1.25;
	color: var(--lp-ink);
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1rem; }

p { margin: 0 0 1.1em; }

strong, b { font-weight: 600; }

hr {
	border: 0;
	border-top: 1px solid var(--lp-line);
	margin: 2.5rem 0;
}

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

/* Accessibility helpers */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 1rem;
	top: 1rem;
	z-index: 1000;
	padding: .75rem 1rem;
	background: #fff;
	color: var(--lp-green-deep);
	font-weight: 600;
	border-radius: var(--lp-radius-m);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.lp-container {
	width: 100%;
	max-width: var(--lp-container);
	margin-inline: auto;
	padding-inline: var(--lp-gutter);
}

.lp-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.lp-section--mist { background: var(--lp-mist); }

.lp-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: 2rem;
}
.lp-section__head h2 { margin: 0; }
.lp-section__sub {
	color: var(--lp-muted);
	margin: .35rem 0 0;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .75rem 1.4rem;
	min-height: 44px;
	border: 2px solid transparent;
	border-radius: var(--lp-radius-m);
	font-family: var(--lp-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.lp-btn .lp-icon { width: 1.1em; height: 1.1em; }

.lp-btn--flame { background: var(--lp-flame); color: #fff; }
.lp-btn--flame:hover { background: var(--lp-flame-dark); color: #fff; }

.lp-btn--green { background: var(--lp-green); color: #fff; }
.lp-btn--green:hover { background: var(--lp-green-deep); color: #fff; }

.lp-btn--outline { border-color: var(--lp-green); color: var(--lp-green); background: transparent; }
.lp-btn--outline:hover { background: var(--lp-green); color: #fff; }

.lp-btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.lp-btn--ghost:hover { background: #fff; color: var(--lp-green-deep); border-color: #fff; }

.lp-link-arrow {
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}
.lp-link-arrow:hover { text-decoration: underline; }

/* ==========================================================================
   5. Header & navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--lp-line);
	transition: box-shadow .25s ease;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(10, 59, 46, .08); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--lp-header-h);
}

.site-branding a,
.custom-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.site-branding img,
.custom-logo {
	display: block;
	max-height: 58px;
	width: auto;
}
.site-title-text {
	font-family: var(--lp-font-display);
	font-size: 1.6rem;
	color: var(--lp-green-deep);
	text-decoration: none;
}

.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: .15rem;
}
.primary-menu li { position: relative; }
.primary-menu a {
	display: block;
	padding: .55rem .85rem;
	color: var(--lp-ink);
	font-weight: 500;
	text-decoration: none;
	border-radius: var(--lp-radius-s);
}
.primary-menu a:hover { color: var(--lp-green); }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-ancestor > a,
.primary-menu .current_page_parent > a {
	color: var(--lp-green);
	box-shadow: inset 0 -3px 0 var(--lp-glow);
}
.primary-menu .lp-menu-donate > a {
	background: var(--lp-flame);
	color: #fff;
	padding-inline: 1.15rem;
	margin-left: .5rem;
	border-radius: var(--lp-radius-m);
	box-shadow: none;
}
.primary-menu .lp-menu-donate > a:hover,
.primary-menu .lp-menu-donate.current-menu-item > a { background: var(--lp-flame-dark); color: #fff; box-shadow: none; }

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	list-style: none;
	margin: 0;
	padding: .4rem;
	background: #fff;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-m);
	box-shadow: 0 12px 30px rgba(10, 59, 46, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
	z-index: 10;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-menu .sub-menu a { padding: .5rem .75rem; }

.nav-toggle,
.nav-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: var(--lp-radius-m);
	color: var(--lp-ink);
	cursor: pointer;
}
.nav-toggle .lp-icon,
.nav-close .lp-icon { width: 28px; height: 28px; }
.primary-nav__head { display: none; }

@media (max-width: 960px) {
	.nav-toggle,
	.nav-close { display: inline-flex; }

	.primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(86vw, 360px);
		padding: 1rem 1.25rem 2rem;
		background: #fff;
		overflow-y: auto;
		z-index: 100;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility .3s;
		box-shadow: -12px 0 32px rgba(0, 0, 0, .14);
	}
	.admin-bar .primary-nav { top: 46px; }
	.primary-nav.is-open { transform: none; visibility: visible; }

	.primary-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 1rem;
		padding-bottom: 1rem;
		border-bottom: 1px solid var(--lp-line);
	}
	.primary-nav__head img { max-height: 46px; width: auto; }

	.primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu a {
		padding: .85rem .25rem;
		border-bottom: 1px solid var(--lp-line);
		border-radius: 0;
	}
	.primary-menu .current-menu-item > a,
	.primary-menu .current_page_item > a,
	.primary-menu .current_page_parent > a { box-shadow: inset 3px 0 0 var(--lp-glow); padding-left: .85rem; }
	.primary-menu .lp-menu-donate > a {
		margin: 1.25rem 0 0;
		text-align: center;
		border-bottom: 0;
		border-radius: var(--lp-radius-m);
	}
	.primary-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 1rem;
	}

	.lp-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 90;
		background: rgba(10, 59, 46, .45);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s;
	}
	.lp-nav-backdrop.is-visible { opacity: 1; visibility: visible; }
}
@media (max-width: 600px) { .admin-bar .primary-nav { top: 0; } }

/* ==========================================================================
   6. Hero slider (front page)
   ========================================================================== */
.lp-hero {
	position: relative;
	background: var(--lp-green-deep);
	color: #fff;
	overflow: hidden;
}
.lp-hero__track {
	position: relative;
	min-height: clamp(440px, 72vh, 680px);
}
.lp-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility .8s;
}
.lp-slide.is-active { opacity: 1; visibility: visible; }
.lp-slide__bg {
	position: absolute;
	inset: 0;
	background-color: var(--lp-green-deep);
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
	transition: transform 7s ease-out;
}
.lp-slide.is-active .lp-slide__bg { transform: scale(1); }
.lp-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 59, 46, .93) 0%, rgba(10, 59, 46, .72) 45%, rgba(10, 59, 46, .18) 100%);
}
.lp-slide .lp-container { position: relative; z-index: 2; }
.lp-slide__body { max-width: 640px; padding-block: 3rem 5rem; }
.lp-slide__title {
	color: #fff;
	font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
	margin-bottom: .35em;
}
.lp-slide__text {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, .9);
	max-width: 52ch;
}
.lp-slide__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.75rem;
}

.lp-hero__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.5rem;
	z-index: 3;
}
.lp-hero__controls .lp-container {
	display: flex;
	align-items: center;
	gap: .6rem;
}
.lp-hero__dots { display: flex; gap: .35rem; margin-right: auto; }
.lp-hero__dot {
	position: relative;
	width: 34px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.lp-hero__dot::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 10px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .4);
	transition: background-color .3s ease;
}
.lp-hero__dot:hover::before { background: rgba(255, 255, 255, .75); }
.lp-hero__dot[aria-current="true"]::before { background: var(--lp-glow); }
.lp-hero__btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(10, 59, 46, .35);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.lp-hero__btn:hover { background: #fff; color: var(--lp-green-deep); }
.lp-hero__btn .lp-icon { width: 20px; height: 20px; }
.lp-hero__btn [data-state="play"] { display: none; }
.lp-hero__btn.is-paused [data-state="pause"] { display: none; }
.lp-hero__btn.is-paused [data-state="play"] { display: block; }

/* ==========================================================================
   7. Welcome strip
   ========================================================================== */
.lp-strip { background: var(--lp-glow); color: var(--lp-ink); }
.lp-strip p {
	margin: 0;
	padding-block: 1.1rem;
	font-family: var(--lp-font-display);
	font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
	line-height: 1.5;
	text-align: center;
}

/* ==========================================================================
   8. Content blocks shared by pages (.lp-block lives inside .entry-content)
   ========================================================================== */
.lp-block { padding-block: clamp(3rem, 6vw, 5.5rem); }
.lp-block--mist { background: var(--lp-mist); }
.lp-block--tight { padding-block: clamp(2rem, 4vw, 3rem); }

/* Intro + photo mosaic */
.lp-intro .lp-container {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.lp-intro__title { margin-bottom: .5em; }
.lp-intro__text p { font-size: 1.1rem; max-width: 60ch; }
.lp-intro__text a { color: var(--lp-green-deep); }

.lp-mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 130px;
	gap: .6rem;
	margin: 0;
}
.lp-mosaic figure {
	position: relative;
	margin: 0;
	grid-column: span 2;
	overflow: hidden;
	border-radius: var(--lp-radius-s);
	background: var(--lp-mist);
}
.lp-mosaic figure:first-child { grid-row: span 2; }
.lp-mosaic img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lp-mosaic figcaption,
.lp-priorities__media figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.6rem .75rem .55rem;
	font-size: .875rem;
	line-height: 1.35;
	color: #fff;
	background: linear-gradient(transparent, rgba(10, 59, 46, .88));
}

/* Strategic priorities: the lamppost */
.lp-priorities {
	background: var(--lp-green-deep);
	color: #E3EEE8;
}
.lp-priorities .lp-container {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.lp-priorities h2 { color: #fff; margin-bottom: 1.6em; }

.lp-lamp-list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0 0 0 2.75rem;
}
/* the post */
.lp-lamp-list::before {
	content: "";
	position: absolute;
	left: .8rem;
	top: -1.25rem;
	bottom: .4rem;
	width: 4px;
	border-radius: 2px;
	background: linear-gradient(#5C8A79, #2C5547);
}
/* the cap at the top of the post */
.lp-lamp-list::after {
	content: "";
	position: absolute;
	left: calc(.8rem + 2px - 11px);
	top: -1.75rem;
	width: 22px;
	height: 8px;
	border-radius: 4px 4px 1px 1px;
	background: #5C8A79;
}
.lp-lamp-list li {
	position: relative;
	padding: .65rem 0 .65rem .25rem;
	max-width: 62ch;
	line-height: 1.6;
}
.lp-lamp-list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
/* the lamps */
.lp-lamp-list li::before {
	content: "";
	position: absolute;
	left: calc(.8rem + 2px - 2.75rem - 7px);
	top: 1.1rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--lp-glow);
	box-shadow: 0 0 0 3px rgba(245, 184, 46, .22), 0 0 18px 5px rgba(245, 184, 46, .5);
}
.lp-js .lp-lamp-list li::before {
	background: #35594C;
	box-shadow: 0 0 0 3px rgba(245, 184, 46, 0), 0 0 0 0 rgba(245, 184, 46, 0);
	transition: background-color .45s ease, box-shadow .7s ease;
	transition-delay: calc(var(--i, 0) * 140ms);
}
.lp-js .lp-lamp-list.is-lit li::before {
	background: var(--lp-glow);
	box-shadow: 0 0 0 3px rgba(245, 184, 46, .22), 0 0 18px 5px rgba(245, 184, 46, .5);
}

.lp-priorities__media {
	display: grid;
	gap: 1rem;
	margin-top: 3.5rem;
}
.lp-priorities__media figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--lp-radius-s);
	aspect-ratio: 4 / 3;
	background: #123F33;
}
.lp-priorities__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Contact note */
.lp-note blockquote {
	max-width: 900px;
	margin: 0 auto;
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 4px solid var(--lp-glow);
	font-family: var(--lp-font-display);
	font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem);
	line-height: 1.55;
	color: var(--lp-ink);
}
.lp-note blockquote p { margin: 0; }

@media (max-width: 900px) {
	.lp-intro .lp-container,
	.lp-priorities .lp-container { grid-template-columns: 1fr; }
	.lp-priorities__media { grid-template-columns: 1fr 1fr; margin-top: 0; }
}
@media (max-width: 560px) {
	.lp-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
	.lp-mosaic figure { grid-column: span 1; }
	.lp-mosaic figure:first-child { grid-column: span 2; grid-row: span 2; }
	.lp-priorities__media { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9. Call-to-action trio
   ========================================================================== */
.lp-cta {
	background: var(--lp-mist);
	border-top: 1px solid var(--lp-line);
	border-bottom: 1px solid var(--lp-line);
}
.lp-cta__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lp-cta__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 2.75rem 2rem;
}
.lp-cta__item:first-child { padding-left: 0; }
.lp-cta__item:last-child { padding-right: 0; }
.lp-cta__item + .lp-cta__item { border-left: 1px solid var(--lp-line); }
.lp-cta__item h3 {
	margin: 0;
	font-size: 1.3rem;
	max-width: 24ch;
}
.lp-cta__item > :last-child { margin-top: auto; }

.lp-social {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.lp-social a {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lp-green);
	color: #fff;
	transition: background-color .2s ease;
}
.lp-social a:hover { background: var(--lp-flame); color: #fff; }
.lp-social .lp-icon { width: 20px; height: 20px; }

@media (max-width: 860px) {
	.lp-cta__grid { grid-template-columns: 1fr; }
	.lp-cta__item { padding: 2rem 0; }
	.lp-cta__item + .lp-cta__item { border-left: 0; border-top: 1px solid var(--lp-line); }
}

/* ==========================================================================
   10. Post / event cards
   ========================================================================== */
.lp-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 960px) { .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lp-cards { grid-template-columns: 1fr; } }

.lp-card { display: flex; flex-direction: column; }
.lp-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--lp-radius-s);
	background: var(--lp-mist);
}
.lp-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.lp-card__media:hover img,
.lp-card__media:focus-visible img { transform: scale(1.04); }
.lp-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--lp-green);
}
.lp-card__placeholder .lp-icon { width: 48px; height: 48px; opacity: .6; }

.lp-date {
	position: absolute;
	left: .75rem;
	bottom: .75rem;
	min-width: 3.75rem;
	padding: .45rem .6rem .4rem;
	border-radius: var(--lp-radius-s);
	background: var(--lp-flame);
	color: #fff;
	line-height: 1;
	text-align: center;
}
.lp-date__day {
	display: block;
	font-family: var(--lp-font-display);
	font-size: 1.65rem;
	line-height: 1;
}
.lp-date__month {
	display: block;
	margin-top: .3rem;
	font-size: .78rem;
	font-weight: 500;
}

.lp-card__body { padding-top: 1rem; }
.lp-card__title {
	margin: 0 0 .5rem;
	font-size: 1.25rem;
	line-height: 1.4;
}
.lp-card__title a { color: var(--lp-ink); text-decoration: none; }
.lp-card__title a:hover { color: var(--lp-green); }
.lp-card__excerpt { color: var(--lp-muted); font-size: .98rem; margin: 0 0 .75rem; }

.lp-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 1.1rem;
	font-size: .9rem;
	color: var(--lp-muted);
}
.lp-meta a,
.lp-meta span {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--lp-muted);
	text-decoration: none;
}
.lp-meta a:hover { color: var(--lp-green); text-decoration: underline; }
.lp-meta .lp-icon { width: 15px; height: 15px; }

.lp-empty {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--lp-muted);
}

/* ==========================================================================
   11. Team
   ========================================================================== */
.lp-team__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2.75rem;
}
.lp-team__head h2 { margin-bottom: .3em; }
.lp-team__head p { color: var(--lp-muted); margin: 0; }

.lp-team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 2.5rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.lp-team__grid--founders {
	grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
	justify-content: center;
}

.lp-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.lp-member__photo {
	display: grid;
	place-items: center;
	width: 140px;
	height: 140px;
	margin-bottom: 1rem;
	overflow: hidden;
	border-radius: 50%;
	background: var(--lp-green);
	color: #fff;
	font-family: var(--lp-font-display);
	font-size: 2.6rem;
	line-height: 1;
	box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--lp-line);
}
.lp-member__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lp-member__name { margin: 0 0 .25rem; font-size: 1.2rem; }
.lp-member__role { margin: 0; color: var(--lp-flame); font-weight: 600; font-size: .95rem; }
.lp-member__bio {
	margin: .3rem 0 0;
	max-width: 30ch;
	color: var(--lp-muted);
	font-size: .92rem;
	line-height: 1.5;
}
.lp-member__link {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-top: .75rem;
	border: 1px solid var(--lp-line);
	border-radius: 50%;
	color: var(--lp-green);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.lp-member__link:hover { background: var(--lp-green); border-color: var(--lp-green); color: #fff; }
.lp-member__link .lp-icon { width: 18px; height: 18px; }

/* ==========================================================================
   12. Page header & entry content
   ========================================================================== */
.lp-page-header {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.75rem, 6vw, 4.5rem);
	background: var(--lp-green-deep);
	color: #fff;
}
.lp-page-header::before {
	content: "";
	position: absolute;
	top: -170px;
	right: -110px;
	width: 440px;
	height: 440px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 184, 46, .32), rgba(245, 184, 46, 0) 68%);
	pointer-events: none;
}
.lp-page-header .lp-container { position: relative; }
.lp-page-header h1 { color: #fff; margin: 0; }
.lp-page-header__sub {
	margin: .5rem 0 0;
	color: var(--lp-glow);
	font-size: 1.1rem;
}
.lp-page-header__sub p { margin: 0; }

.lp-entry { padding-block: clamp(2.5rem, 5vw, 4rem); }
.lp-entry--flush { padding-block: 0; }

/* Plain content is held to a readable measure; .lp-block sections span full width. */
.entry-content > *:not(.lp-block):not(.alignwide):not(.alignfull) {
	max-width: min(var(--lp-measure), calc(100% - 2 * var(--lp-gutter)));
	margin-left: auto;
	margin-right: auto;
}
.entry-content > .alignwide {
	max-width: min(1100px, calc(100% - 2 * var(--lp-gutter)));
	margin-left: auto;
	margin-right: auto;
}
.entry-content > .alignfull { max-width: none; }
.entry-content > *:first-child { margin-top: 0; }

.entry-content h2 { margin-top: 2.2rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content .lp-block h2,
.entry-content .lp-block h3 { margin-top: 0; }
/* Only plain and block-editor lists get indents; designed lists (.lp-*) keep their own spacing. */
.entry-content ul:not([class]),
.entry-content ol:not([class]),
.entry-content .wp-block-list { padding-left: 1.3rem; }
.entry-content :is(ul:not([class]), ol:not([class]), .wp-block-list, .lp-checklist) > li { margin: .4rem 0; }
.entry-content li::marker { color: var(--lp-green); }
.entry-content blockquote {
	margin: 1.75rem auto;
	padding: .25rem 0 .25rem 1.25rem;
	border-left: 4px solid var(--lp-glow);
	font-family: var(--lp-font-display);
	font-size: 1.2rem;
}
.entry-content img { border-radius: var(--lp-radius-s); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th,
.entry-content td { border-bottom: 1px solid var(--lp-line); padding: .6rem .5rem; text-align: left; }
.entry-content pre {
	overflow-x: auto;
	background: var(--lp-mist);
	padding: 1rem;
	border-radius: var(--lp-radius-m);
}
.entry-content iframe { display: block; }

.wp-block-image figcaption,
.wp-caption-text,
.gallery-caption {
	font-size: .9rem;
	color: var(--lp-muted);
	text-align: center;
	margin-top: .5rem;
}
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; }
.sticky .lp-card__title::before { content: "★ "; color: var(--lp-glow); }

/* ==========================================================================
   13. About page
   ========================================================================== */
.lp-lede { padding-bottom: 0; }
.lp-lede__text {
	margin: 0;
	max-width: 30em;
	font-family: var(--lp-font-display);
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
	line-height: 1.45;
	color: var(--lp-green-deep);
}

.lp-mv .lp-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 5vw, 4rem);
}
.lp-mv__item {
	border-top: 3px solid var(--lp-green);
	padding-top: 1.25rem;
}
.lp-mv__item p { margin: 0; }

.lp-wwd { background: var(--lp-mist); }
.lp-wwd__intro { max-width: 62ch; }
.lp-wwd__intro p { margin: 0; }
.lp-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 3.5rem;
	margin-top: 2.75rem;
}
.lp-feature {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 1.1rem;
	align-items: start;
}
.lp-feature__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	color: var(--lp-green);
	box-shadow: inset 0 0 0 2px var(--lp-line);
}
.lp-feature__icon .lp-icon { width: 28px; height: 28px; }
.lp-feature h3 { margin: .45rem 0 .5rem; font-size: 1.3rem; }
.lp-feature p { margin: 0; font-size: 1rem; }

@media (max-width: 820px) {
	.lp-mv .lp-container,
	.lp-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   14. Legal status certificates
   ========================================================================== */
.lp-cert-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.25rem 1.75rem;
}
.lp-cert { margin: 0; display: flex; flex-direction: column; }
.lp-cert a {
	display: block;
	aspect-ratio: 4 / 3;
	padding: 1rem;
	border-radius: var(--lp-radius-s);
	background: var(--lp-mist);
	transition: background-color .2s ease;
}
.lp-cert a:hover { background: #E2ECE6; }
.lp-cert img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 0;
	filter: drop-shadow(0 6px 14px rgba(10, 59, 46, .18));
}
.lp-cert figcaption {
	margin-top: .8rem;
	font-size: .98rem;
	line-height: 1.45;
	text-align: center;
}
@media (max-width: 900px) { .lp-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lp-cert-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   15. Donate & contact
   ========================================================================== */
.lp-donate .lp-container {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.lp-donate__bank { margin: 0; }
.lp-donate__bank a { display: block; }
.lp-donate__bank img {
	display: block;
	width: 100%;
	box-shadow: 0 10px 30px rgba(10, 59, 46, .16);
}
.lp-donate__text p { font-size: 1.1rem; }
.lp-donate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.5rem;
}

.lp-contact .lp-container {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.lp-contact h2 { font-size: 1.6rem; }
.lp-contact h3 { font-size: 1.2rem; margin-top: 2rem; }
.lp-map {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	margin: 1rem 0 1.25rem;
	border: 0;
	border-radius: var(--lp-radius-s);
	background: var(--lp-mist);
}
.lp-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--lp-line);
}
.lp-contact-list li { margin: 0; border-bottom: 1px solid var(--lp-line); }
.lp-contact-item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: .9rem;
	align-items: center;
	padding: 1rem 0;
	color: var(--lp-ink);
	text-decoration: none;
}
a.lp-contact-item:hover strong { color: var(--lp-green); }
.lp-contact-item__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lp-mist);
	color: var(--lp-green);
}
.lp-contact-item__icon .lp-icon { width: 20px; height: 20px; }
.lp-contact-item strong { display: block; font-weight: 600; }
.lp-contact-item span span { display: block; color: var(--lp-muted); font-size: .95rem; line-height: 1.5; }
.entry-content .lp-checklist { padding-left: 1.2rem; }

@media (max-width: 880px) {
	.lp-donate .lp-container,
	.lp-contact .lp-container { grid-template-columns: 1fr; }
}

/* ==========================================================================
   16. Single post & event
   ========================================================================== */
.lp-single { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.lp-single__media {
	position: relative;
	max-width: 1000px;
	margin: 0 auto 2rem;
}
.lp-single__media img {
	display: block;
	width: 100%;
	max-height: 620px;
	object-fit: cover;
	border-radius: var(--lp-radius-s);
}
.lp-single__media .lp-date { left: 1rem; bottom: 1rem; }
.lp-single__header {
	max-width: min(var(--lp-measure), calc(100% - 2 * var(--lp-gutter)));
	margin: 0 auto 1.75rem;
}
.lp-single__header .lp-meta { margin-bottom: .9rem; }
.lp-single__title { margin: 0; }

.lp-tags,
.lp-postnav,
.lp-comments {
	max-width: min(var(--lp-measure), calc(100% - 2 * var(--lp-gutter)));
	margin-left: auto;
	margin-right: auto;
}
.lp-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin-top: 2.5rem;
}
.lp-tags h2 {
	margin: 0 .35rem 0 0;
	font-family: var(--lp-font-body);
	font-size: 1rem;
	font-weight: 600;
}
.lp-tags a {
	padding: .3rem .8rem;
	border-radius: 999px;
	background: var(--lp-mist);
	color: var(--lp-ink);
	font-size: .9rem;
	text-decoration: none;
}
.lp-tags a:hover { background: var(--lp-green); color: #fff; }

.lp-postnav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--lp-line);
}
.lp-postnav a { display: block; color: var(--lp-ink); text-decoration: none; }
.lp-postnav a:hover strong { color: var(--lp-green); }
.lp-postnav span { display: block; font-size: .85rem; color: var(--lp-muted); }
.lp-postnav strong { display: block; font-family: var(--lp-font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.4; }
.lp-postnav__next { text-align: right; grid-column: 2; }

.lp-event-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(320px, 52vh, 520px);
	background: var(--lp-green-deep);
	color: #fff;
	overflow: hidden;
}
.lp-event-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lp-event-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 59, 46, .95) 0%, rgba(10, 59, 46, .55) 50%, rgba(10, 59, 46, .1) 100%);
}
.lp-event-hero .lp-container {
	position: relative;
	z-index: 2;
	padding-block: 3rem 2.5rem;
}
.lp-event-hero h1 { color: #fff; max-width: 22ch; margin: 0; }
.lp-event-hero p { margin: .75rem 0 0; max-width: 60ch; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }

.lp-support {
	max-width: min(var(--lp-measure), calc(100% - 2 * var(--lp-gutter)));
	margin: 3rem auto 0;
	padding: 2rem;
	border-left: 4px solid var(--lp-glow);
	border-radius: var(--lp-radius-s);
	background: var(--lp-mist);
}
.lp-support h2 { font-size: 1.5rem; margin: 0 0 .5rem; }
.lp-support p { margin: 0; }
.lp-support__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* ==========================================================================
   17. Pagination
   ========================================================================== */
.navigation.pagination { margin-top: 3rem; }
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
}
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 .8rem;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-m);
	color: var(--lp-ink);
	text-decoration: none;
	font-weight: 500;
}
a.page-numbers:hover { border-color: var(--lp-green); color: var(--lp-green); }
.page-numbers.current { background: var(--lp-green); border-color: var(--lp-green); color: #fff; }
.page-numbers.dots { border-color: transparent; }
.page-numbers .lp-icon { width: 18px; height: 18px; }

/* ==========================================================================
   18. Footer
   ========================================================================== */
.site-footer {
	background: var(--lp-green-deep);
	color: rgba(255, 255, 255, .8);
	font-size: .95rem;
}
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.75rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lp-glow); text-decoration: underline; }
.site-footer__copy { margin: 0; }
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   19. Lightbox
   ========================================================================== */
.lp-lb {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4.5rem 4rem;
	background: rgba(6, 28, 21, .94);
}
.lp-lb[hidden] { display: none; }
.lp-lb figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: min(1100px, 100%);
	max-height: 100%;
	margin: 0;
}
.lp-lb img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 11rem);
	width: auto;
	object-fit: contain;
}
.lp-lb figcaption {
	margin-top: .9rem;
	color: #fff;
	text-align: center;
}
.lp-lb__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
}
.lp-lb__btn:hover { background: #fff; color: var(--lp-green-deep); }
.lp-lb__btn .lp-icon { width: 22px; height: 22px; }
.lp-lb__close { top: 1rem; right: 1rem; }
.lp-lb__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lp-lb__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
	.lp-lb { padding: 4.5rem .75rem 5.5rem; }
	.lp-lb__prev,
	.lp-lb__next { top: auto; bottom: 1rem; transform: none; }
	.lp-lb__prev { left: calc(50% - 56px); }
	.lp-lb__next { right: calc(50% - 56px); }
}

/* ==========================================================================
   20. 404, search, comments, forms
   ========================================================================== */
.lp-404 { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.lp-404 p { color: var(--lp-muted); max-width: 46ch; margin: 0 auto 1.75rem; }
.lp-404__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.search-form { display: flex; gap: .5rem; max-width: 460px; margin: 0 auto 2rem; }
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="password"],
textarea,
select {
	width: 100%;
	padding: .7rem .9rem;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-m);
	font: inherit;
	color: var(--lp-ink);
	background: #fff;
}
input:focus,
textarea:focus,
select:focus { border-color: var(--lp-green); outline: 3px solid rgba(245, 184, 46, .55); outline-offset: 0; }
button,
input[type="submit"] { font: inherit; }
.search-submit,
.comment-form .submit {
	padding: .7rem 1.3rem;
	border: 0;
	border-radius: var(--lp-radius-m);
	background: var(--lp-green);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.search-submit:hover,
.comment-form .submit:hover { background: var(--lp-green-deep); }

.lp-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--lp-line); }
.lp-comments h2 { font-size: 1.5rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--lp-line); }
.comment-meta { font-size: .9rem; color: var(--lp-muted); }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-right: .5rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 500; margin-bottom: .3rem; }

/* ==========================================================================
   21. Motion preferences & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
	.lp-slide__bg { transform: none !important; }
}

@media print {
	.site-header,
	.lp-hero__controls,
	.lp-cta,
	.site-footer nav { display: none; }
	.lp-page-header { background: none; color: #000; }
	.lp-page-header h1 { color: #000; }
}
