.event-gallery-cms .event-gallery-admin {
    margin: 0 auto;
    max-width: 1120px;
    padding: 70px 20px 90px;
}

.event-gallery-cms .event-gallery-admin__header {
    border-bottom: 1px solid #3b3b3b;
    margin-bottom: 30px;
    padding-bottom: 24px;
}

.event-gallery-cms .event-gallery-admin__eyebrow,
.gallery-page .gallery-upcoming-events__heading p {
    color: #ff8aa0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.event-gallery-cms .event-gallery-event-picker,
.event-gallery-cms .event-gallery-map-form {
    background: #171717;
    border: 1px solid #383838;
    margin-top: 28px;
    padding: 24px;
}

.event-gallery-cms .event-gallery-event-picker > label,
.event-gallery-cms .event-gallery-search label {
    color: #fff;
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.event-gallery-cms .event-gallery-event-picker__controls,
.event-gallery-cms .event-gallery-map-form__intro {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.event-gallery-cms .event-gallery-event-picker select,
.event-gallery-cms .event-gallery-search input {
    background: #0d0d0d;
    border: 1px solid #555;
    color: #fff;
    min-height: 48px;
    padding: 10px 12px;
    width: 100%;
}

.event-gallery-cms .event-gallery-event-picker select {
    flex: 1;
}

.event-gallery-cms .event-gallery-map-form__intro {
    border-bottom: 1px solid #333;
    padding-bottom: 22px;
}

.event-gallery-cms .event-gallery-map-form__intro h2 {
    color: #fff;
    margin: 0 0 8px;
}

.event-gallery-cms .event-gallery-map-form__intro p {
    margin: 0;
    max-width: 720px;
}

.event-gallery-cms .event-gallery-search {
    margin: 24px 0 16px;
}

.event-gallery-cms .event-gallery-search__status {
    color: #b9c0c7;
    margin: 8px 0 0;
}

.event-gallery-cms .event-gallery-options {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.event-gallery-cms .event-gallery-options__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.event-gallery-cms .event-gallery-option {
    align-items: center;
    background: #101010;
    border: 1px solid #3b3b3b;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 64px minmax(0, 1fr);
    margin: 0;
    min-height: 86px;
    padding: 10px;
}

.event-gallery-cms .event-gallery-option:has(input:checked) {
    border-color: #ff496a;
    box-shadow: inset 0 0 0 1px #ff496a;
}

.event-gallery-cms .event-gallery-option--no-cover {
    grid-template-columns: auto minmax(0, 1fr);
}

.event-gallery-cms .event-gallery-option input {
    height: 22px;
    margin: 0;
    width: 22px;
}

.event-gallery-cms .event-gallery-option img {
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.event-gallery-cms .event-gallery-option__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.event-gallery-cms .event-gallery-option__text strong {
    color: #fff;
    overflow-wrap: anywhere;
}

.event-gallery-cms .event-gallery-option__text span {
    color: #b9c0c7;
    font-size: 12px;
    margin-top: 5px;
}

.event-gallery-cms .event-gallery-admin__empty {
    border: 1px solid #3b3b3b;
    margin: 28px 0 0;
    padding: 24px;
}

.event-card-galleries {
    border-top: 1px solid #333;
    margin-top: auto;
    padding: 14px;
}

.event-browser-card--with-galleries {
    display: flex;
    flex-direction: column;
}

.event-browser-card--with-galleries > a {
    height: auto;
}

.event-card-galleries__label {
    color: #b9c0c7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 9px;
    text-transform: uppercase;
}

.event-card-galleries ul {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.event-card-gallery-link {
    align-items: center;
    background: #101010;
    border: 1px solid #303030;
    color: #fff;
    display: flex;
    gap: 10px;
    min-height: 44px;
    padding: 7px;
}

.event-card-gallery-link:hover,
.event-card-gallery-link:focus-visible {
    border-color: #ff496a;
    color: #fff;
}

.event-card-gallery-link img {
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.event-card-gallery-link span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.event-catalog .event-card-galleries {
    background: #191919;
    border: 1px solid #333;
    border-top: 0;
    margin-top: 0;
}

.blog-post-list .event-card-galleries {
    background: #191919;
    margin-bottom: 24px;
}

.gallery-page .gallery-upcoming-events {
    margin-top: 72px;
    padding-bottom: 28px;
}

.gallery-page .gallery-upcoming-events__heading {
    margin-bottom: 30px;
    text-align: center;
}

.gallery-page .gallery-upcoming-events__heading h2 {
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    margin: 0;
}

@media (max-width: 767px) {
    .event-gallery-cms .event-gallery-admin {
        padding: 38px 0 60px;
    }

    .event-gallery-cms .event-gallery-event-picker__controls,
    .event-gallery-cms .event-gallery-map-form__intro {
        align-items: stretch;
        flex-direction: column;
    }

    .event-gallery-cms .event-gallery-event-picker__controls .btn,
    .event-gallery-cms .event-gallery-map-form__intro .btn {
        width: 100%;
    }

    .event-gallery-cms .event-gallery-options__grid {
        grid-template-columns: 1fr;
    }
}
