/* PharmD Live Publication-Ready Copy Rollout — Phase 5 focused redesign v10.16.0 */
body.pdl-pr-phase5-active {
    --pdl-rsp5-navy: #0d3c5b;
    --pdl-rsp5-deep: #082d46;
    --pdl-rsp5-blue: #2e93c5;
    --pdl-rsp5-teal: #3dafbe;
    --pdl-rsp5-orange: #f7941d;
    --pdl-rsp5-ink: #103957;
    --pdl-rsp5-text: #4f6b7d;
    --pdl-rsp5-pale: #f4fafc;
    --pdl-rsp5-border: rgba(31, 111, 154, .16);
    --pdl-rsp5-shadow: 0 24px 64px rgba(8, 45, 70, .12);
    --pdl-rsp5-ease: cubic-bezier(.22,.8,.3,1);
}

body.pdl-pr-phase5-active .pdl-rsp5-page,
body.pdl-pr-phase5-active .pdl-rsp5-page * { box-sizing: border-box; }
body.pdl-pr-phase5-active .pdl-rsp5-page {
    overflow: hidden;
    background: #fff;
    color: var(--pdl-rsp5-text);
    font-family: Roboto, Arial, sans-serif;
}
body.pdl-pr-phase5-active .pdl-rsp5-page h1,
body.pdl-pr-phase5-active .pdl-rsp5-page h2,
body.pdl-pr-phase5-active .pdl-rsp5-page h3 {
    margin-top: 0;
    color: var(--pdl-rsp5-ink);
    font-family: "Open Sans", Arial, sans-serif;
}
body.pdl-pr-phase5-active .pdl-rsp5-page h1 {
    max-width: 690px;
    margin-bottom: 26px;
    font-size: clamp(2.7rem, 4.8vw, 4.85rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 700;
}
body.pdl-pr-phase5-active .pdl-rsp5-page h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 3.3vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 700;
}
body.pdl-pr-phase5-active .pdl-rsp5-page h3 {
    margin-bottom: 18px;
    font-size: clamp(1.65rem, 2.4vw, 2.4rem);
    line-height: 1.12;
    letter-spacing: -.025em;
    font-weight: 700;
}
body.pdl-pr-phase5-active .pdl-rsp5-page p,
body.pdl-pr-phase5-active .pdl-rsp5-capability,
body.pdl-pr-phase5-active .pdl-rsp5-outcome,
body.pdl-pr-phase5-active .pdl-rsp5-serves__item {
    font-size: clamp(1rem, 1vw + .15rem, 1.12rem);
    line-height: 1.72;
}
body.pdl-pr-phase5-active .pdl-rsp5-page p { margin: 0 0 20px; }
body.pdl-pr-phase5-active .pdl-rsp5-page p:last-child { margin-bottom: 0; }
body.pdl-pr-phase5-active .pdl-rsp5-page a { text-decoration: none; }

body.pdl-pr-phase5-active .pdl-rsp5-shell { width: min(1180px, 90vw); margin-inline: auto; }
body.pdl-pr-phase5-active .pdl-rsp5-shell--narrow { width: min(920px, 90vw); }
body.pdl-pr-phase5-active .pdl-rsp5-section { position: relative; padding: clamp(82px, 8vw, 122px) 0; }
body.pdl-pr-phase5-active .pdl-rsp5-heading { margin-bottom: 38px; }
body.pdl-pr-phase5-active .pdl-rsp5-heading--center { max-width: 930px; margin-left: auto; margin-right: auto; text-align: center; }
body.pdl-pr-phase5-active .pdl-rsp5-heading--wide { max-width: 970px; }
body.pdl-pr-phase5-active .pdl-rsp5-accent {
    display: block;
    width: 72px;
    height: 4px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pdl-rsp5-orange), var(--pdl-rsp5-teal));
}

/* Hero: true equal split, full image side. */
body.pdl-pr-phase5-active .pdl-rsp5-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--pdl-rsp5-deep), #124d70);
}
body.pdl-pr-phase5-active .pdl-rsp5-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(790px, calc(100vh - 70px));
    align-items: stretch;
}
body.pdl-pr-phase5-active .pdl-rsp5-hero__copy {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(72px, 7vw, 112px) clamp(34px, 5.5vw, 84px);
    color: #fff;
    background:
        radial-gradient(circle at 12% 14%, rgba(61,175,190,.16), transparent 26%),
        linear-gradient(145deg, #0b3854 0%, #114b6c 100%);
}
body.pdl-pr-phase5-active .pdl-rsp5-hero__copy::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
    pointer-events: none;
}
body.pdl-pr-phase5-active .pdl-rsp5-hero__copy-inner { position: relative; z-index: 2; max-width: 700px; }
body.pdl-pr-phase5-active .pdl-rsp5-hero h1 { color: #fff; }
body.pdl-pr-phase5-active .pdl-rsp5-hero p {
    max-width: 650px;
    color: rgba(255,255,255,.86);
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    line-height: 1.72;
}
body.pdl-pr-phase5-active .pdl-rsp5-hero__image {
    position: relative;
    min-height: min(790px, calc(100vh - 70px));
    margin: 0;
    overflow: hidden;
    background: #d9edf2;
}
body.pdl-pr-phase5-active .pdl-rsp5-hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,45,70,.12), transparent 26%);
    pointer-events: none;
}
body.pdl-pr-phase5-active .pdl-rsp5-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.025);
    transition: transform 1.1s var(--pdl-rsp5-ease);
}
body.pdl-pr-phase5-active .pdl-rsp5-hero.pdl-rsp5-is-visible .pdl-rsp5-hero__image img { transform: scale(1); }

/* Intro: open editorial composition, no callout box. */
body.pdl-pr-phase5-active .pdl-rsp5-intro { background: #fff; }
body.pdl-pr-phase5-active .pdl-rsp5-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr);
    gap: clamp(44px, 6vw, 86px);
    align-items: center;
}
body.pdl-pr-phase5-active .pdl-rsp5-intro__copy {
    position: relative;
    padding-left: 26px;
}
body.pdl-pr-phase5-active .pdl-rsp5-intro__copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--pdl-rsp5-orange), var(--pdl-rsp5-teal));
}
body.pdl-pr-phase5-active .pdl-rsp5-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--pdl-rsp5-shadow);
    background: #e7f3f6;
}
body.pdl-pr-phase5-active .pdl-rsp5-intro__image { min-height: 520px; }
body.pdl-pr-phase5-active .pdl-rsp5-media img,
body.pdl-pr-phase5-active .pdl-rsp5-story__media img,
body.pdl-pr-phase5-active .pdl-rsp5-medication__media img,
body.pdl-pr-phase5-active .pdl-rsp5-capabilities__media img,
body.pdl-pr-phase5-active .pdl-rsp5-outcomes__image img,
body.pdl-pr-phase5-active .pdl-rsp5-serves__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
body.pdl-pr-phase5-active .pdl-rsp5-media__line {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 25px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pdl-rsp5-orange), var(--pdl-rsp5-teal));
    transform: scaleX(.34);
    transform-origin: left center;
    transition: transform .8s var(--pdl-rsp5-ease);
}
body.pdl-pr-phase5-active .pdl-rsp5-intro__image:hover .pdl-rsp5-media__line { transform: scaleX(1); }

/* Three dimensions: each gets its own rhythm instead of three repeated cards. */
body.pdl-pr-phase5-active .pdl-rsp5-dimensions {
    background: linear-gradient(180deg, #f6fbfd 0%, #fff 100%);
}
body.pdl-pr-phase5-active .pdl-rsp5-story {
    display: grid;
    grid-template-columns: minmax(380px, .96fr) minmax(0, 1.04fr);
    gap: clamp(42px, 6vw, 84px);
    align-items: center;
    margin-top: clamp(42px, 6vw, 72px);
}
body.pdl-pr-phase5-active .pdl-rsp5-story__media {
    position: relative;
    min-height: 520px;
    margin: 0;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: var(--pdl-rsp5-shadow);
}
body.pdl-pr-phase5-active .pdl-rsp5-story__media::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 23px;
    pointer-events: none;
}
body.pdl-pr-phase5-active .pdl-rsp5-story__copy { max-width: 650px; }
body.pdl-pr-phase5-active .pdl-rsp5-story__copy h3::after,
body.pdl-pr-phase5-active .pdl-rsp5-medication__copy h3::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pdl-rsp5-orange), var(--pdl-rsp5-teal));
}
body.pdl-pr-phase5-active .pdl-rsp5-story--sdoh {
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
    padding: clamp(34px, 4vw, 50px);
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(232,247,249,.78), rgba(246,251,253,.96));
    border: 1px solid rgba(61,175,190,.13);
}
body.pdl-pr-phase5-active .pdl-rsp5-story--sdoh .pdl-rsp5-story__media { min-height: 430px; }

/* Medication: dark clinical editorial band; authority sentence stays ordinary paragraph copy. */
body.pdl-pr-phase5-active .pdl-rsp5-medication {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .96fr);
    gap: clamp(42px, 6vw, 82px);
    align-items: stretch;
    margin: clamp(72px, 7vw, 100px) 0;
    padding: clamp(44px, 5vw, 68px);
    border-radius: 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(61,175,190,.14), transparent 24%),
        linear-gradient(145deg, #0b3854 0%, #123f5c 100%);
    box-shadow: 0 30px 74px rgba(8,45,70,.17);
}
body.pdl-pr-phase5-active .pdl-rsp5-medication__copy { align-self: center; }
body.pdl-pr-phase5-active .pdl-rsp5-medication__copy h3 { color: #fff; }
body.pdl-pr-phase5-active .pdl-rsp5-medication__copy p { color: rgba(255,255,255,.86); }
body.pdl-pr-phase5-active .pdl-rsp5-medication__media {
    position: relative;
    min-height: 520px;
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
}
body.pdl-pr-phase5-active .pdl-rsp5-medication__trace {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pdl-rsp5-orange), var(--pdl-rsp5-teal));
    transform: scaleX(.22);
    transform-origin: left center;
    transition: transform 1s var(--pdl-rsp5-ease);
}
html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-medication__media.pdl-rsp5-is-visible .pdl-rsp5-medication__trace { transform: scaleX(1); }

/* Capabilities: strong space utilization, 10 compact items, no numbers/icons. */
body.pdl-pr-phase5-active .pdl-rsp5-capabilities {
    background: linear-gradient(145deg, #0b3854 0%, #123f5c 100%);
    color: #fff;
}
body.pdl-pr-phase5-active .pdl-rsp5-capabilities__grid {
    display: grid;
    grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr);
    gap: clamp(46px, 6vw, 88px);
    align-items: stretch;
}
body.pdl-pr-phase5-active .pdl-rsp5-capabilities__media {
    position: relative;
    min-height: 760px;
    margin: 0;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: 0 28px 72px rgba(0,0,0,.22);
}
body.pdl-pr-phase5-active .pdl-rsp5-capabilities__media::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 25px;
    pointer-events: none;
}
body.pdl-pr-phase5-active .pdl-rsp5-capabilities__content { align-self: center; }
body.pdl-pr-phase5-active .pdl-rsp5-capabilities h2 { color: #fff; }
body.pdl-pr-phase5-active .pdl-rsp5-capabilities__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}
body.pdl-pr-phase5-active .pdl-rsp5-capability {
    position: relative;
    min-height: 102px;
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 28px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.9);
    transition: transform .26s var(--pdl-rsp5-ease), background-color .26s ease, border-color .26s ease;
}
body.pdl-pr-phase5-active .pdl-rsp5-capability::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 24px;
    border-radius: 0 999px 999px 0;
    background: var(--pdl-rsp5-orange);
    transform: translateY(-50%);
    transition: height .28s var(--pdl-rsp5-ease), background-color .28s ease;
}
body.pdl-pr-phase5-active .pdl-rsp5-capability:hover,
body.pdl-pr-phase5-active .pdl-rsp5-capability:focus-within {
    transform: translateY(-3px);
    background: rgba(255,255,255,.085);
    border-color: rgba(61,175,190,.3);
}
body.pdl-pr-phase5-active .pdl-rsp5-capability:hover::before,
body.pdl-pr-phase5-active .pdl-rsp5-capability:focus-within::before {
    height: 66px;
    background: linear-gradient(180deg, var(--pdl-rsp5-orange), #ffc066);
}

/* Outcomes: one image + eight compact floating panels, no numbering. */
body.pdl-pr-phase5-active .pdl-rsp5-outcomes { background: #fff; }
body.pdl-pr-phase5-active .pdl-rsp5-outcomes__stage {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    border-radius: 38px;
    box-shadow: var(--pdl-rsp5-shadow);
}
body.pdl-pr-phase5-active .pdl-rsp5-outcomes__image {
    position: absolute;
    inset: 0;
    margin: 0;
}
body.pdl-pr-phase5-active .pdl-rsp5-outcomes__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(8,45,70,.84) 0%, rgba(8,45,70,.58) 42%, rgba(8,45,70,.76) 100%);
}
body.pdl-pr-phase5-active .pdl-rsp5-outcomes__cards {
    position: relative;
    z-index: 2;
    min-height: 720px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
    align-content: end;
    padding: clamp(28px, 4vw, 48px);
}
body.pdl-pr-phase5-active .pdl-rsp5-outcome {
    position: relative;
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.95);
    color: var(--pdl-rsp5-ink);
    text-align: center;
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(8,45,70,.18);
    transition: transform .28s var(--pdl-rsp5-ease), box-shadow .28s ease;
}
body.pdl-pr-phase5-active .pdl-rsp5-outcome::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 24px;
    border-radius: 0 999px 999px 0;
    background: var(--pdl-rsp5-orange);
    transform: translateY(-50%);
    transition: height .28s var(--pdl-rsp5-ease);
}
body.pdl-pr-phase5-active .pdl-rsp5-outcome:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(8,45,70,.24);
}
body.pdl-pr-phase5-active .pdl-rsp5-outcome:hover::before { height: 92px; }

/* Who the program serves: no arrows or fake clickable cues. */
body.pdl-pr-phase5-active .pdl-rsp5-serves {
    background: linear-gradient(145deg, #f2fafc 0%, #f9fcfd 100%);
}
body.pdl-pr-phase5-active .pdl-rsp5-serves__grid {
    display: grid;
    grid-template-columns: minmax(0,1.04fr) minmax(390px,.96fr);
    gap: clamp(46px, 6vw, 86px);
    align-items: center;
}
body.pdl-pr-phase5-active .pdl-rsp5-serves__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}
body.pdl-pr-phase5-active .pdl-rsp5-serves__item {
    position: relative;
    min-height: 104px;
    display: flex;
    align-items: center;
    padding: 22px 22px 22px 28px;
    border: 1px solid var(--pdl-rsp5-border);
    border-radius: 20px;
    background: rgba(255,255,255,.88);
    color: var(--pdl-rsp5-ink);
    font-weight: 700;
    box-shadow: 0 12px 34px rgba(8,45,70,.055);
    transition: transform .24s var(--pdl-rsp5-ease), border-color .24s ease, box-shadow .24s ease;
}
body.pdl-pr-phase5-active .pdl-rsp5-serves__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 24px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--pdl-rsp5-orange), var(--pdl-rsp5-teal));
    transform: translateY(-50%);
    transition: height .24s var(--pdl-rsp5-ease);
}
body.pdl-pr-phase5-active .pdl-rsp5-serves__item:hover {
    transform: translateY(-3px);
    border-color: rgba(61,175,190,.34);
    box-shadow: 0 18px 42px rgba(8,45,70,.085);
}
body.pdl-pr-phase5-active .pdl-rsp5-serves__item:hover::before { height: 66px; }
body.pdl-pr-phase5-active .pdl-rsp5-serves__media {
    min-height: 620px;
    margin: 0;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--pdl-rsp5-shadow);
}

/* FAQ */
body.pdl-pr-phase5-active .pdl-rsp5-faq { background: #fff; }
body.pdl-pr-phase5-active .pdl-rsp5-faq__list { display: grid; gap: 14px; }
body.pdl-pr-phase5-active .pdl-rsp5-faq__item {
    overflow: hidden;
    border: 1px solid var(--pdl-rsp5-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(8,45,70,.05);
}
body.pdl-pr-phase5-active .pdl-rsp5-faq__item summary {
    position: relative;
    padding: 23px 66px 23px 26px;
    list-style: none;
    cursor: pointer;
    color: var(--pdl-rsp5-ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
}
body.pdl-pr-phase5-active .pdl-rsp5-faq__item summary::-webkit-details-marker { display: none; }
body.pdl-pr-phase5-active .pdl-rsp5-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(46,147,197,.22);
    background: #eef9fb;
    color: var(--pdl-rsp5-blue);
    font-size: 22px;
    transform: translateY(-50%);
    transition: transform .22s ease, background-color .22s ease;
}
body.pdl-pr-phase5-active .pdl-rsp5-faq__item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    background: #e2f5f7;
}
body.pdl-pr-phase5-active .pdl-rsp5-faq__item > div { padding: 0 26px 24px; }

/* Final CTA */
body.pdl-pr-phase5-active .pdl-rsp5-final {
    position: relative;
    overflow: hidden;
    padding: clamp(74px, 7vw, 104px) 0;
    background:
        radial-gradient(circle at 88% 20%, rgba(61,175,190,.16), transparent 28%),
        linear-gradient(145deg, #0b3854 0%, #123f5c 100%);
}
body.pdl-pr-phase5-active .pdl-rsp5-final::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -110px;
    bottom: -160px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
}
body.pdl-pr-phase5-active .pdl-rsp5-final__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 46px;
    align-items: center;
}
body.pdl-pr-phase5-active .pdl-rsp5-final h2 { color: #fff; }
body.pdl-pr-phase5-active .pdl-rsp5-final p { max-width: 760px; color: rgba(255,255,255,.82); }
body.pdl-pr-phase5-active .pdl-rsp5-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 14px;
    background: var(--pdl-rsp5-orange);
    color: #fff !important;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 14px 32px rgba(247,148,29,.24);
    transition: transform .24s var(--pdl-rsp5-ease), box-shadow .24s ease, background-color .24s ease;
}
body.pdl-pr-phase5-active .pdl-rsp5-button span { transition: transform .24s ease; }
body.pdl-pr-phase5-active .pdl-rsp5-button:hover {
    transform: translateY(-2px);
    background: #ea8710;
    box-shadow: 0 18px 38px rgba(247,148,29,.29);
}
body.pdl-pr-phase5-active .pdl-rsp5-button:hover span { transform: translateX(4px); }

/* Entrance motion: restrained and one-time. */
html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal,
html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal-left,
html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal-right {
    opacity: 0;
    transition: opacity .72s ease, transform .72s var(--pdl-rsp5-ease);
}
html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal { transform: translateY(26px); }
html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal-left { transform: translateX(-30px); }
html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal-right { transform: translateX(30px); }
html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-is-visible { opacity: 1; transform: none; }

body.pdl-pr-phase5-active .pdl-pr-preview-badge {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999999;
    max-width: 430px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    background: #173a55;
    color: #fff;
    font: 600 13px/1.4 Arial,sans-serif;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

@media (max-width: 1120px) {
    body.pdl-pr-phase5-active .pdl-rsp5-hero__grid,
    body.pdl-pr-phase5-active .pdl-rsp5-intro__grid,
    body.pdl-pr-phase5-active .pdl-rsp5-story,
    body.pdl-pr-phase5-active .pdl-rsp5-medication,
    body.pdl-pr-phase5-active .pdl-rsp5-capabilities__grid,
    body.pdl-pr-phase5-active .pdl-rsp5-serves__grid {
        grid-template-columns: 1fr;
    }
    body.pdl-pr-phase5-active .pdl-rsp5-hero__grid { min-height: auto; }
    body.pdl-pr-phase5-active .pdl-rsp5-hero__copy { min-height: 520px; }
    body.pdl-pr-phase5-active .pdl-rsp5-hero__image { min-height: 520px; }
    body.pdl-pr-phase5-active .pdl-rsp5-story--sdoh { grid-template-columns: 1fr; }
    body.pdl-pr-phase5-active .pdl-rsp5-capabilities__media,
    body.pdl-pr-phase5-active .pdl-rsp5-serves__media { min-height: 520px; }
    body.pdl-pr-phase5-active .pdl-rsp5-outcomes__cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
    body.pdl-pr-phase5-active .pdl-rsp5-shell,
    body.pdl-pr-phase5-active .pdl-rsp5-shell--narrow { width: min(92vw, 680px); }
    body.pdl-pr-phase5-active .pdl-rsp5-section { padding: 68px 0; }
    body.pdl-pr-phase5-active .pdl-rsp5-hero__copy { min-height: auto; padding: 62px 24px 54px; }
    body.pdl-pr-phase5-active .pdl-rsp5-hero__image { min-height: 360px; }
    body.pdl-pr-phase5-active .pdl-rsp5-intro__image,
    body.pdl-pr-phase5-active .pdl-rsp5-story__media,
    body.pdl-pr-phase5-active .pdl-rsp5-medication__media,
    body.pdl-pr-phase5-active .pdl-rsp5-capabilities__media,
    body.pdl-pr-phase5-active .pdl-rsp5-serves__media { min-height: 360px; border-radius: 24px; }
    body.pdl-pr-phase5-active .pdl-rsp5-medication,
    body.pdl-pr-phase5-active .pdl-rsp5-story--sdoh { padding: 28px 22px; border-radius: 26px; }
    body.pdl-pr-phase5-active .pdl-rsp5-capabilities__list,
    body.pdl-pr-phase5-active .pdl-rsp5-serves__list,
    body.pdl-pr-phase5-active .pdl-rsp5-outcomes__cards { grid-template-columns: 1fr; }
    body.pdl-pr-phase5-active .pdl-rsp5-outcomes__stage { min-height: auto; }
    body.pdl-pr-phase5-active .pdl-rsp5-outcomes__image { position: absolute; }
    body.pdl-pr-phase5-active .pdl-rsp5-outcomes__cards { min-height: auto; padding: 24px; }
    body.pdl-pr-phase5-active .pdl-rsp5-outcome { min-height: 118px; }
    body.pdl-pr-phase5-active .pdl-rsp5-final__grid { grid-template-columns: 1fr; }
    body.pdl-pr-phase5-active .pdl-rsp5-button { width: 100%; white-space: normal; text-align: center; }
    body.pdl-pr-phase5-active .pdl-pr-preview-badge { left: 12px; right: 12px; bottom: 12px; max-width: none; border-radius: 12px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal,
    html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal-left,
    html.pdl-pr-js body.pdl-pr-phase5-active .pdl-rsp5-reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    body.pdl-pr-phase5-active .pdl-rsp5-page *,
    body.pdl-pr-phase5-active .pdl-rsp5-page *::before,
    body.pdl-pr-phase5-active .pdl-rsp5-page *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}


/* v10.18.0: reviewer refinement — keep Phase 5 outcome cards in the lower portion of the image frame. */
@media (min-width: 761px) {
    body.pdl-pr-phase5-active .pdl-rsp5-outcomes__cards {
        align-content: end;
    }
}
@media (max-width: 760px) {
    body.pdl-pr-phase5-active .pdl-rsp5-outcomes__cards {
        align-content: start;
    }
}
