:root {
    --ink: #231f1c;
    --muted: #7f776b;
    --cream: #fbf7f1;
    --paper: #ffffff;
    --warm: #f2e4d6;
    --brand-orange: #dd683c;
    --brand-orange-dark: #b84f2d;
    --brand-taupe: #9c9386;
    --brand-taupe-dark: #625b52;
    --sand: #d8c7b4;
    --line: rgba(35, 31, 28, .12);
    --shadow: 0 22px 70px rgba(35, 31, 28, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

html[dir="rtl"] body {
    font-family: "Noto Kufi Arabic", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] label,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] button {
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

.site-shell {
    max-width: 1440px;
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: clamp(20px, 4vw, 64px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(35, 31, 28, .08);
    background: rgba(251, 247, 241, .94);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 38px rgba(35, 31, 28, .08);
}

.home-page .site-header {
    position: absolute;
    left: 0;
    right: 0;
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(20, 18, 16, .28), rgba(20, 18, 16, 0));
    backdrop-filter: none;
    box-shadow: none;
}

.navbar {
    min-height: 88px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    width: clamp(205px, 18vw, 260px);
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(35, 31, 28, .16));
}

.brand-mark strong,
.brand-mark small {
    display: block;
    line-height: 1;
}

.brand-mark strong {
    color: var(--brand-orange);
    font-size: 19px;
    letter-spacing: 0;
}

.brand-mark small {
    margin-top: 5px;
    color: var(--brand-taupe-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-link {
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 900;
    letter-spacing: .045em;
    padding: 12px 14px !important;
    text-transform: uppercase;
    white-space: nowrap;
}

html[dir="rtl"] .nav-link {
    font-size: 14.5px;
    letter-spacing: 0;
}

.nav-link:hover {
    color: var(--brand-orange);
}

.home-page .nav-link {
    color: rgba(255, 255, 255, .94);
    text-shadow: 0 2px 14px rgba(0, 0, 0, .32);
}

.home-page .nav-link:hover,
.home-page .language-toggle {
    color: #fff;
}

.language-toggle {
    color: var(--brand-orange);
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-code {
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.language-flag {
    width: 25px;
    height: 17px;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .24), 0 6px 16px rgba(0, 0, 0, .18);
}

.btn {
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0;
    padding: .72rem 1.15rem;
}

.btn-primary-action {
    border-color: var(--brand-orange);
    color: #fff !important;
    background: var(--brand-orange);
    box-shadow: 0 12px 30px rgba(221, 104, 60, .24);
}

.btn-primary-action:hover {
    border-color: var(--brand-orange-dark);
    background: var(--brand-orange-dark);
    transform: translateY(-1px);
}

.site-header .btn-primary-action {
    padding: .78rem 1.45rem;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-page .site-header .btn-primary-action {
    border-color: rgba(255, 255, 255, .72);
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.home-page .site-header .btn-primary-action:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .18);
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 82px);
    color: #fff;
    background: var(--brand-taupe-dark);
}

.home-page .hero-section {
    min-height: 100vh;
}

.hero-video,
.hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    opacity: 0;
    filter: saturate(1.08) contrast(1) brightness(1.32);
    transition: opacity 1.4s ease;
}

.hero-video.is-active {
    opacity: 1;
}

.hero-video-overlay {
    background:
        linear-gradient(90deg, rgba(35, 31, 28, .62) 0%, rgba(98, 91, 82, .38) 52%, rgba(221, 104, 60, .26) 100%),
        linear-gradient(180deg, rgba(35, 31, 28, .08), rgba(35, 31, 28, .42));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .55fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
    min-height: calc(100vh - 82px);
    padding-top: 48px;
    padding-bottom: 64px;
}

.hero-copy h1,
.page-hero h1 {
    max-width: 980px;
    font-size: clamp(42px, 5.8vw, 82px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.home-page .hero-copy {
    padding-top: 28px;
}

.home-page .hero-copy .eyebrow {
    margin-bottom: 14px;
    font-size: clamp(14px, 1vw, 16px);
}

.home-page .hero-copy h1 {
    font-size: clamp(40px, 5.1vw, 78px);
}

html[dir="rtl"] .hero-copy h1,
html[dir="rtl"] .page-hero h1,
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .partner-strip-heading h2,
html[dir="rtl"] .impact-intro h2,
html[dir="rtl"] .split-layout h2,
html[dir="rtl"] .cta-inner h2 {
    line-height: 1.24;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .card-kicker,
html[dir="rtl"] .tag,
html[dir="rtl"] .hero-story-panel span,
html[dir="rtl"] .story-summary span {
    font-size: clamp(12.5px, .88vw, 14px);
    letter-spacing: 0;
}

.hero-copy p,
.page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.55;
}

.eyebrow,
.card-kicker,
.tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    color: #f3b08b;
    font-size: clamp(13px, .92vw, 15px);
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.hero-actions,
.project-actions,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn {
    border-width: 2px;
}

.home-page .hero-actions .btn-primary-action,
.home-page .hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, .8);
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.home-page .hero-actions .btn-primary-action:hover,
.home-page .hero-actions .btn-outline-light:hover {
    border-color: #fff;
    color: #fff !important;
    background: rgba(221, 104, 60, .68);
    transform: translateY(-2px);
}

.hero-story-panel {
    align-self: end;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 8px;
    background: rgba(35, 31, 28, .48);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-story-panel span {
    display: block;
    color: #f3b08b;
    font-size: clamp(13px, .92vw, 15px);
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.hero-story-panel strong {
    display: block;
    margin: 14px 0 18px;
    font-size: 28px;
    line-height: 1.12;
}

.hero-story-panel a {
    color: #fff;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.section-block {
    padding: clamp(36px, 4vw, 56px) 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(251, 247, 241, .9)),
        linear-gradient(90deg, rgba(35, 31, 28, .035) 1px, transparent 1px),
        var(--paper);
    background-size: auto, 92px 92px, auto;
}

.warm-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0)),
        #f3e3d2;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 820px) auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 36px;
}

.section-heading h2,
.impact-intro h2,
.split-layout h2 {
    margin: 8px 0 0;
    font-size: clamp(30px, 3.5vw, 52px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.section-heading a {
    color: var(--brand-orange);
    font-weight: 900;
}

.program-grid,
.project-grid,
.news-grid,
.board-grid,
.values-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.program-card,
.project-card,
.news-card,
.board-card,
.values-grid article,
.story-summary,
.contact-panel,
.form-panel,
.admin-grid a {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 18px 54px rgba(35, 31, 28, .09);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.program-card,
.project-card,
.news-card,
.board-card {
    position: relative;
}

.program-card::after,
.project-card::after,
.news-card::after,
.board-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-taupe));
    opacity: .82;
}

.program-card:hover,
.project-card:hover,
.news-card:hover,
.board-card:hover,
.values-grid article:hover,
.admin-grid a:hover {
    border-color: rgba(221, 104, 60, .36);
    box-shadow: 0 24px 72px rgba(35, 31, 28, .14);
    transform: translateY(-3px);
}

.program-card > img,
.project-card > img,
.news-card > img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f4ede4;
    transition: transform .45s ease, filter .45s ease;
}

.program-card:hover > img,
.project-card:hover > img,
.news-card:hover > img {
    filter: saturate(1.06) contrast(1.02);
    transform: scale(1.035);
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.project-content p {
    flex: 1;
}

.program-card div,
.project-content,
.news-card div,
.board-card-body,
.values-grid article,
.story-summary,
.contact-panel,
.form-panel,
.admin-grid a {
    padding: 24px;
}

.program-card h3,
.project-card h2,
.project-card h3,
.news-card h2,
.news-card h3,
.board-card h3 {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 900;
}

html[dir="rtl"] .program-card h3,
html[dir="rtl"] .project-card h2,
html[dir="rtl"] .project-card h3,
html[dir="rtl"] .news-card h2,
html[dir="rtl"] .news-card h3,
html[dir="rtl"] .board-card h3 {
    line-height: 1.28;
}

.program-card p,
.project-card p,
.news-card p,
.board-card p,
.rich-copy p,
.narrow-copy p,
.contact-panel p {
    color: var(--muted);
    line-height: 1.72;
}

.inline-action,
.board-card a {
    color: var(--brand-orange);
    font-weight: 900;
}

.board-hero {
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .94), rgba(98, 91, 82, .78) 48%, rgba(221, 104, 60, .62)),
        url("https://images.unsplash.com/photo-1573164713988-8665fc963095?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.board-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
}

.board-photo,
.board-photo-placeholder {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #f4ede4;
}

.board-photo-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .92), rgba(221, 104, 60, .76)),
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
}

.board-photo-placeholder span {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    font-size: 42px;
    font-weight: 900;
    background: rgba(255, 255, 255, .12);
}

.board-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.board-card-body p {
    flex: 1;
}

.board-position {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 7px 10px;
    border: 1px solid rgba(221, 104, 60, .16);
    border-radius: 999px;
    color: var(--brand-orange);
    background: rgba(230, 95, 55, .10);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

.executive-hero {
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .95), rgba(98, 91, 82, .78) 48%, rgba(221, 104, 60, .62)),
        var(--page-hero-image, url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80")) center/cover;
}

.executive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.executive-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .84)),
        var(--paper);
    box-shadow: 0 18px 54px rgba(35, 31, 28, .09);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.executive-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-taupe));
}

.executive-card:hover {
    border-color: rgba(221, 104, 60, .36);
    box-shadow: 0 24px 72px rgba(35, 31, 28, .14);
    transform: translateY(-3px);
}

.executive-monogram {
    position: relative;
    display: grid;
    min-height: 170px;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .92), rgba(221, 104, 60, .74)),
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
}

.executive-monogram img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
}

.executive-monogram span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    font-size: 38px;
    font-weight: 900;
}

.executive-card-body {
    padding: 24px;
}

.executive-card h3 {
    margin: 0;
    font-size: clamp(23px, 2vw, 30px);
    line-height: 1.16;
    font-weight: 900;
}

.board-detail-layout {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.board-detail-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 18px 54px rgba(35, 31, 28, .12);
}

.board-detail-actions {
    margin-top: 24px;
}

.awards-hero {
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .94), rgba(98, 91, 82, .76) 48%, rgba(221, 104, 60, .62)),
        url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.award-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.award-card,
.award-record-item {
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 54px rgba(35, 31, 28, .08);
}

.award-card {
    min-height: 280px;
    padding: clamp(24px, 2.5vw, 34px);
}

.award-list-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.award-list-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f4ede4;
}

.award-list-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(22px, 2.4vw, 30px);
}

.award-list-card p {
    flex: 1;
}

.award-card span,
.award-record-item time {
    display: inline-flex;
    color: var(--brand-orange);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.award-card h3,
.award-record-item h3 {
    margin: 14px 0 12px;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.12;
    font-weight: 900;
}

.award-card p,
.award-record-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.award-record {
    display: grid;
    gap: 18px;
}

.award-record-item {
    display: grid;
    grid-template-columns: minmax(120px, .22fr) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 42px);
    align-items: start;
    padding: clamp(22px, 2.6vw, 34px);
}

.award-record-item time {
    padding-top: 6px;
}

.empty-state {
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 18px 54px rgba(35, 31, 28, .08);
}

.empty-state h3 {
    margin: 0 0 10px;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 900;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.award-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.award-gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(35, 31, 28, .08);
}

.award-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.award-gallery figcaption {
    padding: 14px 16px;
    color: var(--muted);
    font-weight: 800;
}

.partner-strip-section,
.regional-partner-strip-section {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 4vw, 52px) 0 clamp(28px, 3vw, 40px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 52%, rgba(255, 255, 255, .42) 100%),
        linear-gradient(rgba(35, 31, 28, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 31, 28, .055) 1px, transparent 1px),
        #fff;
    background-size: auto, 64px 64px, 64px 64px, auto;
    border-top: 1px solid rgba(35, 31, 28, .06);
    border-bottom: 1px solid rgba(35, 31, 28, .08);
}

.partner-strip-section::after,
.regional-partner-strip-section::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-end: 10%;
    width: clamp(72px, 9vw, 128px);
    background:
        linear-gradient(180deg, transparent 16%, rgba(35, 31, 28, .035) 16% 31%, transparent 31% 52%, rgba(221, 104, 60, .08) 52% 64%, transparent 64%),
        linear-gradient(90deg, transparent 0 46%, rgba(35, 31, 28, .04) 46% 54%, transparent 54%);
    opacity: .75;
    pointer-events: none;
}

.regional-partner-strip-section {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 56%, rgba(255, 255, 255, .52) 100%),
        linear-gradient(rgba(35, 31, 28, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 31, 28, .06) 1px, transparent 1px),
        #fff;
    background-size: auto, 62px 62px, 62px 62px, auto;
}

.regional-partner-strip-section::after {
    inset-inline-end: 4%;
    width: clamp(160px, 26vw, 430px);
    background:
        linear-gradient(90deg, transparent 0 38%, rgba(35, 31, 28, .045) 38% 52%, transparent 52% 100%),
        linear-gradient(180deg, transparent 0 18%, rgba(35, 31, 28, .04) 18% 36%, transparent 36% 62%, rgba(35, 31, 28, .035) 62% 80%, transparent 80%);
}

.partner-strip-heading {
    position: relative;
    z-index: 1;
}

.partner-strip-heading h2 {
    max-width: 980px;
    margin: 8px 0 12px;
    color: var(--brand-taupe-dark);
    font-size: clamp(30px, 3.4vw, 50px);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: 0;
}

.partner-strip-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.65;
}

.partner-marquee {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0;
    width: 100%;
    margin-top: clamp(30px, 4vw, 54px);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.partner-marquee-track {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    gap: clamp(18px, 2.2vw, 34px);
    min-width: max-content;
    padding-inline-end: clamp(18px, 2.2vw, 34px);
    animation: partner-marquee 34s linear infinite;
}

.partner-marquee:hover .partner-marquee-track {
    animation-play-state: paused;
}

.partner-logo {
    display: grid;
    place-items: center;
    width: clamp(164px, 17vw, 230px);
    height: clamp(92px, 8.5vw, 126px);
    padding: 18px 24px;
    border: 1px solid rgba(35, 31, 28, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .66);
    box-shadow: 0 16px 42px rgba(35, 31, 28, .06);
}

.partner-logo img {
    width: 100%;
    max-width: 176px;
    max-height: 66px;
    object-fit: contain;
    filter: grayscale(1) contrast(.86) opacity(.66);
    transition: filter .22s ease, transform .22s ease;
}

.partner-logo:hover img {
    filter: grayscale(.15) contrast(1) opacity(.98);
    transform: translateY(-1px);
}

.regional-partner-logo {
    width: clamp(176px, 18vw, 250px);
    height: clamp(102px, 9vw, 138px);
    background: rgba(255, 255, 255, .72);
}

.regional-partner-logo img {
    max-width: 188px;
    max-height: 82px;
}

.regional-partner-marquee-track {
    animation-duration: 38s;
}

@keyframes partner-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.impact-band {
    padding: clamp(40px, 4.5vw, 60px) 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .92), rgba(75, 69, 61, .94)),
        url("../images/content/rahma-field-volunteers-pexels-4884214.jpeg") center/cover;
}

.impact-band.standalone {
    min-height: 420px;
}

.impact-intro h2 {
    max-width: 980px;
    color: #fff;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.08;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.impact-stat {
    min-height: 240px;
    padding: clamp(24px, 2.4vw, 36px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
}

.impact-stat div {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 6px;
}

.impact-stat strong,
.impact-stat span {
    color: #fff;
    font-size: clamp(34px, 3.1vw, 52px);
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.impact-stat p {
    margin: 18px 0 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.impact-stat small {
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.65;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.country-chip,
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}

.country-chip {
    color: var(--ink);
    background: rgba(35, 31, 28, .06);
    border: 1px solid rgba(35, 31, 28, .08);
    font-size: 13px;
}

.category-chip {
    color: var(--brand-orange);
    background: rgba(230, 95, 55, .10);
    border: 1px solid rgba(230, 95, 55, .16);
    line-height: 1.2;
}

.flag-icon {
    width: 26px !important;
    height: 18px !important;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(35, 31, 28, .12), 0 5px 14px rgba(35, 31, 28, .12);
}

.category-chip + .country-chip {
    padding-inline-start: 9px;
}

.news-card time {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.final-cta {
    padding: clamp(44px, 5vw, 64px) 0;
    color: #fff;
    background: linear-gradient(135deg, rgba(35, 31, 28, .92), rgba(221, 104, 60, .82)), url("../images/content/rahma-field-volunteers-pexels-20333030.jpeg") center/cover;
}

.cta-inner h2 {
    max-width: 900px;
    margin: 12px 0 28px;
    font-size: clamp(34px, 4.1vw, 60px);
    line-height: 1.08;
    font-weight: 900;
}

.home-map-section {
    background: #fff;
}

.home-map-frame {
    width: 100%;
    height: clamp(320px, 42vw, 520px);
    background: #e8edf0;
}

.home-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(.94) contrast(1.02);
}

.home-map-info {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr) auto;
    gap: clamp(20px, 4vw, 58px);
    align-items: center;
    padding-top: clamp(24px, 3vw, 38px);
    padding-bottom: clamp(26px, 3.5vw, 44px);
}

.home-map-info h2 {
    margin: 8px 0 0;
    font-size: clamp(30px, 3.6vw, 54px);
    line-height: 1.08;
    font-weight: 900;
}

.home-map-info strong {
    display: block;
    color: var(--brand-orange);
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.25;
    font-weight: 900;
}

.home-map-info p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 5vw, 72px) 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .94), rgba(98, 91, 82, .76) 48%, rgba(221, 104, 60, .66)),
        url("../images/content/rahma-field-volunteers-pexels-8813544.jpeg") center/cover;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 86px 86px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 76%, transparent);
    pointer-events: none;
}

.page-hero .site-shell {
    position: relative;
    z-index: 1;
}

.compact-hero h1 {
    font-size: clamp(36px, 4.4vw, 60px);
}

.page-hero p {
    margin-top: 18px;
}

.project-listing-hero {
    padding: clamp(48px, 5vw, 70px) 0 clamp(36px, 4vw, 54px);
}

.project-listing-hero .site-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    gap: 28px;
    align-items: end;
}

.project-listing-hero .eyebrow {
    grid-column: 1 / -1;
}

.project-listing-hero h1 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(36px, 4vw, 56px);
}

.project-listing-hero p {
    max-width: 480px;
    margin: 0;
    font-size: clamp(17px, 1.4vw, 21px);
}

html[dir="rtl"] .project-listing-hero h1 {
    line-height: 1.28;
}

.project-listing-section .project-card h2 {
    font-size: clamp(25px, 2vw, 32px);
    line-height: 1.25;
}

.project-listing-section .project-card p {
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.65;
}

.image-hero {
    position: relative;
    min-height: min(680px, calc(100vh - 82px));
    display: grid;
    align-items: end;
    background:
        linear-gradient(90deg, rgba(35, 31, 28, .92), rgba(35, 31, 28, .62) 44%, rgba(221, 104, 60, .20)),
        var(--hero-image) center/cover;
}

.split-layout,
.contact-grid,
.article-hero .site-shell {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 54px rgba(35, 31, 28, .07);
}

.feature-row img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(35, 31, 28, .14);
}

.story-summary span {
    display: block;
    color: var(--brand-orange);
    font-size: clamp(13px, .92vw, 15px);
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.story-summary strong {
    display: block;
    margin: 10px 0;
    font-size: 34px;
    line-height: 1.05;
}

.story-summary p {
    color: var(--muted);
    line-height: 1.65;
}

.form-panel {
    display: grid;
    gap: 10px;
    color: var(--ink);
}

.contact-panel {
    color: #fff;
    background:
        linear-gradient(145deg, rgba(35, 31, 28, .92), rgba(98, 91, 82, .82)),
        url("../images/content/rahma-field-volunteers-pexels-4884214.jpeg") center/cover;
}

.volunteer-hero {
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .94), rgba(98, 91, 82, .78) 48%, rgba(221, 104, 60, .62)),
        url("../images/content/rahma-field-volunteers-pexels-20333030.jpeg") center/cover;
}

.volunteer-panel {
    background:
        linear-gradient(145deg, rgba(35, 31, 28, .92), rgba(221, 104, 60, .72)),
        url("../images/content/rahma-field-volunteers-pexels-8813544.jpeg") center/cover;
}

.assistance-hero {
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .94), rgba(78, 70, 61, .82) 46%, rgba(221, 104, 60, .66)),
        url("../images/content/rahma-field-volunteers-pexels-4884214.jpeg") center/cover;
}

.assistance-layout {
    display: grid;
    grid-template-columns: minmax(280px, .48fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.assistance-panel {
    position: sticky;
    top: 112px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(145deg, rgba(35, 31, 28, .92), rgba(221, 104, 60, .74)),
        url("../images/content/rahma-field-volunteers-pexels-20333030.jpeg") center/cover;
}

.assistance-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.assistance-form h2,
.assistance-form .alert,
.assistance-form .text-danger,
.assistance-form textarea,
.assistance-form .form-text,
.assistance-form button {
    grid-column: 1 / -1;
}

.assistance-form h2 {
    margin: 14px 0 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(35, 31, 28, .1);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 900;
}

.assistance-form h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.assistance-form button {
    justify-self: start;
    margin-top: 12px;
}

.contact-panel h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
}

.contact-panel p {
    color: rgba(255, 255, 255, .86);
}

.form-panel label {
    margin-top: 8px;
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 48px;
    border-color: var(--line);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(221, 104, 60, .55);
    box-shadow: 0 0 0 .22rem rgba(221, 104, 60, .12);
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    direction: ltr;
    text-align: left;
}

.admin-form .lang-ar {
    direction: rtl;
    text-align: right;
}

.admin-form .checkline,
html[dir="rtl"] .admin-form .checkline {
    direction: inherit;
    text-align: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 12px;
}

.article-hero {
    padding: clamp(40px, 4.5vw, 60px) 0;
    background:
        linear-gradient(180deg, #fff, #fbf7f1);
}

.article-hero img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 68px rgba(35, 31, 28, .16);
}

.article-hero h1 {
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: 1.06;
    font-weight: 900;
}

.article-body,
.narrow-copy {
    max-width: 850px;
    font-size: 20px;
}

.admin-page {
    padding: 64px 0 110px;
    background:
        linear-gradient(180deg, #fff 0%, #fbf7f1 100%);
}

.admin-hero {
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .92), rgba(98, 91, 82, .82)),
        url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=85") center/cover;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.admin-heading h1 {
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 900;
}

.admin-heading p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.admin-dashboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.admin-card {
    display: grid;
    gap: 10px;
    min-height: 176px;
    padding: 22px;
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 18px 48px rgba(35, 31, 28, .08);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-card:hover,
.admin-grid a:hover {
    border-color: rgba(221, 104, 60, .36);
    transform: translateY(-3px);
    box-shadow: 0 24px 58px rgba(35, 31, 28, .12);
}

.admin-card span,
.admin-grid a span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-card strong {
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: .9;
}

.admin-card small {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.admin-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
    gap: 22px;
    align-items: start;
}

.admin-tools-panel,
.admin-status-panel {
    padding: 22px;
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 18px 48px rgba(35, 31, 28, .06);
}

.admin-tools h2,
.admin-status-panel h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 900;
}

.admin-status-panel {
    display: grid;
    gap: 12px;
}

.admin-status-panel p {
    margin: 0 0 8px;
    color: var(--muted);
    line-height: 1.65;
}

.admin-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.admin-filterbar a {
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 255, 255, .72);
    font-weight: 900;
}

.admin-filterbar a.active,
.admin-filterbar a:hover {
    border-color: rgba(221, 104, 60, .42);
    color: var(--ink);
    background: #fff;
}

.site-content-editor {
    display: grid;
    gap: 16px;
}

.section-content-manager {
    display: grid;
    gap: 22px;
}

.section-content-group {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 54px rgba(35, 31, 28, .08);
}

.section-content-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.section-content-group-header span {
    font-size: 18px;
    font-weight: 900;
}

.section-content-group-header strong {
    display: grid;
    min-width: 38px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-orange);
    font-size: 13px;
}

.section-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
}

.section-content-field-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.image-field-editor {
    grid-column: span 2;
}

.section-image-manager {
    display: grid;
    grid-template-columns: minmax(220px, .35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(35, 31, 28, .08);
    border-radius: 8px;
    background: var(--cream);
}

.section-image-preview {
    overflow: hidden;
    border-radius: 8px;
    background: #efe5d9;
}

.section-image-preview img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.section-image-upload {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.field-partner-admin-list {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.field-partner-admin-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(35, 31, 28, .08);
}

.field-partner-admin-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
}

.field-partner-admin-header h2 {
    margin: 2px 0 4px;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 900;
}

.field-partner-admin-header p {
    margin: 0;
    color: var(--muted);
}

.field-partner-admin-logo {
    display: grid;
    overflow: hidden;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--partner-clr, var(--brand-taupe-dark));
    font-weight: 900;
}

.field-partner-admin-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: #fff;
}

.field-partner-subsection {
    display: grid;
    gap: 14px;
    margin: 18px 22px;
    padding: 18px;
    border: 1px solid rgba(35, 31, 28, .08);
    border-radius: 8px;
    background: rgba(251, 247, 241, .72);
}

.field-partner-subsection h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
}

.field-partner-achievements-admin {
    display: grid;
    gap: 10px;
}

.field-partner-achievement-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 90px auto;
    gap: 10px;
    align-items: center;
}

.site-text-editor {
    margin: 0;
}

.site-text-editor > div:first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.admin-text-key {
    color: var(--brand-orange);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 900;
}

.admin-grid a {
    min-height: 150px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 900;
    align-content: space-between;
}

.admin-form {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 26px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 16px 38px rgba(35, 31, 28, .07);
}

.admin-form > input,
.admin-form > select,
.admin-form > label,
.admin-form > button {
    grid-column: span 3;
}

.admin-form textarea {
    min-height: 120px;
    grid-column: span 6;
    resize: vertical;
}

.admin-field {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.admin-field span,
.admin-image-preview span {
    color: var(--brand-taupe-dark);
    font-size: 13px;
    font-weight: 900;
}

.admin-field.wide,
.admin-image-preview {
    grid-column: span 6;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
}

.admin-image-preview {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(251, 247, 241, .72);
}

.admin-image-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
}

.admin-gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 8px 0 16px;
}

.admin-gallery-preview form {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(251, 247, 241, .72);
}

.admin-gallery-preview img {
    width: 100%;
    height: 110px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
}

.admin-empty-image {
    display: grid;
    place-items: center;
    min-height: 120px;
    border-radius: 8px;
    color: var(--muted);
    background: #fff;
    font-weight: 900;
}

.admin-form.compact {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.admin-form.compact > input,
.admin-form.compact > select,
.admin-form.compact > label,
.admin-form.compact > button {
    grid-column: span 2;
}

.checkline {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(251, 247, 241, .7);
    font-weight: 800;
}

.admin-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.admin-editor {
    margin: 18px 0;
    padding: 20px;
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(35, 31, 28, .07);
}

.admin-editor .admin-form {
    margin-bottom: 10px;
    box-shadow: none;
}

.edit-form {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.edit-form textarea {
    grid-column: span 6;
}

.admin-delete-form {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.admin-delete-form .btn {
    border-radius: 8px;
}

.admin-login-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 82px);
    padding: 42px 20px;
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .92), rgba(75, 69, 61, .88)),
        url("../images/content/rahma-field-volunteers-pexels-20333030.jpeg") center/cover;
}

.admin-login-panel {
    width: min(100%, 520px);
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    color: #fff;
    background: rgba(35, 31, 28, .78);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
    backdrop-filter: blur(16px);
}

.admin-login-logo {
    width: min(100%, 280px);
    height: 68px;
    object-fit: contain;
    margin-bottom: 24px;
}

.admin-login-panel h1 {
    margin: 8px 0 22px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    font-weight: 900;
}

.admin-login-form {
    background: rgba(255, 255, 255, .94);
}

.admin-row span {
    display: block;
    color: var(--muted);
}

.message-row p {
    margin: 10px 0 0;
    color: var(--muted);
}

.message-board {
    display: grid;
    gap: 18px;
}

.message-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
    gap: 22px;
    overflow: hidden;
    padding: clamp(20px, 2.5vw, 30px);
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)),
        #fff;
    box-shadow: 0 18px 54px rgba(35, 31, 28, .08);
}

.message-card::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 5px;
    background: var(--brand-orange);
}

.message-card.is-read::before {
    background: rgba(156, 147, 134, .62);
}

.message-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.message-card h2 {
    margin: 8px 0 0;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.22;
    font-weight: 900;
}

.message-card time {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.message-status {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid rgba(221, 104, 60, .2);
    border-radius: 999px;
    color: var(--brand-orange);
    background: rgba(221, 104, 60, .09);
    font-size: 12px;
    font-weight: 900;
}

.message-card.is-read .message-status {
    border-color: rgba(156, 147, 134, .22);
    color: var(--brand-taupe-dark);
    background: rgba(156, 147, 134, .1);
}

.message-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.message-meta-grid div {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(35, 31, 28, .08);
    border-radius: 8px;
    background: rgba(251, 247, 241, .72);
}

.message-meta-grid span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.message-meta-grid strong,
.message-meta-grid a {
    display: block;
    overflow-wrap: anywhere;
    font-weight: 900;
}

.message-body {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(35, 31, 28, .08);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    line-height: 1.85;
    white-space: pre-wrap;
}

.assistance-admin-sections {
    display: grid;
    gap: 14px;
}

.assistance-admin-sections section,
.assistance-attachments {
    padding: 16px;
    border: 1px solid rgba(35, 31, 28, .08);
    border-radius: 8px;
    background: rgba(251, 247, 241, .72);
}

.assistance-admin-sections h3,
.assistance-attachments h3 {
    margin: 0 0 8px;
    color: var(--brand-orange);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.assistance-admin-sections p {
    margin: 0;
    color: var(--ink);
    line-height: 1.75;
    white-space: pre-wrap;
}

.assistance-attachments {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.assistance-attachments a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(35, 31, 28, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    font-weight: 900;
}

.assistance-attachments span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13px;
}

.message-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.message-card-actions .btn {
    width: 100%;
    border-radius: 8px;
}

.email-settings-form .alert {
    grid-column: 1 / -1;
}

.email-settings-check {
    grid-column: span 3;
}

.email-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    grid-column: 1 / -1;
}

.site-footer {
    padding: 58px 0 28px;
    color: var(--muted);
    background: #f8f2ea;
    border-top: 1px solid rgba(35, 31, 28, .08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
}

.footer-brand .brand-logo {
    width: clamp(220px, 22vw, 290px);
    height: 62px;
    filter: drop-shadow(0 6px 14px rgba(35, 31, 28, .14));
}

.site-footer .brand-mark strong,
.site-footer h2 {
    color: var(--ink);
}

.site-footer h2 {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    margin: 8px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(35, 31, 28, .10);
    font-size: 13px;
}

.home-page {
    background:
        linear-gradient(180deg, #141210 0, var(--cream) 720px),
        var(--cream);
}

.home-page .hero-section::before,
.home-page .hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-page .hero-section::before {
    background:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 96px 96px;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 78%, transparent);
    opacity: .42;
}

.home-page .hero-section::after {
    display: none;
}

.home-page .hero-video {
    transform: scale(1.035);
    transition: transform .18s linear;
    will-change: transform;
}

.home-page .hero-video-overlay {
    background:
        radial-gradient(circle at 72% 26%, rgba(221, 104, 60, .20), transparent 34%),
        linear-gradient(90deg, rgba(35, 31, 28, .62) 0%, rgba(98, 91, 82, .38) 52%, rgba(221, 104, 60, .22) 100%),
        rgba(35, 31, 28, .28);
}

.home-page .hero-grid {
    z-index: 2;
    align-items: end;
    padding-bottom: clamp(92px, 12vh, 150px);
}

.home-page .hero-copy {
    max-width: 940px;
}

.home-page .hero-copy h1 {
    text-wrap: balance;
    text-shadow: 0 26px 76px rgba(0, 0, 0, .38);
}

.home-page .hero-copy p {
    max-width: 760px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .84);
}

.home-page .hero-actions {
    margin-top: 30px;
}

.home-page .hero-actions .btn {
    min-height: 54px;
    padding-inline: 1.45rem;
    transition: transform .24s ease, background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.home-page .hero-story-panel {
    position: relative;
    padding: clamp(24px, 2.6vw, 34px);
    border-color: rgba(255, 255, 255, .26);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .025)),
        rgba(20, 18, 16, .24);
    box-shadow: 0 28px 82px rgba(0, 0, 0, .20);
}

.hero-scroll-cue {
    position: absolute;
    inset-inline-start: 50%;
    bottom: clamp(22px, 4vh, 42px);
    z-index: 3;
    width: 1px;
    height: 58px;
    overflow: hidden;
    background: rgba(255, 255, 255, .2);
}

.hero-scroll-cue span {
    display: block;
    width: 100%;
    height: 24px;
    background: #fff;
    animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
    0% {
        transform: translateY(-28px);
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    100% {
        transform: translateY(62px);
        opacity: 0;
    }
}

.home-section {
    position: relative;
    isolation: isolate;
}

.home-section::before {
    content: "";
    position: absolute;
    inset-inline: clamp(20px, 4vw, 64px);
    top: 0;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(35, 31, 28, .14), transparent);
}

.home-section-programs {
    margin-top: -1px;
    padding-top: clamp(44px, 5vw, 64px);
}

.home-action-section {
    overflow: hidden;
    padding: clamp(36px, 4vw, 52px) 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(35, 31, 28, .96), rgba(79, 70, 60, .9) 48%, rgba(221, 104, 60, .74)),
        url("../images/content/rahma-field-volunteers-pexels-20333030.jpeg") center/cover;
}

.home-action-section::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26), transparent);
}

.home-action-section .site-shell {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 58px);
    align-items: stretch;
}

.home-action-heading h2 {
    max-width: 620px;
    margin: 8px 0 0;
    font-size: clamp(28px, 3.1vw, 46px);
    line-height: 1.22;
    font-weight: 900;
    text-wrap: balance;
}

.home-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-action-card {
    position: relative;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 26px 84px rgba(0, 0, 0, .18);
    backdrop-filter: blur(12px);
    transition: transform .24s ease, border-color .24s ease, background-color .24s ease;
}

.home-action-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, transparent, #000 28%, #000);
    opacity: .62;
    pointer-events: none;
}

.home-action-card:hover {
    border-color: rgba(255, 255, 255, .54);
    color: #fff;
    background: rgba(255, 255, 255, .14);
    transform: translateY(-5px);
}

.home-action-number {
    position: absolute;
    inset-block-start: 22px;
    inset-inline-start: 24px;
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    font-weight: 900;
}

.home-action-card strong {
    position: relative;
    display: block;
    max-width: 420px;
    font-size: clamp(24px, 2.35vw, 34px);
    line-height: 1.16;
    font-weight: 900;
}

.home-action-card p {
    position: relative;
    max-width: 520px;
    margin: 14px 0 24px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.68;
}

.home-action-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.home-action-link::after {
    content: "";
    width: 44px;
    height: 1px;
    background: currentColor;
    transition: width .22s ease;
}

.home-action-card:hover .home-action-link::after {
    width: 64px;
}

.volunteer-card {
    background: rgba(221, 104, 60, .22);
}

.assistance-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(221, 104, 60, .24)),
        rgba(35, 31, 28, .2);
}

.home-section-programs::after,
.home-section-projects::after,
.home-section-news::after {
    content: "";
    position: absolute;
    inset-block: clamp(42px, 7vw, 86px);
    inset-inline-end: clamp(22px, 7vw, 124px);
    z-index: -1;
    width: clamp(86px, 13vw, 180px);
    background:
        linear-gradient(180deg, rgba(221, 104, 60, .09), transparent 62%),
        linear-gradient(90deg, rgba(35, 31, 28, .045) 1px, transparent 1px);
    background-size: auto, 18px 18px;
    opacity: .72;
}

.home-page .section-heading {
    margin-bottom: clamp(22px, 2.5vw, 32px);
}

.home-page .section-heading h2,
.home-page .partner-strip-heading h2,
.home-page .impact-intro h2,
.home-page .cta-inner h2,
.home-page .home-map-info h2 {
    text-wrap: balance;
}

.home-page .section-heading a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.home-page .section-heading a::after {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    transition: width .22s ease;
}

.home-page .section-heading a:hover::after {
    width: 52px;
}

.home-page .program-card,
.home-page .project-card,
.home-page .news-card {
    border-color: rgba(35, 31, 28, .08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)),
        var(--paper);
    box-shadow: 0 18px 58px rgba(35, 31, 28, .08);
    will-change: transform;
}

.home-page .program-card::before,
.home-page .project-card::before,
.home-page .news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 46%);
    pointer-events: none;
}

.home-page .program-card::after,
.home-page .project-card::after,
.home-page .news-card::after {
    height: 3px;
    background: linear-gradient(90deg, var(--brand-orange), rgba(156, 147, 134, .34), transparent);
}

.home-page .program-card:hover,
.home-page .project-card:hover,
.home-page .news-card:hover {
    border-color: rgba(221, 104, 60, .28);
    box-shadow: 0 32px 90px rgba(35, 31, 28, .16);
    transform: translateY(-7px);
}

.home-page .program-card > img,
.home-page .project-card > img,
.home-page .news-card > img {
    height: clamp(238px, 18vw, 310px);
    filter: saturate(.94) contrast(1.02);
}

.home-page .program-card:hover > img,
.home-page .project-card:hover > img,
.home-page .news-card:hover > img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.055);
}

.home-page .program-card h3,
.home-page .project-card h3,
.home-page .news-card h3 {
    text-wrap: balance;
}

.home-page .program-card p,
.home-page .project-card p,
.home-page .news-card p {
    font-size: 16.5px;
}

.cinematic-band {
    overflow: hidden;
}

.cinematic-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 92px 92px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    pointer-events: none;
}

.cinematic-band > .site-shell {
    position: relative;
    z-index: 1;
}

.home-page .impact-band {
    padding: clamp(44px, 5vw, 64px) 0;
    background:
        linear-gradient(135deg, rgba(18, 16, 14, .96), rgba(53, 47, 41, .9) 46%, rgba(145, 76, 50, .74)),
        url("../images/content/rahma-field-volunteers-pexels-8813544.jpeg") center/cover;
}

.home-page .impact-grid {
    gap: clamp(16px, 2vw, 26px);
}

.home-page .impact-stat {
    border-color: rgba(255, 255, 255, .18);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
    box-shadow: 0 22px 70px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.home-page .partner-logo {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}

.home-page .partner-logo:hover {
    border-color: rgba(221, 104, 60, .18);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 22px 58px rgba(35, 31, 28, .1);
    transform: translateY(-3px);
}

.home-page .final-cta {
    background:
        linear-gradient(135deg, rgba(18, 16, 14, .94), rgba(80, 67, 57, .82) 46%, rgba(221, 104, 60, .72)),
        url("../images/content/rahma-field-volunteers-pexels-4884214.jpeg") center/cover;
}

.home-page .home-map-section {
    position: relative;
    overflow: hidden;
}

.reveal:nth-child(2) {
    transition-delay: .08s;
}

.reveal:nth-child(3) {
    transition-delay: .16s;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .hero-grid,
    .split-layout,
    .home-action-section .site-shell,
    .assistance-layout,
    .contact-grid,
    .board-detail-layout,
    .article-hero .site-shell {
        grid-template-columns: 1fr;
    }

    .home-action-grid {
        grid-template-columns: 1fr;
    }

    .assistance-panel {
        position: relative;
        top: auto;
        min-height: 300px;
    }

    .program-grid,
    .project-grid,
    .news-grid,
    .board-grid,
    .executive-grid,
    .values-grid,
    .admin-grid,
    .award-grid,
    .award-gallery,
    .impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-tools {
        grid-template-columns: 1fr;
    }

    .edit-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .edit-form textarea {
        grid-column: span 2;
    }

    .section-heading {
        grid-template-columns: 1fr;
    }

    .home-map-info {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 1250px) {
    .brand-logo {
        width: 190px;
        height: 48px;
    }

    .nav-link {
        font-size: 13px;
        padding-inline: 8px !important;
    }
}

@media (max-width: 760px) {
    .navbar {
        min-height: 72px;
    }

    .home-page .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 8px;
        background: rgba(35, 31, 28, .78);
        backdrop-filter: blur(18px);
    }

    .home-page .navbar-toggler {
        border-color: rgba(255, 255, 255, .55);
        background: rgba(255, 255, 255, .08);
    }

    .home-page .navbar-toggler-icon {
        filter: invert(1);
    }

    .brand-logo {
        width: 176px;
        height: 42px;
    }

    .hero-section,
    .hero-grid {
        min-height: auto;
    }

    .hero-grid {
        padding-top: 74px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 40px;
    }

    .impact-intro h2 {
        font-size: 34px;
    }

    .section-heading h2,
    .split-layout h2,
    .cta-inner h2,
    .project-listing-hero h1 {
        font-size: 34px;
    }

    .impact-stat strong,
    .impact-stat span {
        font-size: 38px;
    }

    .impact-stat {
        min-height: 0;
    }

    .hero-story-panel strong {
        font-size: 23px;
    }

    .program-grid,
    .project-grid,
    .news-grid,
    .board-grid,
    .executive-grid,
    .values-grid,
    .admin-grid,
    .award-grid,
    .award-gallery,
    .award-record-item,
    .impact-grid,
    .feature-row,
    .footer-grid,
    .admin-form,
    .admin-form.compact,
    .edit-form,
    .assistance-form,
    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-dashboard,
    .admin-tools {
        grid-template-columns: 1fr;
    }

    .admin-form > input,
    .admin-form > select,
    .admin-form > label,
    .admin-form > button,
    .admin-form.compact > input,
    .admin-form.compact > select,
    .admin-form.compact > label,
    .admin-form.compact > button {
        grid-column: auto;
    }

    .admin-field.wide,
    .admin-image-preview {
        grid-column: auto;
    }

    .admin-form textarea {
        grid-column: auto;
    }

    .section-content-grid,
    .section-image-manager,
    .section-image-upload,
    .field-partner-achievement-row {
        grid-template-columns: 1fr;
    }

    .image-field-editor {
        grid-column: auto;
    }

    .edit-form textarea {
        grid-column: auto;
    }

    .admin-row,
    .message-card,
    .message-card-header,
    .footer-bottom {
        flex-direction: column;
    }

    .message-card {
        grid-template-columns: 1fr;
    }

    .message-card-header {
        display: grid;
    }

    .message-meta-grid {
        grid-template-columns: 1fr;
    }

    .feature-row {
        padding: 0 0 28px;
    }

    .partner-strip-section,
    .regional-partner-strip-section {
        padding-top: 48px;
    }

    .partner-marquee {
        mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    }

    .partner-logo {
        width: 156px;
        height: 88px;
        padding: 16px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hero-scroll-cue {
        display: none;
    }

    .partner-marquee {
        overflow-x: auto;
        mask-image: none;
    }

    .partner-marquee-track {
        animation: none;
    }

    .partner-marquee-track[aria-hidden="true"] {
        display: none;
    }
}



/* ═══════════════════════════════════════════════════════
   PARTNERS ABROAD
   ═══════════════════════════════════════════════════════ */

.partners-abroad-hero {
    background:
        linear-gradient(135deg, rgba(26, 40, 50, .86) 0%, rgba(98, 91, 82, .72) 52%, rgba(42, 62, 42, .64) 100%),
        var(--page-hero-image, url("../images/content/rahma-field-volunteers-pexels-4884214.jpeg")) center 35% / cover no-repeat;
}

.partners-stats-strip {
    padding: clamp(36px, 5vw, 60px) 0;
}

.partners-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.pstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(24px, 4vw, 60px);
}

.pstat strong {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    color: var(--brand-orange);
    line-height: 1;
}

.pstat span {
    margin-top: 6px;
    color: var(--muted);
    font-size: clamp(13px, 1vw, 15px);
    text-align: center;
}

.pstat-divider {
    width: 1px;
    height: 48px;
    background: var(--line);
    flex-shrink: 0;
}

/* ─── Partners tab navigation ─── */
.partners-tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.partners-tab-nav::-webkit-scrollbar {
    display: none;
}

.partner-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 12px 20px 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    cursor: pointer;
    text-align: start;
    transition: border-color .18s, background .18s, box-shadow .18s;
}

html[dir="rtl"] .partner-tab-btn {
    padding: 12px 14px 12px 20px;
}

.partner-tab-btn:hover {
    border-color: var(--brand-orange);
    background: rgba(221, 104, 60, .04);
}

.partner-tab-btn.is-active {
    border-color: var(--brand-orange);
    background: var(--paper);
    box-shadow: 0 4px 20px rgba(221, 104, 60, .18);
}

.partner-tab-mono {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0;
}

.partner-tab-info {
    min-width: 0;
}

.partner-tab-info strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
    white-space: nowrap;
}

.partner-tab-info span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
    white-space: nowrap;
}

/* ─── Partner feature card ─── */
.partner-features-wrap {
    position: relative;
    min-height: 420px;
}

.partner-feature-card {
    display: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 20px 70px rgba(35, 31, 28, .09);
    animation: pfcReveal .32s ease;
}

.partner-feature-card.is-active {
    display: block;
}

@keyframes pfcReveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header strip */
.pfc-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: clamp(20px, 2.5vw, 32px) clamp(24px, 3vw, 44px);
    background: color-mix(in srgb, var(--partner-clr, #625b52) 12%, #fff);
    border-bottom: 1px solid color-mix(in srgb, var(--partner-clr, #625b52) 20%, transparent);
}

.pfc-header-logo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--partner-clr, var(--brand-taupe-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
    flex-shrink: 0;
}

.pfc-header-identity {
    flex: 1;
    min-width: 0;
}

.pfc-header-identity h2 {
    margin: 0 0 6px;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 900;
    line-height: 1.1;
}

.pfc-country {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.pfc-header-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1.5px solid var(--partner-clr, var(--brand-orange));
    border-radius: 999px;
    color: var(--partner-clr, var(--brand-orange)) !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .18s, color .18s;
    text-decoration: none;
}

.pfc-header-link:hover {
    background: var(--partner-clr, var(--brand-orange));
    color: #fff !important;
}

/* Body: 2-column content + gallery */
.pfc-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
}

html[dir="rtl"] .pfc-body {
    grid-template-columns: 380px 1fr;
}

.pfc-content {
    padding: clamp(24px, 3vw, 44px);
    border-inline-end: 1px solid var(--line);
}

html[dir="rtl"] .pfc-content {
    border-inline-end: none;
    border-inline-start: 1px solid var(--line);
}

.pfc-summary {
    font-size: clamp(14px, 1.2vw, 16.5px);
    line-height: 1.75;
    color: #4a4440;
    margin-bottom: 28px;
}

.pfc-section-label {
    margin: 0 0 14px;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--brand-orange);
}

.pfc-achievements {
    padding-top: 4px;
}

.pfc-achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pfc-achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    background: var(--cream);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid var(--line);
}

.achieve-icon {
    flex: 0 0 auto;
    color: #2a6e4e;
    margin-top: 2px;
}

/* Gallery column */
.pfc-gallery {
    padding: clamp(24px, 3vw, 44px);
    background: var(--cream);
}

.pfc-gallery-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
}

.pfc-gallery-btn {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: zoom-in;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.pfc-gallery-main {
    grid-column: 1 / -1;
}

.pfc-gallery-btn img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform .32s ease, filter .28s ease;
}

.pfc-gallery-main img {
    aspect-ratio: 16/9;
}

.pfc-gallery-thumb img {
    aspect-ratio: 4/3;
}

.pfc-gallery-btn:hover img {
    transform: scale(1.05);
    filter: brightness(1.06);
}

.pfc-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.28);
    opacity: 0;
    transition: opacity .22s;
}

.pfc-gallery-btn:hover .pfc-gallery-overlay {
    opacity: 1;
}

/* Partners navigation bar */
.partners-nav-bar--top {
    margin-top: 0;
    margin-bottom: 16px;
    padding-top: 0;
    padding-bottom: 16px;
    border-top: none;
    border-bottom: 1px solid var(--line);
}

.partners-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    gap: 16px;
}

.partner-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .18s, color .18s;
}

.partner-nav-btn:hover:not(:disabled) {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.partner-nav-btn:disabled {
    opacity: .38;
    cursor: default;
}

.partners-dots-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.partners-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.partner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sand);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background .18s, transform .18s;
}

.partner-dot.is-active {
    background: var(--brand-orange);
    transform: scale(1.5);
}

.partner-count-badge {
    font-size: 13px;
    color: var(--muted);
}

/* Partners CTA */
.partners-cta-section .split-layout {
    align-items: center;
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10, 8, 6, .92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-lightbox.is-open {
    display: flex;
}

.lightbox-img {
    max-width: min(96vw, 1100px);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 48px 140px rgba(0, 0, 0, .5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    inset-inline-end: 24px;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
    z-index: 9001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, .22);
}

/* ═══════════════════════════════════════════════════════
   STRATEGY & GOVERNANCE
   ═══════════════════════════════════════════════════════ */

.strategy-hero {
    background:
        linear-gradient(135deg, rgba(30, 45, 64, .88) 0%, rgba(98, 91, 82, .72) 58%, rgba(46, 30, 20, .70) 100%),
        var(--page-hero-image, url("../images/content/rahma-field-volunteers-pexels-20333030.jpeg")) center 40% / cover no-repeat;
}

.strategy-period-header {
    margin-bottom: 28px;
}

.strategy-period-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: var(--brand-orange);
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .02em;
}

.strategy-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.vision-card {
    padding: clamp(32px, 4vw, 56px) clamp(24px, 3.5vw, 48px);
    border-radius: 12px;
}

.vision-card:first-child {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px 0 0 12px;
}

html[dir="rtl"] .vision-card:first-child {
    border-radius: 0 12px 12px 0;
}

.vision-dark {
    background: var(--brand-taupe-dark);
    color: #fff;
    border-radius: 0 12px 12px 0;
}

html[dir="rtl"] .vision-dark {
    border-radius: 12px 0 0 12px;
}

.vision-dark .eyebrow {
    color: #f3b08b;
}

.vision-card h2 {
    margin: 8px 0 18px;
    font-size: clamp(20px, 2.2vw, 32px);
    line-height: 1.22;
    font-weight: 900;
}

.vision-card p {
    margin: 0;
    font-size: clamp(14px, 1.15vw, 16.5px);
    line-height: 1.72;
    color: var(--muted);
}

.vision-dark p {
    color: rgba(255, 255, 255, .72);
}

/* Strategic Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar-card {
    padding: clamp(24px, 2.5vw, 36px) clamp(20px, 2vw, 28px);
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--paper);
    position: relative;
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    background: var(--pillar-accent, var(--brand-orange));
}

.pillar-number {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    color: var(--sand);
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.pillar-icon {
    font-size: 34px;
    display: block;
    line-height: 1;
    margin-bottom: 14px;
}

.pillar-card h3 {
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 900;
    margin: 0 0 10px;
    line-height: 1.25;
}

.pillar-card p {
    font-size: 13.5px;
    line-height: 1.62;
    color: var(--muted);
    margin: 0;
}

/* Governance layout */
.governance-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

html[dir="rtl"] .governance-layout {
    grid-template-columns: 420px 1fr;
}

.governance-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.governance-image-frame {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 20px 60px rgba(35, 31, 28, .11);
}

.governance-image-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: inherit;
}

.governance-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    background: #f7efe6;
}

.governance-tier {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    position: relative;
}

.governance-connector {
    height: 28px;
    width: 2px;
    background: var(--sand);
    margin: 0 auto;
}

.governance-tier-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    position: relative;
}

.governance-tier-4col::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--sand);
}

.governance-tier-4col::after {
    content: '';
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 14px;
    background: var(--sand);
}

.governance-node {
    padding: 16px 14px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
}

.governance-node strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.governance-node span {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.3;
}

.tier-top {
    background: var(--brand-taupe-dark);
    color: #fff;
    border-color: transparent;
    min-width: 220px;
}

.tier-top span {
    color: rgba(255,255,255,.65);
}

.tier-mid {
    background: var(--brand-orange);
    color: #fff;
    border-color: transparent;
    min-width: 220px;
}

.tier-mid span {
    color: rgba(255,255,255,.72);
}

.tier-low {
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 12px;
}

.governance-text-side h3 {
    margin: 0 0 16px;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 900;
}

.governance-text-side p {
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.72;
    color: var(--muted);
    margin-bottom: 14px;
}

.governance-text-side .inline-action {
    font-weight: 900;
    color: var(--brand-orange);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    padding: clamp(22px, 2.5vw, 32px) clamp(18px, 2vw, 28px);
    border-radius: 12px;
    border: 1px solid rgba(35, 31, 28, .09);
    background: var(--paper);
    transition: transform .2s, box-shadow .2s;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(35, 31, 28, .1);
}

.value-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}

.value-card h3 {
    font-size: 16px;
    font-weight: 900;
    margin: 0 0 8px;
}

.value-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
}

/* Transparency list */
.transparency-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 920px;
}

.transparency-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--paper);
    border-radius: 8px;
    border-inline-start: 3px solid var(--brand-orange);
    font-size: 14.5px;
    line-height: 1.55;
    box-shadow: 0 2px 12px rgba(35, 31, 28, .04);
}

.transparency-list .check {
    flex: 0 0 auto;
    color: var(--brand-orange);
    font-weight: 900;
    font-size: 17px;
    line-height: 1.55;
}

/* Strategy CTA section */
.strategy-cta-section {
    background:
        linear-gradient(135deg, var(--brand-taupe-dark) 0%, #3a2018 100%);
    color: #fff;
}

.strategy-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(24px, 4vw, 72px);
    align-items: center;
}

.strategy-cta-inner .eyebrow {
    color: #f3b08b;
}

.strategy-cta-inner h2 {
    margin: 8px 0 14px;
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.1;
}

.strategy-cta-inner p {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.65;
    color: rgba(255,255,255,.75);
    max-width: 580px;
}

.strategy-cta-inner .btn-outline-secondary {
    border-color: rgba(255,255,255,.5);
    color: #fff;
    background: transparent;
}

.strategy-cta-inner .btn-outline-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
}

/* ─── Responsive: Partners & Strategy ─── */
@media (max-width: 1100px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .governance-layout {
        grid-template-columns: 1fr;
    }

    html[dir="rtl"] .governance-layout {
        grid-template-columns: 1fr;
    }

    .strategy-cta-inner {
        grid-template-columns: 1fr;
    }

    .pfc-body {
        grid-template-columns: 1fr 320px;
    }

    html[dir="rtl"] .pfc-body {
        grid-template-columns: 320px 1fr;
    }
}

@media (max-width: 860px) {
    /* Partners feature: stack on tablet */
    .pfc-body {
        grid-template-columns: 1fr;
    }

    html[dir="rtl"] .pfc-body {
        grid-template-columns: 1fr;
    }

    .pfc-content {
        border-inline-end: none;
        border-bottom: 1px solid var(--line);
    }

    html[dir="rtl"] .pfc-content {
        border-inline-start: none;
    }

    .pfc-gallery {
        border-top: none;
    }

    .pfc-gallery-stack {
        grid-template-columns: repeat(3, 1fr);
    }

    .pfc-gallery-main {
        grid-column: 1 / -1;
    }

    .pfc-gallery-main img {
        aspect-ratio: 16/7;
    }

    .pfc-gallery-thumb img {
        aspect-ratio: 16/9;
    }

    .pfc-header {
        flex-wrap: wrap;
    }

    /* Strategy */
    .strategy-vision-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .vision-card:first-child {
        border-radius: 12px 12px 0 0;
    }

    html[dir="rtl"] .vision-card:first-child {
        border-radius: 12px 12px 0 0;
    }

    .vision-dark {
        border-radius: 0 0 12px 12px;
    }

    html[dir="rtl"] .vision-dark {
        border-radius: 0 0 12px 12px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .transparency-list {
        grid-template-columns: 1fr;
    }

    .governance-tier-4col {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Shared */
    .partners-nav-bar {
        gap: 10px;
    }

    .partner-nav-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .pstat-divider {
        display: none;
    }

    .partners-stats-row {
        gap: 12px 32px;
    }
}

@media (max-width: 576px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .pfc-gallery-stack {
        grid-template-columns: repeat(2, 1fr);
    }

    .pfc-gallery-main img {
        aspect-ratio: 4/3;
    }

    .partner-tab-btn {
        padding: 10px 14px 10px 10px;
    }

    html[dir="rtl"] .partner-tab-btn {
        padding: 10px 10px 10px 14px;
    }

    .partner-tab-info strong {
        font-size: 13px;
    }
}

/* Reports library */
.reports-hero {
    min-height: 0;
    padding: clamp(52px, 5.5vw, 72px) 0;
    background:
        linear-gradient(90deg, rgba(25, 22, 19, .9) 0%, rgba(25, 22, 19, .7) 48%, rgba(25, 22, 19, .25) 100%),
        var(--page-hero-image) center 38% / cover no-repeat;
}

html[dir="rtl"] .reports-hero {
    background:
        linear-gradient(270deg, rgba(25, 22, 19, .9) 0%, rgba(25, 22, 19, .7) 48%, rgba(25, 22, 19, .25) 100%),
        var(--page-hero-image) center 38% / cover no-repeat;
}

.reports-hero::after {
    background: linear-gradient(180deg, transparent 48%, rgba(25, 22, 19, .34));
}

.reports-hero .site-shell {
    max-width: 1440px;
}

.reports-hero h1 {
    max-width: 850px;
}

.reports-intro-section {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 4vw, 52px) 0;
    background: var(--paper);
}

.reports-intro-section::after {
    position: absolute;
    top: 0;
    right: clamp(20px, 6vw, 100px);
    width: 1px;
    height: 100%;
    content: "";
    background: linear-gradient(transparent, rgba(221, 104, 60, .28), transparent);
}

html[dir="rtl"] .reports-intro-section::after {
    right: auto;
    left: clamp(20px, 6vw, 100px);
}

.reports-intro {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
}

.reports-intro-heading h2 {
    max-width: 680px;
    margin: 14px 0 0;
    font-size: clamp(38px, 4.2vw, 68px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -.045em;
}

html[dir="rtl"] .reports-intro-heading h2 {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(32px, 3.7vw, 56px);
    font-weight: 700;
    line-height: 1.4;
}

.reports-intro-copy {
    position: relative;
    padding: clamp(26px, 3vw, 40px);
    border: 1px solid rgba(221, 104, 60, .2);
    border-radius: 26px;
    background: linear-gradient(145deg, #fff 0%, #fbf4ec 100%);
    box-shadow: 0 24px 70px rgba(66, 52, 40, .09);
}

.reports-intro-copy p {
    margin: 0;
    color: #514941;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.85;
}

.reports-intro-mark {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 18px;
    color: var(--brand-orange);
    background: rgba(221, 104, 60, .1);
}

.reports-intro-mark svg,
.reports-empty-state svg {
    width: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reports-library {
    padding: clamp(36px, 4vw, 52px) 0;
    background: #f4eee6;
}

.reports-library-heading {
    margin-bottom: clamp(28px, 3vw, 42px);
}

.reports-category-count {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(221, 104, 60, .28);
    border-radius: 50%;
    color: var(--brand-orange-dark);
    background: rgba(255, 255, 255, .65);
    font-size: 20px;
    font-weight: 800;
}

.reports-sections {
    display: grid;
    gap: clamp(22px, 2.5vw, 34px);
}

.report-section-block {
    overflow: hidden;
    border: 1px solid rgba(35, 31, 28, .09);
    border-radius: 30px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 22px 70px rgba(69, 55, 43, .09);
}

.report-section-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(18px, 2vw, 30px);
    align-items: start;
    padding: clamp(24px, 2.5vw, 34px);
    border-bottom: 1px solid rgba(35, 31, 28, .08);
    background:
        radial-gradient(circle at 90% 0%, rgba(221, 104, 60, .11), transparent 30%),
        #fff;
}

html[dir="rtl"] .report-section-header {
    background:
        radial-gradient(circle at 10% 0%, rgba(221, 104, 60, .11), transparent 30%),
        #fff;
}

.report-section-number {
    color: var(--brand-orange);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: .9;
}

.report-section-header h3 {
    margin: 0 0 12px;
    font-size: clamp(27px, 2.8vw, 42px);
    letter-spacing: -.03em;
}

.report-section-header p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.report-section-total {
    padding: 9px 14px;
    border-radius: 999px;
    color: #635a51;
    background: #f6f0e9;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.report-document-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(20px, 2.2vw, 30px);
}

.report-document-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 142px;
    align-items: center;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(35, 31, 28, .1);
    border-radius: 20px;
    background: #fff;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.report-document-card::before {
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    content: "";
    background: var(--brand-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

html[dir="rtl"] .report-document-card::before {
    transform-origin: right;
}

.report-document-card:hover,
.report-document-card:focus-visible {
    z-index: 1;
    border-color: rgba(221, 104, 60, .36);
    outline: none;
    box-shadow: 0 18px 42px rgba(54, 43, 34, .13);
    transform: translateY(-4px);
}

.report-document-card:hover::before,
.report-document-card:focus-visible::before {
    transform: scaleX(1);
}

.report-pdf-icon {
    display: grid;
    width: 66px;
    height: 74px;
    place-items: center;
}

.report-pdf-icon svg {
    width: 58px;
    overflow: visible;
}

.pdf-sheet {
    fill: #fff7f3;
    stroke: var(--brand-orange);
    stroke-width: 2;
}

.pdf-fold,
.pdf-line {
    fill: none;
    stroke: var(--brand-orange);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-pdf-icon text {
    fill: var(--brand-orange-dark);
    font: 800 12px Inter, sans-serif;
    letter-spacing: .04em;
}

.report-document-content {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.report-document-content strong {
    font-size: 16px;
    line-height: 1.5;
}

.report-document-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.report-document-meta span {
    padding: 5px 9px;
    border-radius: 999px;
    color: #776e64;
    background: #f5f0ea;
    font-size: 11px;
    font-weight: 700;
}

.report-open-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #786f66;
    background: #f5f0ea;
    transition: color .2s ease, background .2s ease;
}

.report-document-card:hover .report-open-icon {
    color: #fff;
    background: var(--brand-orange);
}

.report-open-icon svg,
.report-more-link svg,
.report-back-link svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reports-empty-state {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: clamp(18px, 2vw, 28px);
    padding: 18px 20px;
    border: 1px dashed rgba(35, 31, 28, .18);
    border-radius: 18px;
    color: var(--muted);
    background: #fbf8f4;
}

.reports-empty-state > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    color: var(--brand-orange);
    background: rgba(221, 104, 60, .1);
}

.reports-empty-state p {
    margin: 0;
    line-height: 1.7;
}

.report-section-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 clamp(20px, 2.2vw, 30px) clamp(20px, 2.2vw, 28px);
}

.report-more-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    padding: 13px 18px;
    border: 1px solid rgba(35, 31, 28, .16);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.report-more-link:hover {
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
}

html[dir="rtl"] .report-more-link svg {
    transform: scaleX(-1);
}

.report-detail-hero {
    min-height: 470px;
    background:
        radial-gradient(circle at 85% 20%, rgba(221, 104, 60, .3), transparent 30%),
        linear-gradient(135deg, #211c18, #4b3b31);
}

html[dir="rtl"] .report-detail-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(221, 104, 60, .3), transparent 30%),
        linear-gradient(225deg, #211c18, #4b3b31);
}

.report-detail-hero h1 {
    max-width: 900px;
}

.report-back-link {
    display: flex;
    width: fit-content;
    gap: 10px;
    align-items: center;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 700;
}

html[dir="rtl"] .report-back-link svg {
    transform: scaleX(-1);
}

.report-detail-count {
    display: inline-flex;
    margin-top: 24px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
}

.report-detail-library {
    min-height: 45vh;
    background: #f4eee6;
}

.report-document-grid-all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
}

.reports-empty-large {
    display: grid;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(34px, 6vw, 76px);
    justify-items: center;
    text-align: center;
    background: #fff;
}

.reports-empty-large h2 {
    margin: 10px 0 0;
    font-size: clamp(26px, 3vw, 38px);
}

/* Reports admin */
.reports-admin-heading {
    align-items: flex-start;
}

.reports-admin-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-notice {
    margin: 0 0 24px;
    padding: 15px 18px;
    border: 1px solid;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
}

.admin-notice.success {
    color: #17663e;
    border-color: rgba(23, 102, 62, .22);
    background: #edf8f1;
}

.admin-notice.error {
    color: #9a3027;
    border-color: rgba(154, 48, 39, .2);
    background: #fff1ef;
}

.reports-admin-create-section,
.reports-admin-section-card {
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 56px rgba(54, 43, 34, .07);
}

.reports-admin-create-section {
    padding: clamp(24px, 4vw, 42px);
}

.reports-admin-panel-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
    margin-bottom: 26px;
}

.reports-admin-panel-title h2,
.reports-admin-panel-title h3 {
    margin: 8px 0 0;
}

.reports-admin-step {
    color: rgba(221, 104, 60, .32);
    font: 500 46px/1 Georgia, serif;
}

.reports-admin-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reports-admin-form > label,
.reports-admin-form > button,
.reports-document-edit-form > label,
.reports-document-edit-form > button {
    grid-column: span 1;
}

.reports-admin-form .admin-field.wide {
    grid-column: span 2;
}

.reports-admin-list {
    display: grid;
    gap: 28px;
}

.reports-admin-section-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 24px 28px;
    color: #fff;
    background: linear-gradient(135deg, #2a2521, #51473f);
}

.reports-admin-section-number {
    color: #f5a07f;
    font: 500 34px Georgia, serif;
}

.reports-admin-section-name h2 {
    margin: 0 0 4px;
    font-size: 23px;
}

.reports-admin-section-name p {
    margin: 0;
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
}

.reports-admin-section-status {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px 10px;
    align-items: center;
    text-align: end;
}

.reports-admin-section-status strong {
    font-size: 24px;
}

.reports-admin-section-status small {
    grid-column: 2;
    color: rgba(255, 255, 255, .6);
}

.admin-status-chip {
    grid-row: span 2;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.admin-status-chip.active {
    color: #b7f1cf;
    background: rgba(44, 154, 94, .18);
}

.admin-status-chip.inactive {
    color: #ffd1c8;
    background: rgba(221, 104, 60, .2);
}

.reports-admin-details {
    border-bottom: 1px solid var(--line);
    background: #faf7f3;
}

.reports-admin-details > summary {
    padding: 16px 28px;
    cursor: pointer;
    color: #61584f;
    font-size: 13px;
    font-weight: 800;
}

.reports-admin-details-body {
    padding: 4px 28px 28px;
}

.reports-admin-details-body .admin-delete-form {
    margin-top: 16px;
}

.reports-admin-documents-area {
    padding: clamp(24px, 4vw, 38px);
}

.compact-title {
    margin-bottom: 18px;
}

.reports-document-create-form {
    margin-bottom: 28px;
    padding: 22px;
    border: 1px dashed rgba(221, 104, 60, .28);
    border-radius: 18px;
    background: #fffaf6;
}

.report-file-field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.reports-admin-document-list {
    display: grid;
    gap: 14px;
}

.reports-admin-document-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.reports-admin-document-icon {
    display: grid;
    width: 54px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(221, 104, 60, .24);
    border-radius: 12px;
    color: var(--brand-orange-dark);
    background: #fff5f0;
    font-size: 11px;
    font-weight: 900;
}

.reports-document-edit-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.reports-document-actions {
    display: flex;
    gap: 8px;
    align-items: end;
}

.reports-admin-document-item > .admin-delete-form {
    margin: 0;
}

.reports-admin-empty {
    padding: 26px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
    background: #faf7f3;
}

@media (max-width: 1100px) {
    .report-document-grid,
    .report-document-grid-all {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reports-admin-form,
    .reports-document-edit-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .reports-hero {
        min-height: 0;
        padding: 54px 0;
    }

    .reports-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .report-section-header {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .report-section-total {
        grid-column: 2;
        justify-self: start;
    }

    .report-document-grid,
    .report-document-grid-all {
        grid-template-columns: 1fr;
    }

    .report-document-card {
        min-height: 126px;
    }

    .reports-admin-actions {
        justify-content: flex-start;
    }

    .reports-admin-section-summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .reports-admin-section-status {
        grid-column: 2;
        justify-content: start;
        text-align: start;
    }

    .reports-admin-document-item {
        grid-template-columns: 1fr;
    }

    .reports-admin-document-icon {
        display: none;
    }
}

@media (max-width: 576px) {
    .reports-intro-copy,
    .report-section-header,
    .report-document-grid,
    .reports-admin-create-section,
    .reports-admin-documents-area {
        padding: 22px;
    }

    .report-section-block {
        border-radius: 22px;
    }

    .report-section-number {
        font-size: 30px;
    }

    .report-document-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .report-open-icon {
        display: none;
    }

    .report-pdf-icon {
        width: 52px;
        height: 62px;
    }

    .report-pdf-icon svg {
        width: 48px;
    }

    .reports-admin-form,
    .reports-document-edit-form {
        grid-template-columns: 1fr;
    }

    .reports-admin-form .admin-field.wide {
        grid-column: auto;
    }

    .reports-admin-form > label,
    .reports-admin-form > button,
    .reports-document-edit-form > label,
    .reports-document-edit-form > button {
        grid-column: auto;
    }
}

/* Detail pages: calmer, proportionate headings (EN + AR) */
.detail-hero h1,
html[dir] .detail-hero h1 {
    max-width: 900px;
    font-size: clamp(26px, 2.6vw, 40px);
    line-height: 1.25;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.detail-hero p {
    max-width: 780px;
}

.site-footer .footer-grid p a {
    display: inline;
    text-align: start;
}

/* Site map */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px 36px;
}

.sitemap-group h2 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
}

.sitemap-group h2 a,
.sitemap-group li a {
    color: inherit;
    text-decoration: none;
}

.sitemap-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-group li {
    padding: 5px 0;
    font-size: 15px;
}

.sitemap-group li a:hover,
.sitemap-group h2 a:hover {
    color: var(--bs-primary, #dd683c);
    text-decoration: underline;
}

.notfound-sitemap h2 {
    margin-bottom: 22px;
    font-size: 26px;
    font-weight: 800;
}

/* Cards: clamp long text with an ellipsis instead of cutting mid-word */
.program-card p,
.project-card p,
.news-card p,
.project-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-card p,
.board-card-body p,
.executive-card p,
.executive-card-body p,
.award-card p,
.partner-feature-card p,
.home-action-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card h2,
.news-card h3,
.project-card h2,
.project-card h3,
.program-card h3,
.report-document-content strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Contact page */
.contact-grid {
    align-items: start;
}

.contact-panel h2 {
    margin-bottom: 22px;
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.contact-method {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

a.contact-method:hover,
a.contact-method:focus-visible {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .18);
    color: #fff;
    transform: translateY(-1px);
}

.contact-icon {
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-orange, #dd683c);
}

.contact-method-whatsapp .contact-icon {
    background: #25d366;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-method-text {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.contact-method-text small {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

html[dir="rtl"] .contact-method-text small {
    letter-spacing: 0;
}

.contact-method-text strong {
    overflow-wrap: anywhere;
    font-size: 17px;
    font-weight: 800;
}

.contact-note {
    margin: 0;
    font-size: 15px;
}

.contact-form h2 {
    margin: 0 0 18px;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 900;
}

.contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
    margin-bottom: 18px;
}

.contact-field {
    display: grid;
    align-content: start;
    gap: 6px;
    margin-top: 8px;
}

.contact-field label {
    margin: 0;
}

.contact-field-wide {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .contact-fields {
        grid-template-columns: 1fr;
    }
}

/* Shared form polish (contact, join us, assistance request) */
.form-panel .contact-fields {
    margin-bottom: 8px;
}

.form-panel .form-control,
.form-panel .form-select {
    min-height: 48px;
    border-color: #d9d2c7;
    border-radius: 10px;
}

.form-panel textarea.form-control {
    min-height: 120px;
}

.form-panel .form-control:focus,
.form-panel .form-select:focus {
    border-color: var(--brand-orange, #dd683c);
    box-shadow: 0 0 0 3px rgba(221, 104, 60, .18);
}

.form-panel .form-text {
    color: var(--muted, #6f675e);
    font-size: 13px;
}

.form-section-title {
    margin: 26px 0 6px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(221, 104, 60, .25);
    font-size: clamp(20px, 1.9vw, 26px);
    font-weight: 900;
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.form-panel .btn-primary-action {
    width: 100%;
    margin-top: 12px;
}

/* CAPTCHA */
.captcha-field {
    padding: 14px;
    border: 1px dashed #d9d2c7;
    border-radius: 12px;
    background: #fbf7f1;
}

.captcha-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.captcha-image {
    display: block;
    max-width: 100%;
    height: 56px;
    border: 1px solid #e3dccf;
    border-radius: 8px;
    background: #fff;
    user-select: none;
    -webkit-user-drag: none;
}

.captcha-refresh {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d2c7;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .3s ease;
}

.captcha-refresh:hover:not(:disabled) {
    background: #fff1ea;
    transform: rotate(90deg);
}

.captcha-refresh:disabled {
    opacity: .5;
}

.captcha-refresh svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--ink, #231f1c);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.captcha-input {
    flex: 1 1 140px;
    max-width: 200px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.captcha-input::placeholder {
    letter-spacing: normal;
}

.contact-field {
    align-content: end;
}

.form-panel {
    position: relative;
}

/* Assistance request: the old 2-column form grid left the new field grid in half the width */
.assistance-form {
    display: block;
}

.assistance-form h2.form-section-title {
    margin: 28px 0 10px;
    padding-top: 0;
    border-top: 0;
}

.assistance-form h2.form-section-title:first-of-type {
    margin-top: 0;
}

.assistance-form .contact-fields {
    margin-bottom: 4px;
}

.assistance-form button {
    justify-self: auto;
}
