.swiper-wrapper {
    display: flex !important;
}

.swiper-slide {
    width: 300px !important; /* fixed width for smooth scroll */
}

.jc-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.jc-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.jc-content {
    padding: 15px;
}

.jc-title a {
    text-decoration: none;
    color: #000;
}
.jc-extra {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
}

.jc-readmore {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.jc-readmore:hover {
    color: #0073aa;
}
/* Force equal slide width */
.swiper-slide {
    display: flex;
    height: auto;
}

/* Card layout */
.jc-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Image fixed height */
.jc-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Content grows evenly */
.jc-content {
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex: 1;
}

/* Title */
.jc-title {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;   /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jc-title a {
    text-decoration: none;
    color: #000;
}

/* Date */
.jc-date {
    font-size: 12px;
    color: #777;
}

/* Excerpt takes remaining space */
.jc-excerpt {
    font-size: 14px;
    margin-top: 10px;
    color: #555;

    display: -webkit-box;
    -webkit-line-clamp: 3; /* max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read more always aligned bottom */
.jc-readmore {
    margin-top: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
}

.jc-readmore:hover {
    color: #0073aa;
}
.jaynir-carousel {
    margin-top: 40px;
}

.swiper-slide {
    padding-bottom: 10px;
}
.jc-title,
.jc-excerpt {
    word-break: break-word;
}