:root {
    --all-events-explore-margin-top: var(--ufc-s-12);
    --all-events-explore-margin-start: var(--ufc-s-0);
    --all-events-explore-margin-right: var(--ufc-s-6);
    --all-events-event-card-nav-margin-bottom: 110px;
    --all-events-container-gap: var(--ufc-gap-0);
}

/* Hero section */
.post-type-archive-espresso_events .overlay-text {
    top: 26.5% !important;
}

.post-type-archive-espresso_events .goal-image-section img {
    opacity: 63% !important;
}

/* Explore events section */
.explore-events-container {
    gap: 10px !important;
    margin-top: var(--all-events-explore-margin-top);
}

.explore-events-container .ufc-desc {
    line-height: 150%;
    letter-spacing: 0.5px;
}

.explore-events-container .ufc-description {
    margin-block-start: var(--all-events-explore-margin-start) !important;
    /*margin-top: var(--all-events-explore-margin-top) !important;*/
}

.explore-events-container.content,
.events-explore-section.content {
    margin-left: auto;
}

.ufc-event-desc {
    margin-top: var(--all-events-explore-margin-top) !important;
}

.explore-events-container .event-card {
    height: fit-content;
}

/*.ufc-events-header {
    margin-top: var(--all-events-explore-margin-top) !important;
    gap: var(--all-events-container-gap) !important;
}*/

/*.explore-events-container .ufc-heading {
    margin-right: var(--all-events-explore-margin-right) !important;
}*/

.event-desc {
    width: 818px;
}

.swiper-event-cards-page {
    margin-block-start: var(--all-events-explore-margin-start) !important;
    width: 100%;
}

.event-card-nav {
    margin-bottom: var(--all-events-event-card-nav-margin-bottom);
}

@media (max-width: 1439px) {

    /* Hero section */
    .post-type-archive-espresso_events .right-black-section img {
        right: -17.5% !important;
        height: 483px;
        width: 233px;
    }

    .post-type-archive-espresso_events .right-black-section {
        top: 147px !important;
    }

    .post-type-archive-espresso_events .overlay-text {
        top: 31% !important;
        left: 56.2%;
    }
}

@media (max-width: 1200px) {

    /* Hero section */
    .post-type-archive-espresso_events .right-black-section img {
        right: -34.5% !important;
    }

    /* Explore events section */
    .event-desc {
        width: 95%;
    }
}

/* @media (max-width: 1064px) {
    .post-type-archive-espresso_events .right-black-section {
        top: 160px !important;
    }

    .post-type-archive-espresso_events .right-black-section img {
        right: -15% !important;
    }
} */

@media (max-width:1199px) {

    /* Hero section */
    .post-type-archive-espresso_events .right-black-section {
        top: 97px !important;
    }

    .post-type-archive-espresso_events .right-black-section img {
        right: -26% !important;
        width: 228px;
    }

    .post-type-archive-espresso_events .overlay-text {
        top: 28% !important;
        left: 50.2% !important;
    }

    .post-type-archive-espresso_events .goal-image-section img {
        opacity: 90% !important;
    }
}

@media (max-width: 992px) {

    /* Explore events section */
    .event-desc {
        width: 100%;
    }
}

/* @media (max-width: 937px) {
    .post-type-archive-espresso_events .right-black-section img {
        right: -17% !important;
    }
}

@media (max-width: 871px) {
    .post-type-archive-espresso_events .right-black-section img {
        right: -15% !important;
    }
} */

@media (max-width:991px) {

    /* Hero section  */
    .post-type-archive-espresso_events .right-black-section {
        top: 86px !important;
    }

    .post-type-archive-espresso_events .right-black-section img {
        right: -19% !important;
        height: 349px;
        width: 151px;
    }

    .post-type-archive-espresso_events .overlay-text {
        line-height: 50px !important;
        letter-spacing: 0% !important;
    }
}

@media (max-width: 800px) {

    /* Explore events section */
    .event-desc {
        width: 95%;
    }
}

@media (max-width: 768px) {

    /* Hero Section */
    .post-type-archive-espresso_events .right-black-section img {
        right: -37% !important;
    }
}

/* @media (max-width:731px) {
    .post-type-archive-espresso_events .right-black-section img {
        right: 0% !important;
        width: 190px;
    }
}

@media (max-width: 662px) {
    .post-type-archive-espresso_events .right-black-section img {
        right: -10% !important;
    }
} */

@media (max-width: 767px) {

    /* Hero section */
    .post-type-archive-espresso_events .right-black-section {
        top: 133px !important;
    }

    .post-type-archive-espresso_events .right-black-section img {
        right: -16% !important;
        height: 310px;
        width: 144px;
    }

    .post-type-archive-espresso_events .overlay-text {
        line-height: 46px !important;
        left: 63.2% !important;
        top: 29% !important;
    }
}

@media (max-width: 672px) {
    /* Hero section */
    .post-type-archive-espresso_events .right-black-section img {
        right: -20% !important;
    }
}

@media (max-width: 576px) {
    /* Hero section */
    .post-type-archive-espresso_events .right-black-section img {
        right: -31.2% !important;
    }

    /* Explore events section */
    .event-desc {
        width: 100%;
    }
}

/* @media (max-width: 525px) {
    .post-type-archive-espresso_events .right-black-section img {
        right: -15% !important;
    }
} */

@media (max-width: 510px) {

    /* Hero section */
    .post-type-archive-espresso_events .right-black-section {
        top: 442px !important;
    }

    .post-type-archive-espresso_events .right-black-section img {
        right: -9% !important;
        width: 144px;
        height: 310px;
    }

    .post-type-archive-espresso_events .overlay-text {
        top: 47% !important;
        left: 47.2% !important;
    }
}

@media (max-width: 380px) {

    /* Explore events section */
    .explore-events-container .ufc-description {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}