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

.topic-overflow__body p {
    margin-bottom: 0;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    line-height: 1.533 !important;
}

.topic-overflow__buttons {
    max-width: 32rem;
    margin-top: 2rem;
}

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



@media (min-width: 992px) {
    .topic-overflow {
        padding: 0 0 2rem;
    }

    .topic-overflow__text {
        align-self: center;
        padding-top: 2rem;
        padding-right: 3rem;
        border-right: 1px solid var(--bs-gray-300);
    }

    .topic-overflow__media {
        margin-top: -3rem;
        padding-left: 3rem;
    }
}

/* Mobile: stack, image below the text */
@media (max-width: 991.98px) {
    .topic-overflow__media {
        margin-top: 2rem;
    }
}