.elementor-section:has(.abp5_contact_site1_widget),
.elementor-container:has(.abp5_contact_site1_widget),
.elementor-column:has(.abp5_contact_site1_widget) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

.elementor-widget-abp5-contact-site1-widget,
.elementor-element[data-widget_type="affiliate_betportal_5_contact_site1.default"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.abp5_contact_site1_widget {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.abp5_contact_site1_size_helper {
    position: absolute;
    width: 100%;
    height: auto;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.abp5_contact_site1_inner {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 40px 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.abp5_contact_site1_text {
    position: absolute;
    left: 15vw;
    width: 35vw;
    max-width: 35vw;
    display: flex;
    align-items: center;
}

.abp5_contact_site1_buttons {
    position: absolute;
    left: 50vw;
    width: 50vw;
    padding: 0 3%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.abp5_contact_site1_heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.abp5_contact_site1_buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.abp5_contact_site1_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.abp5_contact_site1_button_1 {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid #ffffff;
}

.abp5_contact_site1_button_1:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

.abp5_contact_site1_button_2 {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.abp5_contact_site1_button_2:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #000000;
}

@media (max-width: 1279px) {
    .abp5_contact_site1_widget {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        background-size: cover;
    }

    .abp5_contact_site1_inner {
        padding: 32px 3%;
        gap: 24px;
        display: flex;
        align-items: center;
        position: relative;
    }

    .abp5_contact_site1_text {
        position: relative;
        left: auto;
        width: 45%;
        max-width: 45%;
    }

    .abp5_contact_site1_heading {
        font-size: 26px;
    }

    .abp5_contact_site1_buttons {
        position: relative;
        left: auto;
        width: 55%;
        padding: 0;
    }
}

@media (max-width: 779px) {
    .abp5_contact_site1_widget {
        align-items: center;
    }

    .abp5_contact_site1_inner {
        padding: 32px 4%;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .abp5_contact_site1_text {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    .abp5_contact_site1_heading {
        font-size: 20px;
    }

    .abp5_contact_site1_buttons {
        width: 100%;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .abp5_contact_site1_button {
        width: 100%;
        justify-content: center;
    }
}
