.block-cases-hero {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(240, 132, 24, 0.10), transparent 30%),
        linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    align-items: center;
    gap: 32px;
    overflow: hidden;
}

.block-cases-hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(240, 132, 24, 0.18);
    filter: blur(60px);
    pointer-events: none;
}

.cases-hero__kicker {
    margin: 0 0 10px;
    opacity: 0.85;
}

.cases-hero__title {
    margin: 0 0 12px;
    color: #191d5b;
}

.cases-hero__subtitle {
    max-width: 42ch;
    color: #565B6B;
    font-family: "Graphik";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5rem;
}

.cases-featuredCard {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #0e1426;
    color: #fff;
}

.cases-featuredCard__tagRow,
.cases-card__tagRow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cases-featuredCard__tagRow {
    margin-bottom: 12px;
}

.cases-card__tagRow {
    margin-bottom: 10px;
}

.cases-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    letter-spacing: 0.2px;
}

.cases-featuredCard__title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
}

.cases-featuredCard__text {
    margin: 0 0 14px;
    opacity: 0.9;
}

.cases-featuredCard__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
}

.cases-featuredCard__link:hover {
    opacity: 1;
}

.cases-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 236px) minmax(660px, 1fr);
    gap: 2rem;
    padding-bottom: calc(40px + (125 - 40) * ((100vw - 320px) / 1120));
}

.cases-filters {
    position: sticky;
    top: 96px;
    display: grid;
    align-self: start;
    gap: .75rem;
}

.cases-filters__title {
    padding: 0 0 .375rem;
    border-bottom: 1px solid #e9eaeb;
    color: #414651;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
}

.cases-filters__list {
    display: grid;
    gap: .375rem;
    max-height: 400px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #e9eaeb #fff0;
}

.cases-filterBtn {
    display: block;
    padding: .375rem;
    border-radius: .25rem;
    color: #565B6B;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.125rem;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, font-weight .2s ease;
}

.cases-filterBtn[aria-pressed="true"],
.cases-filterBtn:hover {
    border-color: rgba(240, 132, 24, 0.55);
    background: rgba(240, 132, 24, 0.09);
    color: #F08418;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
}

.cases-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 32px;
    box-sizing: border-box;
    border-radius: 3px;
    background-color: #fff;
    box-shadow:
        0 4px 8px rgba(25, 29, 91, 0.06),
        0 20px 48px rgba(25, 29, 91, 0.14),
        0 1px 0 rgba(25, 29, 91, 0.08) inset;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cases-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    flex: 1;
}

.cases-card__arrow {
    flex-shrink: 0;
    width: 45px;
    transition: .5s;
}

.cases-card:hover .cases-card__title {
    color: #F08418;
}

.cases-card:hover .cases-card__arrow {
    transform: translate(15px);
}

.cases-card__title {
    margin: 0;
    color: #191d5b;
    font-family: "Graphik";
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    transition: .3s;
}

.cases-card__text {
    margin: 0 0 12px;
    opacity: 0.9;
}

.cases-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    opacity: 0.95;
}

.cases-card__link:hover {
    opacity: 1;
}

.cases-hero {
    flex-wrap: wrap;
    display: flex;
}

.case-studie-hero-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 3px;
    background: #f6f8fc;
}

.cases-hero .case-studie-hero-img {
    aspect-ratio: auto;
}

.cases-empty {
    display: none;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0.9;
}

.cases-loadMoreBtn {
    max-width: 296px;
    width: 100%;
    min-height: 48px;
    margin-top: 70px;
    box-sizing: border-box;
    border-radius: 3px;
    background-color: white;
    justify-content: center;
    align-items: center;
    color: #F08418;
    font-family: "Graphik";
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    transition: all .3s, box-shadow .5s;
    box-shadow: 0 0 0px 1px rgba(240, 132, 24, 0.3);
}


.cases-loadMoreBtn:hover {
    box-shadow: 0 0 15px 0 #f08418;
    background-color: #F08418;
    color: #fff;
}

@media (max-width: 991px) {
    .cases-layout {
        grid-template-columns: 1fr;
    }

    .cases-filters__list {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow: auto;
        gap: 10px;
        padding-bottom: 2px;
        scroll-snap-type: x mandatory;
    }

    .cases-filters {
        top: auto;
        padding: 10px 0;
        background: white;
        position: sticky;
        top: 0;
        z-index: 29;
        margin-bottom: 1rem;
        top: 60px;
    }
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}