/* STYLE SYSTEM FOR REDESIGNED SDG HUB */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* --- COLOR SYSTEMS & VARIABLES (HSL) --- */
:root {
    /* Brand Colors */
    --brand-blue: 218, 65%, 26%;       /* #002b5c - Deep Navy */
    --brand-blue-light: 218, 50%, 30%;
    --brand-red: 357, 70%, 36%;        /* #c5192d - Crimson Red */
    --brand-accent: 357, 70%, 36%;       /* #9b1b22 - Crimson Red */
    --brand-accent-rgb: 155, 27, 34;

    /* Theme Transition */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- DARK THEME TOKENS (DEFAULT) --- */
[data-theme="dark"] {
    --bg-site: #030812;                 /* Deep space black-blue */
    --bg-card: rgba(10, 22, 45, 0.5);   /* Dark semi-transparent blue */
    --bg-card-hover: rgba(14, 30, 61, 0.75);
    --bg-nav: rgba(3, 8, 18, 0.75);
    --text-heading: #ffffff;
    --text-body: #a0aec0;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(155, 27, 34, 0.3);
    --shadow-main: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --accent-glow: radial-gradient(circle, rgba(155, 27, 34, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    --bg-progress: rgba(255, 255, 255, 0.08);
}

/* --- LIGHT THEME TOKENS --- */
[data-theme="light"] {
    --bg-site: #f4f6fa;                 /* Light bluish white */
    --bg-card: rgba(255, 255, 255, 0.75); /* Clean white glass */
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-nav: rgba(244, 246, 252, 0.85);
    --text-heading: #17376e;            /* Official HUB Deep Navy */
    --text-body: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(0, 43, 92, 0.25);
    --shadow-main: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    --accent-glow: radial-gradient(circle, rgba(0, 43, 92, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    --bg-progress: rgba(15, 23, 42, 0.06);
}

/* --- BASE STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-site);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    transition: color 0.5s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-site);
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--brand-blue-light));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--brand-accent));
}

/* Hide Scrollbar helper */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- GLOWING ORBS BACKGROUND --- */
.orb-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-blue {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, hsl(var(--brand-blue)) 0%, rgba(0,0,0,0) 70%);
    top: -10%;
    right: -5%;
}

.orb-accent {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, hsl(var(--brand-accent), 0.3) 0%, rgba(0,0,0,0) 70%);
    bottom: 20%;
    left: -10%;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(50px, 30px); }
}

/* --- GLASSMORPHISM CARD UTILITY --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-main);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -15px rgba(var(--brand-accent-rgb), 0.15);
}

/* --- STUNNING NAVIGATION BAR --- */
.navbar {
    background: var(--bg-nav) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    transition: var(--transition-smooth);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.brand-text-container {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-heading);
}

.brand-sub {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: hsl(var(--brand-accent));
    text-transform: uppercase;
    margin-top: 1px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-heading) !important;
    padding: 6px 16px !important;
    margin: 0 2px;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: hsl(var(--brand-accent)) !important;
    background: rgba(155, 27, 34, 0.08);
}

/* Header Action Buttons */
.nav-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: var(--transition-bounce);
}

.nav-action-btn:hover {
    color: hsl(var(--brand-accent));
    border-color: hsl(var(--brand-accent));
    background: rgba(155, 27, 34, 0.1);
    transform: scale(1.08);
}

.lang-switch {
    background: rgba(155, 27, 34, 0.06);
    border: 1px solid rgba(155, 27, 34, 0.25);
    color: hsl(var(--brand-accent));
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
}

.lang-switch:hover {
    background: hsl(var(--brand-accent));
    color: #030812;
    box-shadow: 0 8px 20px rgba(155, 27, 34, 0.25);
}

/* --- HERO SECTION WITH HUB CAMPUS BACKDROP --- */
.hero-section {
    min-height: 100vh;
    padding: 110px 0 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(3, 8, 18, 0.9) 0%, rgba(3, 8, 18, 0.65) 50%, rgba(3, 8, 18, 0.9) 100%), url('../assets/nh1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 0.5s ease;
}

[data-theme="light"] .hero-section {
    background-image: linear-gradient(135deg, rgba(244, 246, 250, 0.92) 0%, rgba(244, 246, 250, 0.75) 50%, rgba(244, 246, 250, 0.92) 100%), url('../assets/nh1.png');
}

.hero-section .row {
    transform: translateY(-30px);
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: hsl(var(--brand-accent));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.display-hero {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    border-left: 3px solid hsl(var(--brand-accent));
    padding-left: 1.2rem;
    color: var(--text-body);
    margin-bottom: 1.2rem;
}

/* Red Gradient Text */
.text-gradient-red {
    background: linear-gradient(135deg, #c5192d 0%, #9b1b22 50%, #731015 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #9b1b22;
}

/* VCB Style Greeting Weather Card */
.greeting-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-main);
    max-width: 520px;
}

.greeting-weather {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0.5rem;
}

.weather-icon {
    font-size: 1.8rem;
    color: hsl(var(--brand-accent));
    animation: spinSlow 12s linear infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.greeting-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.greeting-text p {
    font-size: 0.78rem;
    color: var(--text-body);
    opacity: 0.9;
}

.search-bar-priority {
    background: rgba(23, 55, 110, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 4px 6px 4px 16px;
    transition: var(--transition-smooth);
}

.search-bar-priority:focus-within {
    border-color: hsl(var(--brand-accent));
    box-shadow: 0 0 15px rgba(155, 27, 34, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.search-bar-priority input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-heading);
    font-family: var(--font-body);
    font-size: 0.85rem;
    flex-grow: 1;
    padding-right: 12px;
}

.search-bar-priority input::placeholder {
    color: var(--text-body);
    opacity: 0.65;
}

/* Premium Buttons */
.btn-premium {
    background: linear-gradient(135deg, #ff6b81 0%, #9b1b22 100%);
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: none;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(155, 27, 34, 0.3);
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(155, 27, 34, 0.5);
}

.btn-premium-outline {
    background: transparent;
    color: var(--text-heading) !important;
    padding: 11px 29px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-premium-outline:hover {
    border-color: hsl(var(--brand-accent));
    color: hsl(var(--brand-accent)) !important;
    background: rgba(155, 27, 34, 0.05);
    transform: translateY(-3px);
}

/* Hero Right: Tech Phone Dashboard Mockup */
.phone-mockup-outer {
    position: relative;
    width: 270px;
    height: 540px;
    margin: 0 auto;
    border: 10px solid #202b3c;
    border-radius: 38px;
    background: #030812;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(155, 27, 34, 0.15);
    overflow: hidden;
    animation: floatPhone 6s ease-in-out infinite alternate;
    z-index: 5;
}

@keyframes floatPhone {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(1deg); }
}

.phone-camera-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 26px;
    background: #202b3c;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #030812;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.phone-scroll-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    animation: mockScroll 25s linear infinite;
}

@keyframes mockScroll {
    0%, 10% { top: 0; }
    40%, 55% { top: -320px; }
    85%, 100% { top: 0; }
}

.phone-header-ui {
    background: linear-gradient(135deg, hsl(var(--brand-blue)) 0%, #030812 100%);
    padding: 40px 15px 20px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.phone-header-ui img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid hsl(var(--brand-accent));
    margin-bottom: 8px;
}

.phone-header-ui h5 {
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
}

.phone-header-ui p {
    font-size: 0.6rem;
    color: hsl(var(--brand-accent));
    letter-spacing: 0.15em;
    margin-top: 1px;
}

.phone-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
}

.phone-app-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px 6px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-heading);
    transition: var(--transition-bounce);
}

.phone-app-item i {
    font-size: 1.15rem;
    color: hsl(var(--brand-accent));
    margin-bottom: 6px;
    display: block;
}

.phone-card-stats {
    padding: 0 12px 12px 12px;
}

.phone-sub-card {
    background: rgba(155, 27, 34, 0.05);
    border: 1px solid rgba(155, 27, 34, 0.15);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    margin-bottom: 10px;
}

.phone-sub-card span.badge {
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: hsl(var(--brand-accent));
    text-transform: uppercase;
    display: block;
}

.phone-sub-card p {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-top: 4px;
    line-height: 1.3;
}

/* Floating quick tabs banner overlapping the bottom of Hero */
.hero-quick-tabs-container {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.hero-quick-tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 24px;
}

.quick-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-body) !important;
    transition: var(--transition-bounce);
    width: 18%;
    text-align: center;
}

.quick-tab-item:hover {
    transform: translateY(-8px);
    color: var(--text-heading) !important;
}

.quick-tab-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(155, 27, 34, 0.06);
    border: 1px solid var(--border-color);
    color: hsl(var(--brand-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 8px;
    transition: var(--transition-bounce);
}

.quick-tab-item:hover .quick-tab-icon {
    background: hsl(var(--brand-accent));
    color: #030812;
    box-shadow: 0 0 18px rgba(155, 27, 34, 0.5);
    transform: scale(1.05);
}

.quick-tab-text {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- SECTION PADDINGS & TITLES --- */
.section-padding {
    padding: 70px 0;
    position: relative;
}

.section-header {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
}

/* --- STRATEGIC PILLARS GRID --- */
.pillar-card {
    height: 100%;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.pillar-card:not(.pillar-card-special) {
    background: linear-gradient(135deg, rgba(16, 44, 30, 0.4) 0%, rgba(12, 33, 56, 0.4) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] .pillar-card:not(.pillar-card-special) {
    background: linear-gradient(135deg, rgba(230, 248, 237, 0.85) 0%, rgba(228, 242, 254, 0.85) 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.pillar-card:not(.pillar-card-special):hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -15px rgba(46, 204, 113, 0.15), 0 25px 50px -15px rgba(0, 43, 92, 0.1);
    border-color: rgba(46, 204, 113, 0.4) !important;
}

[data-theme="light"] .pillar-card:not(.pillar-card-special):hover {
    background: linear-gradient(135deg, rgba(215, 245, 226, 0.95) 0%, rgba(212, 234, 254, 0.95) 100%) !important;
    border-color: rgba(25, 135, 84, 0.25) !important;
}

.pillar-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(25, 135, 84, 0.2);
    transition: var(--transition-bounce);
}

[data-theme="dark"] .pillar-icon-wrapper {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.25);
}

.pillar-card:not(.pillar-card-special):hover .pillar-icon-wrapper {
    background: #198754;
    color: #ffffff;
    border-color: #198754;
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.35);
}

[data-theme="dark"] .pillar-card:not(.pillar-card-special):hover .pillar-icon-wrapper {
    background: #2ecc71;
    color: #030812;
    border-color: #2ecc71;
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.45);
}

.pillar-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.pillar-card p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
}

.pillar-metrics {
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pillar-metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: hsl(var(--brand-accent));
    font-family: var(--font-heading);
}

/* Special Action card in Pillars */
.pillar-card-special {
    background: linear-gradient(135deg, hsl(var(--brand-blue)) 0%, #05142b 100%) !important;
    border-color: rgba(155, 27, 34, 0.25) !important;
}

.pillar-card-special h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: white;
}

/* --- IMPACT DASHBOARD SECTION --- */
.dashboard-section {
    background: radial-gradient(circle at 50% 50%, rgba(155, 27, 34, 0.03) 0%, rgba(3, 8, 18, 0) 80%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.counter-card {
    text-align: center;
    padding: 2.8rem 2rem;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.counter-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.progress-indicator {
    height: 6px;
    background: var(--bg-progress);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--border-color);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, hsl(var(--brand-accent)) 0%, #731015 100%);
    border-radius: 20px;
    width: 0%;
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visual Premium Chart Layout */
.chart-box {
    padding: 2rem;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.chart-title-sub {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: hsl(var(--brand-accent));
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* --- 17 SDGs INTERACTIVE HUB GRID --- */
.sdg-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 10px;
    margin-bottom: 45px;
}

.sdg-card-btn {
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    position: relative;
}

.sdg-card-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-bounce);
}

.sdg-card-btn:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

.sdg-card-btn.active {
    transform: translateY(-10px) scale(1.05);
    border: 4px solid var(--sdg-border-color);
    box-shadow: 0 20px 45px -10px var(--sdg-shadow-color);
}

/* Display Cabinet styling */
.sdg-cabinet {
    border-radius: 28px;
    padding: 2rem;
    border-left: 6px solid var(--primary-sdg-color, hsl(var(--brand-accent)));
    position: relative;
    overflow: hidden;
}

.sdg-cabinet-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 1.2rem;
}

.sdg-cabinet-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--primary-sdg-color, hsl(var(--brand-accent)));
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    object-fit: cover;
}

#cabinet-evidence-link:hover {
    background: var(--primary-sdg-color) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sdg-cabinet-header-text h3 {
    font-size: 1.55rem;
    font-weight: 800;
}

.sdg-cabinet-header-text p {
    font-size: 0.88rem;
    color: var(--text-body);
    margin-top: 4px;
}

/* Tab filters inside SDG Cabinet */
.sdg-tab-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.2rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.sdg-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: var(--transition-smooth);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sdg-tab-btn:hover {
    color: var(--text-heading);
}

.sdg-tab-btn.active {
    color: var(--primary-sdg-color, hsl(var(--brand-accent)));
    border-bottom-color: var(--primary-sdg-color, hsl(var(--brand-accent)));
}

.evidence-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 120px;
}

.evidence-item {
    padding: 0.85rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 16px;
}

.evidence-item:hover {
    background: rgba(155, 27, 34, 0.025);
    border-color: var(--primary-sdg-color, hsl(var(--brand-accent)));
    transform: translateX(6px);
}

.evidence-item-icon {
    font-size: 1.15rem;
    color: var(--primary-sdg-color, hsl(var(--brand-accent)));
}

.evidence-item p {
    font-size: 0.9rem;
    color: var(--text-heading);
    margin: 0;
}

/* Posts linked to the selected SDG */
.sdg-posts-panel {
    margin-top: 24px;
    padding: 2rem;
    border-radius: 28px;
    border-top: 4px solid var(--primary-sdg-color, hsl(var(--brand-accent)));
}

.sdg-posts-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.sdg-posts-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-sdg-color, hsl(var(--brand-accent)));
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.sdg-posts-toolbar h3 {
    margin-bottom: 4px;
    font-size: 1.4rem;
    font-weight: 800;
}

.sdg-posts-summary {
    min-height: 1.3em;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.sdg-posts-year-filter {
    flex: 0 0 150px;
    color: var(--text-heading);
    font-size: 0.75rem;
    font-weight: 700;
}

.sdg-posts-actions {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.sdg-posts-view-all {
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    white-space: nowrap;
}

.sdg-posts-year-filter span {
    display: block;
    margin-bottom: 6px;
}

.sdg-posts-year-filter .form-select {
    border-color: var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-card);
    color: var(--text-heading);
}

.sdg-posts-panel .news-img-box {
    height: 180px;
}

.sdg-posts-panel .news-content-box {
    padding: 1.35rem;
}

.sdg-posts-panel .news-item-link {
    color: inherit;
    text-decoration: none;
}

.sdg-posts-panel .news-sdg-badges {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sdg-posts-panel .news-sdg-badges .news-tag-badge {
    position: static;
}

.sdg-posts-panel .news-sdg-badge {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid color-mix(in srgb, var(--news-sdg-color), transparent 35%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
    color: var(--news-sdg-color);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: normal;
}

.sdg-posts-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.sdg-posts-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-heading);
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.sdg-posts-page-btn:hover:not(:disabled),
.sdg-posts-page-btn.active {
    border-color: var(--primary-sdg-color, hsl(var(--brand-accent)));
    background: var(--primary-sdg-color, hsl(var(--brand-accent)));
    color: #fff;
}

.sdg-posts-page-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.sdg-posts-state {
    padding: 42px 16px;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 767px) {
    .sdg-posts-panel {
        padding: 1.25rem;
    }

    .sdg-posts-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .sdg-posts-year-filter {
        flex-basis: auto;
        width: 150px;
    }

    .sdg-posts-actions {
        align-items: flex-end;
        flex-wrap: wrap;
    }
}

/* --- INITIATIVES TIMELINE SECTION --- */
.timeline-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.timeline-outer {
    position: relative;
    padding: 30px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--brand-blue)) 0%, hsl(var(--brand-accent)) 50%, hsl(var(--brand-red)) 100%);
    opacity: 0.6;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-site);
    border: 4px solid var(--border-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    transition: var(--transition-bounce);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-top: 10px;
    transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-dot {
    border-color: hsl(var(--brand-accent));
    transform: scale(1.25);
}

.timeline-step.active .timeline-dot {
    background: hsl(var(--brand-accent));
    border-color: white;
    box-shadow: 0 0 20px rgba(155, 27, 34, 0.7);
    transform: scale(1.35);
}

.timeline-step.active .timeline-year {
    color: var(--text-heading);
    font-size: 1.3rem;
}

/* Masonry / Responsive Grid News Card */
.news-item-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-item-card:hover .news-img-box img {
    transform: scale(1.05);
}

.news-tag-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(3, 8, 18, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.news-content-box {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    font-weight: 700;
    color: hsl(var(--brand-accent));
}

/* --- INTERACTIVE MASCOT CHATBOT (HUBI) --- */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.chatbot-mascot {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--brand-accent)) 0%, #731015 100%);
    box-shadow: 0 10px 25px rgba(155, 27, 34, 0.4);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
}

.chatbot-mascot img {
    width: 82%;
    height: 82%;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff;
    border: 2px solid white;
}

.chatbot-mascot:hover {
    transform: scale(1.08) rotate(5deg);
}

.chatbot-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: hsl(var(--brand-accent));
    opacity: 0.4;
    animation: mascotPulse 2s infinite;
    z-index: -1;
}

@keyframes mascotPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 0; }
}

.chatbot-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px;
    height: 520px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: var(--transition-bounce);
    border: 1.5px solid hsl(var(--brand-accent));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 10001;
}

.chatbot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    background: linear-gradient(135deg, hsl(var(--brand-blue)) 0%, #030812 100%);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header-info img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid hsl(var(--brand-accent));
    object-fit: contain;
    background: #ffffff;
}

.chatbot-header-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
}

.chatbot-header-info span {
    font-size: 0.65rem;
    color: hsl(var(--brand-accent));
    display: block;
}

.chatbot-body {
    flex-grow: 1;
    background: var(--bg-site);
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.chat-bubble.bot {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: linear-gradient(135deg, #ff6b81 0%, #9b1b22 100%);
    color: #030812;
    font-weight: 600;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-options-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.chat-opt-btn {
    background: rgba(155, 27, 34, 0.05);
    border: 1px solid rgba(155, 27, 34, 0.2);
    color: hsl(var(--brand-accent));
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chat-opt-btn:hover {
    background: hsl(var(--brand-accent));
    color: #030812;
}

.chatbot-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chatbot-input {
    flex-grow: 1;
    background: var(--bg-site);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 8px 16px;
    color: var(--text-heading);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-smooth);
}

.chatbot-input:focus {
    border-color: hsl(var(--brand-accent));
    box-shadow: 0 0 10px rgba(155, 27, 34, 0.2);
}

.chatbot-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: hsl(var(--brand-accent));
    color: #030812;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.chatbot-send-btn:hover {
    background: #731015;
}

/* --- EXQUISITE FOOTER --- */
footer {
    background: #010408;
    color: var(--text-muted);
    padding: 90px 0 40px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.88rem;
}

[data-theme="light"] footer {
    background: #e2e8f0;
    color: #475569;
}

.footer-brand-text {
    color: #ffffff;
}

[data-theme="light"] .footer-brand-text {
    color: #17376e;
}

.footer-subtext {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .footer-subtext {
    color: #64748b;
}

.footer-heading {
    color: var(--text-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: hsl(var(--brand-accent));
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 0.7rem;
}

.footer-link {
    color: var(--text-body);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-link:hover {
    color: hsl(var(--brand-accent));
    transform: translateX(4px);
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    text-decoration: none;
}

.footer-social-btn:hover {
    background: hsl(var(--brand-accent));
    color: #030812;
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(155, 27, 34, 0.4);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- SDG PILL BADGES --- */
.sdg-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

[data-theme="dark"] .badge-e {
    background: rgba(46, 204, 113, 0.15);
    border-color: rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}
[data-theme="light"] .badge-e {
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.25);
    color: #198754;
}

[data-theme="dark"] .badge-s {
    background: rgba(253, 105, 37, 0.15);
    border-color: rgba(253, 105, 37, 0.3);
    color: #fd6925;
}
[data-theme="light"] .badge-s {
    background: rgba(253, 105, 37, 0.1);
    border-color: rgba(253, 105, 37, 0.25);
    color: #c04e07;
}

[data-theme="dark"] .badge-g {
    background: rgba(0, 142, 206, 0.15);
    border-color: rgba(0, 142, 206, 0.3);
    color: #008ece;
}
[data-theme="light"] .badge-g {
    background: rgba(0, 104, 157, 0.1);
    border-color: rgba(0, 104, 157, 0.25);
    color: #005c8a;
}

/* --- SDG REPORTS DOWNLOAD CABINET --- */
.reports-section {
    border-bottom: 1px solid var(--border-color);
}

.report-card {
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.report-cover-box {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(23, 55, 110, 0.2) 0%, rgba(155, 27, 34, 0.2) 100%);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.2rem;
    transition: var(--transition-smooth);
}

.report-card:hover .report-cover-box {
    transform: scale(1.02);
    border-color: hsl(var(--brand-accent));
    box-shadow: 0 10px 25px rgba(155, 27, 34, 0.15);
}

.report-cover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-cover-logo {
    height: 24px;
    width: auto;
}

.report-cover-year {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

[data-theme="light"] .report-cover-year {
    background: linear-gradient(135deg, #17376e 0%, #9b1b22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.report-cover-tag {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: hsl(var(--brand-accent));
    text-transform: uppercase;
}

.report-cover-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.report-cover-footer h4 {
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0;
    color: white;
}

[data-theme="light"] .report-cover-footer h4 {
    color: #17376e;
}

.report-cover-footer span {
    font-size: 0.58rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.report-meta-info {
    display: flex;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.8rem;
}

.report-meta-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.report-desc-text {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.report-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.btn-download-report {
    background: linear-gradient(135deg, #9b1b22 0%, #731015 100%);
    color: white !important;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 5px 15px rgba(155, 27, 34, 0.2);
    text-decoration: none;
}

.btn-download-report:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 27, 34, 0.4);
    background: linear-gradient(135deg, #c5192d 0%, #9b1b22 100%);
}

.report-langs {
    display: flex;
    gap: 6px;
}

.report-langs .lang-badge {
    font-size: 0.58rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.report-langs .lang-badge.active {
    color: hsl(var(--brand-accent));
    border-color: rgba(155, 27, 34, 0.3);
    background: rgba(155, 27, 34, 0.06);
}

/* --- APPLIED FRAMEWORKS & STANDARDS --- */
.framework-card {
    height: 100%;
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.framework-card.p-0 {
    padding: 0 !important;
}

.framework-card-content {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    text-align: center;
    width: 100%;
}

.framework-img-wrapper {
    height: 170px;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: 1px solid var(--border-color);
}

.framework-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.framework-card:hover .framework-img-wrapper img {
    transform: scale(1.08);
}

.framework-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(23, 55, 110, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.framework-badge.badge-red {
    background: rgba(155, 27, 34, 0.9);
}

.framework-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
}

.framework-logo-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: hsl(var(--brand-accent));
    transition: var(--transition-bounce);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .framework-logo-box {
    background: rgba(15, 23, 42, 0.02);
}

.framework-card:hover .framework-logo-box {
    background: hsl(var(--brand-accent));
    color: #030812;
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 20px rgba(155, 27, 34, 0.4);
}

.framework-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .framework-card h4 {
        min-height: 3.5rem;
    }
}

.framework-card .framework-fullname {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--brand-accent));
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .framework-card .framework-fullname {
        min-height: 2.2rem;
    }
}

.framework-card p {
    font-size: 0.8rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .framework-card p {
        min-height: 6rem;
    }
}

/* --- SDG GOAL DETAIL SUBPAGE SPECIFIC STYLES --- */
.goal-hero-section {
    height: auto;
    min-height: 280px;
    padding: 100px 0 40px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-image: url('../assets/nh1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 0.5s ease;
}

/* Background mask dynamically utilizing the SDG specific color variable */
.goal-hero-mask {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(3, 8, 18, 0.95) 0%, rgba(var(--primary-sdg-color-rgb, 15, 23, 42), 0.75) 50%, rgba(3, 8, 18, 0.95) 100%);
    pointer-events: none;
}

[data-theme="light"] .goal-hero-mask {
    background: linear-gradient(135deg, rgba(244, 246, 250, 0.95) 0%, rgba(var(--primary-sdg-color-rgb, 244, 246, 250), 0.75) 50%, rgba(244, 246, 250, 0.95) 100%);
}

.goal-hero-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary-sdg-color, hsl(var(--brand-accent)));
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.goal-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.goal-hero-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--primary-sdg-color, hsl(var(--brand-accent)));
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.goal-hero-icon-box img {
    max-width: 140px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 0 3px var(--primary-sdg-color);
    transition: var(--transition-bounce);
}

.goal-hero-icon-box img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Strategic initiatives section */
.initiative-card {
    height: 100%;
    padding: 1.5rem;
    border-left: 5px solid var(--primary-sdg-color, hsl(var(--brand-accent))) !important;
    transition: var(--transition-smooth);
}

.initiative-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(var(--primary-sdg-color-rgb, 155, 27, 34), 0.12);
}

.initiative-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--primary-sdg-color-rgb, 155, 27, 34), 0.1);
    color: var(--primary-sdg-color, hsl(var(--brand-accent)));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    border: 1.5px solid rgba(var(--primary-sdg-color-rgb, 155, 27, 34), 0.2);
}

.initiative-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.initiative-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--border-color);
}

.initiative-meta-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Highly premium custom PDF button matching user's screenshot exactly */
.evidence-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border: 2px solid #9b1b22;
    border-radius: 50px;
    background: transparent;
    color: #17376e !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-bounce);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(155, 27, 34, 0.05);
}

[data-theme="dark"] .evidence-pill-btn {
    border-color: #9b1b22;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.02);
}

.evidence-pill-btn:hover {
    transform: translateY(-2px);
    background: rgba(155, 27, 34, 0.06) !important;
    box-shadow: 0 8px 18px rgba(155, 27, 34, 0.15);
}

[data-theme="dark"] .evidence-pill-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.evidence-pill-btn i {
    font-size: 1.05rem;
    color: #17376e;
}

[data-theme="dark"] .evidence-pill-btn i {
    color: #ffffff;
}

/* Related goals list */
.related-sdg-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-sdg-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.related-sdg-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.related-sdg-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- OFFLINE EVIDENCE READER MODAL SYSTEM --- */
.evidence-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(3, 8, 18, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: none; /* Controlled by JS class active/open */
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.evidence-modal-backdrop.open {
    display: flex;
}

.evidence-modal-window {
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.evidence-modal-header {
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
}

.evidence-modal-body {
    flex-grow: 1;
    display: flex;
    overflow: hidden;
    height: calc(100% - 70px);
}

.evidence-modal-sidebar {
    width: 280px;
    border-right: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.05);
    padding: 1.5rem 1rem;
    overflow-y: auto;
    flex-shrink: 0;
}

.evidence-modal-viewport {
    flex-grow: 1;
    background: #02050b;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

[data-theme="light"] .evidence-modal-viewport {
    background: #e2e8f0;
}

/* Authentic simulated A4 printed document page style */
.document-paper {
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 2rem 2.2rem;
    color: #111111;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.05rem;
    line-height: 1.65;
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

/* Official red margin lines */
.document-paper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 1px;
    background: rgba(229, 36, 59, 0.2);
    pointer-events: none;
}

.document-header-official {
    text-align: center;
    border-bottom: 2px solid #111111;
    padding-bottom: 0.8rem;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.88rem;
}

.document-title-official {
    text-align: center;
    font-size: 1.15rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.4;
}

/* Vector Official Seal CSS Stamp */
.official-seal {
    position: absolute;
    bottom: 80px;
    right: 80px;
    width: 110px;
    height: 110px;
    border: 3px double #9b1b22;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9b1b22;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.48rem;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.75;
    transform: rotate(-12deg);
    pointer-events: none;
    line-height: 1.1;
    background: transparent;
}

.official-seal::after {
    content: 'ĐẠI HỌC NGÂN HÀNG';
    font-size: 0.52rem;
    margin-top: 2px;
}

.official-seal-center {
    font-weight: 900;
    font-size: 0.58rem;
    border-top: 1px solid #9b1b22;
    border-bottom: 1px solid #9b1b22;
    padding: 1px 4px;
    margin: 2px 0;
}

.signature-block {
    margin-top: 3.5rem;
    display: flex;
    justify-content: flex-end;
    text-align: center;
}

.signature-content {
    width: 220px;
}

.signature-content .signer-title {
    font-weight: bold;
    margin-bottom: 50px;
}

.signature-content .signer-name {
    font-weight: bold;
    text-decoration: underline;
}

/* List group modifications inside modal */
.evidence-modal-sidebar .list-group-item {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-body);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.evidence-modal-sidebar .list-group-item:hover,
.evidence-modal-sidebar .list-group-item.active {
    background: rgba(155, 27, 34, 0.08);
    border-color: rgba(155, 27, 34, 0.3);
    color: hsl(var(--brand-accent)) !important;
}

.evidence-modal-sidebar .list-group-item i {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.evidence-modal-sidebar .list-group-item.active i {
    color: hsl(var(--brand-accent));
}

/* --- ABOUT PAGE SPECIFIC STYLES --- */
.about-tab-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    overflow-x: auto;
}

.about-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.about-tab-btn:hover {
    color: var(--text-heading);
}

.about-tab-btn.active {
    color: hsl(var(--brand-accent));
    border-bottom-color: hsl(var(--brand-accent));
}

.about-content-section {
    display: none;
}

.about-content-section.active {
    display: block;
    animation: fadeIn 0.6s ease forwards;
}

/* Leadership cards styling */
.leader-card {
    height: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-bounce);
}

.leader-avatar-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    border: 3px solid var(--border-color);
    padding: 4px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-bounce);
}

.leader-card:hover .leader-avatar-box {
    border-color: hsl(var(--brand-accent));
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(155, 27, 34, 0.3);
}

.leader-avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.leader-card h4 {
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    white-space: nowrap;
}

.leader-card .leader-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--brand-accent));
    margin-bottom: 1rem;
}

.leader-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
    min-height: 95px;
}

/* History Timeline vertical styling */
.about-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 3px;
    background: linear-gradient(180deg, hsl(var(--brand-blue)) 0%, hsl(var(--brand-accent)) 100%);
    opacity: 0.3;
}

.about-timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 3rem;
}

.about-timeline-dot {
    position: absolute;
    left: 21px;
    top: 5px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--bg-site);
    border: 4px solid hsl(var(--brand-accent));
    box-shadow: 0 0 10px rgba(155, 27, 34, 0.4);
    z-index: 5;
    transition: var(--transition-bounce);
}

.about-timeline-item:hover .about-timeline-dot {
    transform: scale(1.3);
    background: hsl(var(--brand-accent));
    box-shadow: 0 0 15px rgba(155, 27, 34, 0.8);
}

.about-timeline-year {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: hsl(var(--brand-accent));
    line-height: 1;
    margin-bottom: 0.4rem;
}

.about-timeline-card {
    padding: 1.5rem;
}

.about-timeline-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.about-timeline-card p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- CAMPUS HORIZONTAL SLIDER --- */
.campus-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.campus-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 5px 25px 5px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    flex-grow: 1;
}

.campus-slider.grabbing {
    cursor: grabbing;
    user-select: none;
    scroll-snap-type: none;
}

.campus-slider img {
    user-select: none;
    -webkit-user-drag: none;
}

/* Custom Scrollbar for Slider */
.campus-slider::-webkit-scrollbar {
    height: 6px;
}

.campus-slider::-webkit-scrollbar-track {
    background: var(--bg-progress);
    border-radius: 10px;
}

.campus-slider::-webkit-scrollbar-thumb {
    background: rgba(var(--brand-accent-rgb), 0.25);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.campus-slider::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--brand-accent-rgb), 0.6);
}

.campus-slide-item {
    flex: 0 0 290px;
    scroll-snap-align: start;
    transition: var(--transition-smooth);
    display: flex;
}

.campus-slide-item:hover {
    transform: translateY(-4px);
}

.campus-slide-item > .premium-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.campus-slide-item > .premium-card > div:first-child {
    height: 350px !important;
}

.campus-slide-item > .premium-card > div:last-child {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Fade Gradients for Slider edges */
.campus-slider-wrapper::before,
.campus-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 25px;
    width: 40px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.campus-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-site), transparent);
    opacity: 1;
}

.campus-slider-wrapper.at-start::before {
    opacity: 0;
}

.campus-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-site), transparent);
    opacity: 1;
}

.campus-slider-wrapper.at-end::after {
    opacity: 0;
}

/* Premium Slider Arrows */
.slider-arrow {
    position: absolute;
    top: calc(50% - 7px);
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-main);
    z-index: 5;
    transition: var(--transition-bounce);
}

.slider-arrow:hover {
    background: linear-gradient(135deg, #ff6b81 0%, #9b1b22 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(155, 27, 34, 0.25);
}

.slider-arrow.arrow-left {
    left: -19px;
}

.slider-arrow.arrow-right {
    right: -19px;
}

.slider-arrow:disabled,
.slider-arrow.disabled {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 576px) {
    .campus-slide-item {
        flex: 0 0 260px;
    }
    .slider-arrow {
        display: none; /* Hide arrows on small mobile touchscreens */
    }
    .campus-slider-wrapper::before,
    .campus-slider-wrapper::after {
        width: 20px;
    }
}

/* --- INITIATIVES DETAILS MODAL REDESIGN --- */
.news-details-window {
    width: 100%;
    max-width: 800px;
    height: 80vh;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    background: var(--bg-card);
    transition: var(--transition-smooth);
}

.news-modal-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
    flex-shrink: 0;
    background: #030812;
}

.news-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-modal-hero:hover img {
    transform: scale(1.05);
}

.news-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news-modal-close-btn:hover {
    transform: rotate(90deg) scale(1.15);
    background: linear-gradient(135deg, #ff6b81 0%, #9b1b22 100%);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(155, 27, 34, 0.5);
}

.news-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2.5rem;
    background: var(--bg-card);
}

.news-modal-content-text p {
    margin-bottom: 1.5rem;
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text-body);
}

.news-modal-content-text p:first-of-type {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.8;
}

.pdf-document-embed {
    margin: 2rem 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-card);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.pdf-document-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--bg-card) 88%, #9b1b22 12%);
}

.pdf-document-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-heading);
    font-weight: 800;
}

.pdf-document-title i {
    flex-shrink: 0;
    color: #dc2626;
    font-size: 1.45rem;
}

.pdf-document-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-document-actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.55rem;
}

.pdf-document-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-heading);
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.report-cover-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}

.report-cover-box > :not(.report-cover-thumbnail) {
    position: relative;
    z-index: 1;
}

.pdf-document-action:hover {
    border-color: #9b1b22;
    color: #9b1b22;
    transform: translateY(-1px);
}

.pdf-document-action-primary {
    border-color: #9b1b22;
    background: #9b1b22;
    color: #fff;
}

.pdf-document-action-primary:hover {
    background: #7f151b;
    color: #fff;
}

.pdf-document-frame {
    display: block;
    width: 100%;
    height: 620px;
    border: 0;
    background: #eef2f7;
}

.news-modal-content-text .pdf-document-fallback {
    margin: 0;
    padding: 0.75rem 1rem;
    background: color-mix(in srgb, var(--bg-card) 94%, #64748b 6%);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .pdf-document-header {
        align-items: stretch;
        flex-direction: column;
    }

    .pdf-document-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .pdf-document-frame {
        height: 440px;
    }
}


.evidence-plan-card { border-left: 4px solid var(--primary-sdg-color); padding: 1.5rem; }
.evidence-plan-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.evidence-plan-meta span { border: 1px solid var(--border-color); border-radius: 999px; padding: .35rem .75rem; font-size: .78rem; }
.evidence-criteria-accordion .accordion-item { background: transparent; color: var(--text-body); border-color: var(--border-color); }
.evidence-criteria-accordion .accordion-button { background: transparent; color: var(--text-heading); font-weight: 750; }
.evidence-criteria-accordion .accordion-button:not(.collapsed) { color: var(--primary-sdg-color); box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--border-color); }
.evidence-criterion-row { display: grid; grid-template-columns: minmax(5rem, auto) 1fr auto; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.evidence-criterion-row:last-child { border-bottom: 0; }
.evidence-criterion-code { color: var(--primary-sdg-color); font-weight: 800; }
.evidence-links { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.evidence-empty { padding: 1rem; border: 1px dashed var(--border-color); border-radius: 12px; color: var(--text-muted); }
.evidence-record-list { display: flex; flex-direction: column; }
.evidence-record-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.evidence-record-item:first-child { padding-top: 0; }
.evidence-record-item:last-child { padding-bottom: 0; border-bottom: 0; }
.evidence-record-icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: .75rem; background: color-mix(in srgb, var(--primary-sdg-color) 10%, transparent); color: var(--primary-sdg-color); font-size: 1.2rem; }
.evidence-record-content { min-width: 0; }
.evidence-record-content h3 { margin: 0; color: var(--text-heading); font-size: .95rem; font-weight: 750; line-height: 1.45; }
.evidence-record-meta { margin-top: .3rem; color: var(--text-muted); font-size: .72rem; overflow-wrap: anywhere; }
@media (max-width: 767px) { .evidence-criterion-row { grid-template-columns: 1fr; } .evidence-links { align-items: flex-start; } }
@media (max-width: 767px) { .evidence-record-item { grid-template-columns: auto 1fr; } .evidence-record-item > a { grid-column: 2; justify-self: start; } }
