/* =============================================================================
   specialtypharma.css — Alfasigma US Biopharmaceuticals page
   Scoped under body.specialty-pharma to avoid leaking into global styles.
   ============================================================================= */

html { scroll-behavior: smooth; }

/* ---------- Page sections ---------- */
.specialty-pharma .sp-section { padding: 72px 0; background-color: #fff; }
.specialty-pharma .sp-section.sp-band { background-color: #f9f9f9; }

/* ---------- Hero ---------- */
.specialty-pharma .sp-hero {
    background:
        radial-gradient(ellipse at 70% 50%, rgba(204, 0, 0, 0.08) 0%, transparent 65%),
        linear-gradient(135deg, #1a1a24 0%, #000003 100%);
    color: #fff;
    padding: 160px 0 110px;
    position: relative;
    overflow: hidden;
}
.specialty-pharma .sp-hero p.sp-hero-tag {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 18px;
    max-width: none;
    letter-spacing: 0.01em;
}
.specialty-pharma .sp-hero h1 {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.15;
    margin: 0 0 26px;
    letter-spacing: 0.005em;
    max-width: 820px;
    color: #c5a264;
    text-transform: none;
}
.specialty-pharma .sp-hero h1 .sp-red { color: #ff3333; }
.specialty-pharma .sp-hero p {
    font-family: "Karla", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #d7d7de;
    max-width: 720px;
    margin: 0 0 18px;
}

/* ---------- Section header pattern ---------- */
.specialty-pharma .sp-section-label {
    display: block;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #cc0000;
    margin: 0 0 10px;
}
.specialty-pharma h2.sp-section-title {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1.85rem;
    line-height: 1.2;
    color: #1a1a24;
    margin: 0 0 18px;
    max-width: 820px;
    text-transform: none;
    letter-spacing: 0.01em;
}
.specialty-pharma .sp-section-body {
    font-family: "Karla", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 820px;
    margin: 0 0 14px;
}

/* ---------- Belief / pillar rows ---------- */
.specialty-pharma .sp-belief-list {
    margin-top: 40px;
    display: grid;
    gap: 12px;
    max-width: 900px;
}
.specialty-pharma .sp-belief-row {
    background: #fff;
    border-left: 3px solid #cc0000;
    padding: 18px 22px;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}
.specialty-pharma .sp-belief-row h3 {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #cc0000;
    margin: 0 0 6px;
    text-transform: none;
    letter-spacing: 0.02em;
}
.specialty-pharma .sp-belief-row p {
    margin: 0;
    font-family: "Karla", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* ---------- Focus disease cards ---------- */
.specialty-pharma .sp-focus-stack {
    margin-top: 40px;
    display: grid;
    gap: 0;
    max-width: 920px;
}
.specialty-pharma .sp-focus-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: 4px solid #cc0000;
    border-radius: 4px;
    padding: 30px 30px 32px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.specialty-pharma .sp-focus-card .sp-kicker {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 10px;
}
.specialty-pharma .sp-focus-card h3 {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #1a1a24;
    margin: 0 0 14px;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0.01em;
}
.specialty-pharma .sp-focus-card p {
    font-family: "Karla", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 12px;
}
.specialty-pharma .sp-focus-card p:last-child { margin-bottom: 0; }
.specialty-pharma .sp-focus-stack .sp-focus-card + .sp-focus-card { margin-top: 20px; }

.specialty-pharma .sp-section-body sup,
.specialty-pharma .sp-focus-card sup {
    color: inherit;
    font-size: 0.7em;
    font-weight: 700;
    line-height: 0;
    vertical-align: super;
}
.specialty-pharma .sp-section-body sup a,
.specialty-pharma .sp-focus-card sup a {
    color: inherit;
    text-decoration: none;
}
.specialty-pharma .sp-section-body sup a:hover,
.specialty-pharma .sp-focus-card sup a:hover { text-decoration: underline; }
.specialty-pharma [id^="sp-cite-"],
.specialty-pharma [id^="sp-ref-"] {
    scroll-margin-top: 120px;
}

/* ---------- References ---------- */
.specialty-pharma .sp-references {
    padding: 64px 0 72px;
    background-color: #fff;
}
.specialty-pharma .sp-references h2 {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #1a1a24;
    margin: 0 0 24px;
    text-transform: none;
    letter-spacing: 0.01em;
}
.specialty-pharma .sp-references ol {
    max-width: 920px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.specialty-pharma .sp-references li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 4px;
    font-family: "Karla", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin: 0 0 8px;
    padding-left: 0;
}
.specialty-pharma .sp-reference-number {
    color: #cc0000;
    font-weight: 700;
    text-decoration: none;
}
.specialty-pharma .sp-reference-number:hover { text-decoration: underline; }
.specialty-pharma .sp-references em { font-style: italic; }


/* ---------- Primary CTA button ---------- */
.specialty-pharma a.sp-cta {
    display: inline-block;
    margin-top: 32px;
    background-color: #cc0000;
    color: #fff;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 15px 32px;
    border-radius: 3px;
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(204, 0, 0, 0.35);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.specialty-pharma a.sp-cta:hover {
    background-color: #e60000;
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.5);
    transform: translateY(-1px);
    color: #fff;
}

/* ---------- Leadership ---------- */
.specialty-pharma .sp-featured-leader {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    max-width: 920px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.specialty-pharma .sp-featured-portrait {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}
.specialty-pharma .sp-featured-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.specialty-pharma .sp-featured-bio h3 {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #cc0000;
    margin: 0 0 4px;
    text-transform: none;
    letter-spacing: 0.02em;
}
.specialty-pharma .sp-featured-bio .sp-role {
    font-family: "Karla", sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.45;
    color: #444;
    margin: 0 0 14px;
}
.specialty-pharma .sp-featured-bio p {
    font-family: "Karla", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ---------- Footer overrides (careers-style: white, simplified) ---------- */
.specialty-pharma footer { padding: 30px 0; background-color: #fff; }
.specialty-pharma footer .privacy { max-width: 480px; }
.specialty-pharma .footer-right .copyright { margin: 0 0 8px; }
.specialty-pharma .footer-right .copyright a {
    margin-left: 0;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    position: relative;
}
.specialty-pharma .footer-right .copyright a::after { content: "|"; margin: 0 10px; }
.specialty-pharma .footer-right .copyright a:last-child::after { display: none; }
.specialty-pharma footer > .to-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 90%;
    max-width: 1200px;
    text-align: right;
    pointer-events: none;
    background: none;
    border: none;
    padding: 0;
    font-size: 0;
}
.specialty-pharma footer > .to-top::after {
    content: "top";
    display: inline-block;
    pointer-events: auto;
    background-color: #fff;
    padding: 6px 16px;
    font-family: "Raleway", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3c3c3c;
    border: none;
    border-radius: 4px 4px 0 0;
}
@media all and (max-width: 1100px) {
    .specialty-pharma .footer-right .copyright a { display: block; margin-left: 0; }
    .specialty-pharma .footer-right .copyright a::after { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .specialty-pharma .sp-hero { padding: 100px 0 70px; }
    .specialty-pharma .sp-hero p.sp-hero-tag { font-size: 1.25rem; }
    .specialty-pharma .sp-hero h1 { font-size: 1.85rem; }
    .specialty-pharma .sp-hero p { font-size: 15px; }
    .specialty-pharma .sp-section { padding: 48px 0; }
    .specialty-pharma h2.sp-section-title { font-size: 1.45rem; }
    .specialty-pharma [id^="sp-cite-"],
    .specialty-pharma [id^="sp-ref-"] { scroll-margin-top: 96px; }
    .specialty-pharma .sp-references { padding: 44px 0 52px; }
    .specialty-pharma .sp-references h2 { font-size: 1.1rem; }
    .specialty-pharma .sp-featured-leader {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
        text-align: center;
    }
    .specialty-pharma .sp-featured-portrait { margin: 0 auto; }
    .specialty-pharma .sp-featured-bio p { text-align: left; }
}
