/* ── Grid ────────────────────────────────────────────────────── */
.tg-grid-b4c8a9d5 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Card ────────────────────────────────────────────────────── */
.tg-card-b4c8a9d5 {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tg-card-b4c8a9d5:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.tg-card-b4c8a9d5:focus-visible {
    outline: 2px solid #0b7a42;
    outline-offset: 3px;
}

/* ── Photo ───────────────────────────────────────────────────── */
.tg-photo-outer-b4c8a9d5 {
    position: relative;
    display: inline-block;
    margin-bottom: 4px;
}

.tg-photo-wrap-b4c8a9d5 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.tg-photo-wrap-b4c8a9d5 img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
}

/* Decorative accent dot */
.tg-accent-dot-b4c8a9d5 {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #c8f0db;
    bottom: 4px;
    left: -8px;
    z-index: 0;
}

/* ── Card text ───────────────────────────────────────────────── */
.tg-name-b4c8a9d5 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0b7a42;
    line-height: 1.3;
}

.tg-role-b4c8a9d5 {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.tg-link-b4c8a9d5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0b7a42;
    cursor: pointer;
    margin-top: 4px;
}

/* ── Modal ───────────────────────────────────────────────────── */
.tg-modal-b4c8a9d5 {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tg-modal-b4c8a9d5.is-open {
    opacity: 1;
    visibility: visible;
}

.tg-modal-overlay-b4c8a9d5 {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.tg-modal-box-b4c8a9d5 {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 820px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 48px;
    z-index: 1;
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.tg-modal-b4c8a9d5.is-open .tg-modal-box-b4c8a9d5 {
    transform: translateY(0);
}

/* Close button */
.tg-modal-close-b4c8a9d5 {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.15s ease;
    line-height: 1;
}

.tg-modal-close-b4c8a9d5::before {
    content: '|';
    font-size: 18px;
    margin-right: 2px;
    opacity: 0.4;
}

.tg-modal-close-b4c8a9d5:hover {
    color: #1e293b;
}

/* Modal photo */
.tg-modal-photo-b4c8a9d5 {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.tg-modal-photo-b4c8a9d5 img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
}

/* Modal content */
.tg-modal-content-b4c8a9d5 {
    flex: 1;
    min-width: 0;
    padding-top: 8px;
}

.tg-modal-name-b4c8a9d5 {
    margin: 0 0 6px 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0b7a42;
    line-height: 1.2;
}

.tg-modal-role-b4c8a9d5 {
    margin: 0 0 20px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.tg-modal-bio-b4c8a9d5 {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
}

.tg-modal-bio-b4c8a9d5 p {
    margin: 0 0 12px 0;
}

.tg-modal-bio-b4c8a9d5 p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .tg-modal-box-b4c8a9d5 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 28px 32px;
    }
    .tg-modal-photo-b4c8a9d5,
    .tg-modal-photo-b4c8a9d5 img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 767px) {
    .tg-grid-b4c8a9d5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tg-grid-b4c8a9d5 {
        grid-template-columns: 1fr;
    }
}
