/* Global Indigenous Declaration on Fire (firedeclaration.html).
   Page reuses the Four Pillars Elementor layout (post-1046.css); these rules
   only override what differs per section. */

/* ---------- Screen 1: hero ---------- */
.elementor-1046 .elementor-element.elementor-element-a1c815d.wfa-decl-hero {
	position: relative;
	overflow: hidden;
	background-image: url("../img/declaration-hero.jpg");
	background-size: cover;
	background-position: center;
	--min-height: 760px;
}

/* Local looping background video (poster = hero photo) */
.wfa-decl-hero > .wfa-decl-video {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
}
.wfa-decl-hero > .wfa-decl-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Readability overlay: dark at top (nav), soft through the middle */
.elementor-1046 .elementor-element.elementor-element-a1c815d.wfa-decl-hero > .wfa-decl-video::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .9) 100%);
}

.wfa-decl-hero > .elementor-element {
	position: relative;
	z-index: 2;
}
/* logo + nav row must stay above later siblings so the dropdown isn't covered */
.wfa-decl-hero > .elementor-element-e4960ee {
	z-index: 5;
}

.elementor-1046 .wfa-decl-hero .elementor-element.elementor-element-5e2006a .elementor-heading-title {
	font-size: 54px;
	text-transform: uppercase;
	line-height: 1.1;
	max-width: 1100px;
	margin: 0 auto;
}

.elementor-1046 .wfa-decl-hero .elementor-element.elementor-element-892081f .elementor-heading-title {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.5;
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}
.wfa-decl-hero .elementor-heading-title {
	text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.wfa-decl-hero .wfa-decl-btn {
	align-self: center;
	margin-top: 8px;
}
.wfa-decl-btn .elementor-button {
	background-color: #009933;
	color: #fff;
	font-family: "Montserrat", Sans-serif;
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 4px;
}
.wfa-decl-btn .elementor-button:hover,
.wfa-decl-btn .elementor-button:focus {
	background-color: #7bad0f;
	color: #fff;
}

@media (max-width: 767px) {
	.elementor-1046 .wfa-decl-hero .elementor-element.elementor-element-5e2006a .elementor-heading-title {
		font-size: 28px;
	}
	.elementor-1046 .elementor-element.elementor-element-a1c815d.wfa-decl-hero {
		--min-height: 600px;
	}
	.elementor-1046 .wfa-decl-hero .elementor-element.elementor-element-892081f .elementor-heading-title {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wfa-decl-hero > .wfa-decl-video video {
		display: none;
	}
}

/* ---------- Shared section system (Screens 2–6) ---------- */
.wfa-decl {
	--decl-green: #009933;
	--decl-lime: #A1E214;
	--decl-ink: #0F172A;
	--decl-text: #364151;
	--decl-dark: #0b2416;
	padding: 96px 24px;
	font-family: "Geologica", Sans-serif;
	font-weight: 300;
	color: var(--decl-text);
	font-size: 19px;
	line-height: 1.6;
}
.wfa-decl *, .wfa-decl *::before, .wfa-decl *::after { box-sizing: border-box; }
.wfa-decl-inner { max-width: 1140px; margin: 0 auto; }
.wfa-decl p { margin: 0 0 1em; }
.wfa-decl-center { text-align: center; }

.wfa-decl-eyebrow {
	font-family: "Montserrat", Sans-serif;
	font-size: 14px !important;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--decl-green);
	margin-bottom: 12px !important;
}
.wfa-decl-h2 {
	font-family: "Montserrat", Sans-serif;
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 800;
	line-height: 1.2;
	color: var(--decl-green);
	margin: 0 0 24px;
}
.wfa-decl-h3 {
	font-family: "Montserrat", Sans-serif;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--decl-ink);
	margin: 48px 0 20px;
}
.wfa-decl-divider {
	width: 120px;
	height: 3px;
	background: var(--decl-lime);
	margin: 0 auto 40px;
}

/* Buttons (same green as the site's Elementor buttons) */
.wfa-decl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wfa-decl-actions.wfa-decl-center { justify-content: center; margin-top: 56px; }
.wfa-decl-button,
.wfa-decl button.wfa-decl-button {
	display: inline-block;
	background: var(--decl-green);
	color: #fff;
	border: 2px solid var(--decl-green);
	font-family: "Montserrat", Sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	padding: 14px 28px;
	border-radius: 4px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.wfa-decl-button:hover, .wfa-decl-button:focus-visible,
.wfa-decl button.wfa-decl-button:hover, .wfa-decl button.wfa-decl-button:focus-visible {
	background: #7bad0f;
	border-color: #7bad0f;
	color: #fff;
}
.wfa-decl-button--ghost { background: transparent; color: var(--decl-green); }

/* Two-column layout */
.wfa-decl-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.wfa-decl-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 48px;
	max-width: 1000px;
	margin: 0 auto;
}

/* ---------- Screen 2 ---------- */
.wfa-decl-voices { background: #fff; }
.wfa-decl-voices .wfa-decl-split { align-items: stretch; }
.wfa-decl-photo { margin: 0; min-height: 420px; }
.wfa-decl-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 30% center;
	border-radius: 6px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4);
}
.wfa-decl-voices .wfa-decl-h2 { color: var(--decl-ink); }
.wfa-decl-callout {
	font-family: "Montserrat", Sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--decl-green);
	border-left: 4px solid var(--decl-lime);
	padding-left: 16px;
}

/* ---------- Screen 3 ---------- */
.wfa-decl-process { background: #f4f7ef; padding-bottom: 0; }
.wfa-decl-process .wfa-decl-h3 { text-align: center; }
.wfa-decl-orgs {
	list-style: none;
	padding: 0;
	margin: 0 auto 48px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 56px 48px;
}
/* Signatory-list style: no cards, centred name in accent colour + muted description */
.wfa-decl-orgs li {
	text-align: center;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.45;
	color: #6b7480;
}
.wfa-decl-orgs strong {
	display: block;
	font-family: "Geologica", Sans-serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--decl-green);
	margin-bottom: 8px;
}
.wfa-decl-banner { margin: 64px -24px 0; }
.wfa-decl-banner img { display: block; width: 100%; height: auto; }

/* ---------- Screen 4: infographic ---------- */
.wfa-decl-info {
	background: var(--decl-dark) url("../img/declaration-workshop.jpg") center / cover fixed;
	position: relative;
	color: #e6efe8;
}
.wfa-decl-info::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(6, 26, 14, .9);
}
.wfa-decl-info > .wfa-decl-inner { position: relative; }
.wfa-decl-info .wfa-decl-eyebrow { color: var(--decl-lime); }
.wfa-decl-info .wfa-decl-h2 { color: #fff; }
.wfa-decl-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: center;
	margin-bottom: 56px;
	font-size: 16px;
	line-height: 1.4;
}
.wfa-decl-stat {
	display: block;
	font-family: "Montserrat", Sans-serif;
	font-size: 72px;
	font-weight: 600;
	line-height: 1;
	color: var(--decl-lime);
	margin-bottom: 8px;
}
.wfa-decl-info-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.1fr 1.1fr;
	gap: 24px;
}
.wfa-decl-info-col {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(161, 226, 20, .25);
	border-radius: 6px;
	padding: 28px 24px;
}
.wfa-decl-info .wfa-decl-h3 {
	color: #fff;
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.wfa-decl-info .wfa-decl-h3 span {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 50%;
	background: var(--decl-green);
	font-size: 16px;
}
.wfa-decl-pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wfa-decl-pills li {
	background: rgba(0, 153, 51, .25);
	border-radius: 4px;
	padding: 12px 14px;
	font-size: 16px;
	line-height: 1.4;
}
.wfa-decl-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.wfa-decl-steps li {
	counter-increment: step;
	position: relative;
	padding: 0 0 14px 40px;
	margin-bottom: 14px;
	font-size: 16px;
	line-height: 1.45;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.wfa-decl-steps li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.wfa-decl-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	font-family: "Montserrat", Sans-serif;
	font-weight: 800;
	font-size: 18px;
	color: var(--decl-lime);
}

/* ---------- Screen 5: join + form ---------- */
.wfa-decl-join { background: #fff; }
.wfa-decl-join .wfa-decl-split { align-items: start; }
.wfa-decl-contact { font-size: 16px; border-top: 1px solid #e2e8e0; padding-top: 20px; margin-top: 28px; }
.wfa-decl-contact a { color: var(--decl-green); font-weight: 500; }
.wfa-decl-formcard {
	background: #f4f7ef;
	border-top: 4px solid var(--decl-green);
	border-radius: 6px;
	padding: 32px;
}
.wfa-decl-formcard .wfa-decl-h3 { margin-top: 0; }
.wfa-decl-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.wfa-decl-field { display: flex; flex-direction: column; gap: 6px; }
.wfa-decl-field--full { grid-column: 1 / -1; }
.wfa-decl-field label {
	font-family: "Montserrat", Sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--decl-ink);
}
.wfa-decl-form input[type="email"],
.wfa-decl-form input[type="text"],
.wfa-decl-form textarea {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--decl-ink);
	background: #fff;
	border: 1px solid #c9d3c4;
	border-radius: 4px;
	padding: 10px 12px;
}
.wfa-decl-form input:focus, .wfa-decl-form textarea:focus {
	outline: 2px solid var(--decl-green);
	outline-offset: 1px;
	border-color: var(--decl-green);
}
.wfa-decl-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.45;
	cursor: pointer;
}
.wfa-decl-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--decl-green); }
.wfa-decl-form .wfa-decl-button { grid-column: 1 / -1; justify-self: start; }
.wfa-decl-form-error { grid-column: 1 / -1; color: #b42318; font-size: 15px; margin: 0 !important; }
.wfa-decl-form-note { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: #5b6573; margin: 0 !important; }

/* Endorsement form: honeypot, captcha and status (contact-handler.php) */
.wfa-decl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wfa-decl-form input[type="number"] {
	width: 120px;
	font: inherit;
	font-size: 16px;
	color: var(--decl-ink);
	background: #fff;
	border: 1px solid #c9d3c4;
	border-radius: 4px;
	padding: 10px 12px;
}
.wfa-decl-field--captcha { grid-column: 1 / -1; }
.wfa-decl-form .wfa-decl-button[disabled] { opacity: .6; cursor: wait; }
.wfa-decl-form-status { grid-column: 1 / -1; font-size: 15px; line-height: 1.45; margin: 0 !important; min-height: 1.45em; color: var(--decl-ink); }
.wfa-decl-form-status.is-error { color: #b42318; }
.wfa-decl-form-status.is-success { color: var(--decl-green); font-weight: 600; }

/* ---------- Screen 6: video ---------- */
.wfa-decl-video-sec { background: var(--decl-dark); }
.wfa-decl-video-sec .wfa-decl-h2 { color: #fff; }
.wfa-decl-player { max-width: 1000px; margin: 0 auto; border-radius: 6px; }
.wfa-decl-player .wfa-lite-yt[data-yt-id=""] { cursor: default; }
.wfa-decl-player .wfa-lite-yt[data-yt-id=""]::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}
.wfa-decl-soon {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: "Montserrat", Sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	border: 2px solid var(--decl-lime);
	border-radius: 999px;
	padding: 10px 22px;
	white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.wfa-decl-split { gap: 40px; }
	.wfa-decl-info-grid { grid-template-columns: 1fr 1fr; }
	.wfa-decl-info-col:first-child { grid-column: 1 / -1; }
	.wfa-decl-info { background-attachment: scroll; }
}
@media (max-width: 767px) {
	.wfa-decl { padding: 64px 16px; font-size: 17px; }
	.wfa-decl-split, .wfa-decl-cols, .wfa-decl-info-grid { grid-template-columns: 1fr; gap: 32px; }
	.wfa-decl-cols { gap: 0; text-align: left; }
	.wfa-decl-join .wfa-decl-text { text-align: left; }
	.wfa-decl-photo { min-height: 0; }
	.wfa-decl-photo img { height: 380px; }
	.wfa-decl-banner { margin: 48px -16px 0; }
	.wfa-decl-stats { gap: 12px; font-size: 13px; }
	.wfa-decl-stat { font-size: 48px; }
	.wfa-decl-formcard { padding: 24px 18px; }
	.wfa-decl-form { grid-template-columns: 1fr; }
	.wfa-decl-actions .wfa-decl-button { width: 100%; text-align: center; }
	.wfa-decl-soon { font-size: 12px; padding: 8px 16px; }
}

/* Lite YouTube frame for Screen 6 (wfa-logo-strip.css is not loaded on this page) */
.wfa-decl-player.wfa-lite-yt-wrap { position: relative; width: 100%; padding-bottom: 56.25%; overflow: hidden; background: #000; }
.wfa-decl-player.wfa-lite-yt-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wfa-decl-player .wfa-lite-yt { position: absolute; inset: 0; background-size: cover; background-position: center; cursor: pointer; }
.wfa-decl ul.wfa-decl-pills, .wfa-decl ol.wfa-decl-steps { margin: 0; padding: 0; }
.wfa-decl ul.wfa-decl-orgs { margin: 0 auto 48px; padding: 0; }
@media (max-width: 1024px) { .wfa-decl ul.wfa-decl-orgs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .wfa-decl ul.wfa-decl-orgs { grid-template-columns: 1fr; gap: 32px; } }

/* Contributors list: flex so an incomplete last row stays centred */
.wfa-decl ul.wfa-decl-orgs { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 48px; margin-top: 48px; }
.wfa-decl ul.wfa-decl-orgs > li { flex: 0 1 calc((100% - 96px) / 3); }
.wfa-decl-process .wfa-decl-h3 { margin-top: 72px; }
@media (max-width: 1024px) { .wfa-decl ul.wfa-decl-orgs > li { flex-basis: calc((100% - 48px) / 2); } }
@media (max-width: 767px)  { .wfa-decl ul.wfa-decl-orgs { gap: 32px; } .wfa-decl ul.wfa-decl-orgs > li { flex-basis: 100%; } }

/* Screen 3 on dark background (user request 2026-11-05) */
.wfa-decl.wfa-decl-process { background: var(--decl-dark); color: #d5ddd7; }
.wfa-decl-process .wfa-decl-h2 { color: #fff; }
.wfa-decl-process .wfa-decl-h3 { color: #fff; }
.wfa-decl-process .wfa-decl-orgs strong { color: var(--decl-lime); }
.wfa-decl-process .wfa-decl-orgs li { color: #9fb0a5; }

/* Parallax frames (js/wfa-parallax.js): these figures clip their photo */
.wfa-decl-photo { overflow: hidden; border-radius: 6px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4); }
.wfa-decl-photo img { box-shadow: none; border-radius: 0; }
.wfa-decl-banner { overflow: hidden; }
