/* ===============================
   WRAPPER FIX (prevents theme break)
================================ */
.cs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

/* ===============================
   GRID
================================ */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* ===============================
   CARD
================================ */
.cs-case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.cs-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ===============================
   IMAGE (FIXED HEIGHT)
================================ */
.cs-image-wrap {
    height: 220px;
    display: block;
    overflow: hidden;
}

.cs-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-no-image {
    height: 220px;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* ===============================
   CONTENT
================================ */
.cs-content {
    padding: 18px;
}

.cs-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
    display: block;
}

.cs-title {
    font-size: 18px !important;
    line-height: 1.4;
    margin: 0;
}

.cs-title a {
    color: #111;
    text-decoration: none;
}

.cs-title a:hover {
    color: #DC9A01;
}

/* ===============================
   LOAD MORE
================================ */
.cs-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

#cs-load-more {
    background: #DC9A01;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

#cs-load-more:disabled {
    background: #ccc;
    cursor: not-allowed;
}
