.section-header {
    background-size: cover;
    background-position: center center;
}

.header-background {
    min-height: 680px;
    position: relative;
    background-size: cover;
    background-position: center center;
}

.header-background-logo {
    position: absolute;
    top: calc(50% - 85px);
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: var(--primary-beige);
    height: 100%;
    padding: 40px;
    position: relative;
    z-index: 98;
    margin-top: -115px;
}

.page-id-1287 .header-panel {
    margin-top: -170px;
}

.header-panel p {
    margin: 0;
    padding: 0;
}

.header-panel .title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: normal;
    text-align: center;
    max-width: 940px;
    margin: 0 auto;
}

.header-panel .description {
    max-width: 940px;
    margin: 0 auto;
}

@media (max-width: 1440px) {
    .header-background {
        min-height: 480px;
    }
}

@media (max-width: 992px) {
    .header-panel {
        padding: 20px 20px 60px 20px;
        margin-top: -105px;
        text-align: center;
    }

    .header-panel .title {
        font-size: 24px;
        max-width: 100%;
    }

    .header-background {
        min-height: 320px;
    }

    .header-background-logo {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-panel .title span {
        display: block;
    }
}