.global_page-template-default .gm-header {
    top: 20px;
}

.gmg-header-background-image {
    --height: 500px;
    position: relative;
    overflow: hidden;
    height: var(--height);
    max-height: var(--height);
    border-radius: 40px;
    max-width: 1700px;
    margin: 0 auto;
    padding: 20px;
}

.gmg-header-background-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    height: 100%;
}

.gmg-header-background-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.3) 30%,
        rgba(26, 26, 46, 0) 100%
    );
    z-index: 1;
}

.gmg-header-background-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.global-page-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

.gmg-mobile-menu-wrapper {
    display: none;
}

.gmg-mobile-menu-wrapper.is-open {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #fff;
    overflow-y: auto;
    padding: 250px 20px 40px 20px;
}

html.gmg-mobile-menu-open,
body.gmg-mobile-menu-open {
    overflow: hidden;
    height: 100%;
    touch-action: none;
    overscroll-behavior: contain;
}

.gmg-mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding-left: 0;
}

.gmg-mobile-menu a {
    color: #1a1a2e;
    font-size: 20px;
    font-weight: var(--font-weight-medium);
}

.privacy-policy-page-template .gm-header {
    position: relative;
}

@media (max-width: 767px) {
    .gmg-header-background-image-container::before {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.7) 30%,
            rgba(26, 26, 46, 0) 100%
        );
    }

    .global_page-template-default .gm-header {
        top: 10px;
    }

    .gmg-header-background-image {
        --height: 350px;
        padding: 10px;
    }

    .global-page-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
