/* ===== BUILD: 2026-07-17 14:06 (+04) — v1 ===== */
/* ==========================================================================
   Emirates Scholar Center for Research & Studies
   Global stylesheet
   ========================================================================== */

/* ---- Embedded Cairo font (Google Fonts, self-hosted) ---- */
@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cairo-400.ttf') format('truetype');
}
@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cairo-500.ttf') format('truetype');
}
@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/cairo-700.ttf') format('truetype');
}
@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/cairo-800.ttf') format('truetype');
}

/* ---- Theme tokens (UAE flag palette) ---- */
:root {
    --green:        #007a3d;   /* primary  */
    --green-dark:   #045c31;
    --green-light:  #e7f2ec;
    --red:          #c8102e;   /* secondary */
    --red-dark:     #9d0c24;
    --black:        #171717;   /* text / accent */
    --gray:         #5b6670;
    --gray-light:   #f5f7f6;
    --border:       #e6e9e8;
    --white:        #ffffff;

    --shadow-sm: 0 2px 10px rgba(23, 23, 23, .06);
    --shadow-md: 0 10px 30px rgba(23, 23, 23, .09);
    --shadow-lg: 0 20px 50px rgba(23, 23, 23, .12);

    --radius: 4px;
    --radius-sm: 8px;

    --bs-primary: var(--green);

    --transition: .28s cubic-bezier(.4, 0, .2, 1);
}

/* ---- Base ---- */
* { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.25;
    color: var(--black);
}

a { text-decoration: none; transition: color var(--transition); }

p { color: var(--gray); }

.text-green { color: var(--green) !important; }
.text-red   { color: var(--red)   !important; }
.bg-soft    { background: var(--gray-light); }

/* ---- Buttons ---- */
.btn {
    font-weight: 700;
    border-radius: 50px;
    padding: .7rem 1.7rem;
    transition: all var(--transition);
    border: none;
}
.btn-primary {
    background: var(--green);
    color: #fff;
}
.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 122, 61, .3);
    color: #fff;
}
.btn-danger {
    background: var(--red);
    color: #fff;
}
.btn-danger:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(200, 16, 46, .3);
}
.btn-outline-light-green {
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
    background: transparent;
}
.btn-outline-light-green:hover {
    background: #fff;
    color: var(--green);
}
.btn-outline-green {
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
}
.btn-outline-green:hover {
    background: var(--green);
    color: #fff;
}

/* ---- Top bar ---- */
.top-bar {
    background: var(--black);
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
    padding: .5rem 0;
}
.top-bar a { color: rgba(255, 255, 255, .82); }
.top-bar a:hover { color: #fff; }
.top-bar-contact a, .top-bar-contact span { margin-right: 1.6rem; }
.top-bar-contact i { color: var(--green); margin-right: .35rem; }
.top-bar-social a {
    display: inline-flex; width: 30px; height: 30px;
    align-items: center; justify-content: center;
    border-radius: 50%; margin-left: .3rem;
    transition: all var(--transition);
}
.top-bar-social a:hover { background: var(--green); transform: translateY(-2px); }

/* ---- Navbar ---- */
.main-nav {
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: .6rem 0;
    z-index: 1030;
}
.navbar-brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }
.brand-fallback, .footer-brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.brand-text {
    display: flex; flex-direction: column; line-height: 1.1;
    font-weight: 800; color: var(--black); font-size: 1.12rem;
}
.brand-text small { font-weight: 500; font-size: .72rem; color: var(--green); }

.main-nav .nav-link {
    font-weight: 700;
    color: var(--black);
    padding: .55rem 1rem !important;
    position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--green); }
.main-nav .nav-link.active::after {
    content: ''; position: absolute; bottom: .3rem; left: 1rem; right: 1rem;
    height: 3px; border-radius: 3px; background: var(--red);
}
.btn-nav-cta { padding: .55rem 1.4rem; }
.navbar-toggler { border: none; font-size: 1.4rem; color: var(--green); }
.navbar-toggler:focus { box-shadow: none; }
.dropdown-menu {
    border: none; box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm); padding: .5rem;
    border-top: 3px solid var(--green);
}
.dropdown-item { border-radius: 6px; font-weight: 500; padding: .55rem .9rem; }
.dropdown-item:hover { background: var(--green-light); color: var(--green); }

/* ---- Hero ---- */
.hero {
    position: relative;
    background: linear-gradient(120deg, rgba(4, 92, 49, .92), rgba(0, 122, 61, .78)),
                url('../images/hero-bg.jpg') center/cover no-repeat, var(--green-dark);
    color: #fff;
    padding: 6.5rem 0 7rem;
    overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; right: -120px; bottom: -120px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, .35), transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-block; background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: .4rem 1.1rem; border-radius: 50px;
    font-weight: 700; font-size: .82rem; letter-spacing: .5px;
    margin-bottom: 1.3rem;
}
.hero-eyebrow i { color: #ffd7dd; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 1.2rem; }
.hero h1 .accent { color: #ffdce2; }
.hero p.lead { color: rgba(255, 255, 255, .9); font-size: 1.15rem; max-width: 620px; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Section helpers ---- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 4rem 0; }
.section-head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.section-eyebrow {
    display: inline-block; color: var(--green); font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem;
    margin-bottom: .7rem; position: relative;
}
.section-eyebrow::before { content: '\2014'; color: var(--red); margin-right: .4rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-head p { font-size: 1.06rem; margin-top: .8rem; }
.text-start.section-head { margin-left: 0; }

/* ---- Stat strip ---- */
.stat-strip {
    background: var(--black); color: #fff;
    border-radius: var(--radius); padding: 2.4rem 1rem;
    box-shadow: var(--shadow-lg);
    position: relative; z-index: 5;
}
.stat-item { text-align: center; padding: .6rem 0; }
.stat-item .num {
    font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1;
    display: block;
}
.stat-item .num span { color: var(--red); }
.stat-item .label { color: rgba(255, 255, 255, .7); font-weight: 500; margin-top: .4rem; }
.stat-item i { color: var(--green); font-size: 1.6rem; margin-bottom: .6rem; }

/* ---- Cards ---- */
.feature-card, .service-card, .pub-card, .event-card, .news-card, .team-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    height: 100%;
}
.feature-card:hover, .service-card:hover, .news-card:hover,
.event-card:hover, .team-card:hover, .pub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card { padding: 2.2rem 1.8rem; }
.service-icon {
    width: 62px; height: 62px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 1.3rem;
    background: var(--green-light); color: var(--green);
    transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--green); color: #fff; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .7rem; }
.service-card .card-link {
    color: var(--green); font-weight: 700; margin-top: .8rem;
    display: inline-flex; align-items: center; gap: .4rem;
}
.service-card .card-link i { transition: transform var(--transition); }
.service-card:hover .card-link i { transform: translateX(4px); }

/* Feature (why us) list */
.feature-card { padding: 1.8rem; display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-card .fc-icon {
    width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem; background: var(--green-light); color: var(--green);
}
.feature-card h4 { font-size: 1.12rem; margin-bottom: .4rem; }
.feature-card p { margin: 0; font-size: .96rem; }

/* ---- Image placeholder ---- */
.img-placeholder {
    background: repeating-linear-gradient(45deg, var(--gray-light), var(--gray-light) 12px, #eef1f0 12px, #eef1f0 24px);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray); border-radius: var(--radius);
    min-height: 260px; text-align: center; border: 1px dashed #cfd6d2;
}
.img-placeholder i { font-size: 2.2rem; margin-bottom: .5rem; display: block; opacity: .6; }
.img-placeholder span { font-size: .85rem; font-weight: 500; }

/* ---- About split ---- */
.about-badge {
    position: absolute; bottom: -26px; right: -20px;
    background: var(--red); color: #fff; padding: 1.2rem 1.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow-md);
    text-align: center;
}
.about-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; display: block; }
.about-badge .label { font-size: .82rem; font-weight: 500; opacity: .9; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; font-weight: 500; color: var(--black); }
.check-list li i { color: var(--green); margin-top: .35rem; }

/* ---- Publications ---- */
.pub-card { overflow: hidden; }
.pub-card .pub-thumb { min-height: 200px; border-radius: 0; }
.pub-card .pub-body { padding: 1.5rem; }
.pub-tag {
    display: inline-block; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    color: var(--red); background: #fdeaed; padding: .25rem .7rem;
    border-radius: 50px; margin-bottom: .8rem;
}
.pub-card h4 { font-size: 1.14rem; margin-bottom: .5rem; }
.pub-meta { font-size: .85rem; color: var(--gray); display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .8rem; }
.pub-meta i { color: var(--green); margin-right: .3rem; }

/* ---- Events ---- */
.event-card { display: flex; overflow: hidden; }
.event-date {
    background: linear-gradient(160deg, var(--green), var(--green-dark));
    color: #fff; padding: 1.5rem 1.2rem; text-align: center;
    display: flex; flex-direction: column; justify-content: center;
    min-width: 96px; flex-shrink: 0;
}
.event-date .day { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.event-date .mon { text-transform: uppercase; font-size: .8rem; letter-spacing: 1px; }
.event-body { padding: 1.4rem 1.5rem; }
.event-body h4 { font-size: 1.14rem; margin-bottom: .5rem; }
.event-body .meta { font-size: .86rem; color: var(--gray); }
.event-body .meta i { color: var(--red); margin-right: .3rem; }

/* ---- News ---- */
.news-card { overflow: hidden; }
.news-thumb { min-height: 210px; border-radius: 0; }
.news-body { padding: 1.5rem; }
.news-body .date { font-size: .82rem; color: var(--green); font-weight: 700; }
.news-body h4 { font-size: 1.16rem; margin: .5rem 0; }
.news-body a.read { color: var(--red); font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }

/* ---- Team ---- */
.team-card { overflow: hidden; text-align: center; }
.team-photo { min-height: 260px; border-radius: 0; }
.team-body { padding: 1.4rem; }
.team-body h4 { font-size: 1.16rem; margin-bottom: .2rem; }
.team-body .role { color: var(--green); font-weight: 700; font-size: .9rem; }
.team-social { margin-top: .9rem; display: flex; justify-content: center; gap: .5rem; }
.team-social a {
    width: 36px; height: 36px; border-radius: 50%; background: var(--gray-light);
    color: var(--black); display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.team-social a:hover { background: var(--green); color: #fff; }

/* ---- Page banner ---- */
.page-banner {
    background: linear-gradient(120deg, rgba(4, 92, 49, .93), rgba(0, 122, 61, .8)),
                url('../images/hero-bg.jpg') center/cover no-repeat, var(--green-dark);
    color: #fff; padding: 4.5rem 0 4rem; text-align: center; position: relative;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-banner .breadcrumb {
    justify-content: center; margin: 1rem 0 0; background: transparent;
}
.page-banner .breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-banner .breadcrumb .active { color: #ffdce2; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

/* ---- CTA band ---- */
.cta-band {
    background: linear-gradient(120deg, var(--black), #2a2a2a);
    color: #fff; border-radius: var(--radius); padding: 3rem;
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%;
    background: linear-gradient(var(--green), var(--red));
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; }

/* ---- Contact ---- */
.contact-info-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; height: 100%;
    transition: all var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-info-card .ci-icon {
    width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--green-light); color: var(--green); font-size: 1.25rem;
}
.contact-info-card h5 { margin-bottom: .3rem; font-size: 1.05rem; }
.contact-info-card p { margin: 0; font-size: .95rem; }
.form-control, .form-select {
    border-radius: var(--radius-sm); border: 1px solid var(--border);
    padding: .8rem 1rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0, 122, 61, .12);
}

/* ---- Footer ---- */
.site-footer { background: #0f0f0f; color: rgba(255, 255, 255, .72); padding-top: 210px; margin-top: -160px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: #7fd0a3; }
.footer-logo { display: inline-block; margin-bottom: .3rem; }
.footer-logo img { height: 58px; width: auto; max-width: 100%; }
.footer-about { color: rgba(255, 255, 255, .62); margin-top: 1.1rem; font-size: .95rem; }
.footer-heading { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .6rem; }
.footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--red); border-radius: 3px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255, 255, 255, .68); }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.footer-contact i { color: var(--green); margin-top: .35rem; }
.footer-contact a { color: rgba(255, 255, 255, .68); }
.footer-contact a:hover { color: #fff; }
.footer-social { margin-top: 1.2rem; display: flex; gap: .5rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-newsletter .form-control { border-radius: 50px 0 0 50px; }
.footer-newsletter .btn { border-radius: 0 50px 50px 0; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem;
    padding: 1.3rem 0; font-size: .88rem; color: rgba(255, 255, 255, .55);
}
.footer-flag i { color: var(--green); }

/* ---- Back to top ---- */
.back-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 1040;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--green); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
    transform: translateY(12px); transition: all var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); color: #fff; }

/* ---- Reveal animation (toggles on scroll up & down) ---- */
.reveal { transform: translateY(34px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-title { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: .08s; }
.reveal-title.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-title { transition: none; opacity: 1; transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .main-nav .nav-link.active::after { display: none; }
    .navbar-nav { padding-top: 1rem; }
    .btn-nav-cta { display: inline-block; margin-top: .6rem; }
    .about-badge { position: static; margin: 1.5rem auto 0; display: inline-block; }
}
@media (max-width: 575.98px) {
    .event-card { flex-direction: column; }
    .event-date { flex-direction: row; gap: .5rem; min-width: auto; justify-content: center; }
    .cta-band { padding: 2rem 1.5rem; }
}

/* ==========================================================================
   HEADER v2 — top utility bar + centered logo + full-screen mega menu
   ========================================================================== */

/* ---- Top utility bar ---- */
.top-utility {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 500;
}
.tu-inner { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.tu-list { list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; flex-wrap: wrap; }
.tu-list li { position: relative; padding-right: 1.4rem; }
.tu-list li::after {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    height: 14px; width: 1px; background: var(--border);
}
.tu-list li:last-child::after { display: none; }
.tu-list a { color: var(--black); transition: color var(--transition); }
.tu-list a:hover { color: var(--green); }
.tu-list a.accent { color: var(--red); font-weight: 700; }
.tu-list a.accent:hover { color: var(--red-dark); }
.tu-lang { display: inline-flex; align-items: center; gap: .35rem; }
.tu-lang i { color: var(--green); }

/* ---- Main header ---- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1030;
    transition: box-shadow var(--transition), background var(--transition);
}
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 92px;
    gap: 1rem;
}
.header-side { display: flex; align-items: center; }
.header-right { justify-content: flex-end; gap: .35rem; }

.header-logo { display: inline-flex; align-items: center; justify-content: center; }
.header-logo img { height: 58px; width: auto; max-width: 100%; transition: filter var(--transition); }

/* Hamburger */
.menu-toggle {
    display: inline-flex; align-items: center; gap: .7rem;
    background: transparent; border: none; cursor: pointer;
    font-weight: 800; color: var(--black); font-size: .8rem;
    letter-spacing: 1.5px; text-transform: uppercase; padding: .4rem .2rem;
}
.mt-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 26px; }
.mt-bars span {
    display: block; height: 2.5px; border-radius: 3px; background: var(--black);
    transition: all var(--transition);
}
.mt-bars span:nth-child(1) { width: 26px; }
.mt-bars span:nth-child(2) { width: 18px; }
.mt-bars span:nth-child(3) { width: 22px; }
.menu-toggle:hover .mt-bars span { background: var(--green); width: 26px; }
.menu-toggle:hover { color: var(--green); }

/* ---- Categories nav (secondary bar) ---- */
.cat-nav { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cat-list { display: flex; width: 100%; margin: 0; padding: 0; list-style: none; }
.cat-list > li { flex: 1 1 auto; text-align: center; position: relative; border-right: 1px solid var(--border); }
.cat-list > li:first-child { border-left: 1px solid var(--border); }
.cat-list a {
    display: block; position: relative; white-space: nowrap;
    padding: .95rem 1rem; font-weight: 500; font-size: .92rem; color: var(--black);
    transition: color var(--transition);
}
.cat-list a:hover, .cat-list a.active { color: var(--green); }
.cat-list a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
    background: var(--red); transform: scaleX(0); transition: transform var(--transition);
}
.cat-list a:hover::after, .cat-list a.active::after { transform: scaleX(1); }
.cat-caret { font-size: .68rem; margin-left: .3rem; transition: transform var(--transition); }
.cat-has-mega:hover .cat-caret, .cat-has-mega.cat-open .cat-caret { transform: rotate(180deg); }

/* Services mega dropdown */
.cat-mega {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    min-width: 300px; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--green);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow-md);
    padding: .5rem; z-index: 1029; text-align: left;
    opacity: 0; visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.cat-has-mega.cat-open .cat-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (hover: hover) and (min-width: 992px) {
    .cat-has-mega:hover .cat-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}
.cat-mega-item { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: 8px; color: var(--black); font-weight: 500; font-size: .92rem; }
.cat-mega-item:hover { background: var(--green-light); color: var(--green); }
.cat-mega-item i { width: 20px; text-align: center; color: var(--green); }
.cat-mega-item span { white-space: nowrap; }

/* Categories bar is desktop-only — mobile uses the full-screen menu */
@media (max-width: 991.98px) {
    .cat-nav { display: none; }
}

/* Icon buttons */
.icon-btn {
    width: 42px; height: 42px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid transparent; color: var(--black);
    font-size: 1.05rem; cursor: pointer; transition: all var(--transition);
}
.icon-btn:hover { background: var(--green-light); color: var(--green); }

/* ---- Full-screen mega menu ---- */
.fs-menu {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--white);
    opacity: 0; visibility: hidden;
    transform: scale(1.02);
    transition: opacity .4s ease, transform .4s ease, visibility .4s;
    overflow-y: auto;
}
.fs-menu.open { opacity: 1; visibility: visible; transform: scale(1); }
.fs-menu-inner {
    max-width: 1240px; margin: 0 auto; min-height: 100%;
    padding: 3.2rem 2rem 1.5rem; display: flex; flex-direction: column;
}
.fs-close {
    position: fixed; top: 1.5rem; right: 1.8rem; z-index: 2010;
    width: 54px; height: 54px; border-radius: 12px;
    background: var(--gray-light); border: 1px solid var(--border);
    color: var(--black); font-size: 1.4rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.fs-close:hover { background: var(--red); color: #fff; border-color: var(--red); transform: rotate(90deg); }

.fs-grid { display: grid; grid-template-columns: 320px 1fr; gap: 2.5rem; flex: 1; }

/* Left nav */
.fs-logo img { height: 85px; width: auto; margin-bottom: 2.4rem; }
.fs-label {
    display: block; font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gray); font-weight: 700; margin-bottom: 1rem;
}
.fs-nav-list { list-style: none; margin: 0; padding: 0; }
.fs-nav-item a {
    display: flex; align-items: center; gap: .9rem;
    padding: .55rem 0; color: var(--gray);
    font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800;
    transition: all var(--transition);
}
.fs-no { font-size: .72rem; color: var(--green); font-weight: 700; width: 22px; padding-top: .5rem; }
.fs-nav-item .fs-txt { transition: transform var(--transition); }
.fs-arrow { opacity: 0; margin-left: .2rem; font-size: 1rem; color: var(--red); transition: all var(--transition); }
.fs-nav-item:hover a, .fs-nav-item.active a { color: var(--black); }
.fs-nav-item:hover .fs-txt, .fs-nav-item.active .fs-txt { transform: translateX(6px); }
.fs-nav-item.active .fs-arrow { opacity: 1; }

/* Right panels */
.fs-panels { position: relative; border-left: 1px solid var(--border); padding-left: 2.5rem; }
.fs-panel { display: none; animation: fsFade .45s ease; }
.fs-panel.active { display: block; }
@keyframes fsFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.fs-panel-no { display: block; color: var(--green); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }
.fs-panel-desc { font-size: 1.1rem; color: var(--gray); max-width: 560px; margin-bottom: 2rem; }
.fs-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem 2.6rem; }
@media (max-width: 767.98px) { .fs-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479.98px) { .fs-cols { grid-template-columns: 1fr; } }
.fs-col h6 { font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.fs-col ul { list-style: none; margin: 0; padding: 0; }
.fs-col li { margin-bottom: .7rem; }
.fs-col a { color: var(--black); font-weight: 600; font-size: 1.02rem; position: relative; }
.fs-col a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--green); transition: width var(--transition); }
.fs-col a:hover { color: var(--green); }
.fs-col a:hover::after { width: 100%; }
.fs-col a.current { color: var(--green); font-weight: 800; }
.fs-col a.current::after { width: 100%; }
.fs-panel-cta {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.2rem;
    color: var(--green); font-weight: 800;
}
.fs-panel-cta i { transition: transform var(--transition); }
.fs-panel-cta:hover i { transform: translateX(5px); }

/* Menu footer */
.fs-footer {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.5rem;
}
.fs-footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 0; padding: 0; }
.fs-footer-links a { color: var(--gray); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.fs-footer-links a:hover { color: var(--green); }
.fs-footer-right { display: flex; align-items: center; gap: 1.2rem; }
.fs-social { display: flex; gap: .4rem; }
.fs-social a {
    width: 38px; height: 38px; border-radius: 50%; background: var(--gray-light);
    color: var(--black); display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.fs-social a:hover { background: var(--green); color: #fff; }

/* ---- Search overlay ---- */
.search-overlay {
    position: fixed; inset: 0; z-index: 2100;
    background: rgba(23, 23, 23, .96);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all var(--transition);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-close {
    position: absolute; top: 1.8rem; right: 1.8rem; width: 50px; height: 50px;
    border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; border: none;
    font-size: 1.4rem; cursor: pointer; transition: all var(--transition);
}
.search-close:hover { background: var(--red); transform: rotate(90deg); }
.search-form { width: min(720px, 90%); }
.search-form label { color: rgba(255, 255, 255, .7); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.search-field { display: flex; align-items: center; gap: 1rem; border-bottom: 2px solid rgba(255, 255, 255, .3); padding: 1rem 0; margin-top: 1rem; }
.search-field i { color: var(--green); font-size: 1.4rem; }
.search-field input { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; }
.search-field input::placeholder { color: rgba(255, 255, 255, .4); }
.search-field button { background: var(--green); color: #fff; border: none; border-radius: 50px; padding: .7rem 1.6rem; font-weight: 700; cursor: pointer; transition: background var(--transition); }
.search-field button:hover { background: var(--green-dark); }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   NEWS BANNER (homepage)
   ========================================================================== */
.news-banner { padding: 2.2rem 0 3.5rem; }

/* Shared media placeholder backgrounds */
.nb-media { position: absolute; inset: 0; transition: transform .6s ease; }
.nb-media.ph-green { background: linear-gradient(135deg, #0e5a33, #063d22); }
.nb-media.ph-dark  { background: linear-gradient(135deg, #2a2f33, #14171a); }
.nb-media.ph-red   { background: linear-gradient(135deg, #7c1322, #45080f); }
.nb-media.ph-blue  { background: linear-gradient(135deg, #123a5a, #08243d); }
.nb-media.ph-olive { background: linear-gradient(135deg, #4a5a1f, #2c360f); }

/* Real image filling a media placeholder */
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.nb-feature:hover .media-img,
.nb-small:hover .media-img,
.ev-card:hover .media-img { transform: scale(1.05); transition: transform .6s ease; }
.nb-ph-hint {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, .26); font-size: 1.8rem;
}

/* ---- Featured card (left) ---- */
.nb-feature {
    position: relative; display: block; overflow: hidden;
    border-radius: var(--radius); color: #fff; height: 560px;
}
.nb-feature:hover .nb-media { transform: scale(1.05); }
.nb-feature .nb-ph-hint { bottom: 32%; }
.nb-feature .nb-ph-hint span { position: absolute; bottom: 24%; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.nb-overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, 0) 72%);
}
.nb-cats { display: flex; gap: .5rem; margin-bottom: 1.1rem; }
.nb-pill {
    background: var(--green); color: #fff;
    font-size: .7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    padding: .4rem .9rem; border-radius: 6px;
}
.nb-pill.red { background: var(--red); }
.nb-title { color: #fff; line-height: 1.22; margin: 0; }
.nb-feature .nb-title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.nb-feature:hover .nb-title { text-decoration: underline; text-underline-offset: 5px; }
.nb-author { display: flex; align-items: center; gap: .7rem; margin-top: 1.3rem; }
.nb-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, .18); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: .85rem;
}
.nb-author-name { font-weight: 700; color: #fff; font-size: .92rem; }
.nb-author-date { color: rgba(255, 255, 255, .65); font-size: .78rem; letter-spacing: .5px; text-transform: uppercase; }
.nb-author-date::before { content: '\2022'; margin-right: .5rem; }

/* ---- Right stack: 2 overlay cards ---- */
.nb-stack { display: flex; flex-direction: column; gap: 24px; height: 560px; }
.nb-small {
    position: relative; display: block; flex: 1; overflow: hidden;
    border-radius: var(--radius); color: #fff;
}
.nb-small:hover .nb-media { transform: scale(1.06); }
.nb-small .nb-overlay { padding: 1.4rem; }
.nb-small .nb-cats { margin-bottom: .7rem; }
.nb-small .nb-pill { font-size: .64rem; padding: .3rem .7rem; }
.nb-small .nb-title { font-size: 1.14rem; line-height: 1.28; }
.nb-small:hover .nb-title { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   HOME HERO — boxed magazine (featured · ad + publication · news list)
   ========================================================================== */
.home-hero { padding: 1.5rem 0 2.8rem; }
.hh2 { display: flex; gap: 12px; height: 440px; }

/* Col 1 — featured news */
.hh2-feature {
    flex: 0 0 47%; position: relative; display: block; overflow: hidden;
    border-radius: 6px; color: #fff; background: #22262a; text-decoration: none;
}
.hh2-feature .media-img { transition: transform .6s ease; }
.hh2-feature:hover .media-img { transform: scale(1.04); }
.hh2-feature .media-blank { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: rgba(255, 255, 255, .28); }
.hh2-overlay {
    position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.6rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .2) 55%, transparent 82%);
}
.hh2-cats { display: flex; gap: .4rem; margin-bottom: .7rem; }
.hh2-feature-title {
    color: #fff; font-size: clamp(1.35rem, 1.9vw, 1.75rem); font-weight: 800; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hh2-feature-meta { color: rgba(255, 255, 255, .72); font-size: .78rem; margin-top: .7rem; }

/* Col 2 — ad box + publication box */
.hh2-mid { flex: 0 0 26%; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hh2-ads { flex: 1; min-height: 0; border-radius: 6px; }
.hh2-pub {
    flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
    background: var(--gray-light); border-radius: 6px; padding: 1.1rem 1.2rem;
}
.hh2-pub-type {
    align-self: flex-start; background: var(--green-light); color: var(--green-dark);
    font-size: .6rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
    padding: .25rem .6rem; border-radius: 3px; margin-bottom: .7rem;
}
.hh2-pub-title {
    color: var(--black); font-size: 1rem; font-weight: 800; line-height: 1.28;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hh2-pub:hover .hh2-pub-title { color: var(--green); }
.hh2-pub-excerpt {
    color: var(--gray); font-size: .84rem; line-height: 1.5; margin-top: .5rem;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* Ad slider mechanics (box 1) — slides fill the box */
.hh-ads { position: relative; overflow: hidden; background: var(--gray-light); }
.hh-ad {
    position: absolute; inset: 0; display: block; overflow: hidden;
    opacity: 0; visibility: hidden; transition: opacity .6s ease; text-decoration: none;
}
.hh-ad.is-active { opacity: 1; visibility: visible; }
.hh-ad-img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.hh-ad.is-active:hover .hh-ad-img { transform: scale(1.06); }
.hh-ad-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: rgba(0, 0, 0, .72); color: #fff;
    font-size: .58rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    padding: .3rem .6rem; border-radius: 3px;
}
[dir="rtl"] .hh-ad-badge { left: auto; right: 10px; }
.hh-ad-overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1rem 1rem 1.6rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, 0) 72%);
}
.hh-ad-title {
    color: #fff; font-size: .95rem; font-weight: 800; line-height: 1.28; margin: 0 0 .7rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hh-ad-btn {
    align-self: flex-start; background: var(--green); color: #fff;
    font-size: .78rem; font-weight: 700; padding: .45rem .9rem; border-radius: var(--radius);
    display: inline-flex; align-items: center; gap: .4rem; transition: background var(--transition); text-decoration: none;
}
.hh-ad-btn:hover { background: var(--green-dark); color: #fff; }
.hh-ad-btn i { font-size: .72rem; }
.hh-ad-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: .4rem; }
.hh-ad-dot {
    width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, .55); cursor: pointer; transition: all var(--transition);
}
.hh-ad-dot:hover { background: rgba(255, 255, 255, .85); }
.hh-ad-dot.is-active { background: #fff; width: 20px; border-radius: 5px; }

/* Col 3 — scrollable latest-news list (full-height thumbs, top aligned) */
.hh2-list {
    flex: 1; min-width: 0; height: 100%; overflow-y: auto;
    display: flex; flex-direction: column; gap: 14px; padding-right: 8px;
}
.hh2-list::-webkit-scrollbar { width: 6px; }
.hh2-list::-webkit-scrollbar-track { background: transparent; }
.hh2-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.hh2-item { display: flex; gap: .8rem; align-items: stretch; text-decoration: none; }
.hh2-item-media {
    position: relative; flex: 0 0 96px; align-self: stretch; min-height: 64px; overflow: hidden;
    border-radius: 4px; background: #22262a;
}
.hh2-item-media .media-img { transition: transform .5s ease; }
.hh2-item:hover .hh2-item-media .media-img { transform: scale(1.06); }
.hh2-item-media .media-blank { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .3); }
.hh2-item-body { display: flex; flex-direction: column; min-width: 0; }
.hh2-item-title {
    color: var(--black); font-size: .92rem; font-weight: 800; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hh2-item:hover .hh2-item-title { color: var(--green); }
.hh2-item-date { color: var(--gray); font-size: .74rem; margin-top: .4rem; }

@media (max-width: 991px) {
    .hh2 { flex-direction: column; height: auto; }
    .hh2-feature { flex: 0 0 auto; height: 320px; }
    .hh2-mid { flex: 0 0 auto; }
    .hh2-ads { height: 240px; }
    .hh2-list { height: auto; max-height: 460px; }
}

/* ==========================================================================
   EVENTS carousel (homepage)
   ========================================================================== */
.events-section { padding: 0 0 5rem; overflow: hidden; }
.es-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.es-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin: 0; letter-spacing: -1px; }
.es-head-right { display: flex; align-items: center; gap: 1.6rem; }
.es-viewall { color: var(--black); font-weight: 800; display: inline-flex; align-items: center; gap: .5rem; font-size: 1.05rem; white-space: nowrap; }
.es-viewall:hover { color: var(--green); }
.es-viewall i { transition: transform var(--transition); }
.es-viewall:hover i { transform: translateX(5px); }
.es-nav { display: flex; gap: .5rem; }
.es-arrow {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--white); color: var(--black);
    cursor: pointer; transition: all var(--transition);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.es-arrow:hover { background: var(--green); color: #fff; border-color: var(--green); }
.es-arrow:disabled { opacity: .35; cursor: default; }
.es-arrow:disabled:hover { background: var(--white); color: var(--black); border-color: var(--border); }

/* Center-mode carousel: one big card centered, neighbours peek */
.es-viewport { overflow: hidden; }
.es-track { display: flex; gap: 28px; transition: transform .55s cubic-bezier(.4, 0, .2, 1); will-change: transform; }

.ev-card {
    position: relative; flex: 0 0 60%; max-width: 60%;
    height: 480px; border-radius: var(--radius); overflow: hidden;
    color: #fff; opacity: .68; transition: opacity .45s ease;
}
.ev-card.active { opacity: 1; }
.ev-card:not(.active) { cursor: pointer; }
.ev-card:hover .nb-media { transform: scale(1.05); }
.ev-ph-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .28); font-size: 2.4rem; z-index: 1; }
.ev-card .nb-overlay { padding: 2.2rem; }
.ev-card .nb-cats { margin-bottom: 1rem; }
.ev-title { font-size: clamp(1.4rem, 2.2vw, 2rem); color: #fff; line-height: 1.22; margin: 0; }
.ev-card.active:hover .ev-title { text-decoration: underline; text-underline-offset: 5px; }
.ev-metabar { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: 1.2rem; color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 500; }
.ev-metabar span { display: inline-flex; align-items: center; }
.ev-metabar i { color: #fff; margin-right: .45rem; }

@media (max-width: 991.98px) {
    .ev-card { flex-basis: 74%; max-width: 74%; height: 430px; }
}
@media (max-width: 767.98px) {
    .es-head-right { width: 100%; justify-content: space-between; }
}
@media (max-width: 575.98px) {
    .ev-card { flex-basis: 86%; max-width: 86%; height: 370px; }
    .ev-card .nb-overlay { padding: 1.5rem; }
}

/* ==========================================================================
   BENTO — capabilities & impact
   ========================================================================== */
.bento-section {
    background: #000;
    color: #fff; padding: 5rem 0 5.5rem; position: relative; overflow: hidden;
}
.bento-section::after {
    content: ''; position: absolute; right: -140px; top: -140px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, .3), transparent 70%);
}
.bento-section::before {
    content: ''; position: absolute; left: -160px; bottom: -160px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 61, .32), transparent 70%);
}
.bento-section .container { position: relative; z-index: 2; }
.bento-section .section-head { text-align: center; }
.bento-section .section-eyebrow { color: #7fd0a3; }
.bento-section .section-eyebrow::before { color: #ffd0d7; }
.bento-section .section-head h2 { color: #fff; }
.bento-section .section-head p { color: rgba(255, 255, 255, .85); }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 168px;
    gap: 14px;
    grid-template-areas:
        "a b c d"
        "a e c f"
        "g h i j";
}
.bento-a { grid-area: a; } .bento-b { grid-area: b; } .bento-c { grid-area: c; } .bento-d { grid-area: d; }
.bento-e { grid-area: e; } .bento-f { grid-area: f; } .bento-g { grid-area: g; } .bento-h { grid-area: h; }
.bento-i { grid-area: i; } .bento-j { grid-area: j; }

.bento-card {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    padding: 1.7rem;
    display: flex; flex-direction: column;
    color: #fff; text-decoration: none;
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
    overflow: hidden;
}
.bento-card:hover { background: rgba(255, 255, 255, .2); transform: translateY(-4px); border-color: rgba(255, 255, 255, .35); }

/* Image-background bento cards */
.bento-img { position: relative; background: #1a1a1a; border-color: rgba(255, 255, 255, .18); }
.bento-img::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .4) 55%, rgba(0, 0, 0, .28) 100%);
}
.bento-img .media-img { z-index: 0; }
.bento-img > .bento-icon, .bento-img > .bento-text { position: relative; z-index: 2; }
.bento-img:hover { background: #1a1a1a; }
.bento-img:hover .media-img { transform: scale(1.06); transition: transform .5s ease; }

.bento-feature { justify-content: space-between; }
.bento-icon { font-size: 2.2rem; color: #fff; opacity: .95; }
.bento-card h3 { color: #fff; font-size: 1.28rem; margin: 1rem 0 .4rem; line-height: 1.25; }
.bento-feature .bento-text h3:last-child { margin-bottom: 0; }
.bento-card p { color: rgba(255, 255, 255, .82); font-size: .92rem; margin: 0; }

.bento-stat { justify-content: center; align-items: flex-start; }
.bento-stat .num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; color: #fff; }
.bento-stat .label { color: rgba(255, 255, 255, .82); font-size: 1rem; font-weight: 600; margin-top: .5rem; }

/* Cards without an image: no fill/overlay, white border only */
.bento-stat,
.bento-feature:not(.bento-img) { background: transparent; border-color: rgba(255, 255, 255, .55); }
.bento-stat:hover,
.bento-feature:not(.bento-img):hover { background: transparent; border-color: #fff; }

@media (max-width: 991.98px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 158px;
        grid-template-areas:
            "a b"
            "a e"
            "c d"
            "c f"
            "g h"
            "i j";
    }
}
@media (max-width: 575.98px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(140px, auto);
        grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h" "i" "j";
    }
}

/* ==========================================================================
   ABOUT / OUR APPROACH
   ========================================================================== */
.about-method { padding: 5.5rem 0; }
.am-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    color: var(--green); font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; font-size: .8rem; margin-bottom: 1.3rem;
}
.am-eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.am-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -1px; margin-bottom: 1.4rem; }
.am-lead { font-size: 1.1rem; color: var(--gray); max-width: 520px; margin-bottom: 2.6rem; }

.am-highlight { display: flex; gap: 1.8rem; align-items: center; }
.am-hl-media { flex: 0 0 205px; width: 205px; height: 230px; border-radius: var(--radius); min-height: auto; position: relative; overflow: hidden; }
.am-hl-stat .num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; display: block; color: var(--black); }
.am-hl-stat p { margin: .8rem 0 0; font-size: .98rem; max-width: 320px; }

.am-feature {
    position: relative; height: 100%; min-height: 600px;
    border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md);
}
.am-feature .nb-media { position: absolute; inset: 0; }
.am-feature .ev-ph-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .25); font-size: 2.4rem; z-index: 1; }
.am-feature-grad {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .05) 32%, rgba(0, 0, 0, .1) 60%, rgba(0, 0, 0, .55) 100%);
}
.am-feature-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: 2.4rem; color: #fff; }
.am-feature-top h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.12; margin: 0 0 .8rem; }
.am-feature-top p { color: rgba(255, 255, 255, .9); max-width: 360px; margin: 0; }

.am-members-card {
    position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 4;
    display: flex; align-items: center; gap: 1.1rem; padding: .7rem 1.5rem .7rem .8rem;
    border-radius: 50px; background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .25);
}
.am-avatars { display: flex; }
.am-avatar {
    width: 46px; height: 46px; border-radius: 50%; margin-left: -15px;
    border: 2px solid rgba(255, 255, 255, .8); overflow: hidden; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; position: relative;
    background: linear-gradient(135deg, #6b7683, #3a424c);
}
.am-avatar:first-child { margin-left: 0; }
.am-avatar.a2 { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.am-avatar.a3 { background: linear-gradient(135deg, #8a5a6a, #4a2c36); }
.am-avatar i { color: rgba(255, 255, 255, .9); font-size: 1rem; }
.am-members-info strong { display: block; color: #fff; font-size: 1.18rem; font-weight: 800; line-height: 1.1; }
.am-members-info span { color: rgba(255, 255, 255, .82); font-size: .85rem; }

@media (max-width: 991.98px) {
    .am-feature { min-height: 460px; margin-top: 2.5rem; }
}
@media (max-width: 575.98px) {
    .am-highlight { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
    .am-hl-media { width: 100%; flex-basis: auto; height: 220px; }
    .am-feature-top { padding: 1.6rem; }
    .am-members-card { left: 1rem; bottom: 1rem; padding: .6rem 1.2rem .6rem .7rem; }
    .am-avatar { width: 40px; height: 40px; }
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */
html.dark {
    --black: #eef2ef;
    --gray: #9aa8a0;
    --gray-light: #161d1a;
    --border: #26302b;
    --white: #0f1512;
    --green-light: #12271c;
}
html.dark body { background: #0f1512; color: #e6ece8; }
html.dark p { color: var(--gray); }
html.dark .top-utility,
html.dark .site-header { background: #0f1512; border-color: #26302b; }
/* Logo variants swap with theme */
.logo-dark { display: none; }
html.dark .logo-light { display: none; }
html.dark .logo-dark { display: block; }
html.dark .service-card,
html.dark .feature-card,
html.dark .pub-card,
html.dark .event-card,
html.dark .news-card,
html.dark .team-card,
html.dark .contact-info-card { background: #141b18; }
html.dark .fs-menu { background: #0f1512; }
html.dark .section.bg-soft { background: #131a17; }
html.dark .form-control,
html.dark .form-select { background: #141b18; color: #e6ece8; border-color: #26302b; }
html.dark .fs-close { background: #1a221e; }
html.dark .icon-btn,
html.dark .menu-toggle { color: #e6ece8; }
html.dark .mt-bars span { background: #e6ece8; }
html.dark #themeToggle .fa-moon::before { content: "\f185"; } /* show sun in dark mode */

/* ==========================================================================
   HEADER RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
    .fs-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .fs-panels { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 1.5rem; }
    .nb-feature { height: 420px; margin-bottom: 1.5rem; }
    .nb-stack { height: auto; }
    .nb-small { min-height: 240px; }
}
@media (max-width: 767.98px) {
    .header-inner { min-height: 74px; }
    .header-logo img { height: 42px; }
    .menu-toggle .mt-text { display: none; }
    .fs-menu-inner { padding: 1.7rem 1.2rem 1.5rem; }
    .fs-logo img { height: 48px; margin-bottom: 1.6rem; }
    .fs-footer { flex-direction: column; align-items: flex-start; }
    .tu-hide-mobile { display: none; }
}
@media (max-width: 575.98px) {
    .tu-left { gap: 0; }
    .tu-list li { padding-right: .9rem; font-size: .78rem; }
    .nb-feature { height: 320px; }
    .nb-small { min-height: 200px; }
}

/* ==========================================================================
   PUBLICATIONS — masonry (text only)
   ========================================================================== */
.pubs-section { padding: 5.5rem 0; }
.pubs-masonry { column-count: 3; column-gap: 22px; }
.pubm-card {
    break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
    display: inline-block; width: 100%; margin-bottom: 22px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.6rem 1.7rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pubm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pubm-type {
    display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .5px;
    text-transform: uppercase; padding: .32rem .8rem; border-radius: 50px; margin-bottom: .95rem;
}
.pubm-type.t-green { color: var(--green); background: var(--green-light); }
.pubm-type.t-red   { color: var(--red);   background: #fdeaed; }
.pubm-type.t-dark  { color: #fff;          background: #242424; }
.pubm-title { font-size: 1.18rem; line-height: 1.32; margin: 0 0 .3rem; }
.pubm-title a { color: var(--black); }
.pubm-card:hover .pubm-title a { color: var(--green); }
.pubm-authors { font-size: .86rem; color: var(--gray); margin: 0 0 .15rem; }
.pubm-journal { font-size: .86rem; color: var(--green); font-weight: 600; margin: 0 0 1rem; }
.pubm-excerpt { font-size: .95rem; color: var(--gray); margin: 0 0 .9rem; }
.pubm-meta { font-size: .82rem; color: var(--gray); font-weight: 600; margin: 0 0 .5rem; }
.pubm-doi { font-size: .8rem; margin: 0 0 1rem; word-break: break-word; }
.pubm-doi a { color: var(--green); font-weight: 600; }
.pubm-doi a:hover { color: var(--red); }
.pubm-foot {
    display: flex; justify-content: space-between; align-items: center; gap: .8rem;
    flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: .9rem;
}
.pubm-read { color: var(--green); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.pubm-read i { transition: transform var(--transition); }
.pubm-read:hover i { transform: translateX(4px); }
.pubm-views { font-size: .82rem; color: var(--gray); white-space: nowrap; }
.pubm-views i { color: var(--red); margin-right: .3rem; }

/* ==========================================================================
   PUBLICATIONS category page (news grid + journals carousel)
   ========================================================================== */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.sec-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.sec-viewall { color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.sec-viewall:hover { color: var(--red); }

/* Shared media */
.news-media, .jr-cover { position: relative; overflow: hidden; background: var(--gray-light); }
.news-media .media-img, .jr-cover .media-img { transition: transform .5s ease; }
.news-feature:hover .news-media .media-img,
.news-card:hover .news-media .media-img,
.jr-card:hover .jr-cover .media-img { transform: scale(1.05); }

.news-title { font-size: 1.15rem; line-height: 1.3; margin: .5rem 0; color: var(--black); font-weight: 800; }
.news-meta { font-size: .82rem; color: var(--gray); }
.news-cat { color: var(--green); font-weight: 700; }
.news-excerpt { color: var(--gray); font-size: .95rem; margin: 0; }

/* Featured */
.news-feature { display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; transition: box-shadow var(--transition); }
.news-feature:hover { box-shadow: var(--shadow-md); }
.news-feature .news-media { height: 380px; }
.news-feature .news-body { padding: 1.6rem 1.8rem 1.8rem; }
.news-feature .news-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: .7rem 0; }
.news-feature:hover .news-title { color: var(--green); }

/* Side stack (with image) */
.news-side-list { display: flex; flex-direction: column; height: 100%; }
.news-side { display: block; padding: 0 0 1.3rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--border); }
.news-side:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.news-side .news-media { height: 165px; border-radius: var(--radius-sm); margin-bottom: .8rem; }
.news-side .news-title { font-size: 1.12rem; margin: .35rem 0 .4rem; }
.news-side .news-excerpt { font-size: .9rem; margin: 0; }
.news-side:hover .news-title { color: var(--green); }

/* Cards row */
.pc-news-row { margin-top: 1.6rem; }
.news-card { display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform var(--transition), box-shadow var(--transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .news-media { height: 200px; }
.news-card .news-body { padding: 1.2rem 1.3rem 1.4rem; }
.news-card .news-title { font-size: 1.12rem; }
.news-card:hover .news-title { color: var(--green); }

/* Journals carousel */
.jr-nav { display: flex; gap: .5rem; }
.jr-carousel { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.jr-carousel::-webkit-scrollbar { display: none; }
.jr-track { display: flex; gap: 22px; width: max-content; padding-bottom: .4rem; }
.jr-card { flex: 0 0 200px; max-width: 200px; display: block; }
.jr-cover { height: 280px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.jr-card:hover .jr-cover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.jr-badge {
    position: absolute; top: 0; left: 0; z-index: 2;
    background: var(--red); color: #fff; font-size: .66rem; font-weight: 800;
    letter-spacing: .5px; padding: .3rem .8rem; border-radius: 0 0 8px 0;
}
.jr-title { font-size: .98rem; margin: .9rem 0 .3rem; color: var(--black); line-height: 1.3; font-weight: 700; }
.jr-card:hover .jr-title { color: var(--green); }
.jr-meta { display: block; font-size: .82rem; color: var(--gray); }
.jr-issn { display: block; font-size: .78rem; color: var(--gray); margin-top: .15rem; }

@media (max-width: 767.98px) {
    .news-feature .news-media { height: 240px; }
    .jr-card { flex-basis: 155px; max-width: 155px; }
    .jr-cover { height: 215px; }
}

/* ==========================================================================
   JOURNALS list page
   ========================================================================== */
.jl-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.jl-filters { display: flex; flex-wrap: wrap; gap: 0; }
.jl-tools { display: flex; align-items: center; gap: .8rem; }
.jl-search { position: relative; display: flex; align-items: center; }
.jl-search i { position: absolute; left: 1rem; color: var(--gray); font-size: .85rem; pointer-events: none; }
.jl-search input {
    border: 1px solid var(--border); border-radius: 50px; background: var(--white); color: var(--black);
    padding: .6rem 1.1rem .6rem 2.5rem; font-size: .9rem; width: 260px; max-width: 60vw; font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.jl-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0, 122, 61, .12); }
.jl-view { display: flex; border: 1px solid var(--border); border-radius: 50px; overflow: hidden; flex: 0 0 auto; }
.jl-view-btn { background: var(--white); border: none; color: var(--gray); width: 42px; height: 38px; cursor: pointer; transition: all var(--transition); }
.jl-view-btn:hover { color: var(--green); }
.jl-view-btn.active { background: var(--green); color: #fff; }
.jl-noresults { text-align: center; color: var(--gray); padding: 2.5rem 0; }
.jl-filter {
    background: var(--white); border: none; border-right: 1px solid var(--border); color: var(--black);
    font-weight: 300; font-size: 0.8rem; padding: 10px 15px; border-radius: 0;
    cursor: pointer; transition: all var(--transition);
}
.jl-filter:hover { border-color: var(--green); color: var(--green); }
.jl-filter.active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }

/* Responsive filter toggle (icon) — hidden on desktop, dropdown on small screens */
.jl-filter-toggle { display: none; }
@media (max-width: 991.98px) {
    .jl-filter-toggle {
        display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
        width: 44px; height: 40px; border: 1px solid var(--border); border-radius: 50px;
        background: var(--white); color: var(--black); cursor: pointer; transition: all var(--transition);
    }
    .jl-filter-toggle:hover,
    .jl-toolbar.filters-open .jl-filter-toggle { background: var(--green); border-color: var(--green); color: #fff; }
    .jl-toolbar { position: relative; align-items: flex-start; }
    .jl-tools { flex: 1 1 100%; }
    .jl-search { flex: 1; }
    .jl-search input { width: 100%; max-width: none; }
    /* Filters become a dropdown panel anchored to the toolbar (near the search/toggle) */
    .jl-filters {
        position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 40;
        flex-direction: column; flex-wrap: nowrap; min-width: 220px; max-width: 92vw;
        background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
        box-shadow: var(--shadow-md); overflow: hidden; display: none;
    }
    .jl-toolbar.filters-open .jl-filters { display: flex; }
    .jl-filters .jl-filter {
        width: 100%; text-align: start; border-right: none; border-left: none;
        border-bottom: 1px solid var(--border); font-size: .9rem; padding: 12px 16px;
    }
    .jl-filters .jl-filter:last-child { border-bottom: none; }
}

.jl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.jl-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.jl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.jl-cover {
    position: relative; height: 230px; display: flex; align-items: center; justify-content: center;
    overflow: hidden; color: #fff;
}
.jl-cover::after { content: ''; position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.jl-cover-link { display: block; }
.jl-cover-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.jl-cover.g-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.jl-cover.g-red   { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.jl-cover.g-dark  { background: linear-gradient(135deg, #2a2f33, #14171a); }
.jl-cover.g-blue  { background: linear-gradient(135deg, #123a5a, #08243d); }
.jl-cover.g-olive { background: linear-gradient(135deg, #4a5a1f, #2c360f); }
.jl-acronym { position: relative; z-index: 1; font-size: 2.4rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.jl-oa {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .25);
    color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .3px;
    padding: .3rem .7rem; border-radius: 50px; backdrop-filter: blur(4px);
}
.jl-oa i { font-size: .7rem; }

.jl-body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.jl-issn { font-size: .76rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--green); margin-bottom: .5rem; }
.jl-title { font-size: 1.18rem; line-height: 1.32; margin: 0 0 .7rem; }
.jl-intro { color: var(--gray); font-size: .93rem; line-height: 1.6; margin: 0 0 1.3rem; }
.jl-actions { display: flex; align-items: center; gap: 1.1rem; margin-top: auto; }
.jl-actions .btn { padding: .55rem 1.3rem; font-size: .9rem; }
.jl-submit { color: var(--black); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.jl-submit:hover { color: var(--green); }

/* Grid view: cover only (title is already in the cover art) */
.jl-grid .jl-body { display: none; }
.jl-grid .jl-cover { height: 480px; }

/* List view: cover left, title + description right */
.jl-grid.is-list { grid-template-columns: 1fr; gap: 18px; }
.jl-grid.is-list .jl-card { flex-direction: row; align-items: stretch; }
.jl-grid.is-list .jl-cover-link { flex: 0 0 210px; }
.jl-grid.is-list .jl-cover { height: 100%; min-height: 200px; }
.jl-grid.is-list .jl-body { display: flex; flex: 1; padding: 1.6rem 1.8rem; }
.jl-grid.is-list .jl-issn { display: block; }
.jl-grid.is-list .jl-intro { display: block; }
.jl-grid.is-list .jl-actions { display: flex; }
.jl-grid.is-list .jl-title { font-size: 2.25rem; line-height: 1.2; margin: 0 0 .8rem; max-width: 50%; }
@media (max-width: 767.98px) { .jl-grid.is-list .jl-title { max-width: 100%; } }
.jl-grid.is-list .jl-title a { color: var(--black); }
.jl-grid.is-list .jl-title a:hover { color: var(--green); }
@media (max-width: 575.98px) {
    .jl-grid.is-list .jl-card { flex-direction: column; }
    .jl-grid.is-list .jl-cover-link { flex-basis: auto; }
}

@media (max-width: 991.98px) { .jl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .jl-grid { grid-template-columns: 1fr; } }

@media (max-width: 991.98px) { .pubs-masonry { column-count: 2; } }
@media (max-width: 575.98px) { .pubs-masonry { column-count: 1; } }

/* ==========================================================================
   CTA (before footer)
   ========================================================================== */
/* Pre-footer wrapper (subscribe + CTA) */
.prefooter { padding: 4.5rem 0 0; }
.subscribe { max-width: 620px; margin: 0 auto 3rem; text-align: center; }
.subscribe-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .6rem; }
.subscribe-text { color: var(--gray); margin: 0 0 1.7rem; }
.subscribe-form { display: flex; gap: .6rem; max-width: 470px; margin: 0 auto 1.3rem; }
.subscribe-form input {
    flex: 1; border: 1px solid var(--border); border-radius: 50px;
    padding: .85rem 1.4rem; font-size: .95rem; background: var(--white); color: var(--black);
    font-family: inherit;
}
.subscribe-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0, 122, 61, .12); }
.subscribe-form button {
    background: var(--black); color: #fff; border: none; border-radius: 50px;
    padding: .85rem 1.7rem; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background var(--transition);
}
.subscribe-form button:hover { background: var(--green); }
.subscribe-experts { display: inline-flex; align-items: center; gap: .7rem; color: var(--gray); font-size: .9rem; }
.se-avatars { display: flex; }
.se-avatar { position: relative; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; border: 2px solid var(--white); margin-left: -10px; }
.se-avatar:first-child { margin-left: 0; }

.footer-social-list { list-style: none; padding: 0; margin: 0; }
.footer-social-list li { margin-bottom: .6rem; }
.footer-social-list a { color: rgba(255, 255, 255, .68); display: inline-flex; align-items: center; gap: .6rem; }
.footer-social-list a:hover { color: #fff; }
.footer-social-list i { width: 18px; text-align: center; color: var(--green); }

.prefooter .cta-box { margin-top: 0; }
.cta-box {
    position: relative; overflow: hidden;
    background: #0c0c0c; border-radius: 30px;
    padding: 5rem 4.5rem; color: #fff;
}
.cta-video {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.cta-box::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(12, 12, 12, .92) 0%, rgba(12, 12, 12, .6) 55%, rgba(12, 12, 12, .8) 100%);
}
.cta-inner { position: relative; z-index: 2; max-width: 640px; }
.cta-title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -1px; margin: 0 0 1.2rem; font-weight: 800; }
.cta-text { color: rgba(255, 255, 255, .82); font-size: 1.08rem; margin: 0 0 2.2rem; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-btn {
    display: inline-flex; align-items: center; gap: .8rem;
    padding: .45rem .5rem .45rem 1.7rem; border-radius: 50px;
    font-weight: 800; font-size: 1rem; transition: all var(--transition);
}
.cta-arrow {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.cta-arrow i { transition: transform var(--transition); }
.cta-btn:hover .cta-arrow i { transform: translateX(3px); }
.cta-btn-light { background: #fff; color: var(--black); }
.cta-btn-light .cta-arrow { background: var(--black); color: #fff; }
.cta-btn-light:hover { transform: translateY(-2px); }
.cta-btn-light:hover .cta-arrow { background: var(--green); }
.cta-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .4); }
.cta-btn-outline .cta-arrow { background: #fff; color: var(--black); }
.cta-btn-outline:hover { transform: translateY(-2px); border-color: #fff; color: #fff; }
.cta-btn-outline:hover .cta-arrow { background: var(--red); color: #fff; }

@media (max-width: 767.98px) {
    .cta-box { padding: 3rem 1.8rem; border-radius: 22px; }
    .cta-box::before { width: 100%; height: 55%; top: -15%; left: -20%; }
}

/* ==========================================================================
   No underline on link hover (site-wide)
   ========================================================================== */
a, a:hover, a:focus, a:active { text-decoration: none; }
.nb-feature:hover .nb-title,
.nb-small:hover .nb-title,
.ev-card.active:hover .ev-title { text-decoration: none; }

/* ==========================================================================
   PAGE HERO (bold editorial header for inner pages)
   ========================================================================== */
.page-hero { padding: 4.5rem 0 3.5rem; border-bottom: 1px solid var(--border); }
.page-hero-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.page-hero-eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--green); }
.page-hero-crumb { font-size: .85rem; color: var(--gray); display: inline-flex; align-items: center; gap: .55rem; }
.page-hero-crumb a { color: var(--gray); }
.page-hero-crumb a:hover { color: var(--green); }
.page-hero-crumb i { font-size: .7rem; opacity: .6; }
.page-hero-crumb span { color: var(--black); font-weight: 600; }
.page-hero-title {
    font-size: clamp(2.2rem, 6vw, 70px);
    font-weight: 800; line-height: 1.06; letter-spacing: -1.5px;
    margin: 0; max-width: 60%; color: var(--black);
}
.page-hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; color: var(--black);
    max-width: 60%; margin: 1.6rem 0 .7rem;
}
.page-hero-text { font-size: 1.05rem; color: var(--gray); line-height: 1.7; max-width: 60%; margin: 0; }
@media (max-width: 991.98px) {
    .page-hero-title, .page-hero-subtitle, .page-hero-text { max-width: 100%; }
}

/* ==========================================================================
   PAPER (publication) detail page
   ========================================================================== */
.paper-hero { padding-bottom: 2.4rem; }
.paper-title { font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.18; letter-spacing: -1px; margin: 0 0 1rem; max-width: 26ch; color: var(--black); }
.paper-authors { color: var(--black); font-weight: 600; margin-bottom: .7rem; }
.paper-authors i { color: var(--green); margin-right: .4rem; }
.paper-metabar { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--gray); font-size: .92rem; margin-bottom: 1.7rem; }
.paper-metabar i { color: var(--green); margin-right: .35rem; }
.paper-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.paper-h { font-size: 1.35rem; margin: 0 0 1rem; }
.paper-abstract { color: var(--gray); font-size: 1.03rem; line-height: 1.85; margin-bottom: 2.6rem; }
.paper-keywords { display: flex; flex-wrap: wrap; gap: .6rem; }
.paper-kw { background: var(--green-light); color: var(--green); font-weight: 600; font-size: .85rem; padding: .4rem .95rem; border-radius: 50px; }

.paper-side { background: var(--gray-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; position: sticky; top: 100px; }
.paper-side h3 { font-size: 1.15rem; margin: 0 0 1.1rem; }
.paper-details { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.paper-details li { display: flex; flex-direction: column; gap: .15rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.paper-details li:last-child { border-bottom: none; }
.pd-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); font-weight: 700; }
.pd-value { color: var(--black); font-weight: 600; word-break: break-word; }
.pd-value a { color: var(--green); }
.pd-value a:hover { color: var(--red); }
.paper-license { font-size: .8rem; color: var(--gray); line-height: 1.65; margin: 1.1rem 0 0; }
.paper-license i { color: var(--green); }

@media (max-width: 991.98px) { .paper-side { position: static; margin-top: 1rem; } }

/* ==========================================================================
   ABOUT page
   ========================================================================== */
.about-hero-img { position: relative; overflow: hidden; border-radius: var(--radius); width: 100%; height: 440px; }
.about-media .about-badge .num { font-size: 2rem; }

.about-stats-band {
    background: linear-gradient(155deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff; padding: 4.5rem 0 5rem; position: relative; overflow: hidden;
}
.about-stats-band .section-head { text-align: center; }
.about-stats-band .section-eyebrow { color: #bfe6cf; }
.about-stats-band .section-eyebrow::before { color: #ffd0d7; }
.about-stats-band .section-head h2 { color: #fff; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.about-stat { text-align: center; padding: 1rem .5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.about-stat .num { display: block; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1; color: #fff; }
.about-stat .label { display: block; margin-top: .5rem; font-size: .9rem; color: rgba(255, 255, 255, .82); }

@media (max-width: 767.98px) {
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-hero-img { height: 320px; }
    .about-badge { position: static; margin: 1.2rem auto 0; display: inline-block; }
}

/* Governance & Leadership */
.gov-panel { background: var(--gray-light); border: 1px solid var(--border); border-radius: 28px; padding: 3.5rem 2.5rem; }
.gov-head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.gov-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    border: 1px solid var(--border); background: var(--white); border-radius: 50px;
    padding: .5rem 1.1rem; font-size: .76rem; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--black); margin-bottom: 1.3rem;
}
.gov-eyebrow i { color: var(--green); }
.gov-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -1px; margin: 0 0 1.1rem; }
.gov-divider { display: block; width: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--red)); margin: 0 auto 1.4rem; }
.gov-intro { color: var(--gray); font-size: 1.05rem; margin: 0; }

.gov-card {
    position: relative; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.5rem 1.9rem; text-align: center; height: 100%;
    overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.gov-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--green), var(--red));
    transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.gov-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.gov-card:hover::before { transform: scaleX(1); }
.gov-icon {
    width: 72px; height: 72px; border-radius: 50%; background: #171717; color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem;
    margin-bottom: 1.4rem; transition: all var(--transition);
}
.gov-card:hover .gov-icon { background: linear-gradient(135deg, var(--green), var(--green-dark)); transform: rotate(-6deg) scale(1.05); }
.gov-card h3 { font-size: 1.25rem; margin: 0 0 .7rem; }
.gov-card p { color: var(--gray); font-size: .96rem; margin: 0 0 1.4rem; }
.gov-link { color: var(--black); font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }
.gov-link i { color: var(--green); transition: transform var(--transition); }
.gov-card:hover .gov-link { color: var(--green); }
.gov-card:hover .gov-link i { transform: translateX(4px); }

@media (max-width: 575.98px) { .gov-panel { padding: 2.4rem 1.3rem; } }

/* ==========================================================================
   404 error page
   ========================================================================== */
.error-page { text-align: center; padding: 5.5rem 0 6.5rem; }
.error-code {
    font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: .95; letter-spacing: -4px;
    background: linear-gradient(120deg, var(--green), var(--red));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: .3rem 0 1rem; }
.error-text { color: var(--gray); max-width: 520px; margin: 0 auto 2.2rem; font-size: 1.05rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.error-links { margin-top: 3rem; }
.error-links-title { display: block; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); font-weight: 800; margin-bottom: 1rem; }
.error-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; }
.error-links a { color: var(--black); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.error-links a i { font-size: .75rem; color: var(--red); transition: transform var(--transition); }
.error-links a:hover { color: var(--green); }
.error-links a:hover i { transform: translateX(3px); }

/* ==========================================================================
   MOBILE VIEW refinements
   ========================================================================== */
.nb-small-date { display: none; }   /* shown only on mobile */
.fs-back { display: none; }         /* shown only in mobile drill-down */

/* Full-screen menu — mobile drill-down (tap nav → submenu → back) */
@media (max-width: 991.98px) {
    .fs-panels { display: none; }
    .fs-menu.submenu-open .fs-nav { display: none; }
    .fs-menu.submenu-open .fs-panels { display: block; }
    .fs-back {
        display: inline-flex; align-items: center; gap: .5rem;
        background: var(--gray-light); border: 1px solid var(--border);
        color: var(--black); font-weight: 700; border-radius: 50px;
        padding: .55rem 1.2rem; cursor: pointer; margin-bottom: 1.6rem;
    }
    .fs-back:hover { background: var(--green); color: #fff; border-color: var(--green); }
}

@media (max-width: 767.98px) {
    /* Top bar: language switcher icon only */
    .tu-lang-text { display: none; }
    .tu-lang i { margin: 0; font-size: 1rem; }

    /* Header: right side = search icon only */
    .header-right #themeToggle,
    .header-right a.icon-btn { display: none !important; }

    /* News: keep only title + date */
    .nb-feature .nb-cats,
    .nb-feature .nb-avatar,
    .nb-feature .nb-author-name,
    .nb-small .nb-cats { display: none; }
    .nb-small-date { display: block; }
    .nb-author-date::before { content: none; }
}

/* ===========================================================================
   Services section (overview + hub landing pages)
   =========================================================================== */

/* Hub grid on the overview page */
.svc-hub-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
.svc-hub-card {
    display: flex; flex-direction: column; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.1rem 1.9rem;
    box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative; overflow: hidden; height: 100%;
}
.svc-hub-card::before {
    content: ''; position: absolute; inset: 0 auto 0 0; width: 4px;
    background: var(--green); opacity: 0; transition: opacity var(--transition);
}
.svc-hub-card.svc-group-authors::before { background: var(--red); }
.svc-hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-hub-card:hover::before { opacity: 1; }
.svc-hub-icon {
    width: 56px; height: 56px; border-radius: 14px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 1.4rem;
    background: var(--green-light); color: var(--green); margin-bottom: 1.1rem;
    transition: background var(--transition), color var(--transition);
}
.svc-hub-card.svc-group-authors .svc-hub-icon { background: #fbe7ea; color: var(--red); }
.svc-hub-card:hover .svc-hub-icon { background: var(--green); color: #fff; }
.svc-hub-card.svc-group-authors:hover .svc-hub-icon { background: var(--red); color: #fff; }
.svc-hub-group {
    font-size: .68rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--gray); margin-bottom: .5rem;
}
.svc-hub-card h3 { font-size: 1.3rem; margin: 0 0 .6rem; }
.svc-hub-card > p { font-size: .96rem; color: var(--gray); margin: 0 0 1.1rem; }
.svc-hub-sub { list-style: none; padding: 0; margin: 0 0 1.3rem; width: 100%; }
.svc-hub-sub li {
    font-size: .9rem; padding: .38rem 0; border-bottom: 1px dashed var(--border);
    display: flex; align-items: center; gap: .5rem; color: var(--black);
}
.svc-hub-sub li:last-child { border-bottom: none; }
.svc-hub-sub li i { color: var(--green); font-size: .78rem; }
.svc-hub-card.svc-group-authors .svc-hub-sub li i { color: var(--red); }
.svc-hub-more {
    margin-top: auto; font-weight: 700; font-size: .92rem; color: var(--green);
    display: inline-flex; align-items: center; gap: .45rem;
}
.svc-hub-card.svc-group-authors .svc-hub-more { color: var(--red); }
.svc-hub-more i { transition: transform var(--transition); }
.svc-hub-card:hover .svc-hub-more i { transform: translateX(4px); }

/* Subpage cards on a hub landing page */
.svc-sub-card {
    display: flex; flex-direction: column; height: 100%;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.8rem;
    box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.svc-sub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-sub-card h3 { font-size: 1.2rem; margin: 0 0 .6rem; }
.svc-sub-card p { font-size: .95rem; color: var(--gray); margin: 0 0 1.2rem; }

/* Closing CTA band */
.svc-cta { background: #0f0f0f; color: #fff; padding: 4.2rem 0; }
.svc-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
}
.svc-cta-copy { max-width: 620px; }
.svc-cta-copy h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .7rem; }
.svc-cta-copy p { color: rgba(255, 255, 255, .78); margin: 0; }
.svc-cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.svc-cta .btn-success { background: var(--green); border-color: var(--green); font-weight: 700; }
.svc-cta .btn-success:hover { background: var(--green-dark); border-color: var(--green-dark); }
.svc-cta .btn-outline-light { font-weight: 700; }

/* Subpage "being prepared" placeholder */
.svc-soon {
    text-align: center; max-width: 520px; margin: 0 auto;
    border: 1px dashed var(--border); border-radius: var(--radius);
    padding: 3rem 2rem; background: var(--gray-light);
}
.svc-soon-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.2rem;
    background: var(--green-light); color: var(--green); font-size: 1.5rem;
}
.svc-soon p { font-size: 1.05rem; font-weight: 600; margin: 0 0 1.5rem; }

/* Process steps on subpages */
.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.svc-step {
    position: relative; padding: 2rem 1.6rem; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.svc-step-no {
    display: inline-block; font-size: 1.5rem; font-weight: 800; line-height: 1;
    color: var(--green); margin-bottom: 1rem;
}
.svc-step h3 { font-size: 1.12rem; margin: 0 0 .5rem; }
.svc-step p { font-size: .92rem; color: var(--gray); margin: 0; }

/* Journals subpages — guideline cards, checklist, CTA */
.jp-guide {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-sm);
}
.jp-guide-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; }
.jp-guide-head h3 { font-size: 1.2rem; margin: 0 0 .3rem; }
.jp-guide-intro { font-size: .92rem; color: var(--gray); margin: 0; }
.jp-guide-list { list-style: none; padding: 0; margin: 0; }
.jp-guide-list li {
    font-size: .95rem; padding: .5rem 0; border-top: 1px dashed var(--border);
    display: flex; gap: .6rem; align-items: flex-start;
}
.jp-guide-list li i { color: var(--green); font-size: .78rem; margin-top: .35rem; }

.jp-checklist-wrap { max-width: 780px; margin: 0 auto; }
.jp-checklist {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem;
}
.jp-checklist li {
    display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: .9rem 1.1rem;
}
.jp-checklist li i { color: var(--green); font-size: 1.05rem; margin-top: .1rem; }

.jp-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.jp-cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .7rem; }
.jp-cta p { color: var(--gray); margin: 0 0 1.6rem; }
.jp-cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.jp-cta-actions .btn-success { background: var(--green); border-color: var(--green); font-weight: 700; }
.jp-cta-actions .btn-success:hover { background: var(--green-dark); border-color: var(--green-dark); }
.jp-cta-actions .btn-outline-success { color: var(--green); border-color: var(--green); font-weight: 700; }
.jp-cta-actions .btn-outline-success:hover { background: var(--green); color: #fff; }

html.dark .svc-hub-card,
html.dark .svc-sub-card,
html.dark .svc-step,
html.dark .jp-guide,
html.dark .jp-checklist li { background: var(--gray-light); }

@media (max-width: 575.98px) {
    .jp-checklist { grid-template-columns: 1fr; }
}
html.dark .svc-hub-card.svc-group-authors .svc-hub-icon { background: #2a1417; }

@media (max-width: 991.98px) {
    .svc-hub-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .svc-hub-grid { grid-template-columns: 1fr; }
    .svc-steps { grid-template-columns: 1fr; }
    .svc-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ===========================================================================
   News — front-end (banner pills, listing, article detail)
   =========================================================================== */
.nb-pill.nb-tone-green { background: var(--green); }
.nb-pill.nb-tone-red   { background: var(--red); }
.nb-pill.nb-tone-dark  { background: #171717; }
.nb-pill.nb-tone-blue  { background: #1d5fa8; }
.nb-pill.nb-tone-gold  { background: #b8860b; }

.news-cat.news-tone-green { color: var(--green); }
.news-cat.news-tone-red   { color: var(--red); }
.news-cat.news-tone-dark  { color: var(--black); }
.news-cat.news-tone-blue  { color: #1d5fa8; }
.news-cat.news-tone-gold  { color: #b8860b; }

.pc-news-empty { padding: 2rem 0; font-size: 1.05rem; }

/* Listing */
.news-featured-wrap { margin-bottom: 2rem; }
.news-featured-wrap .news-feature .news-media { height: 440px; }

/* Article detail */
.article-hero { padding: 3rem 0 .5rem; }
.article-hero .page-hero-crumb { margin-bottom: 1.2rem; }
.article-cats { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.article-cats .news-cat {
    border: 1px solid currentColor; padding: .2rem .75rem; border-radius: 50px;
    font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
}
.article-title { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -1px; max-width: 900px; margin: 0 0 1rem; }
.article-byline { color: var(--gray); font-size: .95rem; }
.article-byline strong { color: var(--black); }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 1.6rem 0 2.4rem; max-height: 540px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-layout { display: flex; justify-content: center; }
.article-body { max-width: 760px; width: 100%; font-size: 1.08rem; line-height: 1.78; }
.article-lead { font-size: 1.28rem; line-height: 1.6; font-weight: 500; color: var(--black); margin: 0 0 1.6rem; }
.article-body h1 { font-size: 2rem; margin: 2rem 0 .8rem; }
.article-body h2 { font-size: 1.6rem; margin: 1.8rem 0 .7rem; }
.article-body h3 { font-size: 1.3rem; margin: 1.5rem 0 .6rem; }
.article-body p { margin: 0 0 1.3rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { border-left: 3px solid var(--green); margin: 0 0 1.3rem; padding: .3rem 0 .3rem 1.2rem; color: var(--gray); font-style: italic; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-share { display: flex; align-items: center; gap: .7rem; margin: 2.6rem 0 1.4rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.article-share span { font-weight: 700; }
.article-share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--black); transition: all var(--transition); }
.article-share a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.article-back { display: inline-flex; align-items: center; font-weight: 700; color: var(--green); }
.article-related .news-title { font-size: 1.16rem; }

/* RTL tweaks for Arabic articles */
[dir="rtl"] .article-body ul, [dir="rtl"] .article-body ol { margin: 0 1.4rem 1.3rem 0; }
[dir="rtl"] .article-body blockquote { border-left: none; border-right: 3px solid var(--green); padding: .3rem 1.2rem .3rem 0; }

/* Blank image placeholder (posts with no image) + empty states */
.media-blank {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: var(--gray-light); color: #c4ccc7; font-size: 2.2rem;
}
.nb-media.is-blank { background: linear-gradient(135deg, #3b4147, #22262a); }
.nb-media .media-blank { background: transparent; color: rgba(255, 255, 255, .28); }

.news-empty { text-align: center; padding: 4rem 1rem; color: var(--gray); }
.news-empty i { display: block; font-size: 2.6rem; color: #c4ccc7; margin-bottom: 1rem; }
.news-empty p { font-size: 1.1rem; margin: 0; }

/* ===========================================================================
   Events — listing grid + details page
   =========================================================================== */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
/* Static (non-carousel) event cards: full opacity, own height */
.ev-card-static { flex: none; max-width: none; opacity: 1; height: 360px; display: block; }
.ev-card-static:hover { box-shadow: var(--shadow-lg); }
.events-grid .ev-card .nb-overlay { padding: 1.8rem; }
.events-grid .ev-title { font-size: 1.3rem; }
.events-grid .ev-metabar { gap: 1rem; margin-top: .9rem; font-size: .85rem; }

/* Event details */
.event-hero { padding: 3rem 0 .5rem; }
.event-hero .page-hero-crumb { margin-bottom: 1.2rem; }
.event-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.event-badge {
    display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px; padding: .35rem .8rem; border-radius: 50px;
    background: var(--green-light); color: var(--green-dark);
}
.event-badge.alt { background: #fff5db; color: #a5790a; }
.event-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; max-width: 900px; margin: 0 0 1rem; }
.event-acr { color: var(--gray); font-weight: 700; }
.event-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--gray); font-size: 1rem; text-transform: capitalize; }
.event-meta i { color: var(--green); margin-right: .4rem; }
.event-cover { border-radius: var(--radius); overflow: hidden; margin: 1.6rem 0 2.4rem; height: 440px; position: relative; background: var(--gray-light); }
.event-cover .media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-cover.is-blank { background: linear-gradient(135deg, #3b4147, #22262a); }

.event-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; padding-bottom: 1rem; }
.event-body { font-size: 1.06rem; line-height: 1.75; }
.event-body h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.event-body .event-sponsors-head { margin-top: 2.5rem; }
.event-about p { margin: 0 0 1.1rem; }
.event-about a { color: var(--green); text-decoration: underline; }

.event-sponsors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
.sponsor-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
a.sponsor-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.sponsor-logo { width: 64px; height: 64px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--gray-light); display: flex; align-items: center; justify-content: center; }
.sponsor-logo img { width: 100%; height: 100%; object-fit: contain; }
.sponsor-logo-blank { color: #c4ccc7; font-size: 1.5rem; }
.sponsor-info strong { display: block; color: var(--black); font-size: 1rem; }
.sponsor-info span { font-size: .82rem; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

.event-side { position: sticky; top: 100px; }
.event-info-card { background: var(--gray-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.event-info-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); margin: 0 0 1.1rem; }
.event-info-row { display: flex; flex-direction: column; gap: .2rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.event-info-row:last-of-type { border-bottom: none; }
.ei-label { font-size: .8rem; font-weight: 700; color: var(--gray); }
.ei-label i { color: var(--green); margin-right: .35rem; }
.ei-val { font-size: .98rem; color: var(--black); font-weight: 600; }
.event-info-card .btn-success { background: var(--green); border-color: var(--green); font-weight: 700; }
.event-info-card .btn-success:hover { background: var(--green-dark); border-color: var(--green-dark); }

html.dark .sponsor-card { background: var(--gray-light); }

@media (max-width: 991.98px) {
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .event-layout { grid-template-columns: 1fr; }
    .event-side { position: static; }
    .event-cover { height: 320px; }
}
@media (max-width: 575.98px) {
    .events-grid { grid-template-columns: 1fr; }
    .event-sponsors { grid-template-columns: 1fr; }
}

/* Journal cover fallback (acronym on a gradient) in the publications carousel */
.jr-cover-acr { display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(150deg, var(--green), var(--green-dark)); }

/* ==========================================================================
   ABOUT PAGE — scoped styles (namespaced .abt-*, additive only).
   Does not touch header, footer, menu, or shared components.
   ========================================================================= */

/* Breadcrumb (page hero removed) */
.abt-crumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--gray); margin-bottom: 2rem; }
.abt-crumb a { color: var(--gray); text-decoration: none; transition: color var(--transition); }
.abt-crumb a:hover { color: var(--green); }
.abt-crumb i { font-size: .7rem; opacity: .6; }

/* Overview */
.abt-h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1.12; margin: .35rem 0 1rem; color: var(--black); }
.abt-lead { font-size: 1.18rem; font-weight: 600; color: var(--green-dark); line-height: 1.5; margin-bottom: 1.25rem; }
html.dark .abt-lead { color: #34c47a; }

.abt-media { display: flex; flex-direction: column; gap: 1.25rem; }
.abt-media .about-hero-img { margin: 0; }

/* Leadership quote card */
.abt-quote { position: relative; margin: 0; background: var(--green-light); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-sm); }
.abt-quote-mark { color: var(--green); font-size: 1.4rem; opacity: .55; margin-bottom: .4rem; }
.abt-quote blockquote { font-size: 1.02rem; font-style: italic; line-height: 1.6; color: var(--black); margin: 0 0 1rem; }
.abt-quote figcaption { display: flex; flex-direction: column; gap: .1rem; }
.abt-quote-name { font-weight: 800; color: var(--green-dark); }
html.dark .abt-quote-name { color: #34c47a; }
.abt-quote-role { font-size: .85rem; color: var(--gray); }

/* ---- Impact band (signature element): deep UAE-green bento of counters ---- */
.abt-impact { position: relative; padding: 4.5rem 0; background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%); overflow: hidden; }
.abt-impact::after { content: ""; position: absolute; inset: 0; background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.10), transparent 42%),
    radial-gradient(circle at 6% 92%, rgba(200,16,46,.20), transparent 46%);
    pointer-events: none; }
.abt-impact .container { position: relative; z-index: 1; }
.abt-impact .section-head h2 { color: #fff; }
.abt-impact .section-head p { color: rgba(255,255,255,.82); }
.abt-eyebrow-light { color: #bfe8cf !important; }

.abt-impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; grid-auto-flow: dense; }
@media (min-width: 768px) { .abt-impact-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.abt-stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem;
    padding: 1.35rem 1.25rem; border-radius: var(--radius);
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(3px); transition: transform var(--transition), background var(--transition); }
.abt-stat:hover { transform: translateY(-4px); background: rgba(255,255,255,.13); }
.abt-stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; font-size: 1rem; margin-bottom: .55rem; }
.abt-stat-num { font-size: 2rem; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.01em; }
.abt-stat-label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.82); line-height: 1.3; }

/* Featured lead tile */
.abt-stat-lead { grid-column: span 2; justify-content: center; background: rgba(255,255,255,.14); }
@media (min-width: 768px) { .abt-stat-lead { grid-row: span 2; } }
.abt-stat-lead .abt-stat-icon { width: 52px; height: 52px; font-size: 1.3rem; background: var(--red); }
.abt-stat-lead .abt-stat-num { font-size: clamp(2.8rem, 6vw, 4.2rem); }
.abt-stat-lead .abt-stat-num::after { content: ""; display: block; width: 48px; height: 4px; background: var(--red); border-radius: 3px; margin-top: .7rem; }
.abt-stat-lead .abt-stat-label { font-size: 1rem; color: #fff; margin-top: .5rem; }

/* Centennial bridge */
.abt-centennial-inner { max-width: 860px; }
.abt-centennial-inner h2 { margin: .4rem 0 1rem; }

/* Values sub-heading */
.abt-values-head { font-size: 1.25rem; font-weight: 800; margin: 2.5rem 0 1.25rem; color: var(--black); }

/* Closing CTA spacing tweak */
.abt-cta { margin-top: 0; }

/* Reduced motion: neutralise hover lift */
@media (prefers-reduced-motion: reduce) { .abt-stat, .abt-stat:hover { transition: none; transform: none; } }

/* About impact — tighten number size on very small screens */
@media (max-width: 575.98px) {
    .abt-stat-num { font-size: 1.65rem; }
    .abt-stat { padding: 1.1rem 1rem; }
}

/* ===========================================================================
   Board of Trustees / committees
   =========================================================================== */
.board-grid { display: grid; gap: 1.7rem; }
.board-grid-lead { grid-template-columns: repeat(3, 1fr); }
.board-grid-sm { grid-template-columns: repeat(4, 1fr); }

.board-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.board-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.board-photo { position: relative; overflow: hidden; background: var(--gray-light); }
.board-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.board-card:hover .board-photo img { transform: scale(1.04); }
.board-photo-blank { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c4ccc7; font-size: 2.6rem; }
.board-name { margin: 0 0 .25rem; color: var(--black); line-height: 1.25; }
.board-role { color: var(--green); font-weight: 600; font-size: .9rem; margin: 0 0 .7rem; }
.board-excerpt { color: var(--gray); font-size: .92rem; line-height: 1.55; margin: 0 0 1rem; }
.board-more { color: var(--green); font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: .4rem; }
.board-more i { transition: transform var(--transition); }
.board-card:hover .board-more i { transform: translateX(4px); }

/* Featured trustee cards (3/row) — photo-forward with an accent bar */
.board-card-lead { position: relative; }
.board-card-lead::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--green), var(--red)); z-index: 2; opacity: 0; transition: opacity var(--transition); }
.board-card-lead:hover::before { opacity: 1; }
.board-card-lead .board-photo { height: 320px; }
.board-card-lead .board-info { padding: 1.5rem 1.6rem 1.7rem; }
.board-card-lead .board-name { font-size: 1.35rem; }
.board-card-lead .board-role { font-size: .95rem; }

/* Smaller committee cards (4/row) — centered circular avatar */
.board-grid-sm .board-card { text-align: center; padding: 1.8rem 1.2rem; }
.board-grid-sm .board-photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.1rem; }
.board-grid-sm .board-info { padding: 0; }
.board-grid-sm .board-name { font-size: 1.08rem; }
.board-grid-sm .board-role { font-size: .84rem; }
.board-grid-sm .board-more { font-size: .8rem; }

.board-info { padding: 1.3rem 1.4rem; }

/* Bio page */
.board-bio-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; margin-top: 1.6rem; }
.board-bio-aside { position: sticky; top: 100px; text-align: center; }
.board-bio-photo { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--gray-light); box-shadow: var(--shadow-md); }
.board-bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-bio-badge { display: inline-block; margin-top: 1.1rem; background: var(--green-light); color: var(--green-dark); font-weight: 800; font-size: .74rem; padding: .35rem .9rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .6px; }
.board-bio-name { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.5px; margin: 0 0 .5rem; }
.board-bio-role { color: var(--green); font-weight: 600; font-size: 1.15rem; margin: 0 0 1.6rem; }
.board-bio-text { font-size: 1.06rem; line-height: 1.8; max-width: 760px; }
.board-bio-text p { margin: 0 0 1.2rem; }
.board-bio-text h2 { font-size: 1.5rem; margin: 1.8rem 0 .7rem; }
.board-bio-text h3 { font-size: 1.2rem; margin: 1.4rem 0 .6rem; }
.board-bio-text ul, .board-bio-text ol { margin: 0 0 1.2rem 1.4rem; }
.board-bio-text a { color: var(--green); text-decoration: underline; }
.board-bio .article-back { margin-top: 1.5rem; }

html.dark .board-card { background: var(--gray-light); }

@media (max-width: 991.98px) {
    .board-grid-lead { grid-template-columns: repeat(2, 1fr); }
    .board-grid-sm { grid-template-columns: repeat(3, 1fr); }
    .board-bio-grid { grid-template-columns: 1fr; }
    .board-bio-aside { position: static; max-width: 280px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .board-grid-lead, .board-grid-sm { grid-template-columns: repeat(2, 1fr); }
    .board-card-lead .board-photo { height: 240px; }
}

/* Board committee pages — load-more, hidden cards */
.board-card.is-hidden { display: none; }
.board-loadmore-wrap { text-align: center; margin-top: 2.4rem; }
.board-loadmore { font-weight: 700; }
.board-loadmore.btn-outline-success { color: var(--green); border-color: var(--green); }
.board-loadmore.btn-outline-success:hover { background: var(--green); color: #fff; }

/* ---- Publications directory: journals-style toolbar (filter tabs are links) ---- */
.jl-filters .jl-filter { display: inline-block; text-decoration: none; }
a.jl-filter:hover { text-decoration: none; }
[dir="rtl"] .jl-filter { border-right: none; border-left: 1px solid var(--border); }
.pub-dir-countbar { margin: -1.4rem 0 1.8rem; color: var(--gray); font-size: .85rem; font-weight: 600; }

/* ---- Careers / application form ---- */
.careers-form-wrap { max-width: 760px; margin: 0 auto; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.careers-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.careers-form .form-field { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.careers-form label { font-weight: 700; font-size: .9rem; margin-bottom: .45rem; color: var(--black); }
.careers-form label .req { color: var(--red); }
.careers-form label .hint { font-weight: 500; color: var(--gray); font-size: .8rem; }
.careers-form input[type=text],
.careers-form input[type=email],
.careers-form input[type=tel],
.careers-form input[type=url],
.careers-form select,
.careers-form textarea {
    width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--white); color: var(--black); padding: .8rem 1rem; font: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.careers-form select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0, 122, 61, .12); }
.careers-form input[type=file] {
    width: 100%; border: 1px dashed var(--border); border-radius: var(--radius-sm);
    background: var(--white); color: var(--black); padding: .7rem 1rem; font: inherit; cursor: pointer;
}
.careers-form input:focus, .careers-form textarea:focus {
    outline: none; border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0, 122, 61, .12);
}
.careers-form textarea { resize: vertical; min-height: 130px; }
.careers-form .field-err { color: var(--red); font-size: .82rem; margin-top: .35rem; }
.careers-form .form-actions { margin-top: 1.6rem; }
.form-alert { border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.4rem; font-weight: 600; }
.form-alert-error { background: #fbe7ea; color: var(--red); border: 1px solid #f0c7ce; }
.careers-success { text-align: center; padding: 2rem 1rem; }
.careers-success i { font-size: 3rem; color: var(--green); }
.careers-success h2 { margin: 1rem 0 .6rem; }
.careers-success p { color: var(--gray); max-width: 520px; margin: 0 auto 1.6rem; }
@media (max-width: 575.98px) { .careers-form .form-row { grid-template-columns: 1fr; gap: 0; } }

.careers-blocked i { color: #b8860b; }

/* ---- Events: category highlight, sections, filter tabs ---- */
.ev-toolbar { margin-bottom: 2rem; }
.ev-tabs { margin: 0; }
.nb-pill.ev-cat { background: var(--green); color: #fff; font-weight: 800; }
.event-badge-cat { background: var(--green); color: #fff; border-color: var(--green); }
.ev-section-head { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; }
.ev-section-head h2 { margin: 0; font-size: 1.5rem; display: flex; align-items: center; gap: .6rem; }
.ev-section-head h2 i { color: var(--green); }
.ev-section-head-past { margin-top: 3rem; }
.ev-section-head-past h2 i { color: var(--gray); }
.ev-section-empty { color: var(--gray); padding: 0 0 1rem; }
.events-grid-past .ev-card { opacity: .82; transition: opacity var(--transition); }
.events-grid-past .ev-card:hover { opacity: 1; }

/* ---- Legal pages (terms / privacy / cookies) ---- */
.legal-doc { max-width: 820px; margin: 0 auto; }
.legal-intro { font-size: 1.08rem; color: var(--black); margin-bottom: 2rem; }
.legal-h { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.legal-doc p { color: var(--gray); line-height: 1.8; margin-bottom: 1rem; }
.legal-list { margin: 0 0 1.2rem; padding-inline-start: 1.4rem; }
.legal-list li { color: var(--gray); line-height: 1.8; margin-bottom: .5rem; }

/* ---- Partners page: full-width image + text blocks ---- */
.partner-row { margin-bottom: 3.5rem; }
.partner-row:last-child { margin-bottom: 0; }
.partner-media img { width: 100%; height: auto; object-fit: cover; display: block; }
.partner-body { max-width: 900px; margin-bottom: 1.4rem; }
.partner-body h2 { font-size: 1.7rem; margin: 0 0 .8rem; }
.partner-body p { color: var(--gray); line-height: 1.8; margin: 0; font-size: 1.05rem; }
@media (max-width: 767.98px) {
    .partner-row { margin-bottom: 2.6rem; }
}

/* ---- Digital Library grid ---- */
.lib-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lib-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); color: inherit; }
a.lib-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.lib-cover { aspect-ratio: 3 / 4; background: var(--gray-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lib-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-cover.is-blank .media-blank { font-size: 2.4rem; color: #b9c0bc; }
.lib-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.lib-title { font-size: 1rem; line-height: 1.4; margin: 0; color: var(--black); }
.lib-link { font-size: .85rem; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: .4rem; }

/* ---- Initiatives grid ---- */
.init-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.init-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); color: inherit; }
a.init-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.init-cover { aspect-ratio: 16 / 10; background: var(--gray-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.init-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.init-cover.is-blank .media-blank { font-size: 2.4rem; color: #b9c0bc; }
.init-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.init-title { font-size: 1.2rem; margin: 0; color: var(--black); }
.init-text { color: var(--gray); line-height: 1.7; margin: 0; font-size: .95rem; }
.init-link { margin-top: auto; padding-top: .4rem; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: .5rem; }

@media (max-width: 991.98px) { .lib-grid { grid-template-columns: repeat(2, 1fr); } .init-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .lib-grid, .init-grid { grid-template-columns: 1fr; } }

/* ---- Search / 404 page ---- */
.search-page-form { display: flex; align-items: center; gap: .6rem; max-width: 640px; margin: 1.6rem 0 0; position: relative; }
.search-page-form i.fa-magnifying-glass { position: absolute; inset-inline-start: 1.1rem; color: var(--gray); pointer-events: none; }
.search-page-form input {
    flex: 1; border: 1px solid var(--border); border-radius: 50px; background: var(--white); color: var(--black);
    padding: .85rem 1.3rem .85rem 2.7rem; font: inherit; transition: border-color var(--transition), box-shadow var(--transition);
}
[dir="rtl"] .search-page-form input { padding: .85rem 2.7rem .85rem 1.3rem; }
.search-page-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0,122,61,.12); }
.search-page-form button { border: none; background: var(--green); color: #fff; border-radius: 50px; padding: .85rem 1.6rem; font-weight: 700; cursor: pointer; transition: background var(--transition); }
.search-page-form button:hover { background: var(--green-dark); }
.search-summary { color: var(--gray); font-size: 1rem; margin-bottom: 1.6rem; }

.search-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.search-group-title { font-size: 1.15rem; margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 2px solid var(--green); display: inline-block; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.search-list li:last-child { border-bottom: none; }
.search-list a { color: var(--black); font-weight: 600; }
.search-list a:hover { color: var(--green); }

.search-fallback { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.sf-title { font-size: 1.05rem; margin: 0 0 1rem; color: var(--black); }
.sf-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.sf-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); line-height: 1.5; }
.sf-list a { color: var(--gray); font-size: .92rem; }
.sf-list a:hover { color: var(--green); }
.sf-all { font-weight: 700; font-size: .85rem; color: var(--green); display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 991.98px) { .search-fallback { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (max-width: 575.98px) { .search-results, .search-fallback { grid-template-columns: 1fr; } }

/* ---- Newsletter subscribe message ---- */
.subscribe-msg { margin: .9rem 0 0; font-weight: 600; font-size: .92rem; }
.subscribe-msg.ok { color: var(--green); }
.subscribe-msg.err { color: var(--red); }
