/* WP DACdb Connect LITE - Club Leadership cards */

.wdcl-leaders-club + .wdcl-leaders-club {
    margin-top: 28px;
}

.wdcl-leaders-club-name {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #17458F;
}

.wdcl-leaders-club-name a {
    color: inherit;
    text-decoration: none;
}

.wdcl-leaders-club-name a:hover {
    text-decoration: underline;
}

/* --- Grid --- */

.wdcl-person-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.wdcl-person-grid.wdcl-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wdcl-person-grid.wdcl-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wdcl-person-grid.wdcl-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 782px) {
    .wdcl-person-grid.wdcl-cols-3,
    .wdcl-person-grid.wdcl-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .wdcl-person-grid.wdcl-cols-2,
    .wdcl-person-grid.wdcl-cols-3,
    .wdcl-person-grid.wdcl-cols-4 { grid-template-columns: 1fr; gap: 12px; }
}

/* --- Card --- */

.wdcl-person-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    min-width: 0;
}

.wdcl-person-photo {
    flex: 0 0 auto;
}

.wdcl-person-photo img {
    display: block;
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 50%;
    background: #f0f0f0;
}

.wdcl-person-info {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
}

.wdcl-person-name {
    display: block;
    font-size: 1.05rem;
    color: #1a1a1a;
    overflow-wrap: anywhere;
}

.wdcl-person-position {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.wdcl-person-contact {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #2271b1;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wdcl-person-contact:hover {
    color: #135e96;
}
