/* Hero Component Styles */
/* Reusable hero section with image and overlay */
/* Base styles - course-template.css provides specific overrides for course/lesson pages */

.section-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Base hero content — 1920×800 proportion; course-template.css may override for topic pages */
.section-hero-content {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 800;
    overflow: hidden;
    background-color: #000;
}

.section-hero-content img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.section-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.0);
    padding: 40px;
    text-align: center;
}

.section-hero-title {
    font-family: var(--font-sf-pro, 'SF Pro Display', sans-serif);
    font-size: var(--font-size-5xl, 48px);
    font-weight: var(--font-weight-bold, 700);
    color: var(--color-white);
    margin: 0 0 var(--spacing-xl, 16px) 0;
    line-height: var(--line-height-tight, 1.2);
}

.section-hero-subtitle {
    font-family: var(--font-inter, sans-serif);
    font-size: var(--font-size-md, 18px);
    font-weight: var(--font-weight-normal, 400);
    color: var(--color-white);
    margin: 0;
    line-height: var(--line-height-normal, 1.5);
    max-width: 600px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .section-hero-overlay {
        padding: 24px;
    }

    .section-hero-title {
        font-size: var(--font-size-3xl, 32px);
    }

    .section-hero-subtitle {
        font-size: var(--font-size-base, 16px);
    }
}
