.golden-text-button-cta {
    background-image: url("https://stage-assets.goldbank.co.uk/home_new/assets/images/partial/text-button-cta/background.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 24px 20px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.golden-text-button-cta::before {
    background: url("https://stage-assets.goldbank.co.uk/home_new/assets/images/partial/text-button-cta/vector.svg");
    content: "";
    position: absolute;
    width: 235px;
    height: 284px;
    z-index: 1;
    top: 25px;
    left: auto;
}

.golden-text-button-cta .text-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 53px 0;
    position: relative;
    margin-bottom: 33px;
}

.golden-text-button-cta .text-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    aspect-ratio: 1; /* This maintains a square shape (1:1) */
    background-color: transparent;
    border-top: 4px solid #2E2D31;
    border-left: 4px solid #2E2D31;
}

.golden-text-button-cta .text-side::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    aspect-ratio: 1; /* This maintains a square shape (1:1) */
    background-color: transparent;
    border-bottom: 4px solid #2E2D31;
    border-right: 4px solid #2E2D31;
}

.golden-text-button-cta .text-side h2 {
    color: #2E2D31;
    font-family: "Playfair Display";
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0 auto;
    text-align: center;
    max-width: 270px;
}

.golden-text-button-cta .text-side p {
    color: rgba(46, 45, 49, 0.75);
    font-feature-settings: 'dlig' on;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    text-align: center;
}

.golden-text-button-cta .button-side {
    display: flex;
    align-items: center;
    width: 100%;
}

.golden-text-button-cta .button-side a {
    color: #FFF;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 150% */
    padding: 16px 32px;
    background-color: #2E2D31;
    width: 100%;
    text-align: center;
}

@media (min-width: 1200px) {
    .golden-text-button-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: unset;
        align-items: unset;
        padding: 40px 119px 40px 81px;
    }

    .golden-text-button-cta::before {
        top: 0;
        left: 234px;
    }

    .golden-text-button-cta .text-side {
        padding: 25px;
        margin: unset;
        min-width: 477px;
    }

    .golden-text-button-cta .text-side h2 {
        text-align: left;
        margin: unset;
    }

    .golden-text-button-cta .text-side p {
        text-align: left;
    }

    .golden-text-button-cta .button-side {
        justify-content: flex-end;
        width: auto;
    }

    .golden-text-button-cta .button-side a {
        width: unset;
        padding: 16px 50px;
    }
}
