.village-site { --ink: #182e2b; --muted: #64716d; --paper: #fff; --accent: #176c58; --sun: #eec76b; background: #fff; color: var(--ink); }
.village-site::before { display: none; }
.village-site * { letter-spacing: 0; }
.village-site h1, .village-site h2, .village-site h3, .village-site p { overflow-wrap: anywhere; }
.village-site a, .village-site button { -webkit-tap-highlight-color: transparent; }
.village-site a:focus-visible, .village-site button:focus-visible { outline: 3px solid #bf771b; outline-offset: 5px; }
.village-site button { touch-action: manipulation; }
.village-site section[id], #main-content { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: -100px; inset-inline-start: 20px; z-index: 100; background: #fff; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.village-header { height: 88px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(28px, calc((100% - 1280px) / 2)); background: #fff; border-bottom: 1px solid #e4e9e6; }
.village-brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { direction: ltr; display: grid; place-items: center; width: 44px; height: 48px; background: var(--accent); color: #fff; font: 32px Georgia, serif; border-radius: 4px 4px 18px 4px; }
.village-brand strong { display: block; font-size: 25px; line-height: 1.2; }
.village-brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.village-navigation { gap: 28px; font-size: 13px; font-weight: 600; flex-wrap: nowrap; }
.village-navigation > a { padding-block: 12px; }
.village-navigation a:hover, .village-navigation a[aria-current] { color: var(--accent); }
.village-languages { display: flex; gap: 4px; padding-inline-start: 20px; border-inline-start: 1px solid #d8e2dc; align-items: center; }
.village-languages a { display: grid; place-items: center; width: 34px; height: 36px; font-size: 12px; }
.village-languages a[aria-current] { background: #edf4ef; border-radius: 4px; }
.village-languages a[lang="ar"] { width: 62px; }
.menu-toggle { display: none; }
.village-hero { height: min(620px, calc(100svh - 220px)); min-height: 500px; position: relative; color: #fff; display: flex; align-items: center; padding: 55px max(28px, calc((100% - 1280px) / 2)); isolation: isolate; background: #324940; }
.village-hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.village-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,29,26,.78), rgba(10,29,26,.38) 48%, rgba(10,29,26,.02)); }
html[dir="rtl"] .village-hero::before { transform: scaleX(-1); }
.village-hero-content { max-width: 640px; padding-bottom: 35px; }
.village-site .eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; margin: 0 0 16px; text-transform: uppercase; }
.village-hero .eyebrow { color: #fff; }
.village-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 112px; line-height: 1; font-weight: 400; margin: 0 0 20px; }
.village-hero h1 span, .footer-intro > a span { color: var(--sun); }
.village-hero h2 { font-size: 26px; font-weight: 500; line-height: 1.35; margin: 0 0 16px; }
.village-hero-content > p:not(.eyebrow) { font-size: 16px; max-width: 510px; line-height: 1.8; margin: 0; color: #f1f3ef; }
.village-hero .hero-actions { gap: 28px; align-items: center; margin-top: 28px; }
.village-site .button { border: 0; border-radius: 4px; box-shadow: none; font-size: 13px; font-weight: 600; gap: 25px; background: var(--accent); color: #fff; padding: 15px 22px; min-height: 50px; }
.village-hero .button { color: #183c31; background: #fff; }
.village-site .button:hover { transform: none; background: #eec76b; color: #182e2b; }
.hero-gallery-link { font-size: 13px; border-bottom: 1px solid #ffffff80; padding-block: 9px; }
.hero-gallery-link span { margin-inline-start: 12px; }
.hero-caption { position: absolute; bottom: 22px; inset-inline: max(28px, calc((100% - 1280px) / 2)); display: flex; justify-content: space-between; gap: 24px; font-size: 10px; border-top: 1px solid #ffffff50; padding-top: 13px; }
.village-ribbon { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 16px max(28px, calc((100% - 1280px) / 2)); background: #edf3ef; font-size: 12px; }
.village-ribbon > span:first-child { font-weight: 700; }
.village-ribbon > span:nth-child(2) { color: var(--muted); }
.village-section { padding: 88px max(28px, calc((100% - 1280px) / 2)); }
.editorial-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.editorial-heading > div { max-width: 670px; }
.editorial-heading h2, .village-site .gallery-toolbar h2 { font: 400 42px/1.18 Georgia, 'Times New Roman', serif; margin: 0; }
.editorial-heading > p { max-width: 350px; margin: 0 0 3px; font-size: 14px; color: var(--muted); }
.section-note { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.village-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 28px; }
.village-story { min-width: 0; }
.story-image { overflow: hidden; aspect-ratio: 4 / 3; background: #edf3ef; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.village-story a:hover img { transform: scale(1.035); }
.story-label { display: flex; justify-content: space-between; color: var(--accent); font-size: 12px; margin-top: 20px; }
.village-story h3 { font-size: 21px; line-height: 1.4; margin: 10px 0; font-weight: 600; }
.village-story p { margin: 0; font-size: 14px; color: var(--muted); }
.village-news { background: #f1f5f7; }
.village-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
.village-news-item { padding-bottom: 26px; border-bottom: 1px solid #cddbdc; }
.news-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--accent); margin-top: 22px; }
.village-news-item h3 { font-size: 24px; line-height: 1.4; margin: 12px 0; }
.village-news-item p:not(.news-meta) { color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; gap: 22px; align-items: center; font-size: 13px; font-weight: 600; padding-block: 8px; color: var(--accent); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.village-photo-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.village-photo-grid figure { margin: 0; }
.village-photo-grid img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.village-photo-grid figcaption { display: flex; justify-content: space-between; gap: 15px; margin-top: 12px; font-size: 13px; }
.village-photo-grid > a:nth-child(even) { padding-top: 52px; }
.village-community { background: #f4f5f1; }
.community-list article { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 25px; align-items: start; border-top: 1px solid #d2dbd4; padding: 27px 0; }
.community-number { font: 30px Georgia, serif; color: #7c9084; }
.community-list small { color: var(--accent); font-size: 11px; }
.community-list h3 { margin: 4px 0 10px; font-size: 21px; }
.community-list p { color: var(--muted); max-width: 800px; margin: 0; font-size: 14px; }
.community-list .rich-text { color: var(--muted); max-width: 800px; font-size: 14px; line-height: 1.75; }
.community-list .rich-text p { margin: 0 0 10px; }
.community-list .rich-text p:last-child { margin-bottom: 0; }
.village-social { background: #194b40; color: #fff; }
.village-social .eyebrow { color: #eed28f; }
.village-social .editorial-heading > p { color: #d2e0d7; }
.village-social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.village-social-links > a { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 22px 0; border-top: 1px solid #ffffff40; }
.village-social-links small { display: block; font-size: 11px; color: #d2e0d7; }
.village-social-links strong { display: block; font-size: 16px; margin-top: 5px; font-weight: 500; }
.village-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.village-team article { display: flex; align-items: center; gap: 18px; }
.village-team img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.village-team h3 { font-size: 16px; margin: 0; }
.village-team p { margin: 4px 0; font-size: 13px; color: var(--muted); }
.village-footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; background: #fff; color: var(--ink); padding: 60px max(28px, calc((100% - 1280px) / 2)) 22px; border-top: 1px solid #dde5e0; }
.village-footer .footer-intro > a { font: 54px Georgia, serif; }
.village-footer p { max-width: 310px; font-size: 13px; color: var(--muted); }
.village-footer h2 { font-size: 13px; margin: 15px 0 20px; }
.village-footer > div:not(.footer-intro):not(.footer-bottom) > a { display: block; margin: 10px 0; font-size: 13px; color: var(--muted); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; border-top: 1px solid #dde5e0; padding-top: 22px; color: var(--muted); }
.footer-credits { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-developer { display: inline-flex; align-items: center; gap: 5px; }
.footer-developer a { display: inline-flex; align-items: center; gap: 4px; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-developer a span { font-size: 12px; transition: transform .2s ease; }
.footer-developer a:hover span { transform: translate(2px, -2px); }
html[dir="rtl"] .footer-developer a:hover span { transform: translate(-2px, -2px); }
.empty-state { padding: 24px 0; font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
.village-site .article-page { padding: 0 0 70px; background: #fff; }
.village-site .article-hero { width: 100%; height: 440px; max-height: 55vh; border-radius: 0; object-fit: cover; }
.village-site .article-body { width: min(850px, 100%); margin: 0 auto; padding: 55px 28px 0; border-radius: 0; background: none; box-shadow: none; }
.village-site .article-body h1 { font-size: 46px; line-height: 1.22; }
.village-site .article-body .lead { font-size: 20px; color: var(--muted); }
.village-site .rich-text { font-size: 17px; line-height: 1.9; }
.village-site .rich-text img { height: auto; }
.village-site .gallery-hero { min-height: 430px; padding: 60px max(28px, calc((100% - 1280px) / 2)); border-radius: 0; box-shadow: none; }
.village-site .gallery-hero h1 { font-size: 48px; }
.village-site .gallery-hero-panel { border: 0; border-radius: 0; box-shadow: none; background: none; backdrop-filter: none; }
.village-site .gallery-showcase { padding: 65px max(28px, calc((100% - 1280px) / 2)); }
.village-site .gallery-photo { border-radius: 0; box-shadow: none; background: none; }
.village-site .gallery-photo button { border-radius: 0; }
.village-site .gallery-photo figcaption { background: #fff; padding: 15px 0; }
html[lang="ar"] .village-hero h1 { font-family: var(--font-arabic-heading); font-size: 88px; line-height: 1.55; }
html[lang="ar"] .editorial-heading h2 { font-family: var(--font-arabic-heading); font-size: 34px; line-height: 1.6; }
@media (min-width: 1600px) { .village-hero { height: min(680px, calc(100svh - 250px)); } }
@media (max-width: 960px) {
    .village-header { height: auto; min-height: 76px; flex-wrap: wrap; padding-block: 14px; }
    .menu-toggle:not([hidden]) { display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 10px; border: 1px solid #d8e2dc; border-radius: 4px; background: #fff; box-shadow: none; }
    .menu-toggle span { width: 20px; height: 2px; background: var(--ink); }
    .village-navigation { width: 100%; flex-wrap: wrap; gap: 10px 25px; }
    .village-header:has(.menu-toggle:not([hidden])) .village-navigation { display: none; }
    .village-header:has(.menu-toggle:not([hidden])) .village-navigation.is-open { display: flex; padding-bottom: 10px; }
    .village-hero { height: 610px; min-height: 0; }
    .village-hero h1 { font-size: 92px; }
    .editorial-heading { align-items: start; flex-direction: column; gap: 18px; }
    .editorial-heading > p { max-width: 580px; }
    .village-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .village-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .village-section { padding-block: 60px; }
}
@media (max-width: 600px) {
    .village-header { padding-inline: 20px; }
    .village-brand strong { font-size: 22px; }
    .brand-mark { width: 36px; height: 40px; font-size: 27px; }
    .village-navigation { flex-direction: column; align-items: stretch; gap: 0; }
    .village-languages { border: 0; padding: 12px 0 0; }
    .village-hero { height: auto; min-height: min(610px, calc(100svh - 145px)); padding: 45px 24px 70px; }
    .village-hero h1 { font-size: 76px; margin-bottom: 16px; }
    .village-hero h2 { font-size: 22px; }
    .village-hero-content { padding: 0; }
    .village-hero-content > p:not(.eyebrow) { font-size: 14px; }
    .village-hero .hero-actions { gap: 20px; margin-top: 23px; }
    .village-hero .button { padding: 13px 16px; gap: 16px; }
    .hero-caption { inset-inline: 24px; font-size: 9px; }
    .village-ribbon { padding: 18px 24px; min-height: 66px; font-size: 11px; }
    .village-ribbon > span:nth-child(2) { display: none; }
    .village-section { padding: 48px 24px; }
    .editorial-heading { margin-bottom: 27px; }
    .editorial-heading h2, .village-site .gallery-toolbar h2 { font-size: 32px; }
    .village-stories, .village-news-grid, .village-photo-grid, .village-social-links, .village-team { grid-template-columns: minmax(0, 1fr); }
    .village-photo-grid > a:nth-child(even) { padding-top: 0; }
    .community-list article { grid-template-columns: 30px minmax(0, 1fr); gap: 15px; }
    .community-list .text-link { grid-column: 2; }
    .community-number { font-size: 23px; }
    .community-list h3 { font-size: 18px; }
    .village-footer { padding: 42px 24px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
    .footer-intro { grid-column: 1 / -1; }
    .footer-bottom, .footer-credits { flex-direction: column; gap: 10px; }
    .village-site .article-body h1 { font-size: 32px; }
    .village-site .article-body { padding: 35px 24px 0; }
    .village-site .gallery-hero { padding: 45px 24px; min-height: 400px; }
    .village-site .gallery-hero h1 { font-size: 34px; }
    .village-site .gallery-showcase { padding: 45px 24px; }
    html[lang="ar"] .village-hero h1 { font-size: 62px; }
    html[lang="ar"] .editorial-heading h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .village-site *, .village-site *::before, .village-site *::after { transition: none !important; animation: none !important; } }
@media (forced-colors: active) {
    .village-site a:focus-visible, .village-site button:focus-visible { outline: 3px solid CanvasText; }
    .brand-mark, .village-site .button, .story-filters button.is-active { border: 1px solid CanvasText; }
}
@media print {
    .village-topline, .village-header, .village-footer, .hero-slider-controls, .scroll-progress, .story-filters { display: none !important; }
    .village-site, .village-site .article-page, .village-site .article-body { background: #fff !important; color: #000 !important; }
    .village-site .article-body { width: 100%; padding: 24px 0; }
    .village-site a { color: #000; text-decoration: underline; }
    .village-site .article-hero { max-height: 320px; }
}
