.gl-page-title-bar {
    width: 100%;
    padding: 40px 0 !important;
    box-sizing: border-box;
    background: #262626;
    color: #ffffff;
}

/* Avada can impose a fixed height on the Page Title Bar layout wrapper.
   Let the shortcode determine the actual height. */
.fusion-page-title-bar:has(.gl-page-title-bar),
.fusion-page-title-row:has(.gl-page-title-bar),
.fusion-page-title-wrapper:has(.gl-page-title-bar) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.gl-page-title-bar__inner {
    width: min(100%, 1300px);
    min-height: 220px;
    margin: 0 auto;
    padding: 48px 24px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gl-page-title-bar__title {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    text-align: center !important;
}

.gl-page-title-bar__subtitle {
    width: 33.333% !important;
    max-width: 433px !important;
    margin-top: 20px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}

.gl-page-title-bar__subtitle p {
    margin: 0 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    text-align: inherit !important;
}

@media (max-width: 767px) {
    .gl-page-title-bar__inner {
        min-height: 180px;
        padding: 38px 20px !important;
    }

    .gl-page-title-bar__subtitle {
        width: 100% !important;
        max-width: 680px !important;
        margin-top: 16px;
        font-size: 16px;
    }
}
