﻿.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: .25rem !important;
}

.mt-2 {
    margin-top: .5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: .25rem !important;
}

.mb-2 {
    margin-bottom: .5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.ms-0 {
    margin-left: 0 !important;
}

.ms-1 {
    margin-left: .25rem !important;
}

.ms-2 {
    margin-left: .5rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.ms-5 {
    margin-left: 3rem !important;
}

.me-0 {
    margin-right: 0 !important;
}

.me-1 {
    margin-right: .25rem !important;
}

.me-2 {
    margin-right: .5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.me-5 {
    margin-right: 3rem !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: .25rem !important;
}

.pt-2 {
    padding-top: .5rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: .25rem !important;
}

.pb-2 {
    padding-bottom: .5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.ps-0 {
    padding-left: 0 !important;
}

.ps-1 {
    padding-left: .25rem !important;
}

.ps-2 {
    padding-left: .5rem !important;
}

.ps-3 {
    padding-left: 1rem !important;
}

.ps-4 {
    padding-left: 1.5rem !important;
}

.ps-5 {
    padding-left: 3rem !important;
}

.pe-0 {
    padding-right: 0 !important;
}

.pe-1 {
    padding-right: .25rem !important;
}

.pe-2 {
    padding-right: .5rem !important;
}

.pe-3 {
    padding-right: 1rem !important;
}

.pe-4 {
    padding-right: 1.5rem !important;
}

.pe-5 {
    padding-right: 3rem !important;
}


.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.float-none {
    float: none !important;
}

.float-start {
    float: left !important;
}

.float-end {
    float: right !important;
}

/* Título da página do curso: h1 (SEO/acessibilidade) com o visual do antigo h3 do tema */
.product-title h1.curso-titulo {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* Contraste mínimo WCAG AA (4.5:1) para textos secundários do tema */
.product .product-category,
.product .product-reviews,
.product .product-reviews a {
    color: #5f6b73;
    opacity: 1;
}

/* ---------------------------------------------------------------
   Contraste (WCAG AA 4.5:1) - textos do tema
   --------------------------------------------------------------- */

/* Parágrafos: o tema usa #7b7b7b (4.2:1 no branco) */
p {
    color: #6b6b6b;
}

/* Rodapé claro (#f7f7f7): parágrafos e textos auxiliares (#898989 = 3.3:1) */
#footer.footer-light p {
    color: #595959;
}

#footer.footer-light span {
    color: #616161 !important;
}

/* Data/categoria nas listas de posts e cursos (#aaa = 2.3:1) */
.post-thumbnail-entry .post-thumbnail-content .post-date,
.post-thumbnail-entry .post-thumbnail-content .post-category {
    color: #616161;
}

.single-post .post-item .post-item-description .post-meta-date,
.single-post .post-item .post-item-description .post-meta-comments,
.single-post .post-item .post-item-description .post-meta-category,
.single-post .post-item .post-item-description .post-meta-date a,
.single-post .post-item .post-item-description .post-meta-comments a,
.single-post .post-item .post-item-description .post-meta-category a,
.comments .comment .comment_date,
.tags a {
    color: #616161;
}

/* Verde-água #1abc9c usado como texto/fundo com texto branco (2.5:1) -> #0e7c66 (5.4:1) */
body .curso-link,
body .curso-limpar-filtros,
body .curso-titulo a:hover,
body .blog-cursos-topo a,
body .blog-cursos .curso-link,
body .blog-cursos .curso-titulo a:hover {
    color: #0e7c66;
}

body .curso-badge {
    background: #0e7c66;
}

/* ---------------------------------------------------------------
   Tamanho mínimo de leitura (12px) para rótulos do tema
   --------------------------------------------------------------- */
.post-thumbnail-entry .post-thumbnail-content .post-date,
.post-thumbnail-entry .post-thumbnail-content .post-category,
.sidebar .widget .post-thumbnail-entry .post-thumbnail-content .post-date,
.post-navigation .post-next span,
.post-navigation .post-prev span,
.sidebar .widget .tabs li > a,
.tags a {
    font-size: 12px;
}

/* ---------------------------------------------------------------
   Foco visível pelo teclado (não aparece no clique do mouse)
   --------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Fundo escuro (aviso de cookies): contorno claro */
.aviso-cookies a:focus-visible,
.aviso-cookies button:focus-visible {
    outline-color: #93c5fd;
}

/* Botão "voltar ao topo" invisível (opacity 0) não pode receber foco escondido */
#goToTop:focus-visible {
    opacity: 1 !important;
    bottom: 26px;
}

/* Menu do usuário logado: abre também com o foco do teclado */
.usuario-logado:focus-within .usuario-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------------------------------------------------------------
   Áreas de toque (mín. 24px) no celular
   --------------------------------------------------------------- */
@media (max-width: 991px) {
    #header .header-extras .busca-topo-btn,
    #header .header-extras #shopping-cart > a,
    #header .header-extras .login-topbar,
    #header .header-extras .usuario-perfil {
        min-width: 36px;
        min-height: 36px;
    }

    #footer .list-icon li > a,
    #footer .rodape-legal a {
        display: inline-block;
        min-height: 24px;
        padding: 4px 0;
    }

    #footer .post-thumbnail-entry .post-thumbnail-content > a {
        padding: 4px 0;
    }
}

/* Faixa de título das páginas (substitui a imagem de parallax que não existia): gradiente na cor do tema */
#page-title.page-title-tema {
    background: #253993;
    background: linear-gradient(135deg, #1b2a6b 0%, #253993 100%);
}