/* ============================================
   ANCHOR PILLS
   ============================================ */

.hec-anchor-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 20px 10px;
    margin: 0;
    padding: 0;
}

.hec-anchor-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 0;
    padding: 10px 16px;

    border: 0 solid transparent;
    border-radius: 9999px;
    background: #ffffff;

    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.52em;

    color: #212121;
    text-decoration: none;

    white-space: nowrap;
    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.hec-anchor-pill:hover {
    background: var(--color-bg-alt, #DCE0CF);
    color: var(--color-primary, #4E5B31);
    text-decoration: none;
}

.hec-anchor-pill--plus {
    width: 54px;
    height: 54px;
    min-width: 54px;
    padding: 0;
    border-radius: 9999px;
    font-size: 24px;
    line-height: 1;
}


/* ============================================
   ANCHOR PILLS: active state
   ============================================ */

.hec-anchor-pill.is-active {
    background: var(--color-bg-alt, #DCE0CF);
    color: var(--color-primary, #4E5B31);
}


@media (max-width: 767px) {
    .hec-anchor-pills {
        width: 100%;
        min-width: 0;
        gap: 10px;
    }

    .hec-anchor-pill {
        max-width: 100%;
        min-width: 0;
        min-height: 0;

        padding: 11px 18px;
        font-size: 14px;

        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
        text-align: center;
    }

    .hec-anchor-pill--plus {
        width: 44px;
        height: 44px;
        min-width: 44px;
        max-width: 44px;
        padding: 0;
        font-size: 20px;
        white-space: nowrap;
    }
}