/*
 * Single provider page (inc/genesis-provider-single.php). Values from the
 * "Provider Individual" Figma pane: 1440 frame, 72px side padding (1296
 * content), Inter headings, Manrope copy/labels.
 */

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-var.woff2") format("woff2");
}

.gm-pv-wrap {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 72px;
}
.gm-pv-wrap *,
.gm-pv-wrap *::before,
.gm-pv-wrap *::after { box-sizing: border-box; }

/* --- Intro: portrait column + bio column --- */
.gm-pv-intro { background: #fff; padding: 30px 0; }
.gm-pv-intro__inner { display: flex; align-items: flex-start; gap: 72px; }

.gm-pv-portrait {
    flex: 0 0 494px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.gm-pv-portrait__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 494 / 528;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    background: #f0f0f0;
    box-shadow: 0 10px 28px rgba(23, 57, 95, 0.08);
}
.gm-pv-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.gm-pv-chip,
.gm-pv-chip:visited {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(23, 57, 95, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.gm-pv-chip i { font-size: 11px; }
.gm-pv-chip--service { color: #0F766E !important; background: #EAF6F5; }
.gm-pv-chip--location { color: #284D9A !important; background: #E6EEFF; }
a.gm-pv-chip--service:hover { color: #fff !important; background: #0F766E; }
a.gm-pv-chip--location:hover { color: #fff !important; background: #284D9A; }

/* The veteran badge (qualifying providers), black as on the old bio layout */
.gm-pv-vet { margin-top: 4px; }
.gm-pv-vet .vet-badge { display: block; width: 220px; max-width: 100%; height: auto; color: #000; }

.gm-pv-summary {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.gm-pv-back,
.gm-pv-back:visited {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #19469D;
    color: #fff !important;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 15px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}
.gm-pv-back:hover { background: #17395F; }
.gm-pv-back .gm-pv-icon { width: 11px; height: 11px; stroke-width: 3; }
.gm-pv-summary .gm-pv-name {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 31px;
    letter-spacing: 0;
    color: #19469D;
}
.gm-pv-summary .gm-pv-bio,
.gm-pv-summary .gm-pv-bio p,
.gm-pv-summary .gm-pv-bio li {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: #313131;
}
.gm-pv-summary .gm-pv-bio p { margin: 0 0 24px; }
.gm-pv-summary .gm-pv-bio > :last-child { margin-bottom: 0; }
.gm-pv-summary .gm-pv-bio strong { font-weight: 700; }
.gm-pv-summary .gm-pv-bio .provider-vet-statement { color: #000; }

/* --- Expertise: Education / Training timelines + Research --- */
/* Spacing follows the approved PDF composite (57px chips to eyebrow, ~60px
   panel to the Services title), tighter than the Figma frame's 80/92px. */
.gm-pv-expertise { background: #fff; padding: 25px 0 20px; }
.gm-pv-expertise .gm-pv-eyebrow {
    margin: 0 0 11px;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 15px;
    text-transform: uppercase;
    color: #D94E43;
}
.gm-pv-expertise .gm-pv-heading {
    margin: 0 0 34px;
    font-family: "Inter", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 42px;
    letter-spacing: 0;
    color: #19469D;
}
.gm-pv-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 20px;
}
.gm-pv-split + .gm-pv-research { margin-top: 34px; }

.gm-pv-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 30px;
    border: 1px solid #D9E4EF;
    border-radius: 24px;
    background: #F5F8FC;
}
.gm-pv-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
}
.gm-pv-expertise .gm-pv-panel__title {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 31px;
    letter-spacing: 0;
    color: #17395F;
}
.gm-pv-badge {
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #D94E43;
}
.gm-pv-badge .gm-pv-icon { width: 21px; height: 21px; }
.gm-pv-badge--blue { background: #19469D; color: #fff; }

.gm-pv-timeline { list-style: none; margin: 0; padding: 0; }
.gm-pv-milestone { position: relative; margin: 0; padding: 0 0 24px 50px; }
.gm-pv-milestone:last-child { padding-bottom: 0; }
.gm-pv-milestone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 11px;
    width: 12px;
    height: 12px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #D94E43;
}
.gm-pv-milestone:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 0;
    left: 16px;
    width: 2px;
    background: #D9E4EF;
}
.gm-pv-expertise .gm-pv-milestone p { margin: 0; color: #17395F; }
.gm-pv-expertise .gm-pv-milestone__label {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    text-transform: capitalize;
    color: #D94E43 !important;
}
.gm-pv-expertise .gm-pv-milestone__inst {
    margin-top: 5px !important;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 23px;
}
.gm-pv-expertise .gm-pv-milestone__meta {
    margin-top: 5px !important;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 15px;
}

.gm-pv-research {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    border-radius: 24px;
    background: #D9E6FF;
    box-shadow: 0 10px 28px rgba(23, 57, 95, 0.07);
}
.gm-pv-expertise .gm-pv-research .gm-pv-panel__title { color: #19469D; }
.gm-pv-expertise .gm-pv-research__intro {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #212121;
}
.gm-pv-pubs { list-style: none; margin: 0; padding: 0; }
.gm-pv-pub {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 19px 0;
    border-top: 1px solid #fff;
}
.gm-pv-expertise .gm-pv-pub p { margin: 0; }
.gm-pv-expertise .gm-pv-pub__source {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 20px;
    text-transform: capitalize;
    color: #D94E43;
}
.gm-pv-expertise .gm-pv-pub__title {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #17395F;
}
.gm-pv-pub__title a,
.gm-pv-pub__title a:visited { color: inherit !important; text-decoration: none; }
.gm-pv-pub__title a:hover { text-decoration: underline; }

/* --- Responsive --- */
@media (max-width: 1200px) {
    .gm-pv-wrap { padding: 0 40px; }
    .gm-pv-intro__inner { gap: 48px; }
    .gm-pv-portrait { flex-basis: 400px; }
}
@media (max-width: 900px) {
    .gm-pv-intro__inner { flex-direction: column; align-items: stretch; }
    .gm-pv-portrait { flex-basis: auto; width: 100%; max-width: 494px; margin: 0 auto; }
    .gm-pv-split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .gm-pv-wrap { padding: 0 20px; }
    .gm-pv-expertise .gm-pv-heading { font-size: 28px; line-height: 34px; }
    .gm-pv-summary .gm-pv-name { font-size: 26px; line-height: 30px; }
    .gm-pv-panel,
    .gm-pv-research { padding: 24px 20px; }
    .gm-pv-expertise .gm-pv-panel__title { font-size: 22px; line-height: 27px; }
}
