

/* Start:/local/templates/f3dp/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17923237714072*/
/* Keep the document as the scrolling ancestor of the sticky article contents. */
html:has([data-article-layout]),
body:has([data-article-layout]) {
    overflow-x: clip;
}

.f3dp-article-layout {
    --f3dp-toc-top: 96px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
}

.f3dp-article-main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.blog-leftside-section-area .f3dp-article-main .blog-leftside-area {
    padding: 0;
    margin-top: 0;
}

.f3dp-article-body {
    overflow-wrap: anywhere;
}

/* Article heading levels take precedence over the shared blog heading styles. */
.blog-leftside-section-area .blog-leftside-area .heading2.f3dp-article-body h2 {
    margin: 48px 0 20px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

.blog-leftside-section-area .blog-leftside-area .heading2.f3dp-article-body h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 600;
}

@media (max-width: 600px) {
    .blog-leftside-section-area .blog-leftside-area .heading2.f3dp-article-body h2 {
        font-size: 25px;
    }

    .blog-leftside-section-area .blog-leftside-area .heading2.f3dp-article-body h3 {
        font-size: 20px;
    }
}

.f3dp-article-body :is(img, video, iframe) {
    max-width: 100%;
}

.f3dp-article-body [id] {
    scroll-margin-top: calc(var(--f3dp-toc-top) + 16px);
}

.f3dp-article-toc {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    position: sticky;
    top: var(--f3dp-toc-top);
    margin-top: 48px;
    margin-bottom: 48px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fafafa;
    color: #262626;
}

.f3dp-article-toc summary {
    padding: 20px 20px 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    list-style: none;
    cursor: default;
}

.f3dp-article-toc summary::-webkit-details-marker {
    display: none;
}

.f3dp-article-toc nav {
    max-height: calc(100vh - var(--f3dp-toc-top) - 100px);
    max-height: calc(100dvh - var(--f3dp-toc-top) - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 0 12px 16px;
}

.f3dp-article-toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.f3dp-article-toc li + li {
    margin-top: 3px;
}

.f3dp-article-toc a {
    display: block;
    padding: 8px 10px;
    border-left: 2px solid transparent;
    border-radius: 3px;
    color: #434343;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.f3dp-article-toc a:hover,
.f3dp-article-toc a[aria-current="location"] {
    border-left-color: var(--ztc-bg-bg-3, #ffd028);
    background: #fff7d9;
    color: var(--ztc-text-text-5, #142637);
}

.f3dp-article-toc a[aria-current="location"] {
    font-weight: 600;
}

.f3dp-article-toc :is(a, summary):focus-visible {
    outline: 2px solid #a65300;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html:has([data-article-layout]) {
        scroll-behavior: auto;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .f3dp-article-layout {
        gap: 24px;
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 991.98px) {
    .f3dp-article-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .f3dp-article-main {
        width: 100%;
    }

    .f3dp-article-toc {
        position: static;
        width: 100%;
        margin: 32px 0 0;
    }

    .f3dp-article-toc summary {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 16px;
        font-size: 17px;
        cursor: pointer;
    }

    .f3dp-article-toc summary::after {
        content: "+";
        flex-shrink: 0;
        font-size: 23px;
        line-height: 1;
    }

    .f3dp-article-toc details[open] summary::after {
        content: "\2212";
    }

    .f3dp-article-toc nav {
        max-height: 55vh;
        max-height: 55dvh;
        padding: 0 8px 12px;
    }
}

/* End */
/* /local/templates/f3dp/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17923237714072 */
