@media (max-width: 921px) {
    .tourism-detail-page-events-arrow-right{
        display: none !important;
    }

    .tourism-detail-page-events-arrow-left{
        display: none !important;
    }

    .tourism-detail-page-routes-arrow-right{
        display: none !important;
    }

    .tourism-detail-page-routes-arrow-left{
        display: none !important;
    }

    .tourism-detail-page-newsletter-container {
        width: 100% !important;
    }

    .tourism-detail-page-routes-container{
        margin-top: 60px !important;
    }

    .tourism-multimedia-arrows-container{
    justify-content: center !important;
    }

}

.main-container-detail-page{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.full-width-image-swiper {
    width: 100vw;
    max-height: 327px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (min-width: 921px) {
        margin-top: 32px;
    }
}

.swiper-hero-pagination{
    bottom: 10px;
    z-index: 100;
    position: absolute;
    text-align: center;
    margin-top: 0 !important;
    background-color: unset !important;
}

.tourism-detail-page-menu-wrapper{
    width: 100vw;
    height: 50px;
    grid-column: 1 / -1;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    background-color: var(--ast-global-color-8);
}



.tourism-detail-page-menu-container{
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1140px;
    display: flex;
    gap: 10px;
    color: var(--ast-global-color-5);
}

.tourism-detail-page-menu-item{
    cursor: pointer;
}

.tourism-detail-page-routes-container{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 80px;

}

.bottom-pdg{
    padding-bottom: 40px;
}

.tourism-detail-page-multimedia-title-container{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 64px auto 68px auto;
    padding: 66px 20px;
    max-width: 1140px;
}

.multimedia-slide{
    height: 450px !important; 
}

.multimedia-slide video{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.tourism-multimedia-arrows-container{
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.tourism-detail-page-multimedia-swiper-wrapper {
    width: 100%;
    height: 450px;
}

.newsletter-decoration {
    display: none;
}

/* @media screen and (min-width: 1200px) {
    .newsletter-decoration {
        display: block;
        position: absolute;
        width: 80%;
        height: 700px;
        background-position: center top;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url(../../../../../themes/dmc-theme/images/svg/newsletter-airplain.svg);
        pointer-events: none; 
        z-index: 1; 
        margin-top: -40px;
        color: #fff;
    }
} */

.tourism-detail-page-newsletter-section {
    position: relative;
    margin-top: 100px;
}

.tourism-detail-page-newsletter-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;

}

.tourism-detail-page-newsletter-container {
    max-width: 630px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.newsletter-input-with-icon {
    background-color: transparent !important;
}

.tourism-detail-page-newsletter-container {   
    border-radius: 24px;
    border: 1px solid rgba(221, 221, 221, 0.50);
    box-shadow: 0px 1px 20px 10px rgba(0, 0, 0, 0.04);
}

@media screen and (min-width: 768px) { 

    .tourism-detail-page-newsletter-container {
        padding: 2rem;
    }

    .tourism-detail-page-newsletter-icon img {
        width: 118px;
        height: 118px;
        margin-bottom: 20px;
    }

    .tourism-detail-page-newsletter-title h3 {
       font-family: "Gotham";   
       font-size: 31.25px;
    }
}

@media screen and (max-width: 767px) { 

    .tourism-detail-page-newsletter-section {
        position: relative;
        margin: 40px 0;
    }

    .tourism-detail-page-newsletter-section::before {
        content: '';
        position: absolute;
        width: 1000px;
        height: 1000px;
        top: 50%;
        left: -200px;
        transform: translateY(-50%);
        background: radial-gradient(circle, rgba(250, 247, 236, 1) 10%, rgba(250, 247, 236, 0) 50%);
        z-index: -1;
        pointer-events: none;
    }

    .tourism-detail-page-newsletter-container {
        background: white;
        position: relative;
        z-index: 1;
    }

    .tourism-detail-page-newsletter-container {
        margin: 0 20px !important;
    }

    .tourism-detail-page-newsletter-container {
        padding: 1rem;
    }

    .tourism-detail-page-newsletter-icon img {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;;
    }

    .tourism-detail-page-newsletter-title h3 {
        font-family: "Gotham";   
        font-size: 25px;

     }
}

.tourism-detail-page-newsletter-wrapper form  {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.tourism-detail-page-newsletter-text {
    text-align: center;
    color: var(--ast-global-color-8);
}

.tourism-detail-page-newsletter-icon {
    font-size: 52px;
    color: #333;
}

.tourism-detail-page-events-arrow-right {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.tourism-detail-page-events-arrow-left {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.tourism-detail-page-routes-arrow-right {
    position: absolute;
    right: 0px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 100;
}

.tourism-detail-page-routes-arrow-left {
    position: absolute;
    left: 0px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 100;
}

.light-bg{
    background-color: #f8f8f8;
}

.just-for-spacing{
    width: 100%;
    height: 175px;
    background: url(../../../../../themes/dmc-theme/images/frontpage-celio/celio-pattern.svg) repeat left bottom;
}

#newsletter-form input {
    background-color: #eee;
    border: 1px solid var(--diocesi-global-color-gray) !important;
}

.event-full-width-wrapper {
    margin: 3rem 0px 9rem;
}

.event-full-width-wrapper h3 {
    margin-bottom: 2rem;
}

.home-event-info-wrapper {
    background-color: transparent !important;
}


.tourism-detail-page-events-swiper {
    border-radius: var(--global-border-radius);
    border: 1px solid rgba(221, 221, 221, 0.50);
    box-shadow: 0px 1px 20px 10px rgba(0, 0, 0, 0.04);
}


.home-event-cta-wrapper {
    margin-top: 2rem;
    text-align: right;
}

.home-event-cta-wrapper .home-event-cta {
    display: inline-block;
}
 

    .home-event-wrapper{
        height: 400px;
        background-color: var(--ast-global-color-6);
    }
    
    .home-event-container {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
        flex-direction: row-reverse;
    }

    .home-event-container > div {
        flex: 1;
        box-sizing: border-box;
    }

    .home-event-thumbnail-container img {
        height: 500px !important;
    }

    .home-event-info-container {
        padding: 5rem;
        text-align: left;
        margin: 22px auto 44px auto;
    }


/* @media screen and (max-width: 1023px) {
    .home-event-container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        box-sizing: border-box;
    }
    
    .home-event-container > div:first-child {
        order: 2;
    }
    
    .home-event-container > div:nth-child(2) {
        order: 1;
    }

    .home-event-thumbnail-container {
        height: 100%;
    }

    .home-event-thumbnail-container img {
        width: 800px !important;
    }

    .home-event-info-container {
        padding: 2rem;
        line-height: 2rem;
        text-align: left;
    }
} */

@media screen and (max-width: 544px) {
    .home-event-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }
    
    .home-event-container > div:first-child {
        order: 2;
    }
    
    .home-event-container > div:nth-child(2) {
        order: 1;
    }

    .home-event-thumbnail-container {
        height: auto;
        width: 100%;
    }

    .home-event-thumbnail-container img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    .home-event-info-container {
        padding: 1.5rem;
        line-height: 1.5rem;
        text-align: left;
        margin: 0;
    }
    
    .home-event-wrapper {
        height: auto;
    }
}

.home-event-date {
    color: #345E75;
    font-family: Lato;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 120% */
    text-transform: uppercase;
}





.tourism-detail-page-events-arrow-right {
    margin-right: 1rem;
}

.tourism-detail-page-events-arrow-left {
    margin-left: 1rem;
}


 .tourism-detail-page-newsletter-section{
    background: linear-gradient(179deg, #FFF 0.55%, rgba(255, 255, 255, 0.00)), 120.42%, url(../../../../../themes/dmc-theme/images/frontpage-celio/celio-pattern.svg) repeat left top;   
} 



.tourism-detail-page-newsletter-cta {
    margin-bottom: 64px;
} 



.ist-link-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    min-width: 160px !important;
    height: 40px !important;
    padding: 8px 24px !important;
    border-radius: 3px !    important;
    border: 1px solid #334350 !important;
    background: #FFF !important;
    color: #232F38 !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    text-decoration: none !important;
    margin-top: 24px !important;
}



.ar-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .ar-links-grid {
        grid-template-columns: 1fr;
    }
}
