.calendar-info-row {
        margin-top: 15px;
        padding: 20px;
        background: #f8fafc;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        max-height: 380px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #0D3243 #f1f5f9;
        grid-column: 1 / -1;
    }

    .calendar-info-row::-webkit-scrollbar {
        width: 6px;
    }

    .calendar-info-row::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .calendar-info-row::-webkit-scrollbar-thumb {
        background: #0D3243;
        border-radius: 10px;
    }

    .calendar-info-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
        font-weight: 700;
        color: #313450;
        margin-bottom: 20px;
        font-size: 1rem;
    }

    .calendar-info-title i {
        color: #0D3243;
        font-size: 1.2rem;
    }

    .info-item.full-width {
        grid-column: 1 / -1;
    }

    /* Video play icon overlay */
    .course-gallery .ratio {
        position: relative;
    }

    .course-gallery .video-play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background: rgba(0, 98, 114, 0.85);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 20px;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .course-gallery a:hover .video-play-icon {
        background: rgba(0, 176, 185, 0.95);
        transform: translate(-50%, -50%) scale(1.1);
    }

    /* Button Color Variants */
    .main-btn.btn-primary {
        background: #0D3243 !important;
        border-color: #0D3243 !important;
        color: #fff !important;
    }

    .main-btn.btn-success {
        background: #2e7d32 !important;
        border-color: #2e7d32 !important;
        color: #fff !important;
    }

    .main-btn.btn-warning {
        background: #fbc02d !important;
        border-color: #fbc02d !important;
        color: #333 !important;
    }

    .main-btn.btn-danger {
        background: #c62828 !important;
        border-color: #c62828 !important;
        color: #fff !important;
    }

    .main-btn.btn-orange {
        background: #ef6c00 !important;
        border-color: #ef6c00 !important;
        color: #fff !important;
    }

    .main-btn.btn-primary:hover {
        background: #004d5a !important;
        filter: brightness(1.1);
    }

    .main-btn.btn-success:hover {
        background: #1b5e20 !important;
        filter: brightness(1.1);
    }

    .main-btn.btn-warning:hover {
        background: #f9a825 !important;
        filter: brightness(1.1);
    }

    .main-btn.btn-danger:hover {
        background: #b71c1c !important;
        filter: brightness(1.1);
    }

    .main-btn.btn-orange:hover {
        background: #e65100 !important;
        filter: brightness(1.1);
    }

    /* Gradient background for courses page */
    .courses-grid,
    .course-search {
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    }

    /* Course Detail Enhancements */
    .course-detail-card {
        padding: 40px !important;
        background: #fff;
        border-radius: 24px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        margin-bottom: 30px;
    }

    .course-header-section h1 {
        font-size: 2rem;
        line-height: 1.3;
        color: #1e293b;
        margin-bottom: 1rem;
    }

    .course-subtitle {
        font-weight: 500;
        letter-spacing: 0.01em;
        margin-bottom: 1.5rem;
    }

    .course-divider-subtle {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, #e2e8f0, rgba(226, 232, 240, 0.1));
        margin: 20px 0;
    }

    .text-justify {
        text-align: justify;
        line-height: 1.8;
    }

    .course-description-content {
        text-align: left !important;
        width: 100%;
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: 1rem;
        line-height: 1.65;
        color: #475569;
    }

    .course-description-content .lead {
        color: inherit;
        font-size: inherit;
        line-height: inherit;
        margin-bottom: 0;
    }

    .course-description-content .lead * {
        font-size: inherit;
        line-height: inherit;
    }

    .course-description-content .lead p {
        margin: 0 0 1.2em;
        display: block;
    }

    .course-description-content .lead p:last-child {
        margin-bottom: 0;
    }

    .course-description-content .lead br {
        content: normal;
        display: initial;
        margin-bottom: 0;
    }

    /* Simple fix for first paragraph gap */
    .course-description-content p:first-child {
        margin-top: 0;
    }

    .course-description-content p {
        margin-bottom: 1.2em;
    }

    .course-description-content p:last-child {
        margin-bottom: 0;
    }

    .course-description-content ul,
    .course-description-content ol {
        padding-left: 1.5rem;
        margin: 0.35rem 0 0.65rem;
        font-size: inherit;
        line-height: inherit;
    }

    .course-description-content ul {
        list-style-type: disc;
    }

    .course-description-content ol {
        list-style-type: decimal;
    }

    .course-description-content li {
        margin-bottom: 0.25rem;
        font-size: inherit;
        line-height: inherit;
    }

    .course-description-content b,
    .course-description-content strong {
        font-weight: 800;
        color: #1e293b;
    }

    .course-description-content li b,
    .course-description-content li strong {
        font-weight: 800 !important;
    }

    .course-description-content a {
        color: #0D3243;
        text-decoration: underline;
        font-weight: 600;
        transition: color 0.3s;
    }

    .course-description-content a:hover {
        color: #D2591F;
    }

    /* Force 4:3 Aspect Ratio for Course Cards */
    .single-service.course-card .image-wrapper {
        width: 100%;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        border-radius: 8px 8px 0 0;
        background: #f1f5f9;
        position: relative;
    }

    .single-service.course-card .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    /* Closed Banner - Diagonal overlay */

    .single-service.course-card .image-wrapper .closed-banner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-25deg);
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
        color: #fff;
        font-weight: 800;
        font-size: 1.1rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        padding: 8px 60px;
        box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
        z-index: 10;
        white-space: nowrap;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50px;
    }

    .single-service.course-card .image-wrapper .closed-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: -1;
        border-radius: 50px;
    }

    /* Ribbon más grande en el detalle */
    .course-card.detail-ribbon-wrap .ribbon {
        font-size: 14px !important;
        padding: 10px 25px 10px 18px !important;
        top: 35px !important;
        border-radius: 0 30px 30px 0 !important;
        letter-spacing: 0.5px !important;
    }

    /* Darken image when closed */
    .single-service.course-card .image-wrapper:has(.closed-banner) img {
        filter: grayscale(30%) brightness(0.7);
    }
