/* main content */
.past-event-component {
    border: 1px solid var(--greyBorder1);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.p-event-top {
    display: flex;
    width: 100%;
    height: 250px;
    transition: all 0.4s ease;

    img,
    picture {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: grayscale(100%);
    }
}
.p-event-middle {
    padding: 24px 24px 32px;
    transition: all 0.4s ease;
}
.p-event-lower-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 24px 32px;
}
.p-event-lower {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;

    .btn-primary-blue {
        padding: 0 24px 24px;
    }
}
/* responsive */
@media (max-width: 767px) {
    .p-event-top {
        height: 200px;
    }
    .p-event-middle {
        padding: 16px 16px 24px;
    }
    .p-event-lower-info {
        gap: 16px;
        padding: 0 16px 24px;
    }
    .p-event-lower {
        .btn-primary-blue {
            padding: 0 16px 16px;

            .btn-component {
                justify-content: center;
                width: 100%;
            }
        }
    }

}
