.get-in-touch-cta {
    overflow: hidden;
    position: relative;
}

.get-in-touch-cta__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-inline: auto;
    min-height: 1px;
}

.get-in-touch-cta__inner.block-column-gap {
    column-gap: var(--block-column-gap);
    row-gap: clamp(1.5rem, 3vw, 2.5rem);
}

.get-in-touch-cta__preheading {
    grid-column: 1 / -1;
    justify-self: start;
}

.get-in-touch-cta__panel {
    background: #0c2840;
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    column-gap: var(--block-column-gap);
    grid-column: 2 / span 10;
    min-width: 0;
    width: 100%;
}

.get-in-touch-cta--no-image .get-in-touch-cta__panel {
    grid-template-columns: minmax(0, 1fr);
}

.get-in-touch-cta__media,
.get-in-touch-cta__content {
    min-width: 0;
}

.get-in-touch-cta__media {
    grid-column: 1 / span 4;
    margin-inline-end: calc(var(--block-column-gap) / -2);
}

.get-in-touch-cta__content {
    grid-column: 5 / span 6;
    margin-inline-start: calc(var(--block-column-gap) / -2);
}

.get-in-touch-cta__media {
    min-height: clamp(14rem, 26vw, 24rem);
}

.get-in-touch-cta__image {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.get-in-touch-cta__content {
    --block-content-flow-gap: var(--space-mid-large);
    --block-content-flow-gap-before-buttons: auto;
    --get-in-touch-cta-content-pad-inline: clamp(2rem, 6vw, 6.5rem);

    align-self: stretch;
    box-sizing: border-box;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-block: clamp(1.5rem, 3vw, 2.75rem);
    padding-inline-end: var(--get-in-touch-cta-content-pad-inline);
    padding-inline-start: calc(((100% - (5 * var(--block-column-gap))) / 6) + (var(--block-column-gap) * 1.5));
}

.get-in-touch-cta--no-image .get-in-touch-cta__content {
    grid-column: 1;
    margin-inline-start: 0;
    padding-inline-start: var(--get-in-touch-cta-content-pad-inline);
}

.get-in-touch-cta__heading,
.get-in-touch-cta__text {
    margin: 0;
}

.get-in-touch-cta__buttons {
    margin-top: auto;
    margin-block-start: auto;
}

.get-in-touch-cta__scrolling-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-block-start: clamp(3.5rem, 6vw, 6.5rem);
    overflow: hidden;
    width: 100%;
}

.get-in-touch-cta__scroll-row {
    animation: get-in-touch-cta-marquee 45s linear infinite;
    display: flex;
    transform: translateX(0);
    width: max-content;
}

.get-in-touch-cta__scroll-row--reverse {
    animation-direction: reverse;
}

.get-in-touch-cta__scroll-row--pixel-marquee {
    animation: none;
}

.get-in-touch-cta__scroll-row--static {
    animation: none;
    justify-content: center;
    width: auto;
}

.get-in-touch-cta__scrolling-buttons .get-in-touch-cta__scroll-track {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: clamp(1rem, 2vw, 1.5rem);
    padding-inline-end: clamp(1rem, 2vw, 1.5rem);
}

.get-in-touch-cta__scroll-row--static .get-in-touch-cta__scroll-track {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline-end: 0;
}

.get-in-touch-cta__scroll-track .base-theme-button-link {
    flex: 0 0 auto;
    white-space: nowrap;
}

@keyframes get-in-touch-cta-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

@media (max-width: 781px) {

    .get-in-touch-cta__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .get-in-touch-cta__inner.block-column-gap {
        row-gap: 1.25rem;
    }

    .get-in-touch-cta__preheading,
    .get-in-touch-cta__panel {
        grid-column: 1;
    }

    .get-in-touch-cta__panel {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }

    .get-in-touch-cta__media {
        grid-column: 1;
        margin-inline-end: 0;
        min-height: 0;
    }

    .get-in-touch-cta__image {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .get-in-touch-cta__content {
        grid-column: 1;
        margin-inline-start: 0;
        padding: clamp(1.25rem, 5vw, 2rem) clamp(1.5rem, 7vw, 2.5rem);
    }

    .get-in-touch-cta__scrolling-buttons {
        margin-block-start: 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .get-in-touch-cta__scroll-row {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        transform: none;
        width: auto;
    }

    .get-in-touch-cta__scroll-track--duplicate {
        display: none;
    }

    .get-in-touch-cta__scrolling-buttons .get-in-touch-cta__scroll-track {
        flex-wrap: wrap;
        justify-content: center;
        padding-inline-end: 0;
    }
}
