.nearby-page {
    background: #f6f7f1;
    color: var(--color-ink);
    min-height: 70vh;
}

.nearby-hero {
    background:
        linear-gradient(90deg, rgba(6, 24, 13, 0.94), rgba(6, 24, 13, 0.72)),
        url("../img/long-island-hat-building.webp") center / cover;
    color: #fff;
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.nearby-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
}

.nearby-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    line-height: 0.96;
    letter-spacing: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.nearby-hero .eyebrow,
.nearby-hero p {
    color: rgba(255, 255, 255, 0.94);
}

.nearby-hero p {
    max-width: 640px;
    font-size: 1.08rem;
    line-height: 1.55;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}

.nearby-results {
    margin-top: -1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 32, 22, 0.09);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 46px rgba(17, 32, 22, 0.08);
    position: relative;
    z-index: 2;
}

.nearby-results__header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.nearby-results__header h2 {
    margin: 0;
    color: var(--color-forest-800);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.nearby-results__header p {
    max-width: 620px;
    margin: 0.3rem 0 0;
    color: var(--color-muted);
}

.nearby-results__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nearby-results__grid a {
    grid-template-columns: 92px 1fr;
    min-height: 92px;
    padding: 0.45rem;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-xs);
}

.nearby-results__grid img {
    height: 78px;
}

@media (max-width: 920px) {
    .nearby-hero__inner,
    .nearby-results__grid {
        grid-template-columns: 1fr;
    }

    .nearby-hero__inner,
    .nearby-results__header {
        align-items: start;
    }

    .nearby-results__header {
        flex-direction: column;
    }
}
