/*
Theme Name: Innovative Pakistan 2026
Theme URI: https://tuf.edu.pk/innovative-pakistan-2026
Author: The University of Faisalabad (TUF) & Antigravity
Author URI: https://tuf.edu.pk
Description: Premium, modern event theme for Innovative Pakistan 2026 — the national student innovation and technology championship organized by The University of Faisalabad (TUF). Built with the official White + Deep Emerald Green (#115A3D) visual identity.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: innovative-pakistan
Tags: event, university, technology, innovation, responsive, custom-colors, custom-post-types, clean, light-theme
*/

/* ==========================================================================
   NAVBAR & LOGO DETERMINISTIC SIZING
   ========================================================================== */
#site-header .site-navbar-logo {
    display: block;
    width: 190px;
    max-width: 190px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

#site-header > .ip-container {
    padding-top: 6px;
    padding-bottom: 6px;
}

@media (max-width: 1023px) {
    #site-header .site-navbar-logo {
        width: 160px;
        max-width: 160px;
        max-height: 52px;
    }
}

@media (max-width: 640px) {
    #site-header .site-navbar-logo {
        width: 140px;
        max-width: 140px;
        max-height: 45px;
    }
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY — PARAGRAPH TEXT JUSTIFICATION (Desktop >= 768px Only)
   ========================================================================== */
@media (min-width: 768px) {
    p.text-justify,
    .text-justify,
    .ip-text-justify,
    .ip-ecosystem-hero-copy,
    .ip-events-copy,
    .ip-media-hero-desc,
    .ip-about-hero-copy,
    .ip-projects-hero-copy {
        text-align: justify !important;
        text-justify: inter-word !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
    }
}

@media (max-width: 767px) {
    p,
    p.text-justify,
    .text-justify,
    .ip-text-justify,
    .ip-ecosystem-hero-copy,
    .ip-events-copy,
    .ip-media-hero-desc,
    .ip-about-hero-copy,
    .ip-projects-hero-copy {
        text-align: left !important;
        text-justify: auto !important;
        hyphens: manual !important;
        -webkit-hyphens: manual !important;
    }
}

/* ==========================================================================
   HOMEPAGE — ECOSYSTEM-STYLE CARD VISUAL REFINEMENT
   Scoped strictly to Homepage (#collaborators & #commercialization)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. STRATEGIC COLLABORATORS (#collaborators)
   -------------------------------------------------------------------------- */
body.home #collaborators .ip-carousel-track > div,
.home #collaborators .ip-carousel-track > div {
    width: 345px !important;
    min-width: 345px !important;
    max-width: 345px !important;
    height: 260px !important;
    background: #F8FCFA !important;
    border: 1px solid #D9E8E0 !important;
    border-radius: 16px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease-in-out !important;
}

body.home #collaborators .ip-carousel-track > div:hover,
.home #collaborators .ip-carousel-track > div:hover {
    border-color: #168F5B !important;
    box-shadow: 0 4px 12px rgba(22, 143, 91, 0.08) !important;
}

/* Strategic Logo Stage (80px dedicated white stage, 48px max contained logo) */
body.home #collaborators .ip-carousel-track > div .h-\[85px\],
body.home #collaborators .ip-carousel-track > div > div > div:first-child,
.home #collaborators .ip-carousel-track > div .h-\[85px\] {
    width: 100% !important;
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    background: #FFFFFF !important;
    border: 1px solid #D9E8E0 !important;
    border-radius: 12px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

body.home #collaborators .ip-carousel-track > div:hover .h-\[85px\],
body.home #collaborators .ip-carousel-track > div:hover > div > div:first-child {
    border-color: rgba(22, 143, 91, 0.4) !important;
}

body.home #collaborators .ip-carousel-track > div img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 48px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Strategic Typography */
body.home #collaborators .ip-carousel-track > div span.font-mono {
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #168F5B !important;
    display: block !important;
    margin-bottom: 2px !important;
}

body.home #collaborators .ip-carousel-track > div h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #071A13 !important;
    margin-bottom: 2px !important;
}

body.home #collaborators .ip-carousel-track > div p {
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #52645D !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Strategic Footer */
body.home #collaborators .ip-carousel-track > div .mt-auto,
body.home #collaborators .ip-carousel-track > div > div:last-child {
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid #D9E8E0 !important;
    font-size: 10px !important;
    font-family: var(--font-mono), monospace !important;
    color: #94A3B8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}


/* --------------------------------------------------------------------------
   2. COMMERCIALIZATION & INDUSTRIAL PARTNERSHIPS (#commercialization)
   -------------------------------------------------------------------------- */
body.home #commercialization,
.home #commercialization {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

body.home #commercialization .ip-carousel-track > div,
.home #commercialization .ip-carousel-track > div {
    width: 345px !important;
    min-width: 345px !important;
    max-width: 345px !important;
    height: 310px !important;
    background: #041F14 !important;
    border: 1px solid rgba(22, 143, 91, 0.40) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease-in-out !important;
}

body.home #commercialization .ip-carousel-track > div:hover,
.home #commercialization .ip-carousel-track > div:hover {
    border-color: #34D399 !important;
    box-shadow: 0 4px 14px rgba(52, 211, 153, 0.12) !important;
}

/* Commercialization Logo Stage (80px dedicated white stage, 48px max contained logo) */
body.home #commercialization .ip-carousel-track > div .h-\[85px\],
body.home #commercialization .ip-carousel-track > div > div > div:first-child,
.home #commercialization .ip-carousel-track > div .h-\[85px\] {
    width: 100% !important;
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(22, 143, 91, 0.40) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
}

body.home #commercialization .ip-carousel-track > div img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 48px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Commercialization Typography */
body.home #commercialization .ip-carousel-track > div span.font-mono:first-of-type,
body.home #commercialization .ip-carousel-track > div span.text-\[10px\].font-mono {
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #34D399 !important;
    display: block !important;
    margin-bottom: 2px !important;
}

body.home #commercialization .ip-carousel-track > div h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #FFFFFF !important;
    margin-bottom: 2px !important;
}

body.home #commercialization .ip-carousel-track > div span.text-slate-300,
body.home #commercialization .ip-carousel-track > div span.text-xs.font-semibold {
    font-size: 11px !important;
    color: #94A3B8 !important;
    font-family: var(--font-mono), monospace !important;
    line-height: 1.2 !important;
    display: block !important;
    margin-bottom: 4px !important;
}

body.home #commercialization .ip-carousel-track > div p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #CBD5E1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Commercialization Footer */
body.home #commercialization .ip-carousel-track > div .mt-auto,
body.home #commercialization .ip-carousel-track > div > div:last-child {
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(22, 143, 91, 0.30) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

body.home #commercialization .ip-carousel-track > div .mt-auto span:first-child,
body.home #commercialization .ip-carousel-track > div > div:last-child span:first-child {
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #F4B400 !important;
    font-family: var(--font-mono), monospace !important;
}

body.home #commercialization .ip-carousel-track > div .mt-auto span:last-child,
body.home #commercialization .ip-carousel-track > div > div:last-child span:last-child {
    color: #34D399 !important;
    font-size: 12px !important;
}


/* --------------------------------------------------------------------------
   3. RESPONSIVE BREAKPOINTS (MOBILE ONLY: 300px CARD)
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
    body.home #collaborators .ip-carousel-track > div,
    .home #collaborators .ip-carousel-track > div,
    body.home #commercialization .ip-carousel-track > div,
    .home #commercialization .ip-carousel-track > div {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
    }
}

/* ==========================================================================
   ECOSYSTEM PAGE — NATIONAL INNOVATION NEXUS HERO
   Scoped exclusively to .ip-ecosystem-hero and its sub-elements
   ========================================================================== */

.ip-ecosystem-hero {
    position: relative;
    padding-top: 116px;
    padding-bottom: 48px;
    background: #FFFFFF;
    border-bottom: 1px solid #D9E8E0;
    overflow: hidden;
}

@media (min-width: 640px) {
    .ip-ecosystem-hero {
        padding-top: 124px;
    }
}

.ip-ecosystem-hero-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.72fr) minmax(680px, 1.5fr);
    gap: 40px;
    align-items: start;
}

.ip-ecosystem-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 6px;
}

@media (max-width: 1200px) {
    .ip-ecosystem-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.ip-ecosystem-hero-title {
    font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
    font-size: clamp(28px, 2.5vw, 42px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #071A13;
    margin-top: 10px;
    margin-bottom: 14px;
    max-width: 520px;
}

.ip-ecosystem-hero-title .ip-title-highlight {
    color: #168F5B;
}

.ip-ecosystem-hero-copy {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   NEXUS CONTAINER
   -------------------------------------------------------------------------- */
.ip-ecosystem-nexus {
    background: #021B13;
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(3, 21, 14, 0.18);
    position: relative;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.ip-nexus-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 12px 24px;
    border-bottom: 1px solid rgba(22, 143, 91, 0.35);
    position: relative;
    z-index: 10;
}

.ip-nexus-title {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 800;
    color: #34D399;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ip-nexus-badge-gold {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    color: #F4B400;
    background: rgba(244, 180, 0, 0.14);
    border: 1px solid rgba(244, 180, 0, 0.45);
    padding: 2px 10px;
    border-radius: 9999px;
    letter-spacing: 0.06em;
    box-shadow: 0 0 10px rgba(244, 180, 0, 0.18);
}

/* Upper Stage */
.ip-nexus-stage {
    position: relative;
    padding: 28px 30px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.ip-nexus-matrix-bg {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events-none;
    background-image: radial-gradient(#34D399 1px, transparent 1px);
    background-size: 18px 18px;
}

/* Concentric Orbit Radar Rings Centered Behind Pakistan Core */
.ip-nexus-ambient-glow {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events-none;
    z-index: 1;
}

.ip-nexus-ambient-glow::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.24) 0%, rgba(16, 185, 129, 0.06) 50%, transparent 72%);
}

.ip-nexus-ring-outer {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px dashed rgba(52, 211, 153, 0.16);
    pointer-events-none;
    animation: ecoRadarSpinRev 60s linear infinite;
}

.ip-nexus-ring-inner {
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    border: 1px solid rgba(52, 211, 153, 0.12);
    pointer-events-none;
    animation: ecoRadarSpin 45s linear infinite;
}

.ip-nexus-ring-glow {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 1px solid rgba(52, 211, 153, 0.08);
    box-shadow: 0 0 25px rgba(52, 211, 153, 0.18);
    pointer-events-none;
}

@keyframes ecoRadarSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ecoRadarSpinRev {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes ecoSignalPulse {
    0% { stroke-dashoffset: 90; opacity: 0.35; }
    50% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0.35; }
}

.ip-nexus-pulse-path {
    stroke-dasharray: 12 24;
    animation: ecoSignalPulse 5s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .ip-nexus-ring-outer,
    .ip-nexus-ring-inner,
    .ip-nexus-pulse-path {
        animation: none !important;
    }
}

/* Central Dominant Pakistan Core Stage */
.ip-nexus-core-stage {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 6;
    pointer-events: none;
}

.ip-nexus-core-map {
    width: 250px;
    height: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 20px rgba(52, 211, 153, 0.45));
}

/* Four Orbital Metric Nodes */
.ip-nexus-node {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 10;
    max-width: 230px;
    transition: transform 0.2s ease-in-out;
}

.ip-nexus-node:hover {
    transform: translateY(-2px);
}

.ip-nexus-icon-stage {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #042117;
    border: 1.5px solid rgba(52, 211, 153, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34D399;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.30), inset 0 0 10px rgba(52, 211, 153, 0.15);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ip-nexus-node:hover .ip-nexus-icon-stage {
    transform: scale(1.05);
}

.ip-nexus-node-gold .ip-nexus-icon-stage {
    background: #261C04;
    border-color: #F4B400;
    color: #F4B400;
    box-shadow: 0 0 24px rgba(244, 180, 0, 0.45), inset 0 0 10px rgba(244, 180, 0, 0.20);
}

.ip-nexus-node-info {
    display: flex;
    flex-direction: column;
}

.ip-nexus-node-label {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    color: #34D399;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 2px;
}

.ip-nexus-node-gold .ip-nexus-node-label {
    color: #F4B400;
}

.ip-nexus-node-metric {
    font-family: var(--font-mono, monospace);
    font-size: 40px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 3px;
}

.ip-nexus-node-gold .ip-nexus-node-metric {
    color: #F4B400;
}

.ip-nexus-node-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
}

.ip-nexus-node-gold .ip-nexus-node-title {
    color: #F4B400;
}

.ip-nexus-node-desc {
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    color: #94A3B8;
    margin-top: 2px;
    line-height: 1.25;
}

/* Bottom Real-Media Strip (118px tall) */
.ip-nexus-media-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(22, 143, 91, 0.35);
    background: #01140E;
    position: relative;
    z-index: 10;
}

.ip-nexus-media-tile {
    position: relative;
    height: 118px;
    overflow: hidden;
    border-right: 1px solid rgba(22, 143, 91, 0.25);
}

.ip-nexus-media-tile:last-child {
    border-right: none;
}

.ip-nexus-media-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ip-nexus-media-tile:hover img {
    transform: scale(1.08);
}

.ip-nexus-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 27, 19, 0.80) 0%, rgba(2, 27, 19, 0.15) 60%, transparent 100%);
    pointer-events-none;
}

/* Journey Bar */
.ip-nexus-journey-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: #01110C;
    border-top: 1px solid rgba(22, 143, 91, 0.35);
    padding: 12px 20px;
    position: relative;
    z-index: 10;
}

.ip-nexus-journey-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.ip-nexus-journey-step-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ip-nexus-journey-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(22, 143, 91, 0.25);
    border: 1px solid rgba(52, 211, 153, 0.40);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34D399;
    flex-shrink: 0;
}

.ip-nexus-journey-step:nth-child(4) .ip-nexus-journey-icon {
    background: rgba(244, 180, 0, 0.15);
    border-color: rgba(244, 180, 0, 0.45);
    color: #F4B400;
}

.ip-nexus-journey-name {
    font-size: 11px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    line-height: 1.1;
}

.ip-nexus-journey-sub {
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    color: #94A3B8;
    display: block;
    line-height: 1.1;
    margin-top: 1.5px;
}

.ip-nexus-journey-arrow {
    color: #168F5B;
    font-weight: 700;
    font-size: 12px;
}

/* Responsive adjustments for Nexus Graphic */
@media (max-width: 768px) {
    .ip-nexus-stage > svg {
        display: none !important;
    }
    .ip-nexus-stage {
        min-height: auto;
        padding: 20px 14px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: relative;
    }
    .ip-nexus-stage > .flex.justify-between {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        align-items: start !important;
    }
    .ip-nexus-core-stage {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: auto;
        margin: 8px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .ip-nexus-core-map {
        width: 180px;
        height: 170px;
    }
    .ip-nexus-node {
        max-width: 100%;
        gap: 8px;
    }
    .ip-nexus-node-metric {
        font-size: 26px;
        line-height: 1;
        margin-bottom: 2px;
    }
    .ip-nexus-node-label {
        font-size: 8.5px;
        letter-spacing: 0.06em;
    }
    .ip-nexus-node-title {
        font-size: 11.5px;
        line-height: 1.2;
    }
    .ip-nexus-node-desc {
        font-size: 9.5px;
        line-height: 1.25;
        margin-top: 2px;
    }
    .ip-nexus-icon-stage {
        width: 40px;
        height: 40px;
    }
    .ip-nexus-icon-stage svg {
        width: 20px;
        height: 20px;
    }
    .ip-nexus-media-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .ip-nexus-media-tile:nth-child(2) {
        border-right: none;
    }
    .ip-nexus-media-tile:nth-child(1),
    .ip-nexus-media-tile:nth-child(2) {
        border-bottom: 1px solid rgba(22, 143, 91, 0.25);
    }
    .ip-nexus-journey-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px 14px;
    }
}

/* ==========================================================================
   EVENTS PAGE — HERO & EDITION EVOLUTION TRAJECTORY
   ========================================================================== */

.ip-events-hero {
    position: relative;
    min-height: clamp(720px, 80vh, 810px);
    padding-top: 120px;
    padding-bottom: 75px;
    background-color: #F8FCFA;
    border-bottom: 1px solid #D9E8E0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ip-events-hero-dots {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    pointer-events: none;
    background-image: radial-gradient(#168F5B30 1px, transparent 1px);
    background-size: 24px 24px;
}

.ip-events-clock-watermark {
    position: absolute;
    left: 24px;
    bottom: 24px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1024px) {
    .ip-events-clock-watermark {
        display: none;
    }
}

.ip-events-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.70fr) minmax(0, 1.58fr);
    gap: 38px;
    align-items: center;
    width: 100%;
}

@media (max-width: 1023px) {
    .ip-events-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ip-events-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }
}

/* Left Column */
.ip-events-intro {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    z-index: 10;
}

.ip-events-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4.5px 14px;
    border-radius: 9999px;
    background-color: #E8F4EE;
    border: 1px solid #D9E8E0;
    color: #168F5B;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    width: fit-content;
}

.ip-events-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background-color: #168F5B;
    animation: ip-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ip-events-title {
    font-family: var(--font-display, inherit);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #071A13;
    text-transform: uppercase;
}

@media (min-width: 1280px) {
    .ip-events-title {
        font-size: 50px;
    }
}

@media (max-width: 640px) {
    .ip-events-title {
        font-size: 34px;
    }
}

.ip-events-copy {
    font-size: 15.5px;
    line-height: 1.62;
    color: #475569;
    max-width: 520px;
    font-weight: 500;
}

.ip-events-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
}

.ip-events-btn-primary {
    padding: 13px 24px;
    border-radius: 12px;
    background-color: #115A3D;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(17, 90, 61, 0.22);
    transition: all 0.2s ease;
}

.ip-events-btn-primary:hover {
    background-color: #168F5B;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(17, 90, 61, 0.32);
}

.ip-events-btn-secondary {
    padding: 13px 24px;
    border-radius: 12px;
    background-color: #FFFFFF;
    border: 1px solid #D9E8E0;
    color: #1E293B;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.ip-events-btn-secondary:hover {
    background-color: #E8F4EE;
    border-color: #168F5B;
    color: #115A3D;
}

/* Right "EDITION EVOLUTION" Panel */
.ip-events-evolution {
    background: linear-gradient(145deg, #021B13 0%, #03150E 100%);
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(3, 21, 14, 0.20);
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    padding: 28px 32px;
    min-height: clamp(620px, 70vh, 700px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ip-events-matrix-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    background-image: radial-gradient(#34D399 1px, transparent 1px);
    background-size: 18px 18px;
}

.ip-events-evolution-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(22, 143, 91, 0.32);
    position: relative;
    z-index: 10;
}

.ip-events-evolution-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    font-weight: 800;
    color: #34D399;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ip-events-badge-edition {
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    font-weight: 700;
    color: #94A3B8;
    background: rgba(22, 143, 91, 0.20);
    border: 1px solid rgba(52, 211, 153, 0.30);
    padding: 3.5px 12px;
    border-radius: 9999px;
}

/* Main Trajectory Stage — Stepped Diagonal Progression */
.ip-events-track-stage {
    position: relative;
    z-index: 10;
    padding: 4px 0 10px 0;
    flex-grow: 1;
    display: flex;
    align-items: stretch;
    min-height: 360px;
}

/* Dedicated Trajectory SVG Spanning the Full Stepped Diagonal Path */
.ip-events-track-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ip-events-track-pulse {
    stroke-dasharray: 14 180;
    stroke-linecap: round;
    animation: ip-events-pulse-travel 6.5s linear infinite;
}

@keyframes ip-events-pulse-travel {
    0% { stroke-dashoffset: 250; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { stroke-dashoffset: -450; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ip-events-track-pulse {
        animation: none;
    }
}

/* Milestone Columns Grid (5 Stepped Columns) */
.ip-events-nodes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.25fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 5;
    width: 100%;
    align-items: start;
}

@media (max-width: 1150px) and (min-width: 769px) {
    .ip-events-nodes-grid {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .ip-events-track-svg {
        display: none;
    }
    .ip-events-nodes-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Milestone Column Structure */
.ip-event-node {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 8px 6px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Stepped Vertical Offsets — Rising Diagonally from Left to Right */
.ip-event-node--2023 {
    margin-top: 48px;
}

.ip-event-node--2024 {
    margin-top: 28px;
}

.ip-event-node--2025 {
    margin-top: 12px;
}

.ip-event-node--2026 {
    margin-top: 0px;
}

.ip-event-node--2027 {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .ip-event-node--2023,
    .ip-event-node--2024,
    .ip-event-node--2025,
    .ip-event-node--2026,
    .ip-event-node--2027 {
        margin-top: 0;
    }
}

.ip-event-node:hover {
    background: rgba(22, 143, 91, 0.12);
    border-color: rgba(52, 211, 153, 0.30);
    transform: translateY(-2px);
}

/* ZONE 1: TOP HEADER */
.ip-event-node-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 62px;
    justify-content: flex-start;
    position: relative;
    z-index: 4;
}

.ip-event-node-idx {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    color: #34D399;
    letter-spacing: 0.1em;
    line-height: 1;
}

.ip-event-node-year {
    font-family: var(--font-display, inherit);
    font-size: 27px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.05;
    margin-top: 1px;
}

.ip-event-node-phase {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    color: #A7F3D0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin-top: 2px;
}

/* ZONE 2: DEDICATED TRAJECTORY / ICON LANE */
.ip-event-node-icon-wrap {
    height: 74px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 14px 0;
    position: relative;
    z-index: 3;
}

.ip-event-node-icon {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #031D14;
    border: 1.5px solid rgba(52, 211, 153, 0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.15);
}

.ip-event-node:hover .ip-event-node-icon {
    border-color: #34D399;
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.45);
}

/* ZONE 3: METRICS ZONE */
.ip-event-node-metrics {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(4, 31, 20, 0.65);
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: 12px;
    padding: 8px 10px;
    min-height: 58px;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.ip-event-node-metric-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
}

.ip-event-node-num {
    font-family: var(--font-mono, monospace);
    font-size: 17px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.ip-event-node-lbl {
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ZONE 4: DESCRIPTION ZONE */
.ip-event-node-desc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin-top: 14px;
    min-height: 46px;
    position: relative;
    z-index: 4;
}

/* 2026 Flagship Feature Frame — Dominant Climax */
.ip-event-node--flagship {
    background: linear-gradient(180deg, rgba(17, 90, 61, 0.35) 0%, rgba(4, 31, 20, 0.75) 100%);
    border: 1.5px solid rgba(52, 211, 153, 0.85);
    border-radius: 22px;
    box-shadow: 0 0 32px rgba(52, 211, 153, 0.22), inset 0 0 20px rgba(52, 211, 153, 0.08);
    position: relative;
    padding: 12px 10px;
    z-index: 10;
}

.ip-event-node--flagship:hover {
    border-color: #34D399;
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.40);
    transform: translateY(-2px);
}

.ip-flagship-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 25%, rgba(52, 211, 153, 0.20), transparent 70%);
    pointer-events: none;
}

.ip-flagship-pill {
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    font-weight: 900;
    background-color: #34D399;
    color: #03150E;
    padding: 1.5px 7px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}

.ip-event-node-year--flagship {
    font-size: 30px;
    color: #34D399;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
}

.ip-event-node-icon--flagship {
    width: 72px;
    height: 72px;
    background: #06261A;
    border: 2px solid rgba(244, 180, 0, 0.85);
    box-shadow: 0 0 22px rgba(244, 180, 0, 0.32);
}

.ip-event-node--flagship:hover .ip-event-node-icon--flagship {
    border-color: #F4B400;
    box-shadow: 0 0 30px rgba(244, 180, 0, 0.50);
}

.ip-event-node-metrics--flagship {
    background: rgba(2, 27, 19, 0.90);
    border-color: rgba(52, 211, 153, 0.40);
    padding: 6px 8px;
    min-height: 74px;
}

/* 2027 Future Node */
.ip-event-node--future {
    background: rgba(4, 31, 20, 0.30);
    border: 1px dashed rgba(244, 180, 0, 0.30);
    opacity: 0.85;
}

.ip-event-node--future:hover {
    opacity: 1;
    border-color: #F4B400;
}

.ip-event-node-icon--future {
    width: 56px;
    height: 56px;
    border: 1.5px dashed rgba(244, 180, 0, 0.55);
    background: #031D14;
}

.ip-event-node-future-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-align: center;
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    font-weight: 800;
    color: #F4B400;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

/* Bottom Growth Strip — High Contrast & Spacious */
.ip-events-growth {
    background: rgba(4, 31, 20, 0.85);
    border: 1px solid rgba(52, 211, 153, 0.32);
    border-radius: 18px;
    padding: 16px 28px;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
    position: relative;
    z-index: 10;
}

.ip-events-growth-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-right: 18px;
    border-right: 1px solid rgba(22, 143, 91, 0.35);
}

.ip-events-growth-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-grow: 1;
}

.ip-growth-block {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ip-growth-num {
    font-family: var(--font-mono, monospace);
    font-size: 23px;
    font-weight: 900;
    color: #34D399;
    line-height: 1;
}

.ip-growth-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.ip-growth-lbl {
    font-size: 12px;
    font-weight: 700;
    color: #E2E8F0;
    letter-spacing: 0.01em;
}

.ip-growth-tag {
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    color: #94A3B8;
    letter-spacing: 0.04em;
}

.ip-growth-arrow {
    color: #168F5B;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.ip-growth-block--flagship .ip-growth-num {
    color: #F4B400;
    text-shadow: 0 0 12px rgba(244, 180, 0, 0.35);
}

.ip-growth-block--future {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.ip-growth-horizon {
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    font-weight: 800;
    color: #F4B400;
    letter-spacing: 0.06em;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .ip-events-growth {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        min-height: auto;
        padding: 16px 20px;
    }
    .ip-events-growth-label {
        border-right: none;
        padding-right: 0;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(22, 143, 91, 0.35);
        width: 100%;
    }
    .ip-events-growth-track {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 14px;
        width: 100%;
    }
}




/* =========================================================================
   MEDIA PAGE — NATIONAL INNOVATION ARCHIVE & EDITORIAL NEWSROOM
   ========================================================================= */

.ip-media-container {
    width: min(1600px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .ip-media-container {
        width: calc(100% - 32px);
    }
}

/* 1. HERO CARD (Deterministic 37/63 Split & Compact 460px Height) */
.ip-media-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.37fr) minmax(0, 0.63fr);
    background: #03150E;
    border: 1px solid rgba(22, 143, 91, 0.35);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 35px rgba(3, 21, 14, 0.12);
    height: 460px;
    min-height: 450px;
    max-height: 470px;
    position: relative;
    width: 100%;
}

.ip-media-hero-left {
    padding: 26px 34px 24px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #03150E 0%, #021B13 100%);
    position: relative;
    z-index: 10;
    border-right: 1px solid rgba(52, 211, 153, 0.18);
}

.ip-media-hero-left::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
    background-image: radial-gradient(#34D399 1px, transparent 1px);
    background-size: 18px 18px;
}

.ip-media-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(22, 143, 91, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34D399;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: max-content;
    margin-bottom: 10px;
}

.ip-media-hero-title {
    font-family: var(--font-display, inherit);
    font-size: clamp(26px, 2.1vw, 32px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ip-media-hero-title span {
    color: #34D399;
    display: block;
}

.ip-media-hero-desc {
    font-size: 12px;
    line-height: 1.48;
    color: #94A3B8;
    max-width: 440px;
    margin-bottom: 10px;
}

.ip-media-hero-tagline {
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    font-weight: 700;
    color: #34D399;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.85;
}

.ip-media-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ip-media-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 11px;
    background: #168F5B;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(22, 143, 91, 0.3);
    text-decoration: none;
}

.ip-media-btn-primary:hover {
    background: #115A3D;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 143, 91, 0.4);
    color: #FFFFFF;
}

.ip-media-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 11px;
    background: rgba(3, 21, 14, 0.6);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    cursor: pointer;
}

.ip-media-btn-secondary:hover {
    background: rgba(22, 143, 91, 0.2);
    border-color: #34D399;
    color: #34D399;
}

/* Compact flow metrics row directly following CTAs */
.ip-media-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(22, 143, 91, 0.2);
    margin-top: 0;
}

.ip-media-metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(22, 143, 91, 0.2);
    border-radius: 10px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ip-media-metric-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(22, 143, 91, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34D399;
    font-size: 11px;
    flex-shrink: 0;
}

.ip-media-metric-num {
    font-family: var(--font-mono, monospace);
    font-size: 15px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
}

.ip-media-metric-lbl {
    font-size: 9px;
    color: #94A3B8;
    white-space: nowrap;
    margin-top: 1px;
}

/* 2. HERO RIGHT (Full Bleed Image & Overlays) */
.ip-media-hero-right {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    background: #000;
}

.ip-media-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: opacity 0.4s ease;
}

.ip-media-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 27, 19, 0.90) 0%, rgba(2, 27, 19, 0.30) 45%, transparent 100%);
    pointer-events: none;
}

.ip-media-hero-meta {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 10;
    color: #FFFFFF;
}

.ip-media-hero-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 9999px;
    background: rgba(22, 143, 91, 0.35);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34D399;
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.ip-media-hero-meta-title {
    font-family: var(--font-display, inherit);
    font-size: 20px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.ip-media-hero-meta-sub {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ip-media-hero-thumbs {
    position: absolute;
    bottom: 20px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ip-media-thumb-btn {
    width: 60px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
    background: #000;
    padding: 0;
}

.ip-media-thumb-btn:hover,
.ip-media-thumb-btn.active {
    border-color: #34D399;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ip-media-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ip-media-thumb-more {
    width: 48px;
    height: 42px;
    border-radius: 8px;
    background: rgba(3, 21, 14, 0.85);
    border: 1px solid rgba(52, 211, 153, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    backdrop-filter: blur(8px);
}

.ip-media-thumb-more span {
    font-size: 7.5px;
    color: #34D399;
    font-weight: 600;
}

/* 3. TIMELINE STRIP */
.ip-media-timeline {
    background: #FFFFFF;
    border: 1px solid #D9E8E0;
    border-radius: 20px;
    padding: 16px 26px;
    margin-top: 20px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    width: 100%;
}

.ip-media-timeline-label {
    font-family: var(--font-display, inherit);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    color: #071A13;
    letter-spacing: 0.02em;
    padding-right: 20px;
    border-right: 1px solid #D9E8E0;
    flex-shrink: 0;
}

.ip-media-timeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    gap: 12px;
}

.ip-media-timeline-node {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ip-media-timeline-node:hover .ip-media-node-icon {
    border-color: #168F5B;
    transform: scale(1.05);
}

.ip-media-node-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #E8F4EE;
    border: 1px solid rgba(22, 143, 91, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #168F5B;
    font-size: 15px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.ip-media-node-icon--flagship {
    background: #FEF3C7;
    border-color: #F4B400;
    color: #D97706;
}

.ip-media-node-year {
    font-family: var(--font-display, inherit);
    font-size: 15px;
    font-weight: 900;
    color: #071A13;
    line-height: 1.1;
}

.ip-media-node-tag {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
}

.ip-media-node-tag--flagship {
    color: #D97706;
    font-weight: 700;
}

.ip-media-timeline-arrow {
    color: #94A3B8;
    font-size: 14px;
    font-weight: 700;
}

/* 4. GALLERY & SIDEBAR LAYOUT */
.ip-media-layout {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 24px;
    align-items: flex-start;
}

@media (min-width: 1280px) {
    .ip-media-layout {
        grid-template-columns: 1fr 310px;
        gap: 28px;
    }
}

.ip-media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ip-media-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #03150E;
    border: 1px solid #D9E8E0;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ip-media-card:hover {
    border-color: #168F5B;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.ip-media-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ip-media-card:hover .ip-media-card-img {
    transform: scale(1.035);
}

.ip-media-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(3, 21, 14, 0.75);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34D399;
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.ip-media-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 21, 14, 0.92) 0%, rgba(3, 21, 14, 0.3) 50%, transparent 100%);
    transition: opacity 0.3s ease;
}

.ip-media-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    z-index: 2;
    color: #FFFFFF;
}

.ip-media-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.ip-media-card:hover .ip-media-card-title {
    transform: translateY(-2px);
    color: #E8F4EE;
}

.ip-media-card-meta {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    color: #94A3B8;
}

/* 5. SIDEBAR ANNOUNCEMENTS */
.ip-media-sidebar {
    background: #FFFFFF;
    border: 1px solid #D9E8E0;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ip-media-sidebar-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: #E8F4EE;
    border: 1px solid #D9E8E0;
    color: #168F5B;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ip-media-news-featured {
    background: #F8FCFA;
    border: 1px solid #D9E8E0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.ip-media-news-featured:hover {
    border-color: #168F5B;
}

.ip-media-news-compact {
    padding: 12px 0;
    border-top: 1px solid #E8F4EE;
    transition: all 0.2s ease;
}

/* 6. RESPONSIVE QUERIES */
@media (max-width: 1023px) {
    .ip-media-hero {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
        max-height: none;
    }
    .ip-media-hero-left {
        border-right: none;
        border-bottom: 1px solid rgba(52, 211, 153, 0.18);
        padding: 30px 24px;
    }
    .ip-media-hero-right {
        min-height: 340px;
    }
    .ip-media-timeline {
        flex-direction: column;
        align-items: flex-start;
    }
    .ip-media-timeline-label {
        border-right: none;
        border-bottom: 1px solid #D9E8E0;
        padding-right: 0;
        padding-bottom: 10px;
        width: 100%;
    }
    .ip-media-timeline-track {
        flex-wrap: wrap;
        width: 100%;
        justify-content: flex-start;
        gap: 16px;
    }
    .ip-media-layout {
        grid-template-columns: 1fr;
    }
    .ip-media-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .ip-media-hero-left {
        padding: 24px 20px;
    }
    .ip-media-hero-metrics {
        grid-template-columns: 1fr;
    }
    .ip-media-gallery-grid {
        grid-template-columns: 1fr;
    }
    .ip-media-hero-thumbs {
        display: none;
    }
}

/* =========================================================================
   ABOUT PAGE — MASTER HERO & NATIONAL MANIFESTO PANEL
   ========================================================================= */

.ip-about-hero {
    background: #F8FCFA;
    position: relative;
    padding-top: clamp(90px, 7.5vw, 102px);
    padding-bottom: clamp(34px, 4vw, 42px);
    border-bottom: 1px solid #D9E8E0;
    overflow: hidden;
}

.ip-about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
}

.ip-about-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 520px;
    position: relative;
    z-index: 10;
}

.ip-about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3.5px 12px;
    border-radius: 9999px;
    background: #E8F4EE;
    border: 1px solid #D9E8E0;
    color: #115A3D;
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: max-content;
    margin-bottom: 18px;
}

.ip-about-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #168F5B;
}

.ip-about-hero-title {
    font-family: var(--font-display, inherit);
    font-size: clamp(34px, 3.2vw, 54px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.025em;
    margin-top: 0;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.ip-about-hero-title .title-dark {
    color: #071A13;
    display: block;
}

.ip-about-hero-title .title-emerald {
    color: #168F5B;
    display: block;
}

.ip-about-hero-desc {
    font-size: clamp(14px, 1.05vw, 15.5px);
    line-height: 1.68;
    color: #475569;
    max-width: 460px;
    margin-bottom: 24px;
}

.ip-about-proof-line {
    margin-top: 4px;
}

.ip-about-proof-divider {
    height: 1px;
    width: 100%;
    max-width: 360px;
    background: #D9E8E0;
    margin-bottom: 10px;
}

.ip-about-proof-text {
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    font-weight: 700;
    color: #168F5B;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* RIGHT MANIFESTO PANEL */
.ip-about-manifesto {
    background: #03150E;
    border: 1px solid rgba(22, 143, 91, 0.45);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(3, 21, 14, 0.14);
    min-height: 510px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.ip-about-manifesto-header {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(2, 27, 19, 0.90);
    border-bottom: 1px solid rgba(22, 143, 91, 0.25);
    z-index: 5;
}

.ip-about-manifesto-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #34D399;
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ip-about-manifesto-edition {
    color: #94A3B8;
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ip-about-manifesto-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #000;
}

.ip-about-manifesto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.6s ease;
}

.ip-about-manifesto:hover .ip-about-manifesto-img {
    transform: scale(1.02);
}

.ip-about-manifesto-media-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #03150E 0%, rgba(3, 21, 14, 0.4) 40%, transparent 100%);
    pointer-events: none;
}

.ip-about-manifesto-quote {
    padding: 22px 28px 18px 28px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ip-about-quote-mark {
    color: #34D399;
    font-size: 42px;
    line-height: 0.7;
    font-family: serif;
    margin-bottom: 6px;
    opacity: 0.85;
}

.ip-about-quote-text {
    font-family: var(--font-display, inherit);
    font-size: clamp(18px, 1.55vw, 23px);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.28;
    letter-spacing: -0.01em;
    max-width: 620px;
    margin: 0 0 12px 0;
}

.ip-about-quote-tagline {
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    font-weight: 700;
    color: #34D399;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* 3-Column Proof Strip */
.ip-about-manifesto-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    border-top: 1px solid rgba(22, 143, 91, 0.25);
    background: rgba(0, 0, 0, 0.35);
}

.ip-about-stat-col {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ip-about-stat-col:not(:last-child) {
    border-right: 1px solid rgba(22, 143, 91, 0.2);
}

.ip-about-stat-icon {
    color: #34D399;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

.ip-about-stat-num {
    font-family: var(--font-mono, monospace);
    font-size: clamp(22px, 2.1vw, 28px);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
}

.ip-about-stat-lbl {
    font-size: 9.5px;
    color: #94A3B8;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
    white-space: nowrap;
}

/* Subtle background motifs opacity */
.ip-about-watermark-clock {
    opacity: 0.045;
}

.ip-about-watermark-network {
    opacity: 0.05;
}

@media (max-width: 1023px) {
    .ip-about-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ip-about-hero-copy {
        max-width: 100%;
    }
    .ip-about-manifesto-media {
        height: 240px;
    }
}

@media (max-width: 639px) {
    .ip-about-hero-title {
        font-size: 34px;
    }
    .ip-about-manifesto-stats {
        grid-template-columns: 1fr;
    }
    .ip-about-stat-col:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(22, 143, 91, 0.2);
    }
}
/* =========================================================================
   UNIVERSITIES DIRECTORY — ENLARGED LOGO STAGE & HIGH-VISIBILITY
   ========================================================================= */

.ip-university-logo-stage {
    width: 80px;
    height: 68px;
    min-width: 80px;
    max-width: 80px;
    min-height: 68px;
    max-height: 68px;
    background: #FFFFFF;
    border: 1px solid #D9E8E0;
    border-radius: 12px;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uni-card:hover .ip-university-logo-stage {
    border-color: #168F5B;
    box-shadow: 0 2px 6px rgba(22, 143, 91, 0.12);
}

.ip-university-logo {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 82%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.ip-university-logo--wide {
    max-width: 96%;
    max-height: 80%;
}

.uni-card:hover .ip-university-logo {
    transform: scale(1.05);
}

@media (max-width: 1023px) {
    .ip-university-logo-stage {
        width: 72px;
        height: 62px;
        min-width: 72px;
        max-width: 72px;
        min-height: 62px;
        max-height: 62px;
    }
}

@media (max-width: 639px) {
    .ip-university-logo-stage {
        width: 68px;
        height: 58px;
        min-width: 68px;
        max-width: 68px;
        min-height: 58px;
        max-height: 58px;
    }
}


/* =========================================================================
   CINEMATIC MOSAIC EVENT CHRONICLE — EDITION-AWARE HEIGHTS
   ========================================================================= */
.cinematic-mosaic-root {
    width: 100%;
    min-height: 500px;
    height: 500px;
}
@media (min-width: 768px) {
    .cinematic-mosaic-root {
        min-height: 570px;
        height: 570px;
    }
}
@media (min-width: 1024px) {
    .cinematic-mosaic-root {
        min-height: 630px;
        height: 630px;
    }
}
@media (min-width: 1366px) {
    .cinematic-mosaic-root.ip-chronicle-edition-1,
    .cinematic-mosaic-root.ip-chronicle-edition-4 {
        min-height: 640px;
        height: 640px;
    }
}
@media (min-width: 1024px) and (max-width: 1365px) {
    .cinematic-mosaic-root.ip-chronicle-edition-2,
    .cinematic-mosaic-root.ip-chronicle-edition-3 {
        min-height: 650px;
        height: 650px;
    }
}
@media (min-width: 1366px) and (max-width: 1599px) {
    .cinematic-mosaic-root.ip-chronicle-edition-2,
    .cinematic-mosaic-root.ip-chronicle-edition-3 {
        min-height: 690px;
        height: 690px;
    }
}
@media (min-width: 1600px) {
    .cinematic-mosaic-root.ip-chronicle-edition-2,
    .cinematic-mosaic-root.ip-chronicle-edition-3 {
        min-height: 715px;
        height: 715px;
    }
}

.ip-chronicle-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: none;
}
.ip-chronicle-image--main {
    object-position: center center;
}
.ip-chronicle-image--side {
    object-position: center 42%;
}

/* =========================================================================
   PROJECTS DIRECTORY — HERO & CATALOGUE CARDS REDESIGN
   ========================================================================= */

.ip-projects-hero {
    background: #F8FCFA;
    border-bottom: 1px solid #D9E8E0;
    position: relative;
    padding-top: clamp(84px, 6.5vw, 100px);
    padding-bottom: 24px;
    overflow: hidden;
}

.ip-projects-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    gap: clamp(24px, 3.5vw, 40px);
    align-items: center;
}

.ip-projects-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ip-projects-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3.5px 12px;
    border-radius: 9999px;
    background: #FFFFFF;
    border: 1px solid #D9E8E0;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5F7068;
    width: max-content;
    margin-bottom: 12px;
}

.ip-projects-breadcrumb a {
    color: #5F7068;
    transition: color 0.2s ease;
}

.ip-projects-breadcrumb a:hover {
    color: #168F5B;
}

.ip-projects-hero-title {
    font-family: var(--font-display, inherit);
    font-size: clamp(28px, 2.7vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 12px;
}

.ip-projects-hero-title .title-dark {
    color: #071A13;
    display: block;
}

.ip-projects-hero-title .title-emerald {
    color: #168F5B;
    display: block;
}

.ip-projects-hero-desc {
    font-size: clamp(13px, 1.0vw, 14.5px);
    line-height: 1.55;
    color: #475569;
    max-width: 480px;
    margin-bottom: 18px;
}

.ip-projects-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ip-projects-metric-box {
    background: #FFFFFF;
    border: 1px solid #D9E8E0;
    border-radius: 12px;
    padding: 7px 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ip-projects-metric-val {
    font-family: var(--font-mono, monospace);
    font-size: 18px;
    font-weight: 900;
    color: #115A3D;
    line-height: 1.1;
}

.ip-projects-metric-lbl {
    font-size: 9.5px;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* FEATURED PROJECT CARD (BALANCED COMPACT EDITORIAL) */
.ip-projects-featured {
    background: #FFFFFF;
    border: 1.5px solid #168F5B;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(22, 143, 91, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ip-projects-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: center;
}

@media (min-width: 1440px) {
    .ip-projects-featured-grid {
        grid-template-columns: minmax(0, 1fr) 290px;
    }
}

.ip-projects-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 6px;
    background: #E8F4EE;
    color: #115A3D;
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ip-projects-featured-visual {
    width: 100%;
    height: 190px;
    border-radius: 14px;
    background: #03150E;
    border: 1px solid rgba(22, 143, 91, 0.4);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ip-projects-featured-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TOOLBAR */
.ip-projects-toolbar {
    background: #FFFFFF;
    border: 1px solid #D9E8E0;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    margin-top: 22px;
}

.ip-projects-toolbar-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.ip-projects-search-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #D9E8E0;
    background: #F8FCFA;
    font-size: 12.5px;
    color: #071A13;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ip-projects-search-input:focus {
    border-color: #168F5B;
    background: #FFFFFF;
}

.ip-projects-select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #D9E8E0;
    background: #FFFFFF;
    font-size: 12px;
    color: #071A13;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.ip-projects-select:focus {
    border-color: #168F5B;
}

.ip-projects-btn-search {
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    background: #115A3D;
    color: #FFFFFF;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.ip-projects-btn-search:hover {
    background: #168F5B;
}

.ip-projects-btn-search:active {
    transform: scale(0.98);
}

/* RESPONSIVE CATALOGUE GRID (WIDE & COMPACT PROPORTIONS) */
.ip-project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

@media (min-width: 1280px) {
    .ip-project-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .ip-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .ip-project-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* PROJECT CARD */
.ip-project-card {
    background: #FFFFFF;
    border: 1px solid #D9E8E0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ip-project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(22, 143, 91, 0.09);
    border-color: #168F5B;
}

.ip-project-card.is-winner {
    border: 1.5px solid #168F5B;
    background: #FAFCFB;
}

.ip-project-card.is-winner:hover {
    box-shadow: 0 10px 28px rgba(22, 143, 91, 0.14);
}

/* Image Stage (16:9, ~175–190px) */
.ip-project-card-media {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #061B12;
    border-bottom: 1px solid #D9E8E0;
}

.ip-project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ip-project-card:hover .ip-project-card-media img {
    transform: scale(1.025);
}

/* Quiet Technical Blueprint Stage */
.ip-project-blueprint-stage {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #04180F 0%, #072518 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ip-project-blueprint-grid {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: linear-gradient(to right, #34D399 1px, transparent 1px),
                      linear-gradient(to bottom, #34D399 1px, transparent 1px);
    background-size: 16px 16px;
}

/* Discreet Disclosure Badge */
.ip-project-concept-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(3, 21, 14, 0.85);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34D399;
    font-family: var(--font-mono, monospace);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2.5px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 5;
}

/* Card Body Content */
.ip-project-card-content {
    padding: 16px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.ip-project-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.ip-project-id-badge {
    display: inline-flex;
    align-items: center;
    padding: 2.5px 8px;
    border-radius: 6px;
    background: #03150E;
    color: #34D399;
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ip-project-award-badge {
    display: inline-flex;
    align-items: center;
    padding: 2.5px 8px;
    border-radius: 6px;
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ip-project-award-badge.winner-badge {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.ip-project-award-badge.finalist-badge {
    background: #E8F4EE;
    color: #115A3D;
    border: 1px solid #D9E8E0;
}

.ip-project-track-lbl {
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    font-weight: 700;
    color: #168F5B;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 6px;
}

.ip-project-title {
    font-family: var(--font-display, inherit);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.32;
    color: #071A13;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.ip-project-uni-loc {
    font-size: 12px;
    color: #5F7068;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ip-project-team {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    color: #64748B;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ip-project-team strong {
    color: #071A13;
}

/* Score Strip (Evenly Distributed) */
.ip-project-score-strip {
    background: #F8FCFA;
    border: 1px solid #D9E8E0;
    border-radius: 10px;
    padding: 7px 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    font-family: var(--font-mono, monospace);
    font-size: 10.5px;
    color: #475569;
    margin-bottom: 14px;
}

.ip-project-score-strip .score-total {
    color: #115A3D;
    font-weight: 800;
}

/* Action Button */
.ip-project-action-btn {
    width: 100%;
    padding: 9.5px 12px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #168F5B;
    color: #115A3D;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    margin-top: auto;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.ip-project-action-btn:hover {
    background: #115A3D;
    color: #FFFFFF;
}

.ip-project-action-btn:active {
    transform: scale(0.99);
}

@media (max-width: 1023px) {
    .ip-projects-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ip-projects-featured-grid {
        grid-template-columns: 1fr;
        width: 100% !important;
        min-width: 0 !important;
    }
    .ip-projects-featured-visual {
        width: 100%;
        height: 170px;
    }
    .ip-projects-toolbar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    /* =========================================================================
       PROJECTS MOBILE REPOSITORY & FEATURED CARD
       ========================================================================= */
    .ip-projects-hero {
        padding-top: 88px;
        padding-bottom: 20px;
    }
    .ip-projects-hero-title {
        font-size: 28px;
    }
    .ip-projects-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        width: 100%;
    }
    .ip-projects-metric-box {
        padding: 6px 8px;
        text-align: center;
        align-items: center;
    }
    .ip-projects-metric-val {
        font-size: 16px;
    }
    .ip-projects-metric-lbl {
        font-size: 8px;
        white-space: nowrap;
    }
    .ip-projects-featured {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 16px !important;
        border-radius: 16px !important;
    }
    .ip-projects-featured-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .ip-projects-featured-visual {
        width: 100% !important;
        height: 160px !important;
    }
    .ip-project-card-content {
        padding: 14px;
    }
    .ip-project-title {
        font-size: 15px;
        min-height: 38px;
        word-break: break-word;
    }
    .ip-project-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* =========================================================================
       EVENTS PAGE — MOBILE EDITION EVOLUTION & GROWTH COMPRESSION
       ========================================================================= */
    .ip-events-evolution {
        padding: 16px 14px !important;
        border-radius: 20px !important;
        min-height: auto !important;
    }
    .ip-events-evolution-header {
        padding-bottom: 8px !important;
        margin-bottom: 10px !important;
    }
    .ip-events-track-stage {
        min-height: auto !important;
        padding: 0 !important;
    }
    .ip-events-nodes-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .ip-event-node {
        padding: 10px 12px !important;
        border-radius: 14px !important;
        background: rgba(3, 29, 20, 0.5) !important;
        border: 1px solid rgba(52, 211, 153, 0.2) !important;
        gap: 4px !important;
        margin-top: 0 !important;
    }
    .ip-event-node--flagship {
        padding: 12px 12px !important;
        border: 1.5px solid rgba(52, 211, 153, 0.85) !important;
        background: linear-gradient(180deg, rgba(17, 90, 61, 0.45) 0%, rgba(4, 31, 20, 0.85) 100%) !important;
        box-shadow: 0 0 20px rgba(52, 211, 153, 0.2) !important;
    }
    .ip-event-node--future {
        padding: 10px 12px !important;
    }
    .ip-event-node-header {
        height: auto !important;
        gap: 1px !important;
    }
    .ip-event-node-idx {
        font-size: 9px !important;
    }
    .ip-event-node-year {
        font-size: 28px !important;
        line-height: 1.05 !important;
    }
    .ip-event-node-year--flagship {
        font-size: 30px !important;
    }
    .ip-event-node-phase {
        font-size: 11px !important;
        margin-top: 1px !important;
    }
    .ip-event-node-icon-wrap {
        height: auto !important;
        margin: 4px 0 6px 0 !important;
        justify-content: flex-start !important;
    }
    .ip-event-node-icon {
        width: 48px !important;
        height: 48px !important;
    }
    .ip-event-node-icon svg {
        width: 22px !important;
        height: 22px !important;
    }
    .ip-event-node-icon--flagship {
        width: 54px !important;
        height: 54px !important;
    }
    .ip-event-node-icon--flagship svg {
        width: 26px !important;
        height: 26px !important;
    }
    .ip-event-node-icon--future {
        width: 48px !important;
        height: 48px !important;
    }
    .ip-event-node-metrics {
        min-height: auto !important;
        padding: 6px 10px !important;
        gap: 3px !important;
        border-radius: 8px !important;
    }
    .ip-event-node-metrics--flagship {
        padding: 6px 10px !important;
        min-height: auto !important;
    }
    .ip-event-node-metric-row {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .ip-event-node-num {
        font-size: 20px !important;
        line-height: 1 !important;
    }
    .ip-event-node-lbl {
        font-size: 10px !important;
    }
    .ip-event-node-future-badge {
        padding: 4px 0 !important;
        font-size: 9.5px !important;
    }
    .ip-event-node-desc {
        min-height: auto !important;
        margin-top: 4px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.78) !important;
    }
    .ip-events-growth {
        padding: 10px 14px !important;
        min-height: auto !important;
        margin-top: 14px !important;
        border-radius: 12px !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    .ip-events-growth-label {
        padding-right: 0 !important;
        padding-bottom: 6px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(22, 143, 91, 0.35) !important;
        font-size: 10.5px !important;
        justify-content: center !important;
    }
    .ip-events-growth-track {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .ip-growth-block {
        gap: 6px !important;
    }
    .ip-growth-num {
        font-size: 18px !important;
    }
    .ip-growth-lbl {
        font-size: 11px !important;
    }
    .ip-growth-tag {
        font-size: 8.5px !important;
    }
    .ip-growth-arrow {
        display: none !important;
    }

    /* Hide second-line stats on non-active map markers below 768px */
    .map-city-marker:not(.scale-125) .node-stat-pill {
        display: none !important;
    }
    .map-city-marker span:first-child {
        font-size: 8.5px !important;
        padding: 1.5px 5px !important;
        line-height: 1.15 !important;
        border-radius: 4px !important;
        background: rgba(3, 21, 14, 0.90) !important;
        border: 1px solid rgba(52, 211, 153, 0.35) !important;
    }
    .map-city-marker.scale-125 span:first-child {
        font-size: 9.5px !important;
        color: #34D399 !important;
        border-color: #34D399 !important;
        box-shadow: 0 0 10px rgba(52, 211, 153, 0.35) !important;
    }
    .map-city-marker.scale-125 .node-stat-pill {
        display: block !important;
        font-size: 8px !important;
        margin-top: 1px !important;
    }
    .map-tab-btn {
        font-size: 9.5px !important;
        padding: 3.5px 7px !important;
    }

    /* =========================================================================
       GEOSPATIAL MAP — MOBILE HOST CALLOUT COMPACT SIZING
       ========================================================================= */
    #map-host-callout,
    [data-hero-callout] {
        max-width: 155px !important;
        padding: 4px 6px !important;
        border-radius: 8px !important;
        gap: 6px !important;
    }
    #map-host-callout > div:first-child,
    [data-hero-callout] > div:first-child {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        padding: 1.5px !important;
        border-radius: 6px !important;
    }
    #map-host-callout img,
    [data-hero-callout] img {
        width: 17px !important;
        height: 17px !important;
        max-width: 17px !important;
        max-height: 17px !important;
    }
    #map-host-callout .text-\[9px\],
    [data-hero-callout] .text-\[9px\] {
        font-size: 7.5px !important;
        line-height: 1.1 !important;
    }
    #map-host-callout .text-\[11px\],
    [data-hero-callout] .text-\[11px\] {
        font-size: 8.5px !important;
        line-height: 1.15 !important;
    }
    #map-host-callout .text-\[10px\],
    [data-hero-callout] .text-\[10px\] {
        font-size: 8px !important;
        line-height: 1.1 !important;
    }
}

.map-city-marker rect {
    transition: all 0.2s ease;
}
.map-city-marker:hover rect,
.map-city-marker.is-active rect {
    stroke: #34D399 !important;
    stroke-width: 2px !important;
    fill-opacity: 0.98 !important;
}

/* ==========================================================================
   ABOUT PAGE — SMART READ MORE / PROGRESSIVE DISCLOSURE SYSTEM
   ========================================================================== */
.ip-clamp-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ip-clamp-preview.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.ip-clamp-inst {
    -webkit-line-clamp: 4;
}

.ip-clamp-mission {
    -webkit-line-clamp: 4;
}

@media (max-width: 767px) {
    .ip-clamp-preview {
        -webkit-line-clamp: 4;
    }
    .ip-clamp-inst {
        -webkit-line-clamp: 3;
    }
    .ip-clamp-mission {
        -webkit-line-clamp: 3;
    }
}

.ip-collapsible-block {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.ip-collapsible-block.is-open {
    max-height: 800px;
    opacity: 1;
    margin-top: 0.875rem;
}

.ip-readmore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    font-weight: 700;
    color: #168F5B;
    background: #F0FDF4;
    border: 1px solid rgba(22, 143, 91, 0.4);
    border-radius: 8px;
    padding: 7px 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ip-readmore-btn:hover {
    color: #0D5C3A;
    background: #DCFCE7;
    border-color: #168F5B;
    text-decoration: none;
    transform: translateY(-0.5px);
}

.ip-readmore-btn:focus-visible {
    outline: 2px solid #168F5B;
    outline-offset: 2px;
}

.ip-readmore-btn .btn-arrow {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.ip-readmore-btn-dark {
    color: #34D399;
    background: rgba(22, 143, 91, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.4);
}

.ip-readmore-btn-dark:hover {
    color: #FFFFFF;
    background: rgba(22, 143, 91, 0.4);
    border-color: #34D399;
    text-decoration: none;
    transform: translateY(-0.5px);
}

.ip-readmore-btn-dark:focus-visible {
    outline: 2px solid #34D399;
    outline-offset: 2px;
}