/* EVENTS - Event title */
.musicomplex-events .musicomplex-event-label {
    text-align: center;
    font-weight: 700;
    margin: 0 0 5px;
}

.musicomplex-events .musicomplex-event-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    color: #252525;
    margin: 0 0 32px;
    overflow-wrap: anywhere;
}

/* EVENTS - Event details */
.musicomplex-event-details {
    text-align: center;
    margin: 0 auto 40px;
}

.musicomplex-event-details p {
    margin: 0 0 8px;
    line-height: 1.5;
}

.musicomplex-event-details p:last-child {
    margin-top: 12px;
    font-size: 14px;
    color: #777;
}

.musicomplex-event-details p:last-child strong {
    font-weight: 400;
}

/* EVENTS - Performance cards */

.musicomplex-performance-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #d4d9e0;
    background: #f2f3f5;
}

.musicomplex-performance-main {
    display: flow-root;
}

.musicomplex-performance-content {
    min-width: 0;
}

.musicomplex-performance-main > img {
    float: left;
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 24px 16px 0;
    object-fit: cover;
}

.musicomplex-performance-bottom {
    margin-top: auto;
}

.musicomplex-performance-content h3 {
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
}

.musicomplex-performance-footer {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
}

/* EVENTS - Responsive performance cards */

@media (max-width: 480px) {
    .musicomplex-performance-card {
        padding: 16px;
    }

    .musicomplex-performance-main > img {
        float: none;
        width: 100%;
        height: auto;
        margin: 0 0 16px;
    }
}

/* EVENTS - Performance grid */
.musicomplex-performances-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.musicomplex-performances-grid .musicomplex-performance-card {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .musicomplex-performances-grid {
        grid-template-columns: 1fr;
    }
}

/* EVENTS - Performance time */
.musicomplex-performance-time {
    clear: both;
    width: fit-content;
    margin: 0 0 0 auto;
    padding: 4px 8px;
    background: #f1f1f1;
    color: #444;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 2px;
}


/* EVENTS - Performance card colours */
.musicomplex-performance-card {
    color: #444;
}

.musicomplex-performance-content h3 {
    color: #252525;
}

.musicomplex-artist-description {
    color: #555;
}

.musicomplex-performance-time {
    background: #e1e1e1;
    color: #000;
}

.musicomplex-performance-footer {
    border-top-color: #d4d9e0;
}

.musicomplex-performance-footer a {
    color: #e65c00;
}

/** Toggle **/
.musicomplex-artist-description-toggle {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.musicomplex-artist-description-toggle:hover {
    text-decoration: underline;
}

.musicomplex-artist-description-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
