.eos-events {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.eos-events-header {
    margin-bottom: 30px;
}

.eos-events-header h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1;
}

.eos-events-header p {
    margin: 10px 0 0;
    opacity: .65;
}

.eos-events-kicker {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .58;
}


/* GRID */

.eos-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
}


/* CARD */

.eos-event-card {
    min-width: 0;
    border-top: 1px solid rgba(128,128,128,.28);
    padding-top: 15px;
}

.eos-event-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #111;
}

.eos-event-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eos-event-poster-fallback {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 22px;
    box-sizing: border-box;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            #111 0%,
            #222 55%,
            #090909 100%
        );
}

.eos-event-fallback-name {
    max-width: 90%;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
}

.eos-event-fallback-label {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    opacity: .55;
}


/* INFO */

.eos-event-info {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 15px;
    margin-top: 14px;
}

.eos-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 12px;
    border-right: 1px solid rgba(128,128,128,.28);
}

.eos-event-month {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.eos-event-day {
    margin: 2px 0;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
}

.eos-event-year {
    font-size: 10px;
    opacity: .55;
}

.eos-event-headliner {
    margin: 0;
    font-size: 21px;
    line-height: 1.05;
}

.eos-event-headliner a {
    color: inherit;
    text-decoration: none;
}

.eos-event-headliner a:hover,
.eos-event-headliner a:focus {
    text-decoration: underline;
}

.eos-event-place {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.35;
}

.eos-event-place strong,
.eos-event-place span {
    display: block;
}

.eos-event-place span {
    margin-top: 2px;
    opacity: .65;
}

.eos-event-lineup {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    opacity: .62;
}


/* ACTIONS */

.eos-event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.eos-event-button {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 1px solid currentColor;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

.eos-event-button:hover,
.eos-event-button:focus {
    opacity: .68;
}

.eos-event-button.is-primary {
    font-weight: 900;
}


/* ARCHIVE */

.eos-events-archive-link {
    margin-top: 35px;
    text-align: center;
}

.eos-events-archive-link a {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.eos-events-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 38px;
}

.eos-events-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border: 1px solid rgba(128,128,128,.4);
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.eos-events-pagination a.is-current {
    background: currentColor;
}

.eos-events-pagination a.is-current::first-line {
    color: inherit;
}

.eos-events-empty {
    padding: 30px 0;
    opacity: .65;
}


/* TABLET */

@media (max-width: 980px) {

    .eos-events-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}


/* MOBILE */

@media (max-width: 640px) {

    .eos-events-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .eos-event-poster {
        aspect-ratio: 4 / 5;
    }

    .eos-event-info {
        grid-template-columns:
            58px
            minmax(0, 1fr);
    }
}

/* ==========================================================
   EOS EVENTS — PAGE SHELL CLEANUP
   Generic WordPress page title is redundant with the
   event-system heading.
   ========================================================== */

body.eos-events-page .army-page-header {
    display: none;
}

body.eos-events-page .army-page {
    margin-top: 0;
}

body.eos-events-page .army-page-content {
    margin-top: 0;
}


/* ==========================================================
   EOS EVENTS — SUPPORT / BILL HIERARCHY
   Secondary artists stay clearly below the headliner.
   ========================================================== */

.eos-event-lineup {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
    opacity: .58;
}

.eos-event-lineup a {
    color: inherit;
    text-decoration: none;
}

.eos-event-lineup a:hover,
.eos-event-lineup a:focus {
    text-decoration: underline;
    opacity: 1;
}
