/* ==========================================================================
   CMA Lebanon — public website
   Brand: Navy #102C50 · Champagne gold #C39A51 · White
   ========================================================================== */

:root {
    --navy: #102C50;
    --navy-deep: #0A1F3A;
    --navy-ink: #071629;
    --navy-soft: #1B3A63;
    --gold: #C39A51;
    --gold-light: #E3C27E;
    --gold-pale: #F4E9D3;
    --ivory: #F8F6F1;
    --ink: #1D2633;
    --muted: #5E6878;
    --line: #E6E1D6;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 44, 80, .08);
    --shadow-lg: 0 20px 50px rgba(16, 44, 80, .16);
    --font-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --gold-gradient: linear-gradient(135deg, #F1D79A 0%, #C39A51 45%, #A87C35 100%);
}

.lang-ar {
    --font-display: "Amiri", "IBM Plex Sans Arabic", serif;
    --font-serif: "Amiri", serif;
    --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #fff;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
.lang-ar body, body.lang-ar { font-size: 1.05rem; line-height: 1.9; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 600; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; }
::selection { background: var(--gold-pale); }

.skip-link { position: absolute; top: -200px; inset-inline-start: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 2000; border-radius: 6px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

[dir="rtl"] .flip-rtl { display: inline-block; transform: scaleX(-1); }

/* ── Buttons ─────────────────────────────────────────── */
.btn { white-space: nowrap; border-radius: 999px; padding: .6rem 1.5rem; font-weight: 600; letter-spacing: .02em; }
.btn-lg { padding: .8rem 2rem; font-size: 1rem; }
.btn-gold { background: var(--gold-gradient); border: 0; color: var(--navy-ink); box-shadow: 0 6px 18px rgba(195, 154, 81, .35); }
.btn-gold:hover, .btn-gold:focus { color: var(--navy-ink); filter: brightness(1.07); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; border: 0; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; }
.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--navy); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-ink); }
.btn-outline-light:hover { color: var(--navy); }

/* ── Top bar ─────────────────────────────────────────── */
.topbar { background: var(--navy-ink); color: rgba(255,255,255,.75); font-size: .82rem; padding: .45rem 0; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--gold-light); }
.topbar-contact { display: flex; gap: 1.5rem; }
.topbar-contact i { color: var(--gold); margin-inline-end: .35rem; }
.topbar-social { display: flex; gap: .9rem; }
.lang-switch { border: 1px solid rgba(195,154,81,.6); padding: .15rem .8rem; border-radius: 999px; color: var(--gold-light) !important; font-weight: 600; }
.lang-switch:hover { background: var(--gold); color: var(--navy-ink) !important; }
.lang-switch-mobile { border-color: var(--gold); color: var(--navy) !important; min-width: 40px; text-align: center; }

/* ── Header / navigation ─────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16,44,80,.08); }
.site-header .navbar { padding: .7rem 0; }
.navbar-brand { padding: 0; margin: 0; margin-inline-end: 1.5rem; }
.site-logo { height: 58px; width: auto; }

.logo-lockup { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); }
.logo-mark { width: 50px; height: 50px; flex-shrink: 0; color: var(--gold); }
.logo-mark-img { height: 58px; width: auto; flex-shrink: 0; }
.footer-logo .logo-mark-img { height: 78px; }
.hero-logo { height: 120px; width: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
@media (max-width: 767.98px) { .logo-mark-img { height: 46px; } .hero-logo { height: 90px; } }
.logo-mark .logo-gold { fill: var(--gold); }
.logo-mark .logo-gold-stroke { stroke: var(--gold); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: "Cinzel", serif; font-size: 1.35rem; letter-spacing: .08em; color: var(--navy); }
.logo-name b { color: var(--gold); font-weight: 600; }
.logo-sub { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); max-width: 230px; white-space: normal; }
.lang-ar .logo-sub { text-transform: none; font-size: .7rem; letter-spacing: 0; }
.logo-white .logo-name { color: #fff; }
.logo-white .logo-sub { color: rgba(255,255,255,.6); }

.main-nav .nav-link { color: var(--navy); font-weight: 500; font-size: .92rem; padding: .5rem .6rem !important; white-space: nowrap; position: relative; }
.main-nav .nav-link::after { content: none; }
.main-nav .nav-link.dropdown-toggle::after { content: ""; display: inline-block; border: 0; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-inline-start: .45rem; vertical-align: middle; }
.main-nav .nav-link::before { content: ""; position: absolute; inset-inline: .75rem; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.main-nav .nav-link:hover::before, .main-nav .nav-link.active::before { transform: scaleX(1); }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--navy); }
.dropdown-menu { border: 0; border-top: 3px solid var(--gold); border-radius: 0 0 10px 10px; box-shadow: var(--shadow-lg); padding: .5rem 0; min-width: 240px; }
.dropdown-item { padding: .55rem 1.2rem; font-size: .92rem; color: var(--navy); }
.dropdown-item:hover, .dropdown-item.active, .dropdown-item:active { background: var(--ivory); color: var(--gold); }
.dropdown-overview { font-weight: 600; border-bottom: 1px solid var(--line); margin-bottom: .3rem; }

@media (min-width: 1200px) {
    .main-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
    .offcanvas-body { display: flex; align-items: center; }
    #mainNav.offcanvas { position: static; visibility: visible !important; transform: none; border: 0; background: transparent; flex-grow: 1; }
    #mainNav .offcanvas-header { display: none; }
    #mainNav .offcanvas-body { justify-content: flex-end; overflow: visible; padding: 0; }
}
.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--navy); padding: 0 .25rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 1199.98px) {
    .main-nav .nav-link { padding: .8rem 0 !important; border-bottom: 1px solid var(--line); }
    .main-nav .nav-link::before { display: none; }
    .dropdown-menu { box-shadow: none; border: 0; padding: 0 0 .5rem; }
    .logo-sub { display: none; }
}

.nav-search { position: relative; display: flex; align-items: center; margin-inline-start: .75rem; }
.nav-search input { width: 0; opacity: 0; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; transition: width .3s, opacity .3s; font-size: .9rem; }
.nav-search.open input { width: 200px; opacity: 1; margin-inline-start: .4rem; }
.nav-search-toggle { border: 0; background: none; color: var(--navy); font-size: 1.1rem; padding: .3rem; }
@media (max-width: 1199.98px) {
    .nav-search { margin: 1rem 0 0; }
    .nav-search input { width: 100%; opacity: 1; }
    .nav-search-toggle { display: none; }
}

/* ── Sections ─────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-light { background: var(--ivory); }
.section-navy { background: radial-gradient(ellipse at top, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%); color: rgba(255,255,255,.85); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-heading h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .8rem; }
.lang-ar .section-heading h2 { text-transform: none; letter-spacing: 0; font-weight: 700; }
.section-heading p { color: var(--muted); font-size: 1.08rem; margin: 1rem 0 0; }
.section-navy .section-heading h2 { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-navy .section-heading p { color: rgba(255,255,255,.72); }

.gold-divider, .hero-divider { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.gold-divider::before, .gold-divider::after, .hero-divider::before, .hero-divider::after { content: ""; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-divider::after, .hero-divider::after { transform: scaleX(-1); }
.gold-divider i, .hero-divider i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.gold-rule { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 1; }
.eyebrow { font-family: var(--font-display); color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-bottom: .4rem; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: 1rem; }
.block-title { font-family: var(--font-serif); font-size: 1.6rem; position: relative; padding-bottom: .5rem; }
.block-title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 44px; height: 2px; background: var(--gold); }
.card-link { font-weight: 600; font-size: .9rem; color: var(--gold); display: inline-flex; align-items: center; gap: .35rem; }
.card-link:hover { color: var(--navy); }

/* ── Hero ─────────────────────────────────────────────── */
.hero { background: var(--navy-ink); color: #fff; position: relative; overflow: hidden; }
.hero-slide { min-height: min(78vh, 640px); position: relative; }
.hero-slide .container { min-height: min(78vh, 640px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-ink) 0%, rgba(7,22,41,.94) 38%, rgba(7,22,41,.45) 72%, rgba(7,22,41,.2) 100%); }
[dir="rtl"] .hero-bg::after { background: linear-gradient(-90deg, var(--navy-ink) 0%, rgba(7,22,41,.94) 38%, rgba(7,22,41,.45) 72%, rgba(7,22,41,.2) 100%); }
.hero-content { max-width: 620px; padding: 4rem 0; position: relative; z-index: 2; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.08; font-weight: 600; letter-spacing: .03em; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1.2rem; text-shadow: 0 0 0 transparent; }
.lang-ar .hero-title { line-height: 1.35; letter-spacing: 0; font-weight: 700; }
.hero-divider { justify-content: flex-start; margin-bottom: 1.2rem; }
.hero-divider::before { width: 150px; background: linear-gradient(90deg, var(--gold), var(--gold)); }
.hero-divider::after { width: 150px; background: var(--gold); transform: none; }
.hero-subtitle { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: .6rem; }
.lang-ar .hero-subtitle { letter-spacing: 0; text-transform: none; }
.hero-text { color: rgba(255,255,255,.75); letter-spacing: .14em; text-transform: uppercase; font-size: .88rem; max-width: 480px; }
.lang-ar .hero-text { letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 3px; background: var(--gold); }

/* ── Page header (inner pages) ────────────────────────── */
.page-header { position: relative; background: var(--navy); color: #fff; padding: 4.5rem 0 3.5rem; overflow: hidden; }
.page-header::before { content: ""; position: absolute; inset: 0; background-image: var(--header-img, url("../images/hero-map.jpg")); background-size: cover; background-position: center right; opacity: .35; }
.page-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-ink) 10%, rgba(10,31,58,.7) 60%, rgba(10,31,58,.4)); }
[dir="rtl"] .page-header::after { background: linear-gradient(-90deg, var(--navy-ink) 10%, rgba(10,31,58,.7) 60%, rgba(10,31,58,.4)); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-family: var(--font-display); color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: .03em; margin: .4rem 0 1rem; }
.page-header .lead { color: rgba(255,255,255,.78); max-width: 720px; margin-top: 1rem; font-size: 1.1rem; }
.page-header .breadcrumb { font-size: .85rem; margin: 0; }
.page-header .breadcrumb a { color: var(--gold-light); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,.7); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before { float: right; padding-left: .5rem; padding-right: 0; }

/* ── Rich text (CMS content) ──────────────────────────── */
.rich-text { font-size: 1.04rem; color: #2B3444; }
.rich-text-narrow { max-width: 860px; margin-inline: auto; }
.rich-text h2 { font-family: var(--font-serif); font-size: 1.9rem; margin: 2.2rem 0 1rem; }
.rich-text h3 { font-family: var(--font-serif); font-size: 1.45rem; margin: 1.8rem 0 .8rem; }
.lang-ar .rich-text h2, .lang-ar .rich-text h3 { font-weight: 700; }
.rich-text h2:first-child, .rich-text h3:first-child { margin-top: 0; }
.rich-text ul { padding-inline-start: 1.2rem; }
.rich-text li { margin-bottom: .45rem; }
.rich-text li::marker { color: var(--gold); }
.rich-text blockquote { border-inline-start: 3px solid var(--gold); background: var(--ivory); padding: 1.2rem 1.5rem; font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); margin: 1.8rem 0; border-radius: 0 10px 10px 0; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.rich-text th, .rich-text td { border-bottom: 1px solid var(--line); padding: .75rem; vertical-align: top; }
.rich-text th { color: var(--navy); background: var(--ivory); }
.rich-text img { border-radius: 10px; height: auto; }
.rich-text .note { background: var(--gold-pale); border-radius: 10px; padding: 1rem 1.25rem; font-size: .95rem; }
.section-navy .rich-text { color: rgba(255,255,255,.85); }

/* ── Side navigation ──────────────────────────────────── */
.side-nav { position: sticky; top: 110px; background: var(--ivory); border-radius: var(--radius); padding: 1.3rem; }
.side-nav-title { font-family: var(--font-display); color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: .6rem; }
.side-nav a { display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--navy); font-size: .95rem; border-inline-start: 2px solid transparent; }
.side-nav a:hover { background: #fff; }
.side-nav a.active { background: var(--navy); color: #fff; border-inline-start-color: var(--gold); }

/* ── Services cards ───────────────────────────────────── */
.service-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.service-card::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); font-size: 1.5rem; margin-bottom: 1.2rem; box-shadow: 0 0 0 5px var(--gold-pale); }
.service-card h3 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .94rem; flex-grow: 1; }

/* ── Icon medallions (brand icons) ────────────────────── */
.icon-medallion { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; padding: 4px; background: var(--gold-gradient); box-shadow: 0 8px 22px rgba(10,31,58,.25); flex-shrink: 0; }
.icon-medallion img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.icon-medallion.icon-font i { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, #1B3A63, #071629 75%); color: var(--gold-light); font-size: 2.6rem; }
.value-item .icon-medallion.icon-font i { font-size: 3rem; }

/* ── Discover cards ───────────────────────────────────── */
.discover-card { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1rem 1.5rem; transition: all .3s; cursor: pointer; }
.discover-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.discover-card.active { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.discover-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.lang-ar .discover-title { text-transform: none; letter-spacing: 0; font-size: 1.3rem; }
.discover-sub { color: var(--muted); font-size: .9rem; }
.discover-card.active .discover-title { color: var(--gold-light); }
.discover-card.active .discover-sub { color: rgba(255,255,255,.75); }
.discover-panel { margin-top: 1.5rem; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 2.6rem; position: relative; overflow: hidden; animation: fadeUp .45s ease; }
.discover-panel::after { pointer-events: none; opacity: .6; content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(195,154,81,.25); border-radius: 50%; inset-inline-end: -120px; top: -120px; }
.discover-panel h3 { font-family: var(--font-serif); color: #fff; font-size: 1.9rem; }
.discover-panel .rich-text { color: rgba(255,255,255,.85); }
.discover-panel .btn-outline-gold { color: var(--gold-light); }

/* ── Regional reach ───────────────────────────────────── */
.reach-map { margin: 0 auto 3rem; max-width: 980px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.35); border: 1px solid rgba(195,154,81,.35); }
.reach-map img { width: 100%; display: block; }
.reach-points { text-align: center; position: relative; }
.reach-point { position: relative; padding-top: 1.4rem; }
.reach-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-light); margin: 0 auto 1rem; box-shadow: 0 0 0 6px rgba(227,194,126,.18), 0 0 18px var(--gold); }
.reach-point h3 { font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light) !important; font-weight: 700; }
.lang-ar .reach-point h3 { letter-spacing: 0; font-size: 1.1rem; }
.reach-place { color: #fff; font-size: 1.1rem; margin: 0; }
.reach-body { color: rgba(255,255,255,.65); font-size: .88rem; margin-top: .4rem; }

/* ── Values ───────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem 1.5rem; }
.value-item { text-align: center; }
.value-item .icon-medallion { width: 110px; height: 110px; margin-bottom: 1rem; transition: transform .35s; }
.value-item:hover .icon-medallion { transform: translateY(-6px) rotate(-3deg); }
.value-item h3 { font-family: var(--font-display); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .3rem; }
.lang-ar .value-item h3 { letter-spacing: 0; font-size: 1.2rem; }
.value-item p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ── People ───────────────────────────────────────────── */
.people-card { display: block; height: 100%; background: #fff; border-radius: var(--radius); padding: 2.3rem 2rem; box-shadow: var(--shadow); border-bottom: 3px solid transparent; transition: all .3s; }
.people-card:hover { border-bottom-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.people-icon { font-size: 2rem; color: var(--gold); display: block; margin-bottom: .8rem; }
.people-card h3 { font-family: var(--font-serif); font-size: 1.55rem; }
.people-card p { color: var(--muted); }

/* ── Sectors ──────────────────────────────────────────── */
.sector-card { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: all .3s; }
.sector-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.sector-card > i { font-size: 1.6rem; color: var(--gold); line-height: 1; margin-top: .2rem; }
.sector-card h3 { font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin-bottom: .25rem; }
.lang-ar .sector-card h3 { letter-spacing: 0; font-size: 1.05rem; }
.sector-card p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ── News ─────────────────────────────────────────────── */
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.img-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, var(--navy-soft), var(--navy-ink)); }
.img-placeholder img { width: auto !important; height: 90px !important; object-fit: contain; opacity: .85; }
.news-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.news-card-body h3 { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.3; margin: .4rem 0 .6rem; }
.lang-ar .news-card-body h3 { font-size: 1.3rem; line-height: 1.6; }
.news-card-body p { color: var(--muted); font-size: .93rem; flex-grow: 1; }
.news-meta { display: flex; gap: .8rem; align-items: center; font-size: .82rem; color: var(--muted); }
.news-cat { background: var(--gold-pale); color: #8A6A2E; padding: .1rem .6rem; border-radius: 999px; font-weight: 600; font-size: .75rem; }

.article { max-width: 860px; margin: 0 auto; }
.article-image { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); }
.article-lead { font-family: var(--font-serif); font-size: 1.45rem; color: var(--navy); line-height: 1.5; margin-bottom: 1.5rem; }
.share { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.share a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--navy); }
.share a:hover { background: var(--gold); color: #fff; }

/* ── Events ───────────────────────────────────────────── */
.event-row { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: 12px; padding: .9rem 1rem; margin-bottom: .9rem; box-shadow: var(--shadow); transition: all .3s; }
.event-row:hover { transform: translateX(4px); }
[dir="rtl"] .event-row:hover { transform: translateX(-4px); }
.event-date { flex-shrink: 0; width: 66px; height: 70px; border-radius: 10px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; border-bottom: 3px solid var(--gold); }
.event-date b { font-size: 1.55rem; font-family: var(--font-serif); color: var(--gold-light); }
.event-date small { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; }
.event-date-lg { width: 96px; height: 110px; }
.event-date-lg b { font-size: 2.3rem; }
.event-info { display: flex; flex-direction: column; gap: .15rem; }
.event-info strong { color: var(--navy); line-height: 1.35; }
.event-info small { color: var(--muted); font-size: .8rem; }
.event-info i, .event-meta i { color: var(--gold); }
.event-card { display: flex; gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; height: 100%; transition: all .3s; }
.event-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.event-card h3 { font-family: var(--font-serif); font-size: 1.45rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: .88rem; margin-bottom: .6rem; }
.info-panel { background: var(--ivory); border-radius: var(--radius); padding: 1.8rem; border-top: 3px solid var(--gold); position: sticky; top: 110px; }
.info-panel p { display: flex; gap: .9rem; margin-bottom: 1.2rem; }
.info-panel i { color: var(--gold); font-size: 1.25rem; }

/* ── Assist ───────────────────────────────────────────── */
.assist-card { display: flex; flex-direction: column; height: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(195,154,81,.3); border-radius: var(--radius); padding: 2rem 1.6rem; color: rgba(255,255,255,.75); transition: all .3s; position: relative; }
.assist-card > i { font-size: 2rem; color: var(--gold-light); margin-bottom: 1rem; }
.assist-card h3 { font-family: var(--font-serif); font-size: 1.45rem; color: #fff; }
.assist-card p { flex-grow: 1; font-size: .93rem; }
.assist-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; transition: all .3s; }
.assist-card:hover { background: rgba(195,154,81,.1); border-color: var(--gold); color: #fff; transform: translateY(-5px); }
.assist-card:hover .assist-arrow { background: var(--gold); color: var(--navy-ink); }

/* ── Partners ─────────────────────────────────────────── */
.partner-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.partner-logo { width: 190px; height: 100px; display: grid; place-items: center; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; filter: grayscale(1); opacity: .8; transition: all .3s; text-align: center; font-weight: 600; font-size: .85rem; }
.partner-logo:hover { filter: none; opacity: 1; box-shadow: var(--shadow); }
.partner-logo img { max-height: 64px; object-fit: contain; }
.partner-card { display: flex; gap: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; height: 100%; }
.partner-card-logo { width: 96px; height: 96px; flex-shrink: 0; border-radius: 12px; background: var(--ivory); display: grid; place-items: center; overflow: hidden; }
.partner-card-logo img { max-width: 85%; max-height: 85%; object-fit: contain; }
.partner-card-logo i { font-size: 2rem; color: var(--gold); }
.partner-card h3 { font-family: var(--font-serif); font-size: 1.35rem; }

/* ── Team ─────────────────────────────────────────────── */
.team-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow); height: 100%; }
.team-photo { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 1.2rem; padding: 4px; background: var(--gold-gradient); }
.team-photo img, .team-initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.team-initials { display: grid; place-items: center; background: var(--navy); color: var(--gold-light); font-family: var(--font-display); font-size: 2.2rem; }
.team-card h3 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .2rem; }
.team-position { color: var(--gold); font-weight: 600; font-size: .9rem; }
.team-meta { font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.team-bio summary { color: var(--navy); font-weight: 600; cursor: pointer; margin-top: .6rem; font-size: .9rem; }
.team-bio .rich-text { text-align: start; font-size: .9rem; margin-top: .6rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pills a { padding: .45rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; }
.filter-pills a.active, .filter-pills a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── Documents ────────────────────────────────────────── */
.doc-list { display: grid; gap: .8rem; }
.doc-item { display: flex; align-items: center; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.4rem; }
.doc-item > i { font-size: 2rem; color: var(--gold); }
.doc-item h3 { font-size: 1.05rem; margin: 0; }
.doc-item p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }

/* ── Forms ────────────────────────────────────────────── */
.form-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; border-top: 3px solid var(--gold); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); padding: .7rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(195,154,81,.2); }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
.search-big { display: flex; gap: .6rem; max-width: 720px; margin: 0 auto; }
.search-big .form-control { border-radius: 999px; }
.search-result { display: block; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.search-result h3 { font-size: 1.25rem; margin: .3rem 0; }
.search-result p { color: var(--muted); margin: 0; }
.badge-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }

.empty-state { text-align: center; padding: 3rem 1rem; background: var(--ivory); border-radius: var(--radius); color: var(--muted); max-width: 720px; margin: 0 auto; }
.empty-state i { font-size: 2.6rem; color: var(--gold); display: block; margin-bottom: .6rem; }
.error-page .error-code { font-family: var(--font-display); font-size: 6rem; line-height: 1; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

.pagination .page-link { color: var(--navy); border-color: var(--line); }
.pagination .page-item.active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.7); padding-top: 4.5rem; font-size: .93rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--gold-gradient); }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold-light); }
.footer-logo { margin-bottom: 1.2rem; }
.footer-logo .site-logo { height: 70px; }
.footer-about { max-width: 360px; }
.footer-title { font-family: var(--font-display); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.lang-ar .footer-title { letter-spacing: 0; font-size: 1.15rem; }
.footer-links { list-style: none; padding: 0; columns: 2; column-gap: 1.5rem; }
.footer-links li { margin-bottom: .55rem; break-inside: avoid; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--gold); }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(195,154,81,.4); display: grid; place-items: center; }
.footer-social a:hover { background: var(--gold); color: var(--navy-ink); }
.footer-tagline { text-align: center; font-family: var(--font-display); letter-spacing: .2em; color: var(--gold); font-size: .85rem; padding: 2.5rem 0 1.5rem; text-transform: uppercase; }
.lang-ar .footer-tagline { letter-spacing: 0; font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .82rem; }
.footer-credit a { color: var(--gold-light); font-weight: 600; }
.footer-credit a:hover { color: #fff; }

/* ── Motion ───────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 767.98px) {
    .section { padding: 3.8rem 0; }
    .hero-slide, .hero-slide .container { min-height: 520px; }
    .hero-bg::after { background: linear-gradient(180deg, rgba(7,22,41,.75), rgba(7,22,41,.95)); }
    .discover-panel { padding: 1.6rem; }
    .event-card { flex-direction: column; }
    .footer-links { columns: 1; }
    .logo-name { font-size: 1.1rem; }
    .logo-mark { width: 42px; height: 42px; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header-cta { display: none; }
    .logo-sub { max-width: 190px; }
    .main-nav .nav-link { padding: .5rem .5rem !important; font-size: .9rem; }
}
