/* ========================================
   Subpage Styles
   ======================================== */

/* Subpage Hero Section */
.subpage-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.subpage-hero .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.85));
}

.subpage-hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.subpage-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.subpage-hero h2 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.5px;
}

/* Page Content Section */
.page-content {
    padding: 4rem 0;
}

.page-content .container {
    max-width: 900px;
}

/* ========================================
   Tablet Styles (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .subpage-hero h1 {
        font-size: 3.5rem;
    }

    .subpage-hero h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Desktop Styles (1024px and above)
   ======================================== */
@media (min-width: 1024px) {
    .subpage-hero {
        height: 45vh;
        min-height: 400px;
    }

    .subpage-hero h1 {
        font-size: 4rem;
    }

    .subpage-hero h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Mobile Styles (up to 767px)
   ======================================== */
@media (max-width: 767px) {
    .subpage-hero {
        height: 40vh;
        min-height: 300px;
    }

    .subpage-hero h1 {
        font-size: 2.25rem;
    }

    .subpage-hero h2 {
        font-size: 1rem;
    }

    .page-content {
        padding: 2.5rem 0;
    }
}
