/* AB Gigs Plugin - Structural CSS */
/* Layout and positioning only - no visual styling */

/* TO DO: unify/increase parallel structure in #gigs .gig .date * and .date-badge * */

/* Shared */
.date-end::before {
    display: block;
    margin-top: 0.1rem;
    content: "↓";
    content: "\2193"; /* same */
    /* content: "\2B63"; */
    /* content: "\2B07"; */
    /* content: "\279b"; */
    /* content: "\279e"; */
    /* content: "\279d"; */
    /* transform: rotate(90deg); */
}

/* Compact Gigs List */
#gigs-compact {
    margin: 0 0 1em;
}

#gigs-compact .gig {
    margin-bottom: 0.75em;
}

#gigs-compact .gig:last-child {
    margin-bottom: 0;
}

#gigs-compact .gig a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75em;
}

#gigs-compact .date-badge {
    flex-shrink: 0;
    text-align: center;
    min-width: 2.5em;
    line-height: 1.1;
}

.date-badge span {
    display: block;
}

#gigs-compact .gig .date-badge .month, 
#gigs-compact .gig .date-badge .date-start, 
#gigs-compact .gig .date-badge .date-end {
    font-size: 0.8em;
    font-weight: bold;
}

/* more spacing when year is hidden */
#gigs-compact .date-end::before {
        line-height: 1.5em;
}

#gigs-compact .gig .event {
    flex: 1;
    line-height: 1.3;
}

/* Upcoming Gigs Archive Page */
.ab-gigs-archive {
    max-width: 800px;
    margin: 0 auto;
}

.gig-entry {
    margin-bottom: 3em;
}

.gig-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1em;
    margin-bottom: 1em;
}

.date-badge {
    flex-shrink: 0;
    text-align: center;
    min-width: 4em;
}

.date-badge span {
    display: block;
}
.date-badge .month, .date-badge .date-start, .date-badge .date-end {
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: bold;
}
.date-badge .date-end {
    margin-bottom: -.15em;
    /* tighter space after small text before year */
}
.date-badge .day {
    font-size: 2em;
    font-weight: bold;
    line-height: .65;
    margin-top: 0.2em;
}

.date-badge .year {
    font-size: 0.9em;
    margin-top: 0.2em;
    line-height: 1.2;
}

.gig-main-info {
    flex: 1;
    min-width: 250px;
}

.gig-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.gig-subtitle {
    font-size: 1.1em;
    margin-bottom: 0.5em;
}

.gig-venue-info {
    margin-bottom: 0.5em;
}

.gig-venue {
    font-weight: bold;
}

.gig-address {
    font-size: 0.9em;
    margin-top: 0.25em;
}

.gig-time-info {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    font-size: 0.9em;
}

.gig-time-doors::before {
    content: "Doors: ";
    font-weight: bold;
}

.gig-time-show::before {
    content: "Show: ";
    font-weight: bold;
}

.gig-admittance {
    font-weight: bold;
}

.gig-links {
    margin-top: 1em;
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

.gig-link {
    text-decoration: none;
    font-size: 0.9em;
}

.gig-description {
    margin-top: 1em;
    line-height: 1.6;
}

.gig-description p:last-child {
    margin-bottom: 0;
}

/* Gig Thumbnails */
.gig-thumbnail {
    margin-top: 1em;
    text-align: center;
}

.gig-featured-image {
    max-width: 100%;
    height: auto;
}

/* Past Gigs Navigation */
.ab-gigs-navigation {
    margin: 2em 0;
    text-align: center;
}

.ab-gigs-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    flex-wrap: wrap;
    margin: 1em 0;
}

.ab-gigs-pagination a,
.ab-gigs-pagination span {
    text-decoration: none;
}

/* Archive Links */
.archive-link {
    display: inline-block;
    margin: 1em 0;
    text-decoration: none;
    font-weight: bold;
}