.syrakus-performer-list {
    margin: 1.5rem 0;
}

.syrakus-performer-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 480px) {
    .syrakus-performer-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .syrakus-performer-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .syrakus-performer-items {
        grid-template-columns: repeat(var(--syrakus-performer-columns, 4), 1fr);
    }
}

.syrakus-performer-item {
    width: 100%;
    min-width: 0;
    border: 2px solid var(--syrakus-month-color-1, #333);
    padding: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.syrakus-performer-search {
    margin-bottom: 2rem;
}

.syrakus-performer-search-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.syrakus-performer-search-input:focus {
    outline: none;
    border-color: var(--wp--preset--color--highlight, #fff);
}

.syrakus-performer-item-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    overflow: hidden;
}

.syrakus-performer-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.syrakus-performer-thumb-container {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
}

.syrakus-performer-thumb,
.syrakus-performer-thumb-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
    margin-bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.syrakus-performer-thumb-placeholder {
    background: rgba(255, 255, 255, 0.1);
}

.syrakus-performer-meta {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background-color: var(--syrakus-month-color-1, #333);
    color: var(--syrakus-month-color-2, #fff);
}

.syrakus-performer-name {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: inherit;
}

.syrakus-performer-item-link:hover .syrakus-performer-name {
    text-decoration: none;
}

.syrakus-performer-genres {
    margin-bottom: 8px;
}

.syrakus-performer-description {
    margin-top: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: inherit;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.syrakus-performer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}


/* --- Performer Tag Cloud (no-image performers) --- */

.syrakus-performer-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 1.5rem 0 0;
    justify-content: center;
}

.syrakus-performer-tagcloud-item {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    background-color: var(--syrakus-month-bg-color-1, #f0f0f0);
    color: var(--syrakus-month-fg-color-1, #555);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.syrakus-performer-tagcloud-item:hover {
    background-color: var(--syrakus-month-acc-bg-color-1, #e0e0e0);
    text-decoration: none;
    color: var(--syrakus-month-acc-fg-color-1, #333);
}


/* --- Single Performer Detail View --- */

.syrakus-performer-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.syrakus-performer-cover {
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.syrakus-performer-cover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.syrakus-performer-title {
    margin: 0;
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--wp--preset--color--highlight, #fff);
}

.syrakus-performer-detail .syrakus-performer-genres {
    margin-bottom: 0;
}

.syrakus-performer-detail .syrakus-genre-chip {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.syrakus-performer-detail .syrakus-performer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.syrakus-performer-detail .syrakus-performer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 1.2rem;
}

.syrakus-performer-detail .syrakus-performer-link:hover {
    background: var(--wp--preset--color--highlight, #555);
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.syrakus-performer-detail .syrakus-performer-link span {
    display: none;
}

.syrakus-performer-detail .syrakus-performer-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #eee;
}

.syrakus-performer-video {
    width: 100%;
    margin-top: 1rem;
}

.syrakus-performer-video .syrakus-oembed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.syrakus-performer-video .syrakus-oembed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.syrakus-performer-events {
    margin-top: 0;
}

.syrakus-performer-events h2 {
    margin: 0 0 1.25rem 0;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.syrakus-performer-event-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}


.syrakus-performer-event-item {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.syrakus-performer-event-item:last-child {
    border-bottom: none;
}

.syrakus-performer-event-header-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.syrakus-performer-event-link-wrap {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    text-decoration: none !important;
    color: inherit !important;
}

.syrakus-performer-event-link-wrap:hover {
    text-decoration: none !important;
    opacity: 0.9;
}

.syrakus-performer-event-date-col,
.syrakus-performer-event-title-col,
.syrakus-performer-event-ticket-col {
    background-color: var(--syrakus-month-color-1, rgba(255, 255, 255, 0.1));
    color: var(--syrakus-month-color-2, #fff);
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    box-sizing: border-box;
}

.syrakus-performer-event-ticket-col {
    flex: 0 0 auto;
    width: auto !important;
    padding: 0 1.5rem;
    justify-content: center;
}

.syrakus-performer-event-date-col {
    flex: 0 0 auto;
    min-width: 140px;
}

.syrakus-performer-event-title-col {
    flex: 1;
}

.syrakus-performer-event-date {
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.syrakus-performer-event-name {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.syrakus-performer-event-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    margin-top: 0;
}

.syrakus-performer-event-description-link {
    text-decoration: none !important;
    color: inherit !important;
}

.syrakus-performer-event-description-link:hover {
    text-decoration: none !important;
}


.syrakus-performer-event-ticket-col {
    white-space: nowrap;
}

.syrakus-performer-event-section h2 {
    margin: 3rem 0 1.5rem 0 !important;
}

.syrakus-performer-event-section:first-child h2 {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .syrakus-performer-event-header-row {
        flex-direction: column;
        gap: 0.25rem;
        align-items: stretch;
    }

    .syrakus-performer-event-link-wrap {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        flex: none;
    }

    .syrakus-performer-event-date-col,
    .syrakus-performer-event-title-col,
    .syrakus-performer-event-ticket-col {
        width: 100%;
        height: auto;
        min-height: 3.5rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .syrakus-performer-event-date-col {
        min-width: 0;
    }

    .syrakus-performer-event-ticket-col {
        justify-content: flex-start;
    }
}
