.v-casestudies-index #cs_filters {
    padding-top: 1.5rem;
}
.v-casestudies-index .filter_group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}
.v-casestudies-index .filter_label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
}
.v-casestudies-index .filter_select {
    display: block;
    width: 100%;
    padding: 0.45em 2em 0.45em 0.75em;
    border: 1px solid rgb(0, 85, 168);
    border-radius: 0.375rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%230055a8' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 0.75em center / 0.6em auto;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.v-casestudies-index .filter_select:focus {
    outline: none;
    border-color: rgb(0, 85, 168);
    box-shadow: 0 0 0 3px rgba(0, 85, 168, 0.2);
}

/* ---- Case study grid ---- */
.v-casestudies-index #cs_list .span {
    padding-top: 1.5rem;
}
.v-casestudies-index .cs_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.v-casestudies-index .cs_grid a {
    flex: 0 0 100%;
    max-width: 100%;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.v-casestudies-index .cs_grid a:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
@media (min-width: 48em) {
    .v-casestudies-index .cs_grid a {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}
@media (min-width: 62em) {
    .v-casestudies-index .cs_grid a {
        flex: 0 0 calc(33.333% - 0.667rem);
        max-width: calc(33.333% - 0.667rem);
    }
}
@media (min-width: 75em) {
    .v-casestudies-index .cs_grid a {
        flex: 0 0 calc(25% - 0.75rem);
        max-width: calc(25% - 0.75rem);
    }
}

/* ---- Thumbnail ---- */
.v-casestudies-index .cs_thumb {
    width: 100%;
    height: 10rem;
    overflow: hidden;
    background: #e8eef5;
    position: relative;
}
.v-casestudies-index .cs_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    filter: grayscale(40%);
}
.v-casestudies-index .cs_grid a:hover .cs_thumb img {
    filter: grayscale(0%);
}
.v-casestudies-index .cs_thumb_placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(0, 85, 168) 0%, rgb(0, 173, 239) 100%);
    opacity: 0.25;
}

/* ---- Card info ---- */
.v-casestudies-index .cs_info {
    padding: 1rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.v-casestudies-index .cs_info p {
    margin: 0;
    line-height: 1.4;
}
.v-casestudies-index .cs_customer {
    font-weight: 700;
    font-size: 1em;
    color: rgb(0, 85, 168);
}
.v-casestudies-index .cs_process {
    font-size: 0.9em;
    color: #333;
}
.v-casestudies-index .cs_country {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8em;
    color: #666;
    margin-top: auto !important;
    padding-top: 0.5rem;
}
.v-casestudies-index .cs_country .flag_icon {
    display: inline-block;
    width: 1.25em;
    height: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
    margin-bottom: 0.125rem;
}
