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

    img,
    picture {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}
.n-event-top-timer {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 12px 24px;
    background: var(--blue1);
    color: var(--white1);
    border-radius: 8px;
    transition: all 0.4s ease;

    .caption2 {
        padding-bottom: 12px;
    }
}
.n-event-top-timer-time {
    text-align: center;
    display: flex;

    .timer-time-days {
        border-right: 1px solid var(--hoverBlue1);
        padding-right: 16px;

        .body6 {
            padding-bottom: 4px;
        }
    }
    .timer-time-hours {
        border-right: 1px solid var(--hoverBlue1);
        padding: 0 16px;

        .body6 {
            padding-bottom: 4px;
        }
    }
    .timer-time-minutes {
        padding-left: 16px;

        .body6 {
            padding-bottom: 4px;
        }
    }
}
.n-event-middle {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 24px 32px;
    transition: all 0.4s ease;
}
.n-event-information {
    display: flex;
    padding: 0 24px 32px;
    gap: 34px;
    justify-content: space-between;
    transition: all 0.4s ease;
}
.n-event-lower-info {
    display: flex;
    flex-direction: column;
    gap: 8px;

    .caption2 {
        color: var(--greyText1);
    }
}
.n-event-lower {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;

    .btn-primary-yellow {
        padding: 0 24px 24px;
    }
}
/* responsive */
@media (max-width: 767px) {
    .n-event-top {
        height: 200px;
    }
    .n-event-top-timer {
        top: 10px;
        left: 10px;
    }    
    .n-event-middle {
        padding: 16px 16px 24px;
    }
    .n-event-information {
        flex-direction: column;
        padding: 0 16px 24px;
        gap: 16px;
    }
    .n-event-lower {
        .btn-primary-yellow {
            padding: 0 16px 16px;

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