.fcs-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

.fcs-heading {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 24px;
}

.fcs-cards {
    display: grid;
    grid-template-columns: repeat(var(--fcs-columns, 2), 1fr);
    gap: 28px;
}

.fcs-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fcs-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* When the post has a featured image: image on the left, text on the right */
.fcs-card.has-image {
    flex-direction: row;
    align-items: stretch;
}

.fcs-image {
    flex: 0 0 150px;
    background: #EDEDED;
}
.fcs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Colored pill badge, sits above the title inside the text column */
.fcs-badge {
    align-self: flex-start;
    background: var(--badge-color, #0F1C3D);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.fcs-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

/* No featured image: text column takes the full card width */
.fcs-card.no-image .fcs-body {
    width: 100%;
}

.fcs-title {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: #1A1A1A;
    text-decoration: none;
    margin-bottom: 10px;
}
.fcs-title:hover {
    color: #0F1C3D;
}

.fcs-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #5A5A5A;
    margin: 0 0 16px;
    flex: 1 1 auto;
}
.fcs-excerpt p {
    margin: 0 0 8px;
}
.fcs-excerpt p:last-child {
    margin-bottom: 0;
}

.fcs-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
    margin-top: auto;
}
.fcs-readmore span {
    transition: transform 0.15s ease;
}
.fcs-readmore:hover span {
    transform: translateX(3px);
}

.fcs-loading,
.fcs-empty {
    padding: 24px 0;
    color: #6B6B6B;
    font-family: 'Inter', sans-serif;
    grid-column: 1 / -1;
}

/* Pagination — same pill style used across the site */
.fcs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.fcs-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: none;
}
.fcs-pagination .page-numbers:hover {
    border-color: #0F1C3D;
}
.fcs-pagination .page-numbers.current {
    background: #0F1C3D;
    border-color: #0F1C3D;
    color: #fff;
    box-shadow: none;
}
.fcs-pagination .page-numbers.dots {
    border: none;
    box-shadow: none;
    background: transparent;
    color: #6B6B6B;
    min-width: auto;
    padding: 0 2px;
}
.fcs-pagination .page-numbers.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 700px) {
    .fcs-cards {
        grid-template-columns: 1fr;
    }
    .fcs-card.has-image {
        flex-direction: column;
    }
    .fcs-card.has-image .fcs-image {
        flex-basis: auto;
        width: 100%;
        height: 180px;
    }
}