/*
 * ITS Network Shortcodes — Compiled Styles
 * Replace this file with your compiled Tailwind CSS output.
 * Enqueued automatically on single posts and category archive pages.
 */

/* Filters bar */
.its-np-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.its-np-filters input,
.its-np-filters select {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
    color: #374151;
}
.its-np-filters input { flex: 1 1 200px; }

/* List layout */
.its-np-list { display: flex; flex-direction: column; }

.its-network-person-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.its-np-photo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e5e7eb;
    overflow: hidden;
}
.its-np-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.its-np-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}
.its-np-name:hover { text-decoration: underline; }

.its-np-site-link {
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
}
.its-np-site-link:hover { color: #2563eb; text-decoration: underline; }

.its-network-people-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
    justify-content: center;
}

.its-np-btn {
    padding: 4px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
}

.its-np-btn:hover { background: #f3f4f6; }

.its-np-btn.its-np-active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* Clear buttons */
.its-np-clear,
.its-people-clear {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    white-space: nowrap;
}
.its-np-clear:hover,
.its-people-clear:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

/* A–Z filter row */
.its-np-az {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}
.its-np-az-btn {
    padding: 3px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    color: #374151;
}
.its-np-az-btn:hover { background: #f3f4f6; }
.its-np-az-btn.its-np-active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
