/* ═══════════════════════════════════════════════════════════════════════════
   PEEB — design.css  |  Full Design System
   Fonts: Fraunces (headings) + Plus Jakarta Sans (body)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Tokens ──────────────────────────────────────────────────────────────── */
:root {
    /* Brand */
    --navy:        #0D2137;
    --navy-mid:    #163152;
    --teal:        #1B7FA0;
    --teal-light:  #E8F5FA;
    --teal-mid:    #C6E6F2;
    --amber:       #E8912B;
    --amber-light: #FEF3E2;

    /* Neutral */
    --warm-white:  #FAFAF8;
    --white:       #FFFFFF;
    --ink:         #0D2137;
    --ink-70:      #4A617A;
    --ink-40:      #8FA3B8;
    --border:      #E0EAF0;
    --surface:     #F4F8FB;

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

    /* Spacing */
    --radius-sm:   6px;
    --radius:      10px;
    --radius-lg:   18px;
    --radius-xl:   28px;

    /* Shadows */
    --shadow-xs:   0 1px 3px rgba(13,33,55,.07);
    --shadow-sm:   0 2px 8px rgba(13,33,55,.09);
    --shadow-md:   0 6px 20px rgba(13,33,55,.10);
    --shadow-lg:   0 16px 48px rgba(13,33,55,.13);
    --shadow-glow: 0 0 0 3px rgba(27,127,160,.18);

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--warm-white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

/* ─── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--ink-70); line-height: 1.75; }

/* ─── Utility ─────────────────────────────────────────────────────────────── */
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.text-center { text-align: center; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn, .btn-ghost, .btn-pill, .btn-admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .875rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all .2s var(--ease);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}
.btn {
    padding: 13px 30px;
    font-size: .95rem;
    background: var(--teal);
    color: var(--white);
    border-radius: 50px;
}
.btn:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #d47d20; color: var(--navy); }
.btn-outline {
    padding: 11px 28px;
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all .2s var(--ease);
    text-decoration: none;
}
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-1px); }
.btn-pill {
    padding: 8px 20px;
    background: var(--amber);
    color: var(--navy);
}
.btn-pill:hover { background: #d47d20; color: var(--navy); transform: translateY(-1px); }
.btn-ghost {
    padding: 8px 16px;
    background: transparent;
    color:  var(--navy);
    font-size: .875rem;
}
.btn-ghost:hover { color: var(--navy); background: var(--surface); border-radius: 50px; }
.btn-admin-pill {
    padding: 6px 16px;
    background: var(--navy);
    color: var(--white);
    font-size: .78rem;
    border-radius: 50px;
}
.btn-admin-pill:hover { background: var(--teal); color: var(--white); }
.btn-white {
    padding: 13px 32px;
    background: var(--white);
    color: var(--navy);
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
    text-decoration: none;
}
.btn-white:hover { background: var(--amber); color: var(--navy); transform: translateY(-1px); }
.btn-white-outline {
    padding: 11px 28px;
    background: transparent;
    color: rgba(255,255,255,.9);
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all .2s;
    text-decoration: none;
}
.btn-white-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); color: var(--white); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Forms (shared) ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: .82rem;
    color: var(--navy);
    margin-bottom: .45rem;
    letter-spacing: .01em;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--ink);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: var(--shadow-glow);
}
.form-group input.is-invalid,
.form-group textarea.is-invalid { border-color: #e74c3c; }
.form-group textarea { resize: vertical; min-height: 120px; }
.field-error { color: #e74c3c; font-size: .78rem; margin-top: .3rem; display: block; }
.required { color: var(--amber); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-check { display: flex; align-items: center; gap: .6rem; }
.form-check input { width: auto; }
.form-check label { margin: 0; font-weight: 400; font-size: .9rem; }

/* ─── Flash Messages ─────────────────────────────────────────────────────── */
.flash {
    position: fixed;
    top: 80px;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: .875rem;
    font-weight: 500;
    max-width: 400px;
    animation: slideIn .3s var(--ease);
}
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }
.flash svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; flex-shrink: 0; }
.flash button { background: none; border: none; font-size: 1.2rem; cursor: pointer; margin-left: auto; opacity: .6; }
.flash button:hover { opacity: 1; }
.flash-success { background: #1a7a4a; color: #fff; }
.flash-error   { background: #c0392b; color: #fff; }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-red   { background: #fee2e2; color: #991b1b; }
.badge-blue  { background: #dbeafe; color: #1e40af; }
.badge-gray  { background: var(--surface); color: var(--ink-70); }

/* ═══════════════════════════════════════════════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
        background: rgba(255, 255, 255, 0.95);

    transition: background .3s var(--ease), box-shadow .3s;
    padding: 0;
}
.site-header.scrolled {
      background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 1rem;
}
.header-logo img {
    height: 44px;
    width: auto;

    transition: opacity .2s;
}
.header-logo:hover img { opacity: .85; }
.header-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: 2rem;
    flex: 1;
}
.nav-link {
    font-size: .825rem;
    font-weight: 500;
   color: var(--navy);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all .2s;
    white-space: nowrap;
}
.nav-link:hover { color: var(--teal); background: var(--teal-light); }
.nav-link.active { color: var(--teal-light); background: var(--teal);  }
.header-auth {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}
.auth-name { font-size: .825rem; color: rgba(255,255,255,.7); }

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    margin-left: auto;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,.8);
    border-radius: 2px;
    transition: .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
    .nav-burger { display: flex; }
    .header-auth { display: none; }
    
    .header-nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;          
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: .25rem;
        overflow-y: auto;   
        z-index: 99;
                height: fit-content;

    }
    
    .header-nav.open { display: flex; }
    .nav-link { font-size: 1rem; padding: .75rem 1rem; width: 100%; }
        .site-header { z-index: 100; }

}

/* ═══════════════════════════════════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.65) ;
    font-size: .875rem;

}
.site-footer p {
       color: rgba(255, 255, 255, .6);

}
.footer-top {
    max-width: 1180px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 4rem;
}

.social-wrapper {
    margin-top:15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-wrapper a {
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-wrapper a:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer-brand img:first-child { height: 48px; margin-bottom: 1.25rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 300px; }
.footer-eu { height: 56px; margin-top: 1.5rem; border-radius: 6px; }
.footer-nav-col h5,
.footer-disclaimer-col h5 {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 1.25rem;
}
.footer-nav-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav-col a {
    color: rgba(255,255,255,.6);
    font-size: .875rem;
    transition: color .2s;
}
.footer-nav-col a:hover { color: var(--white); }
.footer-disclaimer-col p { font-size: .82rem; line-height: 1.75; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE HERO (shared for interior pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding-top: 72px;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}
.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(13,33,55,.88) 0%,
        rgba(27,127,160,.65) 100%
    );
}
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem 3.5rem;
}
.page-hero-content .eyebrow { color: var(--amber); }
.page-hero-content h1 {
    color: var(--white);
    max-width: 640px;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.page-hero-content .hero-sub {
    margin-top: .75rem;
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    max-width: 540px;
}
.home-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;  /* parallax effect */
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 33, 55, 0.88) 0%,
        rgba(13, 33, 55, 0.70) 50%,
        rgba(27, 127, 160, 0.55) 100%
    );
}

.home-hero {
    position: relative;
}

.home-hero-inner {
    position: relative;
    z-index: 2;
}



/* ═══════════════════════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.home-hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}
.home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 60%, rgba(27,127,160,.25) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(232,145,43,.12) 0%, transparent 60%);
}
/* Decorative grid lines */
.home-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.home-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
    width: 100%;
}
@media (max-width: 860px) { .home-hero-inner { grid-template-columns: 1fr; gap: 3rem; } }
.home-hero-text .eyebrow { color: var(--amber); margin-bottom: .75rem; }
.home-hero-text h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
}
.home-hero-text h1 em { font-style: italic; color: var(--amber); }
.home-hero-text .hero-desc {
    color: rgba(255,255,255,.65);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.home-hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.hero-stat-card {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.hero-stat-card .stat-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: .25rem;
}
.hero-stat-card .stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.99);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-eu-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-eu-card img { height: 44px; border-radius: 4px; }
.hero-eu-card p {
    font-size: .78rem;
    color: rgba(255,255,255,.9);
    margin: 0;
    line-height: 1.5;
}

/* About Preview */
.home-about {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}
.home-about::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } }
.about-eyebrow-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.about-eyebrow-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1rem; }
.about-text p:last-of-type { margin-bottom: 2rem; }
.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px;
    gap: 12px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-img { width: 100%; height: 100%; object-fit: cover; }
.about-img-tall { grid-row: 1 / 3; }
.about-img-wide { }

/* Partners Strip */
.home-partners {
    padding: 5rem 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.partners-strip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.partners-strip-header h2 { font-size: 1.4rem; }


.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: gap .2s, color .2s;
}
.partner-link:hover { color: var(--navy); gap: 8px; }
.partner-link svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
 

/* Coordinator badge */
.partner-card-coordinator {
    border: 2px solid var(--teal);
    position: relative;
}
.partner-coordinator-badge {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: .4rem;
}

/* Logo text fallback (Novation City) */
.partner-logo-text {
    background: var(--navy) !important;
}
.partner-logo-text span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

/* Logos row text fallback */
.logos-row-text {
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-70);
    opacity: .65;
    transition: opacity .2s;
}
.logos-row a:hover .logos-row-text { opacity: 1; }
.logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem 4rem;
}
.logos-row img {
    max-height: 52px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    
    transition: all .25s;
}
.logos-row img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.06); }

/* Newsletter */
.home-newsletter {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    position: relative;
    overflow: hidden;
}
.home-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27,127,160,.2) 0%, transparent 70%);
}
.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}
@media (max-width: 760px) { .newsletter-grid { grid-template-columns: 1fr; gap: 2rem; } }
.newsletter-text h2 { color: var(--white); margin-bottom: .75rem; }
.newsletter-text p  { color: rgba(255,255,255,.6); font-size: 1rem; }
.newsletter-form-wrap { }
.nl-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.nl-input {
    padding: 14px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
.nl-input::placeholder { color: rgba(255,255,255,.35); }
.nl-input:focus { outline: none; border-color: rgba(255,255,255,.4); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.nl-submit {
    padding: 14px 28px;
    background: var(--amber);
    color: var(--navy);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
    align-self: flex-start;
}
.nl-submit:hover { background: #d47d20; transform: translateY(-1px); }
.nl-success { color: var(--amber); font-weight: 600; font-size: 1rem; padding: .75rem 0; }

/* Disclaimer */
.home-disclaimer {
    padding: 5rem 0;
    background: #081929;
}
.disclaimer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 700px) { .disclaimer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.disclaimer-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin-bottom: .75rem;
}
.disclaimer-text p {
    font-size: .875rem;
    color: rgba(255,255,255,.45);
    line-height: 1.75;
    margin-bottom: .5rem;
}
.disclaimer-eu { height: 70px; border-radius: 8px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.about-pillars-section { padding: 7rem 0; background: var(--white); }
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}
@media (max-width: 700px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.pillar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--teal);
}
.pillar-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 2; }
.pillar-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.pillar-card p  { font-size: .9rem; line-height: 1.75; margin: 0; }

.about-impact-section {
    padding: 7rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.about-impact-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27,127,160,.15) 0%, transparent 70%);
}
.impact-header { margin-bottom: 4rem; }
.impact-header .eyebrow { color: var(--amber); }
.impact-header h2 { color: var(--white); }
.impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}
@media (max-width: 860px) { .impact-cards { grid-template-columns: 1fr; } }
.impact-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: background .25s;
}
.impact-card:hover { background: rgba(255,255,255,.08); }
.impact-num {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(255,255,255,.06);
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}
.impact-card h4 { color: var(--white); font-size: 1rem; margin-bottom: .6rem; }
.impact-card p  { color: rgba(255,255,255,.55); font-size: .875rem; line-height: 1.7; margin: 0; }
.impact-cta { text-align: center; margin-top: 3.5rem; }
.impact-cta p { color: rgba(255,255,255,.55); max-width: 600px; margin: 0 auto 2rem; }

.about-photos-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
   
}
.about-photos-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
@media (max-width: 600px) { .about-photos-strip { grid-template-columns: 1fr; height: auto; } }

/* ═══════════════════════════════════════════════════════════════════════════
   PARTNERS PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.partners-section { padding: 7rem 0; background: var(--white); }
.partners-intro { max-width: 640px; margin: 0 auto 5rem; text-align: center; }
.partners-intro p { font-size: 1rem; }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.partner-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.partner-logo-area {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.partner-logo-area img { max-height: 80px; max-width: 180px; object-fit: contain; }
.partner-body { padding: 1.5rem; }
.partner-country {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .4rem;
    display: block;
}
.partner-body h3 { font-size: .975rem; margin-bottom: .6rem; }
.partner-body p  { font-size: .85rem; color: var(--ink-70); line-height: 1.65; margin: 0; }

.partners-logos-section {
    padding: 5rem 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWS PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.news-section { padding: 7rem 0; background: var(--white); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-top: 4rem;
}
.news-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-img { height: 210px; overflow: hidden; background: var(--teal-light); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-img-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .75rem;
    background: linear-gradient(135deg, var(--teal-light) 0%, #d0edf7 100%);
}
.news-img-placeholder svg { width: 40px; height: 40px; fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: .5; }
.news-img-placeholder span { font-size: .75rem; color: var(--teal); font-weight: 500; }
.news-body { padding: 1.5rem; }
.news-tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--teal-light);
    color: var(--teal);
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: .75rem;
}
.news-body h3 { font-size: 1.05rem; margin-bottom: .5rem; line-height: 1.35; }
.news-body p  { font-size: .875rem; line-height: 1.65; color: var(--ink-70); }
.news-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; font-size: .78rem; color: var(--ink-40); }

.news-cta {
    margin-top: 6rem;
    background: linear-gradient(135deg, var(--teal-light), #d0edf7);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    border: 1px solid var(--teal-mid);
}
.news-cta h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.news-cta p  { margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   WORK PACKAGES PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.wps-nav {
    position: sticky;
    top: 72px;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
    box-shadow: var(--shadow-xs);
}
.wps-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: .25rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.wps-nav-inner::-webkit-scrollbar { display: none; }
.wp-nav-link {
    padding: 1rem 1.25rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-70);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    text-decoration: none;
}
.wp-nav-link:hover { color: var(--teal); border-color: var(--teal); }

.wps-section { padding: 7rem 0; background: var(--white); }
.wps-intro-block { text-align: center; max-width: 640px; margin: 0 auto 5rem; }
.wp-list { display: flex; flex-direction: column; gap: 2rem; }

.wp-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--white);
    overflow: hidden;
    transition: box-shadow .25s;
}
.wp-card:hover { box-shadow: var(--shadow-md); }

.wp-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}
.wp-num-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-40);
}
.wp-divider {
    width: 1px;
    height: 56px;
    background: var(--border);
    margin: 0 .5rem;
}
.wp-card-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    user-select: none;
}

.wp-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    flex-shrink: 0;
    min-width: 48px;
}

.wp-divider {
    width: 1px;
    height: 52px;
    background: var(--border);
    flex-shrink: 0;
}

.wp-card-title {
    flex: 1;
    min-width: 0;
}

.wp-toggle {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--ink-40);
}

.wp-card-title { }
.wp-card-title h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.wp-lead { display: flex; align-items: center; gap: .6rem; }
.wp-lead img { height: 28px; max-width: 80px; object-fit: contain; }
.wp-lead span { font-size: .78rem; color: var(--ink-40); }
.wp-toggle { margin-left: auto; color: var(--ink-40); flex-shrink: 0; }
.wp-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.wp-card.open .wp-toggle svg { transform: rotate(180deg); }
.wp-card-body {
    padding: 2rem 2.5rem;
    display: none;
}
.wp-card.open .wp-card-body { display: block; }
.wp-card-body p { font-size: .95rem; line-height: 1.85; color: var(--ink-70); max-width: 760px; }

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}
.auth-page::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27,127,160,.2) 0%, transparent 70%);
    pointer-events: none;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}
.auth-logo { height: 52px; margin: 0 auto 2rem; }
.auth-card h1 { font-size: 1.75rem; text-align: center; margin-bottom: .4rem; }
.auth-sub   { text-align: center; color: var(--ink-70); font-size: .9rem; margin-bottom: 2rem; }
.auth-divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.auth-footer-text { text-align: center; font-size: .875rem; color: var(--ink-70); margin-top: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.contact-body { padding: 7rem 0; background: var(--white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-cards { display: flex; flex-direction: column; gap: .85rem; }
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--teal-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2; }
.contact-info-card h5 { font-size: .8rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .15rem; color: var(--ink-40); text-transform: uppercase; letter-spacing: .06em; }
.contact-info-card p  { font-size: .9rem; color: var(--ink); margin: 0; }
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { margin-bottom: 2rem; font-size: 1.3rem; }
.contact-success {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 14px 18px;
    background: #dcfce7;
    color: #166534;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
    border: 1px solid #bbf7d0;
}
/* ═══════════════════════════════════════════════════════════════════════════
   FORUM (PUBLIC)
   ═══════════════════════════════════════════════════════════════════════════ */
.forum-section { padding: 2rem 0; background: var(--white); }
.forum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-top: 4rem;
}
.forum-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}
.forum-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.forum-card-cover { height: 190px; overflow: hidden; background: var(--teal-light); }
.forum-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.forum-card:hover .forum-card-cover img { transform: scale(1.04); }
.forum-cover-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-light), #d0edf7);
}
.forum-cover-placeholder svg { width: 40px; height: 40px; fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: .4; }
.forum-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.forum-card-body h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--navy); line-height: 1.35; }
.forum-card-body p  { font-size: .875rem; color: var(--ink-70); line-height: 1.65; flex: 1; }
.forum-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .78rem; color: var(--ink-40); }
.forum-card-foot .replies { display: flex; align-items: center; gap: 5px; }
.forum-card-foot svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.forum-empty { text-align: center; padding: 5rem 2rem; color: var(--ink-40); }
.forum-empty svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; margin: 0 auto 1rem; }
.forum-empty h3 { font-size: 1.1rem; color: var(--ink-70); margin-bottom: .4rem; }

/* Forum Show */
.forum-post-page { padding-top: 72px; }

.forum-post-hero-placeholder {
    height: 100%;
 background: linear-gradient(
    to bottom,
    rgba(13, 33, 55, 0.60) 0%,
    rgba(13, 33, 55, 0.10) 60%,
    transparent 100%
);
}

.forum-post-hero {
    margin-top: 72px;             
    height: 380px;
    overflow: hidden;
    position: relative;
    background: var(--navy);      
}
 
.forum-post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 

.forum-post-hero-blank {
    margin-top: 72px;
    height: 220px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}
 
.forum-post-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(
        to bottom,
        rgba(13, 33, 55, 0.55) 0%,
        transparent 100%
    );
    pointer-events: none;
}
.forum-post-content { max-width: 820px; margin: 0 auto; padding: 3rem 2rem; }
.forum-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 2rem;
}
.forum-back-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.forum-post-content h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.forum-post-date { font-size: .8rem; color: var(--ink-40); margin-bottom: 2rem; display: block; }
.forum-post-body { font-size: 1rem; line-height: 1.85; color: var(--ink-70); }
.forum-attachments-box {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.forum-attachments-box h4 { font-size: 1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.forum-attachments-box h4 svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2; }
.attach-file {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 8px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: .85rem;
    color: var(--teal);
    transition: border-color .2s;
    margin: .25rem .25rem 0 0;
}
.attach-file:hover { border-color: var(--teal); color: var(--navy); }
.attach-file svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Replies */
.replies-section { background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 0; }
.replies-inner { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.replies-heading { font-size: 1.3rem; margin-bottom: 2rem; display: flex; align-items: center; gap: .5rem; }
.replies-heading svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 2; }
.reply-item { display: flex; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.reply-item:last-of-type { border-bottom: none; }
.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}
.reply-content { flex: 1; }
.reply-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.reply-name { font-weight: 700; font-size: .9rem; }
.reply-date { font-size: .78rem; color: var(--ink-40); }
.reply-text { font-size: .9rem; color: var(--ink-70); line-height: 1.7; margin: 0; }
.no-replies { font-size: .9rem; color: var(--ink-40); font-style: italic; padding: 1.5rem 0; }
.reply-form-section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.reply-form-section h4 { font-size: 1.1rem; margin-bottom: 1.5rem; }
.login-prompt {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--teal-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .9rem;
    color: var(--ink-70);
    border: 1px solid var(--teal-mid);
}
.login-prompt svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 2; flex-shrink: 0; }

/* Pagination */
.pagination-wrap { margin-top: 3rem; display: flex; justify-content: center; }


/* ─── Forum index header ─────────────────────────────────────── */
.forum-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.forum-section-header h2 { margin-bottom: .25rem; }
.forum-section-header p  { color: var(--ink-70); max-width: 480px; }
.forum-logged-as {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-70);
    background: var(--surface);
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
}
.forum-logged-as svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 2;
}

/* ─── Guest CTA ─────────────────────────────────────────────── */
.forum-guest-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--teal-light);
    border: 1px solid var(--teal-mid);
    border-radius: var(--radius-lg);
    font-size: .9rem;
    color: var(--ink-70);
}
.forum-guest-cta svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 1.8;
    flex-shrink: 0;
}
.forum-guest-cta strong { display: block; color: var(--navy); margin-bottom: .2rem; }
.forum-guest-cta p { margin: 0; }



/* ─── Reply success ─────────────────────────────────────────── */
.reply-success {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 12px 16px;
    background: #dcfce7;
    color: #166534;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.reply-success svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    flex-shrink: 0;
}


/* ─── News Empty ─────────────────────────────────────────────── */
.news-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--ink-40);
    margin-top: 3rem;
}
.news-empty svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; margin: 0 auto 1rem; display: block; }
.news-empty h3  { font-size: 1.2rem; color: var(--ink-70); margin-bottom: .4rem; }
.news-empty p   { font-size: .9rem; }

/* ─── News card link ─────────────────────────────────────────── */
a.news-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.news-card:hover { text-decoration: none; }

/* ─── News single ────────────────────────────────────────────── */
.news-single-tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--teal-light);
    color: var(--teal);
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}

/* ─── Gallery section ────────────────────────────────────────── */
.news-gallery-section {
    padding: 4rem 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.news-gallery-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--navy);
}
.news-gallery-title svg {
    width: 20px; height: 20px;
    fill: none; stroke: var(--teal); stroke-width: 2;
}

/* Gallery grid (masonry-like) */
.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .75rem;
}
.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--border);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s var(--ease);
    display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,33,55,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg {
    width: 28px; height: 28px;
    fill: none; stroke: #fff; stroke-width: 2;
}

/* ─── Lightbox ───────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img  {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    font-size: 1.75rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }

/* ─── Admin gallery grid ─────────────────────────────────────── */
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
}
.admin-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--border);
}
.admin-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.admin-gallery-delete {
    position: absolute;
    top: 5px; right: 5px;
    width: 24px; height: 24px;
    background: rgba(239,68,68,.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .2s;
}
.admin-gallery-delete:hover { background: #dc2626; }

/* ─── Gallery preview (before upload) ───────────────────────── */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: .5rem;
    margin-top: .75rem;
}
.gallery-preview-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--border);
}
.gallery-preview-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

