/* Public resume only. The authenticated member panel keeps its original theme. */
.pr.pr-public-resume {
    box-sizing: border-box;
    --pr-navy: #06193B;
    --ink: #06193B;
    --accent: #032664;
}
.pr.pr-public-resume .pr-mast {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--pr-navy);
    padding: clamp(25px,4vw,53px);
    padding-left: 35%;
}
.pr.pr-public-resume .pr-mast::before {
    inset: 0 auto 0 0;
    width: 63%;
    background:
        linear-gradient(to right, rgba(6,25,59,.15) 0%, rgba(6,25,59,0) 12%, rgba(6,25,59,0) 45%, rgba(6,25,59,.62) 72%, #06193B 100%),
        linear-gradient(to bottom, #06193B 0%, rgba(6,25,59,0) 13%, rgba(6,25,59,0) 87%, #06193B 100%),
        url('daneshpo-resume-hero.webp?v=2') left center / cover no-repeat;
    pointer-events: none;
}
.pr.pr-public-resume .pr-person { flex-wrap: wrap; }
.pr.pr-public-resume .pr-name { flex: 1 1 140px; overflow-wrap: anywhere; }
.pr.pr-public-resume .pr-share,
.pr.pr-public-resume .pr-actions :is(a,button) {
    background: #10294f;
    border-color: #ffffff50;
    color: #fff;
}
.pr.pr-public-resume .pr-actions .pr-primary {
    background: #2BBBB4;
    border-color: #2BBBB4;
    color: #06193B;
}
.pr.pr-public-resume .pr-share:hover,
.pr.pr-public-resume .pr-actions :is(a,button):hover { background: #fff; color: #06193B; }
.pr.pr-public-resume .pr-nav a[aria-current] {
    background: #edf2f8;
    border-bottom-color: #06193B;
    color: #06193B;
}
.pr.pr-public-resume .pr-intro-preview { max-width: none; margin-bottom: 8px; }
.pr.pr-public-resume .pr-intro-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #032664;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.pr.pr-public-resume .pr-intro-full { scroll-margin-top: 100px; }
.pr.pr-public-resume .pr-intro-full h2 { margin: 0 0 16px; }
.pr.pr-public-resume .pr-intro-body { color: #2b384f; font-size: 15px; line-height: 2.05; overflow-wrap: anywhere; }
@media (max-width: 800px) {
    .pr.pr-public-resume .pr-mast {
        min-height: 240px;
        padding: 28px clamp(16px,4vw,32px);
    }
    .pr.pr-public-resume .pr-mast::before {
        position: absolute;
        inset: 0 auto 0 0;
        width: 100%;
        margin: 0;
        height: auto;
        background:
            linear-gradient(to right, rgba(6,25,59,.35) 0%, rgba(6,25,59,.76) 40%, #06193B 85%),
            linear-gradient(to bottom, rgba(6,25,59,.2), rgba(6,25,59,.55)),
            url('daneshpo-resume-hero.webp?v=2') left center / cover no-repeat;
    }
    .pr.pr-public-resume .pr-person { gap: 11px; }
}
@media (max-width: 360px) {
    .pr.pr-public-resume .pr-name { flex-basis: 100px; }
    .pr.pr-public-resume .pr-avatar { width: 58px; height: 58px; }
}

/* Consistent icons in all seven public resume tabs. */
.pr.pr-public-resume .pr-nav .pr-nav-icon {
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: inherit;
    stroke: currentColor;
}

/* Anchor the public share control to the physical upper-left corner of the hero. */
.pr.pr-public-resume .pr-mast > button.pr-share {
    position: absolute;
    top: clamp(16px, 2.3vw, 30px);
    left: clamp(16px, 2.3vw, 30px);
    right: auto;
    bottom: auto;
    margin: 0;
    z-index: 2;
}
.pr.pr-public-resume .pr-mast > button.pr-share svg { display: block; }
@media (max-width: 800px) {
    .pr.pr-public-resume .pr-person { padding-left: 44px; }
    .pr.pr-public-resume .pr-mast > button.pr-share { top: 16px; left: 16px; }
}
