@font-face {
    font-family: "Isidora";
    src: url("./assets/fonts/isidora-light.woff")
        format("woff");

    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #f7f4ef;

    font-family:
        "Isidora",
        Arial,
        sans-serif;

    color: #3d145d;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.dev1-cbox-past-listing {
    width: 100%;

    padding:
        0
        20px
        20px;

    background: #f7f4ef;
}


.dev1-cbox-past-listing__container {
    width: 100%;

    max-width: 1700px;

    margin: 0 auto;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.dev1-cbox-past-listing__header {
    width: 100%;

    margin: 0;
    padding: 0;
}


.dev1-cbox-past-listing__eyebrow {
    display: flex;

    align-items: center;

    gap: 10px;

    height: 18px;

    color: #74338f;

    font-size: 11px;

    line-height: 1;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.dev1-cbox-past-listing__eyebrow span:first-child {
    width: 38px;

    height: 2px;

    flex-shrink: 0;

    display: block;

    background: #dcae3c;
}


.dev1-cbox-past-listing__title {
    margin:
        5px
        0
        0;

    padding: 0;

    color: #66318b;

    font-size:
        clamp(
            38px,
            3.6vw,
            58px
        );

    font-weight: 300;

    line-height: 1.02;

    letter-spacing: -1px;

    white-space: nowrap;
}


/* =========================================================
   CATEGORY HEADER
========================================================= */

.dev1-cbox-past-listing__category {
    width: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-top: 30px;

    padding:
        0
        0
        10px;

    border-bottom:
        1px solid
        #d9cedf;
}


.dev1-cbox-past-listing__category-left {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 3px;
}


.dev1-cbox-past-listing__category-line {
    width: 38px;

    height: 2px;

    flex-shrink: 0;

    background:
        linear-gradient(
            90deg,
            #dcae3c 0%,
            #ed5d8e 100%
        );
}


.dev1-cbox-past-listing__category-left span {
    color: #74338f;

    font-size: 11px;

    line-height: 1.2;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.dev1-cbox-past-listing__category-title {
    margin:
        2px
        0
        0;

    padding: 0;

    color: #66318b;

    font-size:
        clamp(
            30px,
            2.7vw,
            45px
        );

    font-weight: 300;

    line-height: 1;

    letter-spacing: -0.5px;

    text-transform: uppercase;
}


.dev1-cbox-past-listing__category-note {
    margin:
        0
        0
        2px;

    color: #81718d;

    font-size: 11px;

    line-height: 1.3;

    text-align: right;
}


/* =========================================================
   EVENT GRID
========================================================= */

.dev1-cbox-past-listing__grid {
    width: 100%;

    display: grid;

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

    gap: 20px;

    padding-top: 15px;
}


/* =========================================================
   EVENT CARD
========================================================= */

.dev1-cbox-past-listing__card {
    width: 100%;

    min-width: 0;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border:
        1px solid
        #e1d9e3;

    border-radius:
        28px
        0
        28px
        0;

    box-shadow:
        0
        8px
        22px
        rgba(
            67,
            40,
            81,
            0.06
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.dev1-cbox-past-listing__card:hover {
    transform: translateY(-3px);

    box-shadow:
        0
        12px
        26px
        rgba(
            67,
            40,
            81,
            0.10
        );
}


/* =========================================================
   IMAGE
========================================================= */

.dev1-cbox-past-listing__image-wrap {
    position: relative;

    width: 100%;

    height: 190px;

    overflow: hidden;

    flex-shrink: 0;

    background: #eee7ef;
}


.dev1-cbox-past-listing__image {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.4s ease;
}


.dev1-cbox-past-listing__card:hover
.dev1-cbox-past-listing__image {
    transform: scale(1.02);
}


/* =========================================================
   COMPLETED BADGE
========================================================= */

.dev1-cbox-past-listing__status {
    position: absolute;

    top: 12px;

    right: 12px;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 28px;

    padding:
        0
        13px;

    border-radius: 16px;

    background:
        rgba(
            45,
            26,
            54,
            0.88
        );

    color: #ffffff;

    font-family:
        "Isidora",
        Arial,
        sans-serif;

    font-size: 9px;

    font-weight: 300;

    line-height: 1;

    letter-spacing: 0.3px;

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.dev1-cbox-past-listing__content {
    width: 100%;

    min-height: 222px;

    display: flex;

    flex-direction: column;

    padding:
        14px
        16px
        16px;
}


/* =========================================================
   CARD META
========================================================= */

.dev1-cbox-past-listing__meta {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 11px;
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.dev1-cbox-past-listing__type {
    min-height: 37px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        6px
        10px;

    flex-shrink: 0;

    border:
        1px solid
        #ead7a9;

    border-radius: 0;

    background: #fffdf8;

    color: #b33b87;

    font-size: 14px;

    font-weight: 300;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   DATE / PAST EVENT
========================================================= */

.dev1-cbox-past-listing__date {
    margin-left: auto;

    color: #81718d;

    font-size: 10px;

    font-weight: 300;

    line-height: 1.2;

    text-align: right;

    white-space: nowrap;
}


/* =========================================================
   EVENT TITLE
========================================================= */

.dev1-cbox-past-listing__event-title {
    margin:
        0
        0
        8px;

    padding: 0;

    color: #66318b;

    font-size: 18px;

    font-weight: 300;

    line-height: 1.25;

    text-transform: uppercase;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.dev1-cbox-past-listing__description {
    margin: 0;

    color: #81718d;

    font-size: 12px;

    font-weight: 300;

    line-height: 1.5;
}


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

.dev1-cbox-past-listing__footer {
    width: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;

    margin-top: auto;
}


/* =========================================================
   VIEW RECAP BUTTON
========================================================= */

.dev1-cbox-past-listing__button {
    min-width: 110px;

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        10px
        14px;

    border: 0;

    border-radius:
        16px
        0
        16px
        0;

    background: #71318f;

    color: #ffffff;

    font-family:
        "Isidora",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 300;

    line-height: 1;

    text-decoration: none;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.dev1-cbox-past-listing__button:hover {
    background: #5f2879;

    transform: translateY(-1px);
}


/* =========================================================
   VENUE
========================================================= */

.dev1-cbox-past-listing__venue {
    margin-bottom: 8px;

    color: #81718d;

    font-size: 10px;

    font-weight: 300;

    line-height: 1.2;

    text-align: right;

    white-space: nowrap;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1500px) {

    .dev1-cbox-past-listing {
        padding:
            0
            20px
            20px;
    }


    .dev1-cbox-past-listing__image-wrap {
        height: 190px;
    }


    .dev1-cbox-past-listing__content {
        min-height: 222px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .dev1-cbox-past-listing {
        padding:
            0
            18px
            25px;
    }


    .dev1-cbox-past-listing__title {
        font-size: 43px;
    }


    .dev1-cbox-past-listing__category {
        margin-top: 28px;
    }


    .dev1-cbox-past-listing__category-title {
        font-size: 36px;
    }


    .dev1-cbox-past-listing__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

        gap: 15px;
    }


    .dev1-cbox-past-listing__image-wrap {
        height: 190px;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 750px) {

    .dev1-cbox-past-listing {
        padding:
            0
            14px
            22px;
    }


    .dev1-cbox-past-listing__title {
        font-size: 36px;

        white-space: normal;
    }


    .dev1-cbox-past-listing__category {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;

        margin-top: 25px;

        padding-bottom: 9px;
    }


    .dev1-cbox-past-listing__category-title {
        font-size: 32px;
    }


    .dev1-cbox-past-listing__category-note {
        align-self: flex-end;

        font-size: 10px;

        text-align: right;
    }


    .dev1-cbox-past-listing__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

        gap: 12px;
    }


    .dev1-cbox-past-listing__image-wrap {
        height: 180px;
    }


    .dev1-cbox-past-listing__content {
        min-height: 215px;

        padding:
            13px
            14px
            15px;
    }


    .dev1-cbox-past-listing__meta {
        gap: 8px;
    }


    .dev1-cbox-past-listing__type {
        min-height: 34px;

        padding:
            5px
            9px;

        font-size: 11px;
    }


    .dev1-cbox-past-listing__date {
        font-size: 9px;
    }


    .dev1-cbox-past-listing__event-title {
        font-size: 15px;
    }


    .dev1-cbox-past-listing__description {
        font-size: 10px;
    }


    .dev1-cbox-past-listing__button {
        min-width: 105px;

        min-height: 45px;

        font-size: 9px;
    }


    .dev1-cbox-past-listing__venue {
        font-size: 9px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .dev1-cbox-past-listing {
        padding:
            0
            12px
            20px;
    }


    .dev1-cbox-past-listing__eyebrow {
        font-size: 9px;
    }


    .dev1-cbox-past-listing__title {
        margin-top: 5px;

        font-size: 31px;

        line-height: 1.05;
    }


    .dev1-cbox-past-listing__category {
        margin-top: 23px;
    }


    .dev1-cbox-past-listing__category-left span {
        font-size: 9px;
    }


    .dev1-cbox-past-listing__category-title {
        font-size: 28px;
    }


    .dev1-cbox-past-listing__category-note {
        font-size: 9px;
    }


    .dev1-cbox-past-listing__grid {
        grid-template-columns: 1fr;

        gap: 14px;

        padding-top: 11px;
    }


    .dev1-cbox-past-listing__image-wrap {
        height: auto;

        aspect-ratio: 2.65 / 1;
    }


    .dev1-cbox-past-listing__content {
        min-height: 205px;

        padding:
            13px
            15px
            15px;
    }


    .dev1-cbox-past-listing__meta {
        flex-direction: row;

        align-items: center;

        margin-bottom: 11px;
    }


    .dev1-cbox-past-listing__type {
        min-height: 31px;

        padding:
            5px
            9px;

        font-size: 9px;
    }


    .dev1-cbox-past-listing__date {
        font-size: 9px;
    }


    .dev1-cbox-past-listing__event-title {
        font-size: 14px;
    }


    .dev1-cbox-past-listing__description {
        font-size: 10px;

        line-height: 1.45;
    }


    .dev1-cbox-past-listing__button {
        min-width: 105px;

        min-height: 45px;

        font-size: 9px;
    }


    .dev1-cbox-past-listing__venue {
        margin-bottom: 7px;

        font-size: 9px;
    }


    .dev1-cbox-past-listing__status {
        top: 9px;

        right: 9px;

        min-height: 25px;

        padding:
            0
            10px;

        font-size: 8px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .dev1-cbox-past-listing {
        padding:
            0
            10px
            18px;
    }


    .dev1-cbox-past-listing__title {
        font-size: 28px;
    }


    .dev1-cbox-past-listing__category {
        margin-top: 22px;
    }


    .dev1-cbox-past-listing__category-title {
        font-size: 25px;
    }


    .dev1-cbox-past-listing__event-title {
        font-size: 13px;
    }


    .dev1-cbox-past-listing__button {
        min-width: 100px;

        min-height: 43px;
    }

}