/* ============================================================
   PIVYA HCP (Healthcare Professionals) Stylesheet
   ============================================================ */

/* Utility Bar HCP Note */
#utility-bar .resident-note {
    font-weight: 700;
    color: var(--blue-dark);
}

/* Primary Nav Dropdown */
.hcp-site .main-menu .dropdown-toggle::after {
    display: inline-block;
    margin-left: 6px;
    vertical-align: 2px;
    content: "";
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
    transition: transform 0.2s ease;
}
.hcp-site .main-menu .dropdown:hover .dropdown-toggle::after,
.hcp-site .main-menu .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.hcp-site .main-menu .dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    min-width: 200px;
    margin-top: 8px;
}
.hcp-site .main-menu .dropdown-item {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    color: var(--black);
    transition: all 0.2s ease;
}
.hcp-site .main-menu .dropdown-item:hover,
.hcp-site .main-menu .dropdown-item:focus {
    background-color: var(--paper);
    color: var(--blue);
}

/* Show dropdown on hover on desktop */
@media (min-width: 950px) {
    .hcp-site .main-menu .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Active navigation link styling */
body.hcp-home .home > .main-menu-link,
body.hcp-resistance .about-pivya > .main-menu-link,
body.hcp-efficacy-safety .about-pivya > .main-menu-link,
body.hcp-resources .resources > .main-menu-link,
body.hcp-prescribing-pivya .prescribing-pivya > .main-menu-link,
body.hcp-savings-card .savings-card > .main-menu-link {
    color: var(--blue) !important;
    font-weight: 800 !important;
}

.hcp-site .btn-patient-site {
    background-color: var(--blue) !important;
    color: var(--white) !important;
    padding: 6px 18px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    transition: background-color 0.2s ease;
}
.hcp-site .btn-patient-site:hover {
    background-color: var(--blue-dark) !important;
}

/* HCP Hero Section */
.hcp-hero {
    position: relative;
    background-color: #eaf3f8;
    overflow: hidden;
    padding: 0;
}
.hcp-hero .hero-img-wrap {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    position: relative;
}
.hcp-hero .hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hcp-hero-caption {
    padding: 40px 0 20px;
}
.hcp-hero-caption h1 {
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--blue-dark);
}
.hcp-hero-caption p.lead-sub {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 700;
    color: var(--blue);
}

/* Section styling */
.hcp-section {
    padding: clamp(48px, 6vw, 80px) 0;
}
.hcp-section.bg-paper {
    background-color: var(--paper);
}
.hcp-section.bg-white {
    background-color: var(--white);
}

/* Feature & Action Boxes */
.hcp-feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hcp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.hcp-feature-card .card-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 20px;
}
.hcp-feature-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 12px;
}
.hcp-feature-card p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--slate);
    flex-grow: 1;
}

/* MOA Callout Box */
.moa-callout {
    background: #f0f8f4;
    border-left: 6px solid var(--green);
    border-radius: 12px;
    padding: 24px 30px;
}
.moa-callout h4 {
    color: var(--green-dark);
    font-weight: 800;
}

/* Video Player Wrap */
.hcp-video-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    background-color: #000;
}
.hcp-video-wrap video {
    width: 100%;
    height: auto;
    display: block;
}

/* Copay & Sample CTAs */
.hcp-cta-banner {
    background: linear-gradient(135deg, #1d6fa6 0%, #123b5c 100%);
    border-radius: 24px;
    padding: clamp(36px, 5vw, 60px);
    color: var(--white);
}
.hcp-cta-banner h2, .hcp-cta-banner h3 {
    color: var(--white);
    font-weight: 800;
}
.hcp-cta-banner p {
    color: rgba(255, 255, 255, 0.9);
}
.hcp-sample-box {
    background: var(--paper);
    border-radius: 20px;
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Data Tables */
.hcp-table-wrap {
    background: var(--white);
    border-radius: 16px;
    overflow-x: auto;
    border: 1px solid #e1e7ec;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin: 24px 0 32px;
}
.hcp-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}
.hcp-table th {
    background-color: #123b5c;
    color: #fff;
    font-weight: 700;
    padding: 14px 20px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}
.hcp-table td {
    padding: 14px 20px;
    font-size: 0.95rem;
    color: #2c3a40;
    border-top: 1px solid #edf1f4;
    vertical-align: middle;
}
.hcp-table tbody tr:nth-of-type(even) {
    background-color: #f9fbfc;
}
.hcp-table tbody tr:hover {
    background-color: #edf5fa;
}

/* References Section */
.hcp-references {
    border-top: 1px solid #dbe2e8;
    padding-top: 36px;
    margin-top: 48px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #6c7884;
}
.hcp-references ol {
    padding-left: 20px;
    margin-bottom: 0;
}
.hcp-references li {
    margin-bottom: 6px;
}

/* Resource Brochures */
.brochure-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e1e7ec;
    text-align: center;
    transition: transform 0.2s ease;
}
.brochure-card:hover {
    transform: translateY(-4px);
}
.brochure-card img {
    margin: 0 auto 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
