/* Schedule Widget CSS */

.schedule-section {
    padding: 5rem 1rem;
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
}

.schedule-container {
    max-width: 1280px;
    margin: 0 auto;
}

.schedule-header {
    text-align: center;
    margin-bottom: 4rem;
}

.schedule-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-family: inherit;
    /* Inherit font from theme */
    line-height: 1.2;
}

.schedule-divider {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(to right, #2563eb, #60a5fa);
    margin: 0 auto;
}

.schedule-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d4ed8;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.schedule-intro {
    font-size: 1.25rem;
    color: #1d4ed8;
    max-width: 48rem;
    margin: 0 auto 1rem;
    line-height: 1.75;
}

.schedule-description {
    font-size: 1.125rem;
    color: #374151;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.schedule-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.5s ease;
    transform: translateY(0);
}

.schedule-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.schedule-card:hover .card-icon {
    transform: scale(1.1) rotate(6deg);
}

.card-icon i,
.card-icon svg {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    color: white;
    fill: white;
}

.card-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.25rem;
}

.card-time {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2563eb;
}

.card-content {
    border-left: 4px solid;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* Border color is injected inline via PHP loop */
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
}

.card-description {
    color: #374151;
    line-height: 1.625;
}

/* Responsive */
@media (min-width: 768px) {
    .schedule-title {
        font-size: 3rem;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .schedule-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}