/* Block: CTA */

.block-cta .cols {
    gap: var(--system-spacing-gap-2xl);

    @container page-content (max-width: 1500px) {
        gap: var(--system-spacing-gap-lg);
    }
}

main.single .block-cta h2 {
    text-box-trim: none;
}

.block-cta h2 {
    opacity: 0;
}

.block-cta h2 .line {
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.block-cta .cta-description {
    gap: var(--system-spacing-gap-md);
    /* justify-content: space-between; */
    justify-content: flex-end;
    color: var(--system-fg);
}

.block-cta .cta-description .text-body-lg {
    color: var(--system-fg-muted);
    text-box-trim: trim-start;
	text-box-edge: cap text;
}

.block-cta .cta-button-text { overflow: hidden; justify-content:flex-end; }

/* ── CTA button nudge loop ── */
.block-cta .cta-button .cta-button-patch {
    animation: cta-nudge-patch 2.3s cubic-bezier(0.4, 0, 0.2, 1) infinite paused;
    transition: transform 320ms var(--ease-spring),
                translate 320ms var(--ease-spring),
                border-radius 320ms var(--ease-spring);
}

.block-cta .cta-button.cta-nudge-active .cta-button-patch {
    animation-play-state: running;
}

.block-cta .cta-button:hover .cta-button-patch {
    animation-play-state: paused;
    translate: 0 !important;
}

@keyframes cta-nudge-patch {
    0%, 100% { translate: -2px; }
    40%      { translate: 2.5px; }
    70%      { translate: -2px; }
}


@container page-content (max-width: 1600px) {
    .block-cta .cols.w-90 { width: 100%; }
    .block-cta .col.w-70 { width: 60%; }
    .block-cta .col.w-30 {
        width: 40%;
    }
}

@container page-content (max-width: 1024px) {

    .block-cta .prose p { text-align: center; }
    .block-cta .buttons { justify-content: center; }
    .block-cta .cta-description { gap: var(--system-spacing-gap-lg); }


    .block-cta .cols.w-90 { width: 100%; }
    .block-cta .col.w-70 { width: 100%; }
    .block-cta .col.w-30 {
        width:100%;
    }

}


/* ── Layout: Vertical ── */
.block-cta.cta-layout-vertical .cols {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--system-spacing-gap-lg);
    max-width: 968px;
    width: 100%;
}

.block-cta.cta-layout-vertical .col.w-70 { width:100%; }

.block-cta.cta-layout-vertical .col {
    /* width: 100%;
    max-width: 100%; */
}


.block-cta.cta-layout-vertical .cta-description {
    width:100%;
    gap: var(--system-spacing-gap-lg);
}

.block-cta.cta-layout-vertical .title-heading-wrap {
    align-items: center;
}

.block-cta.cta-layout-vertical .single-chips {
    justify-content: center;
}

.block-cta.cta-layout-vertical h2 {
    text-align: center;
}

.block-cta.cta-layout-vertical .cta-description .text-body-lg {
    text-align: center;
    color: var(--system-fg-muted);
}

.block-cta.cta-layout-vertical .cta-button-wrap {
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.block-cta.cta-layout-vertical .cta-button-text {
    justify-content: center;
}

.block-cta.cta-layout-vertical .cta-disclaimer {
    text-align: left;
    max-height: unset !important;
    height: auto !important;
}

.block-cta.cta-layout-vertical .cta-disclaimer p br { display: none; }



@container page-content (max-width: 1500px) {
    .block-cta .cols, .block-cta.cta-layout-vertical .cols { gap: var(--system-spacing-gap-md); }
}

@container page-content (max-width: 968px){
    .block-cta.cta-layout-vertical .cols { max-width: unset; width: 100%; }
}
