body:not(.home) .site-header .header-banner {
    /*
    align-items: center;
    min-height: 250px !important;
    */
    display: none;
}

header.site-header {
    z-index: 10001;
}

.site-header figcaption {
    display: none;
}

.site-nav.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 36px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
    right: 0;
    margin: 0 auto;
}

/* Full width header & footer */
header.site-header, 
.site-header, 
footer.site-footer, 
.site-footer {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}


main.site-main,
.site-main {
    max-width: 1200px;
}


/* Full width elements */
.obb-hero-content {
    max-width: 100% !important;
    padding: 48px 0;
}
.obb-hero-content .wp-block-group {
    padding-left: 0 !important;   
    padding-right: 0 !important;
}

/* Search Bar */
#search-widget_IO312PWQ #guesty-search-widget__datepicker [id^=date-picker-wrapper]:first-child {
    border-right: 1px rgba(0, 0, 0, .1) solid;
}

#search-widget_IO312PWQ .guesty-widget__item .selectr-selected {
    padding: 13px 52px 9px 10px;
}

#search-widget_IO312PWQ #guesty-search-widget__datepicker .__super-input {
    padding: 21px 15px;
}

/* Destination Page Template */

.wp-block-buttons>.wp-block-button.book-property {
    /* position: absolute; */
    /* margin: 20px 0 0; */
}

.destination-slideshow.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image {
    object-fit: cover;
    width: 100%;
}

.destination-block,
.destination-block > * {
    box-sizing: border-box;
}

.destination-block .property-features > div,
.destination-block .amenity-item {
    box-sizing: border-box;
}

.destination-block .property-features:not(:last-child) {
    margin-bottom: 40px;
}

.destination-block {
    padding: 20px;
    background-color: #fafafa;
}

.destination-block h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.destination-block .property-features,
.destination-block .amenities {
    /*
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-content: flex-start;
    */
}

/* Fixed item width: always 25% */
.destination-block .property-features > div,
.destination-block .amenity-item {
    /* flex: 0 0 calc((100% - 60px) / 4); */
    /* max-width: calc((100% - 60px) / 4); */
    /* padding: 10px; */
    /* background-color: #fff; */
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(50% - 10px);
    text-align: left;
    display: block;
    font-size: 16px;
    
}

/* Amenities Icon Styling */
.destination-block .amenity-icon {
    margin-bottom: 10px;
}

.destination-block .amenity-icon img {
    display: block;
    margin: 0 auto;
    width: 48px;
    height: 48px;
}

/* Amenities Name Styling */
.destination-block .amenity-name {
    text-transform: capitalize;
}

.destination-block .google-map iframe {
    width: 100%;
}

.destination-block .property-detail-title {
    font-weight: 600;
    font-size: var(--wp--preset--font-size--medium);
}

.obb-footer .obb-footer-return {
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-banner {
        max-height: 250px;
    }
    .page-banner img {
        height: 250px !important;
    }    
}

@media (max-width: 835px) {
    #search-widget_IO312PWQ .guesty-widget__item,
    #search-widget_IO312PWQ .guesty-widget__item .selectr-container,
    #search-widget_IO312PWQ .guesty-widget__item #guesty-search-widget__datepicker {
        margin: 0;
        width: 100%;
    }
    #search-widget_IO312PWQ .selectr-container.open .selectr-options-container {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        width: 90%;
        left: -1px;    
    }
    
    #search-widget_IO312PWQ .guesty-widget__item .selectr-selected {
        padding: 10px 15px;
    }
    #search-widget_IO312PWQ input,
    #search-widget_IO312PWQ button,
    #search-widget_IO312PWQ select {    
        max-width:100%;
    }
}

@media (max-width: 818px) {
    .footer-widgets {
        gap: 20px;
    }
}


@media (max-width: 781px) {
    
    /* Global */
    .wp-container-core-group-is-layout-10 > * + * {
        margin-block-start: 25px;
        margin-block-end: 0;
    }
    
    .hero-split img,
    .hero-split .wp-block-cover,
    .hero-split .wp-block-image img {
        margin-bottom: 20px;
        max-height: 250px !important;
        min-height: 250px !important;
        object-fit: contain;
        width: 100%;
    }    
    
    .column-reverse {
        flex-direction: column-reverse;
    }
    
    .hero-split-group {
        padding: 0 0 20px !important;
    }
    
    .hero-split-group .wp-block-group {
        padding: 20px 0 40px 0 !important;
    }
    
    .future-banner {
        min-height: 400px !important;
    }
    
    .future-banner .wp-block-group {
        padding: 0 20px !important;
    }

    /* Footer accordion */

    .footer-column > :not(.wp-block-heading) {
        display: none;
    }
    
    .footer-column .wp-block-heading {
          cursor: pointer;
          padding: 10px 10px 10px 0;
          border-bottom: 1px solid #ccc;
          position: relative;
    }
    
    .footer-column .wp-block-heading::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        border: solid #fff;
        border-width: 0 2px 2px 0;
        padding: 4px;
        transition: transform 0.3s ease;
    }
    
    .footer-column .wp-block-heading.active::after {
        transform: translateY(-50%) rotate(-135deg);
    }
    
    .footer-column .wp-block-heading:hover {
        color: #555;
    }
}

@media (max-width: 768px) {
    .destination-block .property-features > div,
    .destination-block .amenity-item {
        flex: 0 0 calc(33% - 15px);
        max-width: calc(33% - 15px);
    }
    .obb-footer .obb-footer-return {
        position: absolute;
        right: -20px;  
        height: 38px;
        top: 5px;
        width: 38px;        
    }    
    .obb-footer .obb-footer-return:hover i {
        transform: scale(1);
    }    
}

@media (max-width: 600px) {
    .header-row {
        justify-content: space-between;
    }
    .header-row img {
        max-width: 200px;
    }
    .wp-block-buttons>.wp-block-button.book-property {
        position: relative;
        margin: 0 auto; 
    }    
    
    .entry-content .wp-block-media-text__content {
        padding: 0;
    }
}

@media (max-width: 480px) {
    body:not(.home) .site-header .wp-block-cover {
        align-items: center;
        min-height: 150px !important;
    }    
    .site-nav .wp-block-navigation {
        margin-left: auto;
    }
    .header-row img {
        max-width: 150px;
    }    
    .destination-block .property-features > div,
    .destination-block .amenity-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
}

/* Search Widget */
.guesty-root-element .guesty-widget__item:not(:last-child) {
    border: 1px var(--wp--preset--color--accent-secondary) solid;
}