/* ========================= */
/* Hero                       */
/* ========================= */
.cs-hero {
    background: #F2F8FF;
    border-bottom: 1px solid #e0e0e0;
    padding: 56px 0 26px;
}

.cs-breadcrumb {
    color: #1e63e6;
    font-size: 13px;
}

.cs-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 42px;
    margin-top: 6px;
}

/* ========================= */
/* Toolbar                    */
/* ========================= */
.cs-content-section {
    padding: 10px 0 60px;
}

.cs-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
}

.cs-search {
    display: flex;
    border: none;
    border-radius: 0px;
    overflow: hidden;
    width: 320px;
    max-width: 100%;
    background-color: #F2F8FF;
}

.cs-search input {
    border: 0;
    outline: 0;
    padding: 12px 18px;
    flex: 1;
    background: transparent;
    min-width: 0;
    color: #1e63e6;
    font-size: 14px;
}

.cs-search input::placeholder {
    color: #1e63e6;
    opacity: 0.8;
}

.cs-search button {
    width: 50px;
    border: 0;
    background: transparent;
    color: #1e63e6;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-sort {
    position: relative;
}

.cs-sort .btn {
    background: #F2F8FF;
    border: none;
    color: #1e63e6;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 160px;
    box-shadow: none;
}

.cs-sort .btn.dropdown-toggle::after {
    display: none;
}

.cs-sort .btn i {
    font-size: 12px;
}

/* ========================= */
/* Case Study Cards           */
/* (same as homepage)         */
/* ========================= */
.case-study-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.case-study-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(0, 101, 242, 0.03) 10px,
            rgba(0, 101, 242, 0.03) 20px);
    pointer-events: none;
    z-index: 0;
}

.cs-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.cs-card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.case-study-icon {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 0;
}

.cs-card-content {
    margin-top: auto;
}

.case-study-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.case-study-description {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    max-width: 320px;
}

.case-study-link {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.case-study-link:hover {
    color: var(--primary-dark);
}

/* Right side — Colors & Brands */
.cs-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    padding-top: 10px;
}

.cs-tag-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cs-tag-label {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.cs-tag-circles {
    display: flex;
    gap: -4px;
}

.cs-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    border: none;
    position: relative;
}

.cs-color-circle {
    background: var(--primary-color);
    border: 2px solid #fff;
    margin-right: -15px;
}

.cs-color-circle:last-child {
    margin-right: 0;
}

.cs-brand-circle {
    background: var(--primary-color);
    font-size: 7px;
    letter-spacing: 0.5px;
    font-weight: 800;
    border: 2px solid #e0ecfa;
    margin-right: -6px;
}

.cs-brand-circle:last-child {
    margin-right: 0;
}

/* ========================= */
/* Responsive                 */
/* ========================= */
@media (max-width: 768px) {
    .cs-title {
        font-size: 32px;
    }

    .cs-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cs-search {
        width: 100%;
    }

    .case-study-card {
        padding: 25px;
        min-height: 220px;
    }

    .cs-card-inner {
        flex-direction: column;
        gap: 25px;
    }

    .cs-card-right {
        flex-direction: row;
        align-items: flex-start;
        gap: 25px;
    }
}

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

    .case-study-card {
        padding: 20px;
    }

    .case-study-title {
        font-size: 14px;
    }

    .case-study-description {
        font-size: 12px;
    }
}