.yumpedia-wrap {
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.yumpedia-hero {
    max-width: 900px;
    margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

.yumpedia-hero h1 {
    margin: 0.2rem 0 0.85rem;
    color: #fff9f6;
    font-size: clamp(3.2rem, 9vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
}

.yumpedia-hero p {
    max-width: 70ch;
    margin: 0;
    color: rgba(255, 247, 242, 0.78);
    font-family: "Merriweather", serif;
    font-size: clamp(0.98rem, 1.7vw, 1.16rem);
    line-height: 1.7;
}

.yumpedia-region-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.8vw, 1.25rem);
}

.yumpedia-region-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--yumpedia-region-color, #b56a52);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(31, 24, 21, 0.94), rgba(17, 13, 11, 0.98));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.yumpedia-region-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.95rem 0.95rem 0.75rem;
}

.yumpedia-region-kicker {
    display: block;
    margin-bottom: 0.22rem;
    color: var(--yump-gold);
    font-family: "Merriweather", serif;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.yumpedia-region-head h2 {
    margin: 0;
    min-height: 2.1em;
    color: #fff9f6;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 400;
    line-height: 1.05;
}

.yumpedia-region-count {
    display: inline-flex;
    min-width: 2rem;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--yump-gold);
    font-family: "Merriweather", serif;
    font-size: 0.78rem;
}

.yumpedia-region-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
    pointer-events: none;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.yumpedia-region-map * {
    pointer-events: none;
}

.yumpedia-region-map > span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: rgba(255, 247, 242, 0.52);
    font-family: "Merriweather", serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.yumpedia-region-map.is-ready > span {
    display: none;
}

.yumpedia-history-list {
    display: grid;
    gap: 0.4rem;
    padding: 0.8rem 0.8rem 0.25rem;
}

.yumpedia-history-item {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    min-width: 0;
    border-radius: 7px;
    padding: 0.42rem;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.yumpedia-history-item:hover,
.yumpedia-history-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

.yumpedia-history-thumb {
    display: flex;
    width: 3.5rem;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--yump-gold);
    overflow: hidden;
}

.yumpedia-history-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yumpedia-history-copy {
    display: grid;
    min-width: 0;
    gap: 0.08rem;
}

.yumpedia-history-title,
.yumpedia-history-alt,
.yumpedia-history-location {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yumpedia-history-title {
    color: #fff9f6;
    font-family: "Merriweather", serif;
    font-size: 0.82rem;
    line-height: 1.25;
}

.yumpedia-history-alt {
    color: rgba(255, 247, 242, 0.62);
    font-size: 0.72rem;
    line-height: 1.25;
}

.yumpedia-history-location {
    color: var(--yump-gold);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
}

.yumpedia-region-empty {
    padding: 0.95rem;
    color: rgba(255, 247, 242, 0.64);
    font-family: "Merriweather", serif;
    font-size: 0.82rem;
    line-height: 1.55;
}

.yumpedia-more-link {
    display: block;
    margin-top: auto;
    padding: 0.8rem 0.95rem 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--yump-gold);
    font-family: "Merriweather", serif;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.yumpedia-more-link:hover,
.yumpedia-more-link:focus-visible {
    color: #fff9f6;
    text-decoration: none;
    outline: none;
}

.yumpedia-empty {
    max-width: 760px;
}

@media (max-width: 1199.98px) {
    .yumpedia-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639.98px) {
    .yumpedia-wrap {
        padding-top: 1.5rem;
    }

    .yumpedia-region-grid {
        grid-template-columns: 1fr;
    }

    .yumpedia-region-head h2 {
        min-height: 0;
    }

    .yumpedia-history-item {
        grid-template-columns: 3.75rem minmax(0, 1fr);
    }

    .yumpedia-history-thumb {
        width: 3.75rem;
    }
}
