/* Split Button (two-line) container */
.elementor-widget-gh_split_button .elementor-button {
    position: relative;
    overflow: hidden; /* so line backgrounds respect border radius */
    padding: 0;       /* for split/two-tone buttons: use per-line paddings */
}

/* Stack lines */
.elementor-widget-gh_split_button .elementor-button-content-wrapper {
    display: block;
    position: relative;
    z-index: 1;
}

/* Line blocks carry backgrounds and padding */
.elementor-widget-gh_split_button .gh-line {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;

    /* Hover animation (duration is set via Elementor control with inline CSS) */
    transition-property: background-color, background-image, border-color, box-shadow, color, opacity, transform;
    transition-timing-function: ease;
    transition-duration: 200ms;
}

/* Round corners correctly if the button has border radius */
.elementor-widget-gh_split_button .gh-line-main {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.elementor-widget-gh_split_button .gh-line-sub {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

/* Keep icon + main text aligned on the first line */
.elementor-widget-gh_split_button .gh-line-main .elementor-button-icon,
.elementor-widget-gh_split_button .gh-line-main .elementor-button-text {
    vertical-align: middle;
}

/* Ensure second line is always visible (even if text empty) */
.elementor-widget-gh_split_button .gh-line-sub {
    min-height: 1em;
}

/* Sub text behaves like a line */
.elementor-widget-gh_split_button .gh-button-subtext {
    display: inline-block;
    line-height: 1.2;
}

/* Optional: avoid selecting an empty subtext placeholder */
.elementor-widget-gh_split_button .gh-button-subtext--empty {
    user-select: none;
}
