.company-profile {
    --profile-inset: clamp(1rem, 3vw, 1.75rem);
}

.company-profile .profile-overview,
.company-profile .profile-business,
.company-profile .profile-description {
    min-width: 0;
    border: 1px solid var(--corporate-border);
    background: #fff;
}

.company-profile .profile-overview { border-top: 3px solid var(--corporate-navy); }
.profile-overview > .row::before, .profile-overview > .row::after { display: none; }
.company-profile .profile-image-column {
    display: grid;
    place-items: center;
    padding: var(--profile-inset);
    border-right: 1px solid var(--corporate-border);
    background: var(--corporate-surface);
}
.company-profile .profile-image {
    display: grid;
    place-items: center;
    width: min(100%, 240px);
    min-height: 150px;
    padding: 1rem;
    border: 1px solid var(--corporate-border);
    background: #fff;
}
.company-profile .profile-image img { position: relative; display: block; width: 100%; height: 116px; object-fit: contain; }
.company-profile .profile-image img::after {
    position: absolute;
    inset: -1px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--corporate-blue);
    content: attr(alt);
    font: 700 1.125rem/1.25 Roboto, sans-serif;
    text-align: center;
    overflow-wrap: anywhere;
}
.company-profile .profile-overview-info { min-width: 0; padding: var(--profile-inset); }
.company-profile .profile-overview-info h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2rem); overflow-wrap: anywhere; }
.company-profile .profile-business-type { margin-top: .35rem; color: var(--corporate-blue); font-weight: 700; }
.company-profile .profile-contact { display: grid; margin: 1rem 0 0; }
.company-profile .profile-contact-row {
    display: grid;
    grid-template-columns: minmax(8.75rem, .38fr) minmax(0, 1fr);
    gap: .65rem 1rem;
    padding: .6rem 0;
    border-top: 1px solid var(--corporate-border);
}
.company-profile .profile-contact-row dt,
.company-profile .profile-fact dt { color: var(--corporate-navy); font-size: .875rem; font-weight: 700; }
.company-profile .profile-contact-row dt { display: flex; align-items: baseline; gap: .6rem; }
.company-profile .profile-contact-row .bi { width: 1.1rem; color: var(--corporate-blue); font-size: 1rem; }
.company-profile dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.company-profile .profile-contact-row a { text-decoration: underline; text-underline-offset: .15em; }

.company-profile .profile-business,
.company-profile .profile-description { margin-top: 1.5rem; }
.company-profile .profile-business:not(:has(.profile-fact)) { display: none; }
.company-profile .profile-business h2,
.company-profile .profile-description h2 { margin: 0; overflow-wrap: anywhere; }
.company-profile .profile-business > h2 { padding: var(--profile-inset); border-bottom: 1px solid var(--corporate-border); }
.company-profile .profile-facts { margin: 0; }
.company-profile .profile-fact {
    display: grid;
    grid-template-columns: minmax(11rem, .32fr) minmax(0, 1fr);
    align-items: baseline;
    gap: .35rem 1rem;
    padding: .75rem var(--profile-inset);
}
.company-profile .profile-fact:nth-child(even) { background: var(--corporate-surface); }
.company-profile .profile-fact + .profile-fact { border-top: 1px solid var(--corporate-border); }

.company-profile .profile-description { padding: var(--profile-inset); }
.company-profile .profile-description > h2::after { content: ''; display: block; width: 2.5rem; height: 3px; margin-top: .75rem; background: var(--corporate-orange); }
.company-profile .profile-rich-text { margin-top: 1rem; overflow-x: auto; overflow-wrap: anywhere; line-height: 1.75; }
.company-profile .profile-rich-text > span { display: block; }
.company-profile .profile-rich-text :is(p, ul, ol, blockquote, table, figure) { margin-block: 0 1rem; }
.company-profile .profile-rich-text :is(ul, ol) { padding-inline-start: 1.6rem; }
.company-profile .profile-rich-text :is(h2, h3, h4, h5, h6) { margin-block: 1.5rem .6rem; }
.company-profile .profile-rich-text img { max-width: 100%; height: auto; }
.company-profile .profile-rich-text table { max-width: 100%; border-collapse: collapse; }
.company-profile .profile-rich-text :is(th, td) { padding: .5rem .7rem; border: 1px solid var(--corporate-border); text-align: start; }
.company-profile .profile-rich-text a { text-decoration: underline; text-underline-offset: .15em; }

@media (max-width: 767.98px) {
    .company-profile .profile-image-column { border-right: 0; border-bottom: 1px solid var(--corporate-border); }
    .company-profile .profile-image { min-height: 105px; }
    .company-profile .profile-image img { height: 75px; }
}

@media (max-width: 575.98px) {
    .company-profile .profile-contact-row, .company-profile .profile-fact { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}
