﻿/* =========================================================
   RESEARCH CENTERS & LABS
========================================================= */

.research-centers-section {
    padding: 90px 0;
    background: #ffffff;
}


/* =========================================================
   IMAGE
========================================================= */

.research-feature-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    background: #073b4c;
    box-shadow: 0 20px 45px rgba(5,45,55,.10);
}


    .research-feature-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .7s ease;
    }


    .research-feature-image:hover img {
        transform: scale(1.035);
    }


.research-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(7,59,76,.02) 30%, rgba(7,59,76,.88) 100% );
}


/* =========================================================
   IMAGE LABEL
========================================================= */

.research-feature-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(7,59,76,.90);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}


.research-feature-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(229,184,61,.10);
    color: #e5b83d;
    font-size: 14px;
}


.research-feature-label span {
    display: block;
    margin-bottom: 3px;
    color: #58c5ca;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 1.5px;
}


.research-feature-label strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   CONTENT
========================================================= */

.research-centers-content {
    max-width: 620px;
}


    .research-centers-content .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 10px;
        color: #0b858d;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .research-centers-content .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .research-centers-content h2 {
        margin: 0 0 22px;
        color: #073b4c;
        font-size: clamp(36px, 4vw, 50px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.9px;
    }


        .research-centers-content h2 span {
            color: #0b858d;
        }


/* =========================================================
   CPS CARD
========================================================= */

.research-center-card {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-radius: 16px;
    background: #f7f9fa;
    border: 1px solid #e2eaec;
}


.research-center-card-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eef8f8;
    color: #0b858d;
    font-size: 14px;
}


.research-center-card h3 {
    margin: 0 0 10px;
    color: #073b4c;
    font-size: 16px;
    font-weight: 800;
}


.research-center-card p {
    margin: 0 0 11px;
    color: #71818a;
    font-size: 11px;
    line-height: 1.75;
}


    .research-center-card p:last-child {
        margin-bottom: 0;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .research-centers-section {
        padding: 70px 0;
    }

    .research-feature-image {
        height: 420px;
    }
}


@media (max-width: 767px) {

    .research-centers-section {
        padding: 60px 0;
    }

    .research-feature-image {
        height: 350px;
        border-radius: 19px;
    }

    .research-center-card {
        flex-direction: column;
    }
}
/* =========================================================
   RESEARCH OUTPUT
========================================================= */

.research-output-section {
    padding: 85px 0;
    background: #f7f9fa;
}


/* =========================================================
   HEADING
========================================================= */

.research-output-heading {
    max-width: 680px;
    margin-bottom: 32px;
}


    .research-output-heading .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 10px;
        color: #0b858d;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .research-output-heading .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .research-output-heading h2 {
        margin: 0 0 11px;
        color: #073b4c;
        font-size: clamp(35px, 4vw, 48px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.8px;
    }


        .research-output-heading h2 span {
            color: #0b858d;
        }


    .research-output-heading p {
        margin: 0;
        color: #71818a;
        font-size: 13px;
        line-height: 1.75;
    }


/* =========================================================
   OUTPUT CARD
========================================================= */

.research-output-card {
    position: relative;
    height: 100%;
    min-height: 178px;
    padding: 19px;
    border: 1px solid #e1e9eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(5,45,55,.035);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}


    .research-output-card:hover {
        transform: translateY(-5px);
        border-color: rgba(11,133,141,.20);
        box-shadow: 0 17px 32px rgba(5,45,55,.08);
    }


/* =========================================================
   CARD TOP
========================================================= */

.research-output-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.research-output-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eef8f8;
    color: #0b858d;
    font-size: 13px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}


.research-output-card:hover .research-output-icon {
    background: #0b858d;
    color: #ffffff;
    transform: scale(1.05);
}


.research-output-number {
    color: #d7e1e3;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
}


/* =========================================================
   COUNT
========================================================= */

.research-output-count {
    margin-top: 21px;
    color: #073b4c;
    font-size: 32px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.8px;
}


    .research-output-count::after {
        content: "+";
        margin-left: 2px;
        color: #e5b83d;
        font-size: 19px;
    }


/* =========================================================
   TITLE
========================================================= */

.research-output-card h3 {
    max-width: 220px;
    margin: 8px 0 0;
    color: #71818a;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.45;
}


/* =========================================================
   ACTION
========================================================= */

.research-output-action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .research-output-section {
        padding: 60px 0;
    }


    .research-output-card {
        min-height: 165px;
    }


    .research-output-count {
        font-size: 29px;
    }
}
/* =========================================================
   CONFERENCES & WORKSHOPS
========================================================= */

.research-events-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient( 135deg, #062f3d 0%, #073b4c 55%, #052c38 100% );
    overflow: hidden;
}


    .research-events-section::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -200px;
        top: -230px;
        border-radius: 50%;
        background: rgba(11,133,141,.08);
    }


    .research-events-section::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        left: -170px;
        bottom: -190px;
        border-radius: 50%;
        background: rgba(229,184,61,.045);
    }


    .research-events-section .container {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   CONTENT
========================================================= */

.research-events-content {
    max-width: 600px;
}


    .research-events-content .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 11px;
        color: #58c5ca;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .research-events-content .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .research-events-content h2 {
        margin: 0 0 15px;
        color: #ffffff;
        font-size: clamp(35px, 4vw, 49px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.9px;
    }


        .research-events-content h2 span {
            color: #58c5ca;
        }


.research-events-intro {
    max-width: 560px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.61);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   EVENT LIST
========================================================= */

.research-events-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.research-event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 11px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.075);
    color: #ffffff;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}


    .research-event-item:hover {
        transform: translateX(4px);
        background: rgba(255,255,255,.075);
        border-color: rgba(88,197,202,.22);
        color: #ffffff;
    }


/* =========================================================
   EVENT ICON
========================================================= */

.research-event-icon {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(88,197,202,.10);
    color: #58c5ca;
    font-size: 11px;
}


.research-event-text {
    flex: 1;
}


    .research-event-text span {
        display: block;
        margin-bottom: 2px;
        color: #58c5ca;
        font-size: 6px;
        font-weight: 850;
        letter-spacing: 1.4px;
    }


    .research-event-text strong {
        display: block;
        color: rgba(255,255,255,.91);
        font-size: 10px;
        font-weight: 750;
        line-height: 1.4;
    }


.research-event-arrow {
    color: rgba(255,255,255,.28);
    font-size: 9px;
    transition: transform .25s ease, color .25s ease;
}


.research-event-item:hover .research-event-arrow {
    color: #e5b83d;
    transform: translateX(3px);
}


/* =========================================================
   BUTTON
========================================================= */

.research-events-button {
    margin-top: 22px;
}


/* =========================================================
   IMAGE
========================================================= */

.research-events-image {
    position: relative;
    height: 510px;
    overflow: hidden;
    border-radius: 24px;
    background: #0b858d;
    box-shadow: 0 22px 48px rgba(0,0,0,.18);
}


    .research-events-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .7s ease;
    }


    .research-events-image:hover img {
        transform: scale(1.035);
    }


.research-events-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(7,59,76,.02) 30%, rgba(7,59,76,.86) 100% );
}


/* =========================================================
   IMAGE CARD
========================================================= */

.research-events-image-card {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 14px;
    background: rgba(7,59,76,.91);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}


.research-events-image-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(229,184,61,.10);
    color: #e5b83d;
    font-size: 13px;
}


.research-events-image-card span {
    display: block;
    margin-bottom: 3px;
    color: #58c5ca;
    font-size: 6px;
    font-weight: 850;
    letter-spacing: 1.3px;
}


.research-events-image-card strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .research-events-section {
        padding: 70px 0;
    }


    .research-events-image {
        height: 420px;
    }
}


@media (max-width: 767px) {

    .research-events-section {
        padding: 60px 0;
    }


    .research-events-image {
        height: 350px;
        border-radius: 19px;
    }


    .research-event-item {
        padding: 10px;
    }
}
/* =========================================================
   RESEARCHERS
========================================================= */

.researchers-section {
    padding: 90px 0;
    background: #ffffff;
}


/* =========================================================
   CONTENT
========================================================= */

.researchers-content {
    max-width: 570px;
}


    .researchers-content .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 11px;
        color: #0b858d;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .researchers-content .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .researchers-content h2 {
        margin: 0 0 17px;
        color: #073b4c;
        font-size: clamp(36px, 4vw, 50px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.9px;
    }


        .researchers-content h2 span {
            color: #0b858d;
        }


    .researchers-content > p {
        max-width: 510px;
        margin: 0 0 24px;
        color: #71818a;
        font-size: 13px;
        line-height: 1.8;
    }


/* =========================================================
   HIGHLIGHT
========================================================= */

.researcher-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 420px;
    margin-bottom: 25px;
    padding: 14px;
    border-radius: 13px;
    background: #f6f9fa;
    border: 1px solid #e1eaec;
}


.researcher-highlight-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eef8f8;
    color: #0b858d;
    font-size: 13px;
}


.researcher-highlight span {
    display: block;
    margin-bottom: 3px;
    color: #0b858d;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 1.5px;
}


.researcher-highlight strong {
    display: block;
    color: #073b4c;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   IMAGE
========================================================= */

.researchers-image {
    position: relative;
    height: 470px;
    overflow: hidden;
    border-radius: 24px;
    background: #073b4c;
    box-shadow: 0 20px 45px rgba(5,45,55,.10);
}


    .researchers-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .7s ease;
    }


    .researchers-image:hover img {
        transform: scale(1.035);
    }


.researchers-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(7,59,76,.02) 30%, rgba(7,59,76,.86) 100% );
}


/* =========================================================
   IMAGE LABEL
========================================================= */

.researchers-image-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(7,59,76,.90);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}


.researchers-image-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(88,197,202,.10);
    color: #58c5ca;
    font-size: 13px;
}


.researchers-image-label span {
    display: block;
    margin-bottom: 3px;
    color: #58c5ca;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 1.5px;
}


.researchers-image-label strong {
    display: block;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .researchers-section {
        padding: 70px 0;
    }


    .researchers-image {
        height: 420px;
    }
}


@media (max-width: 767px) {

    .researchers-section {
        padding: 60px 0;
    }


    .researchers-image {
        height: 350px;
        border-radius: 19px;
    }
}

/* =========================================================
   LAHORE: RESEARCH AT A GLANCE (overlaps the hero edge)
========================================================= */

.rs-glance {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: -46px;
    padding: 22px 28px;
    border: 1px solid #d3e8eb;
    border-left: 5px solid #0b858d;
    border-radius: 18px;
    background: #f1f8f9;
    box-shadow: 0 16px 40px rgba(5,45,55,.10);
}

.rs-glance-title {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    color: #073b4c;
    font-size: 16px;
    font-weight: 800;
}

    .rs-glance-title i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #ffffff;
        color: #0b858d;
        box-shadow: 0 4px 12px rgba(20,55,67,.08);
    }

.rs-glance-stats {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

    .rs-glance-stats div {
        padding: 2px 18px;
        border-left: 1px solid #d3e8eb;
    }

    .rs-glance-stats dt {
        color: #073b4c;
        font-size: 24px;
        font-weight: 850;
        line-height: 1.1;
        letter-spacing: -.4px;
    }

    .rs-glance-stats dd {
        margin: 4px 0 0;
        color: #5d7078;
        font-size: 13px;
        line-height: 1.4;
    }

.rs-glance-btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #e5b83d;
    color: #073b4c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease;
}

    .rs-glance-btn:hover {
        transform: translateY(-2px);
        color: #073b4c;
    }


/* =========================================================
   LAHORE: RESEARCH UNITS WITH LOGOS
========================================================= */

.rs-section-intro {
    margin: -8px 0 26px;
    color: #5d7078;
    font-size: 15px;
    line-height: 1.75;
}

.rs-unit {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    border: 1px solid #e2eaec;
    border-radius: 18px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(5,45,55,.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .rs-unit:hover {
        transform: translateY(-4px);
        border-color: #bfe0e3;
        box-shadow: 0 18px 40px rgba(5,45,55,.12);
        color: inherit;
    }

.rs-unit-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #edf2f3;
    border-radius: 14px;
    background: #ffffff;
}

    .rs-unit-logo img {
        max-width: 100%;
        max-height: 96px;
        object-fit: contain;
    }

.rs-unit-kind {
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 4px 11px;
    border-radius: 999px;
    background: #eef8f8;
    color: #0b858d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
}

.rs-unit h3 {
    margin: 0 0 8px;
    color: #073b4c;
    font-size: 21px;
    font-weight: 850;
}

.rs-unit p {
    flex: 1;
    margin: 0 0 16px;
    color: #5d7078;
    font-size: 14px;
    line-height: 1.7;
}

.rs-unit-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b858d;
    font-size: 13px;
    font-weight: 800;
}

.rs-unit:hover .rs-unit-go {
    color: #b8860b;
}


/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
    .rs-glance {
        flex-wrap: wrap;
    }

    .rs-glance-stats {
        flex-basis: 100%;
        order: 3;
    }
}

@media (max-width: 767px) {
    .rs-glance {
        margin-top: -30px;
        padding: 18px;
    }

    .rs-glance-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 14px;
    }

        .rs-glance-stats div:nth-child(odd) {
            padding-left: 0;
            border-left: 0;
        }
}


/* =========================================================
   LAHORE: IRCBM FEATURE CARD WITH KEY FIGURES
========================================================= */

.rs-unit-feature {
    display: grid;
    grid-template-columns: minmax(260px, 5fr) 7fr;
    gap: 32px;
    align-items: center;
}

    .rs-unit-feature:hover {
        transform: none;
    }

.rs-unit-feature-main {
    display: flex;
    flex-direction: column;
}

    .rs-unit-feature-main .rs-unit-logo {
        justify-content: flex-start;
        height: 110px;
        border: 0;
        padding: 0;
    }

    .rs-unit-feature-main p {
        flex: none;
    }

    .rs-unit-feature-main .rs-unit-go {
        align-self: flex-start;
        text-decoration: none;
    }

.rs-unit-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

    .rs-unit-stats > div {
        padding: 16px 14px;
        border-radius: 14px;
        background: linear-gradient(150deg, #073b4c, #0b6f78);
        color: #ffffff;
        text-align: center;
    }

    .rs-unit-stats .rs-unit-stat-wide {
        grid-column: span 2;
        background: linear-gradient(150deg, #8a6a12, #e5b83d);
    }

    .rs-unit-stats dt {
        color: #ffffff;
        font-size: 28px;
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.5px;
    }

    .rs-unit-stats dd {
        margin: 6px 0 0;
        color: rgba(255,255,255,.85);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
    }

        .rs-unit-stats dd small {
            display: block;
            margin-top: 2px;
            color: rgba(255,255,255,.65);
            font-size: 11px;
            font-weight: 500;
        }

@media (max-width: 991px) {
    .rs-unit-feature {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .rs-unit-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   LAHORE: UNIT CARDS - logo + type on the left, text on the right
========================================================= */

.rs-unit:not(.rs-unit-feature),
.rs-unit-feature-main {
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
}

.rs-unit-feature-main {
    display: flex;
}

.rs-unit-side {
    display: flex;
    flex: 0 0 140px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

    .rs-unit-side .rs-unit-logo,
    .rs-unit-feature-main .rs-unit-side .rs-unit-logo {
        justify-content: center;
        width: 140px;
        height: 120px;
        margin: 0;
        padding: 10px;
        border: 1px solid #edf2f3;
    }

    .rs-unit-side .rs-unit-kind {
        align-self: center;
        margin: 0;
        text-align: center;
    }

.rs-unit-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    align-self: stretch;
}

    .rs-unit-body h3 {
        margin-top: 4px;
    }

    .rs-unit-body p {
        flex: 1;
    }

    .rs-unit-body .rs-unit-go {
        align-self: flex-start;
        text-decoration: none;
    }

@media (max-width: 575px) {
    .rs-unit:not(.rs-unit-feature),
    .rs-unit-feature-main {
        flex-direction: column;
        align-items: stretch;
    }

    .rs-unit-side {
        flex-basis: auto;
        flex-direction: row;
        justify-content: flex-start;
    }
}


/* =========================================================
   LAHORE: RESOURCES & COLLABORATE AS FULL-WIDTH ROWS
========================================================= */

.research-events-content.rs-row-block {
    max-width: none;
}

    .rs-row-block + .rs-row-block {
        margin-top: 56px;
        padding-top: 48px;
        border-top: 1px solid rgba(255,255,255,.10);
    }

.research-events-list.rs-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

    .rs-links-grid .research-event-item {
        padding: 16px;
    }

.rs-collab .research-events-intro {
    margin-bottom: 0;
    font-size: 14px;
}

.rs-collab-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

    .rs-collab-actions .research-event-item {
        flex: 1 1 280px;
        padding: 16px;
    }

    .rs-collab-actions .research-events-button {
        flex: 0 0 auto;
        margin-top: 0;
    }

@media (max-width: 767px) {
    .rs-row-block + .rs-row-block {
        margin-top: 40px;
        padding-top: 36px;
    }
}


/* =========================================================
   LAHORE: "COLLABORATE WITH US" AS A GOLD CTA CARD
========================================================= */

.rs-row-block + .rs-row-block.rs-collab {
    margin-top: 56px;
    padding: 40px 44px;
    border-top: 0;
    border-radius: 24px;
    background: linear-gradient(120deg, #e5b83d 0%, #f0cd6a 100%);
    box-shadow: 0 24px 55px rgba(0,0,0,.25);
}

.rs-collab .section-eyebrow {
    color: #073b4c !important;
}

    .rs-collab .section-eyebrow::before {
        background: #073b4c !important;
    }

.rs-collab h2,
.rs-collab h2 span {
    color: #073b4c !important;
}

.rs-collab .research-events-intro {
    color: rgba(7,59,76,.78) !important;
}

.rs-collab-actions .research-event-item {
    border-color: rgba(7,59,76,.12);
    background: #ffffff;
    color: #073b4c;
}

    .rs-collab-actions .research-event-item:hover {
        background: #fffaf0;
    }

    .rs-collab-actions .research-event-item .research-event-text span {
        color: #0b858d;
    }

    .rs-collab-actions .research-event-item .research-event-text strong,
    .rs-collab-actions .research-event-item .research-event-arrow {
        color: #073b4c;
    }

    .rs-collab-actions .research-event-item .research-event-icon {
        background: #eef8f8;
        color: #0b858d;
    }

.rs-collab-actions .btn-campus-primary {
    border-color: #073b4c;
    background: #073b4c;
    color: #ffffff;
}

    .rs-collab-actions .btn-campus-primary:hover {
        background: #0b858d;
        border-color: #0b858d;
        color: #ffffff;
    }

@media (max-width: 767px) {
    .rs-row-block + .rs-row-block.rs-collab {
        padding: 28px 22px;
    }
}

.rs-collab-actions .btn-campus-primary,
.rs-collab-actions .btn-campus-primary i,
.rs-collab-actions .btn-campus-primary:hover,
.rs-collab-actions .btn-campus-primary:hover i {
    color: #ffffff !important;
}


/* =========================================================
   LAHORE: COLLABORATE CTA - white card, two equal link cards
========================================================= */

.rs-row-block + .rs-row-block.rs-collab {
    background: #ffffff;
    box-shadow: 0 24px 55px rgba(0,0,0,.28);
}

.rs-collab .section-eyebrow {
    color: #0b858d !important;
}

    .rs-collab .section-eyebrow::before {
        background: #e5b83d !important;
    }

.rs-collab h2 {
    color: #073b4c !important;
}

    .rs-collab h2 span {
        color: #0b858d !important;
    }

.rs-collab .research-events-intro {
    color: #5d7078 !important;
}

.rs-collab-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

    .rs-collab-actions .research-event-item {
        flex: none;
        padding: 18px;
        border: 1px solid #d3e8eb;
        background: #f1f8f9;
        color: #073b4c;
    }

        .rs-collab-actions .research-event-item:hover {
            border-color: #0b858d;
            background: #e8f5f6;
        }

        .rs-collab-actions .research-event-item .research-event-icon {
            background: #ffffff;
            color: #0b858d;
        }

@media (max-width: 575px) {
    .rs-collab-actions {
        grid-template-columns: 1fr;
    }
}

/* Collaborate CTA now has a single action (Contact ORIC) */
.rs-collab-actions {
    grid-template-columns: 1fr;
}

/* =========================================================
   LAHORE: "COLLABORATE WITH US" AS A SLIM LIGHT BAR
   (same footprint as the homepage "Apply Now" strip)
========================================================= */

.rs-collab-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 18px 20px;
    border: 1px solid #d3e8eb;
    border-radius: 13px;
    background: linear-gradient(135deg, #f1f8f9, #e3f2f3);
    color: #073b4c;
}

    .rs-collab-bar strong {
        display: block;
        margin-bottom: 3px;
        font-size: 15px;
        font-weight: 800;
        color: #073b4c;
    }

    .rs-collab-bar span {
        display: block;
        font-size: 12px;
        color: #5d7078;
    }

.rs-collab-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 8px;
    background: #0b858d;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: transform .3s ease, background .3s ease;
}

    .rs-collab-bar-btn:hover {
        background: #073b4c;
        color: #ffffff;
        transform: translateY(-2px);
    }

    .rs-collab-bar-btn i {
        transition: transform .3s ease;
    }

    .rs-collab-bar-btn:hover i {
        transform: translateX(4px);
    }

@media (max-width: 575px) {
    .rs-collab-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   LAHORE: FAB LAB (ported from legacy campus-life.aspx)
========================================================= */

.rs-fablab-section {
    padding: 0 0 90px;
}

.rs-fablab-fig {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(7,59,76,.14);
}

    .rs-fablab-fig img {
        display: block;
        width: 100%;
        height: auto;
    }

.rs-fablab-body h3 {
    margin-bottom: 14px;
    color: #073b4c;
    font-size: 30px;
    font-weight: 700;
}

.rs-fablab-body p {
    color: #5d7078;
    font-size: 15px;
    line-height: 1.75;
}

    .rs-fablab-body p strong {
        color: #073b4c;
    }

.rs-fablab-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 6px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #e5b83d;
    color: #3a2c0c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(229,184,61,.35);
    transition: transform .3s ease, background .3s ease;
}

    .rs-fablab-btn:hover {
        background: #f0c75c;
        color: #3a2c0c;
        transform: translateY(-2px);
    }

@media (max-width: 991px) {
    .rs-fablab-body h3 {
        font-size: 24px;
    }
}
