/**
 * Band Schedule Display - Frontend Styles
 *
 * @package Band_Schedule
 * @version 1.0.0
 */

/* Widget Container */
.band-schedule-widget {
    position: relative;
    box-sizing: border-box;
}

.band-schedule-widget * {
    box-sizing: border-box;
}

/* Month Heading */
.band-schedule-month-heading {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.2;
    display: inline-block;
    width: auto;
    position: relative;
    z-index: 1;
}

/* Month Heading Background */
.band-schedule-month-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: inherit;
}

/* Events List */
.band-schedule-events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Event Item */
.band-schedule-event-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

/* Add hover effect for clickable items (links) */
a.band-schedule-event-item {
    cursor: pointer;
}

a.band-schedule-event-item:hover {
    transform: translateX(5px);
    opacity: 0.8;
}

/* Date Circle */
.band-schedule-date-circle {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    border: 2px solid #000;
}

/* Event Details */
.band-schedule-event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Band Name */
.band-schedule-band-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

/* Band Style */
.band-schedule-band-style {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    opacity: 0.8;
}

/* Fallback Message */
.band-schedule-fallback {
    font-size: 16px;
    font-style: italic;
    opacity: 0.7;
    text-align: center;
    padding: 20px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .band-schedule-month-heading {
        font-size: 24px;
    }

    .band-schedule-event-item {
        gap: 15px;
    }

    .band-schedule-date-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .band-schedule-band-name {
        font-size: 18px;
    }

    .band-schedule-band-style {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .band-schedule-month-heading {
        font-size: 20px;
    }

    .band-schedule-event-item {
        gap: 12px;
    }

    .band-schedule-date-circle {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .band-schedule-band-name {
        font-size: 16px;
    }

    .band-schedule-band-style {
        font-size: 13px;
    }
}

/* Ensure link styling doesn't override design */
a.band-schedule-event-item:hover .band-schedule-band-name,
a.band-schedule-event-item:hover .band-schedule-band-style,
a.band-schedule-event-item:hover .band-schedule-date-circle {
    color: inherit;
    text-decoration: none;
}

/* Print Styles */
@media print {
    .band-schedule-widget {
        break-inside: avoid;
    }

    a.band-schedule-event-item {
        text-decoration: none;
        color: inherit;
    }

    a.band-schedule-event-item:hover {
        transform: none;
        opacity: 1;
    }
}
