/**
 * Page Hero Component Styles
 * Reusable hero header for siteweb pages
 * Madagascar flag colors: White, Red (#ED2024), Green (#0E8040)
 */

/* Page Hero Container */
.page-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
    gap: 15px;
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 140px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/static/siteweb/images/Hero.png') center/cover no-repeat;
    background-color: #1a1a1a;
}

/* Hero Content */
.page-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1280px;
    z-index: 1;
}

/* Hero Title */
.page-hero-title {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    text-transform: none;
}

/* Breadcrumb Navigation */
.page-hero-breadcrumb {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 17px;
}

.page-hero-breadcrumb a,
.page-hero-breadcrumb span {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
}

.page-hero-breadcrumb a:hover {
    text-decoration: underline;
}

.page-hero-breadcrumb .breadcrumb-separator {
    color: #FFFFFF;
    font-size: 14px;
}

/* Hero Tabs */
.page-hero-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 10px;
}

/* Madagascar Flag Line (White, Red, Green) */
.flag-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 6px;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.flag-line-white {
    flex: 1;
    height: 6px;
    background-color: #FFFFFF;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
}

.flag-line-red {
    flex: 1;
    height: 6px;
    background-color: #ED2024;
}

.flag-line-green {
    flex: 1;
    height: 6px;
    background-color: #0E8040;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-hero {
        padding: 30px 20px;
    }

    .page-hero-title {
        font-size: 32px;
        line-height: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 20px 15px;
        min-height: 120px;
    }

    .page-hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .page-hero-breadcrumb a,
    .page-hero-breadcrumb span {
        font-size: 14px;
    }

    .page-hero-breadcrumb {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 28px;
        line-height: 34px;
    }

    .page-hero-breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
}