/* HEADER DA PAGINA */

#header #imgLogo img {
    width: 140px !important;
    padding: 1rem 0rem 1rem 0rem !important;
    transform: translateY(-20%) !important;
    text-align: center;
}



#header  {
    height: 6rem !important;
    position: fixed !important;
    width: 100% !important;
    /* transform: translateY(calc(4% - 2%)) !important; */
    transform: translateY(0%);
    opacity: 1; /* Visível */
    z-index: 9999;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out !important;
}

#container {
    z-index: 9999;
    height: 6rem !important;
    transform: translateY(10%); 
    opacity: 1; /* Visível */
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; 
} 

#nav {
     height: 8rem !important;
    z-index: 9999;
     transform: translateY(-30%); 
    /* transform: translateY(-1%);  */
    opacity: 1; /* Visível */
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}


/* Estilo aplicado na Header quando o usuário rola a página */
.headerScroll {
    height: 15rem !important;
    position: fixed !important;
    width: 100% !important;
    /* transform: translateY(calc(2% - 2%)) !important; */
    transform: translateY(100%);
    opacity: 1; /* Visível */
    z-index: 9999;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out !important;
}

.headerScroll #imgLogo {
    margin-top: 0rem !important;
}


.headerScroll img {
    width: 150px !important;
    padding: 1rem 0rem 1rem 0rem !important;
    transform: translateY(-6%) !important;
    text-align: center;
}



/* .dropdown-menu {
    background-color: #00B5FC !important;
}

.dropdown-menu a {
  color: #fff !important;
  transition: 250ms;
}

.dropdown-menu li:hover a {
    background-color: #004A68 !important;
    opacity: 1 !important;
    transition: 250ms;
} */

/* CONTEUDO */

main {
    width: 100%; 
    margin: 20px 0px 0px 0px;
}

.divTitleTotal {
    text-align: center; 
    /* background-color: #00B5FC;  */
    width: 100%; 
    height:65vh;
     
    background-image: url('/images/blog/Principal.webp');
    background-size: cover;
    background-position: center;      
    background-attachment: fixed;  

    display: flex;
    flex-direction: column;   
    justify-content: center;  
    align-items: center;      
}


.divTitleTotal h1 {

    /* color: #4e4e4e; */
    color: #fff;

    /* background-color: #fcfbfb; */
    padding: 20px 20px 20px 20px;
    border-radius: 5px;

    font-size: 45px;
    font-weight: 700;
	font-family: 'Open Sans', sans-serif;
}


.divTitleTotal p {
    color: #d6d3d3;
}


.divTitle {
    width: 100%; height: 100%; 
    
    background-color: rgb(0 0 0 / 58%); 

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.title .groupLinks {
    /* color: #4e4e4e; */
    /* background-color: #ffffff; */
    padding: 5px 20px 5px 20px;
    color: #fff !important;
}

.link {
    /* color: rgb(105, 105, 105) !important; */
    text-decoration: none !important;
    color: #d4d2d2 !important;
    font-size: 16px;
    font-family: sans-serif;
    font-style: italic;
    font-weight: 400;
}

.link:hover {
    /* color: rgb(53, 61, 105) !important;  */
    color: #00B5FC !important;
}


.filtro {
    width: 50%;
    display: flex;
    justify-content: center;
    /* gap: 2px; espaço entre os filtros */
    /* margin: 15px; */
    /* background-color: red; */
    padding: 15px;
}

.filtro-item {
    padding: 5px 15px;
    border: 1px solid #fff;
    color: #fff;
    
    /* border-radius: 5px 5px 0px 0px; */
    border-radius: 0 0 10px 10px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filtro-item:hover {
  background-color: #647277;
}

.filtro-item.active {
  background-color: #00B5FC; /* destaque do filtro selecionado */
}


.hidden {
  display: none;
}


.divCardTotal {


    width: 100%; 
    height: 100%; 
}

.imgFundo {
    background-color: #0000007C !important; 
    background-size: cover;
    background-image: url('/images/blog/FundoDosCardsPosts.webp');
    background-position: center;      /* centraliza a imagem */
    background-attachment: fixed;

}

.cardTotal {
      
    background-color: rgba(0, 0, 0, 0.486) !important; 
    width: 100%; height: 100%; 


    align-items: center !important;
    padding: 0px 30px 50px 20px; 

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(388px, 2fr)); /* responsivo */
    gap: 20px;
    justify-content: center !important; /* centraliza o grid dentro da seção */
   
}

.cardTotalFilter {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: left !important;
    padding: 0px 30px 50px 20px;
    margin: 0 auto;
    gap: 20px;
     /* flex-direction: row-reverse !important; */
     

}


.cardTotalFilter .card {
      margin: 0 !important;
}

.cardLink {
    max-width: 400px
}

.card {
    /* margin: 20px 50px 0px 50px !important;  */
    margin: 0 auto;
    height:535px;  
    width: 100%;              /* deixa o grid controlar a largura */
    max-width: 400px;         /* limite para não ficar gigante em telas grandes */
    border-radius: 15px; background-color: #fcfcfc;
    transition: 250ms;
    border: 3px #00b5fc solid;
    overflow: hidden !important;

}


.category {
  display: inline-block;
  font-size: 0.9rem;
  /* color: #00b5fc; */
  color: #0a81b1fa;
  font-weight: bold;
  margin-bottom: 0rem;
  position: absolute;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card:hover {
    transform: scale(1.02);
    transition: 250ms;
    cursor: pointer;
    background-color: #eaf3f7 ;
    /* border: 1px solid #5e5c5c; */
}

.cardHeader {
    display: flex;justify-content: center;align-items: center;
    /* padding: 20px; */
    border-radius: 15px 15px 0px 0px;
    width: 100%; height: auto;
}

.cardImg {
    border-radius: 15px 15px 0px 0px !important; 
    height: 276.91px;
}

.cardContent {
    padding: 0px 20px 0px 20px;
    /* background-color: aqua; */
    height: 180px;
    position: relative;
    overflow: hidden !important;


}

.cardContent h2 {
    color: #4e4e4e;font-size: 20px;font-family: sans-serif;

       display: -webkit-box;          
    -webkit-line-clamp: 3;         /* Safari/Chrome/Edge */
    -webkit-box-orient: vertical;  

    line-clamp: 3;                 /* Especificação padrão */
    overflow: hidden;
}

.cardContent p {
    color: #837e7e;
    font-style: italic;

        display: -webkit-box;          
    -webkit-line-clamp: 3;         /* Safari/Chrome/Edge */
    -webkit-box-orient: vertical;  

    line-clamp: 3;                 /* Especificação padrão */
    overflow: hidden;
}

.cardMain footer {
    /* display: flex; */
    height: 3rem !important;
    padding: 5px 20px 35px 20px !important;
    text-align: left;
    overflow: hidden;
    /* background-color: #f21eee; */
}

.meta {
    color: #4e4e4e;
}

.svgCalendar {
    margin: 0px 0px 0px 10px;
 
}

.date {
    margin: 0px 10px 0px 0px;
 
}

.readMore {
    /* margin-top: 10px !important; */
    padding: 0px 10px 0px 10px !important;
    font-size: 16px;
    /* background-color: aqua; */
    /* left: 15px; */
    margin: 0px 0px 0px 15px;
    color: #00b5fc
}

.readMore:hover {
    color: #314750
}



.title {
    width: 100%;
    height: 150px;
    /* background-color: hsla(197, 49%, 55%, 0.705); */

 /* Gradiente: cor original em cima → cor da imagem em baixo */
    /* background: linear-gradient(to bottom, hsla(243, 90%, 4%, 0.705) 100%,#0f1722 100%); */
    background-color: rgb(23, 36, 52);
    /* background-color: #062430 ; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* margin-top: 30px; */

    /* border-radius: 0px 100px 0px 100px; */
    font-weight: bold;

    /* line-height: 80px; */
}

.title span {
    color: #fff;
    font-size: 26px !important;
}

.author {
    font-size: 14px;
}

.meta img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}






@media (min-width: 1200px) {
   header .container {
        width: 1170px;
        height: 6rem;
    }
}

@media (max-width: 375px)  {
     #imgLogo {
        width: 60% !important;
    }

 
    #header {
        width: 100vw !important;
        position: fixed !important;
        height: 7rem !important;    
        z-index: 99999;
    }

   
    #header #imgLogo img {
        width: 120px !important;
        padding: 0rem 2rem 2rem 0rem !important;
        transform: translateY(-11%) !important;
        text-align: center !important;
    }


    #container {
        z-index: 9999;
        height: 4rem !important;
        transform: translateY(10%); 
        opacity: 1; /* Visível */
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; 
    } 

    #nav {
        width: 100vw;
        height: 6rem !important;
        z-index: 9999;
        transform: translateY(-44%); 
        /* transform: translateY(-1%);  */
        opacity: 1; /* Visível */
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    }



    /* Dropdown */

    #header #DivNavBarCollapse {
        width: calc(100vw + 1rem);
        transform: translateY(-2.8rem) translateX(-2rem) !important; 
        background-color: #fff;
    }


        /* ajustar a posição do dropdown um pouco mais pra direita e fazer a header ter tamanho automatico */
    #header #DivNavBarCollapse  #navBarCollapse {
        width: 100%;
        transform: translateX(0.2rem) !important; 
        background-color: #fff;
        height: auto !important;
    }


   #header #buttonDrop {
        transform: translateY(-8%) !important;
    }

  
    .dropdown-menu li a {
        background: gray !important;
    }

    .dropdown-menu li:hover a {
        background-color: #000 !important;
        opacity: 1 !important;
        transition: 250ms;
    }


    .dropdown-menu {
        margin-top: -1px !important;
        min-width: 280px
    }



    .divTitleTotal {
        text-align: center; 
        /* background-color: #00B5FC;  */
        width: 100%; 
        height: 65vh;
       background-image: url('/images/blog/Principal_mobile.webp');
        background-size: cover;
        background-position: center;      /*  centraliza a imagem */
        background-attachment: scroll;    /*   cria o efeito parallax */
        
        display: flex;
        flex-direction: column;   
        justify-content: center;  
        align-items: center;      
    }

    
    .divTitleTotal h1 {
        font-size: 36px;
    }

    .divTitleTotal p {
        padding: 0px 20px 0px 20px;
        font-size: 10px;
        width: 100%;
        /* background-color: red; */
        text-align: center;
        /* text-justify: distribute-all-lines !important;  */
    }


   .title span {
        font-size: 22px !important;
    }


    .cardTotal a {
        width: 100vw;
    }

    .card {
        /* margin: 20px 50px 0px 50px !important;  */
        margin: 0 0px 0px 35px;
        height:535px;  
        width: 90%;              /* deixa o grid controlar a largura */
        /* max-width: 360px;         */
        border-radius: 15px; background-color: #fcfcfc;
        transition: 250ms;
        border: 3px #00b5fc solid;
        overflow: hidden !important;
    }


        .author {
        font-size: 11px !important;
    }

    .svgCalendar {
        margin: 0px 0px 0px 10px;
        font-size: 11px !important;
    }

    .date {
        margin: 0px 10px 0px 0px;
        font-size: 11px !important;
    }

    .meta img {
        width: 18px;
        height: 18px;
        border-radius: 50%;
    }

    .cardTotalFilter {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: left !important;
        padding: 0px 30px 50px 20px;
        margin: 0 auto;
        gap: 20px;

    }

    .cardTotalFilter .card {
        min-width: 100%;
    }

    .filtro {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 2px; /* espaço entre os filtros */
        /* background-color: red; */
    }

    .filtro-item {
        padding: 0px 5px !important;
        border: 1px solid #fff;
        color: #fff;
        border-radius: 0 0 10px 10px;
        background-color: transparent;
        cursor: pointer;
        transition: background-color 0.3s;
        font-size: 9px !important;
    }





    .imgFundo {
        background-size: cover;
        background-image: url('/images/blog/FundoDosCardsPosts.webp');
        background-position: center;      /* centraliza a imagem */
        background-attachment: local;
    }

    .card.hidden {
    display: none !important;
    }

}


@media (min-width: 376px) and (max-width: 607px) {

    /* ESTILIZAÇÃO PARA CONTROLAR O HEADER DA PAGINA DE FORMA DIFERENTE DAS OUTRAS PAGES */
    #imgLogo {
        width: 60% !important;
    }

 
    #header {
        position: fixed !important;
        height: 7rem !important;    
        z-index: 99999;
    }

   
    #header #imgLogo img {
        width: 120px !important;
        padding: 0rem 2rem 2rem 0rem !important;
        transform: translateY(-11%) !important;
        text-align: center !important;
    }


    #container {
        z-index: 9999;
        height: 4rem !important;
        transform: translateY(10%); 
        opacity: 1; /* Visível */
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; 
    } 

    #nav {
        height: 6rem !important;
        z-index: 9999 ;
        transform: translateY(-33%);
        /* transform: translateY(-1%);  */
        opacity: 1 ; /* Visível */
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out ;
    }



    /* Dropdown */

    #header #DivNavBarCollapse {
        width: calc(100vw + 1rem);
        transform: translateY(-2.9rem) translateX(-2rem) !important; 
        background-color: #fff;
    }


        /* ajustar a posição do dropdown um pouco mais pra direita e fazer a header ter tamanho automatico */
    #header #DivNavBarCollapse  #navBarCollapse {
        width: 100%;
        transform: translateX(0.2rem) !important; 
        background-color: #fff;
        height: auto !important;
    }


   #header #buttonDrop {
        transform: translateY(-8%) !important;
    }

  
    .dropdown-menu li a {
        background: gray !important;
    }

    .dropdown-menu li:hover a {
        background-color: #000 !important;
        opacity: 1 !important;
        transition: 250ms;
    }


    .dropdown-menu {
        margin-top: -1px !important;
        min-width: 280px
    }


/* CONTEUDO DO BLOG, CARDS ETC */
    .divTitleTotal {
        text-align: center; 
        /* background-color: #00B5FC;  */
        width: 100%; 
        /* height: calc(100vh - 8rem); */
        height: 55vh;
       background-image: url('/images/blog/Principal_mobile.webp');
        background-size: cover;
        background-position: center;      /*  centraliza a imagem */
        background-attachment: scroll;    /*   cria o efeito parallax */
        
        display: flex;
        flex-direction: column;   
        justify-content: center;  
        align-items: center;      
    }
    
    .divTitleTotal h1 {
        font-size: 36px;
    }

    .divTitleTotal p {
        padding: 0px 20px 0px 20px;
        font-size: 12px;
        width: 100%;
        /* background-color: red; */
    }


   .title span {
        font-size: 22px !important;
    }

    .cardLink {
        margin: 0 auto;
        height:535px;  
        width: 100%;              /* deixa o grid controlar a largura */
        /* max-width: 360px;         */

        overflow: hidden !important;
    }

    .card {
        /* margin: 20px 50px 0px 50px !important;  */
        margin: 0 auto;
        height:535px;  
        width: 90%;              /* deixa o grid controlar a largura */
        /* max-width: 360px;         */
        border-radius: 15px; background-color: #fcfcfc;
        transition: 250ms;
        border: 3px #00b5fc solid;
        overflow: hidden !important;
    }


    
    .author {
        font-size: 12px !important;
    }

    .meta img {
        width: 18px;
        height: 18px;
        border-radius: 50%;
    }


    .cardTotalFilter {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;

        padding: 0px 30px 50px 20px;
        margin: 0 auto !important;
        gap: 20px;

    }

    .cardTotalFilter .card {
        min-width: 100%;
    }

    .filtro {
        width: 100vw;
        display: flex;
        justify-content: center;
        gap: 2px; /* espaço entre os filtros */
        /* background-color: red; */
        padding: 15px;

    }

    .filtro-item {
        
        padding: 0px 5px;
        border: 1px solid #fff;
        color: #fff;
        /* border-radius: 5px 5px 0px 0px; */
        border-radius: 0 0 10px 10px;
        background-color: transparent;
        cursor: pointer;
        transition: background-color 0.3s;
        font-size: 12px;
        
    }


    .imgFundo {
        background-size: cover;
        background-image: url('/images/blog/FundoDosCardsPosts.webp');
        background-position: center;      /* centraliza a imagem */
        background-attachment: local;
    }

    .card.hidden {
    display: none !important;
    }



}