/* EVENTO.CSS - Estilos sobrios y profesionales */

.bg-custom-primary { background-color: #CC5027 !important; color: white !important; }
.text-custom-primary { color: #CC5027 !important; }
.btn-custom-primary { 
    background-color: #CC5027; 
    border-color: #CC5027; 
    color: white; 
}
.btn-custom-primary:hover { 
    background-color: #B71C1C; 
    border-color: #B71C1C; 
    color: white; 
}
.btn-outline-custom-primary { 
    border-color: #CC5027; 
    color: #CC5027; 
}
.btn-outline-custom-primary:hover { 
    background-color: #CC5027; 
    color: white; 
}

.hero-section {
    background-color: #CC5027;
    color: white;
    background-image: none; /* Eliminar patrón de puntos por defecto, pero permitir override inline */
}

.icono-circular {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}

.curso-descripcion {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000000;
}

.card-title, h1, h2, h3, h4, h5, h6 {
    color: #000000;
}

.hero-section h1, 
.hero-section h2, 
.hero-section h3, 
.hero-section h4, 
.hero-section h5, 
.hero-section h6 {
    color: #ffffff !important;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    font-weight: 600;
}

.list-group-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 0.5rem;
    border-radius: 0.375rem;
}

.list-group-item:hover {
    background-color: #F9F9F9;
    border-color: #CC5027;
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-section .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .text-lg-end {
        text-align: center !important;
        margin-top: 2rem;
    }
}

/* Ajuste específico para el título del curso */
h1.display-4.fw-bold.mb-4 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 1rem !important;
}

@media (max-width: 768px) {
    h1.display-4.fw-bold.mb-4 {
        font-size: 26px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1.display-4.fw-bold.mb-4 {
        font-size: 22px;
    }
}
h2.h1.fw-bold.mb-4 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.banner-curso {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .banner-curso {
        max-height: 200px;
        margin-top: 20px;
    }
}
