/* ================================
   COMMON SECTION HEADING STYLES
   Consistent style across all sections
   Based on about-section heading design
   ================================ */

/* Base Section Title with Lines */
.section-title-lined {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: #0000ff;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    text-align: center;
}

.section-title-lined::before,
.section-title-lined::after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 2px;
    background: #0000ff;
    flex-shrink: 0;
}

.section-title-lined span {
    color: #0000ff;
    white-space: nowrap;
}

/* Section Subtitle (italic) */
.section-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin: 0;
    text-align: center;
}

/* Section Header Container */
.section-header-centered {
    text-align: center;
    margin-bottom: 2rem;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 991.98px) {
    .section-title-lined {
        font-size: 1.5rem;
        gap: 1.25rem;
    }

    .section-title-lined::before,
    .section-title-lined::after {
        width: 80px;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .section-title-lined {
        font-size: 1.25rem;
        gap: 1rem;
    }

    .section-title-lined::before,
    .section-title-lined::after {
        width: 60px;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }
}

@media (max-width: 575.98px) {
    .section-title-lined {
        font-size: 1rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .section-title-lined::before,
    .section-title-lined::after {
        width: 40px;
    }

    .section-title-lined span {
        white-space: normal;
        flex: 0 0 100%;
        order: -1;
    }

    .section-title-lined::before {
        order: 0;
    }

    .section-title-lined::after {
        order: 1;
    }
}
