/* =============================================================
   Jundo Team Slider
   Mobile First | Breakpoints: xs 480px · md 769px

   Hinweis: gegenüber sdash-theme-en wurden hier ungenutzte Regeln
   (.sdash-team-grid / .sdash-team-card--small / --team-cols) entfernt –
   der Shortcode rendert ausschließlich die große Karten-Variante.
   ============================================================= */


/* =============================================================
   Slider wrapper & mechanics
   ============================================================= */
.jundo-team-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.jundo-team-slider {
    display: flex;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.jundo-team-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px 4px;
}

.jundo-team-slide-inner {
    max-width: 860px;
    margin: 0 auto;
}


/* =============================================================
   Team card (detail view)
   Mobile: image on top, text below
   md (769px+): image left, text right
   ============================================================= */
.jundo-team-card--large {
    background: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: 12px;
    padding: 20px;               /* Mobile */
    display: flex;
    flex-direction: column;      /* Mobile: stacked */
    gap: 20px;
    align-items: flex-start;
}

@media (min-width: 769px) {
    .jundo-team-card--large {
        flex-direction: row;     /* Desktop: side by side */
        gap: 30px;
        padding: 28px;
    }
}

/* Image */
.jundo-team-card--large .jundo-team-card-img {
    flex-shrink: 0;
    width: 100%;
}
.jundo-team-card--large .jundo-team-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    display: block;
}

@media (min-width: 769px) {
    .jundo-team-card--large .jundo-team-card-img      { width: 350px; }
    .jundo-team-card--large .jundo-team-card-img img  { width: 350px; height: 400px; }
}

/* Overview variant: slightly larger image */
@media (min-width: 769px) {
    .jundo-team-card--overview .jundo-team-card-img     { width: 200px; }
    .jundo-team-card--overview .jundo-team-card-img img { width: 200px; height: 260px; }
}

/* Text area */
.jundo-team-card--large .jundo-team-card-body {
    margin: auto auto;
}

.jundo-team-card--large .jundo-team-name {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--wp--preset--color--heading);
    margin: 0 0 4px;
}

.jundo-team-card--large .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-card--large .jundo-team-bio {
    font-size: .95em;
    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;
}


/* =============================================================
   Navigation (arrows + dots)
   ============================================================= */
.jundo-team-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.jundo-team-prev,
.jundo-team-next {
    background: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--wp--preset--color--foreground);
    transition: background .2s, border-color .2s, color .2s;
}
.jundo-team-prev:hover,
.jundo-team-next:hover {
    background: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
    color: #fff;
}

.jundo-team-dots { display: flex; gap: 7px; align-items: center; }
.jundo-team-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wp--preset--color--border);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background .2s, transform .2s;
}
.jundo-team-dot.active {
    background: var(--wp--preset--color--primary);
    transform: scale(1.3);
}


/* =============================================================
   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;
}
