

/* Start:/local/templates/advo/components/bitrix/news.detail/servise_detail/style.css?179459475314524*/
.article * {
    font-family: 'Arial', serif;
}

.article h2 {
    font-family: 'RobotoSlabRegular', 'Arial', serif;
    margin-top: 30px;
    position: relative;
    font-weight: bold;
    transition: color .6s ease;
}

.article h3 {
    font-family: 'RobotoSlabRegular', 'Arial', serif;
}

.article-text h2.is-toc-highlighted {
    color: #ec162f;
}

.article h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #ec162f;
    border-radius: 90px;
}
.article h2.is-toc-highlighted::after {
    transition: all 1.5s;
    width: 100%; 
}

.article h3 { 
    /* font-weight: bold;
    font-size: 20px; */
}


.article-author {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 24px;
    border: 1px solid #c3ccdc;
    border-radius: 13px;
    background: linear-gradient(120deg, #fff 65%, #f7f9fc 100%);
    color: #0c152c;
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Фотография */
.article-author-photo {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    border-right: 1px solid #c3ccdc;
    padding-right: 22px;
}

.article-author-photo img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

/* Информация */
.article-author-info {
    flex: 1;
    min-width: 0;
}

.article-author-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
}

.article-author-name {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #080808;
    margin-bottom: 6px;
}

/* Должность и стаж */
.article-author-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 10px;
    font-size: 16px;
    font-weight: 500;
}

.article-author-experience {
    background: #e8eff6;
    border-radius: 7px;
    padding: 3px 12px;
    white-space: nowrap;
}

/* Даты и время чтения */
.article-author-meta {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-wrap: wrap;
    gap: 8px 0;
    margin-top: 14px;
    font-size: 12px;
}

.article-author-meta > div {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.article-author-meta > div + div {
    border-left: 1px solid #c3ccdc;
    padding-left: 14px;
    margin-left: 14px;
}

.article-author-meta i {
    color: #0d2448;
    font-size: 16px;
}

.article .links-block {
    flex: 0 0 auto;
    border-left: 1px solid #c3ccdc;
    padding-left: 20px;
}

.article .links-block ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article .links-block li {
    margin: 0;
}

.article .links-block a {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    min-height: 34px;
    box-sizing: border-box;
    padding: 4px 14px;
    padding-left: 4px;
    border: 1px solid #d8deea;
    border-radius: 14px;
    background: #fff;
    color: #141923;
    font-size: 14px;
    font-weight: 600;
    /* line-height: 1.2; */
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.article .links-block a:hover {
    border-color: #159bd0;
    box-shadow: 0 3px 10px rgb(13 36 72 / 10%);
    color: #141923;
    text-decoration: none;
    transform: translateY(-1px);
}

.article .links-block a:focus-visible {
    outline: 2px solid #159bd0;
    outline-offset: 3px;
}

.article .links-block i {
    display: inline-flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #159bd0;
    color: #fff;
    font-size: 10px;
}

.article .links-block .fa-brands {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

.article .links-block .fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Планшеты */
@media (max-width: 1200px) {
    .article-author {
        padding: 14px 16px;
        gap: 18px;
    }

    .article-author-photo {
        flex-basis: 120px;
        padding-right: 16px;
    }

    .article-author-photo img {
        width: 100px;
        height: 100px;
    }

    .article-author-meta {
        row-gap: 10px;
    }

}

/* Мобильные устройства */
@media (max-width: 1200px) {

    .article-author-photo {
        flex: 0 0 60px;
    }

}

@media (max-width: 600px) {
    .article-author {
        align-items: flex-start;
        gap: 14px;
        padding: 8px;
    }

    .article .links-block {
        width: 100%;
    }

    .article-author-photo {
        flex: 0 0 76px;
        padding: 0;
        border: 0;
    }

    .article-author-photo img {
        width: 76px;
        height: 76px;
    }

    .article-author-name {
        font-size: 18px;
    }

    .article-author-details {
        font-size: 14px;
        gap: 8px;
    }

    .article-author-meta {
        margin-top: 12px;
        gap: 8px 14px;
    }

    .article-author-meta > div + div {
        border: 0;
        padding: 0;
        margin: 0;
    }

    .article .links-block a {
        font-size: 13px;
    }

    .article .links-block ul {
        gap: 4px;
    }

    .article .links-block a {
        padding-right: 8px;
    }
}

@media (min-width: 381px) and (max-width: 1200px) {
    .article-author {
        display: grid;
        grid-template-columns: minmax(120px, 146px) minmax(0, 1fr);
        align-items: start;
        gap: 8px 18px;
    }

    .article-author-photo {
        grid-column: 1;
        grid-row: 1 / span 2;
        box-sizing: border-box;
    }

    .article-author-info {
        display: contents;
    }

    .article-author-label {
        grid-column: 2;
        grid-row: 1;
    }

    .article-author-name {
        grid-column: 2;
        grid-row: 2;
    }

    .article-author-details {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 3;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .article-author-meta {
        grid-column: 1 / -1;
        grid-row: 4;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: nowrap;
        gap: 8px;
        font-size: 11px;
    }

    .article-author-meta > div {
        gap: 5px;
    }

    .article-author-meta > div + div {
        border: 0;
        padding: 0;
        margin: 0;
    }

    .article-author-meta i {
        font-size: 14px;
    }

    .article .links-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1200px) {
    .article .links-block {
        border-left: 0;
        border-top: 1px solid #c3ccdc;
        padding: 12px 0 0;
    }

    .article .links-block ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .article .links-block a {
        min-width: 0;
    }
}

@media (min-width: 381px) and (max-width: 600px) {
    .article-author {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 8px 14px;
    }
}

@media (max-width: 380px) {
    .article-author {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: start;
        gap: 8px 14px;
    }

    .article .links-block {
        grid-column: 1 / -1;
    }

    .article-author-photo {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .article-author-info,
    .article-author-details {
        display: contents;
    }

    .article-author-label {
        grid-column: 2;
        grid-row: 1;
    }

    .article-author-name {
        grid-column: 2;
        grid-row: 2;
        font-size: 17px;
    }

    .article-author-details {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 3;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .article-author-meta {
        grid-column: 1 / -1;
        grid-row: 4;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 0;
        font-size: 12px;
    }

    .article-author-meta > div {
        gap: 4px;
    }

    .article-author-meta i {
        font-size: 14px;
    }
}

@media (max-width: 379px) {
    
    .article-author-photo {
        grid-row: 1 / span 2;
    }

    .article-author-details {
        grid-row: 3;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .article-author-meta {
        grid-row: 4;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}



/* Основной фон блока */
.article-toc {
    background: #edf4fb;
    padding: 0 0 18px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Верхняя цветная полоса */
.article-toc summary {
    background: #d6e5f5;
    border-bottom: 1px solid #c3d5e8;
    padding: 12px 22px;
    gap: 14px;
    font-size: 20px;
}

/* Убираем старые CSS-иконки */
.article-toc summary::before,
.article-toc summary::after {
    content: none;
}

/* Иконка списка */
.article-toc summary .fa-list-ul {
    color: #07549a;
    font-size: 23px;
}

/* Стрелка справа */
.article-toc .toc-arrow {
    margin-left: auto;
    color: #07549a;
    font-size: 17px;
    transition: transform .2s;
}

.article-toc:not([open]) .toc-arrow {
    transform: rotate(180deg);
}

/* Содержимое под полосой */
.article-toc .content_block_article {
    margin: 14px 22px 0 !important;
}

/* Мобильная версия */
@media (max-width: 767px) {
    .article-toc summary {
        padding: 12px 16px;
        font-size: 20px;
    }

    .article-toc .content_block_article {
        margin: 14px 16px 0 !important;
    }
}

.article-toc ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.article-toc li {
    counter-increment: toc;
    position: relative;
    padding-left: 30px;
    margin: 0;
}

.article-toc li::before {
    content: counter(toc) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
}

.article-toc summary .toc-arrow {
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
}

.article-toc summary {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Две колонки от 9 пунктов */
@media (min-width: 768px) {
    .article-toc ul:has(> li:nth-child(9)) {
        display: block;
        columns: 2;
        column-gap: 40px;
        column-rule: 1px solid #c6d2e1;
    }

    .article-toc ul:has(> li:nth-child(9)) li {
        break-inside: avoid;
        margin-bottom: 8px;
    }
}

/* Одна колонка на мобильных */
@media (max-width: 767px) {
    .article-toc ul {
        display: block;
        columns: 1;
    }

    .article-toc li {
        margin-bottom: 8px;
    }
}


.article .faq h3 {
    font-size: 20px;
}

.article .faq .faq-item {
    margin-bottom: 30px;
}

.article .faq div {
    padding-left: 20px;

}

@media (min-width: 992px) {
    .article-reading-progress {
        position: fixed;
        top: 50%;
        z-index: 1000;
        display: none;
    }

    .article-reading-progress.is-visible {
        display: block;
    }

    .article-reading-progress__markers {
        display: flex;
        max-height: 60vh;
        flex-direction: column;
        gap: 7px;
        overflow-y: auto;
        padding: 8px;
        transform: translateY(-50%);
    }

    .article-reading-progress__marker {
        position: relative;
        display: block;
        flex: 0 0 10px;
        width: 24px;
    }

    .article-reading-progress__marker::before {
        position: absolute;
        top: 4px;
        left: 0;
        width: 100%;
        height: 3px;
        border-radius: 2px;
        background: #a4a7ad;
        content: "";
        transition: background-color .2s ease;
    }

    .article-reading-progress__marker.is-read::before,
    .article-reading-progress__marker.is-current::before {
        background: #0d2448;
    }

    .article-reading-progress__marker:focus-visible {
        border-radius: 2px;
        outline: 2px solid #0d2448;
        outline-offset: 3px;
    }

    .article-reading-progress__popup {
        position: fixed;
        top: 50%;
        left: 12px;
        width: min(620px, calc(100vw - 48px));
        max-height: 70vh;
        overflow-y: auto;
        padding: 8px;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 14px 40px rgb(20 30 50 / 18%);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50%) scale(.98);
        transform-origin: right center;
        transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
        visibility: hidden;
    }

    .article-reading-progress:hover .article-reading-progress__popup,
    .article-reading-progress:focus-within .article-reading-progress__popup {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(-50%) scale(1);
        visibility: visible;
    }

    .article-reading-progress__list {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .article-reading-progress__link {
        display: block;
        overflow: hidden;
        padding: 16px 14px;
        border-radius: 18px;
        color: #30313a;
        font-size: 18px;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-decoration: none;
        transition: background-color .2s ease;
    }

    .article-reading-progress__link:hover,
    .article-reading-progress__link.is-current {
        background: #f0f1f2;
        color: #30313a;
        text-decoration: none;
    }

    .article-reading-progress__link.is-read::after {
        content: "✓";
        float: right;
        margin-left: 12px;
        color: #a4a7ad;
        font-size: 22px;
        line-height: 1;
    }

    .article-reading-progress__link:focus-visible {
        outline: 2px solid #0d2448;
        outline-offset: -2px;
    }
}
/* End */
/* /local/templates/advo/components/bitrix/news.detail/servise_detail/style.css?179459475314524 */
