/* ========================================
   ESTILOS MEJORADOS PARA BLOG Y DETALLES
   Sin cambiar colores, con mejor estructura
   ======================================== */

/* ========================================
   CONTENEDORES MEJORADOS
   ======================================== */

.container-enhanced {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    background: #ffffff;
    border-radius: 30px;
    padding: 60px 40px;
    margin: -50px auto 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

.detail-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    min-height: 500px;
}

/* ========================================
   HERO MEJORADO
   ======================================== */

.page-hero-enhanced {
    background: linear-gradient(135deg, #3c6ca8 0%, #4a7bbd 50%, #6b93cf 100%);
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.6) 0%, transparent 50%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
    animation: slideInDown 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ========================================
   BLOG GRID MEJORADO
   ======================================== */

.blog-section-enhanced {
    padding: 0 0 60px;
    background: #f8f9fa;
}

.blog-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.blog-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.blog-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(60, 108, 168, 0.15);
    border-color: rgba(60, 108, 168, 0.3);
}

.blog-image-wrapper-enhanced {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.blog-image-enhanced {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-enhanced:hover .blog-image-enhanced {
    transform: scale(1.08);
}

.blog-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(60, 108, 168, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #3c6ca8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.blog-card-enhanced:hover .video-indicator {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(60, 108, 168, 0.95);
    color: white;
}

.blog-content-enhanced {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content-enhanced h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
    font-weight: 700;
}

.blog-content-enhanced p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-meta-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-modalidad-badge {
    background: linear-gradient(135deg, #4a7bbd 0%, #4a7bbd 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================================
   DETALLES MEJORADOS
   ======================================== */

.blog-detail-main,
.consulta-detail-main,
.course-detail-main {
    padding: 40px 0 80px;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.blog-content-enhanced,
.consulta-content-enhanced,
.course-content-enhanced {
    animation: fadeIn 0.6s ease;
}

/* Header de detalle mejorado */
.detail-header-enhanced {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-header-enhanced h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #3c6ca8 0%, #4a7bbd 50%, #6b93cf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.detail-meta-enhanced {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.detail-meta-enhanced span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #666;
}

/* Secciones de contenido mejoradas */
.content-section-enhanced {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.content-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #3c6ca8 0%, #6b93cf 100%);
}

.content-section-enhanced h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.content-section-enhanced.video-section {
    background: linear-gradient(135deg, #eef3fb 0%, #ffffff 100%);
    padding: 0;
    overflow: visible;
}

.video-container-enhanced {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-container-enhanced iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Info Grid mejorado */
.info-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-item-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.info-item-enhanced:hover {
    border-color: rgba(60, 108, 168, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(60, 108, 168, 0.1);
}

.info-item-enhanced h3 {
    color: #3c6ca8;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-item-enhanced p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Benefits mejorados */
.benefits-list-enhanced {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.benefit-item-enhanced {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s ease;
}

.benefit-item-enhanced:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
}

.benefit-icon-enhanced {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 50px;
}

.benefit-content-enhanced h3 {
    color: #2E7D32;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
}

.benefit-content-enhanced p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section mejorada */
.cta-section-enhanced {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #eef3fb 0%, #e0f2fe 100%);
    border-radius: 25px;
    margin: 40px 0;
}

.cta-section-enhanced h2 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #3c6ca8 0%, #4a7bbd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-section-enhanced p {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 35px;
}

.cta-buttons-enhanced {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Loading mejorado */
.loading-enhanced {
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #3c6ca8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error message mejorado */
.error-message-enhanced,
.no-results-enhanced {
    text-align: center;
    padding: 80px 20px;
}

.error-content,
.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.error-icon,
.no-results-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Features grid mejorado */
.features-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item-enhanced {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item-enhanced:hover {
    background: linear-gradient(135deg, #eef3fb 0%, #ffffff 100%);
    transform: translateX(5px);
}

.feature-icon-enhanced {
    font-size: 1.5rem;
    color: #4CAF50;
    min-width: 30px;
}

.feature-text-enhanced {
    color: #555;
    line-height: 1.5;
}

/* PDF Container mejorado */
.pdf-container-enhanced {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.pdf-viewer-enhanced {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    background: #f5f5f5;
}

.pdf-actions-enhanced {
    text-align: center;
    margin-top: 20px;
}

/* Animaciones */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .container-enhanced {
        padding: 0 15px;
    }

    .content-wrapper {
        padding: 40px 20px;
        margin: -30px 15px 40px;
        border-radius: 20px;
    }

    .detail-wrapper {
        padding: 30px 20px;
        margin: 20px 15px;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .page-hero-enhanced {
        padding: 80px 0 100px;
    }

    .blog-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-header-enhanced h1 {
        font-size: 2rem;
    }

    .content-section-enhanced {
        padding: 25px 20px;
        margin: 20px 0;
    }

    .info-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-section-enhanced {
        padding: 30px 20px;
    }

    .cta-buttons-enhanced {
        flex-direction: column;
    }

    .cta-buttons-enhanced .cta-button {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .blog-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-wrapper {
        padding: 40px 30px;
    }
}

/* ========================================
   TARJETAS DE BLOG SIMPLIFICADAS
   ======================================== */

/* Contenedor principal */
.blog-cards-container {
    max-width: 1200px;
    margin: -80px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Grid de tarjetas */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

/* Tarjeta individual */
.blog-card-simple {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    height: 380px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 40px rgba(60, 108, 168, 0.12),
        0 0 0 2px rgba(60, 108, 168, 0.2);
}

/* Contenedor de imagen */
.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-simple:hover .blog-card-image img {
    transform: scale(1.08);
}

/* Overlay con gradiente en la imagen */
.blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card-simple:hover .blog-card-image::after {
    opacity: 1;
}

/* Badge de fecha */
.blog-card-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #3c6ca8;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-date::before {
    content: '📅';
    font-size: 1rem;
}

/* Badge de video */
.blog-card-video-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-card-video-badge::before {
    content: '▶';
    font-size: 0.8rem;
}

/* Contenido de la tarjeta */
.blog-card-body {
    padding: 25px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Título */
.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.blog-card-simple:hover .blog-card-title {
    color: #3c6ca8;
}

/* Meta información */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.blog-card-category {
    background: linear-gradient(135deg, #3c6ca8 0%, #4a7bbd 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-read-more {
    margin-left: auto;
    color: #3c6ca8;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.blog-card-simple:hover .blog-card-read-more {
    gap: 8px;
}

.blog-card-read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-card-simple:hover .blog-card-read-more::after {
    transform: translateX(3px);
}

/* Tarjeta sin resultados */
.no-results-card {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 20px;
    filter: grayscale(50%);
}

.no-results-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.no-results-card p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* Versión móvil con tarjetas horizontales */
@media (max-width: 640px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-card-simple {
        height: auto;
        display: flex;
        flex-direction: row;
        height: 140px;
    }
    
    .blog-card-image {
        width: 140px;
        height: 140px;
        flex-shrink: 0;
    }
    
    .blog-card-body {
        flex: 1;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .blog-card-date {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .blog-card-video-badge {
        bottom: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .blog-card-title {
        font-size: 1.1rem;
        -webkit-line-clamp: 2;
    }
    
    .blog-card-meta {
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .blog-card-category {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .blog-card-read-more {
        font-size: 0.85rem;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
    .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Animación de entrada */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card-simple {
    animation: cardFadeIn 0.5s ease backwards;
}

.blog-card-simple:nth-child(1) { animation-delay: 0.1s; }
.blog-card-simple:nth-child(2) { animation-delay: 0.2s; }
.blog-card-simple:nth-child(3) { animation-delay: 0.3s; }
.blog-card-simple:nth-child(4) { animation-delay: 0.4s; }
.blog-card-simple:nth-child(5) { animation-delay: 0.5s; }
.blog-card-simple:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   ESTILOS DETALLE DE CURSO
   ======================================== */

.course-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.course-header h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, #3c6ca8 0%, #4a7bbd 50%, #6b93cf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.course-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.course-badges .course-badge {
    position: static;
    display: inline-block;
}

.course-image-container {
    text-align: center;
    margin-bottom: 2rem;
}

.course-detail-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.course-section {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #3c6ca8;
}

.course-section h2 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-section.video-section {
    border-left-color: #e74c3c;
}

.course-section.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #eef3fb 0%, #e0f2fe 100%);
    border-left: none;
    border-top: 4px solid #3c6ca8;
}

.course-section.cta-section h2 {
    justify-content: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #3c6ca8 0%, #4a7bbd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-section.cta-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: #eef3fb;
    transform: translateX(5px);
}

.feature-icon {
    color: #27ae60;
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 25px;
}

.feature-text {
    color: #444;
    font-size: 0.95rem;
}

/* PDF Container */
.pdf-container {
    margin: 1rem 0;
}

.pdf-viewer {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
    background: #f5f5f5;
}

.pdf-actions {
    text-align: center;
    margin-top: 1.5rem;
}

/* ========================================
   RESPONSIVE DETALLE CURSO
   ======================================== */

@media (max-width: 768px) {
    .course-header h1 {
        font-size: 1.5rem;
    }
    
    .course-section {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .course-section h2 {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-item {
        padding: 10px 12px;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
    
    .pdf-viewer {
        height: 350px;
    }
    
    .course-detail-image {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .course-header {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .course-header h1 {
        font-size: 1.3rem;
    }
    
    .course-section {
        padding: 1.2rem;
        border-radius: 12px;
        border-left-width: 3px;
    }
    
    .course-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .course-section.cta-section h2 {
        font-size: 1.3rem;
    }
    
    .pdf-viewer {
        height: 300px;
    }
    
    .video-container {
        border-radius: 10px;
    }
}