#page-local-isocial-catalog_detail #page,
#page-local-isocial-catalog_detail #page-content,
#page-local-isocial-catalog_detail .main-inner,
#page-local-isocial-catalog_detail .container,
#page-local-isocial-catalog_detail .card,
#page-local-isocial-catalog_detail .block,
#page-local-isocial-catalog_detail .header-maxwidth {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* ELIMINAR ESPACIO DEL HEADER */
#page-local-isocial-catalog_detail #page-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#page-local-isocial-catalog_detail #page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#page-local-isocial-catalog_detail #page-header {
    display: none !important;
}

#page-local-isocial-catalog_detail .moodle-header {
    display: none !important;
}

#page-local-isocial-catalog_detail .card-body {
    padding: 0 !important;
    margin: 0 !important;
}
.isocial-faq__contact{
    display: none;
}
.isocial-faq{
    padding: 0 !important;
}
.banner-container {
    background: var(
        --local-isocial-banner-background-catalog,
        var(--local-isocial-banner-background-default, linear-gradient(120deg, #5e9bff, #446bc2))
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    margin-top: -1px;
    min-height: 500px;
    display: flex;
    justify-content: center;
}

.banner-content {
    max-width: 85%;
    display: grid;
    grid-template-columns: 60% 30%;
    align-items: center;
    column-gap: 40px;
    justify-content: center;
}

.text-content {
    flex: 2;
}

.text-content .badge {
    font-size: 14px;
    padding: 6px 14px;
    font-weight: 500;
    border-radius: 6px !important;
    background: rgb(255 255 255 / 22%) !important;
    border: 1px solid #00000000;
    color: #fff !important;
}

.subtitle {
    margin-top: 15px;
    font-size: 44px !important;
    font-weight: bold;
    color: #fff;
}
.desc_curso{
    font-size: 18px;
    font-weight: 400;
}

.description {
    margin-top: 15px;
    font-size: 17px;
    color: #ccc;
}

.rating {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.estrellas {
    color: #febe42;
    font-size: 20px;
}

.puntuacion {
    font-weight: bold;
    color: #fff;
}

.valoraciones {
    color: #bbb;
}

.instructor-info {
    margin-top: 20px;
    font-size: 15px;
    color: #ddd;
}

.instructor-info p {
    margin: 4px 0;
}

.highlight {
    color: #fff !important;
}

.instructor-name {
    color: #fff;
    font-weight: normal;
    text-decoration: underline;
}

.imagen-curso-detalle img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Estilos para la página de detalle del curso */
.detalle-curso {
    width: 100% !important;
    margin: 0 auto;
}

.banner-curso {
    background: #fff;
    color: #000;
    padding: 3rem 0;
}

.precio{
    font-size: 16px;
    font-weight: 700;
    color: rgba(0, 0, 0, 1) ;
    margin-left: 9%;
    margin-bottom: 4%;
}

.info-gratis {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.boton-inscribir-grande {
    text-align: center;
    width: 100%;
    padding: 6px 15px;
    background: rgba(240, 179, 35, 1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 28px;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: background 0.3s;
    font-weight: 600;
    box-shadow: 0px 12px 12px -2px rgba(161, 161, 161, 0.2);
}

a:hover{
    text-decoration: none !important;
    color: #fff !important;
}
.boton-inscrip{
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
}
.caracteristicas-curso {
    margin-bottom: 1.5rem;
    border-top: 2px solid #eee;
}

.caracteristica {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 13px;
}

.caracteristica:last-child {
    border-bottom: none;
}

.caracteristica i {
    width: 20px;
    color: #667eea;
}

.incluye-curso h4 {
    font-size: 13px !important;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 400;
}

.incluye-curso ul {
    list-style: none;
    padding: 0;
}

.incluye-curso li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 13px !important;
}

.incluye-curso li:before {
     content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234CAF50' class='bi bi-check-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z'/%3E%3C/svg%3E");
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Contenido principal */
.contenido-principal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.columna-contenido {
    max-width: 800px;
    margin: 0 auto;
}

.seccion-aprender, .seccion-contenido {
    margin-bottom: 3rem;
    padding: 2em;
    border: 1px solid rgba(82, 82, 82, 0.2);
    border-radius: 10px !important;
    box-shadow: 0px 12px 12px -2px rgba(219, 235, 255, 1);
}

.seccion-aprender h2, .seccion-contenido h2 {
    font-size: 24px !important;
    margin-bottom: 1.5rem;
    color: #000;
    font-weight: 500;
}

.lista-aprendizaje {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.lista-aprendizaje ul, .requisitos ul{
    list-style: none;
    padding: 0;
}

.lista-aprendizaje li, .requisitos li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.lista-aprendizaje li:before, .requisitos li:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23667eea' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.02-1.05z'/%3E%3C/svg%3E");
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: #4B97FB;
    font-weight: normal;
    font-size: 16px;
}

.resumen-contenido {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 14px;
}

.resumen-contenido span {
    margin: 0 0.5rem;
    color: rgba(75, 151, 251, 1) !important;
}

.lista-secciones {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.seccion {
    border-bottom: 1px solid #e0e0e0 !important;
    background: white;
}

.seccion:last-child {
    border-bottom: none;
}

.cabecera-seccion {
    background: #f7fafc;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.cabecera-seccion:hover {
    background: #edf2f7;
}

.numero-leccion {
    width: 30px;
    height: 30px;
    background: #3182ce;
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.cabecera-seccion h3 {
    margin: 0;
    flex: 1;
    color: #333;
}

.info-leccion {
    flex-grow: 1;
}

.info-leccion h3 {
    margin: 0;
    font-size: 16px !important;
    font-weight: 400;
    color: #000;
}

.info-seccion {
    font-size: 14px;
    color: #718096;
    display: block;
    margin-top: 2px;
}

.acciones-seccion {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ver-detalles {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.ver-detalles:hover {
    text-decoration: underline;
}

.contenido-seccion {
    padding: 1rem 1.5rem;
    background: white;
}

.clase {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.clase:last-child {
    border-bottom: none;
}

.clase i {
    color: #667eea;
}

.titulo-clase {
    flex: 1;
    color: #333;
}

.duracion-clase {
    color: #666;
    font-size: 0.9rem;
}

/* Hacer las tarjetas clickeables */
.tarjeta-curso {
    cursor: pointer;
    transition: transform 0.2s;
}

.tarjeta-curso:hover {
    transform: translateY(-5px);
}

.boton-inscribir {
    position: relative;
    z-index: 10;
}

.contenedor-banner {
    display: grid;
    grid-template-columns: 60% 30%;
    column-gap: 40px;
    max-width: 85% !important;
    margin: auto auto;
    padding: 0 !important;
    align-items: start;
    justify-content: center;
}

/* TARJETA DE INSCRIPCIÓN STICKY */
.tarjeta-inscripcion {
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(75, 151, 251, 1) ;
    padding: 1.5rem;
    color: #333;
    top: 20px;
}

/* Preguntas frecuentes */
.isocial-faq__accordion{
 border: none !important;
 box-shadow:none !important;
}


/* ========== MEDIA QUERIES RESPONSIVE ========== */

/* TABLETS (768px - 1024px) */
@media (max-width: 1024px) {
    .banner-content {
        max-width: 90%;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contenedor-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .tarjeta-inscripcion {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .lista-aprendizaje {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .subtitle {
        font-size: 28px !important;
    }
}

/* MÓVILES GRANDES (576px - 768px) */
@media (max-width: 768px) {
    .banner-container {
        padding: 30px 15px;
    }
    
    .banner-content {
        max-width: 95%;
    }
    
    .contenedor-banner {
        padding: 0 10px;
        gap: 1rem;
    }
    .tarjeta-inscripcion{
        width: 100%;
    }
    
    .subtitle {
        font-size: 24px !important;
    }
    
    .seccion-aprender,
    .seccion-contenido {
        padding: 1em;
        margin-bottom: 1.5rem;
    }
    
    .seccion-aprender h2,
    .seccion-contenido h2 {
        font-size: 1.5rem;
    }
    
    .imagen-curso-detalle img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .cabecera-seccion {
        padding: 0.8rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        min-height: 44px;
    }
    
    .contenido-seccion {
        padding: 0.8rem 1rem;
    }
    .text-content .badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .description {
        font-size: 15px;
    }
    
    .instructor-info {
        font-size: 14px;
    }
    
    .caracteristica {
        padding: 0.4rem 0;
        font-size: 14px;
    }
    
    .incluye-curso li {
        font-size: 14px;
        padding: 0.2rem 22px;
    }

     .boton-inscribir-grande {
        min-height: 50px;
    }
    
    .clase {
        min-height: 44px; /* Tamaño mínimo touch */
    }
    
}

/* MÓVILES PEQUEÑOS (hasta 576px) */
@media (max-width: 576px) {
    .banner-container {
        padding: 20px 10px;
    }
    
    .banner-content {
        max-width: 100%;
    }
    
    .subtitle {
        font-size: 26px !important;
    }
    .desc_curso{ 
        font-size: 12px;
    }
    
    .rating {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
    }
    .instructor-info p{
        text-align: center;
    }
    
    .instructor-info {
        text-align: left;
    }

    .lista-aprendizaje li{
        font-size: 12px;
    }
    
    .seccion-aprender,
    .seccion-contenido {
        padding: 0.8em;
        border-radius: 10px;
    }
    
    .seccion-aprender h2,
    .seccion-contenido h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .resumen-contenido {        
        display: flex;
        flex-direction: row;     
        font-size: 12px; 
    }
    .requisitos ul li{
        padding: 0.5rem 6px;
        position: relative;
        padding-left: 1.5rem;
        font-size: 12px;
    }
    
    .resumen-contenido span.separador {
        display: none;
    }
    
    .clase {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.6rem 0;
    }
    
    .caracteristicas-curso {
        grid-template-columns: 1fr;
    }
    
    .boton-inscribir-grande {
        padding: 12px;
        font-size: 16px;
    }
}

/* ESCRITORIOS MUY GRANDES (más de 1440px) */
@media (min-width: 1440px) {
    .contenedor-banner {
        max-width: 1400px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE ✔ */
@media (max-width: 900px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .imagen-curso-detalle img {
        width: 260px;
    }
}