.content-container {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    padding-top: 31px;
    padding-bottom: 61px;
}

.cbg-header {
    position: relative;
}

.cbg-header .container {
    position: relative;
    z-index: 1;
}

.cbg-header h1 p {
    margin-bottom: 0;
}

.cbg-header h1 {
    margin-bottom: 32px;
}

.cbg-header .text-description {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 125%;
    margin-bottom: 21px;
}

.cbg-header .cbg_fon {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cbg-header .cbg_right {
    position: absolute;
    right: 0;
    object-fit: cover;
    max-height: 519px;
    bottom: 15px;
    z-index: 0;
    width: auto;
}

.cbg-header .half-width-block.black-block {
    max-width: 632px;
    border-radius: 20px;
    background: rgba(22, 22, 22, 0.90);
    padding: 40px;
    color: var(--color-two);
}

.cbg-header .wp-block-buttons {
    margin-top: 41px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wp-block-buttons a {
    color: var(--Black, #161616);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-radius: 10px;
    border: 2px solid var(--wp--preset--color--custom-1, #FBC200);
    display: inline-flex;
    padding: 14px 72px;
    justify-content: center;
    align-items: flex-start;
    text-decoration: none;
}

.wp-block-buttons .button-left a {
    background-color: var(--wp--preset--color--custom-1, #FBC200);
    color: var(--Black);
}

.wp-block-buttons .button-right a {
    color: var(--wp--preset--color--custom-1) !important;
    background: none;
    border: 2px solid var(--wp--preset--color--custom-1, #FBC200);
}


.wp-block-buttons a:hover {
    color: var(--wp--preset--color--custom-1);
    background-color: var(--color-two);
    border-color: var(--color-two);
}


@media (max-width:992px) {
    .cbg-header .half-width-block.black-block {
        max-width: 100%;
        background: none;
        padding: 0;
    }

    .cbg-header {
        background: rgba(22, 22, 22, 0.90);
    }

    .cbg-header .text-description {
        font-size: 14px;
    }

    .cbg-header h1 {
        margin-bottom: 20px;
    }

    .cbg-header .wp-block-buttons a {
        padding: 7px 24px;
        font-size: 12px;
    }

    .cbg-header .wp-block-buttons {
        margin-top: 29px;
    }

    .cbg-header .content-container {
        padding-bottom: 30px;
    }

    .cbg-header .wp-block-image {
        margin-top: 21px;
    }

    .cbg-header .wp-block-buttons {
        justify-content: flex-start;
        gap: 20px;
    }
}