/* CEILS – site-wide additions: language switcher, Team grid, Publications. */

:root {
	--ceils-green: #016237;
	--ceils-green-dark: #014a29;
	--ceils-lime: #8cd50a;
	--ceils-ink: #1c2420;
	--ceils-muted: #5b6761;
	--ceils-line: #dfe7e2;
	--ceils-soft: #f3f7f4;
}

.ceils-lang .screen-reader-text,
.ceils-team .screen-reader-text,
.ceils-artikel-page .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Language switcher: one small control ("EN" or "ID") ---------- */

.elementor-widget-wrap:has(> .elementor-widget-shortcode .ceils-lang) {
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
}
.elementor-widget-wrap:has(> .elementor-widget-shortcode .ceils-lang) > .elementor-widget {
	width: auto !important;
	margin-block-end: 0 !important;
	margin-bottom: 0 !important;
}
.elementor-widget-shortcode:has(.ceils-lang) {
	margin-left: 12px !important;
	margin-right: 14px !important;
}
.ceils-lang { display: flex; align-items: center; }
.ceils-lang__link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--ceils-line, #dfe7e2);
	border-radius: 8px;
	background: #fff;
	color: var(--ceils-green) !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
	text-decoration: none !important;
	transition: border-color .15s, background-color .15s;
}
.ceils-lang__icon { flex: 0 0 auto; opacity: .8; }
.ceils-lang__link:hover {
	border-color: var(--ceils-green);
	background: #f3f8f4;
}
.ceils-lang__link:focus-visible {
	outline: 3px solid var(--ceils-lime);
	outline-offset: 2px;
}
/* Language entries never appear inside the menu (older versions added one). */
.ceils-lang-item { display: none !important; }

/* Fallback header (only when no Elementor header is available). */
.ceils-fallback-header .ceils-lang {
	margin-left: auto;
}

/* ---------- Team ---------- */

.ceils-team {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 20px 24px;
	color: var(--ceils-ink);
}
.ceils-team__section + .ceils-team__section {
	margin-top: 56px;
}
.ceils-team__heading {
	margin: 0 0 28px;
	color: var(--ceils-green);
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}
.ceils-team__heading::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 12px auto 0;
	border-radius: 2px;
	background: var(--ceils-lime);
}
.ceils-team__grid {
	display: grid;
	gap: 28px;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ceils-team__section--n1 .ceils-team__grid { grid-template-columns: minmax(0, 280px); }
.ceils-team__section--n2 .ceils-team__grid { grid-template-columns: repeat(2, minmax(0, 260px)); }
.ceils-team__section--n3 .ceils-team__grid { grid-template-columns: repeat(3, minmax(0, 260px)); }
.ceils-team__section--n4 .ceils-team__grid { grid-template-columns: repeat(4, minmax(0, 260px)); }

.ceils-team__card {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 40, 28, .10);
	text-align: center;
}
.ceils-team__photo {
	position: relative;
	aspect-ratio: 8 / 9;
	overflow: hidden;
	background: #fff;
}
.ceils-team__photo img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: 50% 50%;
}
.ceils-team__initials {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--ceils-green);
	font-size: 3rem;
	font-weight: 700;
}
.ceils-team__text {
	flex: 1;
	padding: 14px 14px 18px;
	border-top: 1px solid #eef2ef;
}
.ceils-team__name {
	margin: 0 0 4px;
	color: var(--ceils-green);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}
.ceils-team__role {
	margin: 0;
	color: #5f6b65;
	font-size: .95rem;
	font-weight: 400;
	line-height: 1.4;
}

/* Five people: one row on wide screens; 3 + 2 (centred) on laptops/tablets;
   2 + 2 + 1 on small tablets; one column on phones. */
.ceils-team__section--n5 .ceils-team__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.ceils-team__section--n5 .ceils-team__card {
	flex: 0 0 calc((100% - 4 * 24px) / 5);
	min-width: 0;
}
.ceils-team__section--n5 .ceils-team__role { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 1179px) {
	.ceils-team__section--n5 .ceils-team__card { flex-basis: calc((100% - 2 * 24px) / 3); max-width: 260px; }
}
@media (max-width: 720px) {
	.ceils-team__section--n5 .ceils-team__card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 1024px) {
	.ceils-team__section--n4 .ceils-team__grid {
		grid-template-columns: repeat(2, minmax(0, 260px));
	}
	.ceils-team__section--n3 .ceils-team__grid {
		grid-template-columns: repeat(3, minmax(0, 220px));
	}
}
@media (max-width: 720px) {
	.ceils-team__section--n3 .ceils-team__grid,
	.ceils-team__section--n4 .ceils-team__grid {
		grid-template-columns: repeat(2, minmax(0, 260px));
	}
}

/* Phones: one readable column, portrait beside the full name and role. */
@media (max-width: 600px) {
	.ceils-team {
		padding: 0 16px 16px;
	}
	.ceils-team__section + .ceils-team__section {
		margin-top: 40px;
	}
	.ceils-team__heading {
		margin-bottom: 20px;
	}
	.ceils-team__section .ceils-team__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
	.ceils-team__section--n5 .ceils-team__card { max-width: none; }
	.ceils-team__card {
		flex-direction: row;
		align-items: stretch;
		text-align: left;
	}
	.ceils-team__photo {
		flex: 0 0 112px;
		width: 112px;
		aspect-ratio: 8 / 9;
		align-self: center;
	}
	.ceils-team__text {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 12px 16px;
		border-top: 0;
		border-left: 1px solid #eef2ef;
	}
	.ceils-team__name {
		font-size: 1.05rem;
	}
	.ceils-team__role {
		font-size: .95rem;
	}
}

/* ---------- Shared buttons ---------- */

.ceils-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 18px;
	border: 2px solid var(--ceils-green);
	border-radius: 8px;
	background: var(--ceils-green);
	color: #fff !important;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
}
.ceils-btn:hover {
	border-color: var(--ceils-green-dark);
	background: var(--ceils-green-dark);
}
.ceils-btn--ghost {
	background: transparent;
	color: var(--ceils-green) !important;
}
.ceils-btn--ghost:hover {
	background: var(--ceils-soft);
	color: var(--ceils-green-dark) !important;
}
.ceils-artikel-page .ceils-btn,
.ceils-artikel-page button.ceils-btn {
	border: 2px solid var(--ceils-green);
	background-color: var(--ceils-green);
	color: #fff;
}
.ceils-artikel-page .ceils-btn:hover,
.ceils-artikel-page .ceils-btn:focus {
	border-color: var(--ceils-green-dark);
	background-color: var(--ceils-green-dark);
	color: #fff;
}
.ceils-artikel-page .ceils-btn--ghost {
	background-color: transparent;
	color: var(--ceils-green) !important;
}
.ceils-artikel-page .ceils-btn--ghost:hover,
.ceils-artikel-page .ceils-btn--ghost:focus {
	background-color: var(--ceils-soft);
	color: var(--ceils-green-dark) !important;
}
.ceils-pub-main a:not(.ceils-btn) {
	color: var(--ceils-green);
}
.ceils-btn:focus-visible {
	outline: 3px solid var(--ceils-lime);
	outline-offset: 2px;
}
.ceils-btn__meta {
	font-weight: 400;
	opacity: .85;
}

/* ---------- Publications ---------- */

.ceils-pub-main {
	width: 100%;
	min-width: 0;
	padding: 48px 0 24px;
}
.ceils-pub-head {
	max-width: 760px;
	margin-bottom: 28px;
}
.ceils-pub-kicker {
	margin: 0 0 6px;
	color: var(--ceils-green);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.ceils-pub-lead {
	margin: 10px 0 0;
	color: var(--ceils-muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

.ceils-pub-filters {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto;
	gap: 14px;
	align-items: end;
	margin: 0 0 28px;
	padding: 18px;
	border: 1px solid var(--ceils-line);
	border-radius: 12px;
	background: var(--ceils-soft);
}
.ceils-pub-filters__field label {
	display: block;
	margin-bottom: 6px;
	color: var(--ceils-ink);
	font-size: .85rem;
	font-weight: 600;
}
.ceils-pub-filters input,
.ceils-pub-filters select {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #c5d2cb;
	border-radius: 8px;
	background: #fff;
	color: var(--ceils-ink);
	font-size: 1rem;
}
.ceils-pub-filters input:focus,
.ceils-pub-filters select:focus {
	border-color: var(--ceils-green);
	outline: 2px solid rgba(1, 98, 55, .25);
}
.ceils-pub-filters__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
@media (max-width: 960px) {
	.ceils-pub-filters {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.ceils-pub-filters__field--q,
	.ceils-pub-filters__actions {
		grid-column: 1 / -1;
	}
}
@media (max-width: 600px) {
	.ceils-pub-main {
		padding-top: 28px;
	}
	.ceils-pub-filters {
		grid-template-columns: minmax(0, 1fr);
		padding: 14px;
	}
	.ceils-pub-filters__actions .ceils-btn {
		flex: 1;
	}
}

.ceils-pub-count {
	margin: 0 0 14px;
	color: var(--ceils-muted);
	font-size: .9rem;
}
.ceils-pub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.ceils-pub-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ceils-line);
	border-radius: 12px;
	background: #fff;
}
.ceils-pub-card__cover {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--ceils-soft);
}
.ceils-pub-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
}
.ceils-pub-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--ceils-green), #0b7d4a);
}
.ceils-pub-card__placeholder span {
	padding: 10px 16px;
	border: 2px solid rgba(255, 255, 255, .8);
	border-radius: 6px;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: .12em;
}
.ceils-pub-card__placeholder--lg {
	aspect-ratio: 3 / 4;
}
.ceils-pub-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px 18px 18px;
}
.ceils-pub-badge {
	display: inline-block;
	width: fit-content;
	align-self: flex-start;
	margin: 0 0 8px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #eaf6d6;
	color: #2f5a00;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.ceils-pub-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 8px;
}
.ceils-pub-badges .ceils-pub-badge {
	margin: 0;
}
.ceils-pub-badge--demo {
	background: #fff1d6;
	color: #7a4b00;
	border: 1px solid #f0c36b;
}
.ceils-pub-demo-note {
	margin: 0 0 14px;
	padding: 10px 14px;
	border-left: 4px solid #f0c36b;
	background: #fff8ea;
	color: #5a3a00;
	font-size: .95rem;
}
.ceils-page-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0;
}
.ceils-page-note {
	color: #5f6b65;
	font-size: .9rem;
}
.ceils-pub-card__title {
	margin: 0 0 8px;
	font-size: 1.12rem;
	line-height: 1.35;
}
.ceils-pub-card__title a {
	color: var(--ceils-ink);
	text-decoration: none;
}
.ceils-pub-card__title a:hover {
	color: var(--ceils-green);
	text-decoration: underline;
}
.ceils-pub-card__meta {
	margin: 0 0 10px;
	color: var(--ceils-muted);
	font-size: .85rem;
	line-height: 1.5;
}
.ceils-pub-lang {
	font-weight: 600;
}
.ceils-pub-card__summary {
	margin: 0 0 14px;
	color: #34403a;
	font-size: .95rem;
	line-height: 1.55;
}
.ceils-pub-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: auto 0 0;
}

.ceils-pub-empty {
	max-width: 640px;
	margin: 12px auto 40px;
	padding: 44px 24px;
	border: 2px dashed #c5d6cc;
	border-radius: 14px;
	text-align: center;
}
.ceils-pub-empty__icon {
	width: 56px;
	height: 56px;
	color: var(--ceils-green);
}
.ceils-pub-empty h2 {
	margin: 12px 0 8px;
	font-size: 1.35rem;
}
.ceils-pub-empty p {
	color: var(--ceils-muted);
	line-height: 1.6;
}
.ceils-pub-admin-hint a {
	font-size: .9rem;
}

.ceils-pub-detail {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	margin: 20px 0 32px;
}
.ceils-pub-detail__cover img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--ceils-line);
	border-radius: 10px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}
.ceils-pub-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 22px 0;
	padding: 18px;
	border-radius: 10px;
	background: var(--ceils-soft);
}
.ceils-pub-facts div {
	margin: 0;
}
.ceils-pub-facts dt {
	color: var(--ceils-muted);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.ceils-pub-facts dd {
	margin: 2px 0 0;
	color: var(--ceils-ink);
	font-weight: 600;
}
.ceils-pub-nofile {
	color: var(--ceils-muted);
	font-style: italic;
}
@media (max-width: 760px) {
	.ceils-pub-detail {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
	.ceils-pub-detail__cover {
		max-width: 200px;
	}
	.ceils-pub-facts {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* English copies: longer words must not push Elementor columns wider than a phone screen. */
@media (max-width: 767px) {
	html[lang^="en"] .elementor-column > .elementor-widget-wrap,
	html[lang^="en"] .elementor-widget-wrap > .elementor-element,
	html[lang^="en"] .elementskit-infobox .box-body {
		min-width: 0;
		max-width: 100%;
	}
	html[lang^="en"] .elementskit-infobox .box-body {
		overflow-wrap: break-word;
		hyphens: auto;
	}
}

/* Icon-box buttons ("Selengkapnya"): the template's global button colour is
   missing from the kit, which made the text white on a white card. */
.elementor-widget-elementskit-icon-box .elementskit-infobox .elementskit-btn {
	color: #1f5f3a !important;
	border-bottom-color: #7cb518 !important;
	font-weight: 600;
}
.elementor-widget-elementskit-icon-box .elementskit-infobox .elementskit-btn svg {
	fill: currentColor !important;
}
.elementor-widget-elementskit-icon-box .elementskit-infobox:hover .elementskit-btn,
.elementor-widget-elementskit-icon-box .elementskit-infobox:focus-within .elementskit-btn {
	color: #fff !important;
	border-bottom-color: #fff !important;
}

/* Homepage "Relawan / Donasi / Kemitraan" column: its side margins pushed the
   page 9px wider than a 360px phone screen. */
@media (max-width: 767px) {
	.elementor-element-4e1ea745 > .elementor-widget-wrap {
		max-width: calc(100% - 32px);
	}
}

/* Phones and tablets (≤1024px, where the ☰ menu is shown): one responsive
   header row — logo on the left, ☰ at the far right, 16px from the screen
   edge. The × takes the same place when the menu is open. */
@media (max-width: 1024px) {
	.elementor-element-3c290b5c > .elementor-container {
		flex-wrap: nowrap !important;
		align-items: center;
		padding-right: 16px;
	}
	.elementor-element-3c290b5c > .elementor-container > .elementor-element-6b21c26c {
		order: 1;
		flex: 1 1 auto;
		width: auto !important;
		min-width: 0;
	}
	.elementor-element-3c290b5c > .elementor-container > .elementor-element-6188ac28 {
		order: 2;
		flex: 0 0 auto;
		width: auto !important;
	}
	.elementor-element-3c290b5c > .elementor-container > .elementor-element-774ba52d {
		order: 3;
		flex: 0 0 auto;
		width: auto !important;
		margin-left: 8px;
	}
	.elementor-element-774ba52d > .elementor-widget-wrap {
		padding: 0 !important;
		justify-content: flex-end;
	}
	.elementor-element-7c15229a {
		width: auto !important;
		margin: 0 !important;
	}
	.elementor-element-7c15229a .elementor-menu-toggle {
		box-sizing: border-box;
		width: 44px;
		height: 44px;
		min-width: 44px;
		margin: 0 !important;
		padding: 0 !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		font-size: 24px;
		border-radius: 8px;
	}
	.elementor-element-7c15229a .elementor-menu-toggle svg,
	.elementor-element-7c15229a .elementor-menu-toggle i {
		width: 24px;
		height: 24px;
		font-size: 24px;
	}
}
@media (max-width: 1024px) {
	/* Tablets: logo · Kontak · language switcher · ☰ — switcher next to the menu button. */
	.elementor-element-6188ac28 .elementor-widget-shortcode:has(.ceils-lang) {
		order: 2;
		margin: 0 0 0 12px !important;
	}
	.elementor-element-6188ac28 .elementor-element-3ba1373e { order: 1; }
}
@media (max-width: 767px) {
	/* Phones: logo · language switcher · ☰ (the Kontak button is hidden here). */
	.elementor-element-3c290b5c > .elementor-container > .elementor-element-6188ac28 > .elementor-widget-wrap {
		padding: 0 !important;
	}
	.elementor-element-6188ac28 .elementor-widget-shortcode:has(.ceils-lang) {
		margin: 0 !important;
	}
}

/* Tablet: icon boxes with the icon on the left were too narrow for their
   titles ("Law & Envir…"); stack the icon above the text instead. */
@media (min-width: 768px) and (max-width: 1024px) {
	.elementor-widget-elementskit-icon-box .elementskit-infobox.icon-lef-right-aligin {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.elementor-widget-elementskit-icon-box .elementskit-infobox.icon-lef-right-aligin .elementskit-box-header {
		width: auto;
		margin: 0 0 10px !important;
	}
	.elementor-widget-elementskit-icon-box .elementskit-infobox.icon-lef-right-aligin .box-body {
		width: 100%;
		min-width: 0;
	}
	.elementor-widget-elementskit-icon-box .elementskit-infobox .elementskit-info-box-title {
		overflow-wrap: anywhere;
		hyphens: auto;
	}
}

/* ==========================================================================
   Homepage hero + three cards ([ceils_hero])
   ========================================================================== */
.elementor-widget-shortcode:has(.ceils-hero-wrap) .elementor-shortcode { line-height: normal; }
.ceils-hero-wrap {
	--ceils-hero-shade: 6, 40, 24;
	position: relative;
	margin: 0 0 56px;
	font-family: inherit;
}
.ceils-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 80vh, 760px);
	padding: 72px 0 152px;
	overflow: hidden;
	color: #fff;
	background: #0b3a24;
	isolation: isolate;
}
.ceils-hero__media,
.ceils-hero__shade {
	position: absolute;
	inset: 0;
}
.ceils-hero__media { z-index: -2; }
.ceils-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--ceils-focus, 50% 50%);
}
.ceils-hero__shade {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(var(--ceils-hero-shade), .88) 0%, rgba(var(--ceils-hero-shade), .66) 34%, rgba(var(--ceils-hero-shade), .22) 64%, rgba(var(--ceils-hero-shade), 0) 82%),
		linear-gradient(0deg, rgba(var(--ceils-hero-shade), .55) 0%, rgba(var(--ceils-hero-shade), 0) 32%);
}
.ceils-hero__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1188px;
	margin: 0 auto;
	padding: 0 24px;
}
.ceils-hero__title {
	max-width: 15em;
	margin: 0 0 20px;
	color: #fff !important;
	font-size: clamp(2.1rem, 4.1vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.01em;
	text-wrap: balance;
	text-shadow: 0 1px 18px rgba(0, 0, 0, .25);
}
.ceils-hero__text {
	max-width: 34em;
	margin: 0 0 30px;
	color: rgba(255, 255, 255, .93);
	font-size: clamp(1rem, 1.25vw, 1.18rem);
	line-height: 1.65;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .25);
}
.ceils-hero__actions { margin: 0; }
.ceils-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 8px;
	background: var(--ceils-lime, #7cb518);
	color: #0b2e1c !important;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
	transition: background-color .15s, transform .15s;
}
.ceils-hero__btn:hover { background: #8fcb22; transform: translateY(-1px); }
.ceils-hero__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ceils-hero__credit {
	position: absolute;
	right: 12px;
	bottom: 10px;
	z-index: 1;
	margin: 0;
	padding: 3px 8px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .38);
	color: rgba(255, 255, 255, .85);
	font-size: 11px;
	line-height: 1.4;
}
.ceils-hero__credit a { color: inherit !important; text-decoration: underline; }

.ceils-hero-cards {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1188px;
	margin: -104px auto 0;
	padding: 0 24px;
}
.ceils-hero-card {
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	gap: 10px;
	padding: 28px 26px 22px;
	border-radius: 14px;
	background: #fff;
	color: var(--ceils-text, #24302a) !important;
	text-decoration: none !important;
	box-shadow: 0 12px 32px rgba(11, 46, 28, .14), 0 1px 3px rgba(11, 46, 28, .08);
	transition: transform .18s, box-shadow .18s;
}
.ceils-hero-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 46, 28, .2), 0 1px 3px rgba(11, 46, 28, .08); }
.ceils-hero-card:focus-visible { outline: 3px solid var(--ceils-lime, #7cb518); outline-offset: 3px; }
.ceils-hero-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 6px;
	border-radius: 12px;
	background: #e8f3ea;
	color: var(--ceils-green, #1f5f3a);
}
.ceils-hero-card__title {
	color: var(--ceils-green, #1f5f3a);
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.3;
}
.ceils-hero-card__text {
	color: #4d5a53;
	font-size: .98rem;
	line-height: 1.6;
}
.ceils-hero-card__more {
	justify-self: start;
	margin-top: 6px;
	color: var(--ceils-green, #1f5f3a);
	font-size: 1.25rem;
	font-weight: 700;
	transition: transform .18s;
}
.ceils-hero-card:hover .ceils-hero-card__more { transform: translateX(4px); }

/* Tablets: cards stack under the photo instead of covering it. */
@media (max-width: 960px) {
	.ceils-hero { min-height: clamp(520px, 62vh, 640px); padding-bottom: 72px; }
	.ceils-hero-cards {
		grid-template-columns: 1fr;
		gap: 16px;
		max-width: 720px;
		margin-top: 28px;
	}
	.ceils-hero-card {
		grid-template-columns: 52px minmax(0, 1fr);
		grid-template-rows: auto auto;
		column-gap: 18px;
		row-gap: 4px;
		align-items: start;
		padding: 22px 22px 20px;
	}
	.ceils-hero-card__badge { grid-row: 1 / span 2; margin: 0; }
	.ceils-hero-card__more { display: none; }
}

/* Phones: text sits on a dark-green fade at the bottom of the photo, so the
   upper part of the picture stays visible and the button is on screen. */
@media (max-width: 767px) {
	.ceils-hero {
		align-items: flex-end;
		min-height: min(calc(100svh - 76px), 640px);
		padding: 120px 0 44px;
	}
	.ceils-hero__img { object-position: var(--ceils-focus-m, var(--ceils-focus, 50% 50%)); }
	.ceils-hero__shade {
		background: linear-gradient(180deg, rgba(var(--ceils-hero-shade), .05) 0%, rgba(var(--ceils-hero-shade), .3) 30%, rgba(var(--ceils-hero-shade), .86) 62%, rgba(var(--ceils-hero-shade), .95) 100%);
	}
	.ceils-hero__inner { padding: 0 20px; }
	.ceils-hero__title { font-size: clamp(1.7rem, 7.4vw, 2.2rem); margin-bottom: 14px; }
	.ceils-hero__text { font-size: 1rem; line-height: 1.6; margin-bottom: 22px; }
	.ceils-hero__btn { width: 100%; justify-content: center; min-height: 52px; }
	.ceils-hero__credit { top: 10px; bottom: auto; right: 10px; }
	.ceils-hero-wrap { margin-bottom: 40px; }
	.ceils-hero-cards { padding: 0 16px; margin-top: 20px; }
	.ceils-hero-card__title { font-size: 1.1rem; }
	.ceils-hero-card__text { font-size: .95rem; }
}

/* ==========================================================================
   Visi & Misi (About page, section .ceils-vm)
   ========================================================================== */
.ceils-vm {
	padding: 72px 0 80px;
	background: #fff;
	scroll-margin-top: 16px;
}
.ceils-vm > .elementor-container { flex-wrap: wrap; }
.ceils-vm .ceils-vm__head { width: 100% !important; }
.ceils-vm .ceils-vm__head > .elementor-widget-wrap,
.ceils-vm .ceils-vm__vision-col > .elementor-widget-wrap,
.ceils-vm .ceils-vm__mission-col > .elementor-widget-wrap {
	padding: 0 20px !important;
	align-content: flex-start;
}
.ceils-vm .ceils-vm__head > .elementor-widget-wrap { padding-bottom: 36px !important; }
.ceils-vm .elementor-widget:not(:last-child) { margin-bottom: 12px; }
.ceils-vm__label .elementor-heading-title {
	margin: 0;
	color: var(--ceils-lime, #7cb518) !important;
	font-size: .85rem !important;
	font-weight: 700 !important;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.ceils-vm__title .elementor-heading-title {
	max-width: 22em;
	margin: 0;
	color: var(--ceils-green) !important;
	font-size: clamp(1.6rem, 3vw, 2.3rem) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
}
.ceils-vm__intro { max-width: 40em; color: #4d5a53; font-size: 1.05rem; line-height: 1.65; }
.ceils-vm__intro p { margin: 0; }
.ceils-vm__sub .elementor-heading-title {
	margin: 0;
	color: var(--ceils-green) !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.ceils-vm__sub .elementor-heading-title::after {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin-top: 10px;
	border-radius: 2px;
	background: var(--ceils-lime, #7cb518);
}
/* Vision: one prominent statement, comfortable reading width. */
.ceils-vm__vision {
	max-width: 26em;
	padding: 6px 0 6px 22px;
	border-left: 4px solid var(--ceils-green);
	color: var(--ceils-green);
	font-size: clamp(1.2rem, 1.9vw, 1.45rem);
	font-weight: 600;
	line-height: 1.5;
}
.ceils-vm__vision p,
.ceils-vm__vision .elementor-widget-container {
	margin: 0;
	color: var(--ceils-green) !important;
	font-size: inherit !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
}
.ceils-vm__vision p { margin: 0; }
/* Mission: a clean, ordered list. */
.ceils-vm__mission ol.ceils-vm__list {
	counter-reset: ceils-vm;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ceils-vm__list li {
	position: relative;
	counter-increment: ceils-vm;
	margin: 0;
	padding: 0 0 22px 56px;
	color: #3f4b45;
	font-size: 1.02rem;
	line-height: 1.65;
}
.ceils-vm__list li + li { padding-top: 22px; border-top: 1px solid #e6ede8; }
.ceils-vm__list li::before {
	content: counter(ceils-vm);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e8f3ea;
	color: var(--ceils-green);
	font-weight: 700;
	font-size: .95rem;
}
.ceils-vm__list li + li::before { top: 22px; }
.ceils-vm__list li:last-child { padding-bottom: 0; }
.ceils-vm__list strong {
	display: block;
	margin-bottom: 4px;
	color: var(--ceils-green);
	font-size: 1.08rem;
	font-weight: 700;
}
@media (min-width: 1025px) {
	.ceils-vm .ceils-vm__vision-col { width: 38% !important; }
	.ceils-vm .ceils-vm__mission-col { width: 62% !important; }
	.ceils-vm .ceils-vm__mission-col > .elementor-widget-wrap { padding-left: 40px !important; }
}
/* Tablets and phones: Visi above Misi. */
@media (max-width: 1024px) {
	.ceils-vm { padding: 56px 0 64px; }
	.ceils-vm .ceils-vm__vision-col,
	.ceils-vm .ceils-vm__mission-col { width: 100% !important; }
	.ceils-vm .ceils-vm__vision-col > .elementor-widget-wrap { padding-bottom: 40px !important; }
	.ceils-vm__vision { max-width: 32em; }
}
@media (max-width: 600px) {
	.ceils-vm { padding: 44px 0 52px; }
	.ceils-vm .ceils-vm__head > .elementor-widget-wrap,
	.ceils-vm .ceils-vm__vision-col > .elementor-widget-wrap,
	.ceils-vm .ceils-vm__mission-col > .elementor-widget-wrap { padding-left: 16px !important; padding-right: 16px !important; }
	.ceils-vm__list li { padding-left: 48px; font-size: 1rem; }
	.ceils-vm__list li::before { width: 32px; height: 32px; }
}
