/* About page story: text column beside a photo that stays in view while the text scrolls. */
.ocf-about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--ocf-grid-gap) * 2.5);
    align-items: start;
}

.ocf-about-story-content .heading-2 {
    margin-bottom: calc(var(--ocf-grid-gap) * 0.75);
}

.ocf-about-story-content .prose h3 {
    margin-top: calc(var(--ocf-grid-gap) * 1.25);
}

.ocf-about-story-content .btn-primary {
    margin-top: calc(var(--ocf-grid-gap) * 0.5);
}

.ocf-about-story-image {
    position: sticky;
    top: var(--cardinal-sticky-top);
    width: 100%;
    height: var(--ocf-about-story-image-height);
    object-fit: cover;
}

@media (max-width: 767px) {
    .ocf-about-story-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--ocf-grid-gap) * 1.25);
    }

    .ocf-about-story-image {
        position: static;
        order: -1;
        height: var(--ocf-about-story-image-height-mobile);
    }
}

/* OCF_AGENT_BLOCK:afv-about-flyer START */
/* Flyer on the About page: show the whole image, no crop. */
.ocf-about-story-image--whole {
    height: auto;
    object-fit: contain;
    max-height: none;
    box-shadow: 0 10px 30px rgba(31, 42, 68, 0.15);
}
@media (max-width: 767px) {
    .ocf-about-story-image--whole { height: auto; }
}
/* OCF_AGENT_BLOCK:afv-about-flyer END */
