.heading-text-buttons-repeater .heading-text-buttons__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 1px;
}

.heading-text-buttons-repeater .heading-text-buttons__layout {
    align-items: start;
    display: grid;
    column-gap: var(--block-column-gap);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    row-gap: 0;
    min-height: 1px;
    width: 100%;
}

.heading-text-buttons-repeater .heading-text-buttons__heading {
    margin-bottom: 0;
}

.heading-text-buttons-repeater .heading-text-buttons__heading-column,
.heading-text-buttons-repeater .heading-text-buttons__content {
    grid-column: auto;
    min-width: 0;
}

.heading-text-buttons-repeater .heading-text-buttons__heading-column {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: var(--section-space-top-m);
    grid-column: 1 / span 4;
}

.heading-text-buttons-repeater .heading-text-buttons__content {
    box-sizing: border-box;
    grid-column: 7 / span 5;
    width: 100%;
}

.heading-text-buttons-repeater__items {
    --block-content-flow-gap: var(--space-xl);
}

.heading-text-buttons-repeater__item {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.heading-text-buttons-repeater__text > :first-child {
    margin-top: 0;
}

.wp-block.heading-text-buttons-repeater .heading-text-buttons-repeater__text.block-body-copy > p:not(.preheading):last-child {
    margin-bottom: 0;
    margin-block-end: 0;
}

.heading-text-buttons-repeater__item.block-card-stack > .heading-text-buttons-repeater__buttons {
    margin-top: auto;
    margin-block-start: auto;
    padding-top: var(--space-s);
}

.heading-text-buttons-repeater__pullquote {
    margin-top: auto;
}

.heading-text-buttons-repeater--no-sidebar .heading-text-buttons__layout,
.heading-text-buttons-repeater--no-items .heading-text-buttons__layout {
    grid-template-columns: minmax(0, 1fr);
}

.heading-text-buttons-repeater--no-sidebar .heading-text-buttons__content,
.heading-text-buttons-repeater--no-items .heading-text-buttons__heading-column {
    grid-column: 1 / -1;
}

.heading-text-buttons-repeater--has-sidebar.heading-text-buttons-repeater--has-items .heading-text-buttons__layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.heading-text-buttons-repeater--has-sidebar.heading-text-buttons-repeater--has-items .heading-text-buttons__heading-column {
    grid-column: 1 / span 4;
}

.heading-text-buttons-repeater--has-sidebar.heading-text-buttons-repeater--has-items .heading-text-buttons__content {
    grid-column: 7 / span 5;
}

@media (max-width: 781px) {
    .heading-text-buttons-repeater .heading-text-buttons__layout {
        row-gap: 2rem;
        grid-template-columns: 1fr;
    }

    .heading-text-buttons-repeater .heading-text-buttons__heading-column,
    .heading-text-buttons-repeater .heading-text-buttons__content {
        grid-column: auto;
    }

    .heading-text-buttons-repeater .heading-text-buttons__heading-column {
        gap: 2rem;
    }

    .heading-text-buttons-repeater__pullquote {
        margin-top: 0;
    }
}
