/* Shared compact event lists: Location and Local Scroll pages. */
.hamlets-scroll-location-events {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: Alegreya, Georgia, serif;
}

.hamlets-scroll-location-events__title {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: center;
}

.hamlets-scroll-location-events__list {
    margin: 0;
    padding: 0;
    text-align: left;
}

/* One compact linked row per Location event on desktop. */
.hamlets-scroll-location-events__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 18px;
    margin: 0;
    padding: 10px 2px;
    border-bottom: 1px solid #e2e5e7;
    min-width: 0;
}

.hamlets-scroll-location-events__item:last-child {
    margin-bottom: 0;
}

.hamlets-scroll-location-events a.hamlets-scroll-location-events__link {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #5d705d !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.hamlets-scroll-location-events a.hamlets-scroll-location-events__link:hover,
.hamlets-scroll-location-events a.hamlets-scroll-location-events__link:focus {
    color: #e2a234 !important;
    text-decoration: none !important;
}

.hamlets-scroll-location-events__meta {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    font-family: inherit !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
    color: #586775;
}

.hamlets-scroll-location-events__pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font: 15px/1.45 Alegreya, Georgia, serif;
}

.hamlets-scroll-location-events a.hamlets-scroll-location-events__page-link {
    color: #5d705d !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.hamlets-scroll-location-events a.hamlets-scroll-location-events__page-link:hover,
.hamlets-scroll-location-events a.hamlets-scroll-location-events__page-link:focus-visible {
    color: #e2a234 !important;
    text-decoration: underline !important;
}

.hamlets-scroll-location-events__page-status { color: #586775; text-align: center; }
.hamlets-scroll-location-events__page-placeholder { min-width: 55px; }

@media (max-width: 680px) {
    .hamlets-scroll-location-events__item { flex-direction: column; align-items: stretch; gap: 3px; }
    .hamlets-scroll-location-events a.hamlets-scroll-location-events__link { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
    .hamlets-scroll-location-events__meta { white-space: normal; }
}

.hamlets-scroll-location-events__empty {
    margin: 0;
    padding: 0;
    font-family: inherit !important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
}

/* The regional list can occupy a narrow SiteOrigin column on desktop. */
.hamlets-scroll-regional-events .hamlets-scroll-location-events__item {
    flex-wrap: wrap;
    gap: 3px 12px;
}
.hamlets-scroll-regional-events .hamlets-scroll-location-events__link {
    flex: 1 1 12rem;
    min-width: 0;
}
.hamlets-scroll-regional-events .hamlets-scroll-location-events__link a {
    color: #5d705d !important;
    font: 400 18px/1.35 Alegreya, Georgia, serif !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}
.hamlets-scroll-regional-events .hamlets-scroll-location-events__link a:hover,
.hamlets-scroll-regional-events .hamlets-scroll-location-events__link a:focus {
    color: #e2a234 !important;
}
.hamlets-scroll-regional-events .hamlets-scroll-location-events__meta {
    white-space: normal;
}
@media (max-width: 680px) {
    .hamlets-scroll-regional-events .hamlets-scroll-location-events__link { flex-basis: auto; }
}


/* Only the opt-in local dining search widget. */
.hamlets-scroll-taste-search { scroll-margin-top: 100px; min-width: 0; }
.hamlets-scroll-taste-search form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.hamlets-scroll-taste-search input[type=search] {
    width: 100%; min-width: 0; height: 44px; box-sizing: border-box;
    margin: 0; padding: 6px 10px; font: inherit; border: 1px solid #ddd;
}
.hamlets-scroll-taste-search button[type=submit] {
    display: grid; place-items: center; width: 44px; min-width: 44px;
    height: 44px; box-sizing: border-box; margin: 0; padding: 0;
    background: #5d705d !important; color: #fff !important; border: 0;
    border-radius: 4px; font: inherit; cursor: pointer;
}
.hamlets-scroll-taste-search button[type=submit] svg { display: block; width: 20px; height: 20px; }
.hamlets-scroll-taste-search button[type=submit]:hover,
.hamlets-scroll-taste-search button[type=submit]:focus-visible { background: #4d5f4d !important; }
.hamlets-scroll-taste-search button[type=submit]:focus-visible,
.hamlets-scroll-taste-results .hamlets-scroll-location-events__list:focus-visible { outline: 2px solid #5d705d; outline-offset: 2px; }
.hamlets-scroll-taste-results { margin-top: 8px; text-align: left; }
.hamlets-scroll-taste-results > p { margin: 0 0 6px; }
.hamlets-scroll-taste-results .hamlets-scroll-location-events__list {
    max-height: var(--hs-taste-results-max-height, 280px);
    overflow-y: auto; overflow-x: hidden; padding-right: 6px; box-sizing: border-box;
}
.hamlets-scroll-taste-results .hamlets-scroll-location-events__item {
    flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 2px;
}
.hamlets-scroll-taste-results .hamlets-scroll-location-events__link { flex-basis: auto; }
.hamlets-scroll-taste-results .hamlets-scroll-location-events__pagination { margin-top: 8px; }
.hamlets-scroll-taste-results .hamlets-scroll-location-events__pagination:empty { display: none; }

.hamlets-scroll-taste-results .hamlets-scroll-search-clear { margin-left: 0.5em; white-space: nowrap; font-size: 0.9em; }
