.name-section-promo {
    box-sizing: border-box;
    margin: 4px 0 18px;
    padding: 12px 14px;
    color: #301f6d;
    background: #f3f1f8;
    border-left: 4px solid #5a35b5;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 3px 12px rgba(48, 31, 109, .08);
}

.name-section-promo__heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.name-section-promo__heading h2 {
    margin: 0;
    color: #5a35b5;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.15;
}

.name-section-promo__heading p {
    margin: 2px 0 0;
    color: #59449b;
    font-size: 14px;
    line-height: 1.3;
}

.name-section-promo__count {
    flex: 0 0 auto;
    padding-top: 3px;
    color: #59449b;
    font-size: 13px;
    font-weight: 700;
}

.name-section-promo__controls {
    display: none;
}

.name-section-promo.is-enhanced .name-section-promo__controls {
    display: block;
}

.name-section-promo__tabs,
.name-section-promo__letters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 0 0 3px;
    scrollbar-width: thin;
}

.name-section-promo__tabs {
    margin-top: 9px;
}

.name-section-promo__letters {
    margin-top: 6px;
}

.name-section-promo__tab,
.name-section-promo__letter {
    flex: 0 0 auto;
    box-sizing: border-box;
    min-height: 30px;
    padding: 4px 10px;
    color: #4e3a97;
    background: #fff;
    border: 1px solid #d8d0eb;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.name-section-promo__letter {
    min-width: 30px;
    padding-right: 7px;
    padding-left: 7px;
}

.name-section-promo__tab:hover,
.name-section-promo__letter:hover {
    color: #301f6d;
    border-color: #765fc0;
}

.name-section-promo__tab[aria-selected="true"],
.name-section-promo__letter[aria-pressed="true"] {
    color: #301f6d;
    background: #ffd227;
    border-color: #e1b900;
}

.name-section-promo__tab:focus-visible,
.name-section-promo__letter:focus-visible,
.name-section-promo__link:focus-visible {
    outline: 3px solid #ffd227;
    outline-offset: 2px;
}

.name-section-promo__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    box-sizing: border-box;
    max-height: 104px;
    overflow-y: auto;
    margin: 9px 0 0;
    padding: 0 3px 0 0;
    list-style: none;
}

.name-section-promo__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.name-section-promo__item[hidden] {
    display: none;
}

.name-section-promo__link {
    display: block;
    padding: 5px 10px;
    color: #59449b;
    background: #fff;
    border: 1px solid #e0daef;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.name-section-promo__link:hover {
    color: #301f6d;
    border-color: #765fc0;
    text-decoration: underline;
}

.name-section-promo__empty {
    margin: 9px 0 0;
    color: #59449b;
    font-size: 14px;
}

@media (max-width: 600px) {
    .name-section-promo {
        margin-bottom: 14px;
        padding: 10px 11px;
    }

    .name-section-promo__heading h2 {
        font-size: 20px;
    }

    .name-section-promo__heading p {
        display: none;
    }

    .name-section-promo__tab,
    .name-section-promo__letter {
        min-height: 34px;
    }

    .name-section-promo__list {
        max-height: 118px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .name-section-promo * {
        scroll-behavior: auto !important;
    }
}
