/*
 * CSS extraído de single-empreendimento.php
 * Antes esse CSS era impresso dentro do <body> em um bloco <style>,
 * o que causava FOUC (flash of unstyled content): o navegador começava
 * a desenhar o HTML antes desse CSS estar disponível.
 * Agora ele é carregado no <head> via wp_enqueue_style() (ver functions.php),
 * junto com os outros estilos do tema, antes de qualquer conteúdo ser pintado.
 */

.legend {
    position: absolute;
    bottom: 1rem;
    background: #0000008c;
    width: 50%;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 13px;
    left: 50%;
    transform: translate(-50%);
}

#galeria.plantas_box .slick-slide {
    position: relative;
    padding: 0 0 3rem;
}

#andares {
    background: #F6F6F6;
    padding-block: 100px;
}

#andares .grid {
    grid-template-columns: 322px 1fr;
    gap: 6rem;
}

#andares h3 {
    border-bottom: 1px solid #000;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    letter-spacing: 6px;
}

#andares h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 47px;
}

#andares p {
    line-height: 28px;
    font-weight: 500;
}

#andares .text a {
    background: url(../imgs/bg_btn6.svg) no-repeat;
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: 10% 90%;
    align-items: center;
    width: 233px;
    height: 40px;
    transition: all 0.4s ease;
    font-weight: 500;
    margin-top: 2rem;
    background-size: contain;
}

@media (max-width: 740px) {
    #andares {
        padding-block-end: 0;
    }

    #andares .container {
        padding-inline: 0;
    }

    #andares .grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    #andares .grid .text {
        padding-inline: 1rem;
    }
}

/* Bloco que antes ficava solto no fim do template */
.box_empreendimento {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider_empreendimento .img {
    position: absolute;
    width: 100%;
}

.slider_empreendimento .img img {
    width: 100%;
    object-fit: cover;
}

.tt {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}