/* ================= OUR ROLE PAGE ENHANCED STYLES ================= */

/* ================= HERO SECTION ================= */
.role-hero {
    background: linear-gradient(135deg, #fafcfd 0%, #ffffff 100%);
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.role-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 35%, rgba(118, 179, 218, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 65%, rgba(47, 94, 155, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.role-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ================= CONTENT COLUMN ================= */
.role-content h1 {
    font-family: var(--font-serif);
    font-size: 42px;
    color: var(--medical-navy);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.role-content .sub {
    color: var(--clinical-blue);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 500;
}

.role-content h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--medical-navy);
    margin-top: 36px;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    padding-bottom: 12px;
}

/* Decorative underline */
.role-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--clinical-blue) 0%, var(--sterile-sky) 100%);
    border-radius: 2px;
}

.role-content h2:first-of-type {
    margin-top: 8px;
}

.role-content h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--muted-indigo);
    margin-top: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.role-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--charcoal-ink);
    margin-bottom: 12px;
}

/* ================= MEDIA COLUMN ================= */
.role-media {
    position: relative;
}

.role-image {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f7fb 0%, #ffffff 100%);
    display: block;
    box-shadow:
        0 20px 40px rgba(15, 34, 68, 0.1),
        0 8px 16px rgba(15, 34, 68, 0.06);
    margin-bottom: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-image:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 48px rgba(15, 34, 68, 0.13),
        0 12px 20px rgba(15, 34, 68, 0.08);
}

/* Decorative element behind image */
.role-media::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--sterile-sky) 0%, var(--clinical-blue) 100%);
    border-radius: 12px;
    opacity: 0.12;
    z-index: -1;
}

/* ================= ROLE LIST CARDS ================= */
.role-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 12px;
}

.role-item {
    padding: 24px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow:
        0 4px 12px rgba(15, 34, 68, 0.06),
        0 1px 3px rgba(15, 34, 68, 0.08);
    border: 1px solid rgba(118, 179, 218, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient accent bar */
.role-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--clinical-blue) 0%, var(--sterile-sky) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.role-item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(15, 34, 68, 0.1),
        0 2px 6px rgba(15, 34, 68, 0.08);
    border-color: var(--sterile-sky);
}

.role-item:hover::before {
    opacity: 1;
}

.role-item h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--medical-navy);
    margin-bottom: 10px;
    font-weight: 600;
}

.role-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--cool-slate);
    margin-bottom: 0;
}

/* ================= CTA BUTTON ================= */
.role-cta {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(118, 179, 218, 0.2);
}

.role-cta .btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--clinical-blue) 0%, var(--medical-navy) 100%);
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 12px rgba(47, 94, 155, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.role-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 94, 155, 0.35);
    background: linear-gradient(135deg, var(--medical-navy) 0%, var(--clinical-blue) 100%);
}

/* ================= CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= RESPONSIVE DESIGN ================= */

/* Tablet (900px and below) */
@media (max-width: 900px) {
    .role-hero {
        padding: 70px 0 60px;
    }

    .role-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .role-content h1 {
        font-size: 36px;
    }

    .role-content .sub {
        font-size: 17px;
        margin-bottom: 28px;
    }

    .role-media::before {
        display: none;
    }

    .role-image {
        max-width: 100%;
    }

    .role-list {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .role-hero {
        padding: 60px 0 50px;
    }

    .role-content h1 {
        font-size: 32px;
    }

    .role-content .sub {
        font-size: 16px;
    }

    .role-content h2 {
        font-size: 24px;
        margin-top: 32px;
    }

    .role-content h3 {
        font-size: 18px;
        margin-top: 20px;
    }

    .role-content p {
        font-size: 15px;
    }

    .role-list {
        grid-template-columns: 1fr;
    }

    .role-item {
        padding: 20px;
    }

    .role-cta {
        margin-top: 32px;
        padding-top: 24px;
    }

    .role-cta .btn-primary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .role-hero {
        padding: 40px 0 30px;
    }

    .role-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .role-content .sub {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .role-content h2 {
        font-size: 22px;
        margin-top: 28px;
    }

    .role-content h3 {
        font-size: 17px;
    }

    .role-content p {
        font-size: 14px;
    }

    .role-item {
        padding: 18px;
    }

    .role-item h4 {
        font-size: 16px;
    }

    .role-item p {
        font-size: 14px;
    }
}

/* ================= PRINT STYLES ================= */
@media print {
    .role-hero {
        background: #ffffff;
        padding: 20px 0;
    }

    .role-hero::before,
    .role-media::before {
        display: none;
    }

    .role-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dddddd;
    }

    .role-cta .btn-primary {
        background: #0b2a4a;
        box-shadow: none;
    }
}
