/* Importação da fonte */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;700&display=swap');

/* Estilos padrão (Mobile First) */
body {
    margin: 0;    
    height: 100%;
}

@media (min-width: 992px) {
    .sticky-sidebar {
        position: sticky;
        top: 20px;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin-bottom: 18px;
    margin-top: 18px;
}

/* Cabeçalho da tabela */
th {
  background-color: #f2f2f2;
  text-align: left;
  padding: 10px;
  border: 1px solid #ddd;
}

/* Células da tabela */
td {
  padding: 10px;
  border: 1px solid #ddd;
}

/* Alternância de cores nas linhas */
tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover nas linhas */
tr:hover {
  background-color: #f1f1f1;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

h2 {
    font-size: 20px;
    font-weight: 600;
}

h3 {
    font-size: 16px;
    font-weight: normal;
}

h4 {
    font-size: 14px;
    font-weight: normal;
}

h5 {
    font-size: 12px;
    font-weight: normal;
}

h6 {
    font-size: 10px;
    font-weight: normal;
}

p {
    font-size: 20px;
    font-weight: normal;
}

span {
    font-size: 16px;
}

button {
    font-size: 16px;
    font-weight: normal;
}

/* Estilos padrão para Desktop */
@media (min-width: 1024px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 14px;
    }

    h5 {
        font-size: 12px;
    }

    h6 {
        font-size: 10px;
    }

    p {
        font-size: 20px;
    }

    span {
        font-size: 16px;
    }

    button {
        font-size: 16px;
    }
}



/* CSS PERSONALIZADO */

/* MOBILE FIRST */


.header {
    width: 100%;
    height: 80px;
    background-color: #D9D9D9;
}

.navbar {
    min-width: 150px;
    min-height: 35px;
}

.navbar-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.nav-logo {
    cursor: pointer;
}

.nav-logo img {
    margin: 8px;
    max-width: 260px;
    height: auto;
}

.publicidade {
    margin-top: 22px;
}

.publicidade p {
    color: #000;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    margin-bottom: 0;
}

.ads {
    border-radius: 2px;
    border: 1px solid #BDBDBD;
    background: #EDEDED;
    width: 100%;
    height: 100px;
}

.ads340 {
    border-radius: 2px;
    border: 1px solid #BDBDBD;
    background: #EDEDED;
    width: 100%;
    height: 250px;
}

.footer-blog {
    width: 100%;
    height: 131px;
    bottom: 0;
}

.footer-logo-blog {
    cursor: pointer;
}

.footer-logo-blog img {
    margin: 8px;
    max-width: 260px;
    height: auto;
}

.categorias-footer {
    width: 100%;
    height: 254px;
}

.title_redirect {
    color: #FFF;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 48px;
}

.subtitle_redirect {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.subtitle_agradecimento {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 40px;
}

.categorias {
    display: inline-flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px; 
    border-radius: 4px;
    border: 1px solid #BEBEBE;
    background: #FFF;
}

.categorias span {
    color: #000;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.categorias a {
    color: #000;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.title-categorias-footer {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.texto-categorias-footer {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.texto-categorias-footer a {
    color: #000;
    text-decoration: none;
}

.texto-categorias-footer a:hover {
    color: #000;
}

.img-principal img {
    margin-bottom: 20px;
    margin-top: 10px;
}

.noticias {
    color: #000;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    margin-bottom: 24px;
}

.content-noticias {
    cursor: pointer;
}

.content-noticias-conteudo a {
    display: block;
    width: 230px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    align-content: center;
    text-decoration: none;
    justify-self: center;
}

.content-noticias-conteudo a:hover {
    color: #000;
}

.content-preview-noticias {
    max-height: 240px !important;
    overflow: hidden;
    padding-bottom: 20px;
    background: linear-gradient(to bottom, black 50%, rgba(0, 0, 0, 0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #000;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.read-more-btn svg {
    width: 14px;
    height: 14px;
}

.img-404 {
    width: 100%;
    height: 495px;
    background-image: url('../img/404_mob.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-home-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-home-404 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #FFF;
    background: #343434;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.btn-home-404 a:hover {
    background: #555;
    color: #FFF;
}

.text-404 {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-top: 130px;
}

.modal2 {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .5);
    border: 0;
    overflow-y: hidden;
}

.html-content-limited {
    max-height: 6.5em; /* Aproximadamente 3 linhas */
    overflow: hidden;
    position: relative;
    line-height: 1.6em;
}

.html-content-limited::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2em;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.bg-cover-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.show-mobile {
    display: flex;
}

.show-desk {
    display: none;
}


/* DESKTOP */

@media only screen and (min-width: 768px) {
    .ads {
        width: 970px;
        height: 250px;
        justify-self: center;
    }
        .show-mobile {
            display: none;
        }

        .show-desk {
            display: block;
        }

    .title_redirect {
        font-size: 48px;
    }

    .img-404 {
        height: 550px;
        background-image: url('../img/404_desk.webp');
    }

    .categorias-footer {
        height: 148px;
    }

    .noticias {
        margin-bottom: 40px;
    }

}
