.cb-education-paths {
    --ep-dark: #143640;
    --ep-text: #627a84;
    --ep-muted: #8da0a8;
    --ep-border: #dbe4e7;
    width: 100%;
}

.cb-education-paths__headline {
    margin: 0 0 28px;
}
@media (min-width: 991px) {
    .cb-education-paths__filters {
        position: sticky;
        top: 90px;
    }
}

.cb-education-paths__filters {
        z-index: 20;
        display: grid;
        grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.3fr);
        gap: 34px 48px;
        padding: 32px;
        background: #fff;
        border: 1px solid var(--ep-border);
        border-radius: 20px 0 20px 0;
        box-shadow: 0 10px 28px rgb(20 54 64 / 6%);
    }

.cb-education-paths__filter-label {
    margin: 0 0 14px;
    color: var(--ep-dark);
    font-weight: 700;
}

.cb-education-paths__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cb-education-paths__filter {
    padding: 10px 15px;
    color: var(--ep-dark);
    background: #fff;
    border: 2px solid var(--ep-border);
    border-radius: 999px;
    font: inherit;
    font-size:0.85rem;
    font-weight: 400;
    cursor: pointer;
}

.cb-education-paths__filter:hover,
.cb-education-paths__filter[aria-pressed="true"] {
    color: #fff;
    background: var(--ep-dark);
    border-color: var(--ep-dark);
}

.cb-education-paths__filter:focus-visible,
.cb-education-path__button:focus-visible {
    outline: 3px solid #ffdc00;
    outline-offset: 3px;
}

.cb-education-paths__meta {
    grid-column: 1 / -1;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
}

.cb-education-paths__count {
    margin: 0;
    color: var(--ep-text);
}

.cb-education-paths__count strong {
    color: var(--ep-dark);
    font-weight:700;
    padding-right:5px;
}

.cb-education-paths__reset {
    padding: 0;
    color: #007391;
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.cb-education-paths__no-results {
    padding: 54px 24px 12px;
    color: var(--ep-dark);
    text-align: center;
}

.cb-education-paths__no-results-title {
    margin: 0 0 14px;
    font-size: 1.35rem;
}

.cb-education-paths__no-results-text {
    color: var(--ep-text);
}

.cb-education-paths__no-results-text > :first-child {
    margin-top: 0;
}

.cb-education-paths__no-results-text > :last-child {
    margin-bottom: 0;
}

.cb-education-paths__reset-button {
    margin-top: 24px;
    padding: 15px 24px;
    color: #fff;
    background: var(--ep-dark);
    border: 0;
    border-radius: 14px 0 14px 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cb-education-paths__results {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.cb-education-path {
    --ep-color: #7ea6ba;
    --ep-soft: #e7eef3;
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 1.45fr) minmax(210px, 0.9fr) minmax(250px, 1fr) auto;
    gap: 36px;
    align-items: center;
    overflow: hidden;
    padding: 32px 38px 32px 48px;
    border: 1px solid var(--ep-border);
    border-radius: 20px 0 20px 0;
}

.cb-education-path::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: var(--ep-color);
}

.cb-education-path.is-filtered-out {
    opacity: 0.28;
}

.cb-education-path--lightblue {
    --ep-color: #9fc7dc;
    --ep-soft: #ebf2f6;
}

.cb-education-path--green {
    --ep-color: #9bb77f;
    --ep-soft: #eef3e9;
}

.cb-education-path--lime {
    --ep-color: #cbd58e;
    --ep-soft: #f2f4df;
}

.cb-education-path--yellow {
    --ep-color: rgb(240, 220, 138);
    --ep-soft: rgb(251, 244, 217);
}

.cb-education-path--beige {
    --ep-color: rgb(194, 169, 143);
    --ep-soft: rgb(239, 231, 221);
}

.cb-education-path__heading {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cb-education-path__badge {
    display: inline-flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px;
    color: var(--ep-dark);
    background: var(--ep-soft);
    border-radius: 12px 0 12px 0;
    font-weight: 800;
}

.cb-education-path__title {
    margin: 0;
    color: var(--ep-dark);
    font-size: 1.45rem;
    line-height: 1.2;
}

.cb-education-path__description {
    margin-top: 14px;
    color: var(--ep-text);
    line-height: 1.5;
}

.cb-education-path__description > :first-child,
.cb-education-path__value > :first-child {
    margin-top: 0;
}

.cb-education-path__description > :last-child,
.cb-education-path__value > :last-child {
    margin-bottom: 0;
}

.cb-education-path__label {
    margin: 0 0 8px;
    color: var(--ep-muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cb-education-path__value {
    color: var(--ep-dark);
    line-height: 1.45;
}

.cb-education-path__value--strong {
    font-weight: 700;
}

.cb-education-path__duration {
    margin: 10px 0 0;
    color: #007391;
    font-weight: 700;
}

.cb-education-path__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    color: #fff;
    background: var(--ep-dark);
    border-radius: 14px 0 14px 0;
    font-weight: 700;
    text-decoration: none;
}

.cb-education-path__button:hover {
    color: var(--ep-dark);
    background: #ffdc00;
}

.cb-education-paths [hidden] {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .cb-education-paths__filters {
        grid-template-columns: 1fr;
    }

    .cb-education-path {
        grid-template-columns: minmax(280px, 1.2fr) minmax(200px, 0.8fr) minmax(230px, 1fr);
    }

    .cb-education-path__action {
        grid-column: 3;
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .cb-education-paths__filters {
        gap: 26px;
        padding: 18px;
    }

    .cb-education-paths__buttons {
        /*flex-wrap: nowrap;*/
        margin-inline: -18px;
        padding-inline: 18px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .cb-education-paths__filter {
        flex: 0 0 auto;
        padding: 10px 16px;
    }

    .cb-education-paths__meta {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .cb-education-path {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 24px 26px 32px;
    }

    .cb-education-path__action {
        grid-column: auto;
    }

    .cb-education-paths__no-results {
        padding: 38px 18px 8px;
    }
}
