/* Shared page banner sizing and typography */

.page-hero,
.gallery-hero,
.career-hero,
.contact-hero,
.about-hero {
    width: 100%;
    height: 250px;
    min-height: 250px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(
            rgba(5, 39, 68, 0.88),
            rgba(0, 104, 163, 0.72)
        ),
        url("../images/gallary/gallery-banner.jpg") center / cover no-repeat;
}

.page-hero-content,
.page-hero > div:not(.page-hero-overlay),
.gallery-hero-overlay,
.career-hero-content,
.contact-hero-overlay,
.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    color: #ffffff;
}

.page-hero-overlay {
    background: transparent;
}

.page-hero h2,
.gallery-hero h1,
.career-hero-content h2,
.contact-hero-overlay h2,
.about-hero h2 {
    margin: 0;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1px;
}

.page-hero p,
.gallery-hero p,
.career-hero-content p,
.contact-hero-overlay p,
.about-hero p {
    width: 100%;
    max-width: 650px;
    margin: 8px auto 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

.page-hero-icon {
    margin: 0 auto 8px;
}

.page-hero-icon,
.page-hero-icon i {
    color: #ffffff;
}

.projects-hero-kicker,
.gallery-hero-small,
.career-kicker,
.contact-hero-overlay > span {
    display: block;
    margin-bottom: 8px;
    color: #f9b76d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.career-hero-content h3 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.career-hero-content p {
    margin-bottom: 12px;
}

.career-hero-button {
    background: #0f5ea8;
}

@media (max-width: 768px) {
    .page-hero,
    .gallery-hero,
    .career-hero,
    .contact-hero,
    .about-hero {
        height: 250px;
        min-height: 250px;
    }

    .page-hero h2,
    .gallery-hero h1,
    .career-hero-content h2,
    .contact-hero-overlay h2,
    .about-hero h2 {
        font-size: 30px;
    }
}
