/* ============================
   UPCOMING SHOWS WRAPPER
   ============================ */
.upcoming-shows-full {
    width: 100%;
    background: #000;
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ============================
   UPCOMING SHOWS
   ============================ */
.upcoming-shows-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.upcoming-title {
    font-family: 'Algerian', var(--header-font, serif);
    font-size: 2.3rem;
    color: #c8a763;
    margin-bottom: 2rem;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.45),
        0 4px 10px rgba(0,0,0,0.35);
}

/* List layout */
.shows-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Individual show card (base) */
.show-item {
    position: relative;
    padding: 1.1rem 1.2rem;
    background: radial-gradient(circle at top left, rgba(200,167,99,0.08), rgba(0,0,0,0.95));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    text-align: center; /* CENTER by default (non-2-column layouts) */
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    box-shadow: 0 7px 18px rgba(0,0,0,0.5);

    /* Scroll + hover transforms via CSS variables */
    --scroll-scale: 1;
    --hover-translate: 0px;
    transform: translateY(var(--hover-translate)) scale(var(--scroll-scale));

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

/* Desktop hover: lift + highlight */
.show-item:hover {
    --hover-translate: -4px;
    box-shadow: 0 12px 26px rgba(0,0,0,0.7);
    border-color: rgba(200,167,99,0.7);
    background: radial-gradient(circle at top left, rgba(200,167,99,0.16), rgba(0,0,0,0.96));
}

/* Scroll-focused card (used by JS on non-desktop) */
.show-item.is-center {
    box-shadow: 0 12px 26px rgba(0,0,0,0.7);
    border-color: rgba(200,167,99,0.7);
    background: radial-gradient(circle at top left, rgba(200,167,99,0.16), rgba(0,0,0,0.96));
}

/* ============================
   DATE / VENUE / TIME
   ============================ */
.show-date {
    color: #c8a763;
    font-size: 1rem;
    margin: 0 0 0.35rem 0;
    font-family: 'Algerian', var(--header-font, serif);
    letter-spacing: 0.03em;
    display: inline-block;
    padding: 0.12rem 0.8rem;
    border-radius: 999px;
    background: rgba(200,167,99,0.12);
    border: 1px solid rgba(200,167,99,0.35);
}

/* Venue (base: centered, single-column layouts) */
.show-venue {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1rem 0 0.25rem;
    position: relative;
    padding-top: 0.9rem; /* space for line */
    text-align: center;
}

/* Accent line above venue (base: centered) */
.show-venue::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(200,167,99,0),
        rgba(200,167,99,0.9),
        rgba(200,167,99,0)
    );
    border-radius: 999px;
    opacity: 0.9;
}

/* City / location */
.show-location {
    font-size: 1rem;
    color: #c8a763;
    opacity: 0.9;
    margin-top: 0;
}

/* Time mini-badge */
.show-time {
    display: inline-block;
    font-family: sans-serif;
    color: #e6e6e6;
    font-size: 1rem;
    opacity: 0.9;
    margin: 0.35rem 0 0.5rem;
    padding: 0.12rem 0.75rem;
    border-radius: 999px;
    background: rgba(200,167,99,0.10);
    border: 1px solid rgba(200,167,99,0.28);
    letter-spacing: 0.02em;
}

/* ============================
   SHOW PHOTO
   ============================ */
.show-photo-wrapper {
    width: 100%;
    margin: 0.7rem 0 0.9rem 0;
    display: flex;
    justify-content: center; /* CENTER by default for non-2-column layouts */
}

.show-photo {
    width: 100%;
    max-width: 650px;
    max-height: 260px;
    border-radius: 7px;
    object-fit: cover;
    box-shadow: 0 7px 20px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ============================
   DESCRIPTION
   ============================ */
.show-description {
    font-family: sans-serif;
    color: #e6e6e6;
    opacity: 0.92;
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0.4rem 0 0.8rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ============================
   TICKET / RSVP LINK
   ============================ */
.ticket-link {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.48rem 1.4rem;
    font-size: 0.9rem;
    font-family: 'Algerian', var(--header-font, serif);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #000;
    background: linear-gradient(135deg, #c8a763, #7b6c55);
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(200,167,99,0.35);
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        background 0.2s ease-out;
}

.ticket-link:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 9px 22px rgba(200,167,99,0.45);
    background: linear-gradient(135deg, #7b6c55, #c8a763);
}

/* ============================
   NO SHOWS
   ============================ */
.no-shows {
    color: #e6e6e6;
    font-size: 1.05rem;
    opacity: 0.8;
    font-family: sans-serif;
    padding-top: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ============================
   ANIMATION
   ============================ */
@keyframes showCardPop {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================
   LARGE DESKTOP: 2-COLUMN GRID
   ============================ */
@media (min-width: 1200px) {

    .upcoming-shows-inner {
        max-width: 1200px;
        padding: 0 2.5rem;
    }

    .shows-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .show-item {
        flex: 0 0 calc(50% - 0.75rem); /* 2 per row */
        text-align: left;               /* LEFT in 2-column layout */
    }

    /* Photo larger + left aligned on desktop */
    .show-photo-wrapper {
        justify-content: flex-start;
    }

    .show-photo {
        max-width: 700px;
        max-height: 320px;
    }

    /* Venue + accent line left aligned on desktop */
    .show-venue {
        text-align: left;
        padding-top: 0.75rem;
    }

    .show-venue::before {
        left: 0;
        transform: none;
        width: 40%;
    }
}

/* ============================
   PHONES + TABLETS (BASE MOBILE)
   ============================ */
@media (max-width: 768px) {

    .upcoming-shows-inner {
        padding: 0 1rem;
    }

    .show-item {
        padding: 0.85rem 0.9rem 1rem;
        animation: showCardPop 0.45s ease-out both;
        box-sizing: border-box;
    }

    .show-photo {
        max-height: 190px;
        border-radius: 6px;
    }

    .show-date {
        margin-top: 0.35rem;
        font-size: 0.95rem;
    }

    .show-venue,
    .show-time,
    .show-description {
        font-size: 0.92rem;
    }

    .show-item:active {
        --scroll-scale: 0.96;
        box-shadow: 0 6px 16px rgba(0,0,0,0.7);
    }
}

/* ============================
   MID-WIDTH (BIG PHONES / SMALL TABLETS)
   ============================ */
@media (min-width: 481px) and (max-width: 768px) {

    .upcoming-shows-inner {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }

    .show-item {
        max-width: calc(100vw - 2rem);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================
   SMALL PHONES
   ============================ */
@media (max-width: 480px) {

    .upcoming-shows-inner {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .show-item {
        max-width: calc(100vw - 1.5rem);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .ticket-link {
        width: 100%;
        text-align: center;
    }
}