
/* ===== Container ===== */
.shows-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== Grid ===== */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ===== Card ===== */
.show-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.show-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ===== Image ===== */
.show-image-wrapper {
    width: 100%;
    aspect-ratio: 2 / 3; /* format affiche */
    overflow: hidden;
    background: #f5f5f5;
}

.show-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* important */
    display: block;
}

/* ===== Content ===== */
.show-content {
    padding: 12px 15px;
}

.show-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.show-date {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
}

.show-type {
    font-size: 0.75rem;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 20px;
    background: #eee;
}

/* ===== Button load more ===== */
.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    padding: 10px 20px;
    border: none;
    background: #333;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.load-more-btn:hover {
    background: #000;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .shows-container {
        padding: 10px;
    }

    .show-title {
        font-size: 0.9rem;
    }
}

/* ========================= */
/* GLOBAL DARK */
/* ========================= */

body {
    background: #0f1115;
    color: #e6e6e6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1 {
    margin-bottom: 20px;
}

/* ========================= */
/* FILTRES */
/* ========================= */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.filters a {
    padding: 8px 14px;
    border-radius: 20px;
    background: #1a1d24;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.filters a:hover {
    background: #2a2f3a;
    color: #fff;
}

.filters a.active {
    background: #4f7cff;
    color: white;
    border-color: #4f7cff;
    box-shadow: 0 0 10px rgba(79,124,255,0.4);
}

/* ========================= */
/* GRID */
/* ========================= */

.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* ========================= */
/* CARD */
/* ========================= */

.show-card {
    background: #181b22;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.show-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* ========================= */
/* IMAGE */
/* ========================= */

.show-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* ========================= */
/* CONTENT */
/* ========================= */

.show-content {
    padding: 12px;
}

.show-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.show-meta {
    font-size: 13px;
    color: #aaa;
}

/* ========================= */
/* TAG TYPE */
/* ========================= */

.show-type {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 6px;
    background: #2a2f3a;
    color: #bbb;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 600px) {
    .shows-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .show-card img {
        height: 220px;
    }
}