/* ===============================
   Bakhtar International Base CSS
   =============================== */

:root {
    --primary: #0B0A44;
    --primary-deep: #020825;
    --gold: #D4AF37;
    --light-gold: #E5C46A;
    --white: #FFFFFF;
    --background: #F8F8F8;
    --text: #2E2E2E;
    --muted: #6F7280;
    --border: #E8E8E8;
    --shadow: 0 15px 40px rgba(0, 0, 0, .08);
    --shadow-strong: 0 22px 60px rgba(0, 0, 0, .16);
    --heading-font: "Cormorant Garamond", Georgia, serif;
    --body-font: "Inter", Arial, sans-serif;
    --container: 1280px;
    --transition: 260ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
}

[dir="rtl"] body {
    font-family: "Noto Naskh Arabic", var(--body-font);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .brand-text strong,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .cta h2,
[dir="rtl"] .page-hero h1 {
    font-family: "Noto Naskh Arabic", var(--heading-font);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 96px), var(--container));
    margin: 0 auto;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    z-index: 2000;
    top: 16px;
    left: 16px;
    width: auto;
    height: auto;
    padding: 10px 16px;
    clip: auto;
    color: var(--primary);
    background: var(--white);
    border-radius: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(212, 175, 55, .28);
}

.btn-gold {
    color: var(--white);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
}

.btn-outline {
    color: var(--white);
    border-color: rgba(212, 175, 55, .78);
    background: rgba(3, 8, 36, .34);
}

.btn-light-outline {
    min-height: 38px;
    color: var(--gold);
    background: var(--white);
    border-color: var(--gold);
}

.btn-small {
    padding: 0 20px;
    font-size: 13px;
}

/* Header */
.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    color: var(--white);
    transition: padding var(--transition), background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(3, 8, 36, .92);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
}

.brand-logo,
.brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

html:not(.site-branding-ready) .brand-logo,
html:not(.organization-assets-ready) img[src*="assets/images/organization_logos/"] {
    opacity: 0;
}

.brand-logo,
img[src*="assets/images/organization_logos/"] {
    transition: opacity .15s ease;
}

.brand-text {
    display: grid;
    color: var(--gold);
    line-height: 1;
    text-transform: uppercase;
}

.brand-text strong {
    font-family: var(--heading-font);
    font-size: 34px;
    letter-spacing: 1px;
}

.brand-text span {
    font-size: 13px;
    letter-spacing: 5px;
}

.primary-nav ul {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav a {
    position: relative;
    display: inline-flex;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 700;
}

.primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.active::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-control {
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-grid;
    width: 30px;
    height: 38px;
    padding: 0;
    place-items: center;
    color: var(--white);
    background: transparent;
    border: 0;
}

.nav-dropdown-toggle span {
    display: block;
    font-size: 20px;
    line-height: 1;
    transition: transform var(--transition);
}

.nav-dropdown.is-open .nav-dropdown-toggle span {
    transform: rotate(180deg);
}

.primary-nav .nav-dropdown-menu {
    position: absolute;
    z-index: 1010;
    top: calc(100% - 2px);
    left: 50%;
    display: grid;
    min-width: 310px;
    gap: 0;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    background: rgba(3, 8, 36, .98);
    border: 1px solid rgba(212, 175, 55, .32);
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    transform: translate(-50%, 8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.primary-nav .nav-dropdown-menu a {
    display: flex;
    width: 100%;
    padding: 10px 12px;
    color: rgba(255, 255, 255, .9);
    border-radius: 7px;
    font-size: 13px;
    white-space: nowrap;
}

.primary-nav .nav-dropdown-menu a::after {
    display: none;
}

.primary-nav .nav-dropdown-menu a:hover,
.primary-nav .nav-dropdown-menu a:focus-visible,
.primary-nav .nav-dropdown-menu a.active {
    color: var(--primary-deep);
    background: var(--gold);
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.donate-btn {
    min-height: 44px;
    padding: 0 22px;
}

.language-select select {
    min-width: 84px;
    min-height: 44px;
    color: var(--white);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    padding: 0 14px;
}

.language-select option {
    color: var(--primary);
}

[dir="rtl"] .language-select select {
    direction: rtl;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
}

/* Hero */
.section-dark {
    color: var(--white);
    background: var(--primary);
}

.section-light {
    background: radial-gradient(circle at top, #ffffff 0, #fbfaf7 44%, #f4f4f4 100%);
}

.inner-header {
    background: rgba(3, 8, 36, .96);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
}

[dir="rtl"] .governance-details {
    direction: rtl;
    text-align: right !important;
}

.hero {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 44px;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    background:
        url("../images/hero-bg.webp") center / cover no-repeat,
        linear-gradient(135deg, #051033, #03071f 68%, #091545);
}

.foundation-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image:
        radial-gradient(circle at 52% 18%, rgba(212, 175, 55, .2), transparent 18%),
        linear-gradient(90deg, rgba(3, 8, 36, .42), rgba(3, 8, 36, .18)),
        url("../images/hero-Bakhtar-foundation.webp"),
        linear-gradient(135deg, #051033, #03071f 68%, #091545);
}

.foundation-hero-bg + .hero-overlay {
    background:
        linear-gradient(180deg, rgba(3, 8, 36, .52) 0%, rgba(3, 8, 36, .22) 48%, rgba(3, 8, 36, .42) 100%),
        radial-gradient(ellipse at center, rgba(3, 8, 36, .26) 0%, transparent 70%);
}

.hero-overlay {
    background: var(--hero-overlay-heavy, rgba(3, 8, 36, .78));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}

.hero-content::before {
    position: absolute;
    z-index: -1;
    inset: 35% -10% -9%;
    content: "";
    pointer-events: none;
}

.hero-logo {
    width: 250px;
    height: auto;
    margin: 0 auto 4px;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .35));
}

.hero h1 {
    margin: 0;
    color: var(--light-gold);
    font-family: var(--heading-font);
    font-size: clamp(52px, 4.5vw, 72px);
    font-weight: 700;
    line-height: .82;
    text-transform: uppercase;
    text-shadow: 0 12px 28px rgba(0, 0, 0, .38);
}

.hero-subtitle {
    margin: 16px 0 0;
    color: var(--white);
    font-family: var(--heading-font);
    font-size: 27px;
    font-weight: 600;
    line-height: 1.2;
}

.hero-subtitle span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 10px 4px;
    background: var(--gold);
    border-radius: 50%;
}

.hero-divider,
.section-heading span {
    display: block;
    width: 300px;
    height: 1px;
    margin: 13px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-divider::after,
.section-heading span::after {
    display: block;
    width: 10px;
    height: 10px;
    margin: -4px auto 0;
    content: "";
    background: var(--gold);
    border-radius: 50%;
}

.hero-copy {
    margin: 16px 0 24px;
    color: rgba(255, 255, 255, .86);
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.news-article {
    background: var(--white);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 32px;
}

.news-article img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.news-article-content {
    padding: 42px;
}

.news-article-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.news-article-meta strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-article-meta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.news-article-block {
    margin-bottom: 28px;
}

.news-article-block h3 {
    margin-bottom: 16px;
    font-size: clamp(20px, 2vw, 26px);
    color: var(--primary);
}

.news-article-block p,
.news-article-content li {
    margin-bottom: 18px;
    color: var(--text);
}

.news-article-content ul {
    padding-left: 1.35rem;
}

.news-article-content ul li {
    margin-bottom: 12px;
}

.news-quote {
    padding: 26px 30px;
    margin: 38px 0;
    border-left: 5px solid var(--gold);
    background: #fff8e6;
    border-radius: 18px;
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.8;
}

.news-article-section + .news-article-section {
    margin-top: 36px;
}

.news-article-section[data-lang],
.lang-block[data-lang] {
    display: none !important;
}

.news-article-section[data-lang].active,
.lang-block[data-lang].active {
    display: block !important;
}

.news-article-section h3 {
    margin-bottom: 20px;
}

.news-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.news-footer-actions .btn {
    min-width: 200px;
}

/* Database-driven news listing */
.dynamic-news-section { background: radial-gradient(circle at top left, #fcfbfa 0%, #f3f5f8 100%); padding: 60px 0; }
.dynamic-news-section .container { max-width: 1180px; }
.dynamic-news-list { display: grid; gap: 24px; max-width: 100%; background: transparent; border: none; box-shadow: none; }
.dynamic-news-card { display: grid; grid-template-columns: 252px 1fr; gap: 28px; align-items: center; padding: 24px; background: var(--white); border: 1px solid rgba(11, 10, 68, .04); border-radius: 16px; box-shadow: 0 10px 30px rgba(3, 8, 36, .03); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.dynamic-news-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(3, 8, 36, .08); border-color: rgba(212, 175, 55, 0.25); }
.news-card-media { display: grid; gap: 10px; }
.news-image-link { display: block; }
.featured-news > .news-image-link, .news-card > .news-image-link { height: 100%; overflow: hidden; }
.dynamic-news-card > img, .dynamic-news-card .news-card-media > img, .dynamic-news-card .news-card-media > .news-image-link > img, .news-image-placeholder { width: 100%; aspect-ratio: 1.52; object-fit: cover; border-radius: 10px; transition: transform 0.4s ease, filter 0.4s ease; }
.dynamic-news-card:hover > img, .dynamic-news-card:hover .news-card-media > img, .dynamic-news-card:hover .news-card-media > .news-image-link > img { transform: scale(1.02); filter: brightness(1.02); }
.news-card-share { display: flex; flex-wrap: wrap; gap: 6px; }
.news-card-share a, .news-card-share button { display: inline-flex; min-height: 31px; align-items: center; justify-content: center; padding: 7px 9px; color: var(--primary); background: #fafbfe; border: 1px solid #d9dce5; border-radius: 6px; font: inherit; font-size: 11px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: color var(--transition), border-color var(--transition), background var(--transition); }
.news-card-share a:hover, .news-card-share button:hover { color: #8a5b00; border-color: var(--gold); background: #fff8ea; }
.news-card-share button { color: var(--white); background: var(--primary); border-color: var(--primary); gap: 5px; }
.news-card-share button:hover { color: var(--white); background: #202065; border-color: #202065; }
.news-image-placeholder { display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); font-family: var(--heading-font); font-size: 24px; font-weight: bold; border: 1px solid rgba(255, 255, 255, 0.05); }
.news-category { display: inline-flex; align-items: center; margin: 0 10px 10px 0; color: #9c6800; background: #fff3d9; border-radius: var(--radius-full); padding: 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid rgba(212, 175, 55, 0.12); }
.dynamic-news-card time, .dynamic-news-detail time { color: var(--muted); font-size: 12px; font-weight: 500; }
[dir="rtl"] .latest-news time,
[dir="rtl"] .dynamic-news-card time,
[dir="rtl"] .dynamic-news-detail time {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}
.dynamic-news-card h3 { margin: 8px 0 10px; color: var(--primary); font-family: var(--heading-font); font-size: 26px; line-height: 1.15; transition: color var(--transition); }
.dynamic-news-card:hover h3 { color: var(--gold); }
.dynamic-news-card p:not(.news-category) { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.news-read-link { display: inline-flex; align-items: center; color: var(--gold); font-size: 14px; font-weight: 700; text-decoration: none; transition: color var(--transition); }
.news-read-link:hover { color: var(--primary); }
.news-read-link span { padding-left: 6px; transition: transform 0.2s ease; }
.news-read-link:hover span { transform: translateX(4px); }
.dynamic-news-detail { max-width: 840px; padding: 42px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid rgba(11, 10, 68, 0.03); }
.news-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 36px; align-items: start; }
.news-detail-layout .dynamic-news-detail { max-width: none; }
.dynamic-news-detail > img { width: 100%; max-height: 480px; margin-bottom: 28px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(0, 0, 0, 0.05); }
.news-detail-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 28px; overflow: hidden; border-radius: 12px; background: #06091a; box-shadow: 0 12px 30px rgba(8, 13, 40, .18); }
.news-detail-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-detail-video-link { margin: 0 0 28px; }
.news-detail-video-link a { display: inline-flex; align-items: center; border-radius: 8px; background: var(--gold); padding: 11px 15px; color: var(--primary); font-weight: 700; text-decoration: none; }
.dynamic-news-detail h2, .dynamic-news-detail h3 { margin: 12px 0 24px; color: var(--primary); font-family: var(--heading-font); font-size: clamp(32px, 5vw, 44px); line-height: 1.15; }
.dynamic-news-content { margin-bottom: 32px; color: var(--text); font-size: 17px; line-height: 1.85; }
.news-article-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px; }
.news-article-navigation a { display: grid; gap: 5px; min-width: 0; padding: 16px; color: var(--primary); background: #fafbfe; border: 1px solid rgba(11, 10, 68, .1); border-radius: 10px; text-decoration: none; transition: border-color var(--transition), background var(--transition), transform var(--transition); }
.news-article-navigation a:hover, .news-article-navigation a:focus-visible { background: #fff8ea; border-color: var(--gold); transform: translateY(-2px); }
.news-article-navigation__next { text-align: right; }
.news-article-navigation a span { color: #9c6800; font-size: 12px; font-weight: 700; }
.news-article-navigation a strong { overflow: hidden; color: var(--primary); font-size: 14px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.news-article-navigation__empty { display: block; }
.news-share { margin: 0 0 28px; padding: 18px; border: 1px solid rgba(11, 10, 68, .08); border-radius: 12px; background: #fafbfe; }
.news-share > p { margin: 0 0 12px; color: var(--primary); font-size: 14px; font-weight: 700; }
.news-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.news-share-actions a, .news-share-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 12px; color: var(--primary); background: var(--white); border: 1px solid #d9dce5; border-radius: 7px; font: inherit; font-size: 12px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: border-color var(--transition), background var(--transition), color var(--transition); }
.news-share-actions a:hover, .news-share-button:hover { color: #8a5b00; border-color: var(--gold); background: #fff8ea; }
.news-share-button { color: var(--white); background: var(--primary); border-color: var(--primary); gap: 6px; }
.news-share-button:hover { color: var(--white); background: #202065; border-color: #202065; }
.news-share-status { display: block; min-height: 1.2em; margin-top: 8px; color: var(--muted); font-size: 12px; }
.news-share--compact { margin: 16px 0 0; padding: 12px; }
.news-share--compact > p { margin-bottom: 9px; font-size: 12px; }
.news-share--compact .news-share-actions { gap: 6px; }
.news-share--compact .news-share-actions a, .news-share--compact .news-share-button { min-height: 31px; padding: 7px 9px; font-size: 11px; }
.news-share--compact .news-share-status { margin-top: 5px; font-size: 11px; }
.news-empty { padding: 32px; color: var(--muted); background: var(--white); border-radius: 12px; text-align: center; font-weight: 500; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.03); }
.news-directory { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 36px; }
.news-sort { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.news-sort span { font-weight: 600; }
.news-sort select { min-width: 140px; padding: 10px 14px; color: var(--text); border: 1px solid #d9dce5; border-radius: 8px; background: var(--white); cursor: pointer; transition: border-color var(--transition); }
.news-sort select:focus { outline: none; border-color: var(--gold); }
.news-sidebar { display: grid; align-content: start; gap: 24px; }
.news-sidebar section { padding: 24px; background: var(--white); border: 1px solid rgba(11, 10, 68, .04); border-radius: 14px; box-shadow: 0 10px 30px rgba(3, 8, 36, .04); }
.news-sidebar h3 { position: relative; margin: 0 0 20px; padding-bottom: 12px; color: var(--primary); font-family: var(--heading-font); font-size: 22px; font-weight: 700; }
.news-sidebar h3::after { position: absolute; bottom: 0; left: 0; width: 44px; height: 2px; content: ""; background: var(--gold); }
.news-category-list { display: grid; gap: 6px; }
.news-category-list button, .news-category-list a { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; color: var(--text); text-align: left; background: transparent; border: 0; border-radius: 8px; cursor: pointer; transition: all var(--transition); font-weight: 500; text-decoration: none; }
.news-category-list button:hover, .news-category-list a:hover { color: #a66b00; background: #fff8ea; transform: translateX(3px); }
.news-category-list button.active, .news-category-list a.active { color: #a66b00; background: #fff3dc; font-weight: 600; }
.news-category-list span { display: grid; min-width: 24px; height: 20px; place-items: center; color: var(--muted); background: #f1f2f5; border-radius: 4px; font-size: 11px; font-weight: 600; }
.popular-news-list { display: grid; gap: 16px; }
.popular-news-list a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; color: var(--primary); font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; padding: 6px; border-radius: 8px; transition: background var(--transition); }
.popular-news-list a:hover { background-color: rgba(11, 10, 68, 0.03); }
.popular-news-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.05); }
.popular-news-list small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; font-size: 11px; }
.news-follow-card { background: linear-gradient(145deg, var(--primary) 0%, #202065 100%) !important; border-color: rgba(212,175,55,.4) !important; }
.news-follow-card h3, .news-follow-card p { color: var(--white); }
.news-follow-card h3::after { background: var(--gold); }
.news-follow-card p { margin: -5px 0 18px; font-size: 13px; line-height: 1.55; opacity: .84; }
.news-detail-social-links { display: grid; gap: 8px; }
.news-detail-social-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; color: var(--white); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background var(--transition), transform var(--transition); }
.news-detail-social-links a:hover { background: rgba(212,175,55,.25); transform: translateX(3px); }
.news-detail-social-links a span { display: grid; width: 20px; place-items: center; color: var(--gold); font-weight: 700; }
.news-sidebar-empty { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.news-follow-card .news-sidebar-empty { color: rgba(255,255,255,.78); }
.news-pagination { display: flex; gap: 8px; margin-top: 30px; }
.news-pagination button { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); background: var(--white); border: 1px solid #d9dce5; border-radius: 8px; cursor: pointer; transition: all var(--transition); font-weight: 600; }
.news-pagination button:hover { border-color: var(--gold); background-color: #fffcf5; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.news-pagination button.active { color: var(--white); background: var(--gold); border-color: var(--gold); box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25); }
.contact-form-status { min-height: 1.5em; margin: 14px 0 0; font-size: 14px; font-weight: 600; }
.contact-form-status.success { color: #18753b; }
.contact-form-status.error { color: #b91c1c; }


/* Section headings */
.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h2 {

    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
}

.gold-heading h2 {
    color: var(--light-gold);
}

.compact {
    margin-bottom: 22px;
}

.left-heading {
    text-align: left;
}

.left-heading span {
    margin-left: 0;
}

[dir="rtl"] .left-heading {
    text-align: right;
}

[dir="rtl"] .left-heading span {
    margin-right: 0;
    margin-left: auto;
}

/* Organizations */
.organizations {
    padding: 22px 0 28px;
}

.organization-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.about#about-foundation { padding: 20px 0; }
.mission-vision { padding: 20px 0; }
.impact.foundation-impact { background: var(--white); }
.foundation-about-image { border-radius: 18px; box-shadow: var(--shadow-strong); }
.foundation-timeline { padding: 40px 0; }
.timeline-intro { max-width: 720px; margin: 0 auto 32px; text-align: center; color: var(--muted); }
.timeline-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: milestone; }
.timeline-list li { position: relative; min-height: 132px; padding: 28px 22px 22px 70px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.timeline-list li::before { counter-increment: milestone; content: counter(milestone); position: absolute; top: 25px; left: 22px; display: grid; width: 32px; height: 32px; place-items: center; color: var(--primary); background: var(--light-gold); border-radius: 50%; font-weight: 700; }
.timeline-list strong, .timeline-list span { display: block; }
.timeline-list strong { color: var(--primary); font-family: var(--heading-font); font-size: 24px; line-height: 1; }
.timeline-list span { margin-top: 10px; color: var(--muted); font-size: 14px; }

.org-card,
.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.org-card:hover,
.project-card:hover,
.featured-news:hover,
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.org-card {
    min-height: 244px;
    padding: 25px 20px 20px;
    text-align: center;
}

.org-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.org-card:hover .org-logo {
    transform: scale(1.06);
}

.org-card h3,
.project-card h3,
.latest-news h3 {
    margin: 13px 0 7px;
    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 24px;
    line-height: 1;
}

.org-card h3 a {
    color: inherit;
    font: inherit;
}

.org-card p {
    min-height: 46px;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.35;
}

.org-card > a:not(.org-logo-link),
.project-body a {
    color: #B98920;
    font-size: 13px;
    font-weight: 700;
}

/* Impact */
.impact {
    padding: 24px 0 36px;
    background:
        radial-gradient(circle at center, rgba(14, 34, 96, .88), rgba(3, 8, 36, .98)),
        var(--primary);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.impact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    align-items: center;
    min-height: 82px;
    padding: 0 34px;
    border-right: 1px solid rgba(255, 255, 255, .25);
}

.impact-item:last-child {
    border-right: 0;
}

.impact-icon {
    grid-row: span 2;
    color: var(--gold);
    font-size: 50px;
    line-height: 1;
}

.impact-item strong {
    color: var(--light-gold);
    font-family: var(--heading-font);
    font-size: 52px;
    line-height: .9;
}

.impact-item p {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 700;
}

/* Projects and news */
.projects-news {
    padding: 24px 0 38px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
    gap: 44px;
}

.latest-news {
    padding-left: 44px;
    border-left: 1px solid rgba(180, 147, 60, .45);
}

.latest-news--full {
    padding-left: 0;
    border-left: 0;
}

/* Landing-page news after the projects column was removed. */
.latest-news--full #newsFeed {
    display: grid;
    gap: 20px;
}

.latest-news--full .featured-news {
    grid-template-columns: minmax(360px, 44%) minmax(0, 1fr);
    gap: 0;
    min-height: 285px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(11, 10, 68, .08);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(3, 8, 36, .06);
}

.latest-news--full .featured-news img {
    height: 100%;
    aspect-ratio: auto;
}

.latest-news--full .featured-news > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 32px 36px;
}

.latest-news--full .featured-news h3 {
    max-width: 720px;
    margin: 10px 0 20px;
    font-size: clamp(29px, 2.5vw, 40px);
    line-height: 1.14;
}

.latest-news--full .news-excerpt {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.latest-news--full .news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.latest-news--full .news-card {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 158px;
    padding: 14px;
    border: 1px solid rgba(11, 10, 68, .08);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(3, 8, 36, .05);
}

.latest-news--full .news-card img {
    width: 250px;
    border-radius: 8px;
}

.latest-news--full .news-card h3 {
    margin: 7px 0 16px;
    font-size: 20px;
    line-height: 1.25;
}

.latest-news--full .news-card .news-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1100px) {
    .latest-news--full .featured-news {
        grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
        min-height: 260px;
    }

    .latest-news--full .featured-news > div { padding: 26px 28px; }
    .latest-news--full .featured-news h3 { font-size: clamp(28px, 3.5vw, 35px); }
    .latest-news--full .news-card { grid-template-columns: 122px minmax(0, 1fr); gap: 15px; }
    .latest-news--full .news-card img { width: 122px; }
}

@media (max-width: 1200px) {
    .latest-news--full .news-card {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }

    .latest-news--full .news-card > .news-image-link { height: auto; }
    .latest-news--full .news-card img {
        width: 100%;
        height: 200px;
        aspect-ratio: auto;
        border-radius: 0;
    }

    .latest-news--full .news-card > div { padding: 18px; }
}

@media (max-width: 840px) {
    .latest-news--full .featured-news {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .latest-news--full .featured-news > .news-image-link { height: auto; }
    .latest-news--full .featured-news img { height: auto; aspect-ratio: 1.7; }
    .latest-news--full .featured-news > div { padding: 24px; }
    .latest-news--full .news-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .latest-news--full #newsFeed { gap: 16px; }
    .latest-news--full .featured-news > div { padding: 20px; }
    .latest-news--full .featured-news h3 { margin-bottom: 18px; font-size: 30px; }
    .latest-news--full .news-card { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 0; overflow: hidden; }
    .latest-news--full .news-card > .news-image-link { height: auto; }
    .latest-news--full .news-card img { width: 100%; height: auto; aspect-ratio: 1.75; }
    .latest-news--full .news-card > div { padding: 16px; }
}

[dir="rtl"] .latest-news {
    padding-right: 44px;
    padding-left: 0;
    border-right: 1px solid rgba(180, 147, 60, .45);
    border-left: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    overflow: hidden;
}

.project-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.48;
    background: #d9d9d9;
}

.project-image img,
.featured-news img,
.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.project-card:hover img,
.featured-news:hover img,
.news-card:hover img {
    transform: scale(1.07);
}

.project-image span {
    position: absolute;
    left: 18px;
    bottom: -19px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    font-size: 22px;
}

.project-image span.gold {
    background: var(--gold);
}

.project-body {
    padding: 30px 20px 22px;
}

.project-body p {
    min-height: 58px;
    margin: 0 0 18px;
    font-size: 14px;
}

.featured-news,
.news-card {
    background: rgba(255, 255, 255, .72);
    transition: transform var(--transition), box-shadow var(--transition);
}

.featured-news {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 18px;
    align-items: center;
    padding: 0 18px 0 0;
    margin-bottom: 18px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-news img {
    aspect-ratio: 1.8;
}

.news-media {
    overflow: hidden;
    background: #111;
    aspect-ratio: 1.8;
}

.news-media img,
.news-media iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.news-more-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: #fff !important;
    background: var(--gold);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}

.news-more-button:hover { background: #a66b00; transform: translateY(-1px); }

.latest-news time {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-radius: 5px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 700;
}

.featured-news h3 {
    margin-top: 0;
    font-size: 22px;
}

.news-title-link {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-decoration: none;
}

.news-title-link:hover,
.news-title-link:focus-visible {
    color: var(--gold);
    text-decoration: underline;
}

.news-list {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.news-card {
    display: grid;
    grid-template-columns: 134px 1fr;
    gap: 18px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(11, 10, 68, .2);
}

.news-card img {
    aspect-ratio: 1.55;
    border-radius: 4px;
}

.news-card time {
    color: var(--muted);
    background: transparent;
    padding: 0;
}

.news-card h3 {
    margin: 0 0 5px;
    font-family: var(--body-font);
    font-size: 14px;
    line-height: 1.35;
}

/* Partners */
.partners {
    padding: 0 0 24px;
    overflow: hidden;
}

.partner-carousel {
    position: relative;
    overflow: hidden;
    direction: ltr;
    background: var(--white);
}

.partner-carousel::before,
.partner-carousel::after {
    position: absolute;
    z-index: 2;
    top: 0;
    width: 140px;
    height: 100%;
    content: "";
    pointer-events: none;
}

.partner-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}

.partner-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), transparent);
}

.partner-track {
    display: flex;
    align-items: center;
    width: max-content;
    --partner-gap: 66px;
    direction: ltr;
    transform-origin: left center;
    padding: 18px 0;
    animation: partners-scroll 28s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.partner-logo-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--partner-gap);
    padding-right: var(--partner-gap);
}

.partner-carousel:hover .partner-track {
    animation-play-state: paused;
}

.partner-track img {
    width: 150px;
    height: 52px;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.05);
}

@keyframes partners-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-33.333333%, 0, 0);
    }
}

/* CTA */
.cta {
    position: relative;
    padding: 36px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at left, rgba(212, 175, 55, .12), transparent 28%),
        radial-gradient(circle at right, rgba(212, 175, 55, .1), transparent 24%),
        var(--primary);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}

.cta h2 {
    margin: 0 0 8px;
    color: var(--light-gold);
    font-family: var(--heading-font);
    font-size: 34px;
    line-height: 1;
}

.cta p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
}

.cta-actions {
    display: flex;
    gap: 28px;
}

/* Footer */
.site-footer {
    color: rgba(255, 255, 255, .84);
    background: linear-gradient(180deg, #030a2d, #02061d);
    border-top: 1px solid rgba(212, 175, 55, .45);
}

.phone-number,
.ltr-number {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(130px, 1fr));
    gap: 32px;
    padding: 34px 0 24px;
}

.footer-brand .brand {
    margin-bottom: 12px;
}

.footer-brand img {
    width: 72px;
    height: 72px;
}

.footer-brand p,
.site-footer li,
.site-footer address,
.site-footer a,
.site-footer form,
.site-footer input {
    font-size: 13px;
    font-style: normal;
}

.site-footer h3 {
    margin: 10px 0 16px;
    color: var(--gold);
    font-size: 15px;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a {
    transition: color var(--transition);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--light-gold);
}

.footer-contact {
    min-width: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 11px;
    line-height: 1.5;
}

.footer-contact-item svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.install-platform-list {
    display: grid;
    gap: 8px;
}

.site-footer .install-platform-list li + li {
    margin-top: 0;
}

.site-footer .install-platform-list a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
}

.install-platform-list svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.install-platform-list a[data-install-platform="ios"] svg,
.install-platform-list a[data-install-platform="windows"] svg {
    fill: var(--gold);
    stroke: none;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, .62);
    border-radius: 50%;
}

.newsletter-form {
    display: flex;
    align-items: stretch;
    gap: 6px;
    margin-top: 14px;
    padding: 4px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
}

.newsletter-form label {
    display: block;
    flex: 1;
    min-width: 0;
}

.newsletter-form input {
    width: 100%;
    min-height: 44px;
    min-width: 0;
    color: var(--white);
    background: transparent;
    border: 0;
    padding: 0 12px;
}

.newsletter-form button {
    flex: 0 0 auto;
    min-width: 94px;
    min-height: 44px;
    padding: 0 14px;
    color: var(--white);
    font-size: 13px;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border: 0;
    border-radius: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.footer-bottom nav {
    display: flex;
    gap: 28px;
}

[dir="rtl"] .site-footer,
[dir="rtl"] .contact-info-card,
[dir="rtl"] .contact-form-card {
    text-align: right;
}

.back-to-top {
    position: fixed;
    z-index: 999;
    right: 34px;
    bottom: 28px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Contact page */
.page-hero {
    background:
        radial-gradient(circle at 22% 18%, rgba(212, 175, 55, .18), transparent 24%),
        radial-gradient(circle at 80% 30%, rgba(229, 196, 106, .12), transparent 26%),
        linear-gradient(135deg, #030a2d, var(--primary) 52%, #02061d);
}

.about-hero,
.events-hero,
.contact-hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#contact-address { white-space: pre-line; }

.page-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .7), transparent);
}

.page-hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background: var(--hero-overlay-heavy, rgba(3, 8, 36, .78));
}

.page-hero-inner { position: relative; z-index: 1; }


.page-hero-inner {
    max-width: 820px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--light-gold);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0;
    color: var(--light-gold);
    font-family: var(--heading-font);
    font-size: clamp(44px, 4vw, 64px);
    line-height: .95;
}

.page-hero p:last-child {
    max-width: 720px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
}

/* Media Centre */
.media-hero {
    min-height: 700px;
    padding-bottom: 96px;
    background-color: #061235;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    isolation: isolate;
}

.media-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 8, 36, .92) 0%, rgba(3, 8, 36, .72) 48%, rgba(3, 8, 36, .42) 100%),
        linear-gradient(0deg, rgba(3, 8, 36, .58), transparent 58%);
}

.media-hero .page-hero-inner { position: relative; z-index: 1; }
.media-hero-logo { display: block; width: min(220px, 48vw); margin: 0 auto 18px; }
.media-hero::after { z-index: 2; }

.solidarity-hero { min-height: 640px; background: #061235 url("../images/hero-bg.webp") center / cover no-repeat; }
.solidarity-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3, 8, 36, .88), rgba(3, 8, 36, .48)); }
.solidarity-hero-inner { position: relative; z-index: 1; text-align: center; }
.solidarity-hero-logo { display: block; width: min(230px, 50vw); margin: 0 auto 20px; }
.solidarity-intro { padding: 92px 0; }
.solidarity-intro-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.solidarity-intro-inner h2 { margin-bottom: 18px; }
.solidarity-intro-inner p { margin-bottom: 30px; color: var(--text); line-height: 1.8; }
.media-section { padding: 76px 0 94px; }
.media-section .section-heading { margin-bottom: 28px; }
.media-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.media-filters button { padding: 10px 18px; color: var(--primary); background: var(--white); border: 1px solid #dce0e9; border-radius: 999px; font-size: 13px; font-weight: 700; transition: var(--transition); }
.media-filters button:hover, .media-filters button.active { color: var(--white); background: var(--primary); border-color: var(--primary); box-shadow: 0 8px 18px rgba(11, 10, 68, .16); }
.media-featured { margin-bottom: 36px; padding: 26px; background: var(--white); border: 1px solid rgba(11, 10, 68, .06); border-radius: 18px; box-shadow: var(--shadow); }
.media-featured-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: 34px; }
.media-thumbnail { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: var(--primary); border: 0; border-radius: 12px; aspect-ratio: 16 / 9; }
.media-thumbnail::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(2, 8, 37, .36)); transition: background var(--transition); }
.media-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.media-thumbnail:hover img, .media-thumbnail:focus-visible img { transform: scale(1.045); }
.media-thumbnail:hover::after, .media-thumbnail:focus-visible::after { background: rgba(3, 8, 36, .18); }
.media-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; padding-left: 4px; color: var(--white); background: rgba(11, 10, 68, .86); border: 2px solid rgba(255,255,255,.85); border-radius: 50%; box-shadow: 0 10px 24px rgba(0,0,0,.3); transform: translate(-50%, -50%); transition: transform var(--transition), background var(--transition); }
.media-thumbnail:hover .media-play, .media-thumbnail:focus-visible .media-play { background: var(--gold); transform: translate(-50%, -50%) scale(1.08); }
.media-card-copy h2 { margin: 10px 0 12px; color: var(--primary); font-family: var(--heading-font); font-size: clamp(27px, 3vw, 42px); line-height: 1; }
.media-card-copy p:not(.media-category) { margin: 0 0 18px; color: var(--muted); line-height: 1.7; }
.media-category { display: inline-flex; margin: 0; padding: 4px 11px; color: #8c6100; background: #fff4d9; border: 1px solid rgba(212,175,55,.18); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.media-card-copy time { color: var(--muted); font-size: 13px; font-weight: 600; }
.media-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.media-card-footer time, .media-card-footer .news-read-link { flex: 0 0 auto; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.media-video-card { overflow: hidden; background: var(--white); border: 1px solid rgba(11, 10, 68, .06); border-radius: 14px; box-shadow: 0 10px 28px rgba(3,8,36,.05); transition: transform var(--transition), box-shadow var(--transition); }
.media-video-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.media-video-card .media-thumbnail { border-radius: 0; }
.media-video-card .media-play { width: 48px; height: 48px; font-size: 13px; }
.media-video-card .media-card-copy { padding: 19px 20px 21px; }
.media-video-card h2 { min-height: 51px; margin: 10px 0 12px; font-size: 26px; }
.media-video-card .media-card-copy p:not(.media-category) { display: -webkit-box; overflow: hidden; min-height: 45px; margin-bottom: 14px; font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.media-empty { padding: 38px; color: var(--muted); background: var(--white); border: 1px solid var(--border); border-radius: 14px; text-align: center; box-shadow: 0 8px 22px rgba(3,8,36,.03); }
.video-dialog { width: min(1000px, calc(100% - 32px)); padding: 0; overflow: visible; color: var(--white); background: #05051d; border: 1px solid rgba(212,175,55,.6); border-radius: 12px; box-shadow: 0 26px 90px rgba(0,0,0,.55); }
.video-dialog::backdrop { background: rgba(2, 4, 21, .82); backdrop-filter: blur(4px); }
.video-frame-wrap { width: 100%; aspect-ratio: 16 / 9; }
.video-frame-wrap iframe { width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; z-index: 1; top: -16px; right: -16px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: var(--primary); background: var(--gold); border: 2px solid var(--white); border-radius: 50%; font-size: 27px; line-height: 1; }
.landing-media { padding: 90px 0; background: linear-gradient(120deg, rgba(3, 8, 36, .98), rgba(11, 10, 68, .9)), url("../images/hero-bg.webp") center / cover; }
.landing-media-inner { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 58px; align-items: center; }
.landing-media-copy h2 { max-width: 510px; margin: 0 0 18px; color: var(--white); font-family: var(--heading-font); font-size: clamp(38px, 4vw, 59px); line-height: .94; }
.landing-media-copy > p:not(.eyebrow) { max-width: 480px; margin: 0 0 28px; color: rgba(255,255,255,.78); font-size: 17px; }
.landing-media-player { overflow: hidden; border: 1px solid rgba(212,175,55,.55); border-radius: 13px; box-shadow: 0 22px 48px rgba(0,0,0,.25); aspect-ratio: 16 / 9; }
.landing-media-player iframe { width: 100%; height: 100%; border: 0; }
.landing-media-placeholder { display: grid; place-items: center; align-content: center; gap: 14px; min-height: 280px; color: rgba(255,255,255,.72); background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(212,175,55,.11)), radial-gradient(circle at 68% 30%, rgba(212,175,55,.25), transparent 28%); border: 1px solid rgba(212,175,55,.46); border-radius: 13px; box-shadow: 0 22px 48px rgba(0,0,0,.25); aspect-ratio: 16 / 9; }
.landing-media-placeholder span { display: grid; place-items: center; width: 70px; height: 70px; padding-left: 4px; color: var(--primary); background: var(--gold); border-radius: 50%; font-size: 20px; box-shadow: 0 10px 28px rgba(0,0,0,.26); }
.landing-media-placeholder p { margin: 0; font-size: 15px; font-weight: 600; }
.social-links a[hidden] { display: none !important; }

/* Content skeletons */
.skeleton { position: relative; overflow: hidden; background: #e7eaf0; border-radius: 8px; }
.skeleton::after { position: absolute; inset: 0; content: ""; background: linear-gradient(100deg, transparent 15%, rgba(255,255,255,.7) 45%, transparent 75%); animation: skeleton-shimmer 1.25s infinite; transform: translateX(-100%); }
.skeleton-line { height: 14px; margin-bottom: 11px; }
.skeleton-line--short { width: 42%; }
.skeleton-line--title { width: 78%; height: 25px; }
.skeleton-line--copy { width: 92%; }
.skeleton-line--copy-short { width: 64%; }
.news-skeleton-card { display: grid; grid-template-columns: 252px 1fr; gap: 28px; align-items: center; padding: 24px; background: var(--white); border: 1px solid rgba(11,10,68,.04); border-radius: 16px; box-shadow: 0 10px 30px rgba(3,8,36,.03); }
.news-skeleton-image { width: 100%; aspect-ratio: 1.52; }
.media-skeleton-feature { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 34px; padding: 26px; background: var(--white); border: 1px solid rgba(11,10,68,.06); border-radius: 18px; box-shadow: var(--shadow); }
.media-skeleton-image { width: 100%; aspect-ratio: 16 / 9; }
.media-skeleton-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; margin-top: 36px; }
.media-skeleton-card { padding-bottom: 21px; overflow: hidden; background: var(--white); border: 1px solid rgba(11,10,68,.06); border-radius: 14px; }
.media-skeleton-card .skeleton { margin-bottom: 17px; border-radius: 0; }
.media-skeleton-card .skeleton-line { margin-right: 20px; margin-left: 20px; }
@keyframes skeleton-shimmer { to { transform: translateX(100%); } }

/* About page */
.about-hero { background: radial-gradient(circle at 76% 24%, rgba(212,175,55,.22), transparent 20%), radial-gradient(circle at 18% 70%, rgba(229,196,106,.09), transparent 25%), linear-gradient(135deg, #030a2d, var(--primary) 52%, #02061d); }
.about-intro { padding: 102px 0; }
.about-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.about-split h2, .about-purpose h2 { margin: 0; color: var(--primary); font-family: var(--heading-font); font-size: clamp(42px, 4.6vw, 66px); line-height: .91; }
.about-split > div:last-child { max-width: 625px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.about-split p { margin: 0 0 20px; }
.about-purpose { padding: 92px 0; background: linear-gradient(120deg, var(--primary-deep), var(--primary)); }
.about-purpose-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 82px; align-items: center; }
.about-purpose h2 { color: var(--white); }
.about-purpose article:last-child { padding: 30px 0 30px 42px; border-left: 1px solid rgba(212,175,55,.6); color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.8; }
.about-purpose article:last-child p:last-child { margin: 0; }
.about-work, .about-values { padding: 96px 0; }
.about-work-grid, .about-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 42px; background: #dde0e8; border: 1px solid #dde0e8; }
.about-work-grid article, .about-values-grid article { min-height: 248px; padding: 31px 27px; background: var(--white); }
.about-work-grid strong, .about-values-grid span { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.about-work-grid h3, .about-values-grid h3 { margin: 24px 0 10px; color: var(--primary); font-family: var(--heading-font); font-size: 28px; line-height: 1; }
.about-work-grid p, .about-values-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.about-values { background: #f1f3f6; }
.about-leadership { padding: 96px 0; }
.about-leadership-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.about-leadership h2, .about-history h2 { margin: 0; color: var(--primary); font-family: var(--heading-font); font-size: clamp(42px, 4.6vw, 64px); line-height: .91; }
.about-leadership-grid > div:last-child { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.about-leadership-grid p { margin: 0 0 25px; }
.about-history { padding: 90px 0; background: linear-gradient(120deg, #020825, #101b52); }
.about-history-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 76px; align-items: end; }
.about-history h2 { color: var(--white); }
.about-history-inner > p { margin: 0; padding: 0 0 3px 35px; color: rgba(255,255,255,.72); border-left: 1px solid rgba(212,175,55,.58); font-size: 17px; line-height: 1.85; }
.about-intro[id], .about-purpose article[id], .about-leadership[id], .about-history[id] { scroll-margin-top: 150px; }

/* Organizations page */
.organizations-hero { background: radial-gradient(circle at 20% 24%, rgba(212,175,55,.2), transparent 24%), linear-gradient(120deg, #020825 0%, #0b0a44 58%, #17245b 100%); }
.organizations-intro { padding: 98px 0; }
.organizations-intro-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 96px; align-items: center; }
.organizations-intro h2, .organization-principles h2, .organization-cta h2 { margin: 0; color: var(--primary); font-family: var(--heading-font); font-size: clamp(42px, 4.6vw, 66px); line-height: .9; }
.organizations-intro-grid > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.organization-directory { padding: 26px 0 100px; background: radial-gradient(circle at 94% 0, rgba(212,175,55,.08), transparent 20%), #f4f5f7; }
.organization-directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 42px; }
.organization-feature-card { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 24px; min-height: 294px; padding: 35px 32px; overflow: hidden; background: var(--white); border: 1px solid rgba(11,10,68,.08); border-radius: 16px; box-shadow: 0 14px 32px rgba(3,8,36,.05); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); align-items: center;}
.organization-feature-card:first-child { grid-column: span 2; grid-template-columns: 180px 1fr; min-height: 338px; color: var(--white); background: linear-gradient(130deg, #071044, #152568); border-color: rgba(212,175,55,.42); }
.organization-feature-card:hover { border-color: rgba(212,175,55,.58); box-shadow: var(--shadow); transform: translateY(-5px); }
.organization-feature-card img { width: 100%; max-height: 126px; object-fit: contain; }
.organization-feature-card:first-child img { max-height: 155px; }
.organization-card-number { position: absolute; top: 23px; right: 27px; color: rgba(11,10,68,.12); font-family: var(--heading-font); font-size: 62px; font-weight: 700; line-height: .8; }
.organization-feature-card:first-child .organization-card-number { color: rgba(212,175,55,.2); }
.organization-type { position: relative; margin: 0 0 11px; color: #967000; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.organization-feature-card:first-child .organization-type { color: var(--light-gold); }
.organization-feature-card h3 { position: relative; max-width: 470px; margin: 0 0 12px; color: var(--primary); font-family: var(--heading-font); font-size: clamp(29px, 2.5vw, 38px); line-height: .94; }
.organization-feature-card:first-child h3 { color: var(--white); font-size: clamp(37px, 3.3vw, 51px); }
.organization-feature-logo-link { display: block; }
.organization-feature-card h3 a { color: inherit; font: inherit; text-decoration: none; }
.organization-feature-card div > p:not(.organization-type) { position: relative; max-width: 480px; margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.organization-feature-card:first-child div > p:not(.organization-type) { color: rgba(255,255,255,.75); font-size: 16px; }
.organization-feature-card a { position: relative; color: var(--gold); font-size: 13px; font-weight: 700; }
.organization-feature-card a span { padding-left: 5px; transition: transform var(--transition); }
.organization-feature-card a:hover span { display: inline-block; transform: translateX(4px); }
.organization-principles { padding: 100px 0; background: linear-gradient(130deg, #020825, #101b52); }
.organization-principles-heading { max-width: 650px; }
.organization-principles h2 { color: var(--white); }
.organization-principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 46px; background: rgba(212,175,55,.3); border: 1px solid rgba(212,175,55,.3); }
.organization-principles-grid article { min-height: 220px; padding: 30px; background: rgba(255,255,255,.025); }
.organization-principles-grid strong { color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.organization-principles-grid h3 { margin: 23px 0 10px; color: var(--white); font-family: var(--heading-font); font-size: 28px; line-height: 1; }
.organization-principles-grid p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.organization-cta { padding: 98px 0; background: #f4f5f7; }
.organization-cta .cta-inner { color: var(--text); }
.organization-cta h2 { margin-top: 8px; }
.organization-cta .cta-inner > div > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.organization-cta .btn-light-outline { color: var(--primary); background: transparent; border-color: rgba(11,10,68,.36); }

.contact-section {
    padding: 72px 0 86px;
}

.contact-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 34px;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-info-card {
    padding: 34px;
}

.contact-form-card {
    padding: 34px 38px 38px;
}

.contact-info-list {
    display: grid;
    gap: 22px;
}

.contact-info-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px;
    background: #fbfbfb;
    border: 1px solid var(--border);
    border-radius: 12px;
}

[dir="rtl"] .contact-info-list article {
    grid-template-columns: 1fr 48px;
}

[dir="rtl"] .contact-info-list article > span {
    grid-column: 2;
    grid-row: 1;
}

.contact-info-list article > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), #12105c);
    border-radius: 50%;
    font-size: 22px;
}

.contact-info-list h3 {
    margin: 0 0 5px;
    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 24px;
    line-height: 1;
}

.contact-info-list address,
.contact-info-list a {
    color: var(--text);
    font-style: normal;
    font-size: 15px;
}

.contact-info-list a:hover,
.contact-info-list a:focus-visible {
    color: var(--gold);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    color: var(--text);
    background: #fbfbfb;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 13px 14px;
    outline: 0;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .14);
}

.contact-form button {
    justify-self: start;
}

[dir="rtl"] .contact-form button {
    justify-self: end;
}

/* Academy page */
.academy-page {
    background: var(--background);
}

.org-logo-link {
    display: block;
}

.academy-hero-bg,
.academy-hero-overlay {
    position: absolute;
    inset: 0;
}

.academy-hero-bg {
    background:
        linear-gradient(110deg, rgba(3, 8, 36, .62), rgba(3, 8, 36, .30)),
        url("../images/hero-Bakhtar-Academy.webp") center / cover no-repeat,
        radial-gradient(circle at 18% 28%, rgba(212, 175, 55, .22), transparent 28%),
        linear-gradient(135deg, #030a2d, #081455);
}

.academy-hero-overlay {
    background:
        radial-gradient(circle at 72% 25%, rgba(229, 196, 106, .12), transparent 26%),
        linear-gradient(180deg, rgba(3, 8, 36, .03), rgba(3, 8, 36, .52));
}

.academy-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.academy-badge,
.academy-stat-card,
.academy-glass-card,
.academy-illustration-card,
.academy-mini-card,
.academy-info-card,
.academy-info-panel,
.academy-contact-card {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .74);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.academy-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 18px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.academy-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 22px;
}

.academy-registration {
    display: inline-grid;
    gap: 4px;
    margin: 24px 0 30px;
    padding: 16px 28px;
    border: 1px solid rgba(212, 175, 55, .5);
    border-radius: 14px;
    background: rgba(3, 8, 36, .36);
}

.academy-registration span {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.academy-registration strong {
    color: var(--light-gold);
    font-family: var(--heading-font);
    font-size: 44px;
    line-height: 1;
}

.academy-stat-strip {
    position: relative;
    z-index: 2;
    padding: 20px 0 34px;
}

.academy-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: -52px;
}

.academy-stat-card {
    min-height: 118px;
    display: grid;
    place-items: center;
    padding: 20px 14px;
    text-align: center;
    border-color: var(--border);
    border-radius: 16px;
}

.academy-stat-card strong {
    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 30px;
    line-height: 1;
}

.academy-stat-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.academy-section-nav {
    position: sticky;
    z-index: 800;
    top: 96px;
    background: rgba(255, 255, 255, .92);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
    backdrop-filter: blur(14px);
}

.academy-section-nav-inner {
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.academy-section-nav-inner:active {
    cursor: grabbing;
}

.academy-section-nav-inner::-webkit-scrollbar {
    display: none;
}

.academy-section-nav a {
    flex: 0 0 auto;
    padding: 8px 13px;
    color: var(--primary);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.academy-section-nav a:hover,
.academy-section-nav a:focus-visible,
.academy-section-nav a.active {
    color: var(--white);
    background: var(--primary);
    border-color: var(--gold);
}

.academy-section {
    padding: 20px 0;
    scroll-margin-top: 170px;
}

.academy-large-card {
    max-width: 1020px;
    margin: 0 auto;
    padding: 42px;
    border-color: var(--border);
    border-radius: 18px;
}

.academy-large-card p {
    margin: 0;
    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 34px;
    line-height: 1.25;
    text-align: center;
}

.academy-two-column {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.academy-illustration-card {
    display: grid;
    place-items: center;
    min-height: 420px;
    padding: 42px;
    border-color: var(--border);
    border-radius: 18px;
    text-align: center;
}

.academy-illustration-card img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 22px;
}

.academy-illustration-card p {
    max-width: 360px;
    margin: 0;
    color: var(--primary);
    font-weight: 700;
}

.academy-check-list {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.academy-check-list li {
    position: relative;
    padding-left: 34px;
    color: var(--text);
    font-weight: 600;
}

.academy-check-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    content: "✓";
    color: var(--white);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-radius: 50%;
    font-size: 12px;
}

[dir="rtl"] .academy-check-list li {
    padding-right: 34px;
    padding-left: 0;
}

[dir="rtl"] .academy-check-list li::before {
    right: 0;
    left: auto;
}

.academy-vision {
    background:
        radial-gradient(circle at center, rgba(212, 175, 55, .16), transparent 28%),
        linear-gradient(135deg, #030a2d, var(--primary));
}

.academy-centered {
    max-width: 930px;
    text-align: center;
}

.academy-icon {
    display: inline-grid;
    place-items: center;
    width: 76px;
    height: 76px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-radius: 50%;
    font-size: 34px;
}

.academy-centered h2,
.academy-future-content h2 {
    margin: 24px 0 14px;
    color: var(--light-gold);
    font-family: var(--heading-font);
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1;
}

.academy-centered p,
.academy-future-content p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 22px;
}

.academy-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.mission-grid {
    grid-template-columns: repeat(6, 1fr);
}

.academy-mini-card,
.academy-info-card {
    min-height: 154px;
    padding: 24px;
    border-color: var(--border);
    border-radius: 16px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.academy-mini-card:hover,
.academy-info-card:hover,
.academy-info-panel:hover,
.academy-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(212, 175, 55, .58);
}

.academy-mini-card span {
    color: var(--gold);
    font-weight: 900;
}

.academy-mini-card h3,
.academy-info-card h3,
.academy-contact-card h3 {
    margin: 14px 0 0;
    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 25px;
    line-height: 1;
}

.academy-info-card p,
.academy-contact-card p,
.academy-contact-card a {
    margin: 12px 0 0;
    color: var(--text);
    font-size: 14px;
}

.academy-contact-card a:hover {
    color: var(--gold);
}

.academy-timeline {
    position: relative;
    display: grid;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.academy-timeline::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    content: "";
    background: linear-gradient(var(--gold), rgba(212, 175, 55, .16));
}

.timeline-item {
    position: relative;
    width: calc(50% - 38px);
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) {
    justify-self: start;
}

.timeline-item:nth-child(even) {
    justify-self: end;
}

.timeline-item::after {
    position: absolute;
    top: 28px;
    width: 14px;
    height: 14px;
    content: "";
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .24);
}

.timeline-item:nth-child(odd)::after {
    right: -46px;
}

.timeline-item:nth-child(even)::after {
    left: -46px;
}

.timeline-item strong {
    color: var(--gold);
    font-family: var(--heading-font);
    font-size: 28px;
}

.timeline-item p {
    margin: 8px 0 0;
}

.academy-accordion {
    display: grid;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.academy-accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    color: var(--primary);
    background: transparent;
    border: 0;
    font-weight: 900;
    text-align: left;
}

.academy-accordion-toggle::after {
    content: "+";
    color: var(--gold);
    font-size: 24px;
    line-height: 1;
}

.accordion-item.open .academy-accordion-toggle::after {
    content: "-";
}

.accordion-panel {
    display: none;
    padding: 0 24px 22px;
}

.accordion-item.open .accordion-panel {
    display: block;
}

.accordion-panel p {
    margin: 0;
    color: var(--muted);
}

.academy-pill-grid,
.academy-infographic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.academy-pill-grid span,
.academy-infographic span {
    min-height: 62px;
    display: grid;
    place-items: center;
    padding: 12px 16px;
    color: var(--primary);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-weight: 800;
    text-align: center;
}

.academy-hierarchy {
    display: grid;
    gap: 24px;
    max-width: 620px;
    margin: 0 auto;
}

.academy-hierarchy div {
    position: relative;
    min-height: 66px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition);
}

.academy-hierarchy div:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-strong);
}

.academy-hierarchy div:not(:last-child)::after {
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: 2px;
    height: 24px;
    content: "";
    background: var(--gold);
}

.academy-profile-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 44px;
    align-items: center;
}

.academy-profile-image {
    min-height: 460px;
    display: grid;
    place-items: end center;
    padding: 32px;
    background:
        linear-gradient(180deg, rgba(3, 8, 36, .05), rgba(3, 8, 36, .74)),
        url("../images/academy-founder.jpg") center / cover no-repeat,
        linear-gradient(135deg, #d8d8d8, #f5f5f5);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.academy-profile-image span {
    padding: 8px 18px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-radius: 999px;
    font-weight: 800;
}

.academy-profile-content h3 {
    margin: 4px 0;
    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 48px;
    line-height: 1;
}

.academy-profile-content p {
    color: var(--text);
}

.academy-info-panel {
    min-height: 360px;
    padding: 34px;
    border-color: var(--border);
    border-radius: 18px;
}

.academy-info-panel h2 {
    margin: 0 0 18px;
    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 38px;
    line-height: 1;
}

.academy-matters {
    background:
        radial-gradient(circle at 22% 34%, rgba(212, 175, 55, .14), transparent 26%),
        linear-gradient(135deg, #030a2d, var(--primary));
}

.academy-infographic span {
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: none;
}

.academy-future {
    position: relative;
    padding: 128px 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 8, 36, .9), rgba(3, 8, 36, .56)),
        url("../images/academy-future.jpg") center / cover no-repeat,
        linear-gradient(135deg, #030a2d, #101a60);
}

.academy-future-content {
    max-width: 860px;
}

.academy-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.academy-contact-card {
    min-height: 138px;
    padding: 24px;
    border-color: var(--border);
    border-radius: 16px;
}

.academy-map-placeholder {
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 34px;
    color: var(--primary);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .55)),
        repeating-linear-gradient(45deg, rgba(11, 10, 68, .04) 0 12px, rgba(212, 175, 55, .08) 12px 24px);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    text-align: center;
}

.academy-map-placeholder span {
    color: var(--gold);
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 700;
}

.academy-map-placeholder p {
    margin: 8px 0 0;
}

/* Animation helpers */
.fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);

}

.about-image-wrapper {

    align-content: center;

}

.whowe-are-section_foundation {
    padding-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ===============================
   Bakhtar International Post
   Visual styles only; layout breakpoints are in responsive.css.
   =============================== */
.post-hero { background: #061235 url("../images/post-logistics-hero.webp") center / cover no-repeat; color: var(--white); }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 9, 39, .96) 0%, rgba(8, 13, 50, .82) 42%, rgba(7, 12, 47, .25) 78%), linear-gradient(0deg, rgba(4, 8, 36, .35), transparent 50%); }
.post-hero-content { position: relative; z-index: 1; max-width: 1170px; }
.post-hero-logo { position: absolute; top: 50%; right: 24px; width: min(28vw, 310px); height: auto; margin: 0; transform: translateY(-50%); }
[dir="rtl"] .post-hero-logo { right: auto; left: 24px; }
.post-kicker, .post-eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .73rem; font-weight: 700; }
.post-hero h1, .post-hero h1 em, .post-section-heading h2, .post-split h2, .post-network h2, .post-cargo h2, .post-cta h2 { font-family: var(--heading-font); }
.post-hero h1 { max-width: 700px; color: var(--white); font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: .87; margin: 8px 0 24px; }.post-hero h1 em { display: block; color: var(--gold); font-style: italic; }.post-lead { font-size: 1.35rem; font-weight: 600; margin: 0 0 8px; }.post-copy { max-width: 550px; color: rgba(255,255,255,.78); font-size: 1.06rem; line-height: 1.75; }
.post-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 28px; }.post-button { display: inline-flex; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.58); padding: 14px 22px; color: var(--white); font-weight: 700; text-decoration: none; transition: var(--transition); }.post-button:hover { transform: translateY(-2px); color: var(--white); }.post-button-gold { color: var(--primary); background: var(--gold); border-color: var(--gold); }.post-button-gold:hover { background: var(--light-gold); color: var(--primary); }
.post-intro { padding: 100px 0; }.post-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }.post-split h2, .post-network h2, .post-cargo h2 { font-size: clamp(2.5rem, 4vw, 4.15rem); line-height: .95; color: var(--primary); margin: 10px 0; }.post-split p, .post-network p, .post-cargo p { color: #4f566d; line-height: 1.85; }
.post-services, .post-cargo { padding: 105px 0; background: var(--primary); }.post-section-heading { text-align: center; max-width: 620px; margin: 0 auto 42px; }.post-section-heading h2 { color: var(--white); font-size: clamp(2.6rem, 4vw, 4.2rem); margin: 9px 0; line-height: .9; }.post-section-heading > p:last-child { color: rgba(255,255,255,.69); line-height: 1.7; }.post-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.post-service-grid article { padding: 29px 25px; border: 1px solid rgba(212,175,55,.25); background: rgba(255,255,255,.035); transition: var(--transition); }.post-service-grid article:hover { background: rgba(212,175,55,.11); transform: translateY(-4px); }.post-service-grid span { color: var(--gold); font-size: 1.65rem; }.post-service-grid h3 { color: var(--white); margin: 17px 0 9px; }.post-service-grid p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.6; font-size: .91rem; }
.post-network { background: #091342; color: var(--white); padding: 110px 0; }.post-network-inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 75px; }.post-network h2 { color: var(--white); }.post-network p { color: rgba(255,255,255,.68); }.post-checks { padding: 0; list-style: none; margin: 25px 0 0; }.post-checks li { padding: 10px 0 10px 27px; position: relative; color: rgba(255,255,255,.85); }.post-checks li::before { content: "✓"; color: var(--gold); position: absolute; left: 0; font-weight: 700; }.post-map { aspect-ratio: 1.4; position: relative; border: 1px solid rgba(212,175,55,.45); overflow: hidden; background: radial-gradient(circle at 30% 50%, rgba(212,175,55,.22), transparent 4%), radial-gradient(circle at 65% 45%, rgba(212,175,55,.18), transparent 3%), linear-gradient(135deg, #13215a, #061039); }.post-map::before { content: ""; position: absolute; inset: 10%; background-image: linear-gradient(rgba(212,175,55,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(212,175,55,.12) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse, #000 22%, transparent 74%); }.route { position: absolute; height: 47%; width: 47%; border-top: 2px solid var(--gold); border-radius: 50%; transform: rotate(-17deg); opacity: .75; }.route-one { left: 24%; top: 25%; }.route-two { left: 18%; top: 38%; transform: rotate(7deg); }.route-three { left: 37%; top: 18%; transform: rotate(-34deg); }.pin { position: absolute; color: var(--white); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }.pin::before { content: ""; display: block; width: 9px; height: 9px; margin-bottom: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212,175,55,.16), 0 0 16px var(--gold); }.pin-europe { left: 27%; top: 37%; }.pin-asia { right: 22%; top: 40%; }.pin-uk { left: 19%; top: 28%; }
.post-why { padding: 105px 0; }.post-section-heading-dark h2 { color: var(--primary); }.post-section-heading-dark > p:last-child { color: #61687c; }.post-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dedfe7; border-left: 1px solid #dedfe7; }.post-why-grid div { padding: 34px 30px; border-right: 1px solid #dedfe7; border-bottom: 1px solid #dedfe7; }.post-why-grid strong { color: var(--gold); font-size: 1rem; letter-spacing: .1em; }.post-why-grid h3 { color: var(--primary); margin: 15px 0 8px; }.post-why-grid p { color: #62687b; font-size: .92rem; line-height: 1.65; margin: 0; }
.post-cargo { background: #10194c; }.post-cargo-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }.post-cargo-image { height: 420px; overflow: hidden; }.post-cargo-image img { width: 100%; height: 100%; object-fit: cover; }.post-cargo h2 { color: var(--white); }.post-cargo p { color: rgba(255,255,255,.7); }.post-mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }.post-mode-grid span { border-left: 2px solid var(--gold); padding: 8px 13px; color: var(--white); font-weight: 600; font-size: .92rem; }
.post-stats { padding: 68px 0; background: var(--gold); }.post-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }.post-stats-grid strong { display: block; color: var(--primary); font-family: var(--heading-font); font-size: clamp(3rem, 5vw, 4.6rem); line-height: .9; }.post-stats-grid span { display: block; margin-top: 12px; color: rgba(11,10,68,.78); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.post-partners { padding: 105px 0; }.post-partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 18px; }.post-partner-grid img { width: 100%; max-height: 58px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: var(--transition); }.post-partner-grid img:hover { filter: grayscale(0); opacity: 1; }.post-cta { padding: 115px 0; text-align: center; background: linear-gradient(rgba(7, 10, 48, .88), rgba(7, 10, 48, .95)), url("../images/post-logistics-hero.webp") center / cover; color: var(--white); }.post-cta h2 { font-size: clamp(3rem, 5vw, 5rem); line-height: .9; margin: 10px auto 20px; max-width: 700px; }.post-cta > .container > p:not(.post-eyebrow) { color: rgba(255,255,255,.72); }.post-cta .post-actions { justify-content: center; }
.dropdown-chevron {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

/* Organization settings supply this color as a single, solid hero overlay. */
.media-hero::before,
.solidarity-hero::before { background: var(--organization-hero-overlay, transparent) !important; }
