/* Свой текст статической страницы. Подключается только из static-content.php. */

.article-text:has(.piq-article-mobile) > .row.guarantees > .article-content {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.piq-article-mobile,
.piq-article-mobile * {
    box-sizing: border-box;
}

.piq-article-mobile {
    display: flow-root;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    color: #222;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: normal;
}

.piq-article-mobile > .column.small-12 {
    float: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0 15px;
}

.article-text .piq-article-mobile h2 {
    font-size: 32px !important;
    line-height: 1.3;
    font-weight: 700;
    margin: 44px 0 18px;
    color: #111;
    text-transform: none;
}

.article-text .piq-article-mobile h3 {
    font-size: 22px !important;
    line-height: 1.4;
    font-weight: 600;
    margin: 30px 0 14px;
    color: #333;
    text-transform: none;
}

.article-text .piq-article-mobile p {
    margin: 0 0 1em;
    font-size: 16px;
    line-height: 1.65;
}

.article-text .piq-article-mobile a {
    color: #125b80;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.article-text .piq-article-mobile ul,
.article-text .piq-article-mobile ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.article-text .piq-article-mobile ul > li {
    list-style-type: disc;
}

.article-text .piq-article-mobile li {
    margin-bottom: .45em;
    font-size: 16px;
    line-height: 1.6;
}

.piq-article-mobile img {
    max-width: 100%;
    height: auto;
}

.piq-article-mobile p.one-image {
    display: block;
    clear: both;
    width: 100%;
    max-width: 660px;
    margin: 30px auto 44px;
    text-align: center;
}

.piq-article-mobile p.one-image > a {
    display: block;
    margin: 0;
    max-width: 100%;
}

.piq-article-mobile p.one-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 620px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.piq-article-mobile p.one-image > span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.piq-article-mobile .blue-square-toc {
    min-width: 0;
    max-width: 100%;
    margin: 24px 0;
    padding: 18px 20px;
    background: #f2f6f8;
}

.piq-article-mobile .blue-square-toc ul {
    margin: 0;
    padding-left: 1.3em;
}

.piq-article-mobile .blue-square-toc li {
    margin-bottom: .5em;
}

.piq-article-mobile .blue-square-table {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 24px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.piq-article-mobile .blue-square-table table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 16px;
    line-height: 1.5;
}

.piq-article-mobile .blue-square-table th,
.piq-article-mobile .blue-square-table td {
    padding: 12px;
    border: 1px solid #d9d9d9;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: normal;
}

.piq-article-mobile .blue-square-table th {
    background: #e5f0f6;
    font-weight: 700;
}

.piq-article-mobile .blue-square-table tr:nth-child(even) td {
    background: #f7f9fa;
}

.piq-article-mobile .piq-table-hint {
    display: none;
}

.piq-article-mobile a:focus-visible,
.piq-article-mobile [tabindex]:focus-visible {
    outline: 2px solid #125b80;
    outline-offset: 3px;
}

.piq-article-mobile [id] {
    scroll-margin-top: 20px;
}

@media screen and (max-width: 360px) {
    body:has(.piq-article-mobile) .row.guarantees > .column.small-6 {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 640px) {
    body:has(.piq-article-mobile) .row.catalog-products {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    body:has(.piq-article-mobile) .catalog-product .button-link {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .piq-article-mobile > .column.small-12 {
        padding: 0 15px;
    }

    .article-text .piq-article-mobile h2 {
        font-size: 26px !important;
        margin: 36px 0 16px;
    }

    .article-text .piq-article-mobile h3 {
        font-size: 20px !important;
        margin: 26px 0 12px;
    }

    .piq-article-mobile p.one-image {
        margin: 24px auto 36px;
    }

    .piq-article-mobile .blue-square-toc {
        padding: 16px;
    }

    .piq-article-mobile .blue-square-table {
        margin: 8px 0 24px;
    }

    .piq-article-mobile .piq-table-hint {
        display: block;
        margin: 20px 0 8px;
        color: #555;
        font-size: 14px;
    }

    body:has(.piq-article-mobile) .row.guarantees > .column.small-12 > h1 {
        font-size: 28px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
}

body:has(.piq-article-mobile .blue-square-toc) .article-navigation {
    display: none;
}
