@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

:root {
    --primary: #1A4296;
    --accent: #E30613;
    --navy: #0A192F;
    --surface: #F8F9FA;
    --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.public-site {
    margin: 0;
    color: var(--navy);
    background: var(--surface);
    font-family: Almarai, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body.public-site { font-family: Almarai, sans-serif; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.container-site {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.kicker {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: .6rem;
}

.lead { font-size: 1.15rem; color: #3d4c63; }

.site-header { position: sticky; top: 0; z-index: 50; }

.top-strip {
    background: var(--navy);
    color: #d7deea;
    font-size: .85rem;
}

.top-strip-inner,
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-strip-inner { min-height: 38px; }
.top-contacts { display: flex; gap: 18px; flex-wrap: wrap; }
.top-strip a { color: inherit; text-decoration: none; }
.top-strip a:hover { color: #fff; }

.navbar {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e6ebf4;
    transition: box-shadow .25s ease;
}

.navbar.is-scrolled { box-shadow: 0 10px 30px #1A42961a; }
.navbar-inner { min-height: 76px; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    flex-shrink: 0;
}

.logo img {
    width: auto;
    height: 58px;
    max-width: 128px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
}
.logo strong { display: block; font-size: 1.25rem; color: var(--primary); }
.logo small { display: block; font-size: .72rem; opacity: .75; }

.nav-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: .92rem;
}

.nav-links a:hover { background: #eef2fb; color: var(--primary); }

.lang-switch {
    display: flex;
    gap: 4px;
    background: #eef2fb;
    padding: 4px;
    border-radius: 999px;
}

.lang-switch a {
    color: var(--primary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 8px;
    border-radius: 999px;
}

.lang-switch a.active { background: var(--primary); color: #fff; }

.btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: #E30613;
    color: #fff;
    font-weight: 800;
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 20px #E3061333;
    transition: transform .2s ease, filter .2s ease;
}

.btn-donate:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-donate-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-donate-full { width: 100%; justify-content: center; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    color: #fff;
    border: 1px solid #ffffff88;
    padding: 11px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    background: var(--primary);
}

.hero {
    position: relative;
    min-height: 88vh;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}

.hero-slides { position: relative; min-height: 88vh; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-visual {
    position: absolute;
    inset: 0;
    transform: scale(1.12);
    animation: kenburns 14s ease-in-out infinite alternate;
    background-size: cover;
    background-position: center;
}

.hero-visual-1 { background: radial-gradient(circle at 20% 20%, #2d63c7 0%, transparent 42%), linear-gradient(135deg, #0A192F 0%, #1A4296 58%, #E30613 160%); }
.hero-visual-2 { background: radial-gradient(circle at 80% 30%, #E3061344 0%, transparent 40%), linear-gradient(160deg, #102a62 0%, #1A4296 55%, #0A192F 100%); }
.hero-visual-3 { background: radial-gradient(circle at 50% 80%, #ffffff22 0%, transparent 35%), linear-gradient(200deg, #1A4296 0%, #0A192F 70%); }

.hero-copy {
    position: relative;
    z-index: 3;
    padding-block: 120px 140px;
    max-width: 760px;
}

.hero-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.2;
    font-weight: 800;
}

.hero-copy p {
    font-size: 1.12rem;
    line-height: 1.8;
    max-width: 640px;
    color: #e7edf8;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero-nav {
    position: absolute;
    inset-inline: 0;
    bottom: 28px;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.hero-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #ffffff55;
    background: #ffffff18;
    color: #fff;
    cursor: pointer;
}

.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    background: #ffffff55;
}
.hero-dots button.is-active { background: #fff; width: 26px; border-radius: 999px; }

.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .35;
    animation: float 8s ease-in-out infinite;
}
.blob-a { width: 220px; height: 220px; background: #E30613; top: 12%; inset-inline-end: 8%; }
.blob-b { width: 160px; height: 160px; background: #4d7ad6; bottom: 18%; inset-inline-end: 22%; animation-delay: -3s; }

.shield-mark {
    position: absolute;
    width: 280px;
    height: 320px;
    inset-inline-end: 6%;
    top: 18%;
    background: url('../images/logo.svg') center / contain no-repeat;
    opacity: .08;
    animation: pulse 5s ease-in-out infinite;
}

.fade-up { animation: fadeUp .8s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

.section, .hero, .stats-section, .cta-band, .site-footer {
    scroll-margin-top: 118px;
}

.section { padding: 88px 0; }
.section-alt { background: #fff; }

.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2, .about-grid h2, .cta-inner h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--primary); }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head.light .kicker { color: #ffb3b8; }

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: start;
}

.value-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.value-list li { background: #fff; border-radius: 14px; padding: 12px 14px; font-weight: 700; box-shadow: 0 8px 24px #1A429612; transition: transform .25s ease, box-shadow .25s ease; }
.value-list li:hover { transform: translateY(-4px); box-shadow: 0 14px 28px #1A42961f; }
.value-list i { color: var(--accent); margin-inline-end: 8px; }

.vision-cards { display: grid; gap: 16px; }
.info-card { background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 12px 30px #1A429614; }
.info-card.accent { background: var(--primary); color: #fff; }
.info-card.accent h3 { color: #fff; }

.program-grid, .stats-grid, .news-list {
    display: grid;
    gap: 18px;
}

.program-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.program-card {
    background: var(--surface);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid #edf1f8;
    transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px #1A42961a; }
.program-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: #1A4296; color: #fff; margin-bottom: 14px;
}

.stats-section {
    background: linear-gradient(135deg, #0A192F, #1A4296);
    color: #fff;
}

.stats-grid { grid-template-columns: repeat(4, 1fr); }
.stat-tile {
    text-align: center;
    background: #ffffff14;
    border: 1px solid #ffffff22;
    border-radius: 22px;
    padding: 28px 12px;
}
.stat-tile i { color: #ffb4b8; font-size: 1.4rem; }
.stat-tile strong { display: block; font-size: 2.4rem; margin: 8px 0 4px; }
.stat-tile span { color: #d7deea; }

.news-layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: 22px; }
.news-list { grid-template-columns: 1fr; }
.news-card, .events-panel {
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 30px #1A429612;
}
.chip {
    display: inline-block;
    background: #fde8ea;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
}
.news-card time { display: block; color: #617089; margin: 8px 0; font-size: .9rem; }
.read-more { color: var(--primary); font-weight: 800; }
.events-panel { background: var(--primary); color: #fff; }
.events-panel h3 { margin-top: 0; }
.event-item { padding: 14px 0; border-bottom: 1px solid #ffffff33; }
.event-item:last-child { border-bottom: 0; }
.event-date { color: #ffb4b8; font-weight: 800; font-size: .85rem; }

.partners-marquee { overflow: hidden; }
.partners-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 28s linear infinite;
}
[dir="rtl"] .partners-track { animation-name: marquee-rtl; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partner-logo {
    min-width: 220px;
    background: #fff;
    border-radius: 18px;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 8px 24px #1A429612;
}
.partner-logo i { color: var(--accent); }

.cta-band {
    background: linear-gradient(90deg, #E30613, #1A4296);
    color: #fff;
    padding: 48px 0;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-inner h2, .cta-inner p { color: #fff; margin: 0 0 8px; }
.cta-band .btn-donate { background: #fff; color: var(--accent); box-shadow: none; }

.site-footer {
    background: #1A4296;
    color: #e7edf8;
    padding-top: 56px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .9fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.footer-brand img {
    width: auto;
    height: 54px;
    max-width: 120px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
}
.footer-brand strong { display: block; color: #fff; font-size: 1.2rem; }
.site-footer h3 { color: #fff; margin-top: 0; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-links button, .footer-contact li {
    display: block;
    background: none;
    border: 0;
    color: #e7edf8;
    text-decoration: none;
    padding: 6px 0;
    font: inherit;
    cursor: pointer;
    text-align: inherit;
}
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: #ffffff22; color: #fff; text-decoration: none;
}
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input,
.donate-form input,
.donate-form select {
    width: 100%;
    border: 1px solid #d5deee;
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
}
.newsletter-form button {
    border: 0;
    background: #E30613;
    color: #fff;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.footer-copy {
    border-top: 1px solid #ffffff22;
    padding: 16px 0;
    color: #c9d4ea;
    font-size: .9rem;
}

.donate-overlay {
    position: fixed;
    inset: 0;
    background: #0A192Fbb;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .28s ease;
}
.donate-overlay.is-open { opacity: 1; }
.donate-overlay[hidden] { display: none !important; }
.donate-modal {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    position: relative;
    max-height: 90vh;
    overflow: auto;
    animation: modalIn .28s ease;
}
.modal-close {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    border: 0;
    background: #eef2fb;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}
.donate-form { display: grid; gap: 12px; }
.donate-form fieldset { border: 0; padding: 0; margin: 0; }
.donate-form legend, .donate-form label { font-weight: 800; display: grid; gap: 6px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.amount-chip {
    border: 1px solid #d5deee;
    background: #fff;
    border-radius: 12px;
    padding: 10px 8px;
    font-weight: 800;
    cursor: pointer;
}
.amount-chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

@keyframes kenburns {
    from { transform: scale(1.12) translateY(0); }
    to { transform: scale(1) translateY(-18px); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: .08; }
    50% { transform: scale(1.06); opacity: .14; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes marquee-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
    .nav-toggle { display: flex; }
    .nav-panel {
        display: none;
        position: absolute;
        inset-inline: 12px;
        top: 118px;
        background: #fff;
        border-radius: 18px;
        padding: 16px;
        box-shadow: 0 18px 40px #1A429628;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-panel.is-open { display: flex; }
    .nav-links { flex-direction: column; }
    .about-grid, .program-grid, .stats-grid, .news-layout, .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .hero-copy { padding-block: 90px 120px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

.verify-wrap { padding: 48px 16px 80px; }
.verify-card {
    max-width: 640px; margin: 0 auto; background: #fff;
    border-radius: 24px; padding: 32px;
    box-shadow: 0 20px 50px #1A42961a;
    text-align: center;
}
.verify-card > img { width: 72px; height: 72px; margin-bottom: 8px; }
.verify-card .kicker { color: #E30613; font-weight: 800; letter-spacing: .06em; }
.verify-card h1 { color: #1A4296; margin: 4px 0 8px; }
.verify-badge {
    display: inline-block; margin: 16px 0; padding: 8px 16px;
    border-radius: 999px; font-weight: 800;
}
.verify-badge.is-ok { background: #e7f6ee; color: #0f7b3b; }
.verify-badge.is-bad { background: #fde8ea; color: #E30613; }
.verify-photo {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover; margin-top: 16px; border: 4px solid #1A4296;
}
.verify-card .detail-grid { text-align: start; margin-top: 18px; }
.app-loader {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(10, 25, 47, .45);
    display: grid; place-items: center;
}
.app-loader[hidden] { display: none !important; }
.loader-card {
    background: #fff; color: #0A192F;
    border-radius: 20px; padding: 28px 36px;
    text-align: center; box-shadow: 0 20px 50px #0A192F33;
    border-top: 4px solid #E30613;
}
.loader-card p { margin: 14px 0 0; font-weight: 800; color: #1A4296; }
.brand-spinner {
    width: 46px; height: 46px; border-radius: 50%;
    border: 4px solid #e8eefc; border-top-color: #1A4296; border-right-color: #E30613;
    display: inline-block; animation: nacp-spin .8s linear infinite;
}
@keyframes nacp-spin { to { transform: rotate(360deg); } }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
.lift { transition: transform .28s ease, box-shadow .28s ease; }
.lift:hover { transform: translateY(-8px); box-shadow: 0 18px 40px #1A42961f; }
.program-card { animation: fadeUp .6s ease both; animation-delay: var(--d, 0ms); }
.info-card { transition: transform .28s ease, box-shadow .28s ease; }
.info-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px #1A429622; }
.news-card { transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px #1A42961a; }
.partner-logo { transition: transform .25s ease, border-color .25s ease; }
.partner-logo:hover { transform: translateY(-4px) scale(1.02); }
.donate-modal.is-pop { animation: modalIn .32s cubic-bezier(.2, .8, .2, 1); }
.modal-close { transition: transform .2s ease, background .2s ease; }
.modal-close:hover { transform: rotate(90deg); background: #fde8ea; }
.hero-slide { transition: opacity .7s ease; }

.hero-slides { perspective: 1600px; }
.hero-slides .hero-slide {
    transform: none;
    filter: none;
    transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1), filter .85s ease;
}
.hero-slides[data-hero-transition="slide"] .hero-slide { transform: translateX(10%); opacity: 0; }
.hero-slides[data-hero-transition="slide"] .hero-slide.is-prev { transform: translateX(-10%); }
.hero-slides[data-hero-transition="slide"] .hero-slide.is-active { transform: none; opacity: 1; }
html[dir="rtl"] .hero-slides[data-hero-transition="slide"] .hero-slide { transform: translateX(-10%); }
html[dir="rtl"] .hero-slides[data-hero-transition="slide"] .hero-slide.is-prev { transform: translateX(10%); }
html[dir="rtl"] .hero-slides[data-hero-transition="slide"] .hero-slide.is-active { transform: none; }

.hero-slides[data-hero-transition="zoom"] .hero-slide { transform: scale(1.16); filter: blur(10px); opacity: 0; }
.hero-slides[data-hero-transition="zoom"] .hero-slide.is-active { transform: scale(1); filter: none; opacity: 1; }

.hero-slides[data-hero-transition="cube"] .hero-slide { transform: rotateY(82deg) translateZ(-80px); opacity: 0; transform-origin: center; }
.hero-slides[data-hero-transition="cube"] .hero-slide.is-active { transform: none; opacity: 1; }

.hero-slides[data-hero-transition="flip"] .hero-slide { transform: rotateX(-85deg); opacity: 0; transform-origin: center; }
.hero-slides[data-hero-transition="flip"] .hero-slide.is-active { transform: none; opacity: 1; }

.hero-slides[data-hero-transition="kenburns"] .hero-slide { opacity: 0; }
.hero-slides[data-hero-transition="kenburns"] .hero-slide.is-active { opacity: 1; }
.hero-slides[data-hero-transition="kenburns"] .hero-slide.is-active .hero-visual {
    animation: kenburns 16s ease-in-out infinite alternate;
}

.story-slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: min(62vh, 560px);
    margin: 0 0 28px;
    background: #0A192F;
    box-shadow: 0 24px 60px #0A192F33;
    perspective: 1400px;
}
.story-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s ease, transform .9s cubic-bezier(.22,.61,.36,1);
}
.story-slide.is-active { opacity: 1; pointer-events: auto; }
.story-slide img {
    width: 100%;
    height: min(62vh, 560px);
    object-fit: cover;
    display: block;
}
.story-slide figcaption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 18px 24px;
    background: linear-gradient(transparent, #0A192Fee);
    color: #fff;
    font-weight: 700;
}
.story-nav {
    position: absolute;
    inset-inline: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.story-nav button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #ffffffee;
    color: #1A4296;
    box-shadow: 0 10px 24px #0A192F33;
    cursor: pointer;
}
.story-slider[data-transition="slide"] .story-slide { transform: translateX(8%); }
.story-slider[data-transition="slide"] .story-slide.is-active { transform: none; }
.story-slider[data-transition="zoom"] .story-slide { transform: scale(1.12); filter: blur(8px); }
.story-slider[data-transition="zoom"] .story-slide.is-active { transform: none; filter: none; }
.story-slider[data-transition="cube"] .story-slide { transform: rotateY(70deg); }
.story-slider[data-transition="cube"] .story-slide.is-active { transform: none; }
.story-slider[data-transition="flip"] .story-slide { transform: rotateX(-70deg); }
.story-slider[data-transition="flip"] .story-slide.is-active { transform: none; }
.story-slider[data-transition="kenburns"] .story-slide img { transform: scale(1.08); transition: transform 8s ease; }
.story-slider[data-transition="kenburns"] .story-slide.is-active img { transform: scale(1); }

.article-page { padding-block: 48px 80px; }
.article-page h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 8px 0 12px; }
.article-page time { color: #6b778c; display: block; margin-bottom: 20px; }
.article-body { line-height: 1.9; font-size: 1.05rem; }
.article-body h2, .article-body h3 { margin: 1.2em 0 .4em; color: #1A4296; }
.article-body blockquote {
    margin: 16px 0;
    padding: 12px 18px;
    border-inline-start: 4px solid #E30613;
    background: #f4f7fd;
    border-radius: 12px;
}

.toast-stack {
    position: fixed;
    z-index: 12000;
    inset-inline-end: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 28px));
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    color: #0A192F;
    box-shadow: 0 16px 40px #0A192F33;
    border-inline-start: 4px solid #1A4296;
    animation: toastIn .28s ease both;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
}
.toast.is-out { animation: toastOut .25s ease both; }
.toast-success { border-inline-start-color: #0f7b3b; background: linear-gradient(180deg, #f3fbf6, #fff); }
.toast-error { border-inline-start-color: #E30613; background: linear-gradient(180deg, #fff5f6, #fff); }
.toast-info { border-inline-start-color: #1A4296; background: linear-gradient(180deg, #f3f6fc, #fff); }
.toast i { margin-top: 2px; }
.toast-success i { color: #0f7b3b; }
.toast-error i { color: #E30613; }
.toast-info i { color: #1A4296; }
.toast-body { flex: 1; }
.toast-close { border: 0; background: transparent; color: #6b778c; cursor: pointer; font-size: 16px; line-height: 1; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
