/* ==========================================================================
   POPULAR SEARCHES
   Homepage internal-link block fed by the Search Console keyword bank.
   Every rule is scoped to .section--popular-searches so nothing leaks into
   other sections. No JavaScript, no images.
   ========================================================================== */

.section--popular-searches .section__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section--popular-searches .section__title-icon {
    flex: 0 0 auto;
}

.popular-searches__intro {
    margin: 0 0 12px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

.popular-searches__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.popular-searches__item {
    display: flex;
    max-width: 100%;
    min-width: 0;
}

.popular-searches__chip {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    max-width: 100%;
    min-width: 0;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.popular-searches__chip:hover,
.popular-searches__chip:focus-visible {
    border-color: var(--accent);
    background: #fff8e6;
    color: var(--brand);
}

.popular-searches__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popular-searches__meta {
    flex: 0 0 auto;
    color: var(--ink-mute);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .popular-searches__intro {
        margin-bottom: 10px;
        font-size: 0.84rem;
    }

    .popular-searches__list {
        gap: 6px;
    }

    .popular-searches__chip {
        gap: 6px;
        padding: 7px 11px;
        font-size: 0.8rem;
    }

    .popular-searches__meta {
        font-size: 0.6rem;
    }
}
