/* 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:about-story-image-headroom START */
.ocf-about-story-image {
    object-position: center 20%;
}
/* OCF_AGENT_BLOCK:about-story-image-headroom END */

/* OCF_AGENT_BLOCK:about-story-black-white-red START */
body.page-template-page-about .ocf-about-story {
    background: #000;
    color: #fff;
}

body.page-template-page-about .ocf-about-story .heading-2,
body.page-template-page-about .ocf-about-story .prose,
body.page-template-page-about .ocf-about-story .prose h1,
body.page-template-page-about .ocf-about-story .prose h2,
body.page-template-page-about .ocf-about-story .prose h3,
body.page-template-page-about .ocf-about-story .prose h4,
body.page-template-page-about .ocf-about-story .prose h5,
body.page-template-page-about .ocf-about-story .prose h6,
body.page-template-page-about .ocf-about-story .prose p,
body.page-template-page-about .ocf-about-story .prose li,
body.page-template-page-about .ocf-about-story .prose strong {
    color: #fff;
}

body.page-template-page-about .ocf-about-story .prose a {
    color: var(--ocf-link);
}
/* OCF_AGENT_BLOCK:about-story-black-white-red END */
