/* Unified Page Title Styling */
.page-title.dark-background {
    min-height: 500px;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: overlay;
}

.page-title.dark-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

/* Title box overlay for consistent readability across pages */
.page-title .title-box {
    display: inline-block;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
}

.page-title .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-title h2 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

    /* Responsive */
@media (max-width: 991px) {
    .page-title.dark-background {
        min-height: 400px;
        padding: 6rem 0;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .page-title h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-title.dark-background {
        min-height: 350px;
        padding: 5rem 0;
    }

    .page-title h1 {
        font-size: 1.75rem;
    }

    .page-title h2 {
        font-size: 1rem;
    }
}
