:root {
    --ink: #111111;
    --ink-soft: #525252;
    --paper: #ffffff;
    --paper-elevated: #ffffff;
    --brand: #c1121f;
    --brand-deep: #111111;
    --brand-mist: #fee2e2;
    --accent: #c1121f;
    --line: #e5e5e5;
    --line-strong: #a3a3a3;
    --shadow-soft: 0 14px 32px rgba(17, 17, 17, 0.08);
    --font: "Tajawal", Tahoma, sans-serif;
    --display: "Tajawal", Tahoma, sans-serif;
    --radius: 6px;
    --space-xs: .5rem;
    --space-sm: .85rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4.25rem;
    --container: 1180px;
    --site-max: 1280px;
    --gutter: clamp(1.15rem, 3vw, 2rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(circle at top, rgba(193, 18, 31, .06), transparent 34%),
        linear-gradient(180deg, #f3f3f3 0%, #ececec 40%, #f7f7f7 100%);
    min-height: 100vh;
    line-height: 1.7;
    padding: clamp(.85rem, 2.2vw, 1.75rem) clamp(.75rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.site-frame {
    width: min(var(--site-max), 100%);
    margin-inline: auto;
    background: var(--paper);
    border: 1px solid rgba(163, 163, 163, .45);
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-deep); }

.container-mag {
    width: min(var(--container), 100%);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

main {
    padding-block: 0.25rem 0.5rem;
}

/* ---------- Motion ---------- */
@keyframes rise-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-soft {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 229, 229, 0.95);
}

.masthead-bar {
    background: var(--brand-deep);
    color: rgba(255,255,255,.84);
    font-size: .76rem;
    letter-spacing: .03em;
}
.masthead-bar .container-mag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    padding-block: .4rem;
}
.masthead-bar a { color: #fff; }
.masthead-fb {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #fff !important;
    font-weight: 700;
    opacity: .92;
}
.masthead-fb:hover { opacity: 1; color: #fff !important; }

.brand-lockup {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding-block: .7rem;
}
.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(208, 219, 213, 0.9);
    padding: 3px;
}
.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    background: radial-gradient(circle at 30% 30%, #ef4444, var(--brand));
    box-shadow: 0 8px 18px rgba(193, 18, 31, 0.28);
    flex-shrink: 0;
}
.brand-title {
    font-size: clamp(.95rem, 2vw, 1.12rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
}
.brand-sub {
    font-size: .72rem;
    color: var(--ink-soft);
    margin-top: .1rem;
}

.nav-link-custom {
    color: var(--ink) !important;
    font-weight: 700;
    font-size: .9rem;
    padding: .5rem .65rem !important;
    position: relative;
}
.nav-link-custom::after {
    content: "";
    position: absolute;
    right: .65rem;
    left: .65rem;
    bottom: .15rem;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .25s ease;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after { transform: scaleX(1); }
.nav-link-custom:hover,
.nav-link-custom.active { color: var(--brand-deep) !important; }

.btn-brand,
.btn-outline-brand,
.btn-ghost-light,
.btn-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-weight: 700;
    border-radius: 4px;
    padding: .7rem 1.2rem;
    border: 1.5px solid transparent;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-brand {
    background: var(--brand);
    color: #fff;
}
.btn-brand:hover {
    background: var(--brand-deep);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-brand {
    background: transparent;
    border-color: var(--brand);
    color: var(--brand);
}
.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff;
}
.btn-ghost-light {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.45);
    color: #fff;
}
.btn-ghost-light:hover {
    background: #fff;
    color: var(--brand-deep);
}
.btn-soft {
    background: var(--brand-mist);
    color: var(--brand-deep);
}
.btn-soft:hover {
    background: #fecaca;
    color: var(--brand-deep);
}
.btn-sm { padding: .42rem .9rem; font-size: .85rem; }

/* ---------- Magazine Hero / News Slider ---------- */
.mag-hero {
    position: relative;
    height: clamp(280px, 38vw, 460px);
    min-height: 280px;
    max-height: 460px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    background: #111;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
    z-index: 1;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.mag-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #1a1a1a;
    overflow: hidden;
}
.mag-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 6.5s ease;
    filter: brightness(.98) contrast(1.04);
}
.hero-slide.is-active .mag-hero__media img {
    transform: scale(1.08);
}
.mag-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.88) 100%);
    z-index: 1;
    pointer-events: none;
}
.mag-hero__shade {
    display: none;
}
.mag-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: clamp(2.75rem, 6vw, 4.25rem) var(--gutter) clamp(3.4rem, 5vw, 4rem);
}
.mag-hero__inner--compact {
    padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter) clamp(2.4rem, 4vw, 3.2rem);
}
.mag-hero__brand,
.mag-hero__title {
    font-family: var(--display);
    font-size: clamp(1.85rem, 4.5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 .85rem;
    max-width: 18ch;
    text-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.mag-hero__title--compact {
    font-size: clamp(1.15rem, 2.6vw, 1.75rem);
    font-weight: 800;
    line-height: 1.35;
    max-width: min(28ch, 95%);
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    text-shadow: 0 8px 24px rgba(0,0,0,.35);
    display: block;
}
.mag-hero__title a {
    color: #fff;
}
.mag-hero__title a:hover {
    color: #fff;
    opacity: .92;
}
.mag-hero__dek {
    font-size: clamp(.98rem, 1.7vw, 1.12rem);
    max-width: 38ch;
    opacity: .92;
    margin: 0 0 1.35rem;
    line-height: 1.75;
    text-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.mag-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}
.mag-hero__meta {
    display: inline-block;
    margin-bottom: .65rem;
    padding: .28rem .7rem;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.18);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
}
.hero-controls {
    position: absolute;
    inset-inline: var(--gutter);
    bottom: 1rem;
    z-index: 5;
    width: auto;
    margin-inline: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: none;
}
.hero-dots {
    display: flex;
    gap: .45rem;
    pointer-events: auto;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.hero-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}
.hero-nav {
    display: flex;
    gap: .45rem;
    pointer-events: auto;
}
.hero-nav button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(0,0,0,.45);
    color: #fff;
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.hero-nav button:hover {
    background: rgba(0,0,0,.7);
    transform: translateY(-1px);
}

/* ---------- Sections ---------- */
.section {
    padding: var(--space-2xl) 0;
}
.section.pt-0 { padding-top: 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--ink);
}
.section-kicker {
    display: block;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: .3rem;
}
.section-title {
    font-family: var(--display);
    font-size: clamp(1.65rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}
.section-sub {
    color: var(--ink-soft);
    margin: 0;
}

/* ---------- Magazine Grid ---------- */
.mag-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-lg);
}
.mag-feature {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    color: #fff;
    background: #111;
    display: flex;
    align-items: end;
    text-decoration: none;
}
.mag-feature:hover { color: #fff; }
.mag-feature__bg {
    position: absolute;
    inset: 0;
    background: #1a1a1a;
    transition: transform .6s ease;
}
.mag-feature:hover .mag-feature__bg { transform: scale(1.03); }
.mag-feature__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.95);
}
.mag-feature__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.82) 100%),
        radial-gradient(ellipse at top, transparent 40%, rgba(0,0,0,.25) 100%);
    transition: background .35s ease;
}
.mag-feature:hover .mag-feature__bg::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.88) 100%),
        radial-gradient(ellipse at top, transparent 35%, rgba(0,0,0,.3) 100%);
}
.mag-feature__content {
    position: relative;
    z-index: 1;
    padding: clamp(1.25rem, 3vw, 1.85rem);
    width: 100%;
}
.mag-feature__meta,
.story-meta {
    font-size: .8rem;
    margin-bottom: .45rem;
    font-weight: 600;
}
.mag-feature__meta { color: rgba(255,255,255,.78); }
.mag-feature__title {
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    line-height: 1.28;
    margin: 0 0 .55rem;
}
.mag-feature__excerpt {
    margin: 0;
    opacity: .9;
    max-width: 42ch;
    font-size: .95rem;
}

.mag-stack {
    display: grid;
    gap: 1.1rem;
}
.story-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: .95rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    align-items: start;
}
.story-row:last-child { border-bottom: 0; padding-bottom: 0; }
.story-row:hover .story-row__title { color: var(--brand); }
.story-row__thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1c1c1c;
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 1.25rem;
    position: relative;
}
.story-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-row__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45));
    pointer-events: none;
}
.story-row__title {
    font-family: var(--display);
    font-size: 1.18rem;
    line-height: 1.3;
    margin: 0 0 .35rem;
    transition: color .2s ease;
}
.story-row .story-meta { color: var(--ink-soft); }
.story-row__excerpt {
    color: var(--ink-soft);
    font-size: .9rem;
    margin: 0;
    line-height: 1.6;
}

.story-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.story-tile {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
    transition: transform .25s ease;
}
.story-tile:hover { transform: translateY(-3px); color: inherit; }
.story-tile__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: .8rem;
    background: #1a1a1a;
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 1.6rem;
    position: relative;
}
.story-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.story-tile__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.42));
    pointer-events: none;
    transition: background .3s ease;
}
.story-tile:hover .story-tile__media img { transform: scale(1.04); }
.story-tile:hover .story-tile__media::after {
    background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.55));
}
.story-tile__title {
    font-family: var(--display);
    font-size: 1.28rem;
    line-height: 1.3;
    margin: 0 0 .4rem;
}
.story-tile__excerpt {
    color: var(--ink-soft);
    font-size: .9rem;
    margin: 0;
    flex: 1;
    line-height: 1.65;
}
.story-tile .story-meta { color: var(--ink-soft); }

/* ---------- Services strip ---------- */
.service-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(var(--container), 100%);
    margin: calc(var(--space-lg) * -1) auto var(--space-xl);
    padding-inline: 0;
    position: relative;
    z-index: 2;
    border: 1px solid var(--line);
    background: var(--paper-elevated);
    box-shadow: var(--shadow-soft);
    box-sizing: border-box;
}
@media (min-width: 576px) {
    .service-strip {
        width: min(calc(var(--container) - (var(--gutter) * 2)), calc(100% - (var(--gutter) * 2)));
    }
}
.service-strip__item {
    padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1rem, 2vw, 1.35rem);
    border-inline-start: 1px solid var(--line);
}
.service-strip__item:first-child { border-inline-start: 0; }
.service-strip__item h3 {
    font-family: var(--display);
    font-size: 1.25rem;
    margin: 0 0 .35rem;
}
.service-strip__item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: .9rem;
    line-height: 1.65;
}
.service-strip__item a {
    display: inline-block;
    margin-top: .65rem;
    font-weight: 800;
    font-size: .9rem;
    color: var(--brand);
}

/* ---------- Leadership ---------- */
.leaders-band {
    background:
        linear-gradient(120deg, rgba(193, 18, 31, .05), rgba(17, 17, 17, .03)),
        #f5f5f5;
    border-block: 1px solid var(--line);
}
.leaders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
}
.leader-portrait { padding: .15rem 0; }
.leader-portrait .role {
    color: var(--accent);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .3rem;
}
.leader-portrait h3 {
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.3vw, 1.75rem);
    margin: 0 0 .35rem;
}
.leader-portrait p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ---------- Page banner / article ---------- */
.page-banner {
    padding: clamp(1.75rem, 4vw, 2.5rem) 0 clamp(1rem, 2vw, 1.35rem);
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    animation: fade-soft .6s ease both;
}
.page-banner h1 {
    font-family: var(--display);
    font-size: clamp(1.85rem, 3.5vw, 2.55rem);
    font-weight: 700;
    margin: 0 0 .35rem;
    line-height: 1.2;
}
.page-banner p { margin: 0; color: var(--ink-soft); }

.about-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--line);
    background: linear-gradient(120deg, #fff, #fee2e2);
    box-shadow: var(--shadow-soft);
}

.article-page {
    padding-bottom: 1rem;
}

.article-cover {
    position: relative;
    height: clamp(300px, 42vw, 460px);
    min-height: 300px;
    max-height: 460px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
    margin-bottom: 0;
    background: #111;
}
.article-cover--plain {
    background: linear-gradient(145deg, #1a1a1a, #111);
}
.article-cover__media {
    position: absolute;
    inset: 0;
    background: #1a1a1a;
}
.article-cover__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.article-cover__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.88) 100%);
}
.article-cover__inner {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter) clamp(1.4rem, 3vw, 2rem);
}
.article-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: rgba(255,255,255,.82) !important;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .85rem;
}
.article-back:hover { color: #fff !important; }
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    font-size: .86rem;
    color: rgba(255,255,255,.82);
    margin-bottom: .75rem;
}
.article-chip {
    display: inline-flex;
    align-items: center;
    padding: .18rem .55rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}
.article-meta__dot { opacity: .5; }
.article-cover__title {
    font-family: var(--display);
    font-size: clamp(1.45rem, 3.2vw, 2.45rem);
    line-height: 1.3;
    font-weight: 800;
    margin: 0;
    max-width: 22ch;
    text-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.article-cover__excerpt {
    margin: .85rem 0 0;
    max-width: 48ch;
    font-size: clamp(.95rem, 1.6vw, 1.08rem);
    line-height: 1.7;
    color: rgba(255,255,255,.88);
}

.article-layout {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem) var(--gutter) 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.article-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    margin-bottom: 1rem;
}
.article-toolbar__share {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink-soft);
}
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: .18s ease;
}
.share-btn:hover { transform: translateY(-1px); }
.share-btn--fb { color: #1877f2; }
.share-btn.is-copied {
    background: #111;
    color: #fff;
    border-color: #111;
}
.article-fb-follow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: #1877f2;
    color: #fff !important;
    font-size: .82rem;
    font-weight: 800;
}
.article-fb-follow:hover { filter: brightness(1.05); color: #fff !important; }

.article-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.15rem, 2.5vw, 1.75rem);
}

.article-prose {
    white-space: pre-line;
    font-size: clamp(1.02rem, 1.5vw, 1.12rem);
    line-height: 2;
    color: #1f1f1f;
}

.article-gallery {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.article-gallery__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.article-gallery__title {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
}
.article-gallery__count {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink-soft);
}
.article-gallery__collection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
    gap: .55rem;
}
.article-gallery__shot {
    position: relative;
    overflow: hidden;
    background: #111;
    display: block;
    border-radius: 4px;
}
.article-gallery__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.article-gallery__shot:hover img { transform: scale(1.05); }
.article-gallery__collection[data-count="1"] {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
}
.article-gallery__collection[data-count="2"] {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
}
.article-gallery__collection:not([data-count="1"]):not([data-count="2"]) .article-gallery__shot:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.article-gallery__collection[data-count="3"] {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
}
.article-gallery__collection[data-count="3"] .article-gallery__shot:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.aside-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
}
.aside-card--social {
    background: linear-gradient(160deg, #111 0%, #1f1f1f 100%);
    color: #fff;
    border-color: #111;
}
.aside-card--social .aside-card__kicker { color: #fca5a5; }
.aside-card--social .aside-card__text { color: rgba(255,255,255,.78); }
.aside-card__kicker {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: .35rem;
}
.aside-card__title {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 .55rem;
}
.aside-card__text {
    font-size: .9rem;
    color: var(--ink-soft);
    margin: 0 0 1rem;
    line-height: 1.65;
}
.aside-related {
    display: grid;
    gap: .85rem;
}
.aside-related__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: .7rem;
    color: inherit;
    text-decoration: none;
}
.aside-related__item:hover .aside-related__title { color: var(--brand); }
.aside-related__thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    background: #eee;
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 800;
    color: var(--ink-soft);
}
.aside-related__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aside-related__date {
    font-size: .72rem;
    color: var(--ink-soft);
    margin-bottom: .2rem;
}
.aside-related__title {
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.45;
    color: var(--ink);
}

.article-related-mobile { display: none; }
.related-rail--cards {
    grid-template-columns: 1fr;
}
.related-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: .85rem;
    border: 1px solid var(--line);
    background: #fff;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.related-card__media {
    min-height: 96px;
    background: #111;
}
.related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-card__body {
    padding: .75rem .75rem .75rem 0;
}
.related-card__body h3 {
    font-family: var(--display);
    font-size: 1rem;
    margin: .2rem 0 0;
    line-height: 1.4;
}
.related-card:hover { color: var(--brand); }

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .8rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    color: #fff !important;
    font-size: .85rem;
    font-weight: 700;
}
.footer-social:hover {
    background: rgba(255,255,255,.08);
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-aside { display: none; }
    .article-related-mobile { display: block; }
    .article-cover {
        height: 280px;
        min-height: 280px;
        max-height: 300px;
    }
    .article-cover__title { max-width: none; }
}

@media (max-width: 767.98px) {
    .article-gallery__collection {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }
    .article-gallery__collection[data-count="1"] {
        grid-auto-rows: 220px;
    }
    .article-gallery__collection:not([data-count="1"]):not([data-count="2"]) .article-gallery__shot:first-child {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 170px;
    }
    .article-cover {
        height: 250px;
        min-height: 250px;
        max-height: 270px;
    }
    .about-social {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .article-gallery__collection {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 110px;
    }
    .article-gallery__collection[data-count="1"] {
        grid-auto-rows: 200px;
    }
    .article-gallery__collection:not([data-count="1"]):not([data-count="2"]) .article-gallery__shot:first-child {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 160px;
    }
}

/* ---------- News ticker ---------- */
.news-ticker {
    display: flex;
    align-items: stretch;
    background: #111111;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    min-height: 46px;
    width: 100%;
}
.news-ticker__label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .95rem;
    background: #c1121f;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .03em;
    z-index: 2;
    white-space: nowrap;
    box-shadow: -6px 0 14px rgba(0,0,0,.18);
}
.news-ticker__track {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    position: relative;
    direction: ltr; /* keep animation math stable across RTL pages */
}
.news-ticker__marquee {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: news-ticker-scroll var(--ticker-duration, 28s) linear infinite;
}
.news-ticker:hover .news-ticker__marquee,
.news-ticker:focus-within .news-ticker__marquee {
    animation-play-state: paused;
}
.news-ticker__group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
    direction: rtl;
    unicode-bidi: isolate;
}
.news-ticker__item {
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 700;
    padding: .75rem .55rem;
    display: inline-block;
    max-width: min(70vw, 420px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}
.news-ticker__item:hover {
    color: #fde68a;
}
.news-ticker__sep {
    opacity: .4;
    padding: 0 .45rem;
    font-weight: 700;
    user-select: none;
}
@keyframes news-ticker-scroll {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .news-ticker__marquee {
        animation: none;
        transform: none;
    }
    .news-ticker__track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767.98px) {
    .mag-hero {
        height: 320px;
        min-height: 320px;
        max-height: 340px;
    }
    .news-ticker {
        min-height: 42px;
    }
    .news-ticker__label {
        font-size: .72rem;
        padding: 0 .7rem;
        max-width: 4.5rem;
        text-align: center;
        line-height: 1.2;
        white-space: normal;
    }
    .news-ticker__item {
        font-size: .8rem;
        padding: .65rem .4rem;
        max-width: 78vw;
    }
    .news-ticker__sep {
        padding: 0 .3rem;
    }
}

.related-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    margin-top: .75rem;
}
.related-item {
    border-top: 2px solid var(--ink);
    padding-top: .75rem;
    color: inherit;
    text-decoration: none;
}
.related-item:hover { color: var(--brand); }
.related-item h3 {
    font-family: var(--display);
    font-size: 1.1rem;
    margin: .3rem 0 0;
    line-height: 1.3;
}

/* ---------- Forms / shells ---------- */
.form-shell, .content-shell, .auth-shell {
    background: var(--paper-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.15rem, 2.5vw, 1.75rem);
}
.form-label {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .4rem;
}
.form-control, .form-select {
    border-radius: 4px;
    border-color: var(--line);
    padding: .72rem .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .16rem rgba(193, 18, 31, .14);
}

.badge-pending { background: #fff1d6; color: #7a5400; }
.badge-progress { background: #d9eef5; color: #0c5460; }
.badge-resolved { background: #d9f0e3; color: #155724; }
.badge-rejected { background: #f8d7da; color: #721c24; }

.status-pill {
    display: inline-block;
    padding: .28rem .65rem;
    border-radius: 4px;
    font-size: .78rem;
    font-weight: 800;
}

.alert-soft {
    border: none;
    border-radius: 4px;
    background: var(--brand-mist);
    color: var(--brand-deep);
    padding: .85rem 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: var(--space-xl);
    background: linear-gradient(160deg, #111111, #1a1a1a 55%, #0a0a0a 100%);
    color: rgba(255,255,255,.88);
    padding: clamp(2rem, 3.5vw, 2.6rem) 0 1.25rem;
}
.site-footer a { color: #fff; }
.footer-title {
    font-family: var(--display);
    font-size: 1.25rem;
    margin-bottom: .65rem;
}
.footer-brand {
    font-family: var(--display);
    font-size: 1.55rem;
    margin-bottom: .5rem;
}

/* =========================================================
   DASHBOARD
========================================================= */
.dash-body {
    background:
        radial-gradient(circle at top left, rgba(193, 18, 31, .06), transparent 28%),
        #f0f0f0;
    min-height: 100vh;
    color: var(--ink);
}

.dash-shell {
    display: flex;
    min-height: 100vh;
}

.dash-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: linear-gradient(185deg, #111111 0%, #1a1a1a 45%, #0a0a0a 100%);
    color: #fff;
    min-height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 1040;
}

.dash-brand {
    padding: 1.35rem 1.2rem 1.15rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.dash-brand .brand-lockup { padding-block: 0; color: #fff; }
.dash-brand .brand-title { color: #fff; font-size: 1rem; }
.dash-brand .brand-sub { color: rgba(255,255,255,.7); }

.dash-nav {
    padding: .85rem .7rem 1.2rem;
    display: grid;
    gap: .25rem;
    flex: 1;
}
.dash-nav__label {
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    padding: .75rem .65rem .35rem;
    font-weight: 800;
}
.dash-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255,255,255,.86);
    padding: .78rem .85rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: .92rem;
}
.dash-nav a i {
    width: 1.15rem;
    text-align: center;
    opacity: .9;
}
.dash-nav a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}
.dash-nav a.active {
    background: rgba(158, 217, 192, .16);
    border-color: rgba(158, 217, 192, .28);
    color: #fff;
}

.dash-sidebar__foot {
    padding: 1rem 1.1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .8rem;
    color: rgba(255,255,255,.65);
}

.dash-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dash-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: .85rem clamp(1rem, 2.5vw, 1.6rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.dash-topbar__user {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.dash-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--brand), #7f1d1d);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .95rem;
    flex-shrink: 0;
}
.dash-topbar__meta strong {
    display: block;
    font-size: .95rem;
    line-height: 1.3;
}
.dash-topbar__meta small {
    color: var(--ink-soft);
    font-size: .78rem;
}

.dash-content {
    padding: clamp(1.15rem, 2.8vw, 1.85rem);
    width: min(1180px, 100%);
    margin-inline: auto;
}

.dash-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.35rem;
}
.dash-page-head h1 {
    font-family: var(--display);
    font-size: clamp(1.55rem, 2.4vw, 1.9rem);
    font-weight: 700;
    margin: 0 0 .25rem;
    line-height: 1.25;
}
.dash-page-head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: .92rem;
}
.dash-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .85rem;
    margin-bottom: 1.35rem;
}
.stat-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--line);
    padding: 1rem 1.05rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--brand);
}
.stat-card.tone-warn::before { background: #d68910; }
.stat-card.tone-info::before { background: #1f6f8b; }
.stat-card.tone-ok::before { background: #1e7a4c; }
.stat-card.tone-accent::before { background: var(--accent); }
.stat-card .stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--brand-mist);
    color: var(--brand-deep);
    margin-bottom: .65rem;
    font-size: .95rem;
}
.stat-card .value {
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: .3rem;
}
.stat-card .label {
    color: var(--ink-soft);
    font-size: .82rem;
    font-weight: 600;
}

.table-card,
.panel-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.panel-card__head,
.table-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .95rem 1.1rem;
    border-bottom: 1px solid var(--line);
    background: #f7faf8;
}
.panel-card__head h2,
.table-card__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}
.panel-card__body { padding: 1.1rem; }

.table thead th {
    background: #f3f7f5;
    color: var(--ink);
    font-weight: 800;
    border-bottom-color: var(--line);
    white-space: nowrap;
    font-size: .84rem;
    padding: .8rem 1rem;
}
.table tbody td {
    padding: .85rem 1rem;
    vertical-align: middle;
    border-color: #e7eeea;
}
.table tbody tr {
    transition: background .15s ease;
}
.table tbody tr:hover {
    background: #f7fbf9;
}

.dash-filters {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .9rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.dash-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
}
.dash-list-item:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-list-item:first-child { padding-top: 0; }

.dash-link {
    font-weight: 700;
    font-size: .88rem;
    white-space: nowrap;
}
.dash-link.danger { color: #b42318; }
.dash-empty {
    text-align: center;
    color: var(--ink-soft);
    padding: 2rem 1rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem 1rem;
}
.detail-item {
    padding: .75rem .85rem;
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.detail-item.full { grid-column: 1 / -1; }
.detail-item .lbl {
    display: block;
    font-size: .75rem;
    color: var(--ink-soft);
    font-weight: 700;
    margin-bottom: .2rem;
}
.detail-item .val {
    font-weight: 600;
    line-height: 1.55;
}

.role-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
}
.role-card .role {
    color: var(--accent);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}
.role-card h3 {
    font-family: var(--display);
    font-size: 1.35rem;
    margin: 0 0 .35rem;
}

.mobile-nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .dash-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
    .mag-grid,
    .story-board,
    .service-strip,
    .leaders-grid,
    .related-rail,
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .service-strip {
        margin-top: 0;
        margin-bottom: var(--space-lg);
    }
    .service-strip__item {
        border-inline-start: 0;
        border-top: 1px solid var(--line);
    }
    .service-strip__item:first-child { border-top: 0; }
    .mag-feature { min-height: 360px; }
    .section { padding: 3rem 0; }

    .dash-shell { display: block; }
    .dash-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        transform: translateX(110%);
        transition: transform .28s ease;
        width: min(300px, 86vw);
        box-shadow: -12px 0 40px rgba(0,0,0,.2);
    }
    [dir="rtl"] .dash-sidebar { inset: 0 0 0 auto; transform: translateX(-110%); }
    .dash-sidebar.is-open { transform: translateX(0); }
    .dash-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10, 24, 32, .45);
        z-index: 1035;
    }
    .dash-backdrop.is-open { display: block; }
    .mobile-nav-toggle { display: inline-flex; }
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .story-row { grid-template-columns: 100px 1fr; }
}

@media (max-width: 575.98px) {
    body { padding: 0; }
    .site-frame {
        width: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .mag-hero {
        height: 280px;
        min-height: 280px;
        max-height: 300px;
    }
    .mag-hero__title--compact {
        font-size: 1.05rem;
        max-width: 95%;
        padding: 0;
    }
    .story-row { grid-template-columns: 84px 1fr; gap: .7rem; }
    .section-head { flex-direction: column; align-items: start; }
    .dash-stats { grid-template-columns: 1fr 1fr; gap: .65rem; }
    .stat-card { padding: .85rem; }
    .stat-card .value { font-size: 1.45rem; }
}
