/* Shabak Language – rebuilt from the Elementor design (see _migration/design-spec.md) */

:root {
	--primary: #589932;
	--secondary: #77AFD9;
	--green: #549C2D;
	--red: #EF5858;
	--orange: #F47A3B;
	--blue: #66B6F0;
	--navy: #25283E;
	--gray: #9CA3AF;
	--gray-dark: #6B7280;
	--cream: #FEF6E6;
	--ink: #111827;
	--yellow: #FEC20B;
	--video-bg: #F6F1E4;

	--font-shabak: 'Shabak', 'Roboto', sans-serif;
	--font-roboto: 'Roboto', sans-serif;
	--font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';

	--container: 1140px;
	--gap: 20px;
}

@media (max-width: 1024px) { :root { --container: 1024px; } }
@media (max-width: 767px) { :root { --container: 767px; } }

/* ---------- Reset (Hello theme) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; line-height: 1.15; }
body {
	margin: 0;
	background: #fff;
	color: #333;
	font-family: var(--font-system);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin-block: .5rem 1rem; font-weight: 500; line-height: 1.2; }
p { margin-block: 0 .9rem; }
a { color: #c36; text-decoration: none; background-color: transparent; }
a:hover { color: #336; }
img { max-width: 100%; height: auto; border-style: none; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
ul { margin: 0; padding: 0; }
iframe { max-width: 100%; border: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 1000; background: #fff; padding: 8px 16px; }
.skip-link:focus { inset-inline-start: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding: 10px; }
.container-wide { width: 100%; margin-inline: auto; padding: 10px; }
.section { position: relative; }
.bg-cover { background-size: cover; background-position: center; background-repeat: no-repeat; }
.overlay { position: relative; isolation: isolate; }
.overlay::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--overlay-color, #000); opacity: var(--overlay-opacity, .5); }
.row { display: flex; gap: var(--gap); }
.col-50 { flex: 0 0 calc(50% - var(--gap) / 2); max-width: calc(50% - var(--gap) / 2); }
.center { text-align: center; }

@media (max-width: 767px) {
	.row { flex-wrap: wrap; }
	.col-50 { flex-basis: 100%; max-width: 100%; }
}

/* ---------- Typography (Elementor kit) ---------- */
.h-primary {                       /* global "primary": default heading */
	font-family: var(--font-shabak);
	font-size: 54px;
	font-weight: 800;
	line-height: 40px;
	color: var(--primary);
	margin: 0 0 20px;
}
.h-two-color {                     /* Roboto 54/60, accent word orange */
	font-family: var(--font-roboto);
	font-size: 54px;
	font-weight: 800;
	line-height: 60px;
	color: #000;
	margin: 0 0 50px;
}
.h-two-color span, .accent { color: var(--orange); }
.h-page {                          /* page title H1 on heroes */
	font-family: var(--font-roboto);
	font-size: 48px;
	font-weight: 800;
	line-height: 40px;
	color: #fff;
	text-align: center;
	margin: 0 0 20px;
}
.text {                            /* global "text": text-editor */
	font-family: var(--font-shabak);
	font-size: 25px;
	font-weight: 400;
	line-height: 28px;
	color: #000;
	margin: 0 0 20px;
}
.text p { margin: 0 0 14.4px; }
.text p:last-child { margin-bottom: 0; }
.c-white { color: #fff !important; }
.c-ink { color: var(--ink) !important; }
.c-green { color: var(--primary) !important; }

/* ---------- Buttons ---------- */
.btn-stitch-wrap { display: flex; justify-content: center; align-items: center; padding: 5px; border-radius: 50px; }
.btn-stitch {
	display: inline-block;
	background: var(--green);
	color: #fff;
	font: 800 18px/24px var(--font-roboto);
	border: 2px dashed currentColor;
	border-radius: 50px;
	padding: 16px 8px;
	text-align: center;
	transition: all .3s;
	width: 100%;
}
.btn-stitch:hover, .btn-stitch:focus { background: #fff; color: var(--primary); border-color: var(--green); }
.btn-stitch.is-thick { border-width: 4px; padding: 10px 30px; }
.btn-stitch.is-wide { padding: 15px 20px; }

.btn-header {
	display: inline-block;
	background: var(--green);
	color: #fff;
	font: 500 30px/24px var(--font-shabak);
	border: 4px dashed var(--green);
	border-radius: 50px;
	padding: 10px 20px;
	transition: all .3s;
	white-space: nowrap;
}
.btn-header:hover, .btn-header:focus { background: #fff; color: var(--green); }

.btn-pill {
	display: block;
	width: 100%;
	font: 500 18px/1 var(--font-roboto);
	border: 3px solid #fff;
	border-radius: 50px;
	padding: 20px 60px;
	text-align: center;
	transition: all .3s;
}
.btn-pill.is-filled { background: #fff; color: var(--primary); }
.btn-pill.is-ghost { background: transparent; color: #fff; }
.btn-pill:hover { opacity: .9; }

.btn-link {
	display: inline-block;
	color: #fff;
	font-family: var(--font-system);
	font-size: 16px;
	line-height: 1;
	padding: 15px 60px;
	border-radius: 8px;
	text-align: center;
	transition: opacity .3s;
}
.btn-link:hover { color: #fff; opacity: .85; }
.btn-link.is-blue { background: var(--blue); }
.btn-link.is-orange { background: var(--orange); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 99;
	min-height: 120px;
	margin-bottom: -40px;
	background: url('../img/header-bg.png') center / cover no-repeat;
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 120px; padding: 10px 40px; }
.site-header__logo { flex: 0 0 auto; display: flex; justify-content: center; }
.site-header__logo img { width: 215px; height: 50px; }
.site-header__nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.site-header__cta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; }

.nav-menu { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	position: relative;
	padding: 13px 20px;
	font: 500 16px/24px var(--font-roboto);
	color: var(--navy);
	transition: color .3s;
}
.nav-menu > li > a::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: var(--navy);
	opacity: 0;
	transition: opacity .3s;
}
.nav-menu > li > a:hover, .nav-menu > li > a:focus, .nav-menu > li.is-active > a { color: var(--primary); }
.nav-menu > li > a:hover::after, .nav-menu > li > a:focus::after { opacity: 1; }
.nav-menu > li.is-active > a::after { opacity: 1; background: var(--primary); }

/* Keep the menu on one line down to the burger breakpoint */
@media (max-width: 1400px) {
	.site-header__inner { padding-inline: 20px; }
	.nav-menu > li > a { padding-inline: 12px; }
}
@media (max-width: 1200px) {
	.site-header__logo img { width: 172px; height: 40px; }
	.nav-menu > li > a { padding-inline: 8px; font-size: 15px; }
	.btn-header { font-size: 26px; padding: 8px 16px; }
}

.lang-switch { position: relative; }
.lang-switch__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 2px 8px;
	border: 0;
	border-radius: 4px;
	background: none;
	font: 500 14px/20px var(--font-roboto);
	color: var(--navy);
	cursor: pointer;
}
.lang-switch__toggle:hover, .lang-switch__toggle:focus-visible, .lang-switch.is-open .lang-switch__toggle { color: var(--primary); }
.lang-switch img { width: 18px; height: 12px; }
.lang-switch .caret { width: 1em; height: 1em; fill: currentColor; transition: transform .2s; }
.lang-switch.is-open .caret { transform: rotate(180deg); }
.lang-switch__menu {
	position: absolute;
	top: 100%;
	inset-inline-end: 0;
	z-index: 10;
	min-width: 12em;
	background: #fff;
	list-style: none;
	display: none;
	box-shadow: 0 5px 10px rgba(0, 0, 0, .08);
}
.lang-switch:hover .lang-switch__menu, .lang-switch.is-open .lang-switch__menu { display: block; }
.lang-switch__menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 13px 20px;
	font: 500 30px/20px var(--font-shabak);
	color: #33373D;
	white-space: nowrap;
}
.lang-switch__menu a:hover { background: #3F444B; color: #fff; }

.nav-toggle {
	display: none;
	margin: 0 auto;
	padding: .25em;
	border: 0;
	border-radius: 3px;
	background: rgba(0, 0, 0, .05);
	color: #33373D;
	cursor: pointer;
	line-height: 0;
}
.nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1024px) {
	.site-header__nav { position: static; }
	.nav-toggle { display: block; }
	.site-header__nav .nav-menu {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		flex-direction: column;
		flex-wrap: nowrap;
		background: #fff;
		transform: scaleY(0);
		transform-origin: top;
		transition: transform .3s;
		box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
	}
	.nav-open .site-header__nav .nav-menu { transform: scaleY(1); }
	.site-header__nav .nav-menu > li > a { color: #33373D; border-inline-start: 8px solid transparent; }
	.site-header__nav .nav-menu > li > a:hover { background: #3F444B; color: #fff; }
	.site-header__nav .nav-menu > li > a::after { display: none; }
	.btn-header { white-space: normal; text-align: center; }
}
@media (max-width: 767px) {
	.site-header__inner { flex-wrap: wrap; }
	.site-header__logo, .site-header__nav, .site-header__cta { flex-basis: 100%; }
	.site-header__inner { padding: 10px; }
	.site-header__cta .btn-header { width: 100%; text-align: center; }
}

/* ---------- Footer ---------- */
.footer-cta {
	position: relative;
	z-index: 1;
	min-height: 372px;
	margin-bottom: -50px;
	padding: 60px 0 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: url('../img/footer-cta-bg.png') center / cover no-repeat;
}
.footer-cta .h-primary { color: #fff; }
.footer-cta .text { color: #fff; }
.footer-cta__buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-flow: column;
	gap: 10px;
	justify-items: center;
	align-items: center;
	width: 100%;
	max-width: 1140px;
	padding: 10px;
}
.footer-cta__buttons > div { width: 100%; border-radius: 50px; }
.footer-cta__buttons > div:first-child { display: flex; justify-content: flex-end; }
.footer-cta__buttons > div:last-child { padding: 10px; }
@media (max-width: 1024px) { .footer-cta__buttons { grid-auto-flow: row; } }
@media (max-width: 767px) { .footer-cta__buttons { grid-template-columns: 1fr; } }

.site-footer {
	min-height: 300px;
	padding-top: 60px;
	background: url('../img/footer-bg.png') center / cover no-repeat;
}
.site-footer__inner { max-width: min(100%, 1544px); margin-inline: auto; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.site-footer__cols > div { padding: 10px; }
.site-footer__cols .text { color: var(--gray); }
.footer-title { font: 800 26px/40px var(--font-roboto); color: #fff; margin: 0 0 20px; }
.footer-list { list-style: none; }
.footer-list li { display: flex; align-items: center; gap: 5px; margin-bottom: 0; }
.footer-list a, .footer-list span { font: 400 25px/28px var(--font-shabak); color: var(--gray); }
.footer-list a:hover { color: #fff; }
.footer-list i { font-size: 14px; color: var(--gray); width: 1.25em; text-align: center; }
.footer-list.is-contact li { gap: 7px; margin-bottom: 12px; }
.footer-list.is-contact i { font-size: 21px; color: #78B1DA; position: relative; top: -5px; }
.social-icons { display: flex; gap: 5px; justify-content: flex-end; }
[dir=ltr] .social-icons { justify-content: flex-start; }
.social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #22364D;
	color: #78B1DA;
	font-size: 16px;
}
.site-footer__divider { border-top: 1px solid var(--gray); margin: 2px 10px; }
.site-footer__bottom { display: flex; align-items: center; padding: 10px 0; }
.site-footer__bottom > :first-child { flex: 0 0 62.279%; padding: 10px; }
.site-footer__bottom > :last-child { flex: 0 0 37.591%; padding: 10px; }
.copyright { color: #fff; font: 16px/24px var(--font-system); }
.copyright a { color: #c36; }
.copyright .namimi { color: #3183d7; }
.copyright .net { color: #cd0000; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; font: 400 14px/28px var(--font-roboto); color: var(--gray); }
@media (max-width: 767px) {
	.site-footer__cols { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-wrap: wrap; }
	.site-footer__bottom > * { flex-basis: 100% !important; }
}

/* ---------- Shared: heroes & filter bar ---------- */
.hero {
	padding: 100px 0 60px;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.hero__inner { max-width: min(100%, 1295px); margin-inline: auto; padding: 10px; }
.hero .h-primary, .hero .text { color: #fff; }
.hero.is-overlay { padding: 70px 0; --overlay-color: var(--blue); --overlay-opacity: .5; }

.filter-bar { background: var(--cream); padding: 60px 0 30px; }
.filter-bar form { max-width: min(100%, 1456px); margin-inline: auto; display: flex; gap: 20px; padding: 10px; align-items: center; }
.filter-bar__search { flex: 0 0 42%; position: relative; }
.filter-bar__search input {
	width: 100%;
	height: 46px;
	padding: 5px 15px;
	padding-inline-end: 45px;
	font: 400 25px/28px var(--font-shabak);
	border: 1px solid #ddd;
	border-radius: 16px;
	background: #fff;
}
.filter-bar__search button {
	position: absolute;
	inset-inline-end: 5px;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: none;
	font-size: 15px;
	color: var(--navy);
	cursor: pointer;
	padding: 10px;
}
.filter-bar__select { flex: 1; }
.filter-bar__select select {
	max-width: 25%;
	min-width: 204px;
	height: 46px;
	padding: 5px 15px;
	font: 400 25px/28px var(--font-shabak);
	border: 1px solid #ddd;
	border-radius: 16px;
	background: #fff;
}
@media (max-width: 767px) {
	.filter-bar form { flex-wrap: wrap; }
	.filter-bar__search { flex-basis: 100%; }
	.filter-bar__select select { max-width: 100%; width: 100%; }
}

.listing-section { background: var(--cream); padding: 30px 0 60px; }
.listing-section.is-stories { padding: 60px 0; }
.listing-section > .container-wide { max-width: min(100%, 1504px); }
.grid { display: grid; gap: 30px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .grid { grid-template-columns: 1fr; } }
.not-found { text-align: center; font-family: var(--font-system); font-size: 16px; color: #333; padding: 20px 0; }

.load-more { text-align: center; margin-top: 40px; }
.load-more .pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; }
.load-more .pager .MarkupPagerNavOn a { background: var(--green); }
.load-more a { display: inline-block; background: var(--secondary); color: #fff; padding: 12px 40px; border-radius: 8px; font-family: var(--font-system); }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card.is-shadow { box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .5); }
.card.is-stitched { border: 2px dashed #25283E66; box-shadow: 4px 4px 3px 0 var(--navy); }
.card__image { display: block; }
.card__image img { width: 100%; height: 228px; object-fit: cover; border-radius: 16px 16px 0 0; display: block; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.card__title { margin: 0; font: 700 20px/1.2 var(--font-system); color: var(--ink); }
.card__title a { color: inherit; }
.card.is-stitched .card__title { font: 800 25px/1.2 var(--font-shabak); }
.card__excerpt { font: 400 16px/1.5 var(--font-system); color: #333; margin: 0; }
.card.is-stitched .card__excerpt { font: 400 20px/1.4 var(--font-shabak); color: #5B5A7B; }
.card__footer { margin-top: auto; }
.card__footer .btn-link { width: 100%; }

.village-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.village-facts small { display: block; font: 400 14px/13px var(--font-roboto); color: var(--gray-dark); margin-bottom: 4px; }
.village-facts .pop { color: var(--green); }
.village-facts .est { color: var(--blue); }
.card.is-village .card__body { gap: 1px; }
.card.is-village .card__excerpt { margin: 20px 0 40px; }

.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.embed.is-audio { aspect-ratio: auto; height: 232px; }
.embed.is-audio iframe { position: static; height: 232px; border-radius: 12px; }

.village-chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 25px/28px var(--font-shabak); color: var(--navy); }
.village-chip { display: inline-block; background: var(--cream); border-radius: 10px; padding: 4px 10px; font-family: var(--font-system); font-size: 16px; }
.village-chip a { color: var(--navy); text-decoration: underline; }

.term-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.term-chips li { background: var(--cream); color: var(--orange); font-size: 12px; border-radius: 24px; padding: 10px 15px; font-family: var(--font-system); }

.card.is-audio { border: 1px dashed var(--gray-dark); border-radius: 25px; box-shadow: 3px 3px 1px 0 #27B5D8; padding: 10px; overflow: visible; }
.card.is-audio .card__body { padding: 10px 0; }

/* ---------- Home ---------- */
.home-slider { position: relative; overflow: hidden; }
.slider { position: relative; width: min(100%, 1920px); margin-inline: auto; aspect-ratio: 1920 / 780; }
.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s cubic-bezier(.45, 0, .55, 1), visibility 1s;
	background-size: cover;
	background-position: center;
	container-type: inline-size;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	gap: 4cqw;
	padding: 0 6.5cqw 0 2.6cqw;
}
[dir=ltr] .slide__inner { padding: 0 2.6cqw 0 6.5cqw; }
.slide__media { flex: 0 0 auto; display: flex; justify-content: center; }
.slide__media img { max-height: 33.8cqw; width: auto; }
.slide__media img.is-rounded { border-radius: .83cqw; max-height: 26cqw; }
.slide__media .embed { width: 42.6cqw; }
.slide__content { flex: 1; font-family: 'Noto Sans Arabic', var(--font-system); color: #fff; }
.slide__title { margin: 0 0 1.6cqw; font-size: 3.75cqw; line-height: 4.7cqw; font-weight: 700; }
.slide__text { margin: 0 0 2.6cqw; font-size: 1.45cqw; line-height: 2.34cqw; font-weight: 400; }
.slide__buttons { display: flex; flex-wrap: wrap; gap: 1.2cqw; }
.slide__buttons a {
	display: inline-flex;
	align-items: center;
	height: max(36px, 3.125cqw);
	padding: 0 20px;
	border-radius: 25px;
	font: 500 max(13px, 1.04cqw)/1 'Noto Sans Arabic', var(--font-system);
	color: #fff;
	border: 3px solid transparent;
	transition: all .2s;
}
.slide__buttons a.is-filled { background: var(--green); }
.slide__buttons a.is-ghost { border-color: #fff; }
.slide__buttons a:hover { background: #fff; color: var(--green); }
.slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .3s;
}
.slider__arrow:hover { background: #000; }
.slider__arrow.is-prev { left: 30px; }
.slider__arrow.is-next { right: 30px; }
.slider__bullets { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 5px; }
.slider__bullets button {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 3px solid #e5e5e5;
	border-radius: 50%;
	background: linear-gradient(to bottom, #999 0%, #e1e1e1 100%);
	cursor: pointer;
}
.slider__bullets button.is-active, .slider__bullets button:hover { background: #666; }
@media (max-width: 767px) {
	.slider { aspect-ratio: 390 / 482; }
	.slide__inner { flex-direction: column-reverse; justify-content: center; padding: 24px 16px 50px; gap: 16px; }
	.slide__media { width: 100%; }
	.slide__media img { max-height: 160px; }
	.slide__media .embed { width: 100%; max-width: 330px; margin-inline: auto; }
	.slide__title { font-size: 26px; line-height: 34px; }
	.slide__text { font-size: 14px; line-height: 21px; }
	.slide__buttons a { font-size: 13px; }
	.slider__arrow { display: none; }
}

.home-cards {
	position: relative;
	z-index: 1;
	margin: -30px 0 -35px;
	padding: 100px 0;
	text-align: center;
	background: url('../img/cards-bg.png') center / cover no-repeat;
}
.home-cards .h-primary { color: var(--ink); }
.culture-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	max-width: min(100%, 1500px);
	margin-inline: auto;
	padding: 0 10px;
}
.culture-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	border-radius: 20px;
	color: #fff;
}
.culture-card h4 { margin: 0 0 20px; font: 600 24px/28px var(--font-roboto); color: #fff; }
.culture-card hr { width: 22px; border: 0; border-top: 4px solid var(--yellow); border-radius: 5px; margin: 0 auto 20px; padding: 0; }
.culture-card p { margin: 0; font: 400 25px/28px var(--font-shabak); color: #fff; text-align: center; }
.culture-card.is-blue { background: var(--blue); }
.culture-card.is-red { background: var(--red); }
.culture-card.is-green { background: var(--green); }
.culture-card.is-orange { background: var(--orange); }
@media (max-width: 767px) { .culture-cards { grid-template-columns: 1fr; } }

.feature { padding: 70px 0 60px; }
.feature .row { align-items: center; justify-content: space-evenly; gap: 0; }
.feature__image { display: flex; justify-content: center; }
.feature__image img { width: 550px; }
.icon-boxes { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.icon-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; }
.icon-box__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(14px + 2 * .5em);
	height: calc(14px + 2 * .5em);
	padding: .5em;
	border-radius: 50%;
	background: var(--secondary);
	color: #fff;
	font-size: 14px;
}
.icon-box__title { margin: 0; font: 400 25px/28px var(--font-shabak); color: #000; }
.icon-box.is-inline { flex-direction: row; justify-content: center; }
.feature .btn-stitch-wrap { width: 34%; }
.feature.is-heritage { padding: 60px 0; }
.feature.is-heritage .btn-stitch-wrap { width: 45%; }
.feature.is-heritage .feature__image img { width: 550px; }
@media (max-width: 767px) { .feature .btn-stitch-wrap, .feature.is-heritage .btn-stitch-wrap { width: 100%; } }

.home-videos { padding: 60px 0; text-align: center; background: url('../img/home-videos-bg.png') center / cover no-repeat; }
.home-videos .h-two-color { color: #fff; line-height: 40px; margin-bottom: 20px; }
.home-videos .grid { --cols: 3; max-width: min(100%, 1480.79px); margin-inline: auto; gap: 58px 30px; padding: 10px; }
.video-feature {
	background: var(--video-bg);
	border-radius: 30px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-shadow: 12px 12px 0 0 #fff;
}
.video-feature h3 { margin: 0; font: 800 20px/1.2 var(--font-system); color: var(--navy); text-align: center; }
.video-feature .village-chip { background: #fff; }

.home-audio { padding: 60px 0; text-align: center; background: url('../img/home-audio-bg.png') center / cover no-repeat; }
.home-audio .grid { --cols: 2; max-width: min(100%, 1474.41px); margin-inline: auto; gap: 32px; padding: 10px; text-align: start; }

.home-dictionary {
	min-height: 500px;
	padding: 60px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	background: url('../img/home-dictionary-bg.png') center / cover no-repeat;
}
.home-dictionary .h-two-color { color: var(--ink); }
.home-dictionary .text { color: var(--ink); }
.home-dictionary .btn-stitch-wrap { width: 17%; min-width: 220px; }

.home-villages { padding: 60px 0; text-align: center; }
.home-villages .h-two-color { color: var(--ink); }
.home-villages__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 68px;
	max-width: min(100%, 1540px);
	margin-inline: auto;
	padding: 10px;
	text-align: start;
}
.village-map { height: 600px; border-radius: 8px; border: 1px solid #ddd; z-index: 0; }
.village-rows { display: flex; flex-direction: column; gap: 20px; }
.village-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 144px;
	padding: 10px 20px;
	background: #fff;
	border: 2px dotted #4040404A;
	border-radius: 24px;
	box-shadow: 3px 3px 0 0 var(--orange);
}
.village-row h3 { margin: 0 0 6px; font: 800 24px/1.2 var(--font-system); color: #333; }
.village-row p { margin: 0; font: 400 16px/1.5 var(--font-system); color: #333; }
.village-row i { color: var(--primary); font-size: 20px; }
.village-row .stretched::after { content: ''; position: absolute; inset: 0; }
.map-label { background: #fff; border: 1px solid #ccc; border-radius: 4px; padding: 2px 6px; font-size: 12px; font-weight: 600; color: #333; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); white-space: nowrap; }
@media (max-width: 767px) { .home-villages__grid { grid-template-columns: 1fr; } }

@media (max-width: 767px) {
	.h-primary, .h-two-color { font-size: 40px; line-height: 46px; }
}

/* ---------- About ---------- */
.about-mission {
	margin-top: -40px;
	padding: 120px 0 60px;
	background: url('../img/about-mission-bg.png') center / cover no-repeat;
}
.about-mission .row { max-width: min(100%, 1536px); margin-inline: auto; justify-content: space-around; align-items: center; padding: 10px; }
.about-mission .h-two-color { color: var(--ink); margin-bottom: 20px; }
.about-mission img { width: 700px; }
.about-mission .icon-boxes { align-items: flex-start; }
.about-cards { margin: -40px 0 -50px; }
.about-heritage { background: var(--cream); padding: 80px; }
.about-heritage .row { justify-content: space-around; align-items: center; }
.about-heritage img { width: 620px; }
.about-heritage .h-two-color { color: var(--ink); margin-bottom: 20px; }
.about-heritage .btn-stitch-wrap { width: 34%; min-width: 200px; }
@media (max-width: 767px) { .about-heritage { padding: 40px 10px; } }

/* ---------- Dictionary ---------- */
.dictionary-intro { padding: 60px 0; }
.dictionary-soon {
	padding: 60px 0;
	text-align: center;
	--overlay-color: var(--navy);
	--overlay-opacity: .94;
	background: url('../img/dictionary-soon-bg.png') center / cover no-repeat;
}
.dictionary-soon .text { color: #fff; }

/* ---------- Single village ---------- */
.village-hero {
	padding: 70px 0 60px;
	--overlay-color: var(--secondary);
	--overlay-opacity: .53;
	background-size: cover;
	background-position: center;
}
.village-hero .container { display: flex; align-items: center; }
.village-hero h1 { flex: 0 0 40%; margin: 0; font: 800 48px/1.2 var(--font-system); color: #000; }
.village-hero__pop { flex: 0 0 40%; display: flex; justify-content: flex-end; font: 18px/1.5 var(--font-system); color: #000; }
.village-hero__est { flex: 0 0 20%; font: 18px/1.5 var(--font-system); color: #000; text-align: end; }
.village-info .row { justify-content: space-around; gap: 30px; align-items: center; padding: 10px 0; }
.village-info h3 { font: 500 24px/1.2 var(--font-system); color: #2C5AA0; text-align: center; }
.village-info .mini-map { height: 300px; border-radius: 8px; z-index: 0; }
.village-info dl { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.village-info dl div { display: flex; gap: 8px; align-items: baseline; }
.village-info dt { font: 400 25px/28px var(--font-shabak); color: var(--ink); }
.village-info dd { margin: 0; font: 16px/1.5 var(--font-system); color: #333; }
.village-media { padding: 60px 0; }
.village-media__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.village-media__title h2 { margin: 0; font: 800 48px/40px var(--font-roboto); color: var(--ink); }
.village-media__title span { font: 800 54px/40px var(--font-shabak); color: var(--green); }
.tabs__list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tabs__list button {
	font: 500 14px/1 var(--font-roboto);
	color: #374151;
	background: #fff;
	border: 1px dashed #fff;
	border-radius: 9999px;
	padding: 12px 24px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
	cursor: pointer;
	transition: transform .2s, background .2s;
}
.tabs__list button:hover { background: var(--green); color: #fff; transform: scale(1.05); }
.tabs__list button[aria-selected=true] { background: var(--green); color: #fff; border: 2px dashed #fff; }
.tabs__panel[hidden] { display: none; }
.village-text { padding: 20px 0; }
.village-text:last-of-type { padding-bottom: 60px; }
.village-text .h-primary { color: var(--ink); }
.more-villages { padding: 60px 0; }
.more-villages h2 { font: 800 36px/40px var(--font-roboto); color: var(--ink); }

/* ---------- Single story ---------- */
.story-hero {
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	--overlay-color: #fff;
	--overlay-opacity: .54;
	background: url('../img/stories-hero.png') center / cover no-repeat;
}
.story-hero h1 { color: var(--ink); }
.story-hero__village { display: flex; gap: 10px; align-items: center; font: 500 30px/28px var(--font-shabak); color: var(--cream); }
.story-hero__village a { color: #fff; text-decoration: underline; }
.story-body { max-width: 1000px; margin: 100px auto 0; padding: 0 10px 60px; }
.story-body__image img { width: 100%; }
.story-body__content { margin-top: 60px; font: 400 36px/1.8 var(--font-shabak); color: #000; }
.story-body__content p { margin-bottom: 20px; }
.story-body__writer { display: flex; gap: 12px; align-items: baseline; }
.story-body__writer strong { font: 600 38px/28px var(--font-shabak); color: var(--orange); }
.story-body__writer span { font: 400 25px/28px var(--font-shabak); }
.more-stories { margin: 60px 0; text-align: center; }

/* ---------- Basic single (video/audio/poem) ---------- */
.basic-single { max-width: 1140px; margin: 0 auto; padding: 80px 10px 60px; }
.basic-single h1 { font: 800 48px/1.2 var(--font-shabak); color: var(--ink); }
