#company-profile[data-profile-refined][data-profile-presentation] .p-featured-operations {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-featured-operations > li {
    min-width: 0;
    max-width: 100%;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-featured-operation {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    color: #ffc29d;
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-featured-operation:hover {
    color: #fff;
}

body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: 10px;
}

body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer > li {
    display: block;
    min-width: 0;
    padding: 6px 12px 10px;
    border: 1px solid #cad8e3;
    background-color: #fff;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer > li > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-block-size: 44px;
    color: #19364d;
    text-decoration: none;
    text-underline-offset: 3px;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer > li > a:is(:hover,:focus-visible) strong {
    text-decoration: underline;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer-name {
    display: grid;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer-arrow {
    color: #496778;
    font-size: 17px;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer .technical-parameters {
    display: block;
    margin: 2px 0 0;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer .technical-parameters > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 8px;
    margin: 0;
    padding: 5px 0;
    border-top: 1px solid #d5e1eb;
    font-size: 13px;
    line-height: 1.4;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-offer .technical-parameters dd {
    margin: 0;
    color: #19364d;
    font-weight: 700;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-media {
    min-width: 0;
    padding: 0 12px 12px;
    border: 1px solid #cad8e3;
    border-radius: 6px;
    background-color: #fff;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-media h3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 14px;
    margin: 0;
    font-size: 16px;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-media h3 > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-block-size: 44px;
    color: #19364d;
    text-underline-offset: 3px;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-media ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-media li:first-child {
    grid-column: 1 / -1;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 4px;
    background-color: #eef4f8;
}

@media (min-width: 781px) {
    body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-overview-single:has(.p-process-summary) {
        grid-template-columns: minmax(0, 1fr) minmax(17rem, 30%);
        max-width: none;
    }

    body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-overview-single .p-process-summary {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 420px) {
    #company-profile[data-profile-refined][data-profile-presentation] .p-featured-operations {
        gap: 0 12px;
    }

    #company-profile[data-profile-refined][data-profile-presentation] .p-featured-operation {
        font-size: 13px;
    }
}

body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-identity-public-header .company-mark:has(> img[data-company-logo]:not([hidden])) {
    --company-mark-size: clamp(68px, 8vw, 112px);
    inline-size: var(--company-mark-size);
    block-size: var(--company-mark-size);
    width: var(--company-mark-size);
    height: var(--company-mark-size);
}

#company-profile[data-profile-refined][data-profile-presentation] .company-mark > img[data-company-logo] {
    object-fit: contain;
}

@media (max-width: 680px) {
    body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer {
        grid-template-columns: minmax(0, 1fr);
    }

    #company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer .technical-parameters > div {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        padding: 6px 8px;
    }

    #company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer .technical-parameters :is(dt, dd) {
        inline-size: auto;
        max-inline-size: none;
        min-inline-size: 0;
        overflow-wrap: normal;
        word-break: normal;
        text-align: start;
    }
}

/* Keep declared ranges legible even when the preview shares a row with media. */
body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer .technical-parameters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: 8px;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer .technical-parameters > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 3px;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer .technical-parameters :is(dt, dd) {
    min-inline-size: 0;
    max-inline-size: none;
    overflow-wrap: normal;
    word-break: normal;
    text-align: start;
    line-height: 1.4;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer .technical-parameters :is(dt, .technical-unit) {
    font-size: 15px;
}

#company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer .technical-parameters dd {
    font-size: 17px;
}

@media (max-width: 680px) {
    body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-overview-compact .p-overview-offer .technical-parameters {
        grid-template-columns: minmax(0, 1fr);
    }
}

body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] .p-summary.p-overview-single {
    max-width: none;
}

body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] #p-content {
    padding-block-end: 8px;
}

body[data-public-layout][data-portal-identity] #company-profile[data-profile-refined][data-profile-presentation] #p-content:has(> [data-active-section="overview"]) {
    min-block-size: 0;
}

#company-profile[data-profile-refined][data-profile-presentation] #p-content > details[data-technology-guides] {
    margin-block: 12px 0;
    padding: 0 12px;
}

#company-profile[data-profile-refined][data-profile-presentation] #p-content > details[data-technology-guides][open] {
    padding-block-end: 8px;
}

#company-profile[data-profile-refined][data-profile-presentation] #p-content > details[data-technology-guides] > summary {
    align-content: center;
    min-block-size: 44px;
    padding-block: 0;
}

#company-profile[data-profile-refined][data-profile-presentation] + .profile-breadcrumb {
    margin-block: 0;
}

body[data-public-layout][data-portal-identity]:has(#company-profile[data-profile-presentation]) footer.mv-footer {
    margin-block-start: 20px;
}
