/* ECATÓLICO — GLOBAL / WORDPRESS / ELEMENTOR / WOOCOMMERCE / FLUID CHECKOUT
   Módulo independente. Alterações gerais e de comércio, sem regras do Tutor LMS.
*/

/* ============================================================================
01. REGRAS GERAIS DO SITE, ELEMENTOR E WORDPRESS
============================================================================ */

/* Impede rolagem horizontal sem criar uma nova área de rolagem vertical. */
html,
body {
    max-width: 100% !important;
    overflow-x: clip !important;
}

/* Oculta os avisos de checkout que já foram tratados por outro componente. */
.woocommerce-notices-wrapper,
.woocommerce-form-coupon-toggle {
    display: none !important;
}

/* Mantém a cor atual do botão principal do WooCommerce. */
:where(body:not(.woocommerce-block-theme-has-button-styles))
.woocommerce button.button.alt {
    background-color: #bdcf00;
}

/* Aparência das mensagens de informação do WooCommerce. */
.woocommerce .woocommerce-info,
.woocommerce-page .woocommerce-info {
    border-radius: 1px;
    background: #f4f5f700;
    border: 0;
    color: #140e0e;
}

/* Oculta o anúncio âncora do Google Ads acima da página. */
.adsbygoogle[data-anchor-status="above"] {
    display: none !important;
}

/* Padroniza o box model dentro do Elementor. */
.elementor *,
.elementor :after,
.elementor :before {
    box-sizing: border-box;
}

/* Regra do cabeçalho/tema existente: oculta parágrafos desse componente. */
.builder-item .item--inner .component-wrap div p {
    display: none;
}

/* Oculta avisos administrativos do WordPress conforme configuração original. */
.notice,
div.error,
div.updated {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    margin: 5px 15px 2px;
    padding: 1px 12px;
    display: none;
}

/* Oculta avisos do ambiente WordPress.com/Jetpack. */
.wpcomsh-notice {
    border: none;
    background: #2d3337;
    box-sizing: border-box;
    color: #fff;
    display: none;
    line-height: 1.5;
    position: relative;
    width: 100%;
    padding: 0;
}


/* ============================================================================
02. WOOCOMMERCE — CARRINHO E MINIATURAS
============================================================================ */

/* Mantém as miniaturas dos produtos visíveis e responsivas no carrinho. */
.elementor-widget-woocommerce-cart
.woocommerce table.cart td.product-thumbnail img {
    display: block !important;
    width: clamp(60px, 12vw, 150px) !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Tablet. */
@media (max-width: 1024px) and (min-width: 769px) {
    .elementor-widget-woocommerce-cart
    .woocommerce table.cart td.product-thumbnail img {
        width: clamp(50px, 15vw, 120px) !important;
    }
}

/* Celular intermediário. */
@media (max-width: 768px) and (min-width: 481px) {
    .elementor-widget-woocommerce-cart
    .woocommerce table.cart td.product-thumbnail img {
        width: clamp(45px, 20vw, 100px) !important;
    }
}

/* Celular pequeno. */
@media (max-width: 480px) {
    .elementor-widget-woocommerce-cart
    .woocommerce table.cart td.product-thumbnail img {
        width: clamp(40px, 25vw, 80px) !important;
    }
}


/* ============================================================================
03. FLUID CHECKOUT — BOTÃO DE AVANÇAR ETAPA
============================================================================ */

.fc-step__actions .fc-step__next-step.button {
    background-color: #d8f2d8 !important;
    color: #000 !important;
    border: 1px solid #c1dcc1 !important;
    border-radius: 5px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    letter-spacing: .5px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1) !important;
    transition: all .3s ease !important;
    cursor: pointer !important;
}

.fc-step__actions .fc-step__next-step.button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 8px rgba(0, 0, 0, .12) !important;
}









/* ECATÓLICO — TUTOR LMS GERAL
   E-mails, Zoom, botões gerais, painel e alertas.
*/

/* ============================================================================
04. TUTOR LMS — RECURSOS GERAIS QUE NÃO FORAM SUBSTITUÍDOS PELO TEMA
============================================================================ */

/* Regra do cabeçalho dos e-mails Tutor.
   O texto do inspetor do navegador havia sido colado dentro da declaração;
   a propriedade foi reconstruída a partir do valor original visível. */
.tutor-email-header {
    background-color: #790f0f00;
    border-bottom: 1px solid #a80e17;
    padding: 10px 0;
}

/* Oculta a identificação/linha do instrutor em listas onde era exibida. */
span.tutor-icon-mortarboard.tutor-color-black.tutor-mt-4.tutor-mr-12,
span.tutor-icon-mortarboard.tutor-color-black.tutor-mt-4.tutor-mr-12
+ span.tutor-fs-6.tutor-color-secondary {
    display: none;
}

/* Ajustes específicos dos detalhes de reuniões Zoom do Tutor LMS. */
.tutor-zoom-meeting-content .meeting-details div:nth-child(5) p,
.tutor-zoom-meeting-content .meeting-details div:nth-child(5) span {
    display: none;
}

tutor-course-lessons.tutor-zoom-meeting-session .session-link p {
    margin: 0;
    display: none;
}

/* Mantém a ocultação do primeiro parágrafo apenas nos links das sessões. */
.tutor-zoom-meeting-session .session-link p:first-of-type {
    display: none;
}

/* Alinhamento da miniatura de tópicos do Tutor, quando esse elemento existir. */
.tutor-course-topic-thumbnail {
    display: inline-block;
    vertical-align: middle;
}

/* Botões gerais do Tutor LMS: identidade eCatólico.
   As páginas de curso e a área Legacy têm regras mais específicas abaixo. */
.tutor-btn.tutor-btn-primary {
    background: linear-gradient(105deg, #780912, #a80e17 55%, #780912) !important;
    border: 1px solid #c22a34 !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 16px rgba(168, 14, 23, .22) !important;
}

.tutor-btn.tutor-btn-primary:hover {
    background: #bd1823 !important;
    border-color: #e14a53 !important;
    color: #fff !important;
}

/* Botões de contorno do Tutor, sem forçar largura total globalmente. */
.tutor-btn-outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a80e17 !important;
    border-radius: 0 !important;
    color: #f1dadd !important;
    background: transparent !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.tutor-btn-outline-primary:hover {
    background: rgba(168, 14, 23, .18) !important;
    border-color: #c22a34 !important;
    color: #fff !important;
}

/* Menu lateral do painel do Tutor: ativo em vermelho e azul profundo. */
.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li.active a {
    background: linear-gradient(135deg, #00003c 0%, #000018 55%, #000008 100%) !important;
    color: #fff !important;
    border-left: 3px solid #a80e17 !important;
    box-shadow: inset 0 0 20px rgba(168, 14, 23, .08) !important;
    transition: all .3s ease !important;
}

.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li.active a .tutor-dashboard-menu-item-icon,
.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li.active a i,
.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li.active a [class*="tutor-icon-"] {
    color: #d34b54 !important;
}

.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li.active a .tutor-dashboard-menu-item-text {
    color: #fff !important;
    font-weight: 700 !important;
}

.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li a:hover {
    background: rgba(168, 14, 23, .14) !important;
    color: #fff !important;
    transition: all .3s ease !important;
}

.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li a:hover .tutor-dashboard-menu-item-icon,
.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li a:hover i,
.tutor-dashboard .tutor-dashboard-left-menu
.tutor-dashboard-permalinks li a:hover [class*="tutor-icon-"] {
    color: #d34b54 !important;
}

.tutor-dashboard .tutor-dashboard-menu-item-icon {
    color: #d34b54 !important;
}

/* Alertas do Tutor: mantém o amarelo sem misturar com as cores de navegação. */
.tutor-alert {
    background-color: #fff3cd !important;
    border-left: 6px solid #ffc107 !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    margin: 20px 0 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15) !important;
    font-size: 1.2rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.tutor-alert .tutor-alert-text {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #856404 !important;
    line-height: 1.6 !important;
}

.tutor-alert .tutor-icon {
    font-size: 2rem !important;
    margin-right: 12px !important;
}

/* Rodapé dos e-mails do Tutor LMS. */
.tutor-email-footer-content {
    background-color: #000018 !important;
    color: #aeb9c8 !important;
    padding: 30px 24px !important;
    text-align: center !important;
    border-top: 2px solid #a80e17 !important;
}

.tutor-email-footer-content * {
    margin-top: 0 !important;
}

.tutor-email-footer-content p {
    color: #aeb9c8 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 0 8px !important;
}

.tutor-email-footer-content strong {
    color: #fff !important;
}

.tutor-email-footer-content a {
    color: #e18b90 !important;
    text-decoration: none !important;
}

.tutor-email-footer-content a:hover {
    color: #ffb3b8 !important;
}

.tutor-email-footer-content table,
.tutor-email-footer-content tbody,
.tutor-email-footer-content tr,
.tutor-email-footer-content td {
    background-color: transparent !important;
    border: none !important;
}

.tutor-email-footer-content .tutor-btn,
.tutor-email-footer-content .button {
    background-color: #a80e17 !important;
    border: 1px solid #a80e17 !important;
    color: #fff !important;
}

@media only screen and (max-width: 600px) {
    .tutor-email-footer-content {
        padding: 24px 16px !important;
    }

    .tutor-email-footer-content p {
        font-size: 12px !important;
    }
}
















/* ECATÓLICO — PLAYER PLYR / CONTROLES / VELOCIDADE
   Personalização visual do player; não altera a lógica de reprodução.
*/

/* ============================================================================
05. PLYR — CONTROLES DO PLAYER E MENU DE VELOCIDADE
============================================================================ */

/* Mantidas as personalizações existentes dos controles e do menu do Plyr.
   Esta seção não altera o mecanismo de reprodução nem os shortcodes. */

/* ==========================================================
   PLAYER PLYR - CONTROLES PRINCIPAIS
   ========================================================== */

.plyr__control {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,.45) !important;
    backdrop-filter: blur(4px);
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background .25s ease !important;
}

.plyr__control svg {
    width: 20px !important;
    height: 20px !important;
    fill: #fff !important;
}

.plyr__control:hover {
    background: rgba(255,255,255,.25) !important;
}

.plyr__control:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,.35) !important;
}

/* Botao central de reproducao */
.plyr__control--overlaid {
    width: 95px !important;
    height: 95px !important;
    border-radius: 999px !important;
    background: rgba(0,0,0,.50) !important;
    backdrop-filter: blur(6px);
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%,-50%) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.35) !important;
}

.plyr__control--overlaid svg {
    width: 40px !important;
    height: 40px !important;
}

.plyr__control--overlaid::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255,255,255,.22);
    animation: pulsePlay 2.8s infinite ease-out;
}

@keyframes pulsePlay {
    0% {
        transform: scale(1);
        opacity: .45;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}


/* ==========================================================
   MENU DE CONFIGURACOES / VELOCIDADE
   ========================================================== */

.plyr__menu__container {
    background: rgba(0,0,0,.82) !important;
    border-radius: 12px !important;
    padding: 6px !important;
    min-width: 190px !important;
    backdrop-filter: blur(10px) !important;
    box-sizing: border-box !important;
    z-index: 100000 !important;
}

.plyr__menu__list {
    margin: 0 !important;
    padding: 0 !important;
}

.plyr__menu__item {
    padding: 12px 14px !important;
    font-size: 15px !important;
    color: #fff !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 8px !important;
    transition: background .2s ease !important;
    margin: 0 !important;
}

.plyr__menu__item:hover {
    background: rgba(255,255,255,.12) !important;
}

/*
   Correcao principal:
   os botoes dentro do menu nao devem herdar o formato circular
   dos botoes da barra de controles.
*/
.plyr__menu__container .plyr__control,
.plyr__menu__container [role="menu"] .plyr__control {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 40px !important;
    border-radius: 7px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 12px !important;
    margin: 2px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    color: rgba(255,255,255,.9) !important;
    box-sizing: border-box !important;
}

.plyr__menu__container .plyr__control:hover,
.plyr__menu__container [role="menu"] .plyr__control:hover {
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    border-radius: 7px !important;
}

.plyr__menu__container .plyr__control:focus,
.plyr__menu__container [role="menu"] .plyr__control:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Os icones internos do menu nao devem ficar enormes */
.plyr__menu__container .plyr__control svg,
.plyr__menu__container [role="menu"] .plyr__control svg {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 auto !important;
}

.plyr__menu__value {
    font-weight: 600 !important;
    color: #fff !important;
}

/* Animacao discreta do menu */
.plyr__menu__container[role="menu"],
.plyr__menu__container {
    transform-origin: top center !important;
}


/* ==========================================================
   MENU NO CELULAR
   Mantem o menu preso ao controle do Plyr, sem position:fixed.
   O player sobe na camada visual para nao ficar atras das abas.
   ========================================================== */

@media (max-width: 600px) {

    /* Eleva a area do player quando o menu estiver aberto */
    .tutor-video-player:has(.plyr--menu-open),
    .tutor-video-player:has(.plyr__menu__container:not([hidden])) {
        position: relative !important;
        z-index: 99999 !important;
        overflow: visible !important;
    }

    .tutor-video-player:has(.plyr--menu-open) .tutor-ratio,
    .tutor-video-player:has(.plyr--menu-open) .video-player,
    .tutor-video-player:has(.plyr--menu-open) .plyr,
    .tutor-video-player:has(.plyr__menu__container:not([hidden])) .tutor-ratio,
    .tutor-video-player:has(.plyr__menu__container:not([hidden])) .video-player,
    .tutor-video-player:has(.plyr__menu__container:not([hidden])) .plyr {
        position: relative !important;
        z-index: 99999 !important;
        overflow: visible !important;
    }

    .plyr--menu-open {
        position: relative !important;
        z-index: 99999 !important;
    }

    /* Abre o menu acima da barra de controles */
    .plyr--menu-open .plyr__menu__container,
    .plyr__menu__container:not([hidden]) {
        position: absolute !important;
        top: auto !important;
        bottom: calc(100% + 8px) !important;
        left: auto !important;
        right: 0 !important;
        transform: none !important;

        width: 210px !important;
        min-width: 0 !important;
        max-width: calc(100vw - 28px) !important;

        max-height: 58vh !important;
        max-height: 58dvh !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;

        margin: 0 !important;
        box-sizing: border-box !important;
        z-index: 100000 !important;
    }

    .plyr__menu__container > div,
    .plyr__menu__container [role="menu"] {
        max-height: 56vh !important;
        max-height: 56dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .plyr__menu__container .plyr__control,
    .plyr__menu__container [role="menu"] .plyr__control {
        width: 100% !important;
        min-height: 40px !important;
        height: auto !important;
        border-radius: 7px !important;
        padding: 10px 12px !important;
        margin: 2px 0 !important;
        box-sizing: border-box !important;
    }
}


/* Ajustes de botoes em telas menores */
@media (max-width: 480px) {
    .plyr__control {
        width: 42px !important;
        height: 42px !important;
    }

    .plyr__control svg {
        width: 18px !important;
        height: 18px !important;
    }

    .plyr__control--overlaid {
        width: 75px !important;
        height: 75px !important;
    }

    .plyr__control--overlaid svg {
        width: 32px !important;
        height: 32px !important;
    }

    .plyr__menu__container {
        min-width: 0 !important;
    }
}

/* Cor da barra de progresso */
.plyr--full-ui input[type=range] {
    color: #f00 !important;
}

/* Ocultar botao de legendas na barra principal */
.plyr__controls button[data-plyr="captions"] {
    display: none !important;
}














/* ECATÓLICO — WPCHORDS
   Cores de cifras, impressão e botões do escopo isolado do plugin.
*/

/* ============================================================================
06. WPCHORDS — CORES DAS CIFRAS E IMPRESSÃO
============================================================================ */

.chordBlock {
    color: #cc0000 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media print {
    .chordBlock {
        color: #cc0000 !important;
        background: transparent !important;
        background-color: transparent !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* Botões Bootstrap dentro do escopo isolado usado pelo WPChords. */
body .bs-iso .btn.btn-primary {
    color: #0e14e3;
    background-color: transparent;
    border: 1px solid #0e14e3;
}

body .bs-iso .btn.btn-primary:hover {
    background-color: #0e14e3;
    color: #fff;
    border-color: #0e14e3;
}

body .bs-iso .btn-check:focus + .btn.btn-primary,
body .bs-iso .btn.btn-primary:focus {
    background-color: #0e14e3;
    color: #fff;
    border-color: #0e14e3;
    box-shadow: 0 0 0 .2rem rgba(14, 20, 227, .25);
}
















/* ECATÓLICO — TUTOR LMS LEGACY / LEARNING AREA
   Layout, vídeo, sidebar, miniaturas, abas, comentários e responsividade.
   Paleta: quase preto com leve subtom marinho; vermelho #a80e17.
*/

/* ============================================================================
07. TUTOR LMS — LEARNING AREA LEGACY MODERNIZADA
============================================================================ */

/* Esta é a versão consolidada 1.4.
   Contém o tema escuro, player dimensionado, sidebar, progresso,
   contadores dos módulos, miniaturas, conclusão, anexos e comentários. */

/* ======================================================================
   eCATÓLICO — TUTOR LMS LEGACY COM VISUAL MODERNO
   Versão 1.4 — CSS complementar, baseado no HTML Legacy enviado.

   Paleta oficial: vermelho #a80e17 | azul-marinho #02183f.

   Objetivo:
   - Preservar o modo Legacy e seu funcionamento com VideoPress/shortcodes.
   - Aplicar tema escuro premium.
   - Organizar a barra lateral de conteúdo do curso.
   - Ajustar o tamanho do vídeo no desktop.
   - Modernizar abas, textos, anexos, observações e navegação.

   Instalação: acrescentar ao FINAL do CSS personalizado existente.
   Não substitui o CSS do player Plyr/VideoPress e não altera JavaScript.
   ====================================================================== */

/* 1. PALETA E FUNDO GERAL */
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend {
    --ec-bg: #02183f;
    --ec-panel: #071d43;
    --ec-panel-2: #0b234b;
    --ec-panel-3: #12305a;
    --ec-line: rgba(158, 177, 205, .14);
    --ec-text: #e8edf6;
    --ec-muted: #9aa8bd;
    --ec-blue: #a80e17;
    --ec-blue-light: #d34b54;
    background: var(--ec-bg) !important;
    color: var(--ec-text) !important;
}

html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend #page,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend .site,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend .site-main {
    background: var(--ec-bg) !important;
}

/* Evita que o tema do site introduza margens no modo de aprendizagem. */
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper {
    background: var(--ec-bg) !important;
    color: var(--ec-text) !important;
}

/* 2. ESTRUTURA PRINCIPAL — LEGACY */
@media (min-width: 1200px) {
    body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper {
        display: flex !important;
        align-items: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar {
        flex: 0 0 350px !important;
        width: 350px !important;
        max-width: 350px !important;
        min-width: 300px !important;
        background: #071d43 !important;
        color: var(--ec-text) !important;
        border-right: 1px solid var(--ec-line) !important;
        box-shadow: 8px 0 28px rgba(0, 0, 0, .12) !important;
    }

    body.single-lesson.tutor-frontend #tutor-single-entry-content.tutor-quiz-single-entry-wrap {
        flex: 1 1 auto !important;
        width: calc(100% - 350px) !important;
        max-width: none !important;
        min-width: 0 !important;
        background: var(--ec-bg) !important;
        color: var(--ec-text) !important;
    }
}

/* 3. CABEÇALHO DA LISTA DE AULAS */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-title {
    min-height: 62px !important;
    padding: 18px 20px !important;
    display: flex !important;
    align-items: center !important;
    background: #061a3b !important;
    border-bottom: 1px solid var(--ec-line) !important;
    color: var(--ec-text) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-title span,
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-title .tutor-color-secondary {
    color: #f0f4fb !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
}

/* 4. MÓDULOS/TÓPICOS DA SIDEBAR */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic {
    margin: 0 !important;
    background: #071d43 !important;
    border-bottom: 1px solid var(--ec-line) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
    min-height: 54px !important;
    padding: 14px 18px !important;
    background: #0b234b !important;
    border-bottom: 1px solid rgba(158, 177, 205, .09) !important;
    color: var(--ec-text) !important;
    transition: background .2s ease, border-color .2s ease !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header:hover,
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header.is-active {
    background: #12305a !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-title {
    color: #edf2fa !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-summary,
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-summary * {
    color: var(--ec-muted) !important;
    font-size: 12px !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-body {
    background: #061a3b !important;
}

/* 5. ITENS/AULAS DA SIDEBAR */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item {
    margin: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(158, 177, 205, .07) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item > a {
    min-height: 66px !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #dce5f2 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: background .2s ease, color .2s ease !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item > a:hover {
    background: rgba(168, 14, 23, .14) !important;
    color: #fff !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item.is-active,
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item.is-active > a {
    background: rgba(168, 14, 23, .18) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item.is-active {
    border-left: 3px solid var(--ec-blue-light) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item-title {
    color: #e7edf7 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item-duration {
    color: #94a3b8 !important;
    font-size: 11px !important;
    white-space: nowrap !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper img.cf-tutor-videopress-thumbnail {
    display: block !important;
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 42px !important;
    max-width: 72px !important;
    object-fit: cover !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transform: none !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item input[type="checkbox"] {
    accent-color: var(--ec-blue) !important;
}

/* 6. CABEÇALHO SUPERIOR DA AULA */
body.single-lesson.tutor-frontend .tutor-course-topic-single-header {
    min-height: 62px !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    background: #061a3b !important;
    color: #f1f5fb !important;
    border-bottom: 1px solid var(--ec-line) !important;
    box-shadow: 0 3px 16px rgba(0, 0, 0, .12) !important;
}

body.single-lesson.tutor-frontend .tutor-course-topic-single-header,
body.single-lesson.tutor-frontend .tutor-course-topic-single-header * {
    color: #eef3fb;
}

body.single-lesson.tutor-frontend .tutor-course-topic-single-header-title {
    color: #f5f7fb !important;
    font-size: 15px !important;
    font-weight: 650 !important;
}

body.single-lesson.tutor-frontend .tutor-course-topic-single-header .tutor-iconic-btn {
    color: #dce6f5 !important;
    border-radius: 8px !important;
    transition: background .2s ease, color .2s ease !important;
}

body.single-lesson.tutor-frontend .tutor-course-topic-single-header .tutor-iconic-btn:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .09) !important;
}

/* 7. ÁREA PRINCIPAL E TAMANHO DO VÍDEO */
body.single-lesson.tutor-frontend .tutor-course-topic-single-body {
    background: #02183f !important;
    color: var(--ec-text) !important;
}

body.single-lesson.tutor-frontend .tutor-video-player-wrapper {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1216px !important;
    margin: 26px auto 22px !important;
    padding: 0 28px !important;
}

body.single-lesson.tutor-frontend .tutor-video-player {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    background: #000 !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .32) !important;
}

body.single-lesson.tutor-frontend .tutor-video-player .tutor-ratio,
body.single-lesson.tutor-frontend .tutor-video-player .video-player {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: #000 !important;
}

body.single-lesson.tutor-frontend .tutor-video-player .tutor-ratio {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    overflow: hidden !important;
}

body.single-lesson.tutor-frontend .tutor-video-player .video-player iframe,
body.single-lesson.tutor-frontend .tutor-video-player .video-player video,
body.single-lesson.tutor-frontend .tutor-video-player .jetpack-videopress-player__inline {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.single-lesson.tutor-frontend .tutor-video-player .loading-spinner {
    z-index: 3 !important;
}

/* 8. ABAS: VISÃO GERAL, OBSERVAÇÕES E COMENTÁRIOS */
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
    box-sizing: border-box !important;
    width: calc(100% - 56px) !important;
    max-width: 1160px !important;
    margin: 0 auto 26px !important;
    overflow: hidden !important;
    background: #071d43 !important;
    color: var(--ec-text) !important;
    border: 1px solid var(--ec-line) !important;
    border-radius: 11px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .16) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-nav {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    background: #0b234b !important;
    border-bottom: 1px solid var(--ec-line) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-nav > .tutor-nav-item {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-nav .tutor-nav-link {
    min-height: 40px !important;
    padding: 9px 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #b9c5d7 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all .2s ease !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-nav .tutor-nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .06) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-nav .tutor-nav-link.is-active {
    color: #d34b54 !important;
    background: rgba(168, 14, 23, .16) !important;
    border-color: rgba(168, 14, 23, .28) !important;
}

body.single-lesson.tutor-frontend #tutor-lesson-nav-take-note-btn {
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    padding: 9px 12px !important;
    min-height: 40px !important;
    color: #d34b54 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.single-lesson.tutor-frontend #tutor-lesson-nav-take-note-btn:hover {
    color: #fff !important;
    background: rgba(168, 14, 23, .14) !important;
    border-color: rgba(168, 14, 23, .30) !important;
}

/* Conteúdo interno das abas */
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-tab,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-tab-item,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-container {
    background: transparent !important;
    color: var(--ec-text) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-tab-item {
    padding: 22px 24px !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-tab-item .tutor-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-color-secondary,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-color-muted,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-color-subdued {
    color: var(--ec-muted) !important;
}

/* 9. CAMPOS DE OBSERVAÇÕES E COMENTÁRIOS */
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper textarea,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper input:not([type="checkbox"]):not([type="radio"]),
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper select {
    color: #e8edf6 !important;
    background: #061a3b !important;
    border: 1px solid rgba(158, 177, 205, .2) !important;
    border-radius: 8px !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper textarea::placeholder,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper input::placeholder {
    color: #8795aa !important;
    opacity: 1 !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-btn-secondary {
    color: #dce6f5 !important;
    background: #12305a !important;
    border: 1px solid rgba(158, 177, 205, .16) !important;
    border-radius: 7px !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-btn-primary {
    color: #fff !important;
    background: #a80e17 !important;
    border: 1px solid #c52a34 !important;
    border-radius: 7px !important;
}

/* 10. NAVEGAÇÃO ANTERIOR/PRÓXIMO */
body.single-lesson.tutor-frontend .tutor-course-topic-single-footer {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 14px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #061a3b !important;
    border-top: 1px solid var(--ec-line) !important;
}

body.single-lesson.tutor-frontend .tutor-course-topic-single-footer .tutor-btn {
    min-height: 38px !important;
    color: #dce6f5 !important;
    background: #0b234b !important;
    border: 1px solid rgba(158, 177, 205, .14) !important;
    border-radius: 7px !important;
}

body.single-lesson.tutor-frontend .tutor-course-topic-single-footer .tutor-btn:not([disabled]):hover {
    color: #fff !important;
    background: #18375f !important;
}

/* 11. ROLAGEM DAS ÁREAS */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar {
    scrollbar-width: thin !important;
    scrollbar-color: #294365 #071d43 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar::-webkit-scrollbar {
    width: 7px !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar::-webkit-scrollbar-track {
    background: #071d43 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar::-webkit-scrollbar-thumb {
    background: #294365 !important;
    border-radius: 10px !important;
}

/* 12. TABLET */
@media (min-width: 768px) and (max-width: 1199px) {
    body.single-lesson.tutor-frontend .tutor-video-player-wrapper {
        max-width: 100% !important;
        margin: 20px auto 18px !important;
        padding: 0 22px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
        width: calc(100% - 44px) !important;
    }
}

/* 13. CELULAR — mantém o comportamento off-canvas do Legacy */
@media (max-width: 767px) {
    body.single-lesson.tutor-frontend .tutor-course-topic-single-header {
        min-height: 54px !important;
        padding: 0 12px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-topic-single-header-title {
        margin-left: 8px !important;
        font-size: 14px !important;
    }

    body.single-lesson.tutor-frontend .tutor-video-player-wrapper {
        max-width: 100% !important;
        margin: 12px auto 14px !important;
        padding: 0 10px !important;
    }

    body.single-lesson.tutor-frontend .tutor-video-player {
        border-radius: 8px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
        width: calc(100% - 20px) !important;
        margin: 0 auto 14px !important;
        border-radius: 9px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-nav {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 8px !important;
        scrollbar-width: none !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-nav::-webkit-scrollbar {
        display: none !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-nav .tutor-nav-link {
        min-height: 38px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    body.single-lesson.tutor-frontend #tutor-lesson-nav-take-note-btn {
        min-height: 38px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-tab-item {
        padding: 16px 14px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-topic-single-footer {
        padding: 12px 12px !important;
    }
}

/* 14. TABLET PEQUENO / CELULAR ESTREITO */
@media (max-width: 420px) {
    body.single-lesson.tutor-frontend .tutor-course-spotlight-nav {
        gap: 3px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-nav .tutor-nav-link {
        gap: 5px !important;
        padding: 7px 8px !important;
        font-size: 11px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-topic-single-footer .tutor-btn {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

/* ======================================================================
   eCATÓLICO — AJUSTES 1.2 (paleta oficial eCatólico)
   - Corrige contraste do título dos comentários.
   - Amplia miniaturas da lista de aulas e remove arredondamento.
   - Torna o indicador de conclusão legível: círculo vazio / check verde.
   - Padroniza cantos retos nos principais componentes.
   ====================================================================== */

/* 15. CONTRASTE DO TÍTULO "PARTICIPE DA CONVERSA" */
body.single-lesson.tutor-frontend #tutor-course-spotlight-comments,
body.single-lesson.tutor-frontend #tutor-course-spotlight-comments * {
    --ec-comments-text: #e8edf6;
}

body.single-lesson.tutor-frontend #tutor-course-spotlight-comments .tutor-color-black,
body.single-lesson.tutor-frontend #tutor-course-spotlight-comments .tutor-fs-5,
body.single-lesson.tutor-frontend #tutor-course-spotlight-comments .tutor-fw-medium {
    color: #edf2fa !important;
}

/* 16. MINIATURAS MAIORES, SEM CANTOS ARREDONDADOS */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item > a {
    gap: 10px !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item > a > .tutor-d-flex:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 10px !important;
    margin-right: 8px !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper img.cf-tutor-videopress-thumbnail {
    flex: 0 0 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    height: 54px !important;
    max-width: 92px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, .13) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item-title {
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

/* 17. INDICADOR DE CONCLUSÃO — NÃO SIMULAR CONCLUSÃO
   O estado continua vindo do Tutor LMS (:checked). O CSS apenas o torna visível. */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item input.tutor-form-check-circle[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 2px 0 0 !important;
    padding: 0 !important;
    border: 1.5px solid #8795a9 !important;
    border-radius: 50% !important;
    background: transparent !important;
    opacity: 1 !important;
    cursor: default !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item input.tutor-form-check-circle[type="checkbox"]:checked {
    border-color: #16a34a !important; /* estado de conclusão */
    background-color: #16a34a !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3.1 3.1L13 4.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
}

/* 18. CANTOS RETOS — PLAYER, PAINÉIS, ABAS, CAMPOS E BOTÕES */
body.single-lesson.tutor-frontend .tutor-video-player,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper,
body.single-lesson.tutor-frontend .tutor-course-spotlight-nav .tutor-nav-link,
body.single-lesson.tutor-frontend #tutor-lesson-nav-take-note-btn,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper textarea,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper input:not([type="checkbox"]):not([type="radio"]),
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper select,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-btn,
body.single-lesson.tutor-frontend .tutor-course-topic-single-header .tutor-iconic-btn,
body.single-lesson.tutor-frontend .tutor-course-topic-single-footer .tutor-btn {
    border-radius: 0 !important;
}

/* 19. CELULAR — miniaturas proporcionais, sem comprimir o texto */
@media (max-width: 767px) {
    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper img.cf-tutor-videopress-thumbnail {
        flex-basis: 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        height: 49px !important;
        max-width: 84px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item > a {
        min-height: 68px !important;
        padding: 9px 10px !important;
    }
}
/* ======================================================================
   eCATÓLICO — AJUSTES 1.3
   Identidade inspirada no fundo escuro da logo + organização do progresso.
   Azul quase preto em gradiente: #00003c -> #000008.
   Vermelho da marca: #a80e17.
   ====================================================================== */

/* 20. PALETA PROFUNDA — GRADIENTE AZUL QUASE PRETO */
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend {
    --ec-bg: #00000b;
    --ec-panel: #000014;
    --ec-panel-2: #000020;
    --ec-panel-3: #00002c;
    --ec-line: rgba(160, 176, 208, .14);
    --ec-text: #edf1f8;
    --ec-muted: #9aa8bf;
    --ec-blue: #00003c;
    --ec-blue-light: #171744;
    --ec-red: #a80e17;
    --ec-red-light: #c12a34;
    background: linear-gradient(145deg, #00003c 0%, #000029 28%, #000018 64%, #000008 100%) fixed !important;
    color: var(--ec-text) !important;
}

html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend #page,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend .site,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend .site-main,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper,
body.single-lesson.tutor-frontend .tutor-course-topic-single-body {
    background: linear-gradient(145deg, #00003c 0%, #000025 36%, #000015 72%, #000008 100%) fixed !important;
    color: #edf1f8 !important;
}

/* Sidebar: azul profundo no topo, quase preto na parte inferior. */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar {
    background: linear-gradient(180deg, #00002c 0%, #000020 48%, #00000d 100%) !important;
    border-right-color: rgba(160, 176, 208, .16) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-title {
    background: linear-gradient(180deg, #00003a 0%, #000023 100%) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic {
    background: linear-gradient(180deg, #000020 0%, #000012 100%) !important;
    border-bottom-color: rgba(160, 176, 208, .13) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
    background: linear-gradient(100deg, #00002b 0%, #000020 52%, #000016 100%) !important;
    border-bottom-color: rgba(160, 176, 208, .11) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header:hover,
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header.is-active {
    background: linear-gradient(100deg, #00003c 0%, #000028 55%, #000019 100%) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-body {
    background: linear-gradient(180deg, #000018 0%, #00000c 100%) !important;
}

/* 21. CONTADORES DOS MÓDULOS — SEPARAÇÃO DO TÍTULO E DA SETA */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
    position: relative !important;
    box-sizing: border-box !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header > .tutor-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header > .tutor-row > .tutor-col {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header > .tutor-row > .tutor-col-auto {
    flex: 0 0 auto !important;
    min-width: 48px !important;
    width: auto !important;
    margin-left: auto !important;
    padding: 0 24px 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    box-sizing: border-box !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-summary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #aab7cb !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: .02em !important;
    white-space: nowrap !important;
    text-align: center !important;
    font-variant-numeric: tabular-nums !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-title {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* Miniaturas e aulas mantêm contraste sem criar caixas arredondadas. */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item {
    background: transparent !important;
    border-bottom-color: rgba(160, 176, 208, .08) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item > a {
    background: transparent !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item > a:hover {
    background: linear-gradient(90deg, rgba(168, 14, 23, .17), rgba(168, 14, 23, .035)) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper img.cf-tutor-videopress-thumbnail {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 22. ÁREA DO VÍDEO E PAINÉIS — MESMA PALETA DA LOGO */
body.single-lesson.tutor-frontend .tutor-video-player-wrapper {
    background: transparent !important;
}

body.single-lesson.tutor-frontend .tutor-video-player {
    background: #000 !important;
    border-color: rgba(160, 176, 208, .12) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
    background: linear-gradient(145deg, #000024 0%, #000017 58%, #00000d 100%) !important;
    border-color: rgba(160, 176, 208, .14) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-nav {
    background: linear-gradient(180deg, #000032 0%, #000020 100%) !important;
    border-bottom-color: rgba(160, 176, 208, .14) !important;
}

body.single-lesson.tutor-frontend .tutor-course-topic-single-header,
body.single-lesson.tutor-frontend .tutor-course-topic-single-footer {
    background: linear-gradient(100deg, #000029 0%, #000019 100%) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper textarea,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper input:not([type="checkbox"]):not([type="radio"]),
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper select {
    background: #00000d !important;
    border-color: rgba(160, 176, 208, .22) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-nav .tutor-nav-link.is-active,
body.single-lesson.tutor-frontend #tutor-lesson-nav-take-note-btn {
    color: #e4a1a5 !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-btn-primary {
    background: #a80e17 !important;
    border-color: #a80e17 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar {
    scrollbar-color: #252542 #000014 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar::-webkit-scrollbar-track {
    background: #000014 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar::-webkit-scrollbar-thumb {
    background: #252542 !important;
    border-radius: 0 !important;
}

/* Contadores: mantém o espaço reservado mesmo em telas estreitas. */
@media (max-width: 767px) {
    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
        padding-left: 14px !important;
        padding-right: 10px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header > .tutor-row {
        gap: 6px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header > .tutor-row > .tutor-col-auto {
        min-width: 46px !important;
        padding-right: 22px !important;
        padding-left: 5px !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-summary {
        min-width: 32px !important;
        font-size: 10px !important;
    }
}

/* ======================================================================
   eCATÓLICO — AJUSTES 1.4
   - Corrige o contraste da área de arquivos de exercícios/anexos.
   - Fixa a paleta do eCatólico sem depender do modo claro/escuro do aparelho.
   - Preserva o gradiente azul quase preto, o vermelho da marca e os estados.
   ====================================================================== */

/* 23. FIXAR O ESQUEMA ESCURO DO LEARNING MODE */
html[data-tutor-theme="dark"],
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend,
body.single-lesson.tutor-frontend {
    color-scheme: dark only !important;
}

html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend #page,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend .site,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend .site-main,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper,
body.single-lesson.tutor-frontend .tutor-course-topic-single-body {
    background: linear-gradient(145deg, #00003c 0%, #000025 36%, #000015 72%, #000008 100%) fixed !important;
    color: #edf1f8 !important;
}

/* Reafirma a mesma paleta quando o aparelho prefere tema claro OU escuro.
   Não deixa a preferência do sistema substituir as cores da identidade eCatólico. */
@media (prefers-color-scheme: light), (prefers-color-scheme: dark) {
    html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend {
        color-scheme: dark only !important;
        --ec-bg: #00000b !important;
        --ec-panel: #000014 !important;
        --ec-panel-2: #000020 !important;
        --ec-panel-3: #00002c !important;
        --ec-line: rgba(160, 176, 208, .14) !important;
        --ec-text: #edf1f8 !important;
        --ec-muted: #9aa8bf !important;
        --ec-red: #a80e17 !important;
        --ec-red-light: #c12a34 !important;
        background: linear-gradient(145deg, #00003c 0%, #000029 28%, #000018 64%, #000008 100%) fixed !important;
        color: #edf1f8 !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper,
    body.single-lesson.tutor-frontend .tutor-course-topic-single-body,
    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar,
    body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
        color: #edf1f8 !important;
        color-scheme: dark only !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar {
        background: linear-gradient(180deg, #00002c 0%, #000020 48%, #00000d 100%) !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
        background: linear-gradient(145deg, #000024 0%, #000017 58%, #00000d 100%) !important;
    }
}

/* 24. ARQUIVOS DE EXERCÍCIOS, MATERIAIS E ANEXOS — TEXTO LEGÍVEL */
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper .tutor-course-spotlight-nav .tutor-nav-link,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper .tutor-course-spotlight-nav .tutor-nav-link span,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper .tutor-course-spotlight-nav .tutor-nav-link strong,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] h1,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] h2,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] h3,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] h4,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] p,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] span,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] strong,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] a,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] h1,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] h2,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] h3,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] h4,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] p,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] span,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] strong,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] a,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper .tutor-color-black {
    color: #edf1f8 !important;
}

/* Texto secundário e metadados dos arquivos. */
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] small,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] .tutor-color-secondary,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] .tutor-color-muted,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] small,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] .tutor-color-secondary,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] .tutor-color-muted {
    color: #aab7cb !important;
}

/* Links de arquivos: vermelho apenas no hover, mantendo leitura clara. */
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] a:hover,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] a:hover {
    color: #e18b90 !important;
}

/* Ícones acompanham a cor do texto, sem fundos claros herdados do tema. */
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="attachment"] svg,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper [class*="exercise"] svg {
    color: inherit !important;
    fill: currentColor;
}

/* 25. PAINÉIS E CONTROLES NATIVOS SEM ADAPTAÇÃO AUTOMÁTICA AO APARELHO */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper,
body.single-lesson.tutor-frontend .tutor-video-player,
body.single-lesson.tutor-frontend .tutor-course-topic-single-header,
body.single-lesson.tutor-frontend .tutor-course-topic-single-footer,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper input,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper textarea,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper select {
    color-scheme: dark only !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper input,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper textarea,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper select {
    color: #edf1f8 !important;
    background-color: #00000d !important;
    border-color: rgba(160, 176, 208, .22) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper input::placeholder,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper textarea::placeholder {
    color: #9aa8bf !important;
    opacity: 1 !important;
}




/* ================================================================
   ACORDEÕES DA PLAYLIST — SUPERFÍCIE E SEPARADORES MAIS VISÍVEIS
   Diferencia discretamente os módulos do fundo do player.
   ================================================================ */
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar .tutor-course-topic {
    background: #090d17 !important;
    border: 1px solid rgba(160, 176, 208, .22) !important;
    margin: 0 0 6px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
    background: #0d111d !important;
    border-top: 1px solid rgba(160, 176, 208, .16) !important;
    border-bottom: 1px solid rgba(160, 176, 208, .22) !important;
    border-left: 2px solid rgba(160, 176, 208, .18) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header:hover,
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header.is-active {
    background: #131522 !important;
    border-left-color: #a80e17 !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-body {
    background: #080c15 !important;
    border-top: 1px solid rgba(160, 176, 208, .14) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item {
    background: #090d17 !important;
    border-bottom: 1px solid rgba(160, 176, 208, .17) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic-item:last-child {
    border-bottom: 0 !important;
}
/* ======================================================================
   eCATÓLICO — AJUSTES VISUAIS 1.1
   - Learning Area no desktop: lista de aulas à direita, vídeo à esquerda.
   - Player com largura máxima próxima à referência Hotmart.
   - Fundos menos azulados, quase pretos.
   - Página de curso: botão principal azul e botão secundário em largura total.
   - Não altera HTML, shortcodes, JavaScript ou lógica de progresso do Tutor.
   ====================================================================== */

/* ======================================================================
   1. LEARNING AREA — DESKTOP: VÍDEO À ESQUERDA / AULAS À DIREITA
   No Legacy, a sidebar vem antes do conteúdo no HTML. row-reverse inverte
   essa ordem visual sem mover nem recriar os elementos do Tutor LMS.
   ====================================================================== */
@media (min-width: 1200px) {
    body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper {
        display: flex !important;
        flex-direction: row-reverse !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 26px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar {
        flex: 0 0 380px !important;
        width: 380px !important;
        min-width: 340px !important;
        max-width: 380px !important;
        margin: 0 !important;
        border-right: 0 !important;
        border-left: 1px solid rgba(160, 176, 208, .13) !important;
        box-shadow: -8px 0 24px rgba(0, 0, 0, .16) !important;
    }

    body.single-lesson.tutor-frontend #tutor-single-entry-content.tutor-quiz-single-entry-wrap {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    /* Mantém o vídeo em uma dimensão mais próxima da Hotmart. */
    body.single-lesson.tutor-frontend .tutor-video-player-wrapper {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 850px !important;
        margin: 24px auto 20px !important;
        padding: 0 !important;
    }

    body.single-lesson.tutor-frontend .tutor-video-player {
        width: 100% !important;
        max-width: 850px !important;
        margin: 0 auto !important;
        border-radius: 0 !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, .28) !important;
    }

    body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
        width: 100% !important;
        max-width: 850px !important;
        margin: 22px auto 26px !important;
        border-radius: 0 !important;
    }
}

/* Em larguras intermediárias, mantém o comportamento responsivo nativo
   do Legacy (menu lateral recolhível), sem forçar a inversão do desktop. */
@media (min-width: 768px) and (max-width: 1199px) {
    body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper {
        display: block !important;
    }

    body.single-lesson.tutor-frontend .tutor-video-player-wrapper,
    body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
        width: calc(100% - 36px) !important;
        max-width: 850px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ======================================================================
   2. LEARNING AREA — PALETA QUASE PRETA
   Reduz o azul saturado das versões anteriores, mantendo apenas um leve
   subtom marinho inspirado na logo. O vermelho permanece como destaque.
   ====================================================================== */
body.single-lesson.tutor-frontend,
html[data-tutor-theme="dark"] body.single-lesson.tutor-frontend {
    --ec-bg: #000008 !important;
    --ec-panel: #00000b !important;
    --ec-panel-2: #000010 !important;
    --ec-panel-3: #000016 !important;
    --ec-line: rgba(160, 176, 208, .12) !important;
    --ec-text: #edf1f8 !important;
    --ec-muted: #9aa8bf !important;
    --ec-blue: #000014 !important;
    --ec-blue-light: #00001c !important;
    --ec-red: #a80e17 !important;
    --ec-red-light: #c12a34 !important;
    color-scheme: dark only !important;
    background: linear-gradient(145deg, #000014 0%, #00000b 48%, #000005 100%) fixed !important;
}

body.single-lesson.tutor-frontend #page,
body.single-lesson.tutor-frontend .site,
body.single-lesson.tutor-frontend .site-main,
body.single-lesson.tutor-frontend .tutor-course-single-content-wrapper,
body.single-lesson.tutor-frontend .tutor-course-topic-single-body {
    background: linear-gradient(145deg, #000014 0%, #00000a 52%, #000004 100%) fixed !important;
    color: #edf1f8 !important;
    color-scheme: dark only !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper.tutor-lesson-sidebar {
    background: linear-gradient(180deg, #000012 0%, #000009 58%, #000004 100%) !important;
    border-color: rgba(160, 176, 208, .12) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-title {
    background: #00000d !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-course-topic,
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-body {
    background: #000008 !important;
    border-color: rgba(160, 176, 208, .10) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
    background: #00000d !important;
    border-color: rgba(160, 176, 208, .10) !important;
}

body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header:hover,
body.single-lesson.tutor-frontend .tutor-course-single-sidebar-wrapper .tutor-accordion-item-header.is-active {
    background: #08070c !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper {
    background: linear-gradient(145deg, #000010 0%, #000008 100%) !important;
    border-color: rgba(160, 176, 208, .12) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .22) !important;
}

body.single-lesson.tutor-frontend .tutor-course-spotlight-nav {
    background: #00000d !important;
    border-color: rgba(160, 176, 208, .12) !important;
}

body.single-lesson.tutor-frontend .tutor-course-topic-single-header,
body.single-lesson.tutor-frontend .tutor-course-topic-single-footer {
    background: #00000b !important;
    border-color: rgba(160, 176, 208, .12) !important;
}

/* Controles e campos continuam legíveis sem depender do modo do aparelho. */
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper textarea,
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper input:not([type="checkbox"]):not([type="radio"]),
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper select {
    color-scheme: dark only !important;
    color: #edf1f8 !important;
    background: #000006 !important;
    border-color: rgba(160, 176, 208, .18) !important;
}

/* Mantém o vermelho restrito aos estados ativos e pequenos destaques. */
body.single-lesson.tutor-frontend .tutor-course-spotlight-wrapper .tutor-btn-primary {
    background: #0b234b !important;
    border: 1px solid #173c68 !important;
    color: #ffffff !important;
}









/* V1.4 — VERSÃO MANTIDA: isolamento estrito em body.single-courses.
   Todas as regras .tutor-wrap.tutor-full-width-course-top foram prefixadas
   com body.single-courses para não atingir o construtor do Tutor LMS.
   Base: arquivo fornecido pelo usuário em 17/11/2026.
*/


/* ECATÓLICO — TUTOR LMS / PÁGINA DE APRESENTAÇÃO DO CURSO
   Fundo, capa, tabs, descrição, currículo, progresso e botões.
*/

/* ============================================================================
08. TUTOR LMS — PÁGINA DE APRESENTAÇÃO DO CURSO
============================================================================ */

/* Complemento versão 1.1.
   Escopo restrito à página de detalhes do curso (single-courses). */

/* ============================================================
   eCATÓLICO — TUTOR LMS
   PÁGINA DE APRESENTAÇÃO DO CURSO (ANTES DE INICIAR AS AULAS) — VERSÃO 1.1
   Complemento visual para usar DEPOIS do CSS Legacy Modernizado.

   Paleta:
   Azul profundo: #00003c
   Azul quase preto: #000018 / #000008
   Vermelho da marca: #a80e17
   ============================================================ */

/* Escopo restrito à página de detalhes do curso.
   Não altera a página inicial, a página de vendas nem a Learning Area. */
body.single-courses .tutor-wrap.tutor-full-width-course-top {
    --ecat-blue: #00003c;
    --ecat-blue-mid: #000018;
    --ecat-black-blue: #000008;
    --ecat-red: #a80e17;
    --ecat-red-dark: #780912;
    --ecat-text: #f3f5fb;
    --ecat-muted: #b8c0d2;
    --ecat-line: rgba(190, 199, 222, .16);

    color-scheme: dark;
    width: 100%;
    max-width: none;
    color: var(--ecat-text) !important;
    background: linear-gradient(155deg,
        var(--ecat-blue) 0%,
        #00002b 28%,
        var(--ecat-blue-mid) 68%,
        var(--ecat-black-blue) 100%) !important;
    padding: 34px 0 64px !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top,
body.single-courses .tutor-wrap.tutor-full-width-course-top * {
    box-sizing: border-box;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-page,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-container,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-row,
body.single-courses .tutor-wrap.tutor-full-width-course-top main,
body.single-courses .tutor-wrap.tutor-full-width-course-top aside {
    background: transparent !important;
    color: var(--ecat-text) !important;
}

/* Título e categoria */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-header {
    margin-bottom: 30px !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-title,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-title span {
    color: #ffffff !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    line-height: 1.2 !important;
    letter-spacing: -.35px;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-info,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-info div,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-info span {
    color: var(--ecat-muted) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-info a {
    color: #f0a5aa !important;
    text-decoration: none !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-info a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Capa do curso */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-thumbnail {
    overflow: hidden;
    background: #000008 !important;
    border: 1px solid rgba(168, 14, 23, .45) !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .30) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-thumbnail img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Navegação das abas: Informações, P&R, Anúncios e Recursos */
body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper {
    margin-top: 28px !important;
    color: var(--ecat-text) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper .tutor-is-sticky {
    background: linear-gradient(90deg, rgba(0, 0, 20, .96), rgba(0, 0, 38, .96)) !important;
    border-bottom: 1px solid var(--ecat-line) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper nav.tutor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    border-bottom: 1px solid var(--ecat-line) !important;
    background: transparent !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper .tutor-nav-item {
    background: transparent !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper .tutor-nav-link {
    display: block;
    padding: 14px 17px !important;
    color: var(--ecat-muted) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper .tutor-nav-link:hover,
body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper .tutor-nav-link.is-active {
    color: #ffffff !important;
    border-bottom-color: var(--ecat-red) !important;
    background: rgba(168, 14, 23, .10) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper .tutor-tab,
body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper .tutor-tab-item {
    color: var(--ecat-text) !important;
    background: transparent !important;
}

/* Descrição e conteúdo textual */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content > div,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-fs-6.tutor-color-secondary {
    color: var(--ecat-muted) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content h1,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content h2,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content h3,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content h4,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content h5,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content strong {
    color: #ffffff !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content p,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content li {
    color: #c8cede !important;
    line-height: 1.8 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content a {
    color: #f0a5aa !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-content hr {
    border: 0 !important;
    border-top: 1px solid var(--ecat-line) !important;
    opacity: 1 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-btn-show-more {
    color: #ffffff !important;
    background: rgba(168, 14, 23, .13) !important;
    border: 1px solid rgba(168, 14, 23, .65) !important;
    border-radius: 0 !important;
    padding: 10px 16px !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-btn-show-more:hover {
    background: var(--ecat-red) !important;
    color: #ffffff !important;
}

/* Widgets e bloco "O que você vai aprender?" */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-widget {
    margin-top: 36px !important;
    padding: 22px 24px !important;
    background: linear-gradient(145deg, rgba(0, 0, 45, .88), rgba(0, 0, 12, .90)) !important;
    border: 1px solid var(--ecat-line) !important;
    border-left: 3px solid var(--ecat-red) !important;
    border-radius: 0 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-widget-title,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-widget-list,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-widget-list li,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-widget-list li span {
    color: var(--ecat-text) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-widget-list .tutor-icon-bullet-point {
    color: #e46b72 !important;
}

/* Conteúdo do curso e acordeões */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-title {
    margin-bottom: 16px !important;
    color: #ffffff !important;
    font-size: 22px !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion {
    border: 1px solid var(--ecat-line) !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: rgba(0, 0, 20, .36) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item {
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ecat-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item:last-child {
    border-bottom: 0 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-header {
    position: relative;
    padding: 17px 20px !important;
    color: #f5f6fb !important;
    background: linear-gradient(90deg, rgba(0, 0, 60, .92), rgba(0, 0, 24, .92)) !important;
    border: 0 !important;
    border-left: 3px solid transparent !important;
    border-radius: 0 !important;
    font-weight: 650 !important;
    transition: background .2s ease, border-color .2s ease;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-header:hover,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-header.is-active {
    color: #ffffff !important;
    background: rgba(168, 14, 23, .16) !important;
    border-left-color: var(--ecat-red) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-body,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-body-content {
    color: var(--ecat-muted) !important;
    background: rgba(0, 0, 12, .62) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list {
    margin: 0 !important;
    padding: 8px 18px !important;
    background: transparent !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 8px !important;
    border-bottom: 1px solid rgba(190, 199, 222, .10) !important;
    background: transparent !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item:last-child {
    border-bottom: 0 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-title,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-title a,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-title .lesson-preview-title {
    color: #e9edf7 !important;
    font-weight: 550 !important;
    text-decoration: none !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-title a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-color: #e46b72 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-icon {
    color: #e46b72 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-duration,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-status {
    color: #aeb8cd !important;
}

/* Cartão lateral: progresso, botões e informações da matrícula */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar {
    margin-top: 0 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-sidebar-card,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card {
    color: var(--ecat-text) !important;
    background: linear-gradient(155deg, rgba(0, 0, 48, .96), rgba(0, 0, 10, .98)) !important;
    border: 1px solid var(--ecat-line) !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .24) !important;
    overflow: hidden;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card-body,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card-footer {
    color: var(--ecat-text) !important;
    background: transparent !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card-footer {
    border-top: 1px solid var(--ecat-line) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card h3,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-progress-wrapper h3 {
    color: #ffffff !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-color-black,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-color-secondary,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-fs-6,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-ul,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-ul li,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-ul li span {
    color: #c6cede !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-icon-level,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-icon-refresh-o,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card .tutor-icon-calender-line {
    color: #e46b72 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-progress-bar {
    height: 7px !important;
    background: rgba(190, 199, 222, .18) !important;
    border-radius: 0 !important;
    overflow: hidden;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-progress-value {
    background: linear-gradient(90deg, #780912, #a80e17) !important;
    border-radius: 0 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-btn.tutor-btn-primary {
    color: #ffffff !important;
    background: linear-gradient(105deg, #780912, #a80e17 55%, #780912) !important;
    border: 1px solid #c22a34 !important;
    border-radius: 0 !important;
    box-shadow: 0 5px 16px rgba(168, 14, 23, .22) !important;
    font-weight: 700 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-btn.tutor-btn-primary:hover {
    background: #bd1823 !important;
    border-color: #e14a53 !important;
    transform: translateY(-1px);
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-btn.tutor-btn-outline-primary {
    color: #f1dadd !important;
    background: transparent !important;
    border: 1px solid rgba(210, 93, 101, .75) !important;
    border-radius: 0 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-btn.tutor-btn-outline-primary:hover {
    color: #ffffff !important;
    background: rgba(168, 14, 23, .18) !important;
}

/* Mantém a aparência independente do tema claro/escuro do dispositivo. */
@media (prefers-color-scheme: light), (prefers-color-scheme: dark) {
    body.single-courses .tutor-wrap.tutor-full-width-course-top {
        color-scheme: dark;
        color: var(--ecat-text) !important;
        background: linear-gradient(155deg, #00003c 0%, #00002b 28%, #000018 68%, #000008 100%) !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-page,
    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-tab,
    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-tab-item,
    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card,
    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card-body,
    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card-footer {
        color: var(--ecat-text) !important;
    }
}

/* Responsividade */
@media (max-width: 991px) {
    body.single-courses .tutor-wrap.tutor-full-width-course-top {
        padding: 24px 0 44px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-title {
        font-size: 27px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar {
        margin-top: 24px !important;
    }
}

@media (max-width: 600px) {
    body.single-courses .tutor-wrap.tutor-full-width-course-top {
        padding: 18px 0 34px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-page {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-title {
        font-size: 23px !important;
        line-height: 1.25 !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper nav.tutor-nav {
        gap: 0 4px;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper .tutor-nav-link {
        padding: 11px 10px !important;
        font-size: 13px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card-body {
        padding: 20px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-header {
        padding: 15px 14px !important;
        font-size: 14px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list {
        padding: 5px 8px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item {
        gap: 8px;
        padding: 11px 4px !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-title,
    body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-title a {
        font-size: 13px !important;
    }
}


/* ============================================================
   CORREÇÕES 1.1 — FAIXA SUPERIOR E GRADIENTE DO TEXTO RECOLHIDO
   ============================================================ */

/* A faixa clara aparece fora do contêiner do Tutor, entre o
   cabeçalho Elementor e o início do conteúdo. Definimos o fundo
   da página de curso também no body e nos contêineres externos. */
body.single-courses {
    background: linear-gradient(155deg,
        #00003c 0%,
        #00002b 28%,
        #000018 68%,
        #000008 100%) fixed !important;
    background-color: #000018 !important;
    color-scheme: dark !important;
}

body.single-courses #page,
body.single-courses #content,
body.single-courses .site,
body.single-courses .site-content,
body.single-courses .site-main,
body.single-courses main#content,
body.single-courses .content-area {
    background: transparent !important;
    background-color: transparent !important;
}

/* Evita uma margem clara entre o cabeçalho e o conteúdo do curso. */
body.single-courses .tutor-wrap.tutor-full-width-course-top {
    margin-top: 0 !important;
}

/* O Tutor aplica um esmaecimento no fim do texto recolhido.
   Neutralizamos o gradiente branco e usamos um fade azul-marinho
   que se mistura com o fundo e mantém a indicação de continuação. */
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content.tutor-toggle-more-content {
    position: relative !important;
    color: #c8cede !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content.tutor-toggle-more-content.tutor-toggle-more-collapsed::after,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content.tutor-toggle-more-content.tutor-toggle-more-collapsed::before {
    background: linear-gradient(180deg,
        rgba(0, 0, 24, 0) 0%,
        rgba(0, 0, 24, .58) 58%,
        #000018 100%) !important;
    background-color: transparent !important;
}

/* Neutraliza fundos brancos herdados no texto e seus elementos. */
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content > div,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content p,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content h1,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content h2,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content h3,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content h4,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content ul,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content ol,
body.single-courses .tutor-wrap.tutor-full-width-course-top
.tutor-course-details-content li {
    background-color: transparent !important;
}

/* Mantém o conteúdo e os controles legíveis no tema fixo do eCatólico,
   independentemente da preferência claro/escuro do dispositivo. */
@media (prefers-color-scheme: light), (prefers-color-scheme: dark) {
    body.single-courses,
    body.single-courses #page,
    body.single-courses #content,
    body.single-courses .site-main,
    body.single-courses .site-content {
        color-scheme: dark !important;
    }

    body.single-courses .tutor-wrap.tutor-full-width-course-top
    .tutor-course-details-content,
    body.single-courses .tutor-wrap.tutor-full-width-course-top
    .tutor-course-details-content p,
    body.single-courses .tutor-wrap.tutor-full-width-course-top
    .tutor-course-details-content li {
        color: #c8cede !important;
    }
}

/* ======================================================================
   3. PÁGINA DE APRESENTAÇÃO — FUNDO QUASE PRETO E BOTÕES AZUIS
   ====================================================================== */
body.single-courses,
body.single-courses #page,
body.single-courses #content,
body.single-courses .site,
body.single-courses .site-content,
body.single-courses .site-main,
body.single-courses main#content,
body.single-courses .content-area {
    background: #000006 !important;
    background-color: #000006 !important;
    color-scheme: dark only !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top {
    --ecat-blue: #000014;
    --ecat-blue-mid: #00000b;
    --ecat-black-blue: #000005;
    --ecat-red: #a80e17;
    --ecat-red-dark: #780912;
    background: linear-gradient(155deg, #000014 0%, #00000c 42%, #000005 100%) !important;
    background-color: #000006 !important;
    color: #f3f5fb !important;
    color-scheme: dark only !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-page,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-container,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-row,
body.single-courses .tutor-wrap.tutor-full-width-course-top main,
body.single-courses .tutor-wrap.tutor-full-width-course-top aside {
    background: transparent !important;
    color: #f3f5fb !important;
}

/* Superfícies e conteúdo da apresentação com menos azul saturado. */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-details-widget,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-body,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-body-content {
    background: linear-gradient(145deg, #00000f 0%, #000006 100%) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-header {
    background: #000012 !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-header:hover,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-accordion-item-header.is-active {
    background: #09080d !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-sidebar-card,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-card {
    background: linear-gradient(155deg, #000012 0%, #000006 100%) !important;
    color: #f3f5fb !important;
    border-color: rgba(190, 199, 222, .13) !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-is-sticky,
body.single-courses .tutor-wrap.tutor-full-width-course-top #tutor-course-details-tab-wrapper nav.tutor-nav {
    background: #000009 !important;
}

/* Botão principal: recuperar o azul usado anteriormente no Tutor. */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar .tutor-btn.tutor-btn-primary,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar a.tutor-btn-primary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 18px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #082654 0%, #234d86 28%, #0b2f6b 52%, #234d86 76%, #082654 100%) !important;
    border: 1px solid #315888 !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .28) !important;
    font-weight: 700 !important;
    text-align: center !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar .tutor-btn.tutor-btn-primary:hover,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar a.tutor-btn-primary:hover {
    background: linear-gradient(135deg, #061d3d 0%, #1a3d6a 50%, #061d3d 100%) !important;
    border-color: #4773a7 !important;
}

/* Botão concluir: mesma largura e altura do botão principal, apenas contorno azul. */
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar form {
    display: block !important;
    width: 100% !important;
    margin-top: 14px !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar form .tutor-btn.tutor-btn-outline-primary,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar .tutor-btn.tutor-btn-block.tutor-btn-outline-primary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    color: #dce8f8 !important;
    background: transparent !important;
    border: 1px solid #315888 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    text-align: center !important;
}

body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar form .tutor-btn.tutor-btn-outline-primary:hover,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-single-course-sidebar .tutor-btn.tutor-btn-block.tutor-btn-outline-primary:hover {
    color: #ffffff !important;
    background: rgba(20, 58, 104, .24) !important;
    border-color: #4773a7 !important;
}

/* Mantém a preferência visual fixa também em aparelhos configurados em modo claro/escuro. */
@media (prefers-color-scheme: light), (prefers-color-scheme: dark) {
    body.single-courses,
    body.single-courses .tutor-wrap.tutor-full-width-course-top {
        color-scheme: dark only !important;
        background-color: #000006 !important;
    }
}







/* ================================================================
   CURRÍCULO PÚBLICO — MINIATURAS DAS AULAS
   O PHP complementar acrescenta .cf-tutor-course-preview-thumbnail.
   O ícone de cadeado e os links originais do Tutor permanecem.
   ================================================================ */
body.single-courses .tutor-course-content-list {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-courses .tutor-course-content-list-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    min-height: 78px !important;
    padding: 10px 12px !important;
    background: #080b14 !important;
    border-bottom: 1px solid rgba(160, 176, 208, .18) !important;
}

body.single-courses .tutor-course-content-list-item > .tutor-d-flex:first-child {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 12px !important;
    margin: 0 !important;
}

body.single-courses img.cf-tutor-course-preview-thumbnail {
    display: block !important;
    flex: 0 0 104px !important;
    width: 104px !important;
    min-width: 104px !important;
    height: 59px !important;
    object-fit: cover !important;
    border: 1px solid rgba(190, 199, 222, .22) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

body.single-courses .tutor-course-content-list-item-title {
    min-width: 0 !important;
    margin: 0 !important;
    color: #e8edf6 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

body.single-courses .tutor-course-content-list-item-title a,
body.single-courses .tutor-course-content-list-item-title .lesson-preview-title {
    color: #e8edf6 !important;
    text-decoration: none !important;
}

body.single-courses .tutor-course-content-list-item-title a:hover {
    color: #e18b90 !important;
}

body.single-courses .tutor-course-content-list-item-duration {
    color: #aab6ca !important;
    white-space: nowrap !important;
}

body.single-courses .tutor-course-content-list-item-status {
    color: #c2cce0 !important;
    margin-left: 10px !important;
}

@media (max-width: 600px) {
    body.single-courses .tutor-course-content-list-item {
        min-height: 68px !important;
        gap: 8px !important;
        padding: 8px !important;
    }
    body.single-courses img.cf-tutor-course-preview-thumbnail {
        flex-basis: 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        height: 48px !important;
    }
    body.single-courses .tutor-course-content-list-item-title {
        font-size: 12px !important;
    }
}

/* ======================================================================
   eCatólico — CORREÇÃO DAS MINIATURAS E CADEADOS DO CURRÍCULO PÚBLICO
   Versão 1.3 — acrescentar ao FINAL do módulo 06.

   - Dimensões fixas no HTML/CSS para impedir imagens gigantes.
   - Fallback para o ícone nativo do Tutor se a imagem falhar.
   - Cadeado visível para visitantes em aulas não públicas/não preview.
   ====================================================================== */

body.single-courses .tutor-course-content-list-item,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item {
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

body.single-courses .tutor-course-content-list-item > .tutor-d-flex:first-child,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item > .tutor-d-flex:first-child {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 12px !important;
    overflow: hidden !important;
}

/* Caixa de miniatura com dimensão fixa, independentemente do CSS global do tema. */
body.single-courses .cf-tutor-course-preview-media-v13,
body.single-courses .tutor-wrap.tutor-full-width-course-top .cf-tutor-course-preview-media-v13 {
    display: inline-flex !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 104px !important;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    height: 59px !important;
    min-height: 59px !important;
    max-height: 59px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #080b14 !important;
    border: 1px solid rgba(190, 199, 222, .24) !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

body.single-courses img.cf-tutor-course-preview-thumbnail,
body.single-courses .tutor-wrap.tutor-full-width-course-top img.cf-tutor-course-preview-thumbnail {
    display: block !important;
    flex: 0 0 104px !important;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    height: 59px !important;
    min-height: 59px !important;
    max-height: 59px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Ícone original guardado no HTML: reaparece se o servidor de imagem falhar. */
body.single-courses .cf-tutor-course-preview-fallback,
body.single-courses .tutor-wrap.tutor-full-width-course-top .cf-tutor-course-preview-fallback {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #e46b72 !important;
    background: #080b14 !important;
}

body.single-courses .cf-tutor-course-preview-fallback[hidden],
body.single-courses .tutor-wrap.tutor-full-width-course-top .cf-tutor-course-preview-fallback[hidden] {
    display: none !important;
}

body.single-courses .cf-tutor-course-preview-fallback .tutor-course-content-list-item-icon,
body.single-courses .tutor-wrap.tutor-full-width-course-top .cf-tutor-course-preview-fallback .tutor-course-content-list-item-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    color: #e46b72 !important;
    font-size: 18px !important;
}

/* Mantém duração e cadeado dentro da linha visível. */
body.single-courses .tutor-course-content-list-item > .tutor-d-flex:last-child,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item > .tutor-d-flex:last-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    min-width: max-content !important;
    gap: 8px !important;
    margin-left: auto !important;
    white-space: nowrap !important;
}

body.single-courses .tutor-course-content-list-item-status,
body.single-courses .tutor-wrap.tutor-full-width-course-top .tutor-course-content-list-item-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 0 0 4px !important;
    color: #c2cce0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Cadeado SVG para visitantes, quando a aula é bloqueada. */
body.single-courses .cf-tutor-course-preview-lock,
body.single-courses .tutor-wrap.tutor-full-width-course-top .cf-tutor-course-preview-lock {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 0 0 4px !important;
    color: #b9c8df !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.single-courses .cf-tutor-course-preview-lock svg,
body.single-courses .tutor-wrap.tutor-full-width-course-top .cf-tutor-course-preview-lock svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    fill: none !important;
    stroke: currentColor !important;
}

@media (max-width: 600px) {
    body.single-courses .cf-tutor-course-preview-media-v13,
    body.single-courses .tutor-wrap.tutor-full-width-course-top .cf-tutor-course-preview-media-v13 {
        flex-basis: 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        max-width: 84px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }

    body.single-courses img.cf-tutor-course-preview-thumbnail,
    body.single-courses .tutor-wrap.tutor-full-width-course-top img.cf-tutor-course-preview-thumbnail {
        flex-basis: 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        max-width: 84px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
}










/* =========================================================
   ECATÓLICO — LOGIN DO TUTOR LMS COM LOGO
   Escopo restrito ao formulário de login exibido em aulas.
   Logo original: 531 × 200 px — proporção preservada.
   Inserir no final de Aparência > Personalizar > CSS adicional.
   ========================================================= */

/* Cartão */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 34px 28px 30px !important;
    background: #030713 !important;
    color: #e8edf6 !important;
    border: 1px solid rgba(220, 230, 245, .55) !important;
    border-radius: 8px !important;
}

/* Logo centralizada acima da saudação */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper::before {
    content: "";
    display: block;
    width: 265px;
    max-width: 82%;
    height: 100px;
    margin: 0 auto 22px;
    background-image: url("https://ecatolico.com.br/wp-content/uploads/2026/08/ecatolico-sem-fundo.avif");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Saudação */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper > .tutor-color-black {
    margin-bottom: 26px !important;
    color: #f4f7fc !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

/* Textos auxiliares */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper .tutor-color-muted,
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper .tutor-color-secondary,
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper .tutor-form-check label {
    color: #bdc9da !important;
}

/* Links */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper a.tutor-btn-ghost,
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper a.tutor-btn-link {
    color: #80aaff !important;
}

body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper a:hover {
    color: #b3ceff !important;
}

/* Campos de usuário e senha */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper input.tutor-form-control {
    box-sizing: border-box !important;
    background: #f5f6f8 !important;
    color: #202636 !important;
    border: 1px solid #d5d9e1 !important;
}

body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper input.tutor-form-control::placeholder {
    color: #657187 !important;
    opacity: 1 !important;
}

body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper input.tutor-form-control:focus {
    border-color: #4773b5 !important;
    outline: none !important;
}

/* Checkbox */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper input[type="checkbox"] {
    accent-color: #a80e17;
}

/* Mensagens de erro */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper .tutor-login-error {
    color: #fca5a5 !important;
}



/* Botão Entrar — força largura total do formulário */
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper form#tutor-login-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper form#tutor-login-form > button[type="submit"].tutor-btn,
body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper form#tutor-login-form > .tutor-btn.tutor-btn-primary.tutor-btn-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    text-align: center !important;
    float: none !important;
}

/* Ajustes para celular */
@media (max-width: 600px) {
    body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper {
        padding: 26px 18px 24px !important;
        border-radius: 7px !important;
    }

    body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper::before {
        width: 225px;
        height: 85px;
        margin-bottom: 18px;
    }

    body.single-lesson.tutor-frontend .tutor-login-wrap .tutor-login-form-wrapper > .tutor-color-black {
        font-size: 19px !important;
        margin-bottom: 22px !important;
    }
}









/* eCatólico — campos do construtor de cursos Tutor LMS */
body.tutor-screen-course-builder input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.tutor-screen-course-builder textarea,
body.tutor-screen-course-builder select {
    color: #202636 !important;
    -webkit-text-fill-color: #202636 !important;
    background-color: #f5f6f8 !important;
    border-color: #cbd2dc !important;
    opacity: 1 !important;
}











/* eCatólico — Login social */

.ecatolico-social-login {
    width: 100%;
    margin: 18px auto 0;
    clear: both;
}

.ecatolico-social-login__label {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.ecatolico-social-login #tutor-pro-social-authentication {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding-top: 16px !important;
    box-sizing: border-box;
}

.ecatolico-social-login #tutor-pro-google-authentication,
.ecatolico-social-login #tutor-pro-facebook-authentication {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
    justify-content: center;
}

.ecatolico-social-login #tutor-pro-google-authentication iframe,
.ecatolico-social-login #tutor-pro-facebook-authentication iframe,
.ecatolico-social-login #tutor-pro-facebook-authentication .fb-login-button,
.ecatolico-social-login #tutor-pro-facebook-authentication .fb_iframe_widget,
.ecatolico-social-login #tutor-pro-facebook-authentication .fb_iframe_widget span {
    max-width: 100% !important;
}




/*
===============================================================================
eCATÓLICO — TUTOR LMS COURSE BUNDLE
Identidade visual da página de pacotes — complemento CSS
Escopo exclusivo: body.single-course-bundle
Paleta: azul profundo #00003c | quase preto #000008 | vermelho #a80e17
Instalação: acrescentar ao FINAL do CSS personalizado atual.
Não substitui o CSS existente e não altera compra, matrícula ou progresso.
===============================================================================
*/

/* 1. Fundo e variáveis da página de pacote */
body.single-course-bundle {
    --ecb-blue: #00003c;
    --ecb-blue-mid: #000018;
    --ecb-black: #000008;
    --ecb-red: #a80e17;
    --ecb-red-dark: #780912;
    --ecb-text: #edf1f8;
    --ecb-muted: #aab5c8;
    --ecb-line: rgba(160, 176, 208, .16);

    color-scheme: dark;
    color: var(--ecb-text) !important;
    background: linear-gradient(145deg, #00003c 0%, #000025 36%, #000015 72%, #000008 100%) fixed !important;
}

body.single-course-bundle #page,
body.single-course-bundle .site,
body.single-course-bundle .site-content,
body.single-course-bundle .site-main,
body.single-course-bundle #content {
    background: transparent !important;
    color: var(--ecb-text) !important;
}

/* 2. Área principal do pacote */
body.single-course-bundle .tutor-wrap.tutor-full-width-course-top {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    padding: 34px 0 64px !important;
    color: var(--ecb-text) !important;
    background: linear-gradient(155deg, #00003c 0%, #00002b 28%, #000018 68%, #000008 100%) !important;
}

body.single-course-bundle .tutor-wrap.tutor-full-width-course-top *,
body.single-course-bundle .tutor-course-details-page,
body.single-course-bundle .tutor-course-details-page .tutor-row,
body.single-course-bundle .tutor-course-details-page main,
body.single-course-bundle .tutor-course-details-page aside {
    box-sizing: border-box;
}

body.single-course-bundle .tutor-course-details-page,
body.single-course-bundle .tutor-course-details-page .tutor-row,
body.single-course-bundle .tutor-course-details-page main,
body.single-course-bundle .tutor-course-details-page aside,
body.single-course-bundle .tutor-course-details-tab,
body.single-course-bundle .tutor-course-details-tab .tutor-tab,
body.single-course-bundle .tutor-course-details-tab .tutor-tab-item {
    color: var(--ecb-text) !important;
    background: transparent !important;
}

/* 3. Título e categorias */
body.single-course-bundle .tutor-course-details-title,
body.single-course-bundle .tutor-course-details-title span,
body.single-course-bundle .tutor-course-details-page h1,
body.single-course-bundle .tutor-course-details-page h2,
body.single-course-bundle .tutor-course-details-page h3,
body.single-course-bundle .tutor-course-details-widget-title {
    color: #ffffff !important;
}

body.single-course-bundle .tutor-course-details-title {
    font-size: clamp(25px, 3vw, 34px) !important;
    line-height: 1.2 !important;
    letter-spacing: -.3px;
}

body.single-course-bundle .tutor-course-details-info,
body.single-course-bundle .tutor-course-details-info div,
body.single-course-bundle .tutor-course-details-info span,
body.single-course-bundle .tutor-course-details-page .tutor-color-muted {
    color: var(--ecb-muted) !important;
}

body.single-course-bundle .tutor-course-details-info a,
body.single-course-bundle .tutor-course-details-page a:not(.tutor-btn):not(.tutor-bundle-feature-image) {
    color: #e7a0a6 !important;
    text-decoration: none !important;
}

body.single-course-bundle .tutor-course-details-info a:hover,
body.single-course-bundle .tutor-course-details-page a:not(.tutor-btn):not(.tutor-bundle-feature-image):hover {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-color: #d34b54 !important;
}

/* 4. Capa do pacote e selo de economia */
body.single-course-bundle .tutor-course-thumbnail {
    position: relative;
    overflow: hidden !important;
    background: #000008 !important;
    border: 1px solid rgba(168, 14, 23, .48) !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .34) !important;
}

body.single-course-bundle .tutor-course-thumbnail img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.single-course-bundle .tutor-bundle-discount-info {
    color: #ffffff !important;
    background: #a80e17 !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 0 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .30) !important;
}

body.single-course-bundle .tutor-bundle-save-text,
body.single-course-bundle .tutor-bundle-save-amount {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* 5. Título da seção de cursos incluídos */
body.single-course-bundle .tutor-course-details-tab h2,
body.single-course-bundle .tutor-course-details-tab .tutor-color-black,
body.single-course-bundle .tutor-course-details-tab .tutor-bundle-course-title {
    color: #f4f6fb !important;
}

/* 6. Cartões dos cursos que fazem parte do pacote
   Mantém a geometria nativa do Tutor; altera somente a apresentação. */
body.single-course-bundle #tutor-bundle-course-list .tutor-bundle-course-list-wrapper {
    padding: 14px !important;
    color: var(--ecb-text) !important;
    background: linear-gradient(145deg, rgba(0, 0, 48, .94), rgba(0, 0, 10, .96)) !important;
    border: 1px solid var(--ecb-line) !important;
    border-left: 3px solid rgba(168, 14, 23, .82) !important;
    border-radius: 0 !important;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .20) !important;
}

body.single-course-bundle #tutor-bundle-course-list .tutor-bundle-feature-image img {
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.single-course-bundle #tutor-bundle-course-list .tutor-bundle-course-title {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

body.single-course-bundle #tutor-bundle-course-list .tutor-bundle-course-list-desc p,
body.single-course-bundle #tutor-bundle-course-list .tutor-bundle-course-list-desc span {
    color: var(--ecb-muted) !important;
}

body.single-course-bundle #tutor-bundle-course-list .tutor-bundle-course-list-desc p a {
    color: #e7a0a6 !important;
}

/* 7. Visão geral, progresso e informações do pacote */
body.single-course-bundle .tutor-single-course-sidebar {
    color: var(--ecb-text) !important;
}

body.single-course-bundle .tutor-course-details-widget-title,
body.single-course-bundle .tutor-course-progress-wrapper h3 {
    color: #ffffff !important;
}

body.single-course-bundle .tutor-sidebar-card,
body.single-course-bundle .tutor-bundle-author-list,
body.single-course-bundle .tutor-single-course-sidebar .tutor-card {
    overflow: hidden;
    color: var(--ecb-text) !important;
    background: linear-gradient(155deg, rgba(0, 0, 48, .97), rgba(0, 0, 10, .98)) !important;
    border: 1px solid var(--ecb-line) !important;
    border-radius: 0 !important;
    box-shadow: 0 9px 28px rgba(0, 0, 0, .25) !important;
}

body.single-course-bundle .tutor-single-course-sidebar .tutor-card-body,
body.single-course-bundle .tutor-single-course-sidebar .tutor-card-footer,
body.single-course-bundle .tutor-bundle-author-list {
    color: var(--ecb-text) !important;
    background-color: transparent !important;
}

body.single-course-bundle .tutor-single-course-sidebar .tutor-card-footer {
    border-top: 1px solid var(--ecb-line) !important;
}

body.single-course-bundle .tutor-single-course-sidebar .tutor-color-black,
body.single-course-bundle .tutor-single-course-sidebar .tutor-color-secondary,
body.single-course-bundle .tutor-single-course-sidebar .tutor-fs-6,
body.single-course-bundle .tutor-single-course-sidebar .tutor-ul,
body.single-course-bundle .tutor-single-course-sidebar .tutor-ul li,
body.single-course-bundle .tutor-single-course-sidebar .tutor-ul li span {
    color: #c3ccdc !important;
}

body.single-course-bundle .tutor-single-course-sidebar .tutor-ul [class*="tutor-icon-"] {
    color: #d34b54 !important;
}

/* 8. Barra de progresso */
body.single-course-bundle .tutor-progress-bar {
    height: 7px !important;
    overflow: hidden;
    background: rgba(190, 199, 222, .18) !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.single-course-bundle .tutor-progress-value {
    background: #a80e17 !important;
    border-radius: 0 !important;
}

/* 9. Botões do pacote */
body.single-course-bundle .tutor-course-details-page .tutor-btn {
    min-height: 42px;
    padding: 11px 18px !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease !important;
}

body.single-course-bundle .tutor-course-details-page .tutor-btn-primary {
    color: #ffffff !important;
    background: #a80e17 !important;
    border: 1px solid #a80e17 !important;
}

body.single-course-bundle .tutor-course-details-page .tutor-btn-primary:hover {
    background: #780912 !important;
    border-color: #780912 !important;
}

body.single-course-bundle .tutor-course-details-page .tutor-btn-outline-primary {
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid #a80e17 !important;
}

body.single-course-bundle .tutor-course-details-page .tutor-btn-outline-primary:hover {
    color: #ffffff !important;
    background: rgba(168, 14, 23, .20) !important;
    border-color: #d34b54 !important;
}

body.single-course-bundle .tutor-course-details-page .tutor-btn-secondary {
    color: #e8edf6 !important;
    background: #10152a !important;
    border: 1px solid var(--ecb-line) !important;
}

/* 10. Cartão do professor */
body.single-course-bundle .tutor-bundle-author-list h2,
body.single-course-bundle .tutor-bundle-author-list a {
    color: #ffffff !important;
}

body.single-course-bundle .tutor-bundle-author-list .tutor-instructor-designation {
    color: var(--ecb-muted) !important;
}

body.single-course-bundle .tutor-bundle-author-list img {
    border: 1px solid rgba(168, 14, 23, .50) !important;
    border-radius: 0 !important;
}

/* 11. Mantém a aparência escura independentemente da preferência do aparelho */
@media (prefers-color-scheme: light), (prefers-color-scheme: dark) {
    body.single-course-bundle .tutor-wrap.tutor-full-width-course-top {
        color-scheme: dark;
        color: var(--ecb-text) !important;
        background: linear-gradient(155deg, #00003c 0%, #00002b 28%, #000018 68%, #000008 100%) !important;
    }
}

/* 12. Tablet */
@media (max-width: 991px) {
    body.single-course-bundle .tutor-wrap.tutor-full-width-course-top {
        padding: 26px 0 46px !important;
    }

    body.single-course-bundle .tutor-single-course-sidebar {
        margin-top: 26px !important;
    }
}

/* 13. Celular */
@media (max-width: 600px) {
    body.single-course-bundle .tutor-wrap.tutor-full-width-course-top {
        padding: 20px 0 36px !important;
    }

    body.single-course-bundle .tutor-course-details-page {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.single-course-bundle .tutor-course-details-title {
        font-size: 23px !important;
        line-height: 1.25 !important;
    }

    body.single-course-bundle #tutor-bundle-course-list .tutor-bundle-course-list-wrapper {
        padding: 12px !important;
    }

    body.single-course-bundle #tutor-bundle-course-list .tutor-bundle-course-title {
        font-size: 14px !important;
    }

    body.single-course-bundle .tutor-single-course-sidebar .tutor-card-body {
        padding: 20px !important;
    }

    body.single-course-bundle .tutor-bundle-author-list {
        padding: 20px !important;
    }
}






