/* assets/case-study-detail-hero.css */
.case-study-detail-hero {
    position: relative;
    background-image: url('http://localhost/physio/wp-content/uploads/2026/01/home-hero-banner.jpg'); /* Reusing existing banner image */
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    color: var(--white);
    text-align: center;
    margin-top: 80px; /* To offset fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Ensure sufficient height for the banner */
}

.case-study-detail-hero .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 69%); /* Dark overlay */
    z-index: 1;
}

.case-study-detail-hero .case-study-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.case-study-detail-hero .banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Take full height of its container */
}

.case-study-detail-hero .breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.case-study-detail-hero .breadcrumb a {
    color: var(--yellow-primary); /* Use primary theme color for links */
    text-decoration: none;
}

.case-study-detail-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.case-study-detail-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-top: 1rem;
    font-weight: 700;
}

.case-study-detail-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Responsive adjustments for banner */
@media (max-width: 768px) {
    .case-study-detail-hero {
        padding: 4rem 2rem;
        margin-top: 70px;
        min-height: 300px;
    }

    .case-study-detail-hero h1 {
        font-size: 2.8rem;
    }

    .case-study-detail-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .case-study-detail-hero {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .case-study-detail-hero h1 {
        font-size: 2.2rem;
    }
}
