/*
 * Case Client Overview
 * Figma: desktop 701:5765, tablet 776:9188, mobile 776:15590
 * Breakpoints: mobile ≤767, tablet 768–1199, large ≥1200
 */

.case-client-overview {
    --cco-bg: #fafafa;
    --cco-pad-x: 16px;
    --cco-pad-y: 80px;
    --cco-inner-gap: 40px;
    --cco-title-size: 32px;
    --cco-title-weight: 600;
    --cco-title-align: center;
    --cco-desc-size: 16px;
    --cco-desc-align: center;
    --cco-location-align: center;
    --cco-media-h: 285px;

    background: var(--cco-bg);
    padding: var(--cco-pad-y) var(--cco-pad-x);
}

.case-client-overview__inner {
    width: 100%;
    max-width: var(--akdev-content-max, 1440px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--cco-inner-gap);
}

.case-client-overview__text {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
}

.case-client-overview__intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.case-client-overview__title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: var(--cco-title-weight);
    font-size: var(--cco-title-size);
    line-height: 1.193;
    color: var(--black);
    text-align: var(--cco-title-align);
}

.case-client-overview__description {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: var(--cco-desc-size);
    line-height: 1.3;
    color: var(--gray);
    text-align: var(--cco-desc-align);
}

.case-client-overview__location {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: var(--cco-location-align);
    gap: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    line-height: 1.177;
}

.case-client-overview__location-label {
    font-weight: 500;
    color: var(--gray);
}

.case-client-overview__location-value {
    font-weight: 600;
    color: var(--black);
}

.case-client-overview__media {
    margin: 0;
    padding: 0;
    width: 100%;
    height: var(--cco-media-h);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    flex-shrink: 0;
}

.case-client-overview__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* Tablet 768–1199 — Figma 776:9188: колонка, текст слева, карта на всю ширину */
@media (min-width: 768px) {
    .case-client-overview {
        --cco-title-size: 40px;
        --cco-desc-size: 18px;
        --cco-title-align: left;
        --cco-desc-align: left;
        --cco-location-align: flex-start;
        --cco-media-h: 585px;
    }
}

/* Large desktop ≥1200 — Figma 701:5765: две колонки, карта 600×450 */
@media (min-width: 1200px) {
    .case-client-overview {
        --cco-pad-x: 120px;
        --cco-title-size: 56px;
        --cco-title-weight: 600;
    }

    .case-client-overview__inner {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .case-client-overview__text {
        flex: 1;
        min-width: 0;
    }

    .case-client-overview__media {
        flex: 0 0 600px;
        width: 600px;
        max-width: 100%;
        height: 450px;
    }
}
