body {
    font-family: 'Lato', sans-serif;
}

.top-bar {
    background-color: #006d6f;
    color: #fff;
    padding: 3px 0;
}

.navbar-dark {
    background: #0071AD !important;
}

.barra-topo {
    background: #252525 !important;
    color: #fff;

    /* padding-bottom: 24px; */
    span {
        background: #004F77;
        padding: 2px 5px 3px 5px;
    }
}

.bg-destaques {
    background: #004F77 !important;

    a,
    h6,
    p,
    hr {
        color: #fff !important;
    }

    p,
    p a {
        color: #02a7ff !important;
        font-weight: bolder !important;
    }

}

.ads-topo {
    background: #D9D9D9;
}

.panavueiro {
    background: #0EB5C4;
    color: #fff;

    p {
        margin: 0;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    h2 {
        margin: 0;
    }
}

.opiniao {
    background: #0071AD;
    color: #fff;

    p {
        margin: 0;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    h2 {
        margin: 0;
    }
}

.amazonas-mais-feed {
    background-image: url("../images/bg-amazonas.gif");
    background-repeat: repeat-x;
    background-position: top left;
    min-height: 600px;
}

.concursos {
    background: #E8EFEF;
}

@media (min-width: 992px) {
    .lg-img {
        min-height: 400px;
    }
}

.linha-s {
    height: 6px;
    background: #0071AD;
    width: 200px;
    margin-bottom: 15px;
}

.card-post {
    .linha {
        height: 6px;
        background: #0071AD;
        width: 200px;
        margin-bottom: 15px;
    }

    h2 {
        font-weight: 800;
        font-size: 1.6rem;
    }

    h6 {
        color: #0071AD;
        margin-top: 10px;
    }

    p {
        color: #0071AD;
    }

    .card-text {
        font-family: "Noto Serif", serif;
    }

    .img-padrao {
        width: 100%;
        height: 280px;
        object-fit: cover;
        object-position: center;
    }
}

.card-body a {
    color: inherit;
    text-decoration: none;
}

.menu-topo-dinamico a {
    color: #fff;
    text-decoration: none;
}

/* CSS FEED POSTS - AMAZONAS E MAIS */
.home-featured .featured-post a {
    color: #fff;
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.home-featured .featured-post a:hover .featured-image img,
.home-featured .featured-post a:active .featured-image img,
.home-featured .featured-post a:focus .featured-image img {
    opacity: 0.8;
    transform: translateY(-50%) scale(1.05);
}

.home-featured .featured-post .featured-image {
    background: #000;
    position: relative;
    overflow: hidden;
}

.home-featured .featured-post .featured-image img {
    transition: all 0.25s;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -o-object-fit: cover;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
}

.home-featured .featured-post .main-text {
    background-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.9) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 10px 30px 20px;
}

.home-featured .featured-post .main-text .post-title {
    text-shadow: 1px 1px 1px #000;
    letter-spacing: -0.02em;
    width: 96%;
    font-weight: 650;
    line-height: 1.2;
    text-transform: none;
    padding-left: 12px;
    border-left: solid 3px #ffd002;
}

.home-featured .featured-post-small .featured-image img {
    transition: all 0.25s;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    -o-object-fit: cover;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.home-featured .featured-post-small.no-featured-image .main-text .post-title {
    display: none;
}

.home-featured .featured-left .featured-post .featured-image {
    height: 480px;
}

.home-featured .featured-left .featured-post .main-text .post-title {
    font-size: 23px;
}

/* END CSS POSTS AMAZONAS E MAIS */

/* COLUNAS */
.autor-link {
    text-decoration: none;
    color: inherit;
    display: block;
    /* Faz o link envolver todo o card */
}

.autor-card {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    transition: 0.2s ease;
}

.autor-link:hover .autor-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.autor-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.autor-nome {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    color: #444;
}

.autor-linha {
    width: 70%;
    height: 2px;
    background: #2ea7d1;
    margin: 25px auto;
}

.autor-titulo {
    font-size: 24px;
    color: #666;
}

/* topo */
.menu-topo li {
    list-style: none !important;
}

.t-concursos h4 {
    color: #6C9CDA;
    font-weight: bold;
    margin: 0;
}

.t-concursos h2 {
    color: #396AA9;
    font-weight: bold;
    margin: 0;
    font-size: 2.7rem;
}

.t-concursos {
    border-bottom: solid 2px #0071AD;
    padding-bottom: 10px;
}

/* busca topo */
/* Container da busca */
.search-box {
    position: relative;
    background: transparent;
    height: 40px;
    border-radius: 40px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-in-out;
}

/* O campo de texto (inicialmente escondido) */
.search-txt {
    border: none;
    background: none;
    outline: none;
    padding: 0;
    color: #555;
    font-size: 16px;
    transition: 0.4s;
    width: 0px;
    opacity: 0;
    line-height: 40px;
}

/* Botão da lupa */
.search-btn {
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.search-box.active {
    background-color: white;
    padding-left: 15px;

}

.search-txt.active {
    width: 200px;
    padding-right: 10px;
    opacity: 1;
}

/* Muda a cor do ícone SVG para azul (bootstrap primary ou custom) quando ativo */
.search-box.active .search-icon-path {
    fill: #0071ad !important;
    transition: 0.4s;
}

.titulo-divisoria {
    display: flex;
    align-items: center;
    width: 100%;
    color: #000;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 20px;

}

.titulo-divisoria::before {
    content: '';
    display: block;
    width: 40px;
    height: 7px;
    background-color: #004F77;
    margin-right: 15px;
}


.titulo-divisoria::after {
    content: '';
    display: block;
    flex-grow: 1;
    height: 7px;
    background-color: #004F77;
    margin-left: 15px;

}

.titulo-divisoria a,
.t-concursos a
{
    text-decoration: none;
    color: inherit;
}

.left-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: start;
    font-size: 15px;
}

.left-list .dot {
    width: 12px;
    height: 12px;
    background: #004F77;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    margin-top: 5px;
}

.featured-card .linha {
    width: 60px;
    height: 4px;
    background: #004F77;
    border-radius: 4px;
}

.featured-card h3 {
    line-height: 1.3;
}

.mini-post img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.mini-post p {
    font-size: 14px;
    line-height: 1.3;
}

.featured-info {
    background: #fafafa;
}

hr {
    margin: 0;
}

.card-img-top {
    object-fit: cover;
}

.mini img {
    width: 110px;
    height: 80px;
    object-fit: cover;
}

.mini a {
    text-decoration: none;
    color: inherit;
}

.mini p {
    margin: 0;
    font-size: 14px;
    color: #0071AD;
    font-weight: 500;
}


/* CSS STICKER HEADER */
/* Essa classe será adicionada pelo Javascript quando rolar a página */
.header-fixo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* Garante que fique acima de tudo no Bootstrap */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* Uma sombra suave para destacar */

    /* A Animação */
    animation: slideDown 0.5s ease forwards;
}

/* Cria o efeito de "descer" suavemente */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.breadcrumb {
    display: ruby !important;
    font-size: .875em !important;
}

.breadcrumb a {
    color: #004F77;
    text-decoration: none;
}

.single-post .titulo-divisoria {
    font-size: 1.5rem
}


/* === PAGINAÇÃO CATEGORY === */
.pagination {
    margin: 40px 0;
}

/* remove bolinhas */
.pagination ul,
.pagination li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* centraliza corretamente */
.pagination .page-numbers {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

/* links e números */
.pagination .page-numbers a,
.pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    color: #212529;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* hover */
.pagination .page-numbers a:hover {
    background-color: #0071AD;
    color: #fff;
    border-color: #0071AD;
}

/* página atual */
.pagination .page-numbers .current {
    background-color: #0071AD;
    color: #fff;
    border-color: #0071AD;
    cursor: default;
}

/* anterior / próximo */
.pagination .page-numbers .prev,
.pagination .page-numbers .next {
    font-weight: 600;
    padding: 0 18px;
}

/* desabilitado */
.pagination .page-numbers .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* MOBILE */
@media (max-width: 576px) {

    .pagination .page-numbers a,
    .pagination .page-numbers span {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .pagination .page-numbers .prev,
    .pagination .page-numbers .next {
        padding: 0 12px;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    /* Azul padrão, mude o hex se quiser outro tom */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    /* Começa escondido */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s, background-color 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #0056b3;
    /* Azul mais escuro no hover */
}

.back-to-top.show {
    display: flex;
}

.post-content, .post-content2 {
    font-family: 'Noto Serif' !important;
    font-size: 1.04rem !important;

    a {
        color: #1a73e8 !important;
        text-decoration: none;
        transition: color .2s ease;
    }
}

.tags-single {
    a {
        color: #1a73e8 !important;
        font-style: italic;
        text-decoration: none;
    }
}

.single-post .wp-caption {
    max-width: 100% !important;
    width: 100% !important;
}

.single-post .wp-caption img {
    max-width: 100%;
    height: auto;
}

.single-post .wp-caption {
    font-size: 12px !important;
}


.ams-skeleton .ams-skeleton-img {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    background: #2a2a2a;
    position: relative;
    overflow: hidden;
}

.ams-skeleton .ams-skeleton-title {
    margin-top: 12px;
    height: 18px;
    width: 90%;
    border-radius: 6px;
    background: #2a2a2a;
    position: relative;
    overflow: hidden;
}


.ams-skeleton .ams-skeleton-img::after,
.ams-skeleton .ams-skeleton-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: amsShimmer 1.1s infinite;
}

@keyframes amsShimmer {
    0% {
        left: -60%;
    }

    100% {
        left: 120%;
    }
}

@media (min-width: 768px) {
    #ams-destaque-pms .col-md-6 .ams-skeleton-img {
        height: 320px;
    }
}

@media (min-width: 576px) {

    footer {
        padding: 30px 0;
    }
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    /* distância do topo ao "grudar" */
}

@media (max-width: 991px) {
    .sidebar-sticky {
        position: static;
        /* no mobile a sidebar volta ao normal */
    }
}

.autor-box {
    padding: 10px 0;
}

.autor-foto img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .autor-card img {
        width: 80px;
        height: 80px;

    }

    /* barra-topo mobile font menor */
    .barra-topo {
        font-size: 12px;
    }

    /* home mobile - imagens menores */
    .card-post .img-padrao {
        height: 220px !important;
    }

}


/* SINGLE - LEIA MAIS */



/** Card **/
/* .card2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 300px;
    padding: 25px;
    text-align: justify;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.389);
    position: relative;
} */


/** Content **/
.content2 {
    height: 425px;
    overflow: hidden;
    position: relative;
}

.content2::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #ffffff);
}

/* .content2 p {
    color: #b7b7b7;
} */

/** Read More/Less Button **/
#read_button {
    border: none;
    padding: 10px;
    border-radius: 2px;
    margin-top: 15px;
    background-color: #0071AD !important;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

#read_button:hover {
    background-color: #027dc0 !important;
    /* color: #06d62e;*/
    transition: all 0.2s ease-in-out;
}

/** Active **/
.card2.active .content2 {
    height: auto;
}

.card2.active .content2::before {
    visibility: hidden;
}


/* ====== CONTROLE LEIA MAIS SOMENTE NO MOBILE ====== */

/* Desktop: conteúdo sempre aberto e botão escondido */
@media (min-width: 992px) {
    .content2 {
        height: auto !important;
        overflow: visible !important;
    }

    .content2::before {
        display: none !important;
    }

    #read_button {
        display: none !important;
    }
}


/* desktop - single - tamanho da fonte */
@media (min-width: 991px) {
    .content2 {
        font-size: 1.1rem;
    }
}

/* Mobile: mantém comportamento atual */
@media (max-width: 991px) {
    .content2 {
        height: 425px;
        overflow: hidden;
        position: relative;
    }

    .content2::before {
        content: '';
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(transparent, #ffffff);
    }

    .card2.active .content2 {
        height: auto;
    }

    .card2.active .content2::before {
        visibility: hidden;
    }
}


/* MOBILE - HOME - desconde 2, 3 destaque topo*/


/* Mobile: esconder imagens do 2º e 3º filho */

/* ajustes espacamento v mobile */
@media (max-width: 767px) {
    .esconde23>div:nth-child(2) img,
    .esconde23>div:nth-child(3) img {
        display: none;
    }

    .esconde23 .py-3{
        padding-top: 10px!important;
        padding-bottom: 10px!important;
    }

    .esconde23 p {margin-bottom: 0!important;}
    .esconde23  .linha {
        margin-bottom: 5px;
    }
    .esconde23 .col {
        margin: 0!important;
    }

}