/*DESKTOP*/
@media (min-width: 922px) {
    .flex-container {
        flex-direction: column;
    }

    .half-width-container {
        display: flex;
        flex-direction: row;
    }

    .half-width.right-content {
        margin-left: 8% !important;
    }


}

/*MOBILE AND TABLET*/
@media (max-width: 921px) {
    .half-width-container {
        display: flex;
        flex-direction: column;
    }

    .right-content-wrapper {
        border: none !important;
        padding: 0 !important;
    }

    .primary-cta.mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 19;
        border-radius: 0 !important;
        font-size: 1em !important;
        border: none;
        background: var(--ast-global-color-8);
    }

    .primary-cta.mobile:hover {
        border: 1px solid var(--ast-global-color-8);
        border-left: none;
        border-right: none;
    }

    .primary-cta.mobile:focus {
        border: none !important;
        color: var(--ast-global-color-4);
    }

    .left-content, .right-content { 
       width: 100% !important;
    }
}




.main-container {
    display: grid;
    grid-template-columns: 1fr;
}

.flex-container {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
}

.full-width-image {
    grid-column: 1 / -1;
    width: 100vw;
    max-height: 400px;
    /* Set the desired height */
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    /* Ensure the image doesn't overflow the container */
    display: flex;
    justify-content: center;
    /* Centers the image horizontally */
    align-items: center;
    /* Centers the image vertically */
    position: relative;
}

.tourism-single-pois-container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 80px;
}

.full-width-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Cover the entire container while maintaining aspect ratio */
    display: block;
}

.half-width.left-content {
    /* flex: 2; */
    width: 66.67%;
    /* Takes 2/3 of the width */
}

.half-width.right-content {
    /* flex: 1; */
    /* Takes 1/3 of the width */
    margin-left: 0;
    width: 33.33%;
}

.right-content-wrapper {
    position: sticky;
    top: 120px;
    border: 1px solid #979795;
    border-radius: 8px;
    padding: 20px;
    min-width: 300px;
}

.media-comments-section {
    display: flex;
    margin-top: 40px;
}

.single-poi-content-heading {
    font-weight: 700;
    font-size: 2em;
}

.single-poi-map-title {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 10px;
}


.readmore {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-8);
    font-weight: 600;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
    font-size: 0.8em;
    display: none;
    /* Hide the button initially */
}

.readmore:hover {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-8);
}

.readmore:active {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-8);
}

.readmore:focus {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-8);
}


.single-poi-description-wrapper {
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    /* Smooth transition for both */
}

.single-poi-description-wrapper.open {
    max-height: 1000px;
    /* A large enough value to accommodate the full text */
}

.single-poi-description-wrapper.closing {
    max-height: 100px;
    /* Collapse to truncated height */
}

.rating-review-container {
    padding: 0 0 20px 0;
}

.single-poi-heading {
    font-weight: 600;
}

.sidebar-contacts-info-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    font-size: 0.9em;
}

.sidebar-contacts-info {
    padding: 4px 0;
}

.icon-value-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.single-poi-accessibility-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    padding: 0 0 10px 0;
    text-transform: capitalize;
}

.accessibility-icon-container {
    position: relative;
    /* This is important to position the tooltip correctly */
    display: inline-block;
    /* Makes the icon container fit the icon size */
}

.accessibility-icon {
    cursor: pointer;
    font-size: 0.8em;
}

.accessibility-tooltip {
    display: none;
    /* Hide the tooltip by default */
    margin-left: 10px;
    /* Add some space between the icon and the tooltip */
    background-color: rgba(0, 0, 0, 0.75);
    /* Background color */
    color: var(--ast-global-color-4);
    /* Text color */
    font-size: 0.6em;
    padding: 4px;
    border-radius: 4px;
    /* Rounded corners */
    width: auto;
    /* Tooltip width adjusts based on content */
    white-space: nowrap;
    /* Prevents the text from wrapping onto a new line */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* Smooth transition for visibility and opacity */
}

.accessibility-icon-container:hover+.accessibility-tooltip {
    display: flex;
    /* Show tooltip on hover */
    margin: 0;
    flex-wrap: wrap;
    opacity: 1;
    /* Make the tooltip visible */
    font-size: 0.6em;
}

.sidebar-br {
    background-color: #E4DFDF;
    height: 1px;
    margin: 15px 0;
}


.toggle-openings-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toggle-openings {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

.toggle-contacts {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

#rotate-openings-chevron {
    font-size: 1.1em;
    transition: transform 0.2s ease-in-out 0.1s;
}

#rotate-contacts-chevron {
    font-size: 1.1em;
    transition: transform 0.2s ease-in-out 0.1s;
}

.single-poi-info-container {
    margin-top: 40px;
}

.book-cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.openings-chevron {
    font-size: 1.2em;
    padding-left: 4px;
    margin-left: auto;
    opacity: 0.4;
}

.openings-container {
    margin-top: 15px;
    font-size: 0.8em;
}

.openings-days {
    flex: 0 0 35%;
    font-weight: 600;
}

.openings-hours {
    display: flex;
    flex: 0 0 65%;
    justify-content: flex-end;
}

.openings-row {
    display: flex;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
}

.alternative-bg {
    background-color: var(--ast-global-color-6);
}

.ast-separate-container #primary {
    padding: 0 !important;
    margin: 0 !important;
}


.page-header {
    display: none !important;
}

.swiper-pagination{
    background: #fff !important;
}


.tourism-single-poi-container {
    margin-top: 60px;
}

.multimedia-slide {
    display: flex;
    flex-direction: column;
}

.poi-multimedia-slide img {
    height: 350px !important;
}
.poi-multimedia-slide audio {
    height: 350px !important;
}
.poi-multimedia-slide video {
    height: 350px !important;
}

.tourism-single-poi-event-slide-info {
    padding: 15px 0;
    min-height: 160px;
    text-align: center;
}



.waypoint-thumbnail-container {
/*     flex: 80% !important; */
    position: relative;
}

.tourism-poi-slide-favorite-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-color: white;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 13px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* .tourism-poi-slide-favorite-container:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: transform 0.2s ease;
} */

.tourism-detail-page-multimedia-title-container {
    padding:0 !important;
}


/*Actions button on hero image*/
.single-poi-action-buttons {
    position: absolute;
    top: 80%; 
    left: 13%; 
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: left;
}


/*MOBILE AND TABLET*/
@media (max-width: 926px) {
    .single-poi-action-buttons {
       left: 5%;
    }
}

.icon-button-poi {
    color: #000 !important;
    background: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.icon-button-poi:hover {
    transform: scale(1.1);
}