.taproom-events {
    --tap-black: #1d1d1d;
    --tap-gold: #9a6a08;
    --tap-yellow: #f2c94c;
    --tap-border: #d8d2c7;
    width: min(100%, 1100px);
    margin: 0 auto;
    color: var(--tap-black);
}

.taproom-events__intro {
    padding: 28px 0;
    border-bottom: 3px solid var(--tap-yellow);
}

.taproom-events__intro h2,
.taproom-events__upcoming-title {
    margin: 4px 0 8px;
    font-family: Georgia, serif;
    letter-spacing: 0;
}

.taproom-events__nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px 0;
}

.taproom-events__nav a:last-child {
    text-align: right;
}

.taproom-events__weekdays,
.taproom-events__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.taproom-events__weekdays span {
    padding: 8px;
    color: #fff;
    background: var(--tap-black);
    text-align: center;
    font-weight: 700;
}

.taproom-events__days > div,
.taproom-events__days > span {
    min-height: 110px;
    padding: 8px;
    border-right: 1px solid var(--tap-border);
    border-bottom: 1px solid var(--tap-border);
}

.taproom-events__days > :nth-child(7n + 1) {
    border-left: 1px solid var(--tap-border);
}

.taproom-events__days a,
.taproom-events__days div > span {
    display: block;
    margin-top: 7px;
    padding: 5px;
    color: var(--tap-black);
    background: #f7e7aa;
    font-size: 13px;
    line-height: 1.25;
    text-decoration: none;
}

.taproom-events__upcoming-title {
    margin-top: 42px;
}

.taproom-events__list article {
    display: block;
    padding: 24px 0;
    border-top: 1px solid var(--tap-border);
}

.taproom-events__artist-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    color: inherit;
    text-decoration: none;
}

.taproom-events__artist-link.has-image {
    grid-template-columns: 180px minmax(0, 1fr);
}

.taproom-events__artist-link:hover h3,
.taproom-events__artist-link:focus-visible h3 {
    color: #7a211f;
    text-decoration: underline;
}

.taproom-events__list img {
    width: 180px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
}

.taproom-events__list time,
.taproom-events__genre,
.taproom-events__cover {
    color: var(--tap-gold);
    font-weight: 700;
}

.taproom-events__genre {
    margin: 0 0 6px;
}

.taproom-events__list h3 {
    margin: 5px 0;
    font-family: Georgia, serif;
    letter-spacing: 0;
}

.taproom-artists,
.taproom-artist-profile {
    --tap-artist-ink: #191919;
    --tap-artist-red: #7a211f;
    --tap-artist-border: #d8d0c5;
    box-sizing: border-box;
    width: min(100%, 1180px);
    margin: 0 auto;
    color: var(--tap-artist-ink);
}

.taproom-artists *,
.taproom-artist-profile * {
    box-sizing: inherit;
}

.taproom-artists__intro {
    padding: 10px 0 26px;
    border-bottom: 1px solid #ded7cc;
}

.taproom-artists__intro > p:first-child,
.taproom-artist-profile__heading p {
    margin: 0 0 8px;
    color: var(--tap-artist-red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.taproom-artists__intro h1,
.taproom-artist-profile h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 0.96;
    letter-spacing: 0;
}

.taproom-artists__intro > p:last-child {
    max-width: 720px;
    margin: 14px 0 0;
    color: #4f4f4f;
    font-size: 17px;
    line-height: 1.55;
}

.taproom-artists__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.taproom-artists__card {
    overflow: hidden;
    border: 1px solid var(--tap-artist-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(22, 16, 11, 0.08);
}

.taproom-artists__card > a {
    display: flex;
    height: 100%;
    color: inherit;
    text-decoration: none;
    flex-direction: column;
}

.taproom-artists__card > a:hover,
.taproom-artists__card > a:focus-visible {
    color: inherit;
    transform: translateY(-2px);
}

.taproom-artists__photo {
    display: flex;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background: #171717;
}

.taproom-artists__photo img,
.taproom-artist-profile__hero img,
.taproom-artist-profile__gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.taproom-artists__placeholder {
    background: #1d2f36;
    color: #f6d67b;
    font-size: 48px;
    font-weight: 900;
}

.taproom-artists__card-body {
    display: flex;
    flex: 1;
    padding: 20px;
    flex-direction: column;
}

.taproom-artists__card-body > strong {
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 1.05;
}

.taproom-artists__card-body > span {
    margin-top: 8px;
    color: #666;
}

.taproom-artists__card-body > b {
    margin-top: auto;
    padding-top: 22px;
    color: var(--tap-artist-red);
}

.taproom-artists__empty,
.taproom-artist-profile--missing {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--tap-artist-border);
    border-radius: 8px;
    background: #faf7f2;
}

.taproom-artist-profile__back {
    margin: 0 0 16px;
}

.taproom-artist-profile__back a,
.taproom-artist-profile--missing a {
    color: var(--tap-artist-red);
    font-weight: 800;
}

.taproom-artist-profile__hero {
    overflow: hidden;
    margin-bottom: 28px;
    aspect-ratio: 16 / 8;
    border-radius: 8px;
    background: #171717;
}

.taproom-artist-profile__heading {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    align-items: center;
}

.taproom-artist-profile__logo {
    display: flex;
    width: 150px;
    height: 150px;
    padding: 14px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tap-artist-border);
    border-radius: 8px;
    background: #fff;
}

.taproom-artist-profile__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.taproom-artist-profile__heading span {
    display: block;
    margin-top: 12px;
    color: #5d5d5d;
    font-size: 18px;
}

.taproom-artist-profile__bio {
    max-width: 760px;
    margin: 34px 0;
}

.taproom-artist-profile__bio h2,
.taproom-artist-profile__events h2,
.taproom-artist-profile__gallery h2 {
    margin: 0 0 14px;
    font-family: Georgia, serif;
    font-size: 26px;
}

.taproom-artist-profile__bio p {
    font-size: 17px;
    line-height: 1.7;
}

.taproom-artist-profile__links {
    display: flex;
    gap: 10px;
    margin: 28px 0 38px;
    flex-wrap: wrap;
}

.taproom-artist-profile__links a {
    display: inline-flex;
    padding: 10px 16px;
    border: 1px solid var(--tap-artist-red);
    border-radius: 999px;
    color: var(--tap-artist-red);
    font-weight: 800;
    text-decoration: none;
}

.taproom-artist-profile__links a:hover,
.taproom-artist-profile__links a:focus-visible {
    background: var(--tap-artist-red);
    color: #fff;
}

.taproom-artist-profile__events {
    margin: 34px 0;
}

.taproom-artist-profile__events > div {
    display: grid;
    gap: 12px;
    max-width: 820px;
}

.taproom-artist-profile__events article {
    padding: 16px;
    border: 1px solid var(--tap-artist-border);
    border-radius: 8px;
    background: #fff;
}

.taproom-artist-profile__events time {
    font-weight: 900;
}

.taproom-artist-profile__events time span {
    display: block;
    margin-top: 4px;
    color: #606060;
    font-weight: 700;
}

.taproom-artist-profile__gallery > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.taproom-artist-profile__gallery figure {
    margin: 0;
}

.taproom-artist-profile__gallery img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

@media (max-width: 680px) {
    .taproom-events__days > div,
    .taproom-events__days > span {
        min-height: 72px;
        padding: 4px;
    }

    .taproom-events__days a,
    .taproom-events__days div > span {
        overflow: hidden;
        padding: 3px;
        font-size: 10px;
    }

    .taproom-events__artist-link.has-image {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 15px;
    }

    .taproom-events__list img {
        width: 96px;
    }

    .taproom-artists__intro h1,
    .taproom-artist-profile h1 {
        font-size: 42px;
    }

    .taproom-artist-profile__hero {
        aspect-ratio: 4 / 3;
    }

    .taproom-artist-profile__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .taproom-artist-profile__logo {
        width: 112px;
        height: 112px;
    }
}
