.case-register-card {
    display: block;
    color: inherit;
    text-decoration: none
}

.case-register-card:hover,
.case-register-card:focus {
    color: inherit;
    text-decoration: none
}

.case-register-card article {
    height: 100%
}

.case-register-card b {
    margin-top: auto;
    padding-top: 24px;
    color: #1677ff;
    font-size: 13px
}

.case-detail-wrap {
    padding-top: 64px;
    padding-bottom: 80px
}

.case-detail__back {
    display: inline-flex;
    margin-bottom: 24px;
    color: #1677ff;
    font-weight: 800
}

.case-detail__header {
    max-width: 980px;
    margin-bottom: 36px
}

.case-detail__eyebrow {
    margin: 0 0 12px;
    color: #1677ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em
}

.case-detail__title {
    margin: 0;
    color: #071f3f;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.25
}

.case-detail__hero {
    margin: 0;
    background: #eef4fa
}

.case-detail__hero img {
    display: block;
    width: 100%;
    max-height: 650px;
    min-height: 320px;
    object-fit: cover
}

.case-detail__facts {
    display: grid;
    margin: 0 0 48px;
    border: 1px solid #d7e3ef;
    border-top: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.case-detail__fact {
    padding: 22px 24px;
    border-right: 1px solid #d7e3ef
}

.case-detail__fact:last-child {
    border-right: 0
}

.case-detail__fact span {
    display: block;
    margin-bottom: 7px;
    color: #73879a;
    font-size: 12px
}

.case-detail__fact strong {
    color: #102c49;
    font-size: 17px
}

.case-detail__content {
    max-width: 920px
}

.case-detail__content h2 {
    margin: 0 0 20px;
    color: #071f3f;
    font-size: 30px;
    font-weight: 900
}

.case-detail__content p {
    margin: 0;
    color: #425e78;
    font-size: 16px;
    line-height: 2
}

.case-detail__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 56px;
    padding: 30px 34px;
    border: 1px solid #d6e2f0;
    background: #fff;
    box-shadow: 0 18px 36px rgba(13, 45, 84, .08);
    color: #071f3f
}

.case-detail__cta h2 {
    margin: 0 0 7px;
    color: #071f3f;
    font-size: 24px
}

.case-detail__cta p {
    margin: 0;
    color: #49617d
}

.case-detail__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #1677ff;
    background: #fff;
    color: #096de6;
    font-weight: 800;
    text-decoration: none
}

.case-detail__cta a:hover,
.case-detail__cta a:focus {
    background: #f5f9ff;
    color: #096de6;
    text-decoration: none
}

@media(max-width:991px) {
    .case-detail__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .case-detail__fact:nth-child(2) {
        border-right: 0
    }

    .case-detail__fact:nth-child(-n+2) {
        border-bottom: 1px solid #d7e3ef
    }
}

@media(max-width:767px) {
    .case-detail-wrap {
        padding-top: 42px;
        padding-bottom: 56px
    }

    .case-detail__hero img {
        min-height: 230px
    }

    .case-detail__facts {
        grid-template-columns: 1fr;
        margin-bottom: 38px
    }

    .case-detail__fact {
        padding: 17px 18px;
        border-right: 0;
        border-bottom: 1px solid #d7e3ef
    }

    .case-detail__fact:last-child {
        border-bottom: 0
    }

    .case-detail__content h2 {
        font-size: 25px
    }

    .case-detail__content p {
        font-size: 15px;
        line-height: 1.9
    }

    .case-detail__cta {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 42px;
        padding: 25px 22px
    }

    .case-detail__cta a {
        width: 100%;
        text-align: center
    }
}
