.post {
    margin-top: 2rem;
}

/* Machinease chat — визуально повторяет Kosmynin: плавающая кнопка,
   градиентная шапка, история сообщений и компактный composer. */
.machinease-chat{position:fixed;right:28px;bottom:28px;z-index:450;font-family:var(--fontMain,Arial,sans-serif)}
.machinease-chat__trigger{display:flex;align-items:center;gap:11px;min-height:58px;padding:0 23px;border:0;border-radius:999px;background:#1976d2;color:#fff;box-shadow:0 14px 35px #001b3b2b;font:600 13px/1 inherit;cursor:pointer;transition:transform .2s,background .2s}
.machinease-chat__trigger:hover{transform:translateY(-2px);background:#075db2}.machinease-chat__trigger-icon{display:block;width:18px;height:14px;border-radius:4px;background:currentColor;position:relative}.machinease-chat__trigger-icon:after{content:"";position:absolute;bottom:-4px;left:3px;border-width:4px 4px 0 0;border-style:solid;border-color:currentColor transparent transparent transparent}
.machinease-chat__panel{position:absolute;right:0;bottom:72px;width:min(390px,calc(100vw - 32px));height:min(560px,calc(100dvh - 108px));display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:24px;background:#fff;box-shadow:0 24px 64px #0505052b;opacity:0;visibility:hidden;transform:translateY(14px) scale(.98);transform-origin:bottom right;transition:opacity .2s,transform .2s,visibility .2s;pointer-events:none}
.machinease-chat__panel.is-open{opacity:1;visibility:visible;transform:none;pointer-events:auto}.machinease-chat__head{position:relative;isolation:isolate;min-height:126px;padding:21px 22px 31px;background:linear-gradient(122deg,#0869c7 0%,#1796e8 55%,#6bc9f4 100%);color:#fff;overflow:hidden;flex-shrink:0}.machinease-chat__heading{display:flex;align-items:center;gap:12px;padding-right:40px}.machinease-chat__avatars{display:flex;padding-left:3px}.machinease-chat__avatars img{display:block;width:48px;height:48px;margin-left:-9px;border:2px solid #177bc9;border-radius:50%;background:#eff9ff;object-fit:cover;object-position:center top}.machinease-chat__avatars img:first-child{margin-left:0}.machinease-chat__head h2{margin:0;color:#fff;font:700 25px/1.05 var(--fontSecondary,Arial,sans-serif);letter-spacing:-.045em}.machinease-chat__head p{margin:8px 0 0;color:#fff;font-size:13px;line-height:1.3}.machinease-chat__close{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#ffffff2a;color:#fff;cursor:pointer}.machinease-chat__close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.machinease-chat__form{display:flex;flex:1;min-height:0;width:100%;flex-direction:column;overflow:hidden}.machinease-chat__conversation{display:flex;flex:1 1 auto;flex-direction:column;align-items:stretch;gap:10px;min-width:0;min-height:0;padding:20px 22px;overflow-x:hidden;overflow-y:auto}.machinease-chat__message{box-sizing:border-box;width:max-content;max-width:86%;min-width:52px;margin:0;padding:11px 14px;border-radius:16px 16px 16px 5px;background:#e9f4ff;color:#183b58;font-size:14px;line-height:1.48;white-space:pre-wrap;overflow-wrap:anywhere}.machinease-chat__message p{max-width:100%;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.machinease-chat__message.user{align-self:flex-start;background:#edf0f3;color:#28313d}.machinease-chat__message.admin{align-self:flex-end;border-radius:16px 16px 5px 16px;background:#1676c8;color:#fff}.machinease-chat__composer{width:100%;min-width:0;padding:11px 18px 14px;border-top:1px solid #e0e2e7;display:grid;gap:8px;flex-shrink:0}.machinease-chat__input-row{display:flex;align-items:flex-end;gap:9px}.machinease-chat__form textarea{box-sizing:border-box;flex:1;min-height:44px;max-height:116px;padding:6px 0;border:0;border-radius:0;background:transparent;color:#111;font:16px/1.25 var(--fontMain,Arial,sans-serif);resize:none;outline:0}.machinease-chat__form textarea::placeholder{color:#8492aa}.machinease-chat__send{display:grid;place-items:center;width:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:#1676c8;color:#fff;font-size:22px;line-height:1;cursor:pointer;transition:transform .2s,background .2s}.machinease-chat__send:hover:not(:disabled){background:#075da7;transform:translateY(-2px)}.machinease-chat__send:disabled{opacity:.7;cursor:wait}.machinease-chat__error{margin:0;padding:8px 10px;border-radius:10px;background:#fff2f1;color:#b42318;font-size:13px;line-height:1.4}.machinease-chat__error[hidden]{display:none}.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;opacity:0!important}.lead-form-status{margin:12px 0 0;color:var(--colorTextMuted,#65717b);font-size:.875rem;line-height:1.4}.lead-form-status.is-success{color:#167a4b}.lead-form-status.is-error{color:#b42318}.data-form.is-sending{opacity:.75;pointer-events:none}.data-form.success-send>.data-form__desc,.data-form.success-send>.data-form__row{display:none}
@media(max-width:820px){.machinease-chat{right:16px;bottom:16px}.machinease-chat__trigger{width:58px;min-height:58px;padding:0;justify-content:center}.machinease-chat__trigger-label{display:none}.machinease-chat__panel{width:min(390px,calc(100vw - 32px));height:min(540px,calc(100dvh - 96px))}.machinease-chat__head{min-height:120px;padding:19px 19px 28px}.machinease-chat__head h2{font-size:23px}.machinease-chat__avatars img{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){.machinease-chat__trigger:hover,.machinease-chat__send:hover:not(:disabled){transform:none}}
.pars__item {
    gap: 1rem;
}
@media (max-width: 767px) {
    .pars__item-value {
        text-align: left;
    }
    .text-mob-hyphens {
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        hyphenate-limit-chars: 6 3 2;
        hyphenate-limit-lines: 2;
    }
    .h1-mob-sm {
        font-size: 1.65rem;
    }
    .h2-mob-sm, section h2.h2-mob-sm {
        font-size: 1.45rem;
    }
}
.product-images__carousel a {
    align-items: center;
}
.product-images__carousel a img {
    width: 100%;
}
.product-images__carousel {
    mix-blend-mode: multiply;
}
.product__name {
    padding-right: 3rem;
}
.crop-text {
    height: 5.3rem;
}
@media (min-width: 1201px) {
    .grid-cols--increase-h-space {
        .grid-cols {
            margin-left: -1.5rem;
            margin-right: -1.5rem;
        }
        .grid-cols__col {
            padding: 0 1.5rem;
        }   
    }
    .product-advantages__image {
        height: 80vh;
        max-width: 100%;
        object-fit: contain;
        object-position: bottom;
    }
    [data-modal-target="order"] .modal-window__title {
        font-size:2.8rem;
    }
    .top-nav .product__image-holder {
        height: 77.47%;
        transform: translate(-50%, 0);
    }
}

.machinease-chat__input-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 6px 8px 6px 18px;
    border-radius: 999px;
    background: #f2f4f7;
}

.machinease-chat__form textarea {
    min-height: 38px;
    padding: 7px 0;
}

.machinease-chat__form textarea:focus {
    outline: 0;
    box-shadow: none;
}

/* Keep the chat heading clear of the collapse control and the composer inside its pill. */
.machinease-chat__heading {
    position: relative;
    z-index: 1;
    transform: none;
    gap: 10px;
    padding-right: 52px;
}

.machinease-chat__heading > div:last-child {
    flex: 1 1 auto;
    min-width: 0;
}

.machinease-chat__avatars img {
    width: 40px;
    height: 40px;
    margin-left: -8px;
    border-width: 2px;
}

.machinease-chat__head h2 {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -.04em;
    white-space: normal;
    overflow-wrap: anywhere;
}

.machinease-chat__close {
    z-index: 2;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .24);
}

.machinease-chat__input-row {
    min-width: 0;
    padding-right: 7px;
}

.machinease-chat__form textarea {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    width: auto;
    font-size: 16px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    overflow: hidden;
}

.machinease-chat__send {
    flex: 0 0 40px;
}

@media (max-width: 820px) {
    .machinease-chat__heading {
        transform: none;
        padding-right: 46px;
    }

    .machinease-chat__avatars img {
        width: 42px;
        height: 42px;
        margin-left: -8px;
    }
}

/* News on the home page: image first, then date and headline. */
.article--with-image {
    grid-template-columns: 150px 19.13% minmax(0, 1fr) 56px;
    align-items: center;
}

.article--with-image .article__media {
    width: 132px;
    height: 78px;
    overflow: hidden;
    border-radius: 10px;
    line-height: 0;
}

.article--with-image .article__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.article--with-image:hover .article__media img {
    transform: scale(1.05);
}

@media screen and (max-width: 1200px) {
    .article--with-image {
        grid-template-columns: 132px 18% minmax(0, 1fr) 56px;
    }
}

@media screen and (max-width: 767px) {
    .article--with-image {
        grid-template-columns: 88px minmax(0, 1fr) 42px;
        align-items: center;
    }

    .article--with-image .article__media {
        width: 76px;
        height: 58px;
        grid-row: 1 / span 2;
    }

    .article--with-image .article__col:nth-of-type(1) { grid-column: 2; }
    .article--with-image .article__col:nth-of-type(2) { grid-column: 2; }
    .article--with-image .article__col:nth-of-type(3) { grid-column: 3; grid-row: 1 / span 2; }
}

/* Partnership hero: white page, text between two photos, visible regular header. */
.partnership-hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--defaultSectionSpace) 0;
    background: #fff;
    color: var(--colorText, #1f2937);
    overflow: hidden;
}
.partnership-hero__wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
}
.partnership-hero__content {
    text-align: center;
}
.partnership-hero__content h1 {
    margin: 0 0 1.5rem;
    font-family: var(--fontSecondary, 'Ubuntu', sans-serif);
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--colorBlack, #111827);
    text-transform: uppercase;
}
.partnership-hero__content p {
    margin: 0 0 1rem;
    color: var(--colorGray, #5b6672);
    font-size: 1.125rem;
    line-height: 1.65;
}
.partnership-hero__content .button {
    margin-top: 1.25rem;
}
.partnership-hero__media {
    line-height: 0;
}
.partnership-hero__media img {
    width: 100%;
    height: clamp(240px, 30vw, 420px);
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .12);
}
@media (max-width: 900px) {
    .partnership-hero {
        padding: var(--defaultSectionSpace) 0;
    }
    .partnership-hero__wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .partnership-hero__content {
        order: 1;
    }
    .partnership-hero__media--left,
    .partnership-hero__media--right {
        order: 2;
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }
    .partnership-hero__media img {
        height: clamp(200px, 45vw, 320px);
    }
}

/* Catalog product cards: show full image, centred below the title/description. */
.grid-cols .product {
    display: flex;
    flex-direction: column;
}
.grid-cols .product__name,
.grid-cols .product__desc {
    flex-shrink: 0;
}
.grid-cols .product__image-holder {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    flex: 1 1 0;
    min-height: 0;
    margin-top: 0.75rem;
    transform: none;
}
.grid-cols .product__image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

/* Product gallery: lightbox disabled, no zoom hint, images not clickable. */
.product-images__carousel:before {
    display: none;
}
.product-images__carousel a {
    cursor: default;
}
.product-info__subtitle {
    margin: -1.25rem 0 2rem;
    color: var(--colorTextMuted, #65717b);
    font-size: 1rem;
    line-height: 1.45;
}
.model-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}
.model-strip__item {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--colorBorder, #dfe3e8);
    border-radius: 999px;
    background: #ffffff;
    color: var(--colorText, #18222e);
    font: 500 0.9rem/1 var(--fontMain, Arial, sans-serif);
    letter-spacing: 0.02em;
}
.model-strip__item.is-active {
    background: var(--colorMain, #1976d2);
    border-color: var(--colorMain, #1976d2);
    color: #ffffff;
}
.product-info__note {
    margin: -0.5rem 0 2rem;
    color: var(--colorTextMuted, #65717b);
    font-size: 0.9rem;
    line-height: 1.45;
}
.hover-features--tasks {
    display: block;
}
.hover-features--tasks .hover-features__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 4rem;
}
.hover-features--tasks .hover-features__item {
    font-size: 1.75rem;
    padding-bottom: 1.5rem;
}
@media (max-width: 900px) {
    .hover-features--tasks .hover-features__list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .hover-features--tasks .hover-features__item {
        font-size: 1.35rem;
        padding-bottom: 1rem;
    }
}
.product-info .pars__item {
    align-items: flex-start;
}
.product-info .pars__item-name {
    max-width: 58%;
}
.product-info .pars__item-value {
    max-width: 42%;
    text-align: right;
}
.product-info .pars + .product-info__title {
    margin-top: 2rem;
}
@media (max-width: 767px) {
    .product-info .pars__item-name,
    .product-info .pars__item-value {
        max-width: none;
    }
}

/* Иконки и фотографии в списке «Сферы применения» */
.hover-features {
    display: grid;
    grid-template-columns: 38.26% 59.57%;
    gap: 2.17%;
    align-items: stretch;
}
.hover-features__images {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    align-self: center;
}
.hover-features__images img {
    object-fit: cover;
}
.hover-features__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
}
.hover-features__item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 0.4rem;
    font-size: 1.35rem;
    line-height: 1.15;
}
.hover-features__item > span {
    flex: 1 1 auto;
}
.hover-features__icon {
    flex: 0 0 auto;
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.05em;
    fill: none;
    stroke: var(--colorMain);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hover-features--spheres-grid {
    display: block;
}
.hover-features--spheres-grid .hover-features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4rem;
    row-gap: 1.25rem;
}
.hover-features--spheres-grid .hover-features__item {
    padding-bottom: 1.25rem;
}
.tasks-spoilers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
}
.tasks-spoilers__column {
    min-width: 0;
}
@media screen and (max-width: 1200px) {
    .hover-features__images {
        display: block;
    }
}
@media (max-width: 900px) {
    .hover-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hover-features__images {
        aspect-ratio: 1 / 1;
    }
    .hover-features__list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .hover-features--spheres-grid .hover-features__list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .tasks-spoilers {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .tasks-spoilers__column + .tasks-spoilers__column {
        margin-top: 1.25rem;
    }
}

/* Блок «Решаемые задачи» — номер в кружке слева у спойлера */
.spoiler__trigger-number {
    font-family: var(--fontMain);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    color: var(--colorMain);
}
