/* Стили статьи «Ошибки Ariston ABS VLS и ABS VLS EVO» */
.ts-vls-guide,
.ts-vls-guide * {
    box-sizing: border-box;
}

.ts-vls-guide {
    --vls-navy: #17395f;
    --vls-text: #2a435e;
    --vls-muted: #62758a;
    --vls-border: #d9e3ee;
    --vls-soft: #f5f8fb;
    --vls-blue-soft: #eef7ff;
    --vls-yellow: #ffd333;
    --vls-yellow-soft: #fff8d6;
    --vls-red: #cf473c;
    color: var(--vls-text);
    font-size: 16px;
    line-height: 1.65;
}

.ts-vls-guide h2,
.ts-vls-guide h3 {
    color: var(--vls-navy);
    font-weight: 700;
    line-height: 1.25;
}

.ts-vls-guide h2 {
    margin: 46px 0 16px;
    font-size: clamp(25px, 3vw, 30px);
    scroll-margin-top: 100px;
}

.ts-vls-guide h3 {
    margin: 26px 0 12px;
    font-size: 21px;
}

.ts-vls-guide p {
    margin: 0 0 16px;
}

.ts-vls-guide ul,
.ts-vls-guide ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.ts-vls-guide li + li {
    margin-top: 7px;
}

.ts-vls-guide a {
    color: #0b5ca8;
    text-underline-offset: 3px;
}

.ts-vls-guide code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #eaf0f7;
    color: var(--vls-navy);
    font-family: inherit;
    font-size: .94em;
    font-weight: 700;
}

.ts-vls-guide__lead {
    margin-bottom: 22px !important;
    color: #3d5670;
    font-size: 18px;
    line-height: 1.62;
}

.ts-vls-guide__note,
.ts-vls-guide__warning,
.ts-vls-guide__important {
    margin: 22px 0;
    padding: 17px 19px;
    border-radius: 10px;
}

.ts-vls-guide__note {
    border-left: 4px solid var(--vls-yellow);
    background: var(--vls-yellow-soft);
}

.ts-vls-guide__important {
    border-left: 4px solid #2782c4;
    background: var(--vls-blue-soft);
}

.ts-vls-guide__warning {
    border-left: 4px solid var(--vls-red);
    background: #fff1ef;
}

.ts-vls-guide__note p:last-child,
.ts-vls-guide__warning p:last-child,
.ts-vls-guide__important p:last-child {
    margin-bottom: 0;
}

.ts-vls-guide__jump {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 30px;
}

.ts-vls-guide__jump a {
    display: flex;
    min-height: 82px;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid var(--vls-border);
    border-radius: 10px;
    background: #fff;
    color: var(--vls-navy);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ts-vls-guide__jump a:hover,
.ts-vls-guide__jump a:focus-visible {
    border-color: #9ebad5;
    box-shadow: 0 8px 20px rgba(23, 57, 95, .09);
    transform: translateY(-1px);
}

.ts-vls-guide__jump-num {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vls-yellow);
    font-weight: 800;
}

.ts-vls-guide__jump strong,
.ts-vls-guide__jump small {
    display: block;
}

.ts-vls-guide__jump strong {
    line-height: 1.3;
}

.ts-vls-guide__jump small {
    margin-top: 5px;
    color: var(--vls-muted);
    font-size: 13px;
    line-height: 1.35;
}

.ts-vls-guide__tank-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 26px;
}

.ts-vls-guide__tank {
    padding: 17px;
    border: 1px solid var(--vls-border);
    border-radius: 10px;
    background: var(--vls-soft);
}

.ts-vls-guide__tank strong,
.ts-vls-guide__tank span {
    display: block;
}

.ts-vls-guide__tank strong {
    margin-bottom: 5px;
    color: var(--vls-navy);
    font-size: 18px;
}

.ts-vls-guide__tank span {
    color: var(--vls-muted);
}

.ts-vls-guide__visual {
    display: grid;
    grid-template-columns: minmax(150px, .65fr) minmax(260px, 1.35fr);
    gap: 16px;
    margin: 20px 0 24px;
    padding: 16px;
    border: 1px solid var(--vls-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(23, 57, 95, .07);
}

.ts-vls-guide__visual--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ts-vls-guide__visual--pair > figure {
    display: grid;
    grid-template-columns: minmax(110px, .65fr) minmax(190px, 1.35fr);
    gap: 8px;
    min-width: 0;
    margin: 0;
}

.ts-vls-guide__model-photo,
.ts-vls-guide__panel-photo {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9px;
    background: #f7f9fb;
}

.ts-vls-guide__model-photo {
    min-height: 350px;
}

.ts-vls-guide__panel-photo {
    min-height: 350px;
}

.ts-vls-guide__model-photo img,
.ts-vls-guide__panel-photo img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: contain;
}

.ts-vls-guide__visual figcaption {
    grid-column: 1 / -1;
    padding: 0 3px 2px;
    color: var(--vls-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ts-vls-guide__identity {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 22px;
}

.ts-vls-guide__identity div {
    padding: 13px 14px;
    border: 1px solid var(--vls-border);
    border-radius: 9px;
    background: var(--vls-soft);
}

.ts-vls-guide__identity strong,
.ts-vls-guide__identity span {
    display: block;
}

.ts-vls-guide__identity strong {
    margin-bottom: 4px;
    color: var(--vls-navy);
    font-size: 14px;
}

.ts-vls-guide__identity span {
    color: var(--vls-muted);
    font-size: 14px;
    line-height: 1.4;
}

.ts-vls-guide__badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 9px;
    border: 1px solid #e8c52f;
    border-radius: 999px;
    background: #fff4aa;
    color: var(--vls-navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.ts-vls-guide__table-wrap {
    margin: 20px 0 30px;
    overflow-x: auto;
    border: 1px solid var(--vls-border);
    border-radius: 10px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.ts-vls-guide table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.ts-vls-guide th,
.ts-vls-guide td {
    padding: 12px 14px;
    border-right: 1px solid #e3eaf1;
    border-bottom: 1px solid #e3eaf1;
    text-align: left;
    vertical-align: top;
}

.ts-vls-guide th:last-child,
.ts-vls-guide td:last-child {
    border-right: 0;
}

.ts-vls-guide tbody tr:last-child td {
    border-bottom: 0;
}

.ts-vls-guide th {
    background: var(--vls-navy);
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.ts-vls-guide tbody tr:nth-child(even) {
    background: #f8fafc;
}

.ts-vls-guide td:first-child {
    width: 155px;
    color: var(--vls-navy);
    font-weight: 800;
    white-space: nowrap;
}

.ts-vls-guide__steps {
    margin: 20px 0 28px !important;
    padding-left: 0 !important;
    counter-reset: vls-step;
    list-style: none;
}

.ts-vls-guide__steps li {
    position: relative;
    min-height: 42px;
    padding: 6px 0 7px 52px;
    counter-increment: vls-step;
}

.ts-vls-guide__steps li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vls-yellow);
    color: var(--vls-navy);
    font-weight: 800;
    content: counter(vls-step);
}

.ts-vls-guide__cta {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 18px;
    align-items: center;
    margin: 32px 0;
    padding: 22px;
    border: 1px solid #ead05b;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff9dc, #fff3a8);
}

.ts-vls-guide__cta strong {
    display: block;
    margin-bottom: 5px;
    color: var(--vls-navy);
    font-size: 20px;
}

.ts-vls-guide__cta p {
    margin: 0;
}

.ts-vls-guide__button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #ddb500;
    border-radius: 8px;
    background: var(--vls-yellow);
    color: var(--vls-navy) !important;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.ts-vls-guide details {
    margin: 10px 0;
    border: 1px solid var(--vls-border);
    border-radius: 9px;
    background: #fff;
}

.ts-vls-guide summary {
    padding: 14px 17px;
    color: var(--vls-navy);
    font-weight: 700;
    cursor: pointer;
}

.ts-vls-guide details p,
.ts-vls-guide details ul {
    margin-right: 17px;
    margin-left: 17px;
}

.ts-vls-guide__sources {
    color: var(--vls-muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .ts-vls-guide__jump {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-vls-guide__visual--pair {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .ts-vls-guide {
        font-size: 15px;
        line-height: 1.58;
    }

    .ts-vls-guide h2 {
        margin-top: 38px;
    }

    .ts-vls-guide__lead {
        font-size: 17px;
    }

    .ts-vls-guide__jump,
    .ts-vls-guide__tank-map,
    .ts-vls-guide__identity {
        grid-template-columns: 1fr;
    }

    .ts-vls-guide__visual {
        grid-template-columns: minmax(105px, .62fr) minmax(175px, 1.38fr);
        gap: 8px;
        padding: 9px;
    }

    .ts-vls-guide__visual--pair {
        grid-template-columns: 1fr;
    }

    .ts-vls-guide__model-photo,
    .ts-vls-guide__panel-photo {
        min-height: 220px;
    }

    .ts-vls-guide__model-photo img,
    .ts-vls-guide__panel-photo img {
        height: 220px;
    }

    .ts-vls-guide__table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .ts-vls-guide table,
    .ts-vls-guide tbody,
    .ts-vls-guide tr,
    .ts-vls-guide td {
        display: block;
        width: 100%;
    }

    .ts-vls-guide thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        clip-path: inset(50%);
    }

    .ts-vls-guide tbody tr {
        margin-bottom: 10px;
        padding: 7px 11px;
        border: 1px solid var(--vls-border);
        border-radius: 9px;
        background: #fff;
    }

    .ts-vls-guide tbody tr:nth-child(even) {
        background: #f8fafc;
    }

    .ts-vls-guide td,
    .ts-vls-guide td:first-child {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 9px;
        width: 100%;
        padding: 7px 0;
        border: 0;
        border-bottom: 1px solid #e6ecf2;
        white-space: normal;
    }

    .ts-vls-guide td:last-child {
        border-bottom: 0;
    }

    .ts-vls-guide td::before {
        color: var(--vls-muted);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
        content: attr(data-label);
    }

    .ts-vls-guide__cta {
        grid-template-columns: 1fr;
    }

    .ts-vls-guide__button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .ts-vls-guide__visual {
        grid-template-columns: 1fr 1.45fr;
    }

    .ts-vls-guide__visual--pair {
        grid-template-columns: 1fr;
    }

    .ts-vls-guide__visual--pair > figure {
        grid-template-columns: 1fr 1.45fr;
    }

    .ts-vls-guide__model-photo,
    .ts-vls-guide__panel-photo,
    .ts-vls-guide__model-photo img,
    .ts-vls-guide__panel-photo img {
        height: 190px;
        min-height: 190px;
    }
}
.ts-vls-guide__steps li {
    padding-left: 48px !important;
}
