.ocf-cta {
    position: relative;
    overflow: hidden;
    background: var(--ocf-bg);
    color: var(--ocf-body);
    padding-block: var(--section-pad);
}

.ocf-cta .heading-section,
.ocf-cta__title {
    color: var(--ocf-heading);
}

.ocf-cta .eyebrow,
.ocf-cta__eyebrow {
    color: var(--ocf-label);
}

.ocf-cta__section-image,
.ocf-cta__section-shade {
    position: absolute;
    inset: 0;
}

.ocf-cta__section-image {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    opacity: 0.34;
}

.ocf-cta__section-shade {
    background: var(--ocf-bg);
    opacity: max(0.68, var(--media-overlay-opacity));
}

.ocf-cta > .container-global {
    position: relative;
    z-index: 1;
}

.ocf-cta__panel {
    position: relative;
    overflow: hidden;
    border: var(--card-border-width) solid var(--card-border-color);
    background: var(--ocf-bg);
    color: var(--ocf-body);
}

.ocf-cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: center;
    min-height: clamp(13rem, 26vw, 21rem);
    width: 100%;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.ocf-cta__content {
    max-width: 720px;
}

.ocf-cta__text {
    margin: 0.85rem 0 0;
    max-width: 62ch;
    color: var(--ocf-body);
}

.ocf-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ocf-cta__media {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: clamp(8rem, 18vw, 15rem);
    border: var(--card-border-width) solid var(--card-border-color);
    background: var(--ocf-bg-alt);
    overflow: hidden;
}

.ocf-cta__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.ocf-cta__content {
    grid-column: 1;
    grid-row: 1;
}

.ocf-cta__actions {
    grid-column: 1;
    grid-row: 2;
}

.ocf-cta--image_banner {
    background: var(--ocf-bg-alt);
}

.ocf-cta--image_banner .ocf-cta__panel {
    background: var(--ocf-bg);
}

.ocf-cta--simple_band {
    background: var(--ocf-bg-alt);
}

.ocf-cta--simple_band .ocf-cta__inner {
    min-height: clamp(11rem, 20vw, 16rem);
}

.ocf-cta--split_contact {
    background: var(--ocf-bg);
}

.ocf-cta--split_contact .ocf-cta__inner {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
}

.ocf-cta--split_contact .ocf-cta__media {
    width: 100%;
}

.ocf-cta--split_contact .ocf-cta__media img {
    aspect-ratio: 4 / 3;
}

.ocf-cta--sticky_phone_band {
    padding-block: clamp(1rem, 4vw, 2rem);
    background: var(--ocf-bg-alt);
}

.ocf-cta--sticky_phone_band .ocf-cta__panel {
    border-color: var(--ocf-border-light);
}

.ocf-cta--sticky_phone_band .ocf-cta__inner {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    min-height: 0;
    padding-block: 0.85rem;
}

.ocf-cta--sticky_phone_band .ocf-cta__media {
    grid-column: 1;
    grid-row: 1;
    width: 4.5rem;
}

.ocf-cta--sticky_phone_band .ocf-cta__media img {
    aspect-ratio: 1;
}

.ocf-cta--sticky_phone_band .ocf-cta__content {
    grid-column: 2;
    grid-row: 1;
}

.ocf-cta--sticky_phone_band .ocf-cta__actions {
    grid-column: 3;
    grid-row: 1;
}

.ocf-cta--sticky_phone_band .ocf-cta__eyebrow,
.ocf-cta--sticky_phone_band .ocf-cta__text {
    display: none;
}

.ocf-cta__phone {
    border-color: currentColor;
    color: inherit;
}

.ocf-cta__actions svg,
.ocf-cta .btn-primary svg,
.ocf-cta .btn-secondary svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

@media (max-width: 760px) {
    .ocf-cta__inner,
    .ocf-cta--split_contact .ocf-cta__inner,
    .ocf-cta--sticky_phone_band .ocf-cta__inner {
        grid-template-columns: 1fr;
    }

    .ocf-cta__media,
    .ocf-cta--sticky_phone_band .ocf-cta__media,
    .ocf-cta__content,
    .ocf-cta--sticky_phone_band .ocf-cta__content,
    .ocf-cta__actions,
    .ocf-cta--sticky_phone_band .ocf-cta__actions {
        grid-column: 1;
        grid-row: auto;
    }

    .ocf-cta__media,
    .ocf-cta--sticky_phone_band .ocf-cta__media {
        width: 100%;
    }

    .ocf-cta__media img,
    .ocf-cta--sticky_phone_band .ocf-cta__media img {
        aspect-ratio: 16 / 9;
    }

    .ocf-cta { padding-block: clamp(2rem, 10vw, 3rem); }
    .ocf-cta__inner { min-height: 0; }
}
