.mihi-cottage-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.mihi-cottage-title-row .elementor-heading-title {
    margin: 0;
}

.mihi-cottage-video-button,
.mihi-cottage-title-row .mihi-cottage-video-button.elementor-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    cursor: pointer;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: #0d3f68 !important;
    color: #ffffff !important;
    text-decoration: none;
}

.mihi-cottage-video-button:hover,
.mihi-cottage-video-button:focus,
.mihi-cottage-title-row .mihi-cottage-video-button.elementor-button:hover,
.mihi-cottage-title-row .mihi-cottage-video-button.elementor-button:focus {
    background-color: #0d3f68 !important;
    color: #ffffff !important;
    opacity: .92;
}

.mihi-cottage-video-button .elementor-button-icon,
.mihi-cottage-video-button .elementor-button-text {
    color: #ffffff !important;
}

.mihi-cottage-video-button .elementor-button-content-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mihi-cottage-video-button .elementor-button-icon {
    margin: 0;
}

.mihi-cottage-video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.mihi-cottage-video-lightbox.is-open {
    display: flex;
}

.mihi-cottage-video-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .84);
}

.mihi-cottage-video-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 94vw);
}

.mihi-cottage-video-close {
    position: absolute;
    right: -12px;
    top: -46px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.mihi-cottage-video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.mihi-cottage-video-frame iframe,
.mihi-cottage-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

body.mihi-video-lightbox-open {
    overflow: hidden;
}

/* Individual cottage pages: treat flexible beds as another site-style specification
   rather than a separate callout box. */
.mihi-cottage-flexible-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin: 4px 0 20px;
    padding: 15px 18px;
    border-top: 0;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    color: #09355C;
    text-align: center;
    line-height: 1.2;
}

.mihi-cottage-flexible-note > i {
    flex: 0 0 auto;
    color: #AA6D51;
    font-size: 21px;
}

.mihi-cottage-flexible-note > span {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mihi-cottage-flexible-note strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: #09355C;
}

.mihi-cottage-flexible-note-value {
    color: #777;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: .01em;
}

@media (max-width: 1024px) {
    .mihi-cottage-title-row {
        width: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .mihi-cottage-title-row .elementor-heading-title {
        width: 100%;
        text-align: center;
    }

    .mihi-cottage-title-row .mihi-cottage-video-button {
        display: inline-flex;
        align-self: center !important;
        float: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 767px) {
    .mihi-cottage-video-lightbox {
        padding: 15px;
    }

    .mihi-cottage-video-lightbox-dialog {
        width: 100%;
    }

    .mihi-cottage-video-close {
        right: 0;
        top: -42px;
    }

    .mihi-cottage-flexible-note {
        align-items: flex-start;
        width: calc(100% - 20px);
        margin-bottom: 15px;
        padding: 11px 14px;
    }

    .mihi-cottage-flexible-note > span {
        display: block;
    }

    .mihi-cottage-flexible-note strong,
    .mihi-cottage-flexible-note-value {
        display: block;
    }

    .mihi-cottage-flexible-note-value {
        margin-top: 3px;
    }
}
