/* public-shell.bundle.css — generated by `php artisan assets:bundle`.
 * Edit the sources, not this file. Order is config/assets.php.
 */

/* ── newsroom-v2.css ── */
/*
 * UAEFMA Newsroom 2026
 * Shared editorial design layer. Loaded after the legacy modules so every
 * public template receives the same visual language without changing data,
 * routes, forms, tracking attributes, or Blade contracts.
 */
:root {
    --paper: #fff;
    --band: #f5f7f8;
    --ink: #0b1d39;
    --ink-soft: #34445c;
    --ink-faint: #6b778b;
    --rule: #d9e0e7;
    --rule-2: #edf1f4;
    --accent: #007a4d;
    --accent-deep: #005f3c;
    --up: #087a4c;
    --down: #cc1424;
    --navy: #0b1d39;
    --navy-2: #142b4c;
    --navy-deep: #07152a;
    --gold: #007a4d;
    --red: #cc1424;
    --radius: 6px;
    --container: 1420px;
}

html { scroll-behavior: smooth; }
body {
    background: #fff;
    color: var(--ink);
    font-family: var(--ar-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
.lang-en { font-family: var(--en-sans); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { background: #eef2f4; }

/* Quiet institutional masthead */
.topbar {
    min-height: 34px;
    background: #f7f9fa;
    color: var(--ink-soft);
    border-block: 0 1px solid var(--rule);
}
.topbar-inner { min-height: 34px; }
.topbar-markets { gap: 0; }
.mkt-item {
    min-height: 34px;
    padding-inline: 18px;
    border-inline-end: 1px solid var(--rule);
    font-size: 11px;
}
.mkt-label { color: var(--ink); font-weight: 700; }
.topbar-date, .lang-btn { font-size: 11px; }
.lang-btn {
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 2px 8px;
    background: #fff;
    font-weight: 700;
}
.site-header {
    height: auto;
    min-height: 92px;
    background: #fff;
    border-bottom: 1px solid var(--rule);
}
.hdr-inner { min-height: 92px; }
.hdr-logo-text, .footer-logo {
    color: var(--navy);
    font-family: var(--en-sans);
    font-size: clamp(28px, 3vw, 43px);
    font-weight: 800;
    letter-spacing: -.045em;
}
.hdr-brand-divider { background: var(--accent); width: 3px; height: 32px; }
.hdr-newsroom { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.hdr-wing { color: var(--ink-soft); }
.hdr-wing-name { color: var(--ink); font-size: 13px; }
.hdr-wing-sup { color: var(--ink-faint); letter-spacing: 0; }
.site-nav {
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    box-shadow: none;
}
.nav-inner { min-height: 48px; }
.nav-list { gap: clamp(18px, 2.4vw, 38px); }
.nav-list a {
    position: relative;
    padding-block: 14px 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}
.nav-list a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 2px;
    background: transparent;
}
.nav-list a:hover, .nav-list a.is-active { color: var(--accent); }
.nav-list a.is-active::after { background: var(--accent); }
.nav-search {
    color: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 4px;
    width: 34px;
    height: 34px;
}

/* Breaking news is the only emphatic red surface */
.breaking-bar { background: var(--down); color: #fff; min-height: 34px; }
.brk-label { background: #af0716; color: #fff; font-weight: 800; }
.brk-track a, .brk-item { color: #fff; }

/* Homepage: open editorial grid, no floating-card aesthetic */
.hero-ft { padding-block: 24px 10px; background: #fff; }
.hero-ft-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    border-block: 1px solid var(--rule);
    gap: 0;
}
.hero-lead {
    display: grid;
    grid-template-columns: minmax(330px, .82fr) minmax(460px, 1.18fr);
    min-height: 560px;
    border: 0;
    border-inline-end: 1px solid var(--rule);
    border-radius: 0;
    box-shadow: none;
}
.hero-lead-img {
    grid-column: 2;
    grid-row: 1;
    min-height: 560px;
    height: 100%;
    border-radius: 0;
    aspect-ratio: auto;
}
.hero-lead-img img { height: 100%; object-fit: cover; }
.hero-lead-body { padding: 24px clamp(18px, 3vw, 40px); }
.hero-lead-body {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
}
.hero-lead-cat, .hero-stack-cat, .eg-cat {
    color: var(--accent);
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 800;
}
.hero-lead-title {
    color: var(--ink);
    font-family: var(--ar-head);
    font-size: clamp(31px, 3vw, 48px);
    line-height: 1.25;
    letter-spacing: -.025em;
}
.lang-en .hero-lead-title { font-family: var(--en-serif); }
.hero-lead-excerpt { color: var(--ink-soft); font-size: 16px; max-width: 65ch; }
.hero-stack { padding: 0 22px; }
.hero-stack-item {
    padding-block: 18px;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
}
.hero-stack-thumb { border-radius: 2px; }
.hero-stack-title { color: var(--ink); font-size: 15px; line-height: 1.55; }

.eg-section, .top-stories, .most-read, .media-section { padding-block: clamp(42px, 6vw, 80px); }
.eg-section-hd, .media-section-hd, .fv-hd, .mr-hd {
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--rule);
    padding-block: 11px;
    margin-bottom: 24px;
}
.eg-section-title, .media-section-title, .fv-section-title, .mr-hd-title {
    color: var(--ink);
    font-family: var(--ar-head);
    font-size: clamp(21px, 2vw, 29px);
}
.eg-section-title::before, .media-section-title::before, .fv-section-title::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-inline-end: 10px;
    background: var(--accent);
}
.eg-more, .media-section-more, .fv-more { color: var(--accent); font-weight: 700; }
.eg-card, .ts-featured, .ts-row, .media-card, .pod-list-item {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.eg-card-img, .ts-feat-img, .media-card-thumb, .pod-thumb { border-radius: 2px; overflow: hidden; }
.eg-card-body { padding: 14px 0 0; }
.eg-card-title, .ts-title, .media-card-title, .pod-title { color: var(--ink); }
.eg-card-excerpt { color: var(--ink-soft); }
.eg-card-date, .ts-meta, .media-card-date, .pod-date { color: var(--ink-faint); }
.editorial-grid, .ts-digest, .media-section-grid { gap: 24px; }

.most-read { background: var(--band); border-block: 1px solid var(--rule); }
.mr-list { gap: 0; }
.mr-item { border-bottom: 1px solid var(--rule); border-radius: 0; padding-block: 18px; }
.mr-num {
    color: var(--accent);
    font-family: var(--en-serif);
    font-size: 35px;
    font-weight: 500;
}
.mr-title { color: var(--ink); font-size: 16px; }

/* Ads: premium reservations, visually separate from editorial content */
.ad-zone, .ad-wrap, .sponsor-row { background: #fff; }
.ad-slot {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #cfd7df;
    border-radius: 2px;
    background: #f8fafb;
    box-shadow: none;
}
/* height must stay auto: with both dimensions fixed the browser ignores the
   width/height attributes on the <img>, and those are what reserve the box
   before the creative loads. No .ad-slot sets a definite height, so the old
   height:100% already resolved to auto — this only makes it reliable. */
.ad-slot img { width: 100%; height: auto; object-fit: contain; background: #fff; }
.ad-sponsored-label {
    position: absolute;
    z-index: 2;
    inset-block-start: 4px;
    inset-inline-start: 6px;
    padding: 1px 5px;
    background: rgba(255,255,255,.92);
    color: #667085;
    font-size: 9px;
    letter-spacing: .04em;
}
.sponsor-grid { gap: 14px; }

/* Article and all content index pages */
.np-art { background: #fff; }
.np-art-header {
    padding-block: clamp(42px, 7vw, 92px) 32px !important;
    background: #fff !important;
    border-bottom: 1px solid var(--rule) !important;
}
.np-art-header-inner { max-width: 980px !important; }
.np-art-kicker { color: var(--accent) !important; font-weight: 800; }
.np-art-kicker::before { background: var(--accent) !important; }
.np-art-title {
    color: var(--ink) !important;
    font-family: var(--ar-head);
    font-size: clamp(38px, 5.2vw, 72px) !important;
    line-height: 1.24 !important;
    letter-spacing: -.035em !important;
    text-shadow: none !important;
    max-width: 940px !important;
}
.lang-en .np-art-title { font-family: var(--en-serif); }
.np-art-subtitle {
    color: var(--ink-soft) !important;
    font-size: clamp(18px, 1.7vw, 23px) !important;
    max-width: 820px !important;
}
.np-art-byline, .np-art-share { border-color: var(--rule) !important; color: var(--ink-faint) !important; }
.np-art-byline-author, .np-art-byline-author a { color: var(--ink) !important; }
.np-art-byline-date, .np-art-read-time { color: var(--ink-faint) !important; }
.np-art-hero-img { background: #fff !important; }
.np-art-figure::after { display: none !important; }
.np-art-caption { color: var(--ink-faint) !important; background: #fff !important; }
.np-share-btn { border: 1px solid var(--rule); background: #fff; color: var(--ink); border-radius: 4px; }
.np-art-layout { gap: clamp(32px, 5vw, 72px); }
.np-art-figure, .np-art-hero-img { border-radius: 2px; }
.np-art-body {
    color: #172840;
    font-size: clamp(18px, 1.35vw, 21px);
    line-height: 2;
}
.np-art-body p { margin-bottom: 1.55em; }
.np-art-body blockquote {
    border-inline-start: 4px solid var(--accent);
    color: var(--ink);
    background: transparent;
    font-family: var(--ar-head);
    font-size: 1.3em;
}
.np-art-sidebar { border-inline-start: 1px solid var(--rule); padding-inline-start: 24px; }
.np-sidebar-section-title, .np-art-related-title { border-top: 2px solid var(--ink); color: var(--ink); }
.np-sidebar-item, .np-rel-card { border-radius: 0; border-color: var(--rule); box-shadow: none; }
.np-art-author-box, .np-art-newsletter { border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.np-art-tag { border: 1px solid var(--rule); background: #fff; color: var(--ink-soft); border-radius: 4px; }

.np-page-wrap, .np-static-body { padding-block: clamp(40px, 6vw, 76px); }
.np-index-hd, .np-static-hd {
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding-block: clamp(34px, 5vw, 64px);
}
.np-index-title, .np-static-hd-title {
    color: var(--ink);
    font-family: var(--ar-head);
    font-size: clamp(36px, 5vw, 64px);
}
.np-index-grid { gap: 28px 22px; }
.eg-card { border-bottom: 1px solid var(--rule); padding-bottom: 20px; }
.np-index-filters, .np-form-wrap {
    background: #f8fafb;
    border: 1px solid var(--rule);
    border-radius: 6px;
    box-shadow: none;
}
.np-filter-search, .np-filter-select, .np-form-input, .np-form-textarea,
.adv-booking-form input, .adv-booking-form select, .adv-booking-form textarea {
    border: 1px solid #bdc8d4;
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
}
.np-filter-btn, .np-form-submit, .adv-form-submit-btn {
    border: 1px solid var(--accent);
    border-radius: 5px;
    background: var(--accent);
    color: #fff;
}
.np-filter-btn:hover, .np-form-submit:hover, .adv-form-submit-btn:hover { background: var(--accent-deep); }

/* Newsletter and footer */
.hp-newsletter { background: #eef6f2; border-block: 1px solid #cfe2d8; color: var(--ink); }
.hp-newsletter-inner { border-radius: 0; box-shadow: none; }
.hp-newsletter-title { color: var(--ink); }
.hp-newsletter-input, .hp-newsletter-btn { border-radius: 4px; }
.hp-newsletter-btn { background: var(--accent); color: #fff; }
.site-footer {
    background: #f5f7f8;
    color: var(--ink-soft);
    border-top: 1px solid var(--rule);
}
.site-footer h4, .footer-logo { color: var(--ink); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--rule); }

/* Accessible interaction states */
:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(0,122,77,.22);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .hdr-wing { display: none; }
    .site-header, .hdr-inner { min-height: 72px; }
    .hero-ft-grid, .np-art-layout { border: 0; }
    .hero-ft-grid { grid-template-columns: 1fr; }
    .hero-lead { grid-template-columns: 1fr 1.12fr; min-height: 460px; }
    .hero-lead-img { min-height: 460px; }
    .hero-lead { border-inline-end: 0; border-bottom: 1px solid var(--rule); }
    .np-art-sidebar { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
}
@media (max-width: 680px) {
    body { font-size: 15px; }
    .container { width: min(calc(100% - 24px), var(--container)); }
    .topbar-meta .topbar-date, .topbar-sep { display: none; }
    .hdr-logo-text { font-size: 30px; }
    .hdr-newsroom { font-size: 11px; }
    .hero-ft { padding-top: 12px; }
    .hero-ft-grid, .hero-lead, .hero-lead-img, .hero-lead-body, .hero-stack {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .hero-ft-grid { display: block; overflow: hidden; }
    .hero-lead { display: flex; min-height: 0; overflow: hidden; }
    .hero-lead-img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
    .hero-lead-body { padding-inline: 4px; }
    .hero-lead-title { font-size: 31px; }
    .hero-stack { flex-direction: column; overflow: visible; padding-inline: 0; }
    .hero-stack-item {
        width: 100%;
        flex: none;
        flex-direction: row;
        border-inline-end: 0;
        border-bottom: 1px solid var(--rule);
    }
    .hero-stack-thumb { width: 108px; height: 76px; flex: 0 0 108px; }
    .np-art-title { font-size: 38px; }
    .np-art-body { font-size: 18px; }
}

/* ── newsroom-v3-shell.css ── */
/*
 * UAEFMA Newsroom v3 — institutional shell
 * Header, navigation, advertising frame and footer only.
 */
:root {
    --v3-ink: #0b1f33;
    --v3-ink-2: #18364f;
    --v3-green: #0d6e63;
    --v3-green-dark: #0d6e63;
    --v3-sand: #faf7f2;
    --v3-copper: #c59a3d;
    --v3-paper: #fff;
    --v3-mist: #f4f7f8;
    --v3-rule: #d7dfe4;
    --v3-muted: #5f6f7e;
    --en-sans: "Manrope", sans-serif;
    --en-serif: "Source Serif 4", serif;
    --ar-body: "IBM Plex Sans Arabic", sans-serif;
    --ar-head: "Noto Kufi Arabic", sans-serif;
}

body {
    color: var(--v3-ink);
    background: #faf7f2;
}

.lang-en { font-family: var(--en-sans); }
.lang-ar { font-family: var(--ar-body); }

.topbar {
    min-height: 40px;
    background: var(--v3-ink);
    color: #fff;
    border: 0;
}
.topbar-inner { min-height: 40px; }
.topbar-ticker-wrap { min-width: 0; }
.topbar-markets { min-height: 40px; overflow: hidden; }
.mkt-item {
    min-height: 40px;
    border-color: rgba(255,255,255,.14);
    padding-inline: clamp(12px, 1.8vw, 26px);
}
.mkt-label, .topbar-date { color: rgba(255,255,255,.82); }
.mkt-source { padding-inline: 12px; color: rgba(255,255,255,.56); font-size: 9px; white-space: nowrap; }
.mkt-delayed { color: #e6b455; font-weight: 600; }
.mkt-val { color: #fff; }
.topbar-meta { flex: 0 0 auto; }
.topbar-sep { color: rgba(255,255,255,.25); }
.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 5px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 4px;
    color: rgba(255,255,255,.5);
}
.language-switch .lang-btn {
    border: 0;
    padding: 1px 5px;
    background: transparent;
    color: rgba(255,255,255,.7);
}
.language-switch .lang-btn.is-current {
    color: #fff;
    background: var(--v3-green);
}

.site-header {
    min-height: 150px;
    /* Soft ivory, near-flat. The gradient only lifts the upper edge so the
       masthead reads as paper rather than a filled block. */
    background: linear-gradient(180deg, #fdfbf7 0%, #faf7f2 55%, #f7f2ea 100%);
    border-bottom: 1px solid #e8e1d8;
}
.hdr-inner {
    min-height: 150px;
    gap: clamp(1rem, 2.2vw, 2.75rem);
}
.hdr-brand {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 300px;
}
.hdr-logo-text {
    color: var(--v3-ink);
    font-family: var(--en-serif);
    font-size: clamp(46px, 4.5vw, 72px);
    letter-spacing: .025em;
}
.hdr-brand-divider {
    width: 4px;
    height: 42px;
    background: var(--v3-copper);
}
.hdr-newsroom {
    max-width: none;
    color: var(--v3-ink);
    font-family: var(--en-serif);
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hdr-wing { max-width: 340px; }
.hdr-wing-name { color: var(--v3-ink); font-size: 14px; }
.hdr-wing-sup { color: var(--v3-muted); }
.nf-masthead__tools { display: flex; justify-content: flex-end; gap: 15px; margin-top: 14px; }
.nf-masthead__tools a { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--v3-rule); border-radius: 50%; color: var(--v3-ink); }

/* ── Left wing: official mark only ───────────────────────────────────────
   The artwork is genuinely transparent (71% of pixels) with dark multi-colour
   ink, so it needs a clean white ground to read crisply against the ivory
   masthead. Kept flat and squared-off — a white field, not a floating card. */
.hdr-wing--logo { justify-content: center; align-items: flex-start; }
.hdr-official-logo {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    text-decoration: none;
    /* The artwork is dark ink on transparency; the ivory masthead does not
       give it enough ground, so it keeps a white field. Same treatment as
       the footer plate, via tokens. */
    padding: 12px 18px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}
.hdr-official-logo img {
    height: clamp(46px, 4.6vw, 64px);   /* preserve aspect ratio, never stretched */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
/* Only rendered when no managed logo exists — keeps the wing from collapsing. */
.hdr-official-logo__fallback {
    color: var(--v3-muted);
    font-size: clamp(10px, .78vw, 11.5px);
    line-height: 1.3;
    letter-spacing: .13em;
    text-transform: uppercase;
}

/* ── Right wing: chairman ──────────────────────────────────────────────── */
.hdr-wing--chairman {
    position: relative;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    text-align: end;
    padding-inline-start: clamp(16px, 1.8vw, 28px);
}
/* Short muted-gold rule: refined, and deliberately not full header height. */
.hdr-wing--chairman::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg,
        rgba(197,154,61,0) 0%,
        rgba(197,154,61,.34) 24%,
        rgba(197,154,61,.34) 76%,
        rgba(197,154,61,0) 100%);
}
.hdr-chairman__title {
    color: var(--v3-copper);
    font-size: clamp(10px, .78vw, 11.5px);
    line-height: 1.3;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hdr-chairman__name {
    color: var(--v3-ink);
    font-family: var(--en-serif);
    font-size: clamp(18px, 1.55vw, 22px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .005em;
    white-space: nowrap;
}

/* Footer sits on a dark ground — the white plate keeps the official logo
   legible even when no dark variant has been uploaded. */
.footer-logo--img {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    padding: 8px 14px;
    background: var(--surface);
    border-radius: var(--radius);
    box-sizing: content-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    border-block: 1px solid var(--v3-rule);
    background: rgba(250,247,242,.97);
    box-shadow: none;
    backdrop-filter: blur(12px);
}
.nav-inner { min-height: 54px; }
.nav-list { gap: clamp(12px, 1.7vw, 28px); }
.nav-list a {
    color: var(--v3-ink-2);
    font-family: var(--en-sans);
    font-size: 11px;
    letter-spacing: .015em;
}
/* Desktop nav height. --nav-h drives the link box here and the sticky offsets
   in article.css, so raising the token keeps those in step. Everything is
   scoped above the mobile breakpoint: below it the nav is a drawer, which
   also reads --nav-h and must keep its existing metrics. Declared after the
   base rules above so it wins at equal specificity. */
@media (min-width: 769px) {
    :root { --nav-h: 60px; }
    .nav-inner { min-height: 60px; }
    .nav-list a { padding-block: 0; }  /* height comes from --nav-h; padding squeezed it */
    /* Refined 3px active rule, keeping the existing green accent. */
    .nav-list li a { border-bottom-width: 3px; }
}
.lang-ar .nav-list a { font-family: var(--ar-body); }
.nav-list a:hover, .nav-list a.is-active { color: var(--v3-green); }
.nav-search {
    width: 38px;
    height: 38px;
    border-color: var(--v3-rule);
    color: var(--v3-ink);
}

.breaking-bar {
    min-height: 38px;
    background: #a91e2c;
}
.brk-label { background: #881522; }

.sitewide-ad {
    padding-block: 14px;
    background: var(--v3-mist);
    border-bottom: 1px solid var(--v3-rule);
}
.sitewide-ad--footer {
    padding-block: 24px;
    border-block: 1px solid var(--v3-rule);
}
.sitewide-ad .ad-slot {
    max-width: 1200px;
    margin-inline: auto;
}

.ad-slot {
    border-color: #c9d3d9;
    background: #f7f9fa;
}
.ad-slot--leaderboard { min-height: 90px; }
.ad-slot--billboard { min-height: 160px; }
.ad-sponsored-label {
    color: #586775;
    font-family: var(--en-sans);
    font-weight: 700;
    text-transform: uppercase;
}
.ad-zone {
    padding-block: 18px;
    border-block: 1px solid #edf0f2;
}
.ad-zone + .ad-zone { border-top: 0; }

.site-footer {
    padding-top: clamp(42px, 6vw, 72px);
    background: var(--v3-ink) !important;
    color: #d8e1e7 !important;
    border-top: 5px solid var(--v3-green) !important;
}
.footer-grid {
    gap: clamp(28px, 4vw, 70px);
    padding-bottom: 48px;
}
.site-footer .footer-logo {
    color: #fff !important;
    font-size: 34px;
}
.site-footer .footer-brand p {
    max-width: 290px;
    color: #b9c7d0 !important;
    line-height: 1.7;
}
.site-footer h4 {
    margin-bottom: 16px;
    color: #fff !important;
    font-size: 12px;
    letter-spacing: .09em;
}
.site-footer li { margin-block: 8px; }
.site-footer a {
    color: #c9d5dc !important;
    font-size: 13px;
}
.site-footer a:hover { color: #fff !important; }
.site-footer .footer-language {
    display: inline-flex;
    margin-top: 14px;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 4px;
    color: #fff !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.14) !important;
    background: #071727;
    color: #9fb0bb;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-block: 18px;
    font-size: 11px;
}
/* Discreet staff entrance — subdued, never a public CTA. */
.footer-admin-login {
    color: rgba(159,176,187,.55);
    text-decoration: none;
    font-size: 11px;
    white-space: nowrap;
    transition: color .15s;
}
.footer-admin-login:hover,
.footer-admin-login:focus-visible { color: #cfe0ea; text-decoration: underline; }

/* Tablet: all three columns stay. Everything scales down and the gaps tighten;
   the chairman divider is the first thing dropped, ahead of any content. */
@media (max-width: 1024px) {
    .topbar-markets .mkt-item:nth-child(n+4) { display: none; }
    .site-header, .hdr-inner { min-height: 116px; }
    .hdr-brand { min-width: 0; }
    .hdr-official-logo img { height: 46px; }
    .hdr-official-logo { padding: 9px 13px; }
    .hdr-chairman__name { font-size: 17px; }
    .hdr-chairman__title { font-size: 9.5px; letter-spacing: .12em; }
    .hdr-wing--chairman { padding-inline-start: 12px; }
    .hdr-wing--chairman::before { display: none; }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .topbar { min-height: 38px; }
    .topbar-markets .mkt-item:nth-child(n+3), .topbar-date, .topbar-sep { display: none; }
    .language-switch { font-size: 10px; }
    .nf-masthead__tools { display: none; }
    .hdr-newsroom { font-size: 9px; }
    .site-nav { top: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom .container { flex-direction: column; }
}

/* Phone: responsive.css collapses .hdr-inner to a single centred column and
   hides both wings. Bring the mark back so the header still carries the
   official logo — stacked above the masthead — and drop the chairman block,
   which has no room here. Order is logo, UAEFMA, FINANCIAL NEWS. */
@media (max-width: 768px) {
    .hdr-wing--logo {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
    }
    .hdr-wing--chairman { display: none; }
    .hdr-official-logo img { height: 38px; }
    .hdr-official-logo { padding: 7px 11px; }
    .site-header, .hdr-inner { min-height: 0; }
    .hdr-inner { row-gap: 8px; padding-block: 12px; }
}

/* ══════════════════════════════════════════════════════
   RELEASE POLISH — compact footer (was too tall / airy)
   ══════════════════════════════════════════════════════ */
.site-footer { padding-top: clamp(32px, 4vw, 48px); }
.footer-grid { gap: clamp(22px, 3vw, 44px); padding-bottom: 30px; }
.site-footer .footer-logo { font-size: 28px; }
.site-footer h4 { margin-bottom: 12px; }
.site-footer li { margin-block: 6px; }
.footer-bottom .container { padding-block: 14px; }
@media (max-width: 680px) {
    .site-footer { padding-top: 30px; }
    .footer-grid { gap: 26px 22px; padding-bottom: 22px; }
}

/* ── newsroom-v3-pages.css ── */
/*
 * UAEFMA Newsroom v3 — editorial pages
 * Homepage, indexes, article and media surfaces.
 */
.hero-ft {
    padding-block: 30px 24px;
    background: #fff;
}

.media-detail {
    padding-block: clamp(32px, 5vw, 72px);
}

.media-detail__crumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--ink-soft, #53606d);
    font-size: 13px;
}

.media-detail__header {
    max-width: 900px;
    margin-bottom: 28px;
}

.media-detail__header h1 {
    margin: 10px 0 12px;
    color: var(--navy, #071a2f);
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.04;
}

.media-detail__header time {
    color: var(--ink-soft, #53606d);
    font-size: 13px;
}

.media-detail__player {
    overflow: hidden;
    max-width: 1040px;
    border-radius: 8px;
    background: #071a2f;
    aspect-ratio: 16 / 9;
}

.media-detail__player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.media-detail__copy {
    max-width: 780px;
    padding-block: 28px;
    color: var(--ink, #36404a);
    font-size: 17px;
    line-height: 1.8;
}

.media-detail__related {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line, #e8e1d8);
}

.media-detail__related h2 {
    margin: 0 0 20px;
    color: var(--navy, #071a2f);
    font-family: var(--font-display);
}
.hero-ft-grid {
    border: 1px solid var(--v3-rule);
    border-top: 4px solid var(--v3-green);
}
.hero-lead { min-height: 520px; }
.hero-lead-img { min-height: 520px; }
.hero-lead-body { background: #fff; }
.hero-lead-cat, .hero-stack-cat, .eg-cat { color: var(--v3-green); }
.hero-lead-title {
    color: var(--v3-ink);
    font-size: clamp(34px, 3.3vw, 54px);
    line-height: 1.12;
}
.lang-en .hero-lead-title,
.lang-en .eg-card-title,
.lang-en .ts-title {
    font-family: var(--en-serif);
}
.hero-lead-excerpt { color: var(--v3-ink-2); }
.hero-stack { background: #fbfcfc; }
.hero-stack-title { color: var(--v3-ink); }

.sponsor-row {
    padding-block: 16px;
    background: var(--v3-sand);
    border-block: 1px solid #e1d9ca;
}
.sponsor-grid--three { align-items: stretch; }
.sponsor-grid--three .ad-slot { min-height: 110px; background: #fff; }

.eg-section:nth-of-type(even),
.top-stories:nth-of-type(even) {
    background: #f7f9fa;
    border-block: 1px solid var(--v3-rule);
}
.eg-section-hd, .media-section-hd, .fv-hd, .mr-hd {
    border-top-color: var(--v3-ink);
}
.eg-section-title, .media-section-title, .fv-section-title, .mr-hd-title {
    color: var(--v3-ink);
}
.eg-section-title::before, .media-section-title::before, .fv-section-title::before {
    background: var(--v3-copper);
}
.eg-card {
    border-bottom: 1px solid var(--v3-rule);
    transition: transform .18s ease;
}
.eg-card:hover { transform: translateY(-3px); }
.eg-card-img img { transition: transform .35s ease; }
.eg-card:hover .eg-card-img img { transform: scale(1.025); }
.eg-card-title { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.28; }
.eg-card-excerpt { color: var(--v3-muted); }
/* was #788894 — 3.42:1 on the sand page ground, under AA. 4.84:1. */
.eg-card-date { color: var(--text-secondary, #5f6f7e); }

.most-read {
    background: var(--v3-sand);
    border-color: #dfd6c5;
}
.mr-num { color: var(--v3-copper); }
.mr-title { color: var(--v3-ink); }
.events-section, .featured-video, .podcasts-section {
    background: var(--v3-ink) !important;
}

.hp-newsletter {
    background: #e9f4ef;
    border-color: #bfd9cc;
}
.hp-newsletter-title { font-family: var(--en-serif); }
.lang-ar .hp-newsletter-title { font-family: var(--ar-head); }

.np-index-hd, .np-media-hd, .np-static-hd {
    position: relative;
    overflow: hidden;
    padding-block: clamp(44px, 6vw, 78px);
    background: var(--v3-sand) !important;
    border-bottom: 1px solid #ddd3c0;
    color: var(--v3-ink);
}
.np-index-hd::after, .np-media-hd::after, .np-static-hd::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-end: 6%;
    width: 180px;
    opacity: .13;
    background:
        linear-gradient(90deg, transparent 47%, var(--v3-green) 48% 52%, transparent 53%),
        linear-gradient(0deg, transparent 47%, var(--v3-green) 48% 52%, transparent 53%);
    background-size: 36px 36px;
    transform: skewX(-12deg);
}
.np-index-title, .np-media-page-title, .np-static-hd-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--v3-ink) !important;
    font-family: var(--en-serif);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -.035em;
}
.lang-ar .np-index-title,
.lang-ar .np-media-page-title,
.lang-ar .np-static-hd-title {
    font-family: var(--ar-head);
}
.np-index-desc {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-top: 14px;
    color: var(--v3-muted) !important;
    font-size: 16px;
}
.np-index-kicker { color: var(--v3-green); }

.np-index-filters {
    margin-top: 28px;
    background: #fff;
    border-color: var(--v3-rule);
}
.np-filter-btn { background: var(--v3-green); border-color: var(--v3-green); }
.np-page-wrap { gap: clamp(28px, 4vw, 52px); }
.np-page-sidebar {
    border-inline-start: 1px solid var(--v3-rule);
    padding-inline-start: 24px;
}
.np-media-grid { gap: 30px 24px; padding-block: 46px; }
.np-media-card {
    overflow: hidden;
    border: 1px solid var(--v3-rule);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(11,31,51,.05);
}
.np-media-thumb { aspect-ratio: 16 / 9; }
.np-media-body { padding: 18px; }
.np-media-title {
    color: var(--v3-ink);
    font-family: var(--en-serif);
    font-size: 21px;
    line-height: 1.25;
}
.lang-ar .np-media-title { font-family: var(--ar-head); }
.np-media-ep { color: var(--v3-green); }
.np-media-play { background: rgba(11,31,51,.88); border-color: rgba(255,255,255,.75); }

.np-art-header {
    padding-block: clamp(52px, 7vw, 96px) 38px !important;
    background: linear-gradient(90deg, #fff 0 76%, var(--v3-sand) 76%) !important;
}
.np-art-header-inner { max-width: 1120px !important; }
.np-art-title {
    max-width: 1030px !important;
    color: var(--v3-ink) !important;
    font-family: var(--en-serif);
    font-size: clamp(44px, 5.5vw, 78px) !important;
    line-height: 1.07 !important;
}
.lang-ar .np-art-title { font-family: var(--ar-head); line-height: 1.35 !important; }
.np-art-subtitle { color: var(--v3-ink-2) !important; }
.np-art-hero-img { max-height: 720px; object-fit: cover; }
.np-art-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.np-art-body {
    max-width: 780px;
    color: #1b3043;
    font-family: var(--en-serif);
    font-size: clamp(19px, 1.35vw, 22px);
    line-height: 1.82;
}
.lang-ar .np-art-body { font-family: var(--ar-body); line-height: 2.05; }
.np-art-body > p:first-child::first-letter {
    float: inline-start;
    margin-inline-end: 8px;
    color: var(--v3-green);
    font-family: var(--en-serif);
    font-size: 4.2em;
    line-height: .78;
}
.lang-ar .np-art-body > p:first-child::first-letter {
    float: none;
    margin: 0;
    font: inherit;
    color: inherit;
}
.np-art-sidebar {
    border-color: var(--v3-rule);
    background: #fbfcfc;
    padding: 22px;
}
.np-art-author-box {
    border-inline-start: 5px solid var(--v3-green);
    background: var(--v3-sand);
}
.np-art-newsletter { background: #edf6f1; border-color: #c4ded1; }
.np-art-related { background: #f5f7f8; }

@media (max-width: 980px) {
    .np-page-sidebar { border-inline-start: 0; padding-inline-start: 0; }
    .np-art-layout { grid-template-columns: 1fr; }
    .np-art-sidebar { background: #fff; }
    .np-art-header { background: #fff !important; }
}

@media (max-width: 680px) {
    .hero-lead { min-height: 0; }
    .hero-lead-title { font-size: 34px; }
    .np-index-hd, .np-media-hd { padding-block: 38px; }
    .np-index-title, .np-media-page-title { font-size: 44px; }
    .np-index-hd::after, .np-media-hd::after { display: none; }
    .np-media-grid { gap: 18px; padding-block: 28px; }
    .np-art-title { font-size: 42px !important; }
    .np-art-body { font-size: 18px; }
}

/* Homepage section 'list' / 'compact' layout preset (Phase 3) */
.eg-list { display: grid; gap: 14px; }
.eg-list .eg-card-horiz { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
.eg-list .eg-card-horiz .eg-card-body { padding: 0; }
@media (max-width: 560px) { .eg-list .eg-card-horiz { grid-template-columns: 88px 1fr; } }

/* ── static-pages-polish.css ── */
/* Static/public form pages polish */
.np-static-hd,
.np-index-hd {
    min-height: 260px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border, #e5e0d6);
}

.np-static-hd-title,
.np-index-title {
    max-width: 980px;
    line-height: .98;
}

.np-static-hd-sub,
.np-index-desc {
    color: #526173;
    max-width: 720px;
}

.np-static-body {
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px 0 72px;
}

.np-about-intro {
    max-width: 900px;
    margin: 0 auto 34px;
    font-size: 18px;
    line-height: 1.8;
}

.np-about-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0 48px;
}

.np-stat {
    background: #071a2d;
    color: #fff;
    border-radius: 8px;
    padding: 24px 18px;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.np-stat-num {
    color: #0fa47f;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.np-stat-lbl {
    color: rgba(255,255,255,.74);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 10px;
}

.ct-info-row {
    max-width: 1040px;
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ct-info-card {
    min-width: 0;
    padding: 30px 22px;
}

.ct-info-val,
.ct-info-val a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.np-form-wrap {
    max-width: 1040px;
    margin: 0 auto 72px;
    background: #fff;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 18px 42px rgba(7,26,45,.06);
}

.np-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.np-form-grid > .np-form-field-full,
.np-form-grid > .newsroom-field-full,
.np-form-grid > fieldset,
.np-form-grid > textarea,
.np-form-grid > .np-form-actions {
    grid-column: 1 / -1;
}

.np-form-input,
.newsroom-input,
.newsroom-select,
.np-form-wrap input,
.np-form-wrap select,
.np-form-wrap textarea {
    width: 100%;
    min-height: 48px;
    border-radius: 6px;
    border: 1px solid #cfd7df;
    padding: 12px 14px;
    background: #fff;
}

.np-form-wrap textarea {
    min-height: 150px;
    resize: vertical;
}

.np-form-wrap button,
.np-form-wrap .np-filter-btn,
.np-static-body .np-filter-btn,
.adv-hero-cta {
    min-height: 48px;
    border-radius: 6px;
    background: #0d7c66;
    color: #fff;
    border: 1px solid #0d7c66;
    font-weight: 800;
}

.np-static-body .np-filter-btn:hover,
.np-form-wrap .np-filter-btn:hover,
.adv-hero-cta:hover {
    background: #095f50;
    color: #fff;
}

.adv-hero {
    min-height: 460px;
    display: flex;
    align-items: center;
}

.adv-hero-headline {
    max-width: 980px;
    line-height: 1.04;
}

.adv-hero-sub {
    max-width: 760px;
}

@media (max-width: 900px) {
    .np-about-stats,
    .ct-info-row,
    .np-form-grid {
        grid-template-columns: 1fr;
    }

    .np-static-hd,
    .np-index-hd {
        min-height: 220px;
    }

    .np-static-body {
        padding: 34px 0 54px;
    }
}

/* ── footer-upgrade.css ── */
.site-footer--upgraded {
    border-top: 4px solid #007f68;
}

.footer-newsroom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 36px 0 26px;
}

.footer-newsroom h3 {
    max-width: 760px;
    margin: 6px 0 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.25;
}

.footer-kicker {
    color: #d6b263;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.footer-cta:hover {
    background: #007f68;
    border-color: #007f68;
}

@media (max-width: 760px) {
    .footer-newsroom {
        grid-template-columns: 1fr;
    }

    .footer-newsroom h3 {
        font-size: 20px;
    }
}

.ad-slot--empty {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(11, 35, 55, .22);
    background: rgba(255,255,255,.6);
}

.ad-empty-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    width: 100%;
    color: #0b2337;
    text-decoration: none;
}

.ad-empty-link strong {
    font-size: 14px;
}

.ad-empty-link span {
    color: #64748b;
    font-size: 12px;
}

/* ── a11y.css ── */
/* ==========================================================================
   Accessibility layer — loaded last on both the public and admin shells so
   the focus styles win the cascade over scattered `outline:none` resets.
   ========================================================================== */

/* Screen-reader-only utility: visually hidden, still announced by AT.
   (Used by e.g. form labels; was referenced in markup but never defined,
   which left those labels visible.) */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* A visually-hidden element that becomes visible on focus (skip links). */
.sr-only-focusable:focus,
.sr-only-focusable:focus-within {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* Consistent keyboard focus ring for every interactive element. Only fires
   for keyboard / assistive-tech focus (:focus-visible), so mouse users are
   unaffected. !important is intentional: it overrides the various
   `outline:none` rules across the codebase, and a visible focus indicator is
   a WCAG 2.4.7 (AA) requirement that must not be suppressed. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
[contenteditable="true"]:focus-visible {
    outline: 2px solid var(--accent, #c8102e) !important;
    outline-offset: 2px !important;
    border-radius: 3px;
}

/* Honour the user's reduced-motion preference across all animation. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
