/* Case Studies hero */

.cs-hero {
    position: relative;
    margin: 80px 16px 60px 16px;
    border-radius: 16px;
    overflow: hidden;
    background: url('../images/case-study.jpg') center/cover no-repeat;
}

.cs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.cs-hero .container {
    position: relative;
    z-index: 1;
}

.cs-hero-inner {
    padding: 100px 0 120px 0;
    color: #fff;
}

.cs-eyebrow {
    letter-spacing: 1.4px;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 6px;
}

.cs-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(36px, 4vw, 65px);
    margin: 0 0 8px 0;
}

.cs-break {
    display: block;
}

.cs-sub {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.95;
    margin-bottom: 18px;
}

.cs-select-wrap {
    display: flex;
    justify-content: center;
}

.cs-dropdown {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.cs-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    padding: 8px 0;
}

.cs-dropdown.active .cs-dropdown-list {
    display: block;
}

.cs-dropdown-item {
    padding: 12px 18px;
    color: #2b1b3b;
    font-weight: 600;
    cursor: pointer;
}

.cs-dropdown-item:hover,
.cs-dropdown-item.selected {
    background: #f3ecff;
}

.cs-dropdown-trigger {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #6a1b9a;
    font-weight: 700;
    cursor: pointer;
}

.cs-dropdown-trigger i {
    font-size: 18px;
    transition: transform .2s ease;
}

.cs-dropdown.active .cs-dropdown-trigger i {
    transform: rotate(180deg);
}

.cs-trigger-text {
    text-align: left;
}

.cs-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.cs-dropdown-list::-webkit-scrollbar-thumb {
    background: #c5bddc;
    border-radius: 10px;
}

/* Content sections */
.cs-section {
    padding: 60px 0;
}

.cs-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 4vw, 42px);
    color: #6a1b9a;
    margin: 0 0 32px 0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-head h2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #2b1b3b;
}

/* Featured articles list (left column) */
.cs-featured-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cs-featured-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.cs-featured-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.cs-featured-body {
    padding: 20px 24px;
}

.cs-featured-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #2b1b3b;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.cs-featured-body p {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.cs-read-more {
    color: #6a1b9a;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    display: inline-block;
}

.cs-read-more:hover {
    text-decoration: underline;
}

/* Sidebar (right column) */
.cs-sidebar {
    padding-left: 24px;
}

.cs-sidebar-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #2b1b3b;
    margin: 0 0 20px 0;
}

.cs-sidebar-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.cs-sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cs-sidebar-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cs-sidebar-body {
    flex: 1;
}

.cs-sidebar-body h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #2b1b3b;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.cs-sidebar-body p {
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

/* More Market Case Studies */
.cs-more {
    padding: 20px 0 40px 0;
}

.cs-more-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cs-more-title {
    font-weight: 800;
    color: #6a1b9a;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
}

.cs-more-arrows {
    display: flex;
    gap: 8px;
}

.cs-arrow {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e2d9f5;
    background: #fff;
    color: #6a1b9a;
}

.cs-arrow:hover {
    background: #f8f4ff;
}

.cs-more-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 4px;
}

.cs-more-track::-webkit-scrollbar {
    height: 8px;
}

.cs-more-track::-webkit-scrollbar-thumb {
    background: #c5bddc;
    border-radius: 10px;
}

.cs-more-card {
    min-width: 280px;
    max-width: 320px;
    flex: 0 0 auto;
}

.cs-more-card img {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.cs-more-body {
    margin-top: 10px;
}

.cs-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #6a1b9a;
    background: #f3ecff;
    border-radius: 6px;
    padding: 6px 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cs-more-link {
    display: block;
    margin-top: 10px;
    color: #4a1f7a;
    font-weight: 700;
    text-decoration: none;
}

.cs-more-link:hover {
    text-decoration: underline;
}

.view-all {
    color: #6a1b9a;
    font-weight: 700;
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

.cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cs-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
}

.cs-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.cs-card .cs-card-body {
    padding: 12px 14px;
}

.cs-card h3 {
    font-size: 16px;
    margin: 0;
    color: #2b1b3b;
    font-weight: 800;
}

.cs-card-large img {
    height: 260px;
}

.cs-band {
    background: #0d0d0d;
    padding: 30px 0;
    color: #fff;
}

.band-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.band-card {
    background: #191919;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}

.band-card img {
    width: 40%;
    object-fit: cover;
}

.band-body {
    padding: 14px;
}

.band-body h3 {
    margin: 0 0 6px 0;
    color: #fff;
    font-weight: 800;
}

.cs-listing {
    padding: 34px 0;
}

.cs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.list-item {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.list-item img {
    width: 180px;
    height: 120px;
    object-fit: cover;
}

.list-body {
    padding: 12px;
}

.list-body h3 {
    margin: 0 0 6px 0;
    font-weight: 800;
    color: #2b1b3b;
}

.list-body p {
    margin: 0;
    color: #4a4a4a;
}

/* Innovation Section */
.cs-innovation {
    background: #0d0d0d;
    padding: 80px 0;
    color: #fff;
}

.cs-innovation-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 5vw, 56px);
    color: #d97706;
    margin: 0 0 12px 0;
}

.cs-innovation-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #fff;
    opacity: 0.9;
    margin: 0 0 48px 0;
    max-width: 800px;
}

.cs-innovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

.cs-innovation-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cs-innovation-card-image {
    position: relative;
}

.cs-innovation-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.cs-innovation-card-image .cs-innovation-content {
    padding: 24px;
}

.cs-innovation-card-text .cs-innovation-content {
    padding: 32px;
}

.cs-innovation-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.cs-innovation-content p {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.cs-innovation-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #4a1f7a;
    border-radius: 6px;
    padding: 8px 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Innovation grid layout: first two cards (image) left, last two (text) right */
.cs-innovation-grid > :nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.cs-innovation-grid > :nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.cs-innovation-grid > :nth-child(3) {
    grid-column: 2;
    grid-row: 1;
}

.cs-innovation-grid > :nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 992px) {
    .cs-sidebar {
        padding-left: 0;
        padding-top: 40px;
    }

    .cs-featured-item img {
        height: 200px;
    }

    .cs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .band-wrap {
        grid-template-columns: 1fr;
    }

    .list-item {
        flex-direction: column;
    }

    .list-item img {
        width: 100%;
        height: 180px;
    }

    .cs-innovation-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .cs-innovation-grid > :nth-child(1),
    .cs-innovation-grid > :nth-child(2),
    .cs-innovation-grid > :nth-child(3),
    .cs-innovation-grid > :nth-child(4) {
        grid-column: 1;
        grid-row: auto;
    }

    .cs-innovation-card-image img {
        height: 200px;
    }
}