/* Site-wide styles */

@keyframes hero-line-slide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes hero-ken-burns {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

@keyframes hero-fade-in-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-out-down {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-16px); }
}

.hero-ring-wrap {
    position: relative;
}

/* Gold + blue animated line — top only, no bottom ring */
.hero-ring-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c9a227, #2e5fa3, #c9a227, #2e5fa3);
    background-size: 200% 100%;
    animation: hero-line-slide 4s linear infinite;
    pointer-events: none;
    z-index: 30;
}

.hero-slide-media {
    animation: hero-ken-burns 12s ease-out forwards;
}

.hero-slide.is-active .hero-slide-media {
    animation: hero-ken-burns 12s ease-out forwards;
}

.hero-text-enter {
    animation: hero-fade-in-up 0.7s ease-out forwards;
}

.hero-text-exit {
    animation: hero-fade-out-down 0.45s ease-in forwards;
}

.hero-video-crop {
    transform: translate(-50%, -50%) scale(1.5);
    object-position: center 35%;
}

.hero-watermark-mask {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 18%);
}

.section-heading-icon {
    background: linear-gradient(135deg, #2e5fa3 0%, #1e4580 100%);
    box-shadow: 0 8px 24px rgba(46, 95, 163, 0.25);
}

.section-heading-title {
    background: linear-gradient(135deg, #1e4580, #2e5fa3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-flag-strip {
    background: linear-gradient(to bottom, #2e5fa3 50%, #01a001 50%);
}

.header-flag-img {
    object-fit: cover;
    object-position: center center;
}

@keyframes flag-gloss-flow {
    0% { background-position: 0% 50%; opacity: 0.85; }
    50% { background-position: 100% 50%; opacity: 1; }
    100% { background-position: 200% 50%; opacity: 0.85; }
}

@keyframes flag-shimmer-sweep {
    0%, 88% { left: -70%; opacity: 0; }
    94% { opacity: 1; }
    100% { left: 130%; opacity: 0; }
}

/* Header sits on the full flag: horse left, star in the blue band. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    overflow: hidden;
    height: 130px;
    background: #2f78d6;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.2);
}

.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #427cd0 8%,
        #ffffff 22%,
        #feb91e 38%,
        #3bb23c 52%,
        #ffffff 66%,
        #427cd0 82%,
        transparent 100%
    );
    background-size: 200% 100%;
    box-shadow:
        0 0 10px rgba(66, 124, 208, 0.75),
        0 0 22px rgba(59, 178, 60, 0.45),
        0 2px 14px rgba(254, 185, 30, 0.35);
    animation: flag-gloss-flow 4.5s linear infinite;
    pointer-events: none;
}

.header-flag-shimmer {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.header-flag-shimmer::after {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 48%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 38%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.12) 62%,
        transparent 100%
    );
    transform: skewX(-12deg);
    animation: flag-shimmer-sweep 9s ease-in-out infinite;
    clip-path: polygon(46% 0, 100% 0, 100% 100%, 46% 100%);
    pointer-events: none;
}

.site-header__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.site-header__content {
    position: relative;
    z-index: 3;
    height: 100%;
    min-height: 130px;
}

.header-flag-bar {
    position: relative;
    overflow: hidden;
    min-height: 5.75rem;
}

@media (min-width: 640px) {
    .header-flag-bar {
        min-height: 6.75rem;
    }
}

@media (min-width: 1024px) {
    .header-flag-bar {
        min-height: 7.25rem;
    }
}

.header-flag-bar__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center top;
}

.header-flag-inner {
    display: grid;
    grid-template-rows: 1fr 1fr;
    min-height: inherit;
}

.header-quick-row {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 5px 2.8% 5px 3.2%;
    background: rgba(20, 93, 174, 0.32);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.header-quick-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
}

.header-quick-left {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.header-quick-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-inline-start: auto;
}

.header-quick-left {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    overflow: hidden;
}

.header-quick-label {
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.header-quick-pipe {
    display: none;
}

.header-lang-switch {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.header-globe {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.header-globe:hover {
    background: #fff;
    color: #3266b5;
    transform: translateY(-2px);
}

.header-main-row {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    height: 130px;
    min-height: 130px;
    padding: 44px 0.6% 8px 14%;
}

.header-main-nav {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    width: fit-content;
    max-width: 100%;
    margin-inline-start: auto;
    margin-bottom: 2px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 14px;
    background: rgba(22, 111, 46, 0.38);
    padding: 5px 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px) saturate(120%);
}

.header-brand {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 2px;
    color: #fff;
}

.header-logo {
    height: 58px;
    width: 58px;
    flex-shrink: 0;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #fff;
    object-fit: contain;
    padding: 2px;
    box-shadow: none;
    transform: translateY(2px);
}

.header-titles {
    display: grid;
    width: max-content;
    min-width: 0;
    max-width: 100%;
    transform: translateY(-8px);
}

.header-ministry-name,
.header-on-flag {
    display: block;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    font-family: Outfit, Cairo, sans-serif;
    font-size: clamp(0.88rem, 1.12vw, 1.06rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: justify;
    text-align-last: justify;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
    color: #fff;
    text-shadow: none;
}

.header-on-flag {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 1100px) {
    .site-header,
    .site-header__content,
    .header-main-row {
        height: 122px;
        min-height: 122px;
    }

    .header-logo {
        height: 52px;
        width: 52px;
    }

    .header-nav-pill {
        padding: 0.28rem 0.55rem;
        font-size: 12px;
    }
}

@media (max-width: 720px) {
    .site-header,
    .site-header__content,
    .header-main-row {
        height: 108px;
        min-height: 108px;
    }

    .header-main-row {
        padding: 40px 4% 6px 16%;
    }

    .header-quick-label,
    .header-quick-left .header-quick-pipe:first-of-type {
        display: none;
    }

    .header-logo {
        height: 46px;
        width: 46px;
        transform: none;
    }

    .header-ministry-name,
    .header-on-flag {
        font-size: 0.76rem;
        letter-spacing: 0.01em;
    }

    .header-brand {
        max-width: 54%;
    }

    .header-main-nav {
        max-width: 46%;
        overflow-x: auto;
    }

    .header-nav-pill {
        padding: 0.2rem 0.5rem;
        font-size: 11px;
    }
}

.header-flag-bar__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        transparent 48%,
        transparent 52%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.header-flag-bar__shimmer {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.06) 46%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(245, 215, 110, 0.18) 52%,
        rgba(255, 255, 255, 0.06) 56%,
        transparent 60%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: header-shimmer 7s ease-in-out infinite;
}

@keyframes header-shimmer {
    0%, 65% {
        background-position: 120% 0;
    }
    85%, 100% {
        background-position: -120% 0;
    }
}

.header-on-flag {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: none;
}

.header-ministry-name {
    color: #fff;
    text-shadow: none;
    line-height: 1.2;
}

.header-gold-line {
    height: 3px;
    background: linear-gradient(90deg, #1e4580, #c9a227 35%, #f5d76e 50%, #01a901 70%, #1e4580);
}

.header-quick-label,
.header-quick-link {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: none;
}

.header-quick-link:hover,
.header-quick-link.is-active {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.header-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    padding: 8px 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0.015em;
    text-shadow: none;
    white-space: nowrap;
    box-shadow: none;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.header-nav-pill:hover,
.header-nav-pill.is-active {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Northeastern about page */
.ne-diamond {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.ne-panel-dark {
    background: linear-gradient(165deg, #0d3d6b 0%, #0a5c38 100%);
}

.ne-panel-mid {
    background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
}

.ne-section-title {
    font-family: Georgia, 'Times New Roman', serif;
    color: #1e4580;
}

/* Northeastern about — document layout */
.ne-bro-page {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 12rem, #ffffff 100%);
}

.ne-bro-doc-hero {
    background: linear-gradient(135deg, #1e4580 0%, #2563b5 48%, #0a5c38 100%);
    border-bottom: 4px solid #c9a227;
    box-shadow: 0 8px 32px rgba(30, 69, 128, 0.2);
}

.ne-bro-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.ne-bro-hero-intro {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ne-bro-section + .ne-bro-section {
    margin-top: 1.25rem;
}

.ne-bro-section-card {
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 640px) {
    .ne-bro-section-card {
        padding: 1.75rem 1.75rem;
    }
}

.ne-bro-section-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.ne-bro-heading {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.ne-bro-body {
    text-align: justify;
    hyphens: auto;
}

.ne-bro-body::first-letter {
    font-size: 1.15em;
    font-weight: 700;
    color: #1e4580;
}

.ne-bro-icon {
    position: relative;
    width: 3rem;
    height: 3rem;
}

@media (min-width: 640px) {
    .ne-bro-icon {
        width: 3.25rem;
        height: 3.25rem;
    }
}

.ne-bro-icon__num {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    z-index: 2;
    display: flex;
    height: 1.25rem;
    width: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, #c9a227, #f5d76e);
    font-size: 0.65rem;
    font-weight: 800;
    color: #1e4580;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.ne-bro-icon__svg {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--ne-accent) 12%, white);
    color: var(--ne-accent);
    border: 2px solid color-mix(in srgb, var(--ne-accent) 25%, transparent);
}

@media (max-width: 640px) {
    .hero-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ministry section headers */
.ministry-section {
    scroll-margin-top: 7rem;
}

.ministry-header {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 1.1rem 1.15rem 0.85rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    text-align: center;
}

@media (min-width: 640px) {
    .ministry-header {
        padding: 1.25rem 1.35rem 1rem;
        border-radius: 1.125rem;
    }
}

.ministry-header__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ministry-header__title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #0f172a;
}

@media (min-width: 640px) {
    .ministry-header__title {
        font-size: 1.35rem;
    }
}

.ministry-header__meta {
    margin-top: 0.4rem;
}

.ministry-header__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.2rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 1px;
}

.ministry-header__line {
    position: relative;
    margin: 0.85rem auto 0;
    max-width: 12rem;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, transparent, var(--line-start, #2e5fa3), var(--line-mid, #3b82f6), transparent);
}

.ministry-header--blue { --line-start: #3b82f6; --line-mid: #60a5fa; }
.ministry-header--rose { --line-start: #f43f5e; --line-mid: #fb7185; }
.ministry-header--indigo { --line-start: #6366f1; --line-mid: #818cf8; }
.ministry-header--cyan { --line-start: #06b6d4; --line-mid: #22d3ee; }
.ministry-header--amber { --line-start: #f59e0b; --line-mid: #fbbf24; }
.ministry-header--green { --line-start: #22c55e; --line-mid: #4ade80; }
.ministry-header--violet { --line-start: #8b5cf6; --line-mid: #a78bfa; }
.ministry-header--orange { --line-start: #f97316; --line-mid: #fb923c; }
.ministry-header--lime { --line-start: #65a30d; --line-mid: #84cc16; }
.ministry-header--slate { --line-start: #475569; --line-mid: #64748b; }
.ministry-header--purple { --line-start: #a855f7; --line-mid: #c084fc; }
.ministry-header--teal { --line-start: #14b8a6; --line-mid: #2dd4bf; }
.ministry-header--stone { --line-start: #78716c; --line-mid: #a8a29e; }
.ministry-header--pink { --line-start: #ec4899; --line-mid: #f472b6; }
.ministry-header--red { --line-start: #ef4444; --line-mid: #f87171; }
.ministry-header--sky { --line-start: #0ea5e9; --line-mid: #38bdf8; }
.ministry-header--emerald { --line-start: #10b981; --line-mid: #34d399; }
.ministry-header--brand { --line-start: #2e5fa3; --line-mid: #3b82f6; }
.ministry-header--yellow { --line-start: #eab308; --line-mid: #facc15; }

.stat-card__icon {
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
}

/* Typography, motion, charts */
body.site-canvas {
    background-color: #f3f6fb;
    background-image:
        radial-gradient(ellipse 70% 42% at 0% -8%, rgba(46, 95, 163, 0.1), transparent 55%),
        radial-gradient(ellipse 50% 36% at 100% 0%, rgba(1, 169, 1, 0.07), transparent 50%);
}

h1, h2, h3, .font-display, .section-heading-title, .ministry-header__title, .charts-panel__title {
    font-family: Outfit, Cairo, "Plus Jakarta Sans", sans-serif;
}

html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .font-display,
html[dir="rtl"] .section-heading-title,
html[dir="rtl"] .ministry-header__title,
html[dir="rtl"] .charts-panel__title {
    font-family: Cairo, "Plus Jakarta Sans", sans-serif;
    letter-spacing: 0;
}

.reveal {
    animation: rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stat-grid > .reveal:nth-child(2) { animation-delay: 0.05s; }
.stat-grid > .reveal:nth-child(3) { animation-delay: 0.1s; }
.stat-grid > .reveal:nth-child(4) { animation-delay: 0.15s; }
.stat-grid > .reveal:nth-child(5) { animation-delay: 0.08s; }
.stat-grid > .reveal:nth-child(6) { animation-delay: 0.13s; }
.stat-grid > .reveal:nth-child(7) { animation-delay: 0.18s; }
.stat-grid > .reveal:nth-child(8) { animation-delay: 0.22s; }

@keyframes rise-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.header-logo {
    box-shadow: none;
}

.header-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.header-lang + .header-lang {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

a.header-lang.is-active,
.header-lang:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
    text-shadow: none;
}

.header-nav-pill {
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    border-radius: 11px;
    box-shadow: none;
}

.header-nav-pill:hover,
.header-nav-pill.is-active {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    text-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .header-flag-shimmer::after,
    .site-header::after {
        animation: none;
    }
}

.ministry-header {
    padding: 1.85rem 1.3rem 1.35rem;
    border: 1px solid color-mix(in srgb, var(--line-start, #2e5fa3) 18%, white);
    border-radius: 1.45rem;
    background:
        radial-gradient(560px 180px at 50% -20%, color-mix(in srgb, var(--line-start, #2e5fa3) 24%, white), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.ministry-header::before {
    content: "";
    position: absolute;
    inset: 0 18% auto;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--line-start, #2e5fa3), var(--line-mid, #60a5fa), transparent);
}

.ministry-header__ornament {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.ministry-header__ornament span {
    width: 2.6rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--line-start, #2e5fa3));
}

.ministry-header__ornament span:last-child {
    background: linear-gradient(90deg, var(--line-start, #2e5fa3), transparent);
}

.ministry-header__ornament i {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--line-start, #2e5fa3), var(--line-mid, #60a5fa));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--line-start, #2e5fa3) 16%, transparent);
    transform: rotate(45deg);
}

.ministry-header__title {
    font-family: Outfit, Cairo, sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    background: linear-gradient(100deg, #0f172a 6%, var(--line-start, #2e5fa3) 46%, #1e4580 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ministry-header__line {
    max-width: 9rem;
    height: 4px;
    margin-top: 0.95rem;
}

.ministry-header__badge {
    letter-spacing: 0.04em;
}

.stat-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.72) 50%, transparent 62%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(30, 69, 128, 0.12);
}

.stat-card:hover::after {
    transform: translateX(130%);
}

.section-heading-icon {
    animation: icon-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero {
    position: relative;
}

.page-hero__orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(28px);
    pointer-events: none;
    animation: orb-float 9s ease-in-out infinite;
}

.page-hero__orb--gold {
    top: -2rem;
    right: 8%;
    width: 9rem;
    height: 9rem;
    background: rgba(201, 162, 39, 0.28);
}

.page-hero__orb--green {
    bottom: -2.5rem;
    left: 6%;
    width: 8rem;
    height: 8rem;
    background: rgba(1, 169, 1, 0.22);
    animation-delay: -3s;
}

.site-footer {
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 70%);
    pointer-events: none;
}

.charts-panel {
    margin-bottom: 2.5rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98));
    padding: 1.35rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
    .charts-panel { padding: 1.75rem; }
}

.charts-panel__kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2e5fa3;
}

.charts-panel__title {
    margin-top: 0.35rem;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.charts-panel__subtitle {
    margin-top: 0.45rem;
    max-width: 42rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
}

.chart-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.chart-kpi {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    padding: 0.9rem 1rem;
}

.chart-kpi__value {
    display: block;
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #1e4580;
}

.chart-kpi__label {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

.charts-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .charts-grid { grid-template-columns: 0.9fr 1.1fr; }
    .charts-grid--single { grid-template-columns: 1fr; }
}

.chart-card {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.chart-card--wide { margin-top: 1rem; }

.chart-card__head {
    padding: 1rem 1.1rem 0;
}

.chart-card__head h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
}

.chart-card__head p {
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.chart-card__canvas { position: relative; padding: 0.4rem 0.8rem 1rem; }
.chart-card__canvas--doughnut { height: 420px; }
.chart-card__canvas--line { height: 320px; }
.chart-card__canvas--bar { height: 520px; }
.chart-card__canvas canvas { width: 100% !important; height: 100% !important; }

.news-card, .highlight-tile {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.highlight-tile:hover {
    transform: translateY(-4px);
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes icon-pop {
    from { opacity: 0; transform: scale(0.82) rotate(-8deg); }
    to { opacity: 1; transform: none; }
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

.stat-card {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(145deg, rgba(46, 95, 163, 0.22), rgba(1, 169, 1, 0.16)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.stat-card__value {
    font-family: Outfit, Cairo, sans-serif;
    letter-spacing: -0.04em;
}

.stat-card__icon {
    box-shadow: 0 8px 16px rgba(30, 69, 128, 0.08);
}

.ne-bro-doc-hero {
    position: relative;
}

.ne-bro-section-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.ne-bro-section-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 95, 163, 0.25);
    box-shadow: 0 16px 36px rgba(30, 69, 128, 0.1);
}

.ne-bro-icon__svg {
    transition: transform 0.35s ease;
}

.ne-bro-section-card:hover .ne-bro-icon__svg {
    transform: scale(1.06) rotate(-4deg);
}

.ne-bro-leadership li {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ne-bro-leadership li:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 18px rgba(30, 69, 128, 0.08);
}

.trends-panel {
    margin: 0 0 2.2rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(46, 95, 163, 0.08);
    background:
        radial-gradient(520px 180px at 50% 0%, rgba(46, 95, 163, 0.08), transparent 70%),
        linear-gradient(180deg, #ffffff, #f4f9ff);
    padding: 1.7rem 1.15rem 1.4rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.trends-panel__head {
    text-align: center;
}

.trends-panel__head h2 {
    font-family: Outfit, Cairo, sans-serif;
    font-size: clamp(1.7rem, 2.8vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    background: linear-gradient(100deg, #1e4580, #2e5fa3 55%, #0a5c38);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trends-panel__rule {
    display: block;
    width: 4.5rem;
    height: 4px;
    margin: 0.7rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #01a901, #34d399);
}

.trends-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

@media (min-width: 768px) {
    .trends-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .trends-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.trend-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    border-radius: 1.15rem;
    border: 1px solid #e6edf5;
    background: #fff;
    padding: 1.05rem 1.05rem 0.9rem;
    text-align: left;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

html[dir="rtl"] .trend-card { text-align: right; }

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(30, 69, 128, 0.12);
}

.trend-card.is-latest {
    border-color: #bfdbfe;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08), 0 12px 30px rgba(46, 95, 163, 0.08);
}

.trend-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.trend-card__month {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
}

.trend-card__date {
    margin-top: 0.1rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.trend-card__badge {
    border-radius: 999px;
    background: #2e5fa3;
    padding: 0.2rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    text-transform: uppercase;
}

.trend-card__kicker {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.trend-card__cpi {
    margin-top: 0.15rem;
    text-align: center;
    font-family: Outfit, Cairo, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #2e5fa3;
}

.trend-card__cpi-line {
    display: block;
    width: 2.4rem;
    height: 3px;
    margin: 0.2rem auto 0.85rem;
    border-radius: 999px;
    background: #22c55e;
}

.trend-card__changes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.trend-card__changes div {
    border-radius: 0.8rem;
    background: #f8fafc;
    padding: 0.55rem 0.4rem;
    text-align: center;
}

.trend-card__changes span {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.trend-card__changes strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.95rem;
}

.trend-card__changes .is-cool { color: #16a34a; }
.trend-card__changes .is-hot { color: #ef4444; }

.trend-card__risk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    min-height: 2rem;
    border-radius: 0.7rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trend-card__risk i {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
}

.trend-card__risk--latest {
    background: #ecfdf3;
}

.trend-card__risk--latest i { background: #22c55e; }

.trend-card__risk--moderate,
.trend-card__risk--low {
    background: #fff8e8;
    color: #a16207;
}

.trend-card__risk--moderate i,
.trend-card__risk--low i { background: #eab308; }

.trend-card__risk--high {
    background: #fef2f2;
    color: #b91c1c;
}

.trend-card__risk--high i { background: #ef4444; }

.trend-dialog {
    width: min(34rem, calc(100% - 1.5rem));
    border: 0;
    border-radius: 1.4rem;
    padding: 0;
    background: transparent;
}

.trend-dialog::backdrop {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.trend-dialog__card {
    border-radius: 1.4rem;
    background: #fff;
    padding: 1.4rem 1.35rem 1.2rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.trend-dialog__kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2e5fa3;
}

.trend-dialog__card h3 {
    margin-top: 0.3rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
}

.trend-dialog__date {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: #64748b;
}

.trend-dialog__cpi {
    margin-top: 0.7rem;
    font-family: Outfit, Cairo, sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #2e5fa3;
}

.trend-dialog__card ul {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.65rem;
}

.trend-dialog__card li {
    border-radius: 0.85rem;
    background: #f8fafc;
    padding: 0.7rem 0.8rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #334155;
}

.trend-dialog__close {
    margin-top: 1rem;
    width: 100%;
    border-radius: 0.9rem;
    background: #2e5fa3;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .header-logo,
    .section-heading-icon,
    .page-hero__orb {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.stat-card {
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) padding-box,
        linear-gradient(145deg, rgba(46, 95, 163, 0.45), rgba(1, 169, 1, 0.35)) border-box;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: auto 1.1rem 0 1.1rem;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #2e5fa3, #01a901);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before { opacity: 1; }

.stat-card__value {
    background: linear-gradient(100deg, #0f172a, #1e4580 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trend-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.35rem;
    background:
        linear-gradient(#ffffff, #f8fbff) padding-box,
        linear-gradient(160deg, rgba(46, 95, 163, 0.4), rgba(1, 169, 1, 0.28)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.trend-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #2e5fa3, #60a5fa);
}

.trend-card.is-latest::before {
    background: linear-gradient(90deg, #16a34a, #34d399);
}

.trend-card__changes div {
    background: linear-gradient(180deg, #ffffff, #f1f5f9);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.cpi-docs {
    margin: 0 0 2.5rem;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    padding: 1.5rem 1.1rem 1.4rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
}

.cpi-docs__sub {
    margin-top: 0.45rem;
    font-size: 0.9rem;
    color: #64748b;
}

.cpi-docs__grid {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.35rem;
}

@media (min-width: 640px) {
    .cpi-docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .cpi-docs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cpi-doc {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cpi-doc:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(30, 69, 128, 0.14);
}

.cpi-doc__banner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(180deg, #f3faf4, #e7f6ea);
    padding: 0.7rem 0.75rem;
}

.cpi-doc__banner img {
    height: 2.6rem;
    width: 2.6rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: #fff;
    object-fit: contain;
}

.cpi-doc__banner p {
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1e4580;
}

.cpi-doc__banner span {
    display: block;
    margin-top: 0.15rem;
    font-weight: 700;
    color: #64748b;
}

.cpi-doc__cover {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #f8fafc;
}

.cpi-doc__cover img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cpi-doc__pill {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    padding: 0.22rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #1e4580;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

html[dir="rtl"] .cpi-doc__pill { right: auto; left: 0.65rem; }

.cpi-doc__date {
    margin: 0.75rem 0.9rem 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c2410c;
}

.cpi-doc h3 {
    margin: 0.35rem 0.9rem 0;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.cpi-doc__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: auto;
    padding: 0.85rem 0.9rem 0.95rem;
}

.cpi-doc__foot p {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
    color: #94a3b8;
}

.cpi-doc__download {
    display: inline-flex;
    height: 2.35rem;
    width: 2.35rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}

.cpi-doc__download:hover {
    transform: scale(1.06);
    background: #15803d;
}

.cpi-doc__download svg {
    height: 1.05rem;
    width: 1.05rem;
}

/* About Northeastern — richer document */
.ne-bro-page {
    background:
        radial-gradient(900px 280px at 50% 0, rgba(46, 95, 163, 0.06), transparent 70%),
        linear-gradient(180deg, #f4f7fb 0%, #ffffff 18rem);
}

.ne-bro-doc-hero {
    background:
        radial-gradient(520px 220px at 15% 0, rgba(255, 255, 255, 0.16), transparent 60%),
        linear-gradient(120deg, #16386e 0%, #2458a8 46%, #0d6a3e 100%);
    border-bottom: 0;
    box-shadow: 0 18px 40px rgba(15, 35, 70, 0.18);
}

.ne-bro-hero-panel {
    position: relative;
    z-index: 1;
}

.ne-bro-hero-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #f5d76e;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.ne-bro-hero-intro {
    color: rgba(255, 255, 255, 0.92);
}

.ne-bro-hero-line {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #427cd0 8%, #ffffff 22%, #feb91e 38%, #3bb23c 52%, #ffffff 66%, #427cd0 82%, transparent 100%);
    background-size: 200% 100%;
    animation: flag-gloss-flow 4.5s linear infinite;
}

.ne-bro-section-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(160deg, color-mix(in srgb, var(--ne-accent, #1e4580) 45%, white), rgba(255, 255, 255, 0.4)) border-box;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.ne-bro-section-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--ne-accent, #1e4580), color-mix(in srgb, var(--ne-accent, #1e4580) 45%, #3bb23c));
}

html[dir="rtl"] .ne-bro-section-card::before {
    right: 0;
    left: auto;
}

.ne-bro-section-card::after {
    content: "";
    position: absolute;
    top: -2.5rem;
    right: -2rem;
    width: 7rem;
    height: 7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ne-accent, #1e4580) 9%, transparent);
    pointer-events: none;
}

.ne-bro-icon__svg {
    border-radius: 1rem;
    background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--ne-accent, #1e4580) 14%, white));
    box-shadow: 0 8px 18px color-mix(in srgb, var(--ne-accent, #1e4580) 16%, transparent);
}

.ne-bro-leadership {
    border: 1px solid rgba(30, 69, 128, 0.1);
    background:
        radial-gradient(280px 120px at 0 0, rgba(46, 95, 163, 0.08), transparent 70%),
        linear-gradient(180deg, #f8fbff, #ffffff);
}

.ne-bro-leaders li {
    height: 100%;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ne-bro-partners li {
    border-radius: 999px;
    border: 1px solid rgba(13, 61, 107, 0.12);
    background: linear-gradient(180deg, #ffffff, #f3f7fc);
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0d3d6b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* CPI page */
.cpi-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(480px 200px at 80% 0, rgba(255, 255, 255, 0.14), transparent 60%),
        linear-gradient(125deg, #14386f 0%, #2a62b5 52%, #0e6b3c 100%);
    padding: 1.85rem 1.25rem 1.65rem;
    color: #fff;
    text-align: center;
}

.cpi-hero__inner {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 52rem;
}

.cpi-hero__icon {
    display: inline-flex;
    height: 3.1rem;
    width: 3.1rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.cpi-hero__icon svg {
    height: 1.8rem;
    width: 1.8rem;
}

.cpi-hero__kicker {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #f5d76e;
}

.cpi-hero h1 {
    margin-top: 0.35rem;
    font-family: Outfit, Cairo, sans-serif;
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cpi-hero__lead {
    margin: 0.7rem auto 0;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.cpi-hero__stats {
    display: grid;
    gap: 0.75rem;
    margin: 0.85rem auto 0;
    max-width: 42rem;
}

@media (min-width: 720px) {
    .cpi-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cpi-hero__stats div {
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.85rem 0.7rem 0.75rem;
    backdrop-filter: blur(10px);
}

.cpi-hero__stats span,
.cpi-hero__stats em {
    display: block;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.cpi-hero__stats strong {
    display: block;
    margin: 0.2rem 0;
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cpi-hero__stats .is-cool { color: #bbf7d0; }
.cpi-hero__stats .is-hot { color: #fecaca; }

.cpi-hero__line {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #427cd0 8%, #ffffff 22%, #feb91e 38%, #3bb23c 52%, #ffffff 66%, #427cd0 82%, transparent 100%);
    background-size: 200% 100%;
    animation: flag-gloss-flow 4.5s linear infinite;
}

.cpi-page .trends-panel,
.cpi-page .cpi-docs {
    border: 1px solid rgba(46, 95, 163, 0.1);
    background:
        radial-gradient(640px 180px at 50% 0, rgba(46, 95, 163, 0.08), transparent 72%),
        linear-gradient(180deg, #ffffff, #f7fbff);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.06);
}

.cpi-empty {
    display: grid;
    justify-items: center;
    border-radius: 1.6rem;
    border: 1px dashed rgba(46, 95, 163, 0.28);
    background:
        radial-gradient(420px 140px at 50% 0, rgba(46, 95, 163, 0.08), transparent 70%),
        #fff;
    padding: 3rem 1.25rem;
    text-align: center;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.cpi-empty__icon {
    display: flex;
    height: 4rem;
    width: 4rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    background: linear-gradient(160deg, #e8f1ff, #ffffff);
    color: #2e5fa3;
    box-shadow: 0 10px 24px rgba(46, 95, 163, 0.12);
}

.cpi-empty__icon svg {
    height: 1.7rem;
    width: 1.7rem;
}

.cpi-empty h2 {
    margin-top: 0.9rem;
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.cpi-empty p {
    margin-top: 0.35rem;
    max-width: 26rem;
    font-size: 0.92rem;
    color: #64748b;
}

.trend-card--location .trend-card__badge--rank {
    background: linear-gradient(135deg, #1e4580, #2e5fa3);
}

.trend-card--location:nth-child(1) { --loc: #1e4580; }
.trend-card--location:nth-child(2) { --loc: #2563b5; }
.trend-card--location:nth-child(3) { --loc: #0a5c38; }
.trend-card--location:nth-child(4) { --loc: #b45309; }

.trend-card--location::before {
    background: linear-gradient(90deg, var(--loc, #2e5fa3), color-mix(in srgb, var(--loc, #2e5fa3) 40%, #34d399));
}

.cpi-doc__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.cpi-doc__view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2e5fa3, #1e4580);
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 8px 16px rgba(46, 95, 163, 0.28);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.cpi-doc__view:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.cpi-doc__ext {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    padding: 0.2rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
}

html[dir="rtl"] .cpi-doc__ext {
    right: 0.65rem;
    left: auto;
}

.cpi-doc__cover {
    display: block;
    text-decoration: none;
}

.cpi-hero--compact {
    padding: 1.5rem 1.25rem 1.35rem;
}

.cpi-doc-view__toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1rem;
}

.cpi-doc-view__back,
.cpi-doc-view__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.cpi-doc-view__back {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cpi-doc-view__download {
    background: #f5d76e;
    color: #1e4580;
}

.cpi-sheet {
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(46, 95, 163, 0.1);
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.cpi-sheet__head {
    padding: 1.15rem 1.2rem 0.85rem;
    border-bottom: 1px solid #eef2f7;
}

.cpi-sheet__head h2 {
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.cpi-sheet__head p {
    margin-top: 0.25rem;
    font-size: 0.88rem;
    color: #64748b;
}

.cpi-sheet__scroll {
    overflow: auto;
    max-height: min(70vh, 640px);
}

.cpi-sheet__table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.cpi-sheet__table th,
.cpi-sheet__table td {
    border-bottom: 1px solid #eef2f7;
    padding: 0.55rem 0.7rem;
    white-space: nowrap;
    text-align: left;
}

html[dir="rtl"] .cpi-sheet__table th,
html[dir="rtl"] .cpi-sheet__table td {
    text-align: right;
}

.cpi-sheet__table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(180deg, #1e4580, #2e5fa3);
    color: #fff;
    font-weight: 700;
}

.cpi-sheet__table tbody tr:nth-child(even) td {
    background: #f8fbff;
}

.cpi-sheet__table tbody tr:hover td {
    background: #eef6ff;
}

.cpi-sheet__text {
    margin: 0;
    padding: 1.2rem 1.25rem 1.5rem;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: "Plus Jakarta Sans", Cairo, sans-serif;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #334155;
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(30, 69, 128, 0.12);
}

.stat-card__value {
    background: linear-gradient(100deg, #0f172a, #1e4580 75%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trend-card {
    text-decoration: none;
    color: inherit;
}

.trend-card__open {
    display: block;
    margin-top: 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2e5fa3;
    text-align: center;
}

.cpi-hero--place {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.cpi-place__back {
    display: inline-flex;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.cpi-place__hero-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    padding: 1rem 1.6rem 0.9rem;
    backdrop-filter: blur(10px);
}

.cpi-place__hero-stat span,
.cpi-place__hero-stat em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.cpi-place__hero-stat strong {
    margin: 0.2rem 0;
    font-family: Outfit, Cairo, sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.cpi-place__metrics {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .cpi-place__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .cpi-place__metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cpi-place__metric {
    border-radius: 1.25rem;
    border: 1px solid rgba(46, 95, 163, 0.1);
    background:
        linear-gradient(180deg, #ffffff, #f7fbff);
    padding: 1.15rem 1.1rem 1.05rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.cpi-place__metric span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.cpi-place__metric strong {
    display: block;
    margin-top: 0.35rem;
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #1e4580;
}

.cpi-place__metric strong.is-hot { color: #dc2626; }
.cpi-place__metric strong.is-cool { color: #15803d; }

.cpi-place__metric p {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #64748b;
}

.cpi-place__metric--low { box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.18), 0 14px 34px rgba(15, 23, 42, 0.05); }
.cpi-place__metric--moderate { box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.22), 0 14px 34px rgba(15, 23, 42, 0.05); }
.cpi-place__metric--high { box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2), 0 14px 34px rgba(15, 23, 42, 0.05); }

.cpi-place__story {
    margin-top: 1.35rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(46, 95, 163, 0.1);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    padding: 1.4rem 1.3rem 1.25rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.cpi-place__story h2 {
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.cpi-place__story ul {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.7rem;
}

.cpi-place__story li {
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.85rem 0.95rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #334155;
}

.cpi-place__others {
    margin-top: 2rem;
}

.cpi-place__others-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.1rem;
}

@media (min-width: 720px) {
    .cpi-place__others-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cpi-place__other-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(46, 95, 163, 0.12);
    background: #fff;
    padding: 1rem 1.05rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cpi-place__other-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(30, 69, 128, 0.12);
}

.cpi-place__other-name {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.cpi-place__other-card strong {
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #1e4580;
}

.cpi-place__other-card em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2e5fa3;
}

.cpi-place__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.site-canvas {
    background:
        radial-gradient(900px 320px at 10% -10%, rgba(46, 95, 163, 0.06), transparent 60%),
        radial-gradient(700px 280px at 90% 0%, rgba(1, 169, 1, 0.05), transparent 55%),
        #f8fafc;
}

.highlight-tile {
    transition: transform 0.3s ease, background 0.3s ease;
}

.highlight-tile:hover {
    transform: translateY(-3px);
}

.ministry-header {
    background:
        radial-gradient(420px 120px at 50% 0, rgba(46, 95, 163, 0.08), transparent 70%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.cpi-page .trends-panel {
    position: relative;
    overflow: hidden;
}

.cpi-page .trends-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #427cd0, #ffffff 35%, #feb91e 50%, #3bb23c 70%, #427cd0);
}

.cpi-place__bars {
    margin-top: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(46, 95, 163, 0.1);
    background:
        radial-gradient(520px 180px at 100% 0%, rgba(245, 215, 110, 0.18), transparent 55%),
        linear-gradient(180deg, #ffffff, #f5f9ff);
    padding: 1.4rem 1.3rem 1.35rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.cpi-place__bars h2 {
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

.cpi-place__bars-lead {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
}

.cpi-place__bar-list {
    margin-top: 1.15rem;
    display: grid;
    gap: 0.85rem;
}

.cpi-place__bar-row {
    display: grid;
    grid-template-columns: 7rem 1fr 3.2rem;
    align-items: center;
    gap: 0.7rem;
}

@media (max-width: 640px) {
    .cpi-place__bar-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "name val"
            "track track";
        gap: 0.35rem 0.7rem;
    }
    .cpi-place__bar-name { grid-area: name; }
    .cpi-place__bar-val { grid-area: val; }
    .cpi-place__bar-track { grid-area: track; }
}

.cpi-place__bar-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #334155;
}

.cpi-place__bar-track {
    height: 0.72rem;
    border-radius: 999px;
    background: #e8eef7;
    overflow: hidden;
}

.cpi-place__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2e5fa3, #34d399);
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cpi-place__bar-row.is-current .cpi-place__bar-name {
    color: #1e4580;
}

.cpi-place__bar-row.is-current .cpi-place__bar-fill {
    background: linear-gradient(90deg, #1e4580, #f5d76e);
    box-shadow: 0 0 0 1px rgba(245, 215, 110, 0.35);
}

.cpi-place__bar-val {
    font-family: Outfit, Cairo, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #1e4580;
    text-align: right;
}

.cpi-hero--place .cpi-hero__inner {
    text-align: center;
}

.cpi-place__back:hover {
    background: rgba(255, 255, 255, 0.2);
}

.trend-card--location {
    position: relative;
    overflow: hidden;
}

.trend-card--location:hover .trend-card__open {
    color: #0a5c38;
    letter-spacing: 0.1em;
}

.trend-card--location .trend-card__cpi {
    background: linear-gradient(100deg, #0f172a, var(--loc, #1e4580) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-header__utility a {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header__utility a:hover {
    transform: translateY(-1px);
}

.news-card,
.stat-card,
.trend-card {
    will-change: transform;
}

