/* Wrapper */
.sbl-committees-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* Card */
.sbl-committee-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 22px 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sbl-committee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

/* Badge */
.sbl-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-free {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-extra {
    background: #fff3e0;
    color: #ef6c00;
}

/* Title */
.sbl-committee-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

/* Exco list */
.sbl-committee-card ul {
    padding-left: 0;
    margin: 0 0 16px;
    list-style: none;
}

.sbl-committee-card ul li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 6px;
}

/* Links */
.sbl-links {
    font-size: 13px;
}

.sbl-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.sbl-links a:hover {
    text-decoration: underline;
}

/* No extra committee text */
.sbl-no-extra {
    grid-column: 1 / -1;
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}

.sbl-badge.badge-free {
    background: #f3f4f6;   /* light gray */
    color: #111827;        /* near-black */
}

.sbl-badge.badge-extra {
    background: #e5e7eb;   /* slightly darker gray */
    color: #111827;
}

/*For Extra Committee CTA */
.sbl-add-extra-card {
    grid-column: 1 / -1;
    border: 2px dashed #e5e7eb;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    background: #fafafa;
}

.sbl-add-extra-card h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.sbl-add-extra-card p {
    color: #555;
    margin-bottom: 16px;
}

.sbl-add-extra-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.sbl-add-extra-btn:hover {
    opacity: 0.85;
}
