:root {
    --sdg-blue: #19486a;
    --sdg-green: #4c9f38;
    --sdg-yellow: #f6c343;
    --sdg-red: #c5192d;
    --sdg-bg: #f7faf8;
}

body {
    background: var(--sdg-bg);
    color: #172033;
}

.navbar {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #e5ece8;
    backdrop-filter: blur(10px);
}

.public-hero {
    color: #fff;
    background: linear-gradient(135deg, rgba(25, 72, 106, .96), rgba(76, 159, 56, .88) 58%, rgba(246, 195, 67, .88));
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    font-weight: 800;
    opacity: .78;
}

.hero-panel,
.feature-card,
.stat-card,
.content-card,
.login-card {
    background: #fff;
    border: 1px solid #e2ebe6;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(25, 72, 106, .08);
}

.hero-panel {
    color: #172033;
    padding: 1.5rem;
}

.feature-card,
.stat-card {
    min-height: 128px;
    padding: 1.4rem;
}

.feature-card {
    height: 100%;
}

.feature-key {
    color: var(--sdg-green);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: .65rem;
    text-transform: uppercase;
}

.stat-card span {
    color: #667085;
    display: block;
    margin-bottom: .45rem;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    color: var(--sdg-blue);
}

.content-card {
    padding: 1.5rem;
    height: 100%;
}

.landing-richtext {
    line-height: 1.7;
}

.landing-richtext p:last-child {
    margin-bottom: 0;
}

.video-frame {
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
}

.news-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #edf2ef;
}

.news-row:last-child {
    border-bottom: 0;
}

.news-row img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: #eef3f0;
}

.empty-box {
    min-height: 120px;
    display: grid;
    place-items: center;
    border: 1px dashed #c9d8d0;
    border-radius: 14px;
    color: #667085;
    background: #f9fcfa;
}

.landing-thumb {
    width: 92px;
    height: 62px;
    object-fit: cover;
}

.project-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #edf2ef;
}

.project-row:last-child {
    border-bottom: 0;
}

.progress-pill {
    align-self: start;
    min-width: 64px;
    text-align: center;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #e8f5ed;
    color: #1f7a3f;
    font-weight: 800;
}

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #eef9f1, #f8fbff);
}

.login-card {
    padding: 2rem;
}

.app-mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--sdg-blue), var(--sdg-green));
    color: #fff;
    font-size: 1.7rem;
}

.btn-sdg,
.navbar-sdg,
.bg-sdg {
    background: linear-gradient(135deg, var(--sdg-blue), var(--sdg-green)) !important;
    color: #fff !important;
    border: 0;
}

.main-sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--sdg-blue), var(--sdg-green)) !important;
    color: #fff !important;
}

.small-box .icon {
    opacity: .22;
}

@media (max-width: 575.98px) {
    .news-row {
        grid-template-columns: 76px 1fr;
    }

    .news-row img {
        width: 76px;
        height: 60px;
    }
}
