.eh-product-features {
    padding-top: 16px;
}

.eh-series-nav {
    display: grid;
    grid-template-columns: 140px repeat(4, minmax(0, 1fr));
    align-items: stretch;
    margin: 0 0 38px;
    white-space: nowrap;
}

.eh-series-nav-label {
    display: flex;
    align-items: center;
    margin-right: 14px;
    padding-right: 24px;
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eh-series-nav a {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 74px;
    margin-left: -20px;
    padding: 11px 38px 10px 46px;
    background: #f1f1f1;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%, 28px 50%);
    color: var(--ink);
    transition: background-color .18s ease, color .18s ease;
}

.eh-series-nav a:first-of-type {
    z-index: 4;
    margin-left: 0;
    padding-left: 24px;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
}

.eh-series-nav a:nth-of-type(2) { z-index: 3; }
.eh-series-nav a:nth-of-type(3) { z-index: 2; }
.eh-series-nav a:nth-of-type(4) { z-index: 1; }

.eh-series-nav a:hover {
    background: #e5e5e5;
}

.eh-series-nav a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: -4px;
}

.eh-series-nav a[aria-current="page"] {
    z-index: 5;
    background: #fff;
    box-shadow: inset 0 3px 0 var(--brand);
}

.eh-series-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    top: 0;
    right: 28px;
    width: 3px;
    height: 46px;
    background: var(--brand);
    transform: rotate(-37deg);
    transform-origin: top left;
}

.eh-series-index {
    margin-bottom: 4px;
    color: #6f6f6f;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.eh-series-name {
    overflow: hidden;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
}

@media (max-width: 1100px) {
    .eh-series-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eh-series-nav-label {
        grid-column: 1 / -1;
        margin: 0 0 10px;
        padding: 0;
        border-right: 0;
    }

    .eh-series-nav a {
        padding-right: 32px;
        padding-left: 40px;
    }

    .eh-series-nav a:first-of-type {
        padding-left: 20px;
    }
}

@media (max-width: 680px) {
    .eh-product-features {
        padding-top: 20px;
    }

    .eh-series-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 42px;
        white-space: normal;
    }

    .eh-series-nav-label {
        margin-bottom: 4px;
    }

    .eh-series-nav a,
    .eh-series-nav a:first-of-type {
        min-height: 62px;
        margin-left: 0;
        padding: 10px 14px;
        border: 1px solid var(--line);
        clip-path: none;
    }

    .eh-series-nav a[aria-current="page"] {
        border-top-color: var(--brand);
    }

    .eh-series-nav a[aria-current="page"]::after {
        display: none;
    }

    .eh-series-index {
        font-size: 12px;
    }

    .eh-series-name {
        font-size: 13px;
    }
}
