/* Page hero header — shared across all student-facing pages.
   Mirrors .subjects-hero in clinical-pages.css so any blade can use the
   header by including _layout.page_hero without depending on the wider
   clinical-pages.css file. */

.page-hero {
    background: var(--foreground, #fff);
    border: 1px solid var(--separator, rgba(0, 0, 0, .07));
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .12);
    padding: 36px 40px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary, #1b98d0) 0%, transparent 55%);
    opacity: .07;
    border-radius: inherit;
    pointer-events: none;
}

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--alternate, #bbb);
    position: relative;
}

.page-hero-breadcrumb a {
    color: var(--alternate, #999);
    text-decoration: none;
    transition: color .18s;
}

.page-hero-breadcrumb a:hover {
    color: var(--primary, #1b98d0);
}

.page-hero-breadcrumb .bc-sep {
    color: var(--muted, #ddd);
    font-size: 10px;
    margin: 0 2px;
}

.page-hero-breadcrumb .bc-current {
    color: var(--primary, #1b98d0);
    font-weight: 600;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary, #1b98d0);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    position: relative;
}

.page-hero-badge i {
    font-size: 11px;
}

.page-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--body, #222);
    margin-bottom: 8px;
    line-height: 1.2;
    position: relative;
}

.page-hero-subtitle {
    font-size: 14px;
    color: var(--alternate, #999);
    margin-bottom: 20px;
    position: relative;
}

.page-hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
}

.page-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-hero-stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary, #1b98d0);
    line-height: 1;
}

.page-hero-stat-label {
    font-size: 11px;
    color: var(--alternate, #bbb);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-top: 3px;
}

.page-hero-icon {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 140px;
    color: var(--primary, #1b98d0);
    opacity: .06;
    pointer-events: none;
    line-height: 1;
}

.page-hero-actions {
    margin-top: 1rem;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

@media (max-width: 767px) {
    .page-hero {
        padding: 24px 20px;
    }
    .page-hero-title {
        font-size: 1.8rem;
    }
    .page-hero-icon {
        font-size: 90px;
        right: 16px;
        opacity: .04;
    }
}

@media (max-width: 480px) {
    .page-hero-icon {
        display: none;
    }
    .page-hero-stats {
        gap: 16px;
    }
}
