body {
    width: 100vw;
}

/* ESTILOS BANNERS */

.banner-upper-home, .banner-meio-home {
    width:100%;
}

.banner-upper-home-box, .banner-meio-home-box {
    margin-top:20px;
    display:flex;
    justify-content: center;
	align-items: center;
}

.p-tag {
	margin-right: 10px; 
	padding-right: 15px;
	}

.banner-upper-home-box p, .banner-meio-home-box p {
    margin-top: 70px;
    font-size: small;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    transform: translateY(-50%) rotate(180deg);
}

.banner-upper-home-img, .banner-meio-home-img {
    width: 70vw;
}

.banner-upper-home-link, .banner-meio-home-link {
    display:flex;
    justify-content:center;
    background-color:#ffff;
}

@media (max-width: 768px) {
    .banner-upper-home-box, .banner-meio-home-box {
        margin: 30px 0;
        height: 70px;

   }

   .banner-upper-home-box p, .banner-meio-home-box p {
       font-size:xx-small;
       margin-top: 50px;
   } 
}

/* ESTILOS MÓDULO TAGS */

.tag-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.tag-link h2 {
	justify-content: flex-start;
}

.tag-link a {
    color: #000;
	justify-content: flex-end;
}

.latest-posts-container {
    display: flex;
}

.first-column {  
    flex: 2;
}

.second-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.second-column .post {
    flex: 1;
}

.second-column .post h2 {
    font-size: 18px; 
	margin-bottom: 8px;
}

.second-column .post p {
	margin: 8px;
}

.first-column .post a, .second-column .post a {
    color:#000;
    text-decoration: none;  
}

#tag-img-col-1 {
    width: 45vw;
    transition: 1s ease;
}

#tag-img-col-1:hover {
    filter: opacity(0.5);
}

#tag-img-col-2 {
    width: 24vw;
    transition: 1s ease;
}

#tag-img-col-2:hover {
    filter: opacity(0.5);
}

.mod-tag {
    width: 70%;
    margin-left: 15%;
}

@media (max-width: 768px) {

	.p-tag {
	display: none;
	}
	
    .mod-tag {
        width:auto;
        margin-left: 5%;
    }
    
	.tag-link h2 {
		padding-left: 7px;
	}
	
	.tag-link a {
		padding-right: 38px;
	}
	
	.latest-posts-container {
    display: flex;
    flex-direction: column;
	}
	
    .first-column {
       display: flex;
       margin-right: 5%;
       justify-content: center;
    }

	.first-column p {
       display: flex;
       margin-right: 5%;
       justify-content: center;
    }

	
    .first-column h2{
        text-align: center;
    	line-height: 30px;
		margin: 8px;
    }
	
	.second-column {
        flex: 2;
        display: flex;
        flex-direction: row;
	}
	
	.second-column .post h2 {
        margin: 0 10px;
        font-size: 14px; 
	}

    .post p {
        display: flex;
    	font-size: 11px;
    	text-align: left;
    	margin: 8px;
    	flex-direction: column;
    }
    
    #tag-img-col-1 {
        width: 85vw; 
		margin: 8px;
    }

    #tag-img-col-2 {
        width: 40vw;
		margin: 8px;
    }
}


/* ESTILOS CARROSSEL */


.box-categoria img {
    border-radius: 50%;
    width: 150px;
}

.swiper {
    width: 70vw;
    height: 300px;

}

@media (max-width: 768px) {
	
    .box-categoria img {
        border-radius: 50%;
        width: 100px; 
    }
    
    .swiper {
        display: flex;
    	width: 90vw;
    	height: 180px;
    	margin-top: 20px;
    	justify-items: center;
    	flex-wrap: wrap;
    	justify-content: center;
    }
    
    .swiper-slide .box-categoria {
        width:90px;
    
    }
    
    body {
      overflow-x: hidden;
    }
}



.menu-icon {
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

.menu-hamburguer {
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#menu-list {
    transition: display 0.3s ease;
}

/* ESTILOS MODULO POSTS DESTAQUE */

.modulo-favoritos {
    text-align: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modulo-favoritos a {
    color:#000;
    text-decoration:none;
}


.titulo-favorito {
    text-align: center;
    height: 30px;
    font-size: 16px;
    margin-bottom: 60px;
    
}

.titulo-modulo {
    font-size: 24px;
    margin-bottom: 20px;
}

.conteudo-modulo {
    display: flex;

}

.coluna-modulo {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.coluna-modulo img {
    width: 300px;
    height: 225px;
    transition: 1s ease;
}

.coluna-modulo img:hover {
    filter: opacity(0.5);
    
}

.banner-upper-home-img {
	max-width: 70vw;
	
}

.swiper-button-next, .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 30%);
}

@media (max-width: 768px) {
    .titulo-modulo {
        font-size: 25px;
    }

    .modulo-favoritos .swiper {
        width: 100vw;
        height:400px;
    }
    
 }



/* ESTILOS MODULO TODOS OS POSTS */

.blog-posts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    justify-items: center;
}

.post-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    padding: 10px;
}

.post-item img {
    width: 300px;
    height: 200px;
    transition: 1s ease;
}

.post-item img:hover {
    filter: opacity(0.5);
    
}

.all-posts-title {
    width:75%;
    margin-top: 10px;
    font-size: 16px;
}

.posts-grid a {
    color: #000;
    text-decoration: none;

}

.box-btn-load {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#load-more-posts {
    border:none;
    background-image: url('/wp-content/uploads/img/seta-dupla.png');
    background-size: contain;
    background-color: transparent;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    margin-bottom:40px;
}


@media (max-width: 768px) {
    .posts-grid {
        display: flex;
        flex-direction: column;
        align-content: center
    }

    .post-item {
        width: 100%;
        display:flex;
        flex-direction: column;
        align-items:center;
    }
}

@media (max-width: 950px) and (max-height: 500px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-item img {
        width: auto;
        height: 40vh;
    }
}
  
  @media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(1, 1fr);
    }

      .post-item img {
          width: 70vw;
          height: auto;
      }
  } 