#event-detail {
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--pagination-spacer-y) + var(--header-height));
    row-gap: var(--pagination-spacer-y);
}

.event-detail-text-wrapper,
.event-detail-text-wrapper>div {
    display: flex;
    flex-direction: column;
    row-gap: var(--content-gap);
}

.section__event_detail {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    row-gap: 20px;
}

.section__event_detail .text-date{
    margin-top: -0.75rem;
    margin-bottom: 0.25rem;
}

.section__event_detail-image {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    row-gap: 20px;
}

.section__event_detail-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    row-gap: 20px;
}

.detail-content-text p {
    margin-bottom: 1.5rem;
}

.detail-content-text p:last-child {
    margin-bottom: 0;
}

.detail-content-text a {
    text-decoration: underline;
}



/* *** INIZIO VIDEO  *** */

.thumbnails-video-youtube-container {
    width: 100%;
}

.video-youtube-wrapper {
    /* padding-bottom: calc(var(--swiper-gap) + var(--navbtn-size)); */
    /* margin: 0 2rem; */
}

.thumbnails-video-youtube-container .video-youtube-wrapper {
    /* margin: 0 1rem; */
}

.video-youtube-wrapper .video-youtube-image-wrapper {
    height: auto;
    position: relative;
    overflow: hidden;
}
.video-youtube-wrapper p {
    margin-top: 20px;
    font-weight: 500;
}
.thumbnails-video-youtube-container .video-youtube-wrapper .video-youtube-image-wrapper {
    height: var(--swiper2-slide-heg);
}
.video-youtube-wrapper .video-youtube-image-wrapper img {
    width: 100%;
    height: auto;
    z-index: 1;
}
.thumbnails-video-youtube-container .video-youtube-wrapper .video-youtube-image-wrapper a::after {
    content: " ";
    width: 50px;
    height: 50px;
    opacity: .9;
    background-image: url("/images/icons/play.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
.thumbnails-video-youtube-container .video-youtube-wrapper .video-youtube-image-wrapper a::after,
.video-youtube-wrapper .video-youtube-image-wrapper img {
    position: absolute;
    inset: 50% 50%;
    translate: -50% -50%;
}


.video-youtube-wrapper .slide-bottom-btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (min-width: 576px) {
    .video-youtube-wrapper .slide-bottom-btn-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.video-youtube-image-wrapper.video-youtube-image-wrapper--with-video .video-poster {
    cursor: pointer;
}

.video-youtube-image-wrapper .play-button {
    display: none;
}

.video-youtube-image-wrapper.video-youtube-image-wrapper--with-video .play-button {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-image: url("/images/icons/play.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 48px 48px;
    height: 48px;
    width: 48px;
    z-index: 2;
    cursor: pointer;
}

/* FINE VIDEO */

.text-wrapper .detail-content-bottom, .detail-content-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.text-wrapper .share-wrapper, .share-wrapper {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.text-wrapper .share-wrapper, .share-wrapper span{
    color: var(--color-gray-dark);
    font-size: var(--fsize-normal);
    font-weight: 700;
}

@media screen and (min-width: 576px) {
    .text-wrapper .share-wrapper, .share-wrapper {
        margin-top: 0;
    }
}

