﻿/* Meet Your Recruiters (compact) - used by Views/Shared/_MeetYourRecruiters.cshtml
   Everything is prefixed jp-rec-. Tweak the three vars below to match the site palette. */

.jp-rec-sec {
    --rec-accent: var(--jp-accent, #f5b800);
    --rec-ink: var(--jp-ink, #1c2330);
    --rec-muted: var(--jp-muted, #5d6675);
}

.jp-rec-intro {
    max-width: 46rem;
    margin: .15rem 0 1rem;
    color: var(--rec-muted);
    font-size: .98rem;
}

.jp-rec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
}

/* Horizontal card: small round photo on the left, text on the right */
.jp-rec-card {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: .9rem 1rem;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--rec-accent);
    box-shadow: 0 1px 3px rgba(20, 30, 50, .08);
}

.jp-rec-photo {
    position: relative;
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #dfe3ea, #c9cfd9);
}

    .jp-rec-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%;
        display: block;
    }

.jp-rec-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: .03em;
    color: rgba(28, 35, 48, .55);
}

.jp-rec-body {
    flex: 1;
    min-width: 0;
}

/* Name and tenure share one line */
.jp-rec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .1rem .6rem;
    margin-bottom: .3rem;
}

.jp-rec-name {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.15;
    color: var(--rec-ink);
}

.jp-rec-tenure {
    font-size: .78rem;
    font-weight: 600;
    color: var(--rec-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.jp-rec-bio {
    margin: 0;
    font-size: .92rem;
    line-height: 1.45;
    color: var(--rec-ink);
}

.jp-rec-quote {
    margin: .55rem 0 0;
    padding: .35rem 0 .35rem .7rem;
    border-left: 3px solid rgba(245, 184, 0, .6);
    font-size: .85rem;
    line-height: 1.4;
}

    .jp-rec-quote blockquote {
        margin: 0;
        font-style: italic;
        color: var(--rec-ink);
    }

    .jp-rec-quote figcaption {
        margin-top: .15rem;
        font-size: .78rem;
        font-weight: 600;
        color: var(--rec-muted);
    }

/* Mobile / small tablet: two columns, each card stacks photo above text */
@media (max-width: 800px) {
    .jp-rec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .7rem;
        align-items: start;
    }

    .jp-rec-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: .55rem;
        padding: .85rem .7rem 1rem;
        border-left: 0;
        border-top: 4px solid var(--rec-accent);
    }

    .jp-rec-photo {
        flex-basis: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 170px;
    }

    .jp-rec-initials {
        font-size: 2.4rem;
    }

    .jp-rec-body {
        width: 100%;
    }

    .jp-rec-head {
        flex-direction: column;
        align-items: center;
        gap: .1rem;
        margin-bottom: .4rem;
    }

    .jp-rec-name {
        font-size: 1.2rem;
    }

    .jp-rec-tenure {
        font-size: .72rem;
    }

    .jp-rec-bio {
        font-size: .85rem;
        line-height: 1.4;
        text-align: left;
    }

    .jp-rec-quote {
        text-align: left;
        font-size: .8rem;
        padding-left: .55rem;
    }

        .jp-rec-quote figcaption {
            font-size: .72rem;
        }
}

@media (max-width: 360px) {
    .jp-rec-bio {
        font-size: .82rem;
    }
}
