.event-single-banner .celebration-right-image {
    width: 100%;
}

.single-event .site-main {
    background: #EFE7DA;
}

body:not(.has-banner).single-event div#content {
    padding-top: 0;
}

.event-single-banner>.container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.single-event .event-single-banner {
    height: auto;
    padding: 230px 0 0;
    background: #CEDCE9;
    z-index: 3;
}

.event-single-banner .celebration-right-image img {
    width: 1636px;
    height: 1636px;
    transform: rotate(-75deg) scaleX(-1);
    mix-blend-mode: soft-light;
}

.event-single-banner .celebration-right-image img.celebration-stroke-right {
    top: -280px;
    right: -433px;
}

.event-single-banner .celebration-right-image img.celebration-stroke-left {
    right: auto;
    left: -690px;
    top: 553px;
    transform: rotate(-37deg) scaleX(-1);
    width: 1613px;
    height: 1636px;
    z-index: 3;
}

.event-single-header h1 {
    margin: 0 0 30px;
}

.event-single-description h2 {
    margin: 0px 0 30px;
}

.event-single-banner .page-description {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    font-weight: 300;
    margin-bottom: 70px;
}

.event-single-header {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
    text-align: center;
    color: #fff;
    padding-bottom: 90px;
    margin-bottom: 84px;
}

.events-section .event-single-header {
    color: var(--color-text);
    border-color: rgba(45, 45, 45, 0.15);
}

.event-single-header .button-arrow {
    color: currentColor;
}

.event-single-header .button-arrow svg path {
    fill: currentColor;
}

.event-single-thumbnail {
    width: 60%;
    max-width: 800px;
    margin: 0 auto;
}

.event-single-thumbnail .image {
    position: relative;
    padding-bottom: calc(500/800 * 100%);
    border-radius: 500px 500px 10px 10px;
    overflow: hidden;
}

.event-single-thumbnail .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-single-description {
    max-width: 630px;
    margin: 0 auto;
    text-align: center;
}

.event-single-images {
    display: flex;
    align-items: stretch;
    column-gap: 2px;
    position: relative;
    z-index: 3;
    padding-top: 2px;
}

.event-single-images>div {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    width: calc(50% - 1px);
}

.event-single-images>div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-single-top .container {
    max-width: 861px;
    display: flex;
    align-items: center;
}

.content-single-top .page-subtitle {
    position: relative;
    margin: 0;
    display: inline-block;
    padding-right: 90px;
    white-space: nowrap;
}


.event-single-item .content-single-top {
    padding: 100px 0;
    position: relative;
    /* overflow: hidden; */
}

.content-single-top .page-description {
    padding: 16px 0 16px 90px;
}

.event-single-item .content-single-top:before {
    content: '';
    position: absolute;
    top: -184px;
    left: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top -60px center;
    z-index: 0;
    background-image: url(../images/event-bkg.png);
    height: 800px;
    display: block;
    background-size: cover;
}

.discover-more-item .card-item-title {
    font-size: 25px;
    line-height: 32px;
    text-align: center;
    margin-bottom: 25px;
}

/* 
@media (min-width: 1600px){
    .event-single-item .content-single-top:before {
        top: 0;
        background-repeat: repeat;
        background-position: center;
        z-index: 0;
        background-image: url(../images/event-bkg-2.png);
        height: 100%;
        display: block;
        background-size: cover;
    }
} */

.event-single-item:nth-child(even) .content-single-top:before {
    transform: scaleX(-1);
}

.event-single-item .gallery-item .image {
    position: relative;
    padding-bottom: calc(840/1440 * 100%);

}

.event-single-item .event-gallery-single.gallery-item {
    width: 100%;
}

.event-single-item .gallery-item:hover {
    transform: none;
}

.event-single-item .cloud39-navigation {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 30px;
}

.event-single-item .cloud39-navigation * {
    color: #fff;
}

.event-single-item .cloud39-navigation path {
    stroke: #fff;
}

.event-single-item .cloud39-navigation .slide-counter {
    padding-right: 100px;
}

.event-single-item .cloud39-navigation .slide-counter * {
    font-style: italic;
}

.event-single-item .gallery-item .image:before,
.event-single-images>div::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52.6%, rgba(0, 0, 0, 0.3) 100%);
}

.current-slide {
    position: relative;
}

.current-slide {
    position: relative;
    display: inline-block;
}

.text-current,
.text-shadow {

    transition: opacity 1.5s ease;
}

/* Lớp bóng (cũ) hiển thị mờ nhẹ */
.text-shadow {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    color: rgba(0, 0, 0, 0.3);
}

/* Số hiện tại (mới) hiển thị rõ */
.text-current {
    opacity: 1;
}

/* Khi bắt đầu animating: số cũ fade out, số mới fade in */
.current-slide.animating .text-current {
    opacity: 1;
    animation: fadeIn 1s ease forwards;
}

.current-slide.animating .text-shadow {
    opacity: 1;
    animation: fadeOut 1s ease forwards;
}

/* Keyframes cho fade-in/out */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(0px);
    }
}

.events-section .celebration-right-image-inner:before {
    mix-blend-mode: overlay;
}


.discover-more-list.swiper {
    display: block;
    overflow: hidden;
}

.discover-more-list .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
}

.single-event .discover-more-item {
    width: 100%;
}

.single-event .discover-more .slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 58px;
    max-width: 529px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    position: relative;
    z-index: 4;
}

.discover-more .slide-counter {
    font-family: 'IvyOra Text', serif;
    font-weight: 300;
    font-size: 35px;
    line-height: 40px;
    letter-spacing: 0;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-style: italic;
}

.discover-more .slider-pagination.swiper-pagination {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    width: calc(100% - 164px);
    background: rgba(45, 45, 45, 0.2);
    height: 1px;
    margin: 0;
}

.discover-more .progressbar {
    width: 100%;
    height: 100%;
    position: relative;
}

.discover-more .progressbar-fill {
    height: 100%;
    background: rgba(45, 45, 45, 1);
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
}

.discover-more-item:hover img {
    transform: scale(1.05);
    transition: all 1s;
}

.discover-more-item-image {
    overflow: hidden;
    border-radius: 10px;
}

.single-event .discover-more-item img {
    max-width: 100%;
    width: 100%;
    height: 298px;
    object-fit: cover;
    transition: all 1s;
}

.discover-title {
    text-align: center;
    margin-top: 100px;
    text-transform: capitalize;
}

.discover-more .discover-more-list {
    padding-bottom: 120px;
}

.discover-more::after {
    content: '';
    position: absolute;
    background-image: url(../images/123.png);
    width: 100%;
    height: 1000px;
    background-repeat: no-repeat;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: .1;
    background-size: cover;
}

@media (min-width: 1600px) {
    .discover-more.container {
        max-width: 1886px;
    }

    .discover-more-item img {
        height: 350px;
    }
}

@media (min-width: 1440px) {

    .event-single-item .gallery-item {
        height: 840px;
    }

    .event-single-item .event-single-images {
        height: 840px;
    }

    .event-single-item .gallery-item .image {
        padding: 0;
        height: 100%;
    }
}

@media (max-width: 1024px) {
    .event-single-item .content-single-top {
        padding: 60px 0;
    }

    .content-single-top .page-description {
        padding: 16px 0 16px 60px;
    }

    .content-single-top .page-subtitle {
        padding-right: 60px;
    }


    .event-single-banner .celebration-right-image img,
    .event-single-banner .celebration-right-image img.celebration-stroke-left {
        width: 736px;
        height: auto;
    }

    .event-single-banner .celebration-right-image img.celebration-stroke-left {
        top: auto;
        left: -300px;
        bottom: -332px;
    }

    .event-single-banner .celebration-right-image img.celebration-stroke-right {
        top: 0;
        right: -236px;
    }

    .event-single-item .content-single-top:before {
        top: -100px;
    }
}

@media (min-width: 768px) {
    .content-single-top .page-description {
        border-left: 1px solid #2D2D2D;
    }
}

@media (max-width: 767px) {
    .discover-more-item .card-item-title {
        margin-top: 15px;
    }

    .single-event .discover-more-item {
        width: 100%;
        margin-bottom: 0;
    }

    .event-single-item .content-single-top:before {
        top: 0;
        background-image: url(../images/event-bkg-mb.png);
        width: 100%;
        height: 134%;
        background-size: cover;
    }

    .single-event .event-single-banner {
        padding: 160px 0 0;
    }

    .event-single-header h1,
    .event-single-description h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .event-single-header {
        padding-bottom: 61px;
        margin-bottom: 58px;
    }


    .event-single-banner .page-description {
        margin-bottom: 60px;
    }

    .event-single-thumbnail {
        width: 100%;
    }

    .event-single-item .cloud39-navigation {
        top: auto;
        transform: translate(-50%, 0%);
        bottom: 40px;
        justify-content: space-between;
        position: absolute;
        padding: 0 30px;
    }

    .content-single-top .container {
        flex-wrap: wrap;
    }

    .content-single-top .page-description {
        padding: 35px 0 0 0px;
    }

    .content-single-top .page-subtitle {
        width: 100%;
        border-bottom: 1px solid var(--color-text);
        padding-bottom: 35px;
    }

    .event-single-images {
        flex-wrap: wrap;
        column-gap: 0;
        padding-top: 0;
    }

    .event-single-images>div {
        width: 100%;
        border-radius: 0;
    }

    .event-single-item .gallery-item img {
        border-radius: 0;
    }

    .event-single-item .gallery-item .image {
        border-radius: 0;
    }

    .event-single-item .cloud39-navigation .slide-counter * {
        font-size: 25px;
        line-height: 32px;
    }
}