/**
 * Case Study Detail - Professional Clean Architecture
 */
.cs-page-wrapper {
    background-color: #f0f0f0;
    position: relative;
    overflow-x: clip;
}

.about-header {
    z-index: 0;
    opacity: .4;
    filter: blur(240px);
    background-color: #c5bee1;
    width: 713px;
    height: 614px;
    display: block;
    position: absolute;
    top: -560px;
    right: 176px;
}

.cs-page-banner {
    position: absolute;
    top: -150px;
    right: -350px;
    width: 60%;
    height: 700px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.cs-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right top;
}

.cs-detail-page {
    position: relative;
    z-index: 1;
    /* Đưa nội dung chữ lên lớp trên */
    color: #000;
    padding-top: 80px;
}

/* Badge / Pill */
.cs-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 20px;
    border: 1px solid #000;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
}

.cs-badge i {
    margin-right: 8px;
    font-size: 16px;
}

.cs-badge a {
    color: inherit;
    text-decoration: underline;
    transition: all 0.2s;
}

.cs-badge a:hover {
    color: #c26f10;
}

/* Typography */
.cs-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.cs-description {
    font-size: 15px;
    line-height: 1.8;
    color: #2c2c2c;
    margin-bottom: 30px;
    text-align: justify;
}

/* Layout Columns */
.cs-sidebar-col {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cs-vertical-metrics {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cs-metric-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cs-metric-number-circle {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background-color: #f5f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #696969;
    flex-shrink: 0;
}

.cs-metric-info {
    display: flex;
    flex-direction: column;
}

.cs-metric-value {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    margin-bottom: 5px;
}

.cs-metric-label-small {
    font-size: 11px;
    font-weight: 600;
    color: #797979;
    text-transform: uppercase;
    margin-top: 2px;
}

.cs-client-card-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cs-client-avatar {
    width: 65px;
    height: 65px;
    background-color: #f5f5f7;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.cs-client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-client-avatar i {
    font-size: 24px;
    color: #888;
}

.cs-client-details {
    display: flex;
    flex-direction: column;
}

.cs-client-name {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin-bottom: 4px;
}

.cs-client-date-label {
    font-size: 14px;
    font-weight: 500;
    color: #797979;
    margin-top: 5px;
}

/* Content Sections like "What's new" card */
.cs-section {
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Images managed in style.css */

.cs-section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 15px;
}

.cs-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

/* Mobile Optimizations */
@media (max-width: 991px) {
    .cs-page-wrapper {
        overflow-x: hidden;
    }

    .cs-page-banner {
        right: -100px;
        width: 100%;
        height: 400px;
        top: -50px;
    }

    .cs-detail-page {
        padding-top: 40px;
    }

    .cs-title {
        font-size: 1.85rem;
        line-height: 1.3;
    }


    .cs-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .cs-sidebar-col {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .cs-title {
        font-size: 1.6rem;
    }

    .cs-badge {
        padding: 4px 15px;
        font-size: 12px;
        margin-bottom: 20px;
    }

    .cs-metric-number-circle {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .cs-metric-value {
        font-size: 17px;
    }
}