/**
 * Live Shows Frontend Styles
 */

/* Upcoming and Archive Tables */
.live-shows-upcoming,
.live-shows-archive {
    margin: 20px 0;
}

.live-shows-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
}

.live-shows-table thead {
    background: #333;
    color: #fff;
}

.live-shows-table thead th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.live-shows-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.live-shows-table tbody tr:hover {
    background-color: #1122884d;
}

.live-shows-table tbody td {
    padding: 15px;
    vertical-align: middle;
}

.live-show-date {
    font-weight: bold;
    white-space: nowrap;
}

.live-show-venue {
    font-size: 16px;
}

.live-show-location {
    color: #666;
}

.live-show-ticket-button,
.live-show-archive-button {
    display: inline-block;
    padding: 8px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.live-show-ticket-button:hover,
.live-show-archive-button:hover {
    background: #005177;
    color: #fff;
}

.live-shows-no-shows {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Single Live Show Archive Page */
.live-show-archive-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.live-show-archive-page .entry-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
}

.live-show-archive-page .entry-title {
    margin-bottom: 15px;
}

.live-show-meta {
    color: #666;
    font-size: 16px;
}

.live-show-meta p {
    margin: 5px 0;
}

.live-show-date-location {
    font-size: 18px;
}

.live-show-event-name {
    font-size: 16px;
}

/* Setlist */
.live-show-setlist {
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #112288;
}

.live-show-setlist h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.setlist-items {
    list-style-position: inside;
    padding-left: 0;
    margin: 0;
}

.setlist-items li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.setlist-items li:last-child {
    border-bottom: none;
}

/* YouTube Embed */
.live-show-youtube {
    margin: 40px 0;
}

.live-show-youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.live-show-youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Photo Gallery */
.live-show-gallery {
    margin: 40px 0;
}

.live-show-gallery h2 {
    margin-bottom: 20px;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .live-shows-table {
        font-size: 14px;
    }
    
    .live-shows-table thead th,
    .live-shows-table tbody td {
        padding: 10px;
    }
    
    .live-show-ticket-button,
    .live-show-archive-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .gallery-item img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .live-shows-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
