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

.ocf-commitments-header {
    max-width: 44rem;
    margin: 0 auto clamp(2.25rem, 5vw, 4rem);
    text-align: center;
}

.ocf-commitments-header .eyebrow {
    margin-bottom: 0.75rem;
}

.ocf-commitments-description {
    max-width: 58ch;
    margin: 1rem auto 0;
}

.ocf-commitments-process {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.85fr) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
}

.ocf-commitments-step-group {
    display: grid;
    gap: 1rem;
}

.ocf-commitment {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    min-height: 9.5rem;
    padding: clamp(1.1rem, 2vw, 1.5rem);
    border: var(--card-border-width) solid var(--card-border-color);
    border-radius: var(--card-radius);
    background: var(--ocf-bg);
}

.ocf-commitment-num {
    display: inline-flex;
    align-items: baseline;
    color: var(--ocf-primary);
    font-family: var(--ocf-heading-font);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: -0.04em;
}

.ocf-commitment h3 {
    margin: 0 0 0.45rem;
    color: var(--ocf-heading);
    font-size: var(--font-h3-size);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

.ocf-commitment p {
    margin: 0;
    color: var(--ocf-body);
    font-size: var(--font-label-size);
    line-height: 1.55;
}

.ocf-commitments-image-wrap {
    position: relative;
    margin: 0;
}

.ocf-commitments-image {
    overflow: hidden;
    border: var(--card-border-width) solid var(--card-border-color);
    border-radius: var(--image-radius);
    background: var(--ocf-bg);
    box-shadow: var(--image-shadow);
}

.ocf-commitments-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.ocf-commitments-image-wrap figcaption {
    margin-top: 0.75rem;
    color: var(--ocf-label);
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-medium);
    text-align: center;
}

@media (max-width: 900px) {
    .ocf-commitments-process {
        grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.65fr);
    }

    .ocf-commitments-step-group--end {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ocf-commitments-process,
    .ocf-commitments-step-group--end {
        grid-template-columns: 1fr;
    }

    .ocf-commitments-image-wrap {
        max-width: 23rem;
        width: 100%;
        margin-inline: auto;
    }

    .ocf-commitments-image img {
        aspect-ratio: 16 / 10;
    }

    .ocf-commitment {
        min-height: 0;
    }
}

/* OCF_AGENT_BLOCK:commitments-supplied-photo-crop START */
@media (min-width: 1201px) {
    .ocf-commitments-process {
        grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.9fr) minmax(0, 1fr);
    }
}

.ocf-commitments-instagram {
    width: 100%;
    height: 36rem;
    background: var(--ocf-bg);
}

.ocf-commitments-instagram iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--ocf-bg);
}

.ocf-commitments-image-wrap figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.6rem;
}

.ocf-commitments-image-wrap figcaption a {
    color: var(--ocf-primary);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.ocf-commitments-image-wrap figcaption a:hover,
.ocf-commitments-image-wrap figcaption a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .ocf-commitments-instagram {
        height: min(38rem, 150vw);
    }
}
/* OCF_AGENT_BLOCK:commitments-supplied-photo-crop END */
