.simple-topic {
    margin-top: 3rem;
    padding: 2.5rem 0;
}

.simple-topic__body p {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.533;
}

.simple-topic__body p:last-child {
    margin-bottom: 0;
}

.simple-topic__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--bs-border-radius-lg);
    object-fit: cover;
}

/* Boxed styles (bordered, bordered_right) */
.simple-topic--boxed {
    padding: 0;
}

.simple-topic--boxed .simple-topic__inner {
    padding: 1.5rem;
    background-color: var(--bs-white);
    border: var(--bs-border-width) solid var(--bs-primary);
    border-radius: var(--bs-border-radius-lg);
}

/* Desktop (side by side) */
@media (min-width: 1200px) {
    .simple-topic {
        padding: 0 0 2rem;
    }

    /* Default: text left, divider, image right */
    .simple-topic__text {
        align-self: center;
        margin-top: 2rem;
        padding-right: 3rem;
        border-right: var(--bs-border-width) solid var(--bs-gray-300);
    }

    .simple-topic__media {
        margin-top: -3rem;
        padding-left: 3rem;
    }

    /* Keep the image a consistent size; crop instead of shrinking */
    .simple-topic__media img {
        height: 100%;
        min-height: 380px;
    }

    .simple-topic--boxed .simple-topic__inner {
        padding: 0 2.5rem 2rem;
    }

    /* Bordered (image left): mirror the divider and padding */
    .simple-topic--bordered .simple-topic__text {
        padding-right: 0;
        padding-left: 3rem;
        border-right: 0;
        border-left: var(--bs-border-width) solid var(--bs-gray-300);
    }

    .simple-topic--bordered .simple-topic__media {
        padding-left: 0;
        padding-right: 3rem;
    }
}

/* Stacked (below 1200px) */
@media (max-width: 1199.98px) {
    .simple-topic__media {
        margin-top: 2rem;
    }

    .simple-topic__media img {
        max-height: 480px;
    }

    /* Bordered (image left): image first, above the text */
    .simple-topic--bordered .simple-topic__media {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    /* Bordered right: image below the text, inside the box */
    .simple-topic--bordered-right .simple-topic__media {
        margin-top: 1.5rem;
    }
}

.simple-topic__contact {
    margin-top: 2rem;
}

.two-column-contact__label {
    margin-bottom: .5rem;
    font-size: .9375rem;
}

.two-column-contact__name {
    margin-bottom: 1rem;
    font-size: .9375rem;
}

.two-column-contact__description {
    margin-bottom: 0;
    font-size: .8125rem;
    line-height: 1.385;
}

/* Mobile: stacked, with a horizontal divider */
.two-column-contact__details {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: var(--bs-border-width) solid var(--bs-gray-300);
}

/* Side by side, with a vertical divider */
@media (min-width: 576px) {
    .two-column-contact__intro {
        padding-right: 1.5rem;
    }

    .two-column-contact__details {
        margin-top: 0;
        padding-top: 0;
        padding-left: 1.5rem;
        border-top: 0;
        border-left: var(--bs-border-width) solid var(--bs-gray-300);
    }
}