body.single-business.full-width-content .content > .entry > .entry-header,
body.single-business.full-width-content .content > .entry > .entry-content,
body.single-business.full-width-content .content > .entry > .he-business-profile__notice,
body.single-business.full-width-content .content > .entry > .he-business-profile__back {
    max-width: 850px;
    margin-inline: auto;
}

.he-business-profile {
    display: grid;
    grid-template-columns: minmax(0, var(--he-details, 2fr)) minmax(0, var(--he-photo, 3fr));
    align-items: center;
    gap: var(--he-gap, 28px);
    margin: 28px 0;
    padding: clamp(18px, 3vw, 28px);
    background: #f5f6f7;
    border: 1px solid #e5e8ec;
    border-radius: 8px;
}

.he-business-profile__details {
    overflow-wrap: anywhere;
}

.he-business-profile__photo {
    width: 100%;
    max-width: 360px;
    justify-self: end;
}

.he-business-profile__photo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.he-business-profile .he-business-profile__website {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 15px;
    background: var(--he-button, #b92020);
    border: 1px solid transparent;
    color: #fff;
    font-size: var(--he-button-size, 18px);
    text-decoration: none;
    border-radius: 4px;
}

.he-business-profile .he-business-profile__website:hover,
.he-business-profile .he-business-profile__website:focus-visible {
    color: #fff;
    filter: brightness(0.9);
}

.he-business-profile:not(:has(.he-business-profile__photo img)) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
}

@media (max-width: 700px) {
    .he-business-profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .he-business-profile__photo {
        justify-self: start;
    }
}

.he-business-profile__notice {
    margin-top: 24px;
    padding: 16px;
    background: #f5f5f5;
}

.he-business-profile__back {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e4e4e4;
}
