.page-our-story .hero-our-story,
.page-our-story .story-chapter {
    --navy: #2f4373;
    --gold: #c6af7e;
    --text: #616670;
}

.page-our-story .hero-our-story {
    min-height: 544px;
    padding: 150px 40px 75px;
}

.page-our-story .hero-our-story::after {
    background: linear-gradient(100deg, rgb(19 37 91 / 89%), rgb(19 37 91 / 65%));
}

.page-our-story .hero-content h1::after {
    background: var(--gold);
}

.page-our-story .hero-content h2 {
    max-width: 801px;
    margin: 0 auto;
    font-family: Rosario, Arial, sans-serif;
    font-size: 22.4px;
    font-weight: 300;
    line-height: 1.6;
}

.page-our-story .story-chapter {
    width: calc(100% - 48px);
    max-width: 1266px;
    margin-block: 0;
    padding: 20px;
    border: solid #09212f;
    border-width: 1px 2px 1px 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}

.page-our-story .story-chapter-reverse {
    border-width: 1px 0 1px 2px;
}

.page-our-story .hero-our-story + .story-chapter {
    margin-top: 60px;
    border-top-width: 2px;
    border-bottom-width: 0;
}

.page-our-story .hero-our-story + .story-chapter + .story-chapter {
    border-top-width: 2px;
}

.page-our-story .story-chapter:last-child {
    margin-bottom: 40px;
    border-bottom-width: 2px;
}

.page-our-story .story-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
}

.page-our-story .story-row .story-copy {
    min-width: 0;
    order: 0;
}

.page-our-story .story-chapter-reverse .story-copy {
    order: 2;
}

.page-our-story .story-copy h2 {
    margin-bottom: 20px;
    color: #09212f;
    font-family: Alexandria, "DM Sans", Arial, sans-serif;
    font-size: 38.4px;
    font-weight: 700;
    line-height: 48px;
}

.page-our-story .story-copy h3 {
    margin-bottom: 20px;
    color: #1d1a4e;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 22.4px;
    font-weight: 500;
    line-height: 32px;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .page-our-story .story-copy h2 {
        background-image: url('/wp-content/uploads/meeting-with-Stearns-and-Ryan-lawyers-tiny.webp');
        background-size: cover;
        background-position: center;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }
}

.page-our-story .story-copy p {
    margin-bottom: 20px;
}

.page-our-story .story-copy > :last-child {
    margin-bottom: 0;
}

.page-our-story .story-opening::first-letter {
    float: left;
    margin: 5px 5px 0 0;
    color: var(--navy);
    font-size: 64px;
    line-height: 0.8;
}

.page-our-story .story-row .content-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.page-our-story .story-opening {
    display: flow-root;
}

.page-our-story .hero-our-story + .story-chapter .content-image {
    height: 320px;
}

.page-our-story .story-chapter:nth-of-type(4) .content-image,
.page-our-story .story-chapter:nth-of-type(6) .content-image {
    aspect-ratio: 1;
    height: auto;
}

@media (max-width: 767px) {
    .page-our-story .story-chapter,
    .page-our-story .hero-our-story + .story-chapter,
    .page-our-story .hero-our-story + .story-chapter + .story-chapter,
    .page-our-story .story-chapter:last-child {
        border-width: 0 0 1px 2px;
    }

    .page-our-story .hero-our-story {
        min-height: 450px;
        padding: 140px 20px 60px;
    }

    .page-our-story .hero-content h1 {
        font-size: 38px;
    }

    .page-our-story .hero-our-story + .story-chapter {
        margin-top: 20px;
    }

    .page-our-story .story-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .page-our-story .story-row .story-copy {
        order: 2;
    }

    .page-our-story .story-row .content-image {
        order: 0;
    }

    .page-our-story .story-copy h2 {
        font-size: 32px;
        line-height: 40px;
    }
}
