/* =============================================================
   Jundo Team Grid
   Mobile First | Breakpoints: sm 640px · lg 1025px

   Statisches Karten-Grid für die Team-Übersichtsseite (ersetzt das
   frühere Slider-Karussell). Das Bild bekommt bewusst weder eine
   feste Höhe noch object-fit:cover, sondern skaliert mit seinem
   natürlichen Seitenverhältnis (height:auto) – die Portraits
   (Kreis-Vignette + Zunft-Emblem am unteren Rand) würden bei jedem
   fixen Crop-Fenster in Breite ODER Höhe angeschnitten, je nach
   Kartenbreite am jeweiligen Breakpoint.
   ============================================================= */

.jundo-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .jundo-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .jundo-team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}


/* =============================================================
   Team card
   ============================================================= */
.jundo-team-card {
    background: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.jundo-team-card-img img {
    width: 100%;
    height: auto;
    display: block;
}

.jundo-team-card-body {
    padding: 20px;
}

.jundo-team-name {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--wp--preset--color--heading);
    margin: 0 0 4px;
}

.jundo-team-position {
    display: inline-block;
    font-size: .85em;
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    background: rgba(223, 1, 1, .08);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.jundo-team-bio {
    font-size: .92em;
    color: var(--wp--preset--color--foreground);
    line-height: 1.7;
    margin-bottom: 14px;
}

.jundo-team-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.jundo-team-contact a {
    font-size: .9em;
    color: var(--wp--preset--color--secondary);
    text-decoration: none;
}
.jundo-team-contact a:hover {
    color: var(--wp--preset--color--heading);
    text-decoration: underline;
}


/* =============================================================
   Team badge
   ============================================================= */
.jundo-team-badge {
    display: inline-block;
    font-size: .75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #fff;
    background: var(--wp--preset--color--primary);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
