/* ==========================================================================
   pmt71 — Personal Medical Team
   71.php (퍼스널 메디컬 TEAM)
   Mirrors the structure of blood-sugar-protocol.css (bs70) and
   ba-technology.css (ba69). Mobile keeps desktop composition; only
   typography/sizing is tuned at <=720px.
   ========================================================================== */

.pmt71-main { background: #fff; color: #111; }

/* Override #container's 100px padding-bottom (sub.css) so the closing section's
   dark area connects seamlessly to the footer on this page (71 is not in the
   sub.php pb0 conditional list). */
#container:has(> #sub_cont.pmt71) { padding-bottom: 0; }

/* 01 — Hero (full-bleed image, dark veil, centered title) */
.pmt71-hero { position: relative; height: calc(100svh - var(--header-height, 142px)); min-height: 650px; overflow: hidden; color: #fff; background: #111; }
.pmt71-hero__media, .pmt71-hero__veil { position: absolute; inset: 0; height: 100%; }
.pmt71-hero__media img { height: 100%; object-fit: cover; object-position: 50% 50%; }
.pmt71-hero__veil { background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.03) 48%, rgba(0,0,0,.42)); }
.pmt71-hero__content { position: absolute; z-index: 2; top: 15%; left: 50%; width: min(calc(100% - 80px), 980px); transform: translateX(-50%); text-align: center; }
.pmt71-hero__subtitle { margin: 8px 0 0; font-size: 20px; font-weight: 500; line-height: 1; letter-spacing: 1.8px; }
.pmt71-hero__subtitle span { display: block; }
.pmt71-hero h1 { margin: 0; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: 2px; }

/* 02 — Intro (full-bleed image + left-aligned editorial copy) */
.pmt71-intro {
    position: relative;
    background: #fff;
    color: #111;
    height: calc(100svh - var(--header-height, 142px));
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
}
.pmt71-intro__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.pmt71-intro__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}
.pmt71-intro__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: clamp(110px, 12vw, 200px) 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0;
}
.pmt71-intro__copy {
    max-width: none;
    font-size: clamp(18px, 1.3vw, 22px);
    line-height: 1.85;
    letter-spacing: -.005em;
    color: #1a1a1a;
}
.pmt71-intro__copy p { margin: 0 0 26px; }
.pmt71-intro__copy p:last-child { margin-bottom: 0; }
.pmt71-intro__copy .pmt71-copy-line { display: block; }

/* 03 / 04 / 06 / 07 — Expert cards (image + copy) */
.pmt71-expert {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 95vh;
    overflow: hidden;
    background: #f6f6f4;
}
.pmt71-expert__media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
}
.pmt71-expert__media img {
    width: 100%;
    height: 95vh;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pmt71-expert__copy {
    padding: clamp(40px, 6vw, 96px) clamp(40px, 6vw, 96px);
    max-width: 720px;
}
.pmt71-expert__role {
    margin: 0 0 22px;
    font-size: clamp(22px, 1.8vw, 32px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
    color: #111;
}
.pmt71-expert__text {
    margin: 0;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.85;
    color: rgba(17,17,17,.78);
}

/* Alternation: even sections → image on the left, copy on the right */
.pmt71-expert--concierge .pmt71-expert__media,
.pmt71-expert--operator  .pmt71-expert__media { order: 0; }
.pmt71-expert--concierge .pmt71-expert__copy,
.pmt71-expert--operator  .pmt71-expert__copy { order: 1; }
.pmt71-expert--physician .pmt71-expert__media,
.pmt71-expert--nutrition .pmt71-expert__media { order: 1; }
.pmt71-expert--physician .pmt71-expert__copy,
.pmt71-expert--nutrition .pmt71-expert__copy { order: 0; }
.pmt71-expert--physician .pmt71-expert__copy { text-align: right; margin-left: auto; }
.pmt71-expert--nutrition .pmt71-expert__copy { text-align: center; margin-left: auto; }
.pmt71-expert--operator  .pmt71-expert__copy { text-align: center; }

/* 03 — Physician (override: image height + top padding, copy inside picture) */
.pmt71-expert--physician {
    position: relative;
    height: 82svh;
    min-height: 600px;
    background: #fff;
    overflow: hidden;
    display: block;
    padding: 0;
}
.pmt71-expert--physician .pmt71-expert__media {
    position: absolute;
    top: clamp(80px, 14vh, 180px);
    left: 8.33%;
    width: 83.33%;
    height: 68vh;
    display: block;
    overflow: hidden;
}
.pmt71-expert--physician .pmt71-expert__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pmt71-expert--physician .pmt71-expert__copy {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 50%;
    max-width: 600px;
    padding: 0;
    text-align: right;
    margin-left: 0;
    z-index: 2;
    color: #1a1a1a;
}
.pmt71-expert--physician .pmt71-expert__role {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: #1a1a1a;
}
.pmt71-expert--physician .pmt71-expert__text {
    font-size: 22px;
    line-height: 1.85;
    color: rgba(17,17,17,.85);
}

/* 04 — Concierge (override: image height + top gap, copy inside picture) */
.pmt71-expert--concierge {
    position: relative;
    height: 75svh;
    min-height: 600px;
    background: #fff;
    overflow: hidden;
    display: block;
    padding: 0;
}
.pmt71-expert--concierge .pmt71-expert__media {
    position: absolute;
    top: clamp(16px, 4vh, 40px);
    left: 8.33%;
    width: 83.33%;
    height: 71vh;
    display: block;
    overflow: hidden;
}
.pmt71-expert--concierge .pmt71-expert__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pmt71-expert--concierge .pmt71-expert__copy {
    position: absolute;
    top: 37%;
    left: 8%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    padding: 0;
    text-align: left;
    z-index: 2;
    color: #1a1a1a;
}
.pmt71-expert--concierge .pmt71-expert__role {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: #1a1a1a;
}
.pmt71-expert--concierge .pmt71-expert__text {
    font-size: 22px;
    line-height: 1.85;
    color: rgba(17,17,17,.85);
}

/* 06 — Duo (single section: two side-by-side image cards, text inside each image,
   horizontally centered, ~20% from the bottom) */
.pmt71-expert--duo {
    background: #fff;
    overflow: hidden;
    min-height: 95vh;
}
.pmt71-expert--duo .pmt71-expert__card {
    position: relative;
    overflow: hidden;
    min-height: inherit;
}
.pmt71-expert--duo .pmt71-expert__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}
.pmt71-expert--duo .pmt71-expert__media img {
    width: 100%;
    height: 95vh;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pmt71-expert--duo .pmt71-expert__overlay {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    width: min(calc(100% - 64px), 720px);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .38);
    pointer-events: none;
}
.pmt71-expert--duo .pmt71-expert__role {
    margin: 0 0 18px;
    font-size: clamp(22px, 1.8vw, 32px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
    color: #fff;
}
.pmt71-expert--duo .pmt71-expert__text {
    margin: 0;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.85;
    color: rgba(255, 255, 255, .94);
}

/* 05 — Quote (white background, black text) */
.pmt71-quote {
    background: #fff;
    color: #111;
    margin-top: 12%;
    margin-bottom: 3.645%;
    text-align: center;
}
.pmt71-quote__content {
    max-width: 1800px;
    margin: 0 auto;
}
.pmt71-quote__body {
    margin: 0 0 20px;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.6;
    color: #111;
}
.pmt71-quote__signature {
    margin: 0;
    font-size: 26px;
    line-height: 1.7;
    color: rgba(17,17,17,.62);
}

/* 08 — Closing (full-bleed dark image, no veil, text anchored to left like Sulwhasoo reference) */
body:has(.pmt71) { background: #05091a; }
.pmt71-closing {
    position: relative;
    color: #fff;
    height: calc(100svh - var(--header-height, 142px));
    min-height: 650px;
    background: #05091a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
.pmt71-closing__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.pmt71-closing__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #05091a;
}
.pmt71-closing__veil { display: none; }
.pmt71-closing__content {
    position: relative;
    z-index: 2;
    width: 40%;
    max-width: 560px;
    margin-left: 13%;
    margin-right: auto;
    padding: clamp(80px, 12vh, 200px) 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.pmt71-closing h2 {
    margin: 0 0 32px;
    font-size: clamp(28px, 2.4vw, 42px);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.02em;
    color: #000;
}
.pmt71-closing h2 span { display: block; }
.pmt71-closing__sub {
    margin: 0;
    font-size: clamp(18px, 1.25vw, 22px);
    line-height: 1.85;
    letter-spacing: -.005em;
    color: #000;
}

/* Hide desktop-only breaks on mobile */
.pmt71-mobile { display: none; }
.pmt71-pc { display: inline; }

@media (prefers-reduced-motion: reduce) {
    .pmt71 *, .pmt71 *::before, .pmt71 *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ==========================================================================
   Mobile (<=720px) — same composition, tighter sizing
   ========================================================================== */
