/* ==========================================================
   CGIS ACTIVITIES V10
   ========================================================== */

.v10-activities-section {
    position: relative;

    overflow: hidden;

    padding:
        125px 0;

    color: #fff;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(214,74,114,.26),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 92%,
            rgba(8,112,63,.18),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            #170b10,
            #2b101b 54%,
            #421324
        );
}

.v10-activity-orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.v10-orb-one {
    width: 380px;
    height: 380px;

    right: -180px;
    top: 18%;

    border:
        1px solid
        rgba(255,255,255,.08);
}

.v10-orb-two {
    width: 260px;
    height: 260px;

    left: -140px;
    bottom: 12%;

    border:
        1px solid
        rgba(246,184,0,.12);
}

.v10-activities-heading {
    display: grid;

    grid-template-columns:
        minmax(0,1.1fr)
        minmax(300px,.9fr);

    align-items: end;

    gap: 75px;
}

.v10-activities-heading h2 {
    max-width: 800px;

    margin:
        17px 0 0;

    font-size:
        clamp(
            3rem,
            5vw,
            5rem
        );

    line-height: .97;

    letter-spacing: -.06em;
}

.v10-activities-intro {
    padding-bottom: 8px;
}

.v10-activities-intro strong {
    display: block;

    margin-bottom: 8px;

    color: #ffd3df;
}

.v10-activities-intro p {
    margin: 0;

    color:
        rgba(255,255,255,.58);

    line-height: 1.7;
}


/* FEATURED HACKATHON */

.v10-hackathon-feature {
    margin-top: 65px;

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    min-height: 600px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 34px;

    background:
        rgba(255,255,255,.045);

    box-shadow:
        0 35px 90px
        rgba(0,0,0,.22);

    backdrop-filter: blur(15px);
}

.v10-hackathon-media {
    position: relative;

    min-height: 600px;

    overflow: hidden;

    background: #13090e;
}

.v10-hackathon-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform .8s
        cubic-bezier(.22,1,.36,1);
}

.v10-hackathon-feature:hover
.v10-hackathon-media img {
    transform: scale(1.035);
}

.v10-media-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(10,4,7,.03),
            rgba(10,4,7,.12) 55%,
            rgba(10,4,7,.75)
        );
}

.v10-edition-number {
    position: absolute;

    top: 25px;
    right: 28px;

    color:
        rgba(255,255,255,.15);

    font-size: 6rem;

    font-weight: 900;

    line-height: 1;
}

.v10-photo-label {
    position: absolute;

    left: 28px;
    bottom: 28px;

    display: flex;
    flex-direction: column;
}

.v10-photo-label span {
    color: #ffd2de;

    font-size: .63rem;

    letter-spacing: .12em;

    font-weight: 900;
}

.v10-photo-label strong {
    margin-top: 3px;

    font-size: 1.6rem;
}

.v10-hackathon-content {
    padding:
        48px
        45px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.v10-event-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.v10-event-meta span,
.v10-topic-chips span {
    padding:
        6px
        9px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 999px;

    color:
        rgba(255,255,255,.68);

    background:
        rgba(255,255,255,.05);

    font-size: .58rem;

    font-weight: 800;

    letter-spacing: .07em;
}

.v10-event-kicker {
    margin-top: 32px;

    color:
        #ffb7cb;

    font-size: .67rem;

    font-weight: 900;

    letter-spacing: .10em;
}

.v10-hackathon-content h3 {
    margin:
        10px 0
        20px;

    font-size:
        clamp(
            2.8rem,
            4vw,
            4.2rem
        );

    line-height: .94;

    letter-spacing: -.055em;
}

.v10-hackathon-content h3 strong {
    display: block;

    color:
        #e95d84;
}

.v10-hackathon-content p {
    margin: 0;

    color:
        rgba(255,255,255,.60);

    line-height: 1.72;
}

.v10-topic-chips {
    margin-top: 27px;

    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.v10-gallery-jump {
    width: fit-content;

    margin-top: 31px;

    padding:
        13px
        18px;

    display: inline-flex;
    align-items: center;

    gap: 18px;

    border: 0;
    border-radius: 999px;

    color: #1c0b12;

    background: #fff;

    cursor: pointer;

    font-weight: 800;
}


/* BAMENDA */

.v10-bamenda-feature {
    margin-top: 18px;

    min-height: 240px;

    display: grid;

    grid-template-columns:
        150px
        1fr
        310px;

    align-items: center;

    gap: 30px;

    padding:
        32px;

    overflow: hidden;

    position: relative;

    border-radius: 28px;

    color:
        #1b1115;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(8,112,63,.14),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #fff7fa,
            #fff
        );
}

.v10-bamenda-number {
    color:
        rgba(214,74,114,.18);

    font-size: 6rem;

    font-weight: 900;

    line-height: 1;
}

.v10-bamenda-label {
    color:
        #b8325c;

    font-size: .65rem;

    font-weight: 900;

    letter-spacing: .1em;
}

.v10-bamenda-copy h3 {
    margin:
        10px 0
        10px;

    font-size: 1.7rem;

    letter-spacing: -.04em;
}

.v10-bamenda-copy p {
    max-width: 680px;

    margin: 0;

    color: #6d6267;

    font-size: .88rem;

    line-height: 1.65;
}

.v10-bamenda-outcome {
    min-height: 160px;

    padding: 23px;

    display: flex;
    flex-direction: column;

    border-radius: 21px;

    color: #fff;

    background:
        linear-gradient(
            145deg,
            #08703f,
            #04512e
        );
}

.v10-bamenda-outcome small {
    opacity: .65;

    font-size: .57rem;

    letter-spacing: .09em;
}

.v10-bamenda-outcome strong {
    margin-top: auto;

    font-size: 1.1rem;
}

.v10-bamenda-outcome > span {
    position: absolute;

    right: 51px;

    font-size: 2.3rem;

    opacity: .20;
}


/* SECONDARY ACTIONS */

.v10-secondary-heading {
    margin:
        65px 0
        20px;

    color:
        rgba(255,255,255,.42);

    font-size: .65rem;

    font-weight: 900;

    letter-spacing: .13em;
}

.v10-secondary-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 14px;
}

.v10-secondary-grid article {
    min-height: 260px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 22px;

    background:
        rgba(255,255,255,.035);
}

.v10-secondary-icon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: #fff;

    background:
        #d64a72;

    font-size: .65rem;

    font-weight: 900;
}

.v10-secondary-grid article:nth-child(2)
.v10-secondary-icon {
    color: #5d4500;

    background: #f6b800;
}

.v10-secondary-grid article:nth-child(3)
.v10-secondary-icon {
    background: #08703f;
}

.v10-secondary-grid h3 {
    margin:
        auto 0
        8px;

    font-size: 1.35rem;
}

.v10-secondary-grid p {
    margin: 0;

    color:
        rgba(255,255,255,.51);

    font-size: .82rem;

    line-height: 1.6;
}


/* GALLERY */

.v10-gallery {
    margin-top: 75px;
}

.v10-gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 22px;
}

.v10-gallery-heading span {
    color: #f5a9be;

    font-size: .62rem;

    font-weight: 900;

    letter-spacing: .12em;
}

.v10-gallery-heading h3 {
    margin:
        5px 0
        0;

    font-size: 2rem;
}

.v10-gallery-controls {
    display: flex;

    gap: 8px;
}

.v10-gallery-controls button {
    width: 43px;
    height: 43px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 50%;

    color: #fff;

    background:
        rgba(255,255,255,.05);

    cursor: pointer;
}

.v10-gallery-track {
    display: flex;

    gap: 13px;

    overflow-x: auto;

    padding-bottom: 12px;

    scroll-snap-type: x mandatory;

    scrollbar-width: thin;

    scrollbar-color:
        #d64a72
        rgba(255,255,255,.04);
}

.v10-gallery-item {
    flex:
        0 0
        min(390px, 72vw);

    aspect-ratio: 3 / 2;

    position: relative;

    overflow: hidden;

    padding: 0;

    border: 0;
    border-radius: 21px;

    background: #28101a;

    cursor: zoom-in;

    scroll-snap-align: start;
}

.v10-gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.v10-gallery-item:hover img {
    transform: scale(1.035);
}

.v10-gallery-item > span {
    position: absolute;

    left: 14px;
    bottom: 13px;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #fff;

    background:
        rgba(20,8,13,.65);

    backdrop-filter: blur(12px);

    font-size: .6rem;

    font-weight: 900;
}


/* LIGHTBOX */

.v10-lightbox {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: grid;
    place-items: center;

    padding: 40px;

    opacity: 0;
    visibility: hidden;

    background:
        rgba(12,6,9,.90);

    backdrop-filter: blur(14px);

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.v10-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.v10-lightbox img {
    max-width: 92vw;
    max-height: 88vh;

    border-radius: 18px;

    box-shadow:
        0 30px 100px
        rgba(0,0,0,.45);
}

.v10-lightbox button {
    position: absolute;

    top: 24px;
    right: 26px;

    width: 46px;
    height: 46px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 50%;

    color: #fff;

    background:
        rgba(255,255,255,.08);

    cursor: pointer;

    font-size: 1.3rem;
}


/* REAL METRICS */

.v10-real-metrics article:nth-child(1)
.v5-metric-icon {
    color: #fff;

    background: #d64a72;
}

.v10-real-metrics article:nth-child(2)
.v5-metric-icon {
    color: #5c4300;

    background: #f6b800;
}

.v10-real-metrics article:nth-child(3)
.v5-metric-icon {
    color: #fff;

    background: #08703f;
}

.v10-impact-grid strong {
    white-space: nowrap;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .v10-activities-heading {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .v10-hackathon-feature {
        grid-template-columns: 1fr;
    }

    .v10-hackathon-media {
        min-height: 520px;
    }

    .v10-bamenda-feature {
        grid-template-columns:
            100px 1fr;
    }

    .v10-bamenda-outcome {
        grid-column:
            1 / -1;
    }

}


@media (max-width: 700px) {

    .v10-activities-section {
        padding:
            88px 0;
    }

    .v10-activities-heading h2 {
        font-size:
            clamp(
                2.7rem,
                12vw,
                3.7rem
            );
    }

    .v10-hackathon-feature {
        margin-top: 42px;

        border-radius: 26px;
    }

    .v10-hackathon-media {
        min-height: 390px;
    }

    .v10-hackathon-content {
        padding:
            31px
            24px
            35px;
    }

    .v10-hackathon-content h3 {
        font-size: 2.7rem;
    }

    .v10-bamenda-feature {
        grid-template-columns: 1fr;

        padding:
            27px
            23px;
    }

    .v10-bamenda-number {
        font-size: 4rem;
    }

    .v10-secondary-grid {
        grid-template-columns: 1fr;
    }

    .v10-secondary-grid article {
        min-height: 220px;
    }

    .v10-gallery-item {
        flex-basis: 84vw;
    }

}