.events-moments-section {
    background: #fff;
    overflow: hidden;
}

.events-section-heading {
    width: 100%;
}

.events-section-title {
    flex-shrink: 0;
    color: #080808;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
}

.events-heading-line {
    width: 100%;
    height: 2px;
    background: #d8d8d8;
}


/* Moment Item
-------------------------------------------------- */

.events-moment-item {
    --bs-gutter-x: 5rem;
    margin-bottom: 55px;
}

.events-moment-gallery {
    position: relative;
    padding-bottom: 25px;
}

.events-gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 0 24px 24px 24px;
}

.events-gallery-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 105px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(30, 36, 190, .95),
            rgba(0, 151, 226, .85));
    z-index: 1;
    pointer-events: none;
}

.events-gallery-image img {
    display: block;
    width: 100%;
    height: 405px;
    object-fit: cover;
}


/* Pagination
-------------------------------------------------- */

.events-gallery-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 5px;
}

.events-gallery-pagination span {
    display: block;
    width: 14px;
    height: 6px;
    background: #d9d9d9;
    border-radius: 10px;
}

.events-gallery-pagination span.active {
    width: 68px;
    background: #079de3;
}


/* Content
-------------------------------------------------- */

.events-moment-content {
    position: relative;
    padding: 35px 0 20px;
}

.events-moment-number {
    position: absolute;
    top: -10px;
    right: 0;

    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(145deg,
            #1717a9,
            #079fe4);

    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.events-moment-title {
    padding-right: 100px;
    margin: 50px 0 32px;

    color: #090909;
    font-size: 29px;
    line-height: 1.4;
    font-weight: 700;
}

.events-moment-title span {
    color: #1478f5;
}

.events-content-line {
    width: 100%;
    height: 2px;
    background: #d8d8d8;
    margin-bottom: 30px;
}

.events-moment-description {
    max-width: 680px;
    margin-bottom: 28px;

    color: #151515;
    font-size: 21px;
    line-height: 1.65;
}

.events-moment-action {
    display: flex;
    justify-content: flex-end;
}

.events-album-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 25px;

    background: #1677f9;
    color: #fff;

    border-radius: 10px;

    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    transition: .3s ease;
}

.events-album-btn:hover {
    background: #095ed0;
    color: #fff;
}


/* Large Desktop
-------------------------------------------------- */

@media (max-width: 1399px) {

    .events-section-title {
        font-size: 38px;
    }

    .events-moment-item {
        --bs-gutter-x: 4rem;
    }

    .events-gallery-image img {
        height: 380px;
    }

    .events-moment-title {
        font-size: 26px;
    }

    .events-moment-description {
        font-size: 19px;
    }
}


/* Tablet
-------------------------------------------------- */

@media (max-width: 991px) {

    .events-section-title {
        font-size: 34px;
    }

    .events-moment-item {
        --bs-gutter-x: 1.5rem;
        margin-bottom: 70px;
    }

    .events-moment-gallery {
        margin-bottom: 25px;
    }

    .events-gallery-image img {
        height: 400px;
    }

    .events-moment-content {
        padding-top: 20px;
    }

    .events-moment-number {
        position: relative;
        top: auto;
        right: auto;

        width: 65px;
        height: 65px;

        margin-left: auto;
        margin-bottom: 20px;

        font-size: 24px;
    }

    .events-moment-title {
        padding-right: 0;
        margin-top: 0;
        font-size: 25px;
    }

    .events-moment-action {
        justify-content: flex-start;
    }
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 767px) {

    .events-moments-section {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .events-section-heading {
        gap: 15px !important;
        margin-bottom: 35px !important;
    }

    .events-section-title {
        font-size: 28px;
        white-space: nowrap;
    }

    .events-heading-line {
        height: 1px;
    }

    .events-moment-item {
        margin-bottom: 55px;
    }

    .events-gallery-image {
        border-radius: 0 18px 18px 18px;
    }

    .events-gallery-image::before {
        width: 65px;
    }

    .events-gallery-image img {
        height: 280px;
    }

    .events-moment-number {
        width: 58px;
        height: 58px;
        font-size: 21px;
    }

    .events-moment-title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 22px;
    }

    .events-content-line {
        margin-bottom: 20px;
    }

    .events-moment-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .events-moment-action {
        justify-content: flex-start;
    }

    .events-album-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .events-gallery-pagination span.active {
        width: 45px;
    }
}


/* Small Mobile
-------------------------------------------------- */

@media (max-width: 575px) {

    .events-section-heading {
        align-items: center;
    }

    .events-section-title {
        font-size: 24px;
    }

    .events-gallery-image img {
        height: 240px;
    }

    .events-gallery-image::before {
        width: 50px;
    }
}