@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

:root {
    --primary: #204d73;
    --secondary: #91a6ba;
    --accent: #f5b526;
    --dark: #071321;
    --light: #0e1c2b;
    --text: #e8eef5;
    --white: #ffffff;
    /* Logo tokens (shared with academy) */
    --logo-primary: #005b96;
    --logo-secondary: #00a6a6;
    --logo-accent: #ff7a00;
    --logo-dark: #102a43;
    /* Map main tokens to logo tokens for unified palette */
    --primary: #204d73;
    --secondary: #91a6ba;
    --accent: #f5b526;
    --dark: #071321;
    /* Design tokens for modern, luxurious feel (do NOT change color values above) */
    --radius: 14px;
    --radius-lg: 18px;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.6rem;
    --elev-1: 0 8px 20px rgba(8,60,96,0.06);
    --elev-2: 0 18px 40px rgba(8,60,96,0.10);
    --elev-3: 0 28px 70px rgba(8,60,96,0.14);
    --glass-sheen: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, #dff3ff 0%, #f5fbff 42%, #ffffff 100%);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes soft-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes sheen-slide {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-title,
.hero h1,
.hero h2,
.hero h3,
.page-banner h1,
.error-hero h1,
.section h2 {
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    letter-spacing: -0.01em;
}

main.container {
    padding-block-start: 0.45rem;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    inline-size: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(120deg, var(--dark), #0c3d66 48%, var(--primary));
    color: var(--white);
    position: sticky;
    inset-block-start: 0;
    z-index: 10;
    box-shadow: var(--elev-2);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
}

.top-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.75rem 0;
}

.brand-left {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-inline-size: 0;
    flex: 1 1 auto;
}

.brand-home-link {
    text-decoration: none;
    color: inherit;
}

.eu-logo-link {
    display: inline-flex;
}

.brand-left img {
    inline-size: clamp(155px, 18vw, 235px);
    max-block-size: 58px;
    block-size: auto;
    object-fit: contain;
    display: block;
}

.brand-title {
    margin: 0;
    font-size: 1.18rem;
    letter-spacing: 0.6px;
    font-weight: 700;
}

.brand-sub {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.9;
}

.eu-logo {
    block-size: 58px;
    inline-size: auto;
    border-radius: 6px;
    background: #fff;
    padding: 4px;
    flex: 0 0 auto;
}

.lang-switch {
    margin-inline-start: 0.35rem;
    flex: 0 0 auto;
}

.lang-switch select {
    inline-size: auto;
    min-inline-size: 120px;
    margin-block-start: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 12px;
    padding: 0.42rem 0.6rem;
}

.lang-switch select option {
    color: #102a43;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding-block-end: 0.8rem;
    overflow-x: visible;
    scrollbar-width: thin;
    align-items: center;
    animation: reveal-up 0.45s ease both;
}

.main-nav a {
    position: relative;
    color: #e8f4ff;
    padding: 0.5rem 0.7rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    inset-inline: 0.7rem;
    inset-block-end: 0.2rem;
    block-size: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95), rgba(255,255,255,0));
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0.9;
    transition: transform 0.24s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav .nav-utility {
    margin-inline-start: auto;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.main-nav .nav-utility + .nav-utility {
    margin-inline-start: 0.35rem;
}

.mobile-nav-row {
    display: none;
}

.menu-toggle {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 12px;
    inline-size: 46px;
    block-size: 42px;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: var(--elev-1);
}

.sr-only {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.menu-icon {
    inline-size: 22px;
    block-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon .bar {
    display: block;
    block-size: 2px;
    border-radius: 3px;
    background: #ffffff;
    transition: transform 0.22s ease, opacity 0.18s ease;
    transform-origin: center;
}

.site-header.nav-open .menu-toggle {
    transform: rotate(90deg);
}

.site-header.nav-open .menu-icon .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .menu-icon .bar:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .menu-icon .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    padding: 3.5rem 0 2.6rem;
}

.hero-card {
    background: linear-gradient(135deg, #0d4d7a 0%, #0079a7 40%, #00a6a6 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.2rem, 3vw, 2.2rem);
    box-shadow: var(--elev-3);
    background-image: linear-gradient(135deg, rgba(13,77,122,0.96), rgba(0,121,167,0.92)), var(--glass-sheen);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,0.12);
    animation: reveal-up 0.7s ease both;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.13) 46%, rgba(255,255,255,0) 60%);
    background-size: 220% 100%;
    animation: sheen-slide 6s linear infinite;
    pointer-events: none;
}

.hero-card::after {
    content: "";
    position: absolute;
    inline-size: 320px;
    block-size: 320px;
    border-radius: 50%;
    inset-inline-end: -90px;
    inset-block-start: -90px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 1rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-side {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 16px;
    padding: 0.95rem;
    backdrop-filter: blur(10px);
}

.hero-side h3 {
    margin-block-start: 0;
    margin-block-end: 0.55rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-pill {
    padding: 0.35rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.84rem;
    white-space: nowrap;
}

.hero h1 {
    margin-block-start: 0;
    font-size: clamp(1.4rem, 3.8vw, 2.25rem);
    line-height: 1.25;
}

.hero-buttons {
    margin-block-start: 1.1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    border: none;
    border-radius: 14px;
    padding: 0.72rem 1.1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.14s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary:hover,
.btn-dark:hover,
.btn-outline:hover {
    box-shadow: var(--elev-2);
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 88%, black 6%));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255,122,0,0.14), 0 2px 6px rgba(0,0,0,0.06);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-outline {
    background: #ffffff;
    color: #0d5d89;
    border: 1px solid #b8d8ea;
}

.btn-sm {
    padding: 0.38rem 0.64rem;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 700;
}

.btn-edit {
    background: #0f7ca0;
    color: #ffffff;
}

.btn-delete {
    background: #c63d3d;
    color: #ffffff;
}

.section {
    padding: var(--space-lg) 0;
    border-block-end: 1px solid rgba(15, 68, 104, 0.06);
}

.section h2 {
    margin-block-start: 0;
    color: var(--dark);
    letter-spacing: 0.2px;
    animation: reveal-up 0.5s ease both;
}

.section h3 {
    color: #0f4d74;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    perspective: 1000px;
}

.card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--elev-2);
    border: 1px solid rgba(10,60,100,0.06);
    animation: reveal-up 0.55s ease both;
}

.focus-card {
    border: 1px solid rgba(13,77,122,0.06);
    transition: transform 0.26s cubic-bezier(.2,.9,.2,1), box-shadow 0.26s cubic-bezier(.2,.9,.2,1), border-color 0.2s ease;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    cursor: default;
    box-shadow: var(--elev-2);
}

.focus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.focus-card:hover {
    transform: translateY(-10px) scale(1.03) rotateX(1.2deg) rotateY(0.6deg);
    box-shadow: var(--elev-3);
    border-color: rgba(13,77,122,0.12);
}

.focus-card:hover::before {
    opacity: 1;
}

.grid-4 > .focus-card {
    animation: reveal-up 0.72s cubic-bezier(.2,.9,.2,1) both;
}

.grid-4 > .focus-card:nth-child(1) {
    animation-delay: 0.08s;
}

.grid-4 > .focus-card:nth-child(2) {
    animation-delay: 0.18s;
}

.grid-4 > .focus-card:nth-child(3) {
    animation-delay: 0.28s;
}

.grid-4 > .focus-card:nth-child(4) {
    animation-delay: 0.38s;
}

.grid-4 > .focus-card:nth-child(5) {
    animation-delay: 0.48s;
}

.focus-card:active {
    transform: translateY(-3px) scale(0.998);
}

@media (max-width: 740px) {
    .grid-4 {
        perspective: none;
    }

    .focus-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
}

@media (prefers-reduced-motion: reduce) {
    .focus-card,
    .grid-4 > .focus-card {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Deep navy and warm gold theme, adapted from the supplied reference. */
:root {
    --elev-1: 0 8px 22px rgba(0, 0, 0, 0.18);
    --elev-2: 0 16px 36px rgba(0, 0, 0, 0.24);
    --elev-3: 0 24px 60px rgba(0, 0, 0, 0.3);
}

body {
    color: #e8eef5;
    background: radial-gradient(circle at 50% -20%, #14283a 0, #0a1724 43%, #07111c 100%);
}

.site-header {
    background: #071321;
    border-bottom: 1px solid #22364a;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.main-nav a { color: #d5e0ea; }
.main-nav a:hover,
.main-nav a.active { background: #142638; color: #fff; }
.main-nav .nav-utility { background: #0e1c2b; border-color: #2b4054; }
.lang-switch select { background: #101f2e; border-color: #30485f; color: #edf2f7; }
.lang-switch select option { background: #101f2e; color: #edf2f7; }

.hero-card,
.hero {
    background: linear-gradient(125deg, #0b1927 0%, #10263a 58%, #173753 100%);
    color: #f1f5f9;
    border: 1px solid #263f56;
}

.hero-card { background-image: linear-gradient(125deg, rgba(8, 20, 32, .97), rgba(17, 43, 65, .93)), var(--glass-sheen); }
.hero-side { background: rgba(7, 19, 33, .72); border-color: #354b60; }
.hero h1, .hero h2, .hero h3 { color: #f5f7fa; }
.hero p { color: #c0ccd8; }

.page-banner {
    background: linear-gradient(120deg, #102235, #122a3e);
    border-color: #263f56;
}
.page-banner h1,
.section h2,
.section h3,
.focus-title,
.news-title,
.news-detail-title,
.lead-text,
.admin-dashboard-sidebar h2 { color: #edf2f7; }
.page-banner p,
.news-excerpt,
.lead-text,
.meta { color: #a8b8c8; }
.section { border-color: rgba(169, 188, 208, .12); }

.card,
.news-detail-content,
.admin-dashboard-sidebar,
.admin-kpi,
.news-language-panel,
.error-card,
.form-card,
.partner-logos,
.media-download-card,
.admin-table-wrap,
.styled-list li,
.number-list li {
    color: #e7edf4;
    background: #101f2e;
    border-color: #263b50;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.card h3,
.news-share-label,
.admin-kpi-label,
.admin-form-card label,
.news-language-panel legend,
.news-language-panel label { color: #dce6ef; }
.news-thumb-placeholder { background: linear-gradient(140deg, #14283b, #1b3650); color: #c5d4e2; }
.news-item img { background: #142638; }
.news-read-more,
a { color: #f5b526; }
a:hover { color: #ffd166; }
.main-nav a, .brand-home-link, .hero a, .btn, .news-share-btn { text-decoration: none; }

.btn-primary,
.btn-dark {
    color: #101820;
    background: #f5b526;
    box-shadow: 0 8px 20px rgba(245, 181, 38, .18);
}
.btn-primary:hover,
.btn-dark:hover { background: #ffc547; color: #101820; }
.btn-outline,
.news-share-btn {
    color: #e5edf5;
    background: #122234;
    border-color: #2c455d;
}
.btn-outline:hover,
.news-share-btn:hover { color: #fff; background: #192d42; border-color: #54718d; }
.btn-edit { background: #204d73; color: #f3f7fb; }
.btn-delete { color: #fff; }

input,
textarea,
select {
    color: #edf2f7;
    background: #0b1927;
    border-color: #2b4054;
}
input:focus,
textarea:focus,
select:focus { background: #0e1e2d; border-color: #d9a324; box-shadow: 0 0 0 3px rgba(245, 181, 38, .15); }
input::placeholder,
textarea::placeholder { color: #8397aa; }

.admin-table,
table { color: #e7edf4; background: #101f2e; }
.admin-table th,
th { color: #e6edf5; background: #172a3c; }
td, th { border-color: #263b50; }
tbody tr:hover { background: #142638; }
.admin-table-wrap { overflow-x: auto; }
.admin-toolbar .btn-outline { color: #e5edf5; }
.admin-dashboard-sidebar { border-inline-start: 3px solid #f5b526; }
.news-language-panel { background: #0d1b29; }
.notice-eu { background: #132638; color: #dce6ef; border-color: #f5b526; }
.stat-box { background: linear-gradient(135deg, #142b40, #1b4567); }
.news-detail-content { border-color: #263b50; }
.news-body { color: #d6e0e9; }
.news-share-btn--facebook,
.news-share-btn--whatsapp,
.news-share-btn--linkedin,
.news-share-btn--copy { color: #e5edf5; }
.news-share-btn--copy.is-copied { color: #d8f3df; background: #173426; border-color: #286346; }
.flash.success { color: #d8f3df; background: #10291d; border-color: #286346; }
.flash.error { color: #ffdddd; background: #32191b; border-color: #754044; }
.site-footer,
footer { color: #aab9c8; background: #071321; border-color: #22364a; }

.stat-box {
    animation: reveal-up 0.55s ease both;
}

.stat-box:hover {
    animation: soft-float 1.8s ease-in-out infinite;
}

.news-item img,
.partner-logos img {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-item:hover img,
.partner-logos img:hover {
    transform: translateY(-2px);
    box-shadow: var(--elev-2);
}

.focus-title {
    margin: 0;
    font-weight: 700;
    color: #0f456d;
    letter-spacing: 0.3px;
}

.stats-strip {
    margin-block-start: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.stat-box {
    background: linear-gradient(145deg, #0d4c77, #126d9c);
    color: #e9f6ff;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 22px rgba(7,50,81,0.10);
}

.stat-box strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
    color: #ffffff;
}

.notice-eu {
    border-inline-start: 6px solid var(--accent);
    background: #fff8ef;
    padding: 1rem 1.1rem;
    border-radius: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
    justify-content: center;
    gap: 1.5rem;
}

.news-grid-latest {
    grid-template-columns: repeat(auto-fill, minmax(250px, 320px));
    justify-content: center;
}

.news-item-compact {
    display: flex;
    flex-direction: column;
    inline-size: 100%;
    min-block-size: auto;
    overflow: hidden;
    padding: 0;
}

.news-item img {
    inline-size: 100%;
    block-size: 200px;
    object-fit: cover;
    background: linear-gradient(160deg, #eff8ff, #f9fdff);
    border: none;
    border-radius: 12px 12px 0 0;
    display: block;
}

.news-item-compact img,
.news-thumb-placeholder {
    block-size: 200px;
}

.news-thumb-placeholder {
    border-radius: 10px 10px 0 0;
    background: linear-gradient(140deg, #d7eefb, #f0fbff);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f5f84;
    font-weight: 700;
    font-size: 0.9rem;
    block-size: 200px;
}

.news-title {
    margin-block-start: 0.5rem;
    margin-block-end: 0.5rem;
    line-height: 1.4;
    color: #0b344b;
    font-size: 1.12rem;
    font-weight: 700;
}

.news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-block-end: 0.5rem;
    color: #4d5f6b;
    line-height: 1.55;
    font-size: 1.02rem;
}

.news-read-more {
    margin-block-start: auto;
    font-weight: 700;
    color: #0f6f97;
    text-decoration: none;
    padding-block-start: 0.5rem;
}

.news-read-more:hover {
    text-decoration: underline;
}

.pagination {
    margin-block-start: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 2.2rem;
    block-size: 2.2rem;
    border-radius: 10px;
    border: 1px solid rgba(15,95,133,0.06);
    background: #f5fbff;
    color: #0f5e85;
    font-weight: 700;
    text-decoration: none;
}

.pagination-link:hover {
    background: #e6f4ff;
}

.pagination-link.is-active {
    background: #0f6f97;
    border-color: #0f6f97;
    color: #ffffff;
}

.news-item-compact > * {
    margin-inline-start: 1rem;
    margin-inline-end: 1rem;
}

.news-item-compact > img,
.news-item-compact > .news-thumb-placeholder {
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.news-item-compact > :last-child {
    margin-block-end: 1rem;
}

.news-item h3 {
    margin-block-end: 0.45rem;
}

.news-date {
    display: none !important;
    font-size: 0.88rem;
    color: #4e6b75;
    display: inline-block;
    background: #edf8ff;
    border: 1px solid #d4ebf8;
    border-radius: 24px;
    padding: 0.3rem 0.75rem;
    margin-block-start: 0.5rem;
    margin-block-end: 0.8rem;
}

.news-detail {
    padding: 0;
    max-inline-size: 900px;
    margin: 1.5rem auto;
}

.news-detail img {
    inline-size: 100%;
    block-size: 350px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    display: block;
    margin-block-end: 0;
}

.news-detail-content {
    padding: 2rem;
    background: white;
    border-radius: 0 0 14px 14px;
    border: 1px solid #e2edf5;
    border-block-start: none;
}

.news-detail-date {
    font-size: 0.88rem;
    color: #4e6b75;
    display: inline-block;
    background: #edf8ff;
    border: 1px solid #d4ebf8;
    border-radius: 24px;
    padding: 0.35rem 0.85rem;
    margin-block-end: 1rem;
}

.news-detail-title {
    font-size: 1.9rem;
    color: #0b344b;
    line-height: 1.3;
    margin-block-end: 1.3rem;
    font-weight: 700;
}

.news-body {
    font-size: 1.06rem;
    line-height: 1.75;
    color: #1f3a42;
    margin-block-end: 1.4rem;
}

.news-body p {
    margin-block-end: 1rem;
}

.news-share {
    margin-block-start: 1.2rem;
    margin-block-end: 1rem;
}

.news-share-label {
    margin-block-end: 0.6rem;
    color: #0f4468;
    font-weight: 700;
}

.news-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.news-share-btn {
    appearance: none;
    border: 1px solid #d3e9f8;
    background: #f7fcff;
    color: #0f5e85;
    border-radius: 999px;
    padding: 0.46rem 0.82rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    line-height: 1;
    transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.news-share-btn:hover {
    background: #eaf6ff;
    border-color: #b7dbf1;
    transform: translateY(-1px);
}

.news-share-btn svg {
    inline-size: 16px;
    block-size: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.news-share-btn--facebook {
    color: #1a4fb9;
}

.news-share-btn--whatsapp {
    color: #0f8f43;
}

.news-share-btn--linkedin {
    color: #0a66c2;
}

.news-share-btn--copy {
    color: #0d4f71;
}

.news-share-btn--copy.is-copied {
    background: #e9fbef;
    border-color: #b9ebc8;
    color: #15753a;
}

.page-banner {
    background: linear-gradient(130deg, #ddf2ff, #effbff 55%, #e7fff8);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    margin-block-start: 1rem;
    border: 1px solid rgba(10,95,133,0.06);
    box-shadow: var(--elev-1);
}

.page-banner h1 {
    margin: 0;
    color: #0f4468;
}

.page-banner p {
    margin-block-start: 0.35rem;
    margin-block-end: 0;
    color: #28556d;
}

.error-shell {
    border-block-end: 0;
    padding-block-start: 1.3rem;
}

.error-hero {
    background: linear-gradient(145deg, #0d4c77, #126d9c);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.35rem;
    box-shadow: var(--elev-2);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.error-code {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
}

.error-hero h1 {
    margin: 0.55rem 0 0.35rem;
    color: #ffffff;
}

.error-hero p {
    margin: 0;
    color: #e8f6ff;
}

.error-card {
    max-inline-size: 760px;
    margin: 1rem auto 0;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #d8e9f6;
    box-shadow: 0 12px 28px rgba(12, 66, 97, 0.12);
}

.error-card p {
    margin-block-start: 0;
    margin-block-end: 0.85rem;
    color: #35556a;
}

.error-actions {
    justify-content: center;
}

.lead-text {
    font-size: 1.03rem;
    color: #21485e;
}

.styled-list,
.number-list {
    margin: 0.75rem 0 0;
    padding-inline-start: 0;
    list-style: none;
}

.styled-list li,
.number-list li {
    background: #ffffff;
    border: 1px solid rgba(10,95,133,0.04);
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    margin-block-end: 0.6rem;
    box-shadow: 0 6px 16px rgba(10,60,90,0.04);
}

.number-list {
    counter-reset: step;
}

.number-list li {
    position: relative;
    padding-inline-start: 2.6rem;
}

.number-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    inset-inline-start: 0.72rem;
    inset-block-start: 0.58rem;
    inline-size: 1.4rem;
    block-size: 1.4rem;
    border-radius: 50%;
    background: linear-gradient(140deg, #0f5d91, #0a82a2);
    color: #ffffff;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.4rem;
    font-weight: 700;
}

.wp-card {
    border-block-start: 4px solid #0f77a5;
}

.partner-card {
    border-block-start: 4px solid #0e8a87;
    display: flex;
    flex-direction: column;
    block-size: 100%;
}

.partner-card h3 {
    margin-block-start: 0;
    margin-block-end: 0.55rem;
    line-height: 1.35;
}

.partner-card p {
    margin-block-start: 0;
    margin-block-end: 0;
    color: #365160;
}

.impact-card {
    border-block-start: 4px solid #ff7a00;
}

.contact-card {
    border-block-start: 4px solid #0b679a;
}

.resource-card {
    border-block-start: 4px solid #0b8292;
}

.media-list li p {
    margin-block-start: 0.25rem;
    margin-block-end: 0.35rem;
}

.media-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-block-start: 0.3rem;
}

.media-actions a {
    font-weight: 700;
    color: #0f6f97;
}

.media-download-card h3 {
    margin-block-start: 0;
    margin-block-end: 0.45rem;
}

.partner-logos {
    background: linear-gradient(120deg, #f1f9ff, #ffffff);
    border: 1px solid #ddeefa;
    border-radius: 14px;
    padding: 1rem;
}

.news-item {
    border-block-start: 4px solid #0f7ca0;
}

.news-item p {
    margin-block-start: 0.45rem;
    margin-block-end: 0.55rem;
}

.admin-kpi-grid {
    margin-block-start: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.admin-kpi {
    border-block-start: 4px solid #0f789f;
}

.admin-kpi-label {
    margin: 0;
    color: #31586d;
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-kpi-value {
    margin: 0.35rem 0 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f3f60;
}

.admin-toolbar {
    margin-block-start: 1rem;
    margin-block-end: 0.9rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
}

.admin-toolbar > a,
.admin-toolbar > form,
.admin-toolbar > form > button {
    width: 100%;
}

.admin-toolbar > a,
.admin-toolbar > form > button {
    justify-content: flex-start;
    text-align: left;
}

.admin-toolbar form {
    margin: 0;
}

.admin-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    margin-block-start: 1rem;
}

.admin-dashboard-sidebar {
    position: sticky;
    inset-block-start: 1rem;
    padding: 1rem;
}

.admin-dashboard-sidebar h2 {
    margin: 0 0 .8rem;
    color: #123e5c;
    font-size: 1.15rem;
}

.admin-dashboard-sidebar .admin-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .55rem;
    margin: 0;
}

.admin-dashboard-sidebar .admin-toolbar > a,
.admin-dashboard-sidebar .admin-toolbar form,
.admin-dashboard-sidebar .admin-toolbar button {
    width: 100%;
}

.admin-dashboard-sidebar .admin-toolbar > a,
.admin-dashboard-sidebar .admin-toolbar button {
    justify-content: flex-start;
    text-align: left;
}

.admin-dashboard-main { min-width: 0; }
.admin-dashboard-main .admin-kpi-grid { margin-block: 0 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1050px) {
    .admin-dashboard-layout { grid-template-columns: minmax(215px, 250px) minmax(0, 1fr); }
    .admin-dashboard-main .admin-kpi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .admin-dashboard-layout { grid-template-columns: minmax(0, 1fr); }
    .admin-dashboard-sidebar { position: static; }
    .admin-dashboard-sidebar .admin-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-dashboard-main .admin-kpi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .admin-dashboard-sidebar .admin-toolbar { grid-template-columns: 1fr; }
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #d9e9f3;
    background: #ffffff;
}

.admin-table th {
    background: #edf7ff;
    color: #154e71;
    font-weight: 700;
}

.admin-actions {
    display: flex;
    gap: 0.4rem;
}

.admin-form-card {
    margin-block-start: 0.95rem;
    border-block-start: 4px solid #0f789f;
}

.news-multilingual-card { max-inline-size: none; }
.news-language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block-start: 1rem; }
.news-language-panel { min-inline-size: 0; margin: 0; padding: 1rem; border: 1px solid #d6e6ef; border-radius: 14px; background: #f9fcfe; }
.news-language-panel legend { padding-inline: .4rem; color: #145274; font-size: 1.05rem; font-weight: 800; }
.news-language-panel label { margin-block-start: .5rem; }
.news-language-panel textarea { min-block-size: 180px; }
.news-multilingual-card > form > .meta { margin-block-start: .7rem; color: #526c7c; }

@media (max-width: 760px) {
    .news-language-grid { grid-template-columns: minmax(0, 1fr); }
}

.admin-form-actions {
    margin-block-start: 1rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.admin-image-label {
    margin-block-end: 0.35rem;
    font-weight: 700;
    color: #0f4e73;
}

.admin-current-image {
    max-inline-size: 230px;
    border-radius: 10px;
    border: 1px solid #d5e8f3;
}

.flash {
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
}

.flash.success {
    background: #e7f9ed;
    border: 1px solid #80d1a0;
}

.flash.error {
    background: #ffeded;
    border: 1px solid #ff9d9d;
}

.form-card {
    max-inline-size: 680px;
}

label {
    display: block;
    font-weight: 600;
    margin-block-start: 0.8rem;
}

input,
textarea,
select {
    inline-size: 100%;
    padding: 0.65rem;
    border-radius: 8px;
    border: 1px solid #b8cbd8;
    margin-block-start: 0.3rem;
    font: inherit;
}

textarea {
    min-block-size: 140px;
    resize: vertical;
}

table {
    inline-size: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

th,
td {
    text-align: start;
    padding: 0.75rem;
    border-block-end: 1px solid #e6eef2;
}

.site-footer {
    margin-block-start: 2rem;
    background: var(--dark);
    color: #d3e7f7;
    padding: 1.2rem 0;
    font-size: 0.92rem;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.partner-logos img {
    inline-size: 100%;
    block-size: 150px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(10,95,133,0.04);
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: 0 6px 18px rgba(8, 60, 96, 0.06);
}

.partner-logos img.partner-logo-otrila {
    background: #fff;
    padding-inline-start: 0;
    padding-inline-end: 0;
}

@media (max-width: 980px) {
    .partner-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .partner-logos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 740px) {
    .top-brand {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand toggle"
            "eu lang";
        align-items: center;
        row-gap: 0.6rem;
        column-gap: 0.55rem;
    }

    .brand-left {
        grid-area: brand;
        min-inline-size: 0;
    }

    .brand-left img {
        inline-size: min(145px, 44vw);
        max-block-size: 46px;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .brand-sub {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .eu-logo {
        block-size: 46px;
        justify-self: start;
    }

    .eu-logo-link {
        grid-area: eu;
        justify-self: start;
    }

    .lang-switch {
        grid-area: lang;
        justify-self: end;
        margin-inline-start: 0;
    }

    .lang-switch select {
        min-inline-size: 108px;
        font-size: 0.82rem;
    }

    .container {
        inline-size: min(1120px, 94%);
    }

    .hero {
        padding: 1.5rem 0 1.3rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        inline-size: 100%;
        text-align: center;
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-grid-latest {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 1.5rem 0;
    }

    .page-banner {
        margin-block-start: 0.35rem;
    }

    .mobile-nav-row {
        display: flex;
        grid-area: toggle;
        justify-content: flex-end;
        margin: 0;
    }

    .main-nav {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        margin-block-end: 0.9rem;
        padding: 0.65rem;
        background: rgba(255, 255, 255, 0.09);
        border: 1px solid rgba(255, 255, 255, 0.23);
        border-radius: 12px;
        overflow-x: visible;
        max-block-size: 0;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        visibility: hidden;
        overflow: clip;
        transition: max-block-size 0.28s ease, opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    }

    .site-header.nav-open .main-nav {
        display: flex;
        max-block-size: 500px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
        transition: max-block-size 0.32s ease, opacity 0.22s ease, transform 0.22s ease, visibility 0s;
    }

    .main-nav a {
        inline-size: 100%;
        padding: 0.58rem 0.65rem;
        animation: reveal-up 0.35s ease both;
    }

    .main-nav .nav-utility {
        margin-inline-start: 0;
    }

    .main-nav .nav-utility + .nav-utility {
        margin-inline-start: 0;
    }

    .admin-actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Final overrides for the footer and privacy page */
.site-footer { margin-block-start: 4rem; padding: 0; background: #071321; border-top: 1px solid #263b50; color: #bdc9d5; }
.footer-main { display: grid; grid-template-columns: minmax(250px, 1.5fr) repeat(2, minmax(150px, .7fr)); gap: 3rem; padding: 3rem 0 2.5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; color: #f3f6fa; font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; }
.footer-about p { max-width: 390px; margin: .9rem 0 0; color: #a9b8c6; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.footer-links h2 { margin: .15rem 0 .4rem; color: #f3f6fa; font-size: 1rem; }
.footer-links a { color: #bdc9d5; text-decoration: none; }
.footer-links a:hover { color: #f5b526; }
.footer-eu-note { display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 0; border-top: 1px solid #263b50; border-bottom: 1px solid #263b50; }
.footer-eu-note img { width: 112px; max-height: 64px; object-fit: contain; flex: 0 0 auto; }
.footer-eu-note p { margin: 0; color: #a9b8c6; font-size: .82rem; line-height: 1.65; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; color: #8294a5; font-size: .82rem; }
.privacy-page { padding-bottom: 2.5rem; }
.privacy-banner { max-width: 1000px; margin: 0 auto 1.4rem; padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid #29445e; border-radius: 22px; background: linear-gradient(125deg, #0b1b2a, #102d45 68%, #14283a); }
.privacy-eyebrow { color: #f5b526; font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.privacy-banner h1 { margin: .55rem 0; color: #f3f6fa; }
.privacy-banner p { margin: 0; color: #bdc9d5; }
.privacy-card { max-width: 1000px; margin: 0 auto; padding: clamp(1.2rem, 3vw, 2.2rem); }
.privacy-section { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid #293e53; }
.privacy-section:first-child { padding-top: 0; }
.privacy-section h2 { margin: 0 0 .45rem; color: #f0f4f8; font-size: 1.12rem; }
.privacy-section p { margin: 0; color: #b4c1cd; line-height: 1.8; }
.privacy-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #4c5a62; border-radius: 13px; background: #17283a; color: #f5b526; font-weight: 800; }
.privacy-references { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding-top: 1.35rem; color: #a9b8c6; font-size: .9rem; }
.privacy-references a { color: #f5c34d; }
@media (max-width: 700px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; padding: 2.2rem 0; } .footer-about { grid-column: 1 / -1; } .footer-eu-note { align-items: flex-start; } .footer-eu-note img { width: 76px; } }
@media (max-width: 520px) { .privacy-section { grid-template-columns: 36px minmax(0, 1fr); gap: .7rem; } .privacy-number { width: 34px; height: 34px; border-radius: 10px; font-size: .82rem; } }
@media (max-width: 420px) { .footer-main { grid-template-columns: 1fr; } .footer-about { grid-column: auto; } .footer-eu-note { flex-direction: column; } .footer-bottom { flex-direction: column; gap: .35rem; } }

/* Polished navigation for the shared dark theme */
.site-header { border-bottom-color: rgba(245, 181, 38, .24); }
.site-header > .container:last-child { padding-top: .35rem; }
.main-nav { gap: .35rem; padding-bottom: .8rem; }
.main-nav a { border: 1px solid transparent; border-radius: 999px; padding: .52rem .78rem; color: #d5e0ea; }
.main-nav a::after { inset-inline: .8rem; inset-block-end: .12rem; background: #f5b526; }
.main-nav a:hover, .main-nav a.active { color: #ffd064; background: rgba(245, 181, 38, .09); border-color: rgba(245, 181, 38, .18); text-decoration: none; }
.main-nav .nav-utility { border: 1px solid #334b62; background: #102235; color: #f0f4f8; }
.main-nav .nav-utility:hover { border-color: #f5b526; color: #ffd064; background: #152b40; }
.lang-switch select { border-color: #3a536a; background: #102235; color: #f0f4f8; }
.lang-switch select:focus { border-color: #f5b526; outline: 2px solid rgba(245, 181, 38, .18); }
.menu-toggle { border-color: #3a536a; background: #102235; color: #f0f4f8; }
.menu-toggle:hover, .site-header.nav-open .menu-toggle { border-color: #f5b526; color: #ffd064; }
@media (max-width: 980px) {
    .main-nav a { padding: .48rem .68rem; font-size: .9rem; }
}
@media (max-width: 760px) {
    .site-header .main-nav { background: #0b1927; border-color: #2a4055; box-shadow: 0 18px 35px rgba(0, 0, 0, .28); }
    .site-header.nav-open .main-nav { padding: .65rem; }
    .main-nav a { width: 100%; border-radius: 12px; }
}
.privacy-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .8rem; margin-top: 1.25rem; padding: 1rem 1.1rem; border: 1px solid #354c61; border-radius: 14px; background: #0c1b29; color: #bdc9d5; }
.privacy-contact a { color: #ffd064; font-weight: 800; }
.main-nav a:focus-visible, .lang-switch select:focus-visible, .menu-toggle:focus-visible { outline: 2px solid #f5b526; outline-offset: 3px; }

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 40px;
    padding: .45rem .82rem;
    border: 1px solid #3a536a;
    border-radius: 999px;
    background: #102235;
    color: #e8eef5;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: #f5b526; color: #ffd064; background: #152b40; }
.theme-toggle-icon { display: inline-grid; place-items: center; color: #f5b526; font-size: 1.1rem; line-height: 1; }
.theme-toggle:focus-visible { outline: 2px solid #f5b526; outline-offset: 3px; }
html[data-theme="light"] body { color: #173047; background: radial-gradient(circle at 50% -20%, #e4f4fb 0, #f4fbff 45%, #ffffff 100%); }
html[data-theme="light"] .site-header { background: linear-gradient(120deg, #102a43, #164a70 55%, #204d73); }
html[data-theme="light"] .main-nav a { color: #e8f4ff; }
html[data-theme="light"] .main-nav a:hover, html[data-theme="light"] .main-nav a.active { color: #ffd064; background: rgba(245,181,38,.12); }
html[data-theme="light"] .hero-card, html[data-theme="light"] .hero { color: #173047; background: linear-gradient(130deg, #e6f5fb, #ffffff 55%, #eaf4f9); border-color: #c6dce9; }
html[data-theme="light"] .hero-card { background-image: linear-gradient(130deg, rgba(240,249,253,.97), rgba(255,255,255,.95)), var(--glass-sheen); }
html[data-theme="light"] .hero-side { color: #173047; background: rgba(255,255,255,.88); border-color: #c6dce9; }
html[data-theme="light"] .hero h1, html[data-theme="light"] .hero h2, html[data-theme="light"] .hero h3 { color: #102a43; }
html[data-theme="light"] .hero p { color: #4a677c; }
html[data-theme="light"] .page-banner { color: #173047; background: linear-gradient(120deg, #e4f3fa, #f3faff); border-color: #c6dce9; }
html[data-theme="light"] .page-banner h1, html[data-theme="light"] .section h2, html[data-theme="light"] .section h3, html[data-theme="light"] .focus-title, html[data-theme="light"] .news-title, html[data-theme="light"] .news-detail-title, html[data-theme="light"] .lead-text, html[data-theme="light"] .admin-dashboard-sidebar h2 { color: #173047; }
html[data-theme="light"] .page-banner p, html[data-theme="light"] .news-excerpt, html[data-theme="light"] .meta { color: #526d82; }
html[data-theme="light"] .card, html[data-theme="light"] .news-detail-content, html[data-theme="light"] .admin-dashboard-sidebar, html[data-theme="light"] .admin-kpi, html[data-theme="light"] .news-language-panel, html[data-theme="light"] .error-card, html[data-theme="light"] .form-card, html[data-theme="light"] .partner-logos, html[data-theme="light"] .media-download-card, html[data-theme="light"] .admin-table-wrap, html[data-theme="light"] .styled-list li, html[data-theme="light"] .number-list li { color: #173047; background: #fff; border-color: #d4e4ee; box-shadow: 0 12px 28px rgba(19, 55, 80, .09); }
html[data-theme="light"] .card h3, html[data-theme="light"] .news-share-label, html[data-theme="light"] .admin-kpi-label, html[data-theme="light"] .admin-form-card label, html[data-theme="light"] .news-language-panel legend, html[data-theme="light"] .news-language-panel label { color: #173047; }
html[data-theme="light"] .news-thumb-placeholder { background: linear-gradient(140deg, #e8f4fa, #dcecf5); color: #31536d; }
html[data-theme="light"] .news-item img { background: #edf5f9; }
html[data-theme="light"] .news-read-more, html[data-theme="light"] a { color: #165985; }
html[data-theme="light"] a:hover { color: #a56d00; }
html[data-theme="light"] .site-footer a { color: #d8e3ec; }
html[data-theme="light"] .site-footer a:hover { color: #ffd064; }
html[data-theme="light"] .btn-primary, html[data-theme="light"] .btn-dark { color: #102a43; background: #f5b526; }
html[data-theme="light"] .btn-outline, html[data-theme="light"] .news-share-btn { color: #204d73; background: #f4f9fc; border-color: #bfd4e2; }
html[data-theme="light"] input, html[data-theme="light"] textarea, html[data-theme="light"] select { color: #173047; background: #fff; border-color: #c6dce9; }
html[data-theme="light"] input::placeholder, html[data-theme="light"] textarea::placeholder { color: #71869a; }
html[data-theme="light"] .admin-table, html[data-theme="light"] table { color: #173047; background: #fff; }
html[data-theme="light"] .admin-table th, html[data-theme="light"] th { color: #173047; background: #eaf4f9; }
html[data-theme="light"] td, html[data-theme="light"] th { border-color: #d4e4ee; }
html[data-theme="light"] tbody tr:hover { background: #eff7fb; }
html[data-theme="light"] .news-language-panel { background: #f7fbfd; }
html[data-theme="light"] .notice-eu { background: #fff8e7; color: #443819; border-color: #efc454; }
html[data-theme="light"] .stat-box { background: linear-gradient(135deg, #e6f4fa, #d7ebf5); color: #173047; }
html[data-theme="light"] .news-body { color: #263f54; }
html[data-theme="light"] .news-share-btn--facebook, html[data-theme="light"] .news-share-btn--whatsapp, html[data-theme="light"] .news-share-btn--linkedin, html[data-theme="light"] .news-share-btn--copy { color: #204d73; }
html[data-theme="light"] .flash.success { color: #225a38; background: #eaf8ee; border-color: #b6dec2; }
html[data-theme="light"] .flash.error { color: #7d2930; background: #fff0f0; border-color: #e8b8bb; }
html[data-theme="light"] .privacy-banner { color: #173047; background: linear-gradient(125deg, #e5f3fa, #f6fbfe 68%, #eaf4f9); border-color: #c6dce9; }
html[data-theme="light"] .privacy-banner h1 { color: #102a43; }
html[data-theme="light"] .privacy-banner p, html[data-theme="light"] .privacy-section p { color: #526d82; }
html[data-theme="light"] .privacy-section h2 { color: #173047; }
html[data-theme="light"] .privacy-number { border-color: #c6dce9; background: #edf6fa; color: #a56d00; }
html[data-theme="light"] .privacy-section { border-color: #d4e4ee; }
html[data-theme="light"] .privacy-contact { color: #34566f; background: #f1f8fb; border-color: #c6dce9; }
html[data-theme="light"] .privacy-contact a, html[data-theme="light"] .privacy-references a { color: #165985; }
html[data-theme="light"] .privacy-references { color: #526d82; }
html[data-theme="light"] .theme-toggle { color: #e8eef5; background: #102235; border-color: #3a536a; }
html[data-theme="light"] .theme-toggle:hover { color: #ffd064; background: #152b40; border-color: #f5b526; }
.main-nav .theme-toggle { margin-inline-start: .25rem; }
@media (max-width: 760px) { .main-nav .theme-toggle { width: 100%; justify-content: flex-start; margin-inline-start: 0; } }

/* Light mode tuned to the supplied BalkanSplash reference */
html[data-theme="light"] { --primary: #0b5f8d; --secondary: #00a3a3; --accent: #ff7a00; --dark: #102a43; --light: #f4fbff; --text: #173047; }
html[data-theme="light"] body { color: #173047; background: radial-gradient(circle at 10% 8%, #dff3ff 0, #f4fbff 48%, #fff 100%); }
html[data-theme="light"] .site-header { background: linear-gradient(110deg, #102a43 0%, #0b4772 58%, #075a8b 100%); border-bottom: 1px solid rgba(255,255,255,.12); }
html[data-theme="light"] .main-nav a { color: #e8f4ff; }
html[data-theme="light"] .main-nav a:hover, html[data-theme="light"] .main-nav a.active { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.12); }
html[data-theme="light"] .main-nav a::after { background: #ff7a00; }
html[data-theme="light"] .hero-card, html[data-theme="light"] .hero { color: #fff; background: linear-gradient(112deg, #145986 0%, #087f9f 52%, #00a7a4 100%); border-color: rgba(255,255,255,.2); box-shadow: 0 22px 50px rgba(9,83,123,.2); }
html[data-theme="light"] .hero-card { background-image: linear-gradient(112deg, rgba(16,78,122,.98), rgba(0,160,164,.94)), var(--glass-sheen); }
html[data-theme="light"] .hero-side { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
html[data-theme="light"] .hero h1, html[data-theme="light"] .hero h2, html[data-theme="light"] .hero h3 { color: #fff; }
html[data-theme="light"] .hero p { color: #edfaff; }
html[data-theme="light"] .hero .btn-primary, html[data-theme="light"] .hero .btn-dark { color: #fff; background: #ff7a00; border-color: #ff7a00; box-shadow: 0 8px 20px rgba(255,122,0,.22); }
html[data-theme="light"] .hero .btn-primary:hover, html[data-theme="light"] .hero .btn-dark:hover { background: #e96900; border-color: #e96900; }
html[data-theme="light"] .hero .btn-outline, html[data-theme="light"] .hero .btn-soft { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
html[data-theme="light"] .stats-strip .stat-box, html[data-theme="light"] .stat-box { color: #fff; background: linear-gradient(135deg, #105981, #167ba2); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 25px rgba(9,83,123,.13); }
html[data-theme="light"] .stats-strip .stat-box strong, html[data-theme="light"] .stat-box strong, html[data-theme="light"] .stat-box span { color: #fff; }
html[data-theme="light"] .page-banner { color: #173047; background: linear-gradient(120deg, #e2f3fc, #f3faff); border-color: #c8deeb; }
html[data-theme="light"] .page-banner h1, html[data-theme="light"] .section h2, html[data-theme="light"] .section h3, html[data-theme="light"] .focus-title, html[data-theme="light"] .news-title, html[data-theme="light"] .news-detail-title, html[data-theme="light"] .lead-text, html[data-theme="light"] .admin-dashboard-sidebar h2 { color: #102a43; }
html[data-theme="light"] .card, html[data-theme="light"] .news-detail-content, html[data-theme="light"] .admin-dashboard-sidebar, html[data-theme="light"] .admin-kpi, html[data-theme="light"] .news-language-panel, html[data-theme="light"] .error-card, html[data-theme="light"] .form-card, html[data-theme="light"] .partner-logos, html[data-theme="light"] .media-download-card, html[data-theme="light"] .admin-table-wrap, html[data-theme="light"] .styled-list li, html[data-theme="light"] .number-list li { color: #173047; background: #fff; border-color: #d4e4ee; box-shadow: 0 12px 28px rgba(19,55,80,.08); }
html[data-theme="light"] .card h3, html[data-theme="light"] .news-share-label, html[data-theme="light"] .admin-kpi-label, html[data-theme="light"] .admin-form-card label, html[data-theme="light"] .news-language-panel legend, html[data-theme="light"] .news-language-panel label { color: #173047; }
html[data-theme="light"] .news-read-more, html[data-theme="light"] a { color: #0b5f8d; }
html[data-theme="light"] .site-footer a { color: #d8e3ec; }
html[data-theme="light"] .privacy-banner { background: linear-gradient(120deg, #e2f3fc, #f3faff); }
html[data-theme="light"] .theme-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
html[data-theme="light"] .theme-toggle:hover { background: rgba(255,255,255,.2); border-color: #ffb36e; color: #fff; }
html[data-theme="light"] .hero .btn-secondary { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
html[data-theme="light"] .hero .btn-secondary:hover { color: #fff; background: rgba(255,255,255,.23); }
html[data-theme="light"] .hero-pill { color: #f5fbff; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.28); }
html[data-theme="light"] .stats-strip { gap: .75rem; }
.site-header .brand-home-link, .site-header .brand-title { color: #f7fbff; }
.site-header .brand-sub { color: #d3e2ee; opacity: 1; }
html[data-theme="light"] .site-header .brand-home-link, html[data-theme="light"] .site-header .brand-title { color: #f7fbff; }
html[data-theme="light"] .site-header .brand-sub { color: #d3e2ee; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; flex: 0 0 auto; }
.header-tools .lang-switch { margin-inline-start: 0; }
.header-tools .lang-switch select { width: auto; margin-block-start: 0; }
@media (max-width: 740px) {
    .header-tools { grid-area: lang; justify-self: end; gap: .45rem; }
    .header-tools .lang-switch { grid-area: auto; justify-self: auto; }
    .header-tools .lang-switch select { min-inline-size: 108px; font-size: .82rem; }
    .header-tools .theme-toggle { min-height: 36px; padding: .38rem .62rem; font-size: .78rem; }
}
@media (max-width: 390px) {
    .header-tools { gap: .3rem; }
    .header-tools .lang-switch select { min-inline-size: 92px; padding-inline: .4rem; }
    .header-tools .theme-toggle { gap: .35rem; padding-inline: .5rem; }
}
html[data-theme="dark"] .styled-list li, html[data-theme="dark"] .number-list li { color: #e8eef5; background: #101f2e; border: 1px solid #293e53; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
html[data-theme="dark"] .number-list li::before { color: #071321; background: linear-gradient(140deg, #f5b526, #ffd064); }
html[data-theme="dark"] .notice-eu { color: #e8eef5; background: #132638; border-color: #f5b526; }
html[data-theme="dark"] .notice-eu strong { color: #ffd064; }
html[data-theme="dark"] .flash.success { color: #d8f3df; background: #10291d; border-color: #286346; }
html[data-theme="dark"] .flash.error { color: #ffdddd; background: #32191b; border-color: #754044; }
/* Default theme is dark; keep success notices dark even before theme JS runs. */
.flash.success { color: #d8f3df; background: #10291d; border-color: #286346; }
.flash.error { color: #ffdddd; background: #32191b; border-color: #754044; }
html[data-theme="dark"] .admin-dashboard-sidebar h2 { color: #edf2f7; }
html[data-theme="dark"] .admin-kpi-label { color: #b9c9d8; }
html[data-theme="dark"] .admin-kpi-value { color: #f3f7fb; }
html[data-theme="dark"] .admin-dashboard-main .admin-table { color: #e8eef5; background: #101f2e; }
html[data-theme="dark"] .admin-dashboard-main .admin-table td { color: #e8eef5; border-color: #30475c; }
