/*
 * Alojamento e ficha: CSS portado do neve-child-master (style.css, linhas 427–1452, 1518–1540, 1707–1740)
 * para manter o design. Usado pelos blocos hcs/alojamento-* e hcs/ficha-*.
 */

/* Base do Neve dentro do alojamento/ficha (o TT25 usa margens diferentes). */
:is(.alojamento, .ficha) :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote) {
    margin-top: 0;
}

:is(.alojamento, .ficha) :is(p, h1, h2, h3, h4, h5, h6) {
    margin-bottom: 30px;
}

:is(.alojamento, .ficha) h3:not(.alojamento-post h3) {
    margin-bottom: var(--hcs-espaco-paragrafo, 12px);
}

:is(.alojamento, .ficha) p:has(+ :is(p, ul, ol)):not(.navigator p, .alojamento-post p) {
    margin-bottom: var(--hcs-espaco-paragrafo, 12px);
}

.alojamento :is(.alojamento-bcrumbs, .four-column-list, .three-column-list, .prop-details) {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.alojamento .slider-content blockquote {
    margin: 0;
    padding: 0;
    border: 0;
}

.alojamento figure.slider-content {
    margin-bottom: 0;
}

/* O Neve cortava o que saía da largura (ex.: slider dos testemunhos em mobile). */
.alojamento.grid-container {
    overflow-x: clip;
}

.alojamento .hcs-migalhas {
    align-self: stretch;
    width: 100%;
}

/* O Neve usava border-box em tudo. */
:is(.alojamento, .ficha) *,
:is(.alojamento, .ficha) *::before,
:is(.alojamento, .ficha) *::after {
    box-sizing: border-box;
}

/* Secções feitas com grupos do core (editáveis no template): o layout "flow"
   do core anula as margens; repor os valores do Neve. */
.alojamento .hcs-reserva .form-section {
    margin: 40px 0 80px;
}

.alojamento .hcs-reserva .wpcf7,
.alojamento .hcs-reserva .wp-block-hcs-formulario-reserva {
    margin-top: 0;
}

.alojamento .form-section h2 {
    margin: 30px 0;
}

.alojamento .more-houses h2 {
    margin: 0 0 30px;
}

.alojamento .grid-row > .more-houses {
    margin: 80px 0 40px;
}

@media (max-width: 960px) {
    .alojamento .hcs-reserva .form-section {
        margin: 0;
    }

    .alojamento .form-section h2 {
        margin-top: 0;
    }

    .alojamento .grid-row > .more-houses {
        margin: 0 0 20px;
    }

    .alojamento .more-houses h2 {
        margin: 10px 0 5px;
    }
}

/* As linhas do template são filhas de um grupo do core, cujo layout zera as margens. */
.alojamento.grid-container > .grid-row {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Setas do Swiper agora são <button>: tirar o aspeto de botão do browser. */
.alojamento .swiper-button-prev,
.alojamento .swiper-button-next {
    padding: 0;
    border: 0;
    background-color: transparent;
}

/* O Neve aplicava max-width a todas as imagens. */
:is(.alojamento, .ficha) img {
    max-width: 100%;
    height: auto;
}

.grid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    padding: 20px;
    background-color: #fff;
    margin: 0 auto;
}

.grid-row {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

.grid-item {
    flex: 1;
    height: auto;
    margin-right: 20px;
}

.alojamento .grid-item:last-child {
    margin-right: 0;
}

.alojamento .grid-item .submit {
    text-align: right;
}

.alojamento .full-width {
    flex: 100%;
    height: auto;
    position: relative;
}

.alojamento .third-width {
    flex: 1 1 33.333%;
}

.alojamento .two-thirds-width {
    flex: 2 1 66.666%;
}

@media (max-width: 960px) {
    .alojamento .grid-row {
        flex-direction: column;
    }

    .alojamento .grid-item {
        margin-right: 0;
        margin-bottom: 20px;
        height: auto;
        min-height: 100px;
    }

    .alojamento .grid-item .empty {
        margin-right: 0;
        margin-bottom: 0px;
        height: auto;
        min-height: 0px;
    }

    .alojamento .grid-item .empty p {
        display: none;
    }

    .alojamento .grid-item:last-child {
        margin-bottom: 0;
    }

    .alojamento .third-width,
    .alojamento .two-thirds-width {
        flex: 100%;
    }
}

/* Outras casas: conteúdo alinhado pelo topo (no Neve estava pelo fundo, o que desalinhava fotos e títulos). */
.grid-item.alojamento-post {
    justify-content: flex-start;
}

/* Three Column List Styles */
.three-column-list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.three-column-list li {
    flex: 1 0 33.33%;
    box-sizing: border-box;
    padding: 5px 0;
    color: var(--nv-primary-accent);

}

.comodidades-icons .three-column-list li img {
    width: 36px;
    height: 36px;
}

@media (max-width: 960px) {

    .three-column-list li,
    .comodidades-icons .three-column-list li {
        flex: 1 0 50% !important;
        /* Two columns for tablets and smaller screens */
    }

}

@media (max-width: 480px) {

    .three-column-list li,
    .comodidades-icons .three-column-list li {
        flex: 1 0 100% !important;
        /* One column for mobile devices */
    }
}

/* Comodidades List Section Styles */
.alojamento .comodidades-list-section .grid-item {
    margin-right: 40px;
}

.comodidades-list-section .comodidades h2 {
    padding: 0 0 20px 0;
    color: var(--nv-primary-accent);
}

.comodidades-list-section .comodidades p {
    color: var(--Home-Black, #3D3935);
    font-family: Chivo;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    /* 156.25% */
}

.comodidades-icons .three-column-list li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1 0 33.33%;
    box-sizing: border-box;
    padding: 0 18px 18px 0;
    color: var(--nv-primary-accent);
    margin-left: -7px;
    max-width: 270px;
}

.comodidades-icons li span {
    color: var(--Home-Black, #3D3935);
    font-family: Chivo;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    vertical-align: 50%;
    padding-left: 8px;
}

.comodidades-list-section .image {
    height: 500px;
    background-position: center;
    border-radius: 8px;
}

@media (max-width: 960px) {
    .comodidades-list-section .image {
        height: 280px;
        transition: height .2s ease-out;
    }

    .comodidades-list-section .comodidades h2 {
        padding: 0 0 0 0;
        margin-bottom: 20px;
    }

    .comodidades-list-section .comodidades p {
        margin-bottom: 5px;
        margin-top: 10px;
    }

    .alojamento .comodidades-list-section .grid-item {
        margin-right: 0px;
    }
}

.ficha .nv-big-title {
    display: none;
}

.ficha h2.ornament {
    position: relative;
    margin-top: 50px;
}

.ficha h3 {
    color: var(--nv-primary-accent);
    font-weight: 600;
}

.ficha .code {
    display: inline-block;
    border: 1.5px solid rgba(35, 173, 159, .08);
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(35, 173, 159, .05);
}

.ficha h2.ornament::before {
    content: "";
    background-image: url('data:image/svg+xml;utf8,<svg width="50" height="27" viewBox="0 0 50 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M49.7614 12.2191L49.421 11.8787C49.0524 11.51 48.4544 11.51 48.0849 11.8787L47.7471 12.22C47.4314 12.5357 46.9199 12.5357 46.6041 12.22L37.6508 3.26666C37.4991 3.11497 37.2936 3.0303 37.0793 3.0303H30.4596C30.2091 3.0303 29.9692 3.12996 29.792 3.30723L25.5728 7.52637C25.3056 7.79359 24.7958 7.94793 24.3266 7.72392C24.1794 7.6763 24.0779 7.85356 24.1802 7.95499C24.9202 8.69492 34.4538 18.2286 34.4538 18.2286C34.5067 18.2815 34.5067 18.3679 34.4538 18.4208L33.982 18.8927C33.6663 19.2084 33.1547 19.2084 32.839 18.8927L25.7157 11.7693C25.564 11.6176 22.1598 8.21339 21.6509 7.70452L14.1818 0.236357C14.0301 0.0846651 13.8247 0 13.6103 0H6.93416C6.71985 0 6.51436 0.085547 6.36267 0.236357L0.276484 6.32254C-0.0921614 6.69118 -0.0921614 7.28913 0.276484 7.65866L0.520778 7.90295C0.889424 8.2716 1.48737 8.2716 1.8569 7.90295L2.19732 7.56253C2.51305 7.2468 3.02457 7.2468 3.3403 7.56253L21.9966 26.2188C22.1483 26.3705 22.3538 26.4552 22.5681 26.4552H29.2443C29.4586 26.4552 29.6641 26.3696 29.8158 26.2188L36.1295 19.9051C36.1559 19.8786 36.1921 19.8645 36.2291 19.8654C36.2362 19.8654 42.9283 19.8654 42.9283 19.8654C43.1426 19.8654 43.3481 19.7799 43.4998 19.6291L49.7632 13.363C50.0789 13.0472 50.0789 12.5357 49.7632 12.22L49.7614 12.2191Z" fill="%2300AD9F"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 27px;
    position: absolute;
    top: -32px;
}

.ficha .navigator {
    position: fixed;
    background: rgba(0, 128, 117, .95); /* texto branco: verde escurecido (contraste) */
    color: #ffffff;
    z-index: 1000;
    margin: 30px;
    height: auto;
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
    max-width: 400px;
    padding-bottom: 30px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.sticky-container {
    position: relative;
    /* This keeps the fixed element positioned naturally */
    height: auto;
    /* Adjust to match natural position */
}


.ficha .navigator p.main {
    color: #fff;
    font-family: Chivo;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 5px;
}

.ficha .navigator h1 {
    color: #fff;
    font-family: "Uni Neue";
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 10px;
}

.ficha .navigator a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

.comodidades .image {
    height: 400px;
    background-position: center;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.ficha .comodidades .image {
    height: 600px;
    background-position: center;
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    flex-direction: row-reverse;
    background-size: cover;
    width: calc(100vw - 40px);
    position: relative;
    max-width: 1241px;
}

.ficha .comodidades .image #map {
    margin: 30px;
    height: 540px;
    position: relative;
    justify-content: right;
    align-self: flex-end;
    border: 4px solid rgb(256, 256, 256);
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
    display: flex;
    flex-basis: 100%;
    transition: all .5s ease-out;
}

@media (min-width: 960px) {
    .ficha .comodidades .image #map {
        flex-basis: 47%;
    }
}

.ficha .grid-item.half-width {
    transition: all .5s ease;
}

.ficha .grid-item.half-width img {
    border-radius: 8px;
}



@media (max-width: 960px) {
    .ficha .grid-item.half-width:empty {
        display: none
    }

    /* No telemóvel o cartão (nome da casa = H1, morada, atalhos) aparece no topo, sem ficar fixo.
       Antes ficava escondido e a ficha não mostrava de que casa era. */
    .ficha .navigator {
        position: static;
        max-width: none;
        margin: 0 0 30px;
        opacity: 1 !important;
    }
}


@media (max-width: 960px) {
    .comodidades .image {
        height: 280px;
        transition: height .2s ease-out;
    }
}

.comodidades_list {
    display: flex;
    padding: 40px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0px 0px 8px 8px;
    background: #F2FBFA;
}

.comodidades_list h2 {
    margin: 0px 0 20px 0;
    line-height: initial;
}

.comodidades_list_content {
    display: flex;
}

.comodidades_list_content .button_div {
    align-items: end;
    display: flex;
    min-width: max-content;
    justify-content: center;
    margin-top: 20px;
}

.comodidades_list_content .button_div button {
    margin-top: auto;
}



@media (max-width: 960px) {
    .comodidades_list_content {
        display: flex;
        flex-direction: column;
    }
}

/* Swiper Styles */
.swiper {
    width: auto;
    height: fit-content;
    max-width: 960px;
    min-height: 300px;
    margin-top: 40px;
}

.swiper-slide {
    width: 100% !important;
    max-width: 960px !important;
}

.slider-content {
    flex-direction: column;
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 300px;
    margin: auto 120px;
}

.decorative_ele {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-content .texto {
    font-weight: 200;
    font-size: 20px;
    line-height: 150%;
    font-style: italic;
}

.swiper-button-next,
.swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 30%) !important;
    color: var(--nv-primary-accent, var(--nv-primary-accent)) !important;
}

.slider-content .rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .slider-content {
        margin: auto 20px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Text Livre Alojamento Styles */
.text-livre-alojamento h2 {
    line-height: normal;
}

.text-livre-alojamento p {
    margin-bottom: 15px;
}

/* Metaslider Styles */
.alojamento .metaslider {
    max-width: 960px;
    justify-content: flex-end;
    display: flex;
    margin-right: 0 !important;
    margin-bottom: 70px !important;
}

.alojamento .nv-page-title {
    display: none;
}

/* host home*/

.local-guide .innerblocks-wrap {
    gap: 40px;
}


.host-pic{
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: flex-end; 
  height: auto; 
  min-height: 300px;
  padding-bottom:0px;
}



/* Four Column List Styles */
.four-column-list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.four-column-list li {
    flex: auto;
    box-sizing: border-box;
    padding: 5px 0;
    color: var(--Home-Black, #3D3935);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

.four-column-list li:last-child {
    align-items: center;
    justify-content: center;
    display: flex;
}

.four-column-list li span {
    display: block;
    color: var(--Home-Black, #3D3935);
    font-family: var(--h2fontfamily);
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.four-column-list li span.card-label {
    color: var(--Home-Black, #3D3935);
    font-family: Chivo;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px;
    display: initial;
}

@media (max-width: 480px) {
    .four-column-list li {
        flex: 1 0 100%;
        /* One column for mobile devices */
    }
}

/* Alojamento Card Styles */
.alojamento-card {
    position: absolute;
    z-index: 999;
    max-width: 600px;
    bottom: 150px;
}

.alojamento-bcrumbs {
    width: 200px;
    position: absolute;
    top: 50px;
    z-index: 999;
}

.alojamento-bcrumbs li a {
    color: #687170; /* cinzento mais escuro: contraste AA (era #A2ACAB) */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    /* 178.571% */
    text-decoration-line: underline;
}

.alojamento-bcrumbs li a:hover {
    text-decoration-line: none;
    color: var(--nv-primary-accent, var(--nv-primary-accent)) !important;
}

.alojamento-bcrumbs li span {
    color: #687170; /* cinzento mais escuro: contraste AA (era #A2ACAB) */
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px;
    /* 178.571% */
}

.alojamento .metaslider img {
    border-radius: 8px;
}

@media (max-width: 1125px) {
    .alojamento-card {
        position: relative;
        margin: 0 20px;
    }

    .alojamento-bcrumbs {
        position: relative;
        top: 0px;
        display: block;
        width: 100%;
        z-index: 0;
        margin: 0 0 20px 0;
    }

    .alojamento .metaslider {
        max-width: 960px;
        justify-content: flex-end;
        display: flex;
        margin-right: auto !important;
        margin-bottom: 70px !important;
    }

    .alojamento .full-width:not(.comodidades) {
        display: flex;
        align-items: center;
        margin-top: 0;
        padding-top: 0;
        flex-direction: column;
    }
}

/* Alojamento Card Header and Body Styles */
.alojamento-card-header {
    display: flex;
    padding: 30px 40px 20px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    align-self: stretch;
    border-radius: 8px 8px 0px 0px;
    background: rgba(0, 128, 117, 0.95); /* texto branco: verde escurecido (contraste) */
}

.alojamento-card-body {
    padding: 20px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    border-radius: 0px 0px 8px 8px;
    background: rgba(219, 251, 248, 0.95);
}

.alojamento-card-header .h1 {
    color: #ffffff !important;
    font-size: 44px!important;
    font-style: normal;
    font-weight: 500!important;
    line-height: normal;
    margin-bottom: 0px;
    font-size: var(--h1fontsize);
    font-weight: var(--h1fontweight);
    line-height: 1.2em;
    letter-spacing: var(--h1letterspacing);
    text-transform: var(--h1texttransform);
    font-family: var(--headingsfontfamily), var(--nv-fallback-ff);
}

@media (max-width: 768px) {
    .alojamento-card-header .h1 {
        font-size: 30px;
    }
}

.alojamento-card-header p {
    color: var(--Home-White, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    /* 156.25% */
}

/* Fancybox Styles */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio:1.5),
only screen and (min-device-pixel-ratio:1.5) {

    #fancybox-loading,
    .fancybox-close,
    .fancybox-prev span,
    .fancybox-next span {
        background-image: url(../images/fancybox_sprite_custom@2x.svg) !important;
        background-size: 44px 152px;
    }

    #fancybox-loading div {
        background-image: url(../images/fancybox_loading_custom@2x.svg) !important;
        background-size: 24px 24px;
    }
}

.fancybox-opened .fancybox-skin {
    box-shadow: none !important;
}

.fancybox-skin {
    background: transparent;
}

.fancybox-wrap .fancybox-image {
    border-radius: 8px;
}

.fancybox-close {
    top: 12px !important;
    right: 12px !important;
}

/* Metaslider Navigation Styles */
.metaslider.ms-theme-blend .flexslider ul.flex-direction-nav li a.flex-next:before,
.metaslider.ms-theme-blend .rslides_nav.next:before,
.metaslider.ms-theme-blend div.nivoSlider div.nivo-directionNav a.nivo-nextNav:before,
.metaslider.ms-theme-blend .coin-slider .coin-slider div a.cs-next:before {
    background: url(../images/arrow-right.svg) no-repeat center center !important;
        mask-image: none !important;
    -webkit-transform: rotate(0deg) !important;
    transform: rotate(0deg) !important;
}

.metaslider.ms-theme-blend .flexslider ul.flex-direction-nav li a.flex-prev:before,
.metaslider.ms-theme-blend .rslides_nav.prev:before,
.metaslider.ms-theme-blend div.nivoSlider div.nivo-directionNav a.nivo-prevNav:before,
.metaslider.ms-theme-blend .coin-slider .coin-slider div a.cs-prev:before {
    background: url(../images/arrow-left.svg) no-repeat center center !important;
}

body .metaslider .flexslider .slides li a:before {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    background: url(../images/zoom-in.svg) no-repeat center center !important;
    right: 22px;
    top: 32px;
}

/* General styles for the form */

.form-section {
    margin-bottom: 80px;
    margin-top: 40px;
    text-align: center;
}

.form-section h2 {
    color: var(--nv-primary-accent);
    margin-top: 30px;
}

.form-section p {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .form-section {
        margin-bottom: 0px;
        margin-top: 0px;
        text-align: center;
    }

    .form-section h2 {
        margin-top: 0px;
    }
}

.wpcf7-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 8px;
    border: 1px solid var(--wp--preset--color--accent-1);
    box-sizing: border-box;
    font-size: 16px;
    white-space: normal;
}

.wpcf7-form span.req {
    color: #FF0A0A;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    padding-left: 3px;
}

.wpcf7-form span[data-name="saida"]:after,
.wpcf7-form span[data-name="entrada"]:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 19px;
    width: 20px;
    height: 20px;
    color: var(--wp--preset--color--accent-1);
    text-align: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22" fill="none"><path d="M18.2074 3H3.78346C2.64544 3 1.7229 3.89543 1.7229 5V19C1.7229 20.1046 2.64544 21 3.78346 21H18.2074C19.3454 21 20.2679 20.1046 20.2679 19V5C20.2679 3.89543 19.3454 3 18.2074 3Z" stroke="%2300AD9F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.1162 1V5" stroke="%2300AD9F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.87451 1V5" stroke="%2300AD9F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.7229 9H20.2679" stroke="%2300AD9F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.wpcf7-form span[data-name="saida"]:before {
    content: "—";
    position: absolute;
    left: -20px;
    top: 15px;
    width: 20px;
    height: 20px;
    color: var(--wp--preset--color--accent-1);
    text-align: center;
}

@media (max-width: 960px) {
    .wpcf7-form span[data-name="saida"]:before {
        display: none;
    }
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: .9em;
    font-weight: normal;
    display: block;
    white-space: normal;
}

.wpcf7-form p {
    margin-bottom: 0px;
    white-space: nowrap;
    position: relative;
}

.wpcf7-form-control-wrap {
    position: relative;
    padding-top: 5px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    background: rgba(255, 185, 0, .1);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 1px solid #dc3232;
    background: rgba(220, 50, 50, .1);
    border-radius: 8px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 1px solid #00a0d2;
    background: rgba(0, 160, 210, .1);
    border-radius: 8px;
}

.wpcf7-spinner {
    position: absolute;
    right: 130px;
    top: 13px;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--wp--preset--color--accent-1);
}

.flatpickr-day.today {
    border-color: var(--wp--preset--color--accent-1);
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
    border-color: var(--wp--preset--color--accent-1);
    background: var(--wp--preset--color--accent-1);
    color: #fff;
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
    cursor: pointer;
    outline: 0;
    background: var(--wp--preset--color--accent-1);
    border-color: var(--wp--preset--color--accent-1);
    color: white;
    transition: all .2s ease;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--wp--preset--color--accent-1);
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    border-color: var(--wp--preset--color--accent-1);
}

[tabindex="-1"]:focus,
input:read-write:focus,
select:focus,
textarea:focus {
    outline: 0;
    box-shadow: none;
    --formfieldbordercolor: transparent;
}

/* General styles for the random request of houses*/

.more-houses {
    margin-bottom: 40px;
    margin-top: 80px;
    text-align: left;
}

.more-houses h2 {
    color: var(--nv-primary-accent);
    margin-top: 30px;
}

.more-houses p {
    margin-bottom: 0;
    max-width: 500px;
}

@media (max-width: 960px) {
    .more-houses {
        margin-bottom: 20px;
        margin-top: 0px;
        text-align: center;
    }

    .more-houses h2 {
        margin-top: 10px;
        margin-bottom: 5px;
    }
}

.alojamento-post {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 8px;
    background: var(--Home-White, #FFF);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.10);
}

.alojamento-post h3 {
    font-size: 20px !important;
    font-weight: 400;
    line-height: var(--h5lineheight);
    letter-spacing: var(--h5letterspacing);
    text-transform: none !important;
    font-family: var(--headingsfontfamily), var(--nv-fallback-ff);
    margin-bottom: 15px;
    margin-top: 15px;
}

.alojamento-post p.claim {
    font-size: var(--meta-text-size);
    color: var(--nv-primary-accent);
    margin: 0;
    line-height: 1.25em;
    margin-bottom: 30px;
    min-height: 20px;
}

.alojamento-post ul.prop-details li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 19px;
}

.alojamento .read-more-button {
    background-image: url('data:image/svg+xml;utf8,<svg width="10" height="18" viewBox="0 0 10 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 16.6587L8.5 9.15869L1 1.65869" stroke="%2300AD9F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    height: 15px;
    background-position: right;
    width: 100%;
}

.rentals-list .read-more-button span,
.alojamento .read-more-button span {
    opacity: 0;
}

.rentals-list .read-more-button .hcs-ler-mais__link,
.alojamento .read-more-button .hcs-ler-mais__link {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
}

.video-wrapper {
    position: relative;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px 8px 0px 0px;
}

/* Testemunhos: figcaption em vez do antigo <p class="title"> */
.alojamento .slider-content .title {
    margin: 0 0 30px;
}

/* Ficha: estilos que estavam inline no single-ficha.php do Neve. */
.ficha.grid-container > .hcs-ficha {
    width: 100%;
}

.ficha .hcs-ficha__wifi {
    margin-bottom: 10px;
}

.ficha .hcs-ficha__mais {
    margin-bottom: 0;
}

.ficha .hcs-ficha__lista {
    margin-bottom: 30px;
}

.ficha .hcs-ficha__mais-espaco {
    margin-top: 90px;
}

.ficha .hcs-ficha__locais {
    margin-top: 40px;
}

.ficha .hcs-ficha__locais-lista {
    margin-top: 20px;
}

.ficha .hcs-ficha__tel {
    color: inherit;
    font-weight: 400;
}

.ficha .navigator ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

/* Outras casas: fotos todas na mesma proporção e seta sempre no fundo do cartão. */
.alojamento .alojamento-post > a:first-child {
    display: block;
    width: 100%;
}

.alojamento .alojamento-post .alojamento_pic {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.alojamento .alojamento-post .hcs-ler-mais {
    margin-top: auto;
}

/* Em colunas, o título ocupa sempre 2 linhas para frase, pessoas e quartos ficarem à mesma altura. */
@media (min-width: 961px) {
    .alojamento .alojamento-post h3 {
        min-height: 64px;
    }
}

/* Galeria do topo: as setas abrem o lightbox (assets/js/galeria.js), com volta ao início/fim,
   por isso a seta "anterior" também aparece na primeira foto. */
.alojamento .metaslider .flex-direction-nav a.flex-disabled {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Em mobile o cartão verde sobrepõe a galeria: as setas ficam por cima dele para se poderem tocar. */
.alojamento .metaslider {
    z-index: auto !important;
}

.alojamento .metaslider .flex-direction-nav a {
    z-index: 1000 !important;
}
