/* ============================================================
   Gig Manager — Front-end styles
   Designed to work across most WordPress themes.
   Colours use CSS variables with sensible fallbacks.
   ============================================================ */

.gig-manager-section {
    margin-bottom: 3rem;
}

.gig-manager-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid currentColor;
    opacity: 0.9;
}

.gig-manager-past .gig-manager-heading {
    opacity: 0.6;
}

.gig-manager-empty {
    font-style: italic;
    opacity: 0.65;
    margin: 0.5rem 0;
}

/* ---- List ---- */
.gig-manager-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ---- Card ---- */
.gig-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(0, 0, 0, 0.035);
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.2s ease;
}

.gig-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gig-manager-past .gig-card {
    opacity: 0.7;
}

/* ---- Date badge ---- */
.gig-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    background: #111;
    color: #fff;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.1;
}

.gig-manager-past .gig-date-badge {
    background: #666;
}

.gig-date-day {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.gig-date-month {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.gig-date-year {
    font-size: 0.65rem;
    opacity: 0.75;
    margin-top: 2px;
}

/* ---- Card body ---- */
.gig-card-body {
    flex: 1;
    min-width: 0;
}

.gig-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
    padding: 0;
    border: none;
    line-height: 1.3;
}

/* ---- Details list ---- */
.gig-details {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.gig-detail {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    font-size: 0.92rem;
    opacity: 0.85;
}

.gig-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1;
}

/* ---- Ticket button ---- */
.gig-ticket-btn {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    background: #111;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, transform 0.15s ease;
}

.gig-ticket-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/* ---- Responsive ---- */
@media ( max-width: 480px ) {
    .gig-card {
        flex-direction: column;
        gap: 0.85rem;
    }

    .gig-date-badge {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        width: auto;
        padding: 0.35rem 0.75rem;
    }

    .gig-date-day   { font-size: 1.2rem; }
    .gig-date-month { font-size: 0.8rem; }
    .gig-date-year  { font-size: 0.75rem; }
}
