/* static/css/banner.css
.entry-banner {
    background: url('https://www.cotil.unicamp.br/wp-content/uploads/2021/05/placa_cotil-scaled.jpg') no-repeat scroll center center / cover;
    min-height: 300px;
    position: relative;
}

.entry-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.entry-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    padding: 80px 0;
}

.entry-title {
    color: white !important;
    font-size: 3rem !important;
    margin-bottom: 1rem;
}

.entry-breadcrumb a,
.entry-breadcrumb span:not(.current-item) {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
}

.entry-breadcrumb a:hover {
    color: white !important;
    text-decoration: underline;
}

.current-item {
    color: white !important;
    font-weight: 600;
}

.content-area {
    padding-top: 100px;
    padding-bottom: 0px;
}

.rt-course-box .rtin-thumbnail .rtin-price,
.rt-course-box-2 .rtin-meta .rtin-price,
.rt-course-box-3 .rtin-thumbnail .rtin-price {
    display: none;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

main {
    flex: 1 0 auto; 
    width: 100%;
}

footer {
    flex-shrink: 0; 
    width: 100%;
} */


/* banner.css - com sticky footer */

/* Reset e configuração do flexbox */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: #CFCCCC; /* Cor de fundo .bg-cotil do projeto principal */
}

/* Main content - empurra o footer para baixo */
main {
    flex: 1 0 auto;
    width: 100%;
}

/* Footer sempre no bottom */
footer {
    flex-shrink: 0;
    width: 100%;
}

/* Estilos do banner */
.entry-banner {
    background: url('https://www.cotil.unicamp.br/wp-content/uploads/2021/04/0118_cotil_capa_Easy-Resizecom.jpg') no-repeat scroll center center / cover;
    min-height: 300px;
    position: relative;
}

.entry-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.entry-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    padding: 80px 0;
}

.entry-title {
    color: white !important;
    font-size: 3rem !important;
    margin-bottom: 1rem;
}

.entry-breadcrumb a,
.entry-breadcrumb span:not(.current-item) {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
}

.entry-breadcrumb a:hover {
    color: white !important;
    text-decoration: underline;
}

.current-item {
    color: white !important;
    font-weight: 600;
}

.content-area {
    padding-top: 100px;
    padding-bottom: 0px;
}

.rt-course-box .rtin-thumbnail .rtin-price,
.rt-course-box-2 .rtin-meta .rtin-price,
.rt-course-box-3 .rtin-thumbnail .rtin-price {
    display: none;
}
/* Cor secundária do COTIL para Navbars */
.bg-cotil-secondary {
    background-color: #960000 !important;
}

/* Ajuste de altura da Navbar para igualar ao projeto principal */
.navbar-brand {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
    font-size: 1rem !important;
}


/* Cabeçalho de Card personalizado para combinar com a Navbar COTIL */
.card-header-cotil {
    background-color: #ffffff !important;
    border-bottom: 3px solid #960000 !important;
    color: #960000 !important;
    padding: 1.25rem 1.5rem !important;
}

.card-header-cotil h4, .card-header-cotil h5, .card-header-cotil h6 {
    margin-bottom: 0 !important;
    font-weight: 700 !important;
    color: #960000 !important;
}

/* ==========================================
   Custom Project Styling (Requested)
   ========================================== */

/* 1. Títulos: #090f10 */
h1:not(.entry-title), h2, h3, h4, h5, h6, .card-title {
    color: #090f10 !important;
}

/* Garante que o título do card-header-cotil mantém sua cor vermelha do tema */
.card-header-cotil h4, .card-header-cotil h5, .card-header-cotil h6 {
    color: #960000 !important;
}

/* 2. Links: #960000 */
a:not(.nav-link):not(.dropdown-item):not(.btn):not(.btn-candidatar):not(.btn-voltar):not(.btn-outline-primary):not(.share-btn):not(.curso-tag) {
    color: #960000 !important;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

/* 3. Links com foco: #6e0000 */
a:not(.nav-link):not(.dropdown-item):not(.btn):not(.btn-candidatar):not(.btn-voltar):not(.btn-outline-primary):not(.share-btn):not(.curso-tag):hover,
a:not(.nav-link):not(.dropdown-item):not(.btn):not(.btn-candidatar):not(.btn-voltar):not(.btn-outline-primary):not(.share-btn):not(.curso-tag):focus,
a:not(.nav-link):not(.dropdown-item):not(.btn):not(.btn-candidatar):not(.btn-voltar):not(.btn-outline-primary):not(.share-btn):not(.curso-tag):active {
    color: #6e0000 !important;
    text-decoration: underline !important;
}

/* 4. Fundo dos menus: #960000 */
.navbar, .bg-cotil-secondary {
    background-color: #960000 !important;
}
.dropdown-menu {
    background-color: #960000 !important;
    border: 1px solid #6e0000 !important;
}
.dropdown-menu .dropdown-item {
    color: #ffffff !important;
    background-color: transparent !important;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    background-color: #6e0000 !important;
    color: #ffffff !important;
}
.dropdown-menu .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Estilos de links da navbar com foco/hover */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ffffff !important;
    background-color: #6e0000 !important;
    border-radius: 4px;
}

/* Menu Lateral (se aplicável) */
#sidebar {
    background-color: #960000 !important;
}
#sidebar ul li a:hover,
#sidebar ul li a:focus {
    background-color: #6e0000 !important;
    color: #ffffff !important;
}

/* 5. Fundo Rodapé: #960000 */
footer, .footer {
    background-color: #960000 !important;
}
footer p, .footer p {
    color: rgba(255, 255, 255, 0.9) !important;
}

