* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
}

h5 {
    font-weight: normal;
    font-style: italic;
}

header {
    background-color: #0f3656;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 20px; /* Space between logo and title */
}

.header-title {
    color: #fff;
    font-size: 1.5em;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.description {
    color: #333;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
}

.video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 1 1 300px;
    max-width: 300px;
    min-width: 300px;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card .video-js {
    width: 100%;
    height: 150px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.video-card h3 {
    font-size: 1.2em;
    color: #003087;
    margin: 10px 0 5px;
}

.video-card p {
    font-size: 0.9em;
    color: #666;
    padding: 0 10px 10px;
}
.schedule-table {
    margin-top: 40px;
    text-align: center;
}

.schedule-table h3 {
    color: #003087;
    font-size: 1.8em;
    margin-bottom: 20px;
}

/* Desktop Table Styles */
.desktop-table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.desktop-table th, .desktop-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
    max-width: 0;
}

.desktop-table th {
    background-color: #003087;
    color: #fff;
    font-weight: bold;
}

.desktop-table td {
    color: #333;
}

.desktop-table .region-header td {
    background-color: #e0e7ff;
    color: #003087;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.desktop-table tr:last-child td {
    border-bottom: none;
}

/* Mobile Table Styles */
.mobile-table {
    display: none; /* Hidden by default, shown on mobile */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-table .region-header {
    background-color: #e0e7ff;
    color: #003087;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    padding: 15px;
    margin: 10px 0 5px;
    border-radius: 5px;
}

.mobile-table .mobile-row {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.mobile-table .mobile-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
}

.mobile-table .mobile-row-header .date {
    font-weight: bold;
    color: #003087;
    flex: 1;
}

.mobile-table .mobile-row-header .program {
    color: #333;
    flex: 2;
    text-align: right;
    word-wrap: break-word;
}

.mobile-table .mobile-row-details {
    display: none; /* Hidden by default, shown when expanded */
    padding: 10px 15px;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
}

.mobile-table .mobile-row-details p {
    margin: 5px 0;
    color: #666;
}

.mobile-table .mobile-row-details p strong {
    color: #333;
}
.help {
    font-size: 12px;
    color: black;
    font-weight: normal;
}
/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.2em;
    }

    .description {
        font-size: 1em;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .video-card {
        flex: 1 1 250px; /* Allow cards to shrink slightly */
        max-width: 250px;
        min-width: 250px;
    }

    .video-card .video-js {
        height: 120px; /* Adjust height for smaller screens */
    }
    .schedule-table h3 {
        font-size: 1.5em;
    }

    .desktop-table {
        display: none; /* Hide desktop table on mobile */
    }

    .mobile-table {
        display: block; /* Show mobile table on mobile */
    }

    .mobile-table .mobile-row-header {
        font-size: 0.9em;
    }

    .mobile-table .mobile-row-details {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .header-title {
        font-size: 1em;
        position: static;
        transform: none;
    }

    .description {
        font-size: 0.9em;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Further adjust for very small screens */
    }
    .video-card {
        flex: 1 1 100%; /* Full width for very small screens */
        max-width: 300px; /* Keep a reasonable max-width */
        min-width: 200px;
    }

    .video-card .video-js {
        height: 100px; /* Further adjust height for very small screens */
    }
    .schedule-table h3 {
        font-size: 1.2em;
    }

    .mobile-table .region-header {
        font-size: 1em;
        padding: 10px;
    }

    .mobile-table .mobile-row-header {
        font-size: 0.8em;
        padding: 10px 12px;
    }

    .mobile-table .mobile-row-details {
        font-size: 0.8em;
        padding: 8px 12px;
    }
}