/* Styles for the dance schedule timetable */

.schedule-container {
    margin: 20px auto;
    padding: 15px;
    max-width: 1200px;
    font-family: sans-serif;
}

.schedule-heading {
    text-align: center;
    margin-bottom: 30px;
    color: #000;
}

.schedule-grid {
    display: grid;
    /* Start with 1 column for mobile, adjust via media queries */
    grid-template-columns: 1fr;
    gap: 20px;
}

.day-column {
    background-color: #f9f9f9;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.day-column h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    color: #000;
    border-bottom: 2px solid #d11317;
    padding-bottom: 10px;
}

.timeslot {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 10px;
    position: relative; /* For potential future absolute positioning inside */
}

.timeslot-time {
    font-weight: bold;
    color: #d11317; /* Akzentfarbe Rot */
    margin-bottom: 5px;
    display: block;
}

.timeslot-course {
    font-weight: bold;
    margin-bottom: 5px;
    color: #000;
}

.timeslot-details span {
    display: block;
    font-size: 0.9em;
    color: #000;
    margin-bottom: 3px;
    text-decoration: none !important; /* Entfernt Unterstreichungen */
}

.timeslot-details .detail-label {
    font-weight: 600;
    color: #000;
}

/* Ensure no underlines in the entire timetable */
.schedule-container a,
.schedule-container span,
.timeslot span,
.timeslot-details span,
.timeslot * {
    text-decoration: none !important;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .schedule-grid {
        /* Adjust columns based on number of days, aiming for 3 columns */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 1024px) {
    .schedule-grid {
        /* Example: Force 5 columns for wider screens if you have 5 days */
        /* grid-template-columns: repeat(5, 1fr); */
        /* Or keep auto-fit for flexibility */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
