/* Estilos base para a seção de atualizações */
div.box__updates {
    display: flex;
    flex-direction: column;
}

div.box__updates > div {
    width: 100%;
    padding: 1rem;
}

/* Estilos específicos para a seção Instagram dentro de atualizações */
div.box__updates > div.instagram {
    background-color: #30b3ab;
    position: relative;
    border-radius: 8rem 0 1rem 0;
}

div.box__updates > div.instagram div.title {
    display: flex;
    align-items: center;
    justify-content: center;
}

div.box__updates > div.instagram div.title h4 {
    color: #fff;
    margin: 0 1rem;
    font-size: 1.7rem;
    font-family: "Calibri Bold", sans-serif;
}

div.box__updates > div.instagram div.title div.img {
    height: 3rem;
    flex: 1;
    display: flex;
}

div.box__updates > div.instagram div.title div.img:first-child {
    justify-content: flex-end;
}

div.box__updates > div.instagram div.title div.img:last-child {
    justify-content: flex-start;
}

div.box__updates > div.instagram div.title div.img img {
    height: 100%;
    width: auto;
}

div.box__updates > div.instagram div.content {
    display: flex;
}

div.box__updates > div.instagram div.content > img.girl {
    position: absolute;
    top: 0%;
    right: 0;
    height: 120%;
    transform: translate(10%, -10%);
}

/* Estilos específicos para a seção de vídeos dentro de atualizações */
div.box__updates > div.videos {
    background-color: #eac12e;
    border-radius: 0 0 8rem 1rem;
    padding-top: 2rem;
    margin-top: -2rem;
    overflow: hidden;
}

div.box__updates > div.videos div.title {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.box__updates > div.videos div.title h4 {
    color: #fff;
    margin: 0 1rem;
    font-size: 1.7rem;
    font-family: "Calibri Bold", sans-serif;
}

div.box__updates > div.videos div.title div.img {
    height: 3rem;
    flex: 1;
    display: flex;
}

div.box__updates > div.videos div.title div.img:first-child {
    justify-content: flex-end;
}

div.box__updates > div.videos div.title div.img:last-child {
    justify-content: flex-start;
}

div.box__updates > div.videos div.title div.img img {
    height: 100%;
    width: auto;
}

/* Estilos para o container do slider de vídeos */
.slider__videos__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 1rem auto;
    margin-bottom: 0;
}

.slider__videos__container div.img {
    width: 20%;
}

.slider__videos__container div.img img {
    width: 100%;
    height: auto;
    pointer-events: none;
}

.slider__videos__container .slider__videos {
    width: 95%;
    margin: 0 auto;
}

.slider__videos__container .slider__videos .item__slide {
    margin: 1rem;
    display: flex;
    flex-direction: column;

}

.slider__videos__container .slider__videos .item__slide .link {
    background-position: center;
    background-size: 105% auto;
    height: 400px !important;
    width: 115%;
    border-radius: 1rem;
    position: relative;
}

.slider__videos__container .slider__videos .item__slide .link::before {
    content: " ";
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url(../../img/site/home/play.png);
    background-size: 100% 100%;
    width: 3.5rem;
    height: 3.5rem;
    transform: translate(-50%, -50%);
    transition: .5s;
}

.slider__videos__container .slider__videos .item__slide:hover .link::before {
    transform: translate(-50%, -50%) scale(1.2);
}

.slider__videos__container .slider__videos .item__slide p {
    color: #fff;
    text-align: center;
    font-family: "Calibri", sans-serif;
    font-size: 1rem;
    margin-bottom: 0;
}

.slider__videos__container .slider__videos .btn__controller__slide {
    background: none;
}

.slider__videos__container .slider__videos .btn__controller__slide.splide__arrow--prev {
    left: -3%;
}

.slider__videos__container .slider__videos .btn__controller__slide.splide__arrow--next {
    right: -3%;
}

/* Estilos para o feed do Instagram */
#instafeed {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    overflow-x: hidden;
    width: 80%;
    margin: 1.5rem 0;
}

#instafeed > a {
    width: 32%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    border-radius: 1rem;
}

#instafeed > a img {
    width: 100%;
    height: auto;
    min-height: 100%;
}

/* Estilos responsivos para telas menores e orientação retrato */
@media screen and (max-width: 991px), (orientation: portrait) {
    div.box__updates > div.instagram div.content > img.girl {
        display: none;
    }

    div.box__updates > div div.title {
        flex-direction: column;
    }

    div.box__updates > div div.title h4 {
        text-align: center;
        width: 100%;
        margin: 0;
    }

    #instafeed {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #instafeed > a {
        width: 80%;
    }

    #instafeed > a + a {
        margin-top: 1rem;
    }
}
