.company-profile-page {
    direction: rtl;
    min-height: 100vh;
    background: #f7f8fa;
}

.company-profile-hero {
    padding: 32px 0 28px;
    background: #ffffff;
    border-bottom: 1px solid #e7e9ed;
}

.company-profile-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #68707c;
}

.company-profile-breadcrumb a {
    color: #315f87;
    text-decoration: none;
}

.company-profile-heading {
    display: flex;
    align-items: center;
    gap: 18px;
}

.company-profile-heading h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.5;
}

.company-profile-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 18px;
    background: #eef3f7;
}

.company-profile-icon svg {
    width: 32px;
    height: 32px;
}

.company-profile-tags,
.company-profile-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.company-profile-tags span,
.company-profile-product-tags span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef3f7;
    font-size: 13px;
}

.company-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 48px;
}

.company-profile-content {
    padding: 30px 34px;
    background: #ffffff;
    border: 1px solid #e7e9ed;
    border-radius: 18px;
    line-height: 2.05;
}

.company-profile-content h2 {
    margin: 36px 0 14px;
    padding-bottom: 10px;
    font-size: 21px;
    border-bottom: 1px solid #eceef1;
}

.company-profile-content h2:first-child {
    margin-top: 0;
}

.company-profile-content p {
    margin: 0 0 18px;
    text-align: justify;
}

.company-profile-content ul {
    margin: 0 0 22px;
    padding-right: 22px;
}

.company-profile-content li {
    margin: 7px 0;
}

.company-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.company-profile-side-card {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e7e9ed;
    border-radius: 16px;
}

.company-profile-side-card h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.company-profile-side-card a {
    color: #315f87;
}

.company-profile-location + .company-profile-location {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eceef1;
}

.company-profile-location p {
    margin: 6px 0 0;
    line-height: 1.8;
    color: #626a75;
}

@media (max-width: 900px) {
    .company-profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .company-profile-heading {
        align-items: flex-start;
    }

    .company-profile-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .company-profile-content {
        padding: 22px 18px;
    }
}
