/**
 * Layout: case_section
 *
 * Enqueued automatically when a page has a `case_section` row
 * in designer_page_sections. Depends on the `designer-base` handle.
 */

.case .section-header {

    margin-bottom: 0;
}

.case__layout {
    display: flex;
    gap: 160px;
    padding-bottom: 30px;
    margin-top: 60px;
}

.case__content {
    max-width: 923px;
    width: 100%;
    padding: 40px 0;
}

.case-content__top {
    display: flex;
    justify-content: space-between;
}

.case-meta__highlights {
    display: flex;
    flex-wrap: wrap;
    max-width: 440px;
    gap: 40px;
    margin-bottom: 40px;
}

.case-meta__highlight {
    width: 200px;
}

.case-meta__logo {
    width: 150px;
    height: 150px;
    border: 0.83px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 40px;
}

.case-meta__img {
    width: 150px;
    height: 150px;
}

.case-description__bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-highlight {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px;
}

.case-highlight__icon {
    width: 80px;
    height: 80px;
}

.case .cta-card {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    max-width: 517px;
    width: 100%;
    height: fit-content;
    padding: 40px 24px;
    overflow: hidden;
}

.case .cta-card__highlights {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    gap: 10px;
    position: relative;
    z-index: 99;
}

.case .cta-card__highlight {
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
}

.case .title-4,
.case .cta-card__highlight .title-h4 {
    font-weight: 800;
    font-size: 32px;
    line-height: 125%;
    margin-bottom: 17px;
}

.case .cta-img {
    position: absolute;
    bottom: -500px;
    z-index: 1;
}

@media (max-width:1521px) {
    .case .cta-card {
        max-width: 417px;
        margin-right: 0;
    }
}

@media (max-width:1442px) {
    .case-highlight__icon {
        width: 70px;
        height: 70px;
    }

    .case .cta-card__highliht {
        padding: 15px;
    }

    .case .title-4,
    .case .cta-card__highlight .title-h4 {
        font-size: 28px;
        margin-bottom: 12px;
    }
}

@media(max-width:1366px) {
    .case-meta__highlights {
        min-width: 360px;
    }

    .case-meta__highlight {
        max-width: 170px;
    }
}

@media(max-width:1202px) {
    .case__layout {
        gap: 40px;
        flex-direction: column;
    }

    .case-meta__logo {
        align-self: flex-end;
    }

    .case__content {
        max-width: 100%;
        padding: 0;
    }

    .case__layout {
        margin-bottom: 40px;
    }

    .case-content__top {
        justify-content: start;
    }

    .case .cta-card {
        max-width: 100%;
        padding: 20px;
    }
}

@media(max-width:480px) {
    .case__content {
        padding: 30px 0;
    }

    .case__layout {
        gap: 0px;
        padding-bottom: 0;
        margin-top: 0;
    }

    .case-content__top {
        display: flex;
        flex-direction: column-reverse;
    }

    .case-meta__logo,
    .case-meta__img {
        width: 60px;
        height: 60px;
    }

    .case-meta__highlight {
        max-width: 160px;
    }

    .case-highlight__icon {
        width: 60px;
        height: 60px;
        align-self: flex-end;
    }
}

.case-meta__highliht .main-txt {
    line-height: 175%;
}

@media(max-width:480px) {
    .case-meta__highlihts {
            max-width: 100%;
    }
    
    .case-meta__highliht {
            width: 40%;
    }
}
