@charset "utf-8";

/*
BASE DO TEMA
o visual de cada parte fica nos outros arquivos:
  header.css  → header, menu lateral, faixa de aviso
  layout.css  → cards, capa, listagens, sidebar, paginação
  post.css    → página do post e páginas
  footer.css  → rodapé, voltar ao topo, aviso LGPD
*/


/* ---------------------------- base ---------------------------- */

body {
    color: #1a1a1a;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--dp-accent-texto, #7a4f19);
}

a:hover {
    color: #1a1a1a;
}

/* sem sublinhado nos links do site (o Bootstrap sublinha no hover) */
a,
a:hover,
a:focus {
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

ins {
    margin-top: 10px;
    margin-bottom: 10px;
}

code {
    color: #871448;
}

.interno {
    background-color: #fff;
}

@media (min-width: 1430px) {
    .container-largo {
        max-width: 1400px;
    }
}


/* ---------------------------- classes do WordPress ---------------------------- */

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    clear: both;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}

.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0;
}

.wp-caption-text,
.gallery-caption {
    margin: 0.4em 0 0;
    color: #5c5c5c;
    font-size: 13px;
    line-height: 1.5;
}

.wp-smiley {
    max-height: 1em;
    margin: 0 !important;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    word-wrap: normal !important;
}

/* navegação entre páginas de comentários (the_comments_navigation) */
.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0;
    font-weight: 700;
}


/* ----------------------------------------------------------------------------------
   LEGADO
   classes do tema antigo que o tema não usa mais, mas que podem estar dentro
   do texto de posts, de códigos de anúncio ou de widgets. Antes de apagar,
   procure a classe no banco (wp_posts.post_content e wp_options).
---------------------------------------------------------------------------------- */

.img-center {
    display: block;
    margin: 0 auto;
}

.pointer {
    cursor: pointer;
}

.completo {
    background-color: #f4f4f4;
}

.degrade {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 2%, rgba(255, 255, 255, 0.78) 46%, rgba(205, 205, 205, 0.51) 99%, rgba(204, 204, 204, 0.51) 100%);
}

.box-transparente-preto {
    background-color: rgba(0, 0, 0, 0.45);
}

.bg-amarelo {
    background-color: #ff9900;
}

.box-curso {
    min-height: 210px;
}

.container-curto {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1430px) {
    .container-curto {
        padding-left: 70px;
        padding-right: 70px;
    }
}

blockquote.left {
    float: left;
    width: 33%;
    margin-left: 0;
    margin-right: 20px;
    text-align: right;
}

blockquote.right {
    float: right;
    width: 33%;
    margin-left: 20px;
    margin-right: 0;
    text-align: left;
}

/* lista numerada com círculo (fora do texto do post; dentro dele o estilo vem de post.css) */
ol.numberCircle {
    padding: 0;
    list-style: none;
    counter-reset: item;
}

ol.numberCircle>li {
    margin-bottom: 15px;
    counter-increment: item;
}

ol.numberCircle>li::before {
    content: counter(item);
    display: inline-block;
    width: 1.5em;
    margin-right: 10px;
    border-radius: 100%;
    background: var(--dp-accent, #656616);
    color: var(--dp-accent-fg, #fff);
    font-weight: 800;
    text-align: center;
}

.menu-opcoes {
    width: 100%;
    height: 45px;
}

.buscador .search-form {
    position: relative;
}

.buscador .search-form input {
    width: 100%;
    padding: 0 55px 0 0;
    border: 1px solid #9d9d9d;
    border-radius: 5px;
    font-size: 14px;
}

.buscador .search-form button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    border: none;
    background-color: transparent;
    color: #b7b7b7;
    cursor: pointer;
}

@media (max-width: 990px) {
    .buscador {
        padding-top: 30px;
    }

    .buscador .search-form input {
        padding: 5px;
    }
}

.dolares-custom {
    margin-left: 60px;
}

/* espaço reservado para banner fixo (evita o conteúdo "pular" quando o anúncio carrega) */
.anuncio-ads-fixo {
    width: 320px;
    height: 90px;
}

@media (min-width: 500px) {
    .anuncio-ads-fixo {
        width: 728px;
    }
}

@media (min-width: 800px) {
    .anuncio-ads-fixo {
        width: 970px;
    }
}
