/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* --- Exact Theme Palette — GeneSilico Brand --- */
:root {
    --slate-navy: #071d46;
    --navy-mid: #0b1f3b;
    --off-white: #f6f8fa;
    --pure-white: #ffffff;
    --text-dark: #0B1F3B;
    --text-muted: #5a6a82;
    --accent-teal: rgb(184, 248, 255);
    --accent-blue: #688EFB;
    --card-border: rgba(14, 30, 56, 0.08);
    --font-heading: "TeX Gyre Pagella", serif;
    ;
    --font-body: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.resource-container {
    width: 100%;
    /* max-width: 1140px; */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.resource-text-center {
    text-align: center;
}

/* --- Typography --- */
.resource-italic-serif {
    font-family: var(--font-heading);
    font-weight: 400;
}

.resource-serif-blue {
    color: var(--color-periwinkle);
}

/* --- Hero Section --- */
.resource-hero-section {
    background: linear-gradient(110deg, #0d2b57 0%, #12366d 40%, #28498d 100%);
    color: var(--pure-white);
    padding: 160px 100px 100px;
    position: relative;
    overflow: hidden;
    /* height: 700px; */
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* Subtle mesh grid overlay */
/* .resource-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: 48px 48px;
    pointer-events: none;
} */

/* Teal ambient glow blob */
/* .resource-hero-section::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 168, 0.12) 0%, transparent 70%);
    top: -120px;
    right: -100px;
    pointer-events: none;
} */

.resource-hero-section .resource-container {
    position: relative;
    z-index: 2;
}

.resource-top-tag {
    color: var(--accent-teal);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 1.2rem;
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(0, 212, 168, 0.3);
    border-radius: 100px;
}



.resource_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 12px #4ed9c7;
    background: #42ff9e;
}

.resource-hero-section h1 {
    font-size: 55px;
    font-weight: 100;
    line-height: 1.15;
    font-style: normal;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;

}

.resource-hero-section h1 .resource-italic-serif {
    color: var(--color-aqua);
}

.resource-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Layout Block Structuring --- */


.resource-content-block {
    padding: 5rem 0;
}

.resource-block-header {
    margin-bottom: 3.5rem;
}

.resource-block-header h2 {

    font-size: 55px;
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--color-navy);
}

.resource-section-badge {
    color: var(--color-green);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 0.6rem;
}

/* --- Grid Engine --- */
.resource-grid-layout {
    display: grid;
    gap: 2rem;
}

.resource-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
}

.resource-grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.resource-grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

/* --- White cards --- */
.resource-white-card {
    background-color: var(--pure-white);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(7, 29, 70, 0.04);
    transition: transform 0.3s cubic-bezier(0.21, 0.6, 0.35, 1), box-shadow 0.3s ease;
}

.resource-white-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(7, 29, 70, 0.07);
}

.resource-meta-date {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

.resource-white-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.resource-white-card p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.94rem;
    margin-bottom: 1.5rem;
}

.resource-card-action-btn {
    color: var(--accent-blue);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-card-action-btn i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.resource-white-card:hover .resource-card-action-btn i {
    transform: translateX(4px);
}


/* ==========================================================================
   PUBLICATIONS GRID
   ========================================================================== */

.resource-feature-grid-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.resource-capabilities-display-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.resource-feature-gradient-card {
    background-color: #ffffff;
    border-radius: 24px;

    /* Side + bottom border — tints to card colour on hover */
    border: 1px solid var(--pub-border-idle, rgba(14, 30, 56, 0.08));
    /* Top space reserved for the 6px gradient bar via ::before */
    border-top: 6px solid transparent;

    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-height: 400px;
    box-shadow: 0 4px 20px rgba(7, 29, 70, 0.03);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease;
    overflow: hidden;
}

/* ── 6px top gradient bar ── */
.resource-feature-gradient-card::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -1px;
    right: -1px;
    height: 6px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 2;
    /* gradient set per colour profile below */
    transition: opacity 0.3s ease;
}

/* ── Shimmer sweep on hover ── */
.resource-feature-gradient-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 55%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
    pointer-events: none;
    z-index: 4;
}

.resource-feature-gradient-card:hover::after {
    left: 160%;
}

/* ── Hover: lift + coloured glow shadow ── */
.resource-feature-gradient-card:hover {
    transform: translateY(-6px);
    /* border-color: var(--pub-border-hover, rgba(14, 30, 56, 0.14));
    box-shadow:
        0 0 0 1px var(--pub-border-hover, rgba(14, 30, 56, 0.08)),
        0 4px 0 0 var(--pub-accent, #1a6fff),
        0 20px 40px var(--pub-shadow, rgba(7, 29, 70, 0.08)); */
}

/* ── Inner layout ── */
.resource-feature-icon {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.resource-feature-gradient-card:hover .resource-feature-icon {
    transform: scale(1.12) translateY(-2px);
}

.resource-feature-gradient-card .resource-meta-date {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.6;
    margin-bottom: 0.5rem;
    display: block;
}

.resource-feature-gradient-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.38;
    margin-bottom: 1rem;
    letter-spacing: -0.005em;
}

.resource-feature-gradient-card p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.65;
    color: #5a6a82;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.resource-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
}

.resource-pill-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   COLOUR PROFILES — each card carries CSS custom props for its accent
   ========================================================================== */

/* Card 1 — Blue (Nature Medicine) */
.resource-theme-blue-profile {
    --pub-accent: #1a6fff;
    --pub-shadow: rgba(26, 111, 255, 0.10);
    --pub-border-hover: rgba(26, 111, 255, 0.22);

}

.resource-theme-blue-profile .resource-feature-icon,
.resource-theme-blue-profile h3 {
    color: var(--color-periwinkle);
}

.resource-feature-gradient-card {
    border-color: var(--pub-border-hover, rgba(14, 30, 56, 0.14));
    box-shadow:
        0 0 0 1px var(--pub-border-hover, rgba(14, 30, 56, 0.08)),
        0 4px 0 0 var(--pub-accent, #1a6fff),
        /* coloured bottom line */
        0 20px 40px var(--pub-shadow, rgba(7, 29, 70, 0.08));
}

.resource-theme-blue-profile::before {
    background: linear-gradient(90deg, #1a6fff, #64a8ff);
}

.resource-theme-blue-profile .resource-pill-tag {
    background-color: #eef3ff;
    color: #1a6fff;
}

/* Card 2 — Teal (Lancet) */
.resource-theme-cyan-profile {
    --pub-accent: #00a887;
    --pub-shadow: rgba(0, 168, 135, 0.10);
    --pub-border-hover: rgba(0, 168, 135, 0.22);
}

.resource-theme-cyan-profile .resource-feature-icon,
.resource-theme-cyan-profile h3 {
    color: #00a887;
}

.resource-theme-cyan-profile::before {
    background: linear-gradient(90deg, #00d4a8, #00a887);
}

.resource-theme-cyan-profile .resource-pill-tag {
    background-color: #e8fdf8;
    color: #00a887;
}

/* Card 3 — Purple (ASCO) */
.resource-theme-purple-profile {
    --pub-accent: #8b5cf6;
    --pub-shadow: rgba(139, 92, 246, 0.10);
    --pub-border-hover: rgba(139, 92, 246, 0.22);
}

.resource-theme-purple-profile .resource-feature-icon,
.resource-theme-purple-profile h3 {
    color: #8b5cf6;
}

.resource-theme-purple-profile::before {
    background: linear-gradient(90deg, #c084fc, #8b5cf6);
}

.resource-theme-purple-profile .resource-pill-tag {
    background-color: #f5f0fe;
    color: #8b5cf6;
}

.resource-theme-purple-profile .resource-pill-tag.resource-full-tint {
    background-color: #ede9fd;
    color: #7c3aed;
}

/* Card 4 — Green (Frontiers) */
.resource-theme-green-profile {
    --pub-accent: #059669;
    --pub-shadow: rgba(5, 150, 105, 0.10);
    --pub-border-hover: rgba(5, 150, 105, 0.22);
}

.resource-theme-green-profile .resource-feature-icon,
.resource-theme-green-profile h3 {
    color: #059669;
}

.resource-theme-green-profile::before {
    background: linear-gradient(90deg, #34d399, #059669);
}

.resource-theme-green-profile .resource-pill-tag {
    background-color: #ecfdf5;
    color: #059669;
}

.resource-theme-green-profile .resource-pill-tag.resource-full-tint {
    background-color: #d1fae5;
    color: #047857;
}

/* Card  5 — Pink */
.resource-theme-pink-profile {
    --pub-accent: var(--color-pink);
    --pub-shadow: rgba(240, 192, 250, 0.18);
    --pub-border-hover: rgba(240, 192, 250, 0.6);
}

.resource-theme-pink-profile .resource-feature-icon,
.resource-theme-pink-profile h3 {
    color: #a14eb9;
}

.resource-theme-pink-profile::before {
    background: linear-gradient(90deg,
            rgba(240, 192, 250, 0.45),
            var(--color-pink));
}

.resource-theme-pink-profile .resource-pill-tag {
    background-color: rgba(240, 192, 250, 0.18);
    color: #a14eb9;
}

.resource-theme-pink-profile .resource-pill-tag.resource-full-tint {
    background-color: var(--color-pink);
    color: #7c2d8b;
}

/* ==========================================================================
   TIMELINE — NEWS SECTION
   ========================================================================== */

.resource-timeline-section {
    position: relative;
    padding: 6rem 0;
    background-color: #f6f8fa;
}

.resource-timeline-container {
    position: relative;
    max-width: 1040px;
    margin: 4rem auto 0 auto;
    padding-left: 110px;
}

.resource-timeline-spine {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 2px;
    height: calc(100% - 80px);
    background-color: rgba(7, 29, 70, 0.1);
    z-index: 1;
}

.resource-timeline-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--slate-navy), var(--accent-blue), var(--accent-teal));
    transition: height 0.15s ease-out;
}

.resource-timeline-row {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.resource-timeline-row:last-child {
    margin-bottom: 0;
}

.resource-timeline-date-indicator {
    position: absolute;
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
    width: 82px;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.resource-date-node {
    width: 72px;
    height: 72px;
    background-color: var(--color-periwinkle);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(7, 29, 70, 0.18);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.resource-date-node .resource-node-mth {
    /* font-family: var(--font-body); */
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.75;
    text-transform: capitalize;
}

.resource-date-node .resource-node-yr {
    /* font-family: var(--font-body); */
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Alternate node colors */
.resource-alt-cyan {
    background-color: var(--color-green);
    /* background: linear-gradient(135deg, #006b55, #00a887); */
}

.resource-alt-purple {
    background-color: var(--color-lavender);
    /* background: linear-gradient(135deg, #5b21b6, #8b5cf6); */
}

.resource-alt-magenta {
    background-color: var(--color-periwinkle);
    /* background: linear-gradient(135deg, #9d174d, #db2777); */
}

.resource-alt-navy {
    background-color: var(--color-green);
    /* background: linear-gradient(135deg, #071d46, #1a3d6e); */
}

.resource-publisher-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.5rem;
}

.resource-text-blue {
    color: var(--accent-blue);
}

.resource-text-cyan {
    color: #00a887;
}

.resource-text-purple {
    color: #8b5cf6;
}

.resource-text-magenta {
    color: var(--color-periwinkle);
}

.resource-text-navy {
    color: var(--color-green);
}

.resource-timeline-card-content {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.2rem 2.8rem;
    opacity: 0;
    transform: translateX(35px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Teal left-border accent on hover */
.resource-timeline-card-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-periwinkle), var(--color-navy));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 0 0 16px;
}

.resource-timeline-row.is-active .resource-timeline-card-content::before {
    transform: scaleY(1);
}

.resource-card-inner-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.resource-timeline-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1.38;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.resource-timeline-card-content p {
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--text-muted);
    margin: 0;
}

.resource-row-arrow-indicator {
    color: #b0bec5;
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    padding-left: 0.5rem;
    flex-shrink: 0;
}

/* Active states */
.resource-timeline-row.is-active .resource-timeline-card-content {
    opacity: 1;
    transform: translateX(0);
}

.resource-timeline-row.is-active .resource-date-node {
    transform: scale(1.06);
    /* border-color: var(--color-aqua); */
    box-shadow: 0 8px 24px rgba(11, 31, 59, 0.54);
}

.resource-timeline-row.is-active .resource-row-arrow-indicator {
    transform: translateX(4px);
    color: var(--color-periwinkle);
}

/* Hover state on cards */
.resource-timeline-card-content:hover {
    box-shadow: 0 10px 30px rgba(7, 29, 70, 0.06);
}

/* Timeline responsive */
@media screen and (min-width: 801px) and (max-width: 1200px) {
    .resource-timeline-container {
        padding-left: 110px;
        max-width: 95%;
    }

    .resource-timeline-spine {
        left: 40px;
    }

    .resource-timeline-date-indicator {
        left: -110px;
    }

    .resource-timeline-card-content {
        padding: 2.2rem;
    }
}

@media screen and (min-width: 501px) and (max-width: 800px) {
    .resource-timeline-container {
        padding-left: 100px;
        max-width: 96%;
    }

    .resource-timeline-spine {
        left: 36px;
        top: 30px;
        height: calc(100% - 60px);
    }

    .resource-timeline-date-indicator {
        left: -100px;
    }

    .resource-date-node {
        width: 66px;
        height: 66px;
        border-radius: 12px;
    }

    .resource-timeline-card-content {
        padding: 1.8rem;
    }

    .resource-timeline-card-content h3 {
        font-size: 20px;
    }

    .resource-theme-gold-award h3 {
        font-size: 20px;
    }

    .resource-hero-subtitle {
        font-size: 20px !important;
    }
}

@media screen and (max-width: 500px) {
    .resource-feature-gradient-card .resource-meta-date {
        font-size: 12px;
    }

    .resource-timeline-container {
        padding-left: 30px;
        margin-top: 2.5rem;
    }

    .resource-timeline-spine {
        display: block !important;
        left: 0px;
        top: 10px;
        height: calc(100% - 20px);
    }

    .resource-timeline-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .resource-timeline-date-indicator {
        position: relative;
        left: -30px;
        top: 0;
        transform: none;
        width: auto;
        display: block;
        margin-bottom: 0.75rem;
        z-index: 5;
    }

    .resource-date-node {
        width: auto;
        height: auto;
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        padding: 0.35rem 0.8rem;
        border-radius: 8px;
    }

    .resource-date-node .resource-node-mth {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .resource-date-node .resource-node-yr {
        font-size: 0.85rem;
    }

    .resource-timeline-card-content {
        width: 100%;
        padding: 1.25rem;
        border-radius: 12px;
        opacity: 1 !important;
        transform: none !important;
    }

    .resource-card-inner-split {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
    }

    .resource-text-side {
        flex: 1;
    }

    .resource-timeline-card-content h3 {
        font-size: 1.05rem;
        line-height: 1.4;
        margin-bottom: 0.4rem;
    }

    .resource-timeline-card-content p {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .resource-row-arrow-indicator {
        align-self: center;
        font-size: 0.95rem;
        color: var(--accent-teal);
    }

    .resource-hero-subtitle {
        font-size: 15px;
    }
}


/* ==========================================================================
   AWARDS / GLOW CARDS
   ========================================================================== */
.resource-awards-glow-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.resource-chromatic-glow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    margin-top: 4rem;
    padding: 1rem;
}

/* ==========================================================================
   GLOW CARD CORE CONTAINER (Fixed Corner Truncation)
   ========================================================================== */
.resource-glow-card {
    border-radius: 24px;
    border: 1px solid transparent;
    border-top: 6px solid transparent;
    /* Keeps structural spacing uniform */
    padding: 2.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    min-height: 300px;
    transform: translateZ(0);

    /* FIX: Force child components and borders to respect the 24px curvature */
    overflow: hidden;

    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* REMOVED: .glow-card::before has been deleted to stop the flat-cap overflow bug */

.resource-glow-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    filter: blur(32px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-glow-card:hover {
    transform: translateY(-6px) scale(1.015);
}

.resource-glow-card:hover::after {
    opacity: 0.5;
}

/* ==========================================================================
   INNER STRUCTURAL LAYOUT COMPONENT
   ========================================================================== */
.resource-glow-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.resource-glow-icon-wrapper {
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.resource-glow-card:hover .resource-glow-icon-wrapper {
    transform: scale(1.14) rotate(6deg);
}

.resource-glow-year {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.resource-glow-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    letter-spacing: -0.005em;
}

.resource-glow-card p {
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================================================
   COLOR CHROMATIC PROFILES (Migrated to native border-top maps)
   ========================================================================== */

/* pink */

.resource-theme-pink-award {
    background-color: #fff8ff;
    border-color: rgba(240, 192, 250, 0.943);
    border-top-color: var(--color-pink);
}

.resource-theme-pink-award::after {
    background: radial-gradient(circle,
            var(--color-pink) 0%,
            transparent 70%);
}

.resource-theme-pink-award .resource-glow-icon-wrapper {
    background-color: #fdf0ff;
    color: #c26dd8;
}

.resource-theme-pink-award .resource-glow-year {
    background-color: #fdf0ff;
    color: #b85ed0;
}

.resource-theme-pink-award h3 {
    color: #8b4aa5;
}

.resource-theme-pink-award p {
    color: #a064b8;
}

.resource-theme-pink-award:hover {
    box-shadow: 0 20px 40px rgba(240, 192, 250, 0.18);
}



/* navyyy */

.resource-theme-navy-award {
    background-color: #eff4ff;
    border-color: rgba(11, 31, 59, 0.12);
    border-top-color: var(--color-periwinkle);
}

.resource-theme-navy-award::after {
       background: radial-gradient(circle, #60a5fa 0%, transparent 70%);

}

.resource-theme-navy-award .resource-glow-icon-wrapper {
    background-color: #eaf0f8;
    color: #1a6fff;
}

.resource-theme-navy-award .resource-glow-year {
    background-color: #eaf0f8;
    color: #1a6fff;
}

.resource-theme-navy-award h3 {
    color: #1a6fff;
}

.resource-theme-navy-award p {
    color: #1a6fff;
}

.resource-theme-navy-award:hover {
    box-shadow: 0 20px 40px rgba(11, 31, 59, 0.15);
}


/* lavender */
.resource-theme-lavender-award {
    background-color: #faf7ff;
    border-color: rgba(184, 156, 232, 0.15);
    border-top-color: var(--color-lavender);
}

.resource-theme-lavender-award::after {
    background: radial-gradient(circle,
            var(--color-lavender) 0%,
            transparent 70%);
}

.resource-theme-lavender-award .resource-glow-icon-wrapper {
    background-color: #f3ecff;
    color: var(--color-dark-lavender);
}

.resource-theme-lavender-award .resource-glow-year {
    background-color: #f3ecff;
    color: var(--color-dark-lavender);
}

.resource-theme-lavender-award h3 {
    color: #5f3ca0;
}

.resource-theme-lavender-award p {
    color: #7552b4;
}

.resource-theme-lavender-award:hover {
    box-shadow: 0 20px 40px rgba(158, 116, 231, 0.15);
}


/* Teal Variant */
.resource-theme-teal-award {
    background-color: #effdfb;
    border-color: rgba(0, 212, 168, 0.15);
    border-top-color: var(--color-green);
}

.resource-theme-teal-award::after {
    background: radial-gradient(circle, #00d4a8 0%, transparent 70%);
}

.resource-theme-teal-award .resource-glow-icon-wrapper {
    background-color: #ccf8f1;
    color: #007a62;
}

.resource-theme-teal-award .resource-glow-year {
    background-color: #ccf8f1;
    color: #007a62;
}

.resource-theme-teal-award h3 {
    color: #004d3e;
}

.resource-theme-teal-award p {
    color: #06544a;
}

.resource-theme-teal-award:hover {
    box-shadow: 0 20px 40px rgba(0, 168, 135, 0.12);
}

/* Royal Blue Variant */
.resource-theme-royalblue-award {
    background-color: #eff4ff;
    border-color: rgba(96, 165, 250, 0.15);
    border-top-color: var(--color-periwinkle);
}

.resource-theme-royalblue-award::after {
    background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
}

.resource-theme-royalblue-award .resource-glow-icon-wrapper {
    background-color: #dbeafe;
    color: #1a6fff;
}

.resource-theme-royalblue-award .resource-glow-year {
    background-color: #dbeafe;
    color: #1a6fff;
}

.resource-theme-royalblue-award h3 {
    color: #1a6fff;
}

.resource-theme-royalblue-award p {
    color: #1a6fff;
}

.resource-theme-royalblue-award:hover {
    box-shadow: 0 20px 40px rgba(26, 111, 255, 0.12);
}

/* Orange Variant */
.resource-theme-orange-award {
    background-color: #fff7ed;
    border-color: rgba(234, 88, 12, 0.15);
    border-top-color: #ea580c;
}

.resource-theme-orange-award::after {
    background: radial-gradient(circle, #fdba74 0%, transparent 70%);
}

.resource-theme-orange-award .resource-glow-icon-wrapper {
    background-color: #ffedd5;
    color: #ea580c;
}

.resource-theme-orange-award .resource-glow-year {
    background-color: #ffedd5;
    color: #c2410c;
}

.resource-theme-orange-award h3 {
    color: #7c2d12;
}

.resource-theme-orange-award p {
    color: #9a3412;
}

.resource-theme-orange-award:hover {
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.12);
}

/* Purple Variant */
.resource-theme-purple-award {
    background-color: #faf7ff;
      border-color: rgba(184, 156, 232, 0.15);

    border-top-color: var(--color-lavender);
}

.resource-theme-purple-award::after {
   background: radial-gradient(circle,
            var(--color-lavender) 0%,
            transparent 70%);
}

.resource-theme-purple-award .resource-glow-icon-wrapper {
    background-color: #f3ecff;
    color: var(--color-dark-lavender);
}

.resource-theme-purple-award .resource-glow-year {
    background-color: #f3ecff;
    color: var(--color-dark-lavender);
}

.resource-theme-purple-award h3 {
    color: #5f3ca0;
}

.resource-theme-purple-award p {
    color: #7552b4;
}

.resource-theme-purple-award:hover {
    box-shadow: 0 20px 40px rgba(158, 116, 231, 0.15);

}

/* Green Variant */
.resource-theme-green-award {
    background-color: #f0fdf4;
    border-color: rgba(74, 222, 128, 0.15);
    border-top-color: #16a34a;
}

.resource-theme-green-award::after {
    background: radial-gradient(circle, #4ade80 0%, transparent 70%);
}

.resource-theme-green-award .resource-glow-icon-wrapper {
    background-color: #dcfce7;
    color: #15803d;
}

.resource-theme-green-award .resource-glow-year {
    background-color: #dcfce7;
    color: #15803d;
}

.resource-theme-green-award h3 {
    color: #14532d;
}

.resource-theme-green-award p {
    color: #166534;
}

.resource-theme-green-award:hover {
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.12);
}

/* ==========================================================================
   MEDIA QUERY MATRIX
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .resource-chromatic-glow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .resource-chromatic-glow-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0;
    }

    .resource-glow-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   STAGGERED INSIGHTS SECTION
   ========================================================================== */

.resource-staggered-insights-section {
    background-color: #f6f8fa;
    padding: 6rem 0 10rem 0;
}

.resource-insights-staggered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    margin-top: 5rem;
    align-items: start;
}

.resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(1) {
    transform: translateY(0);
}

.resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(2) {
    transform: translateY(35px);
}

.resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(3) {
    transform: translateY(70px);
}

.resource-staggered-insight-card {
    background-color: #ffffff;
    border-radius: 26px;
    border: 1px solid var(--card-border);
    border-top: 6px solid transparent;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 24px rgba(7, 29, 70, 0.03);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.resource-staggered-insight-card::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -1px;
    right: -1px;
    height: 6px;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    z-index: 5;
}

.resource-insight-glass-cap {
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    position: relative;
}

.resource-insight-vector-art {
    font-size: 2rem;
    display: inline-flex;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.resource-insight-meta-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
}

.resource-tag-label {
    font-family: var(--font-body);
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.resource-duration-counter {
    font-family: var(--font-body);
    font-size: 0.73rem;
    font-weight: 600;
    color: #64748b;
    opacity: 0.8;
}

.resource-insight-body-canvas {
    padding: 2.2rem;
    background-color: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.resource-insight-body-canvas h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.42;
    margin-bottom: 0.8rem;
    letter-spacing: -0.005em;
}

.resource-insight-body-canvas p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.65;
    color: #5a6a82;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.resource-editorial-link-action {
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    transition: gap 0.25s ease, color 0.25s ease;
}

.resource-editorial-link-action i {
    font-size: 0.76rem;
    transition: transform 0.25s ease;
}

/* Hover behaviors */
.resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(1):hover {
    transform: translateY(-8px);
}

.resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(2):hover {
    transform: translateY(27px);
}

.resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(3):hover {
    transform: translateY(62px);
}

.resource-staggered-insight-card:hover {
    box-shadow: 0 30px 60px -12px rgba(7, 29, 70, 0.09);
    border-color: rgba(0, 212, 168, 0.15);
}

.resource-staggered-insight-card:hover .resource-insight-vector-art {
    transform: scale(1.12) translateY(-2px);
}

.resource-staggered-insight-card:hover .resource-editorial-link-action {
    gap: 0.7rem;
}

.resource-staggered-insight-card:hover .resource-editorial-link-action i {
    transform: translateX(3px);
}

.resource-sta-blue:hover {
    border-color: #1a6fff;
}

.resource-sta-green:hover {
    border-color: #00a887;
}

.resource-sta-purple:hover {
    border-color: #7c3aed;
}

/* Color profiles */
.resource-profile-blue-horizon::before {
    background: linear-gradient(90deg, #1a6fff, #64a8ff);
}

.resource-profile-blue-horizon .resource-insight-glass-cap {
    background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.resource-profile-blue-horizon .resource-insight-vector-art {
    color: #1a6fff;
}

.resource-profile-blue-horizon .resource-tag-label {
    color: #1a6fff;
}

.resource-profile-blue-horizon .resource-editorial-link-action {
    color: #1a6fff;
}

.resource-profile-cyan-lightning::before {
    background: linear-gradient(90deg, #00d4a8, #00a887);
}

.resource-profile-cyan-lightning .resource-insight-glass-cap {
    background: linear-gradient(180deg, #eafdf8 0%, #ffffff 100%);
}

.resource-profile-cyan-lightning .resource-insight-vector-art {
    color: #f2c94c;
}

.resource-profile-cyan-lightning .resource-tag-label {
    color: #00a887;
}

.resource-profile-cyan-lightning .resource-editorial-link-action {
    color: #00a887;
}

.resource-profile-purple-device::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.resource-profile-purple-device .resource-insight-glass-cap {
    background: linear-gradient(180deg, #f5f0fe 0%, #ffffff 100%);
}

.resource-profile-purple-device .resource-insight-vector-art {
    color: #111827;
}

.resource-profile-purple-device .resource-tag-label {
    color: #8b5cf6;
}

.resource-profile-purple-device .resource-editorial-link-action {
    color: #7c3aed;
}

@media screen and (max-width: 1024px) {
    .resource-insights-staggered-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(1),
    .resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(2),
    .resource-insights-staggered-grid .resource-staggered-insight-card:nth-child(3) {
        transform: none !important;
    }

    .resource-staggered-insights-section {
        padding: 6rem 0;
    }
}

@media screen and (max-width: 650px) {
    .resource-insights-staggered-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3.5rem;
    }

    .resource-staggered-insight-card {
        border-radius: 20px;
    }

    .resource-insight-glass-cap {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }

    .resource-insight-body-canvas {
        padding: 1.5rem;
    }

    .resource-insight-body-canvas h3 {
        font-size: 1.15rem;
    }

    .resource-insight-body-canvas p {
        font-size: 0.9rem;
    }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.resource-footer-cta-wrapper {
    background: linear-gradient(160deg, var(--slate-navy) 0%, var(--navy-mid) 50%, #0a2d5e 100%);
    color: var(--pure-white);
    padding: 7rem 0 3rem 0;
    position: relative;
    overflow: hidden;
}

.resource-footer-cta-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 168, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 168, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.resource-footer-cta-wrapper .resource-container {
    position: relative;
    z-index: 2;
}

.resource-footer-cta-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.resource-footer-cta-wrapper h2 .resource-italic-serif {
    color: var(--accent-teal);
}

.resource-footer-cta-wrapper>.resource-container>p {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.resource-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.resource-action-btn-filled {
    background-color: var(--accent-teal);
    color: var(--slate-navy);
    padding: 0.8rem 2.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    transition: opacity 0.2s, transform 0.2s;
    letter-spacing: 0.02em;
}

.resource-action-btn-filled:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.resource-action-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--pure-white);
    padding: 0.8rem 2.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s, border-color 0.2s;
}

.resource-action-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
}

.resource-action-btn-minimal {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.resource-action-btn-minimal:hover {
    color: var(--pure-white);
}

.resource-base-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.resource-brand-left h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
    color: var(--pure-white);
}

.resource-brand-left p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.resource-links-right a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.resource-links-right a:hover {
    color: var(--pure-white);
}

.resource-feature-gradient-card h3 {
    font-family: "Manrope", sans-serif;
}

/* ==========================================================================
   ANIMATION STATES
   ========================================================================== */

.resource-animate-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger siblings */
.resource-animate-up:nth-child(2) {
    transition-delay: 0.08s;
}

.resource-animate-up:nth-child(3) {
    transition-delay: 0.16s;
}

.resource-animate-up:nth-child(4) {
    transition-delay: 0.24s;
}


/* ==========================================================================
   RESPONSIVE GLOBALS
   ========================================================================== */

@media (max-width: 968px) {

    .resource-grid-3x2,
    .resource-grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .resource-capabilities-display-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {

    .resource-grid-2x2,
    .resource-grid-3x2,
    .resource-grid-3-col {
        grid-template-columns: 1fr;
    }

    .resource-hero-section h1 {
        font-size: 2.9rem;
    }

    .resource-block-header h2 {
        font-size: 2.3rem;
    }

    .resource-base-footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .resource-links-right a {
        margin: 0 0.8rem;
    }

    .resource-footer-cta-wrapper h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 500px) {
    .resource-capabilities-display-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .resource-feature-gradient-card {
        padding: 1.75rem 1.5rem;
        min-height: auto;
        border-radius: 20px;
        border-top: 5px solid transparent;
    }

    .resource-feature-gradient-card::before {
        top: -5px;
        height: 5px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .resource-feature-gradient-card h3 {
        font-size: 20px;
        font-family: "Manrope", sans-serif;
    }

    .resource-feature-gradient-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

/* Insight post (legacy) */
.resource-insight-post {
    background-color: var(--pure-white);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2rem;
}

.resource-media-window {
    height: 170px;
    background-color: var(--off-white);
    border-radius: 10px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(26, 111, 255, 0.2);
}

.resource-category-slug {
    color: var(--accent-teal);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.resource-insight-post h3 {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    line-height: 1.35;
    margin-bottom: 0.8rem;
}

.resource-insight-post p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.93rem;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


.resource-feature-grid-section,
.resource-timeline-section,
.resource-awards-glow-section,
.resource-staggered-insights-section {
    padding:  100px;
}





@media screen and (max-width: 800px) {

    .resource-feature-grid-section,
    .resource-timeline-section,
    .resource-awards-glow-section,
    .resource-staggered-insights-section {
        padding: 5rem 40px;
    }

    .resource-hero-section {
        padding: 160px 40px;
        height: auto;
        min-height: 600px;
    }

    .resource-text-center {
        text-align: left;
    }
}


@media screen and (max-width: 500px) {

    .resource-feature-grid-section,
    .resource-timeline-section,
    .resource-awards-glow-section,
    .resource-staggered-insights-section {
        padding: 60px 20px;
    }

    .resource-hero-section {
        padding: 150px 20px;
        height: auto;
        min-height: 500px;
    }

    .resource-container {
        padding: 0;
    }

    .resource-text-center {
        text-align: left;
    }

}