

/* Start:/local/templates/fadin/components/bitrix/news.detail/blog_detail/style.css?178525060915483*/
/* ==========================================================================
   Article page (article.html)
   ========================================================================== */

.article {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 0 100px;
}

.media-page a:not(.site-header__btn--primary){color: #004650;text-decoration: underline}

.scope__p p{
    margin-bottom: 20px;
}

/* --- Breadcrumbs ---------------------------------------------------------- */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 var(--page-padding-x);
    font-size: 16px;
    line-height: 1.4;
}

.breadcrumbs__link {
    color: var(--color-dark-teal);
    opacity: 0.7;
    text-decoration: none;
}

.breadcrumbs__link:hover {
    opacity: 1;
}

.breadcrumbs__arrow {
    color: var(--color-brave-pink);
    font-size: 12px;
}

.breadcrumbs__current {
    font-weight: 600;
    color: var(--color-dark-teal);
}

/* --- Layout: sidebar + content -------------------------------------------- */

.article__layout {
    display: grid;
    grid-template-columns: 1fr 764px 1fr;
    gap: 0 48px;
    padding: 0 var(--page-padding-x);
}

.article__sidebar {
    grid-column: 1;
}

.article__content {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

/* --- Table of contents ----------------------------------------------------- */

.toc {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    margin-top: 424px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

.toc__item {
    padding: 10px 0 10px 16px;
    border-left: 3px solid transparent;
    margin-left: -2px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-gray-2);
    text-decoration: none;
}

.toc__item:hover {
    color: var(--color-dark-teal);
}

.toc__item--active {
    border-left-color: var(--color-brave-pink);
    color: var(--color-dark-teal);
    font-weight: 600;
}

/* --- Hero ------------------------------------------------------------------ */

.article-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    min-height: 400px;
    padding: 24px;
    border-radius: 24px;
    overflow: hidden;
    color: var(--color-white);
}

.article-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.article-hero__top {
    display: flex;
    gap: 12px;
}

.article-hero__category {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-hero__time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    font-size: 12px;
}

.article-hero__bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-hero__title {
    margin: 0;
    font-family: var(--font-cofo-kak);
    font-weight: 900;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.article-hero__lead {
    max-width: 700px;
    font-size: 20px;
    line-height: 1.5;
}

.article-hero__date {
    font-size: 16px;
    opacity: 0.7;
}

/* --- Article typography ------------------------------------------------------ */

.article__text {
    font-size: 20px;
    line-height: 1.5;
    color: #1a1a1a;
}

.article__h2 {
    margin: 24px 0 0;
    font-family: var(--font-cofo-kak);
    font-weight: 900;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: var(--color-dark-teal);
}

.article__h3 {
    margin: 0;
    font-family: var(--font-cofo-kak);
    font-weight: 900;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: var(--color-dark-teal);
}

.article__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 20px;
    line-height: 1.5;
    color: #1a1a1a;
}

.article__list--bullet li {
    position: relative;
    padding-left: 24px;
}

.article__list--bullet li::before {
    content: "•";
    position: absolute;
    left: 4px;
}

.article__list--dash li {
    position: relative;
    padding-left: 32px;
}

.article__list--dash li::before {
    content: "—";
    position: absolute;
    left: 0;
}
.article__list--square li {
    position: relative;
    padding-left: 32px;
}

.article__list--square li::before {
    content: url("/local/templates/fadin/components/bitrix/news.detail/blog_detail/img/square.svg");
    position: absolute;
    left: 0;
    top: 4px;
}

.article__list--numbered {
    counter-reset: item;
}

.article__list--numbered li {
    position: relative;
    padding-left: 32px;
    counter-increment: item;
}

.article__list--numbered li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    font-weight: 500;
}

.article__list--icon li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.article__callout {
    padding: 32px;
    border-radius: 24px;
    background: #e9f3f9;
    font-size: 20px;
    line-height: 1.5;
    color: #1a1a1a;
}

.article__callout-link {
    color: var(--color-brave-pink);
    font-weight: 600;
    text-decoration: none;
}

.article__note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 20px;
    line-height: 1.5;
    color: #1a1a1a;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #96ddc3;
    font-size: 16px;
}

.pill-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px 16px 16px;
    border-radius: 20px;
    background: var(--color-dark-teal);
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-white);
}

.article__columns--geo .geo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Gallery ----------------------------------------------------------------- */

.gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

.gallery__viewport {
    overflow: hidden;
}

.gallery__track {
    display: flex;
    transition: transform 0.4s ease;
}

.gallery__slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.gallery__img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}
.gallery__img.rad-0{
    border-radius: 0;
}

.gallery__img--wide {
    height: 500px;
}

.gallery__img--main {
    aspect-ratio: 764 / 552;
}

.gallery__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery__img--tall {
    aspect-ratio: 370 / 474;
}

.gallery__caption {
    font-size: 18px;
    line-height: 1.44;
    color: #1a1a1a;
}

.gallery__nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.gallery__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 15px;
}

.gallery__nav-btn:disabled {
    background: #b5b5b5;
    cursor: default;
}

.gallery__thumbs {
    display: flex;
    gap: 12px;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.gallery__thumbs--dragging {
    cursor: grabbing;
}

.gallery__thumbs img {
    -webkit-user-drag: none;
    user-select: none;
}

.gallery__thumb {
    flex-shrink: 0;
    width: 90px;
    height: 66px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
}

.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.6);
}

.gallery__thumb--active {
    border-color: var(--color-brave-pink);
}

.gallery__thumb--active img {
    filter: none;
}

.gallery__img--short {
    height: 282px;
}

.gallery--two .gallery__track {
    gap: 16px;
}

.gallery--two .gallery__slide {
    flex: 0 0 calc((100% - 16px) / 2);
    min-width: 0;
}

@media (max-width: 767px) {
    .gallery--two .gallery__slide {
        flex-basis: 100%;
    }
}

/* --- Quotes --------------------------------------------------------------------- */

.quote {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 32px;
    border-radius: 24px;
    background: #fdf1f3;
    color: #1a1a1a;
}

.quote__mark {
    flex-shrink: 0;
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 0.6;
    color: var(--color-dark-teal);
}

.quote__mark--closing {
    align-self: flex-end;
}

.quote__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote__body .quote__mark {
    margin-bottom: 16px;
}

.quote__name {
    font-size: 22px;
    font-weight: 700;
}

.quote__role {
    font-size: 16px;
    color: var(--color-gray-2);
}

.quote__text {
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.5;
}

.quote__photo {
    flex-shrink: 0;
    width: 268px;
    border-radius: 16px;
    object-fit: cover;
    object-position: top;
}

.quote--photo-left .quote__body,
.quote--photo-right .quote__body {
    flex: 1;
}


/*TABLE*/

.tgate__table{
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    padding: 0;
}
.tgate__table thead th{
    border-top-width: 0;
    border-bottom-width: 1px;
    border-right-width: 1px;
    border-left-width: 1px;
    background: rgba(0, 70, 80, 1);
    border-color: rgba(0, 70, 80, 1);
    padding: 18px 28px;
    font-weight: 400;
    line-height: 140%;
    color: rgba(255, 255, 255, 1);
    text-align: start;
    overflow-wrap: anywhere;
    word-break: normal;
}
.tgate__table thead th img{
    display: inline-block;
    margin-right: 10px;
}

.tgate__table thead th:nth-child(1){
    border-radius: 24px 0 0 0;
}
.tgate__table thead th:nth-child(2){
    border-radius: 0 24px 0 0;
}
.tgate__table tbody {
    overflow-y: auto;
    vertical-align: middle;
    border: 0 solid #ccc;
}
.tgate__table tbody td{
    border-top-width: 0;
    border-bottom-width: 1px;
    border-right-width: 1px;
    border-left-width: 1px;
    vertical-align: baseline;
    border-color: #d9d9d9;
    padding: 16px 28px;
    overflow-wrap: anywhere;
    word-break: normal;
}
.tgate__table tbody td:not(:last-child){
    border-right: none;
}
.tgate__table tbody tr:nth-child(1) td{
    border-top: 0 !important;
}

.article__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 30px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    width: min-content;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1280px) {
    .article__layout {
        grid-template-columns: 1fr 764px;
    }
}

@media (max-width: 1200px) {
    .article__layout {
        grid-template-columns: 1fr;
    }

    .article__sidebar,
    .article__content {
        grid-column: 1;
    }

    .article__sidebar {
        overflow-x: auto;
        scrollbar-color: rgba(0, 0, 0, 0) transparent; /* Ползунок полупрозрачный, дорожка полностью прозрачная */
        scrollbar-width: thin; /* Делает скроллбар тонким */
    }

    .toc {
        position: static;
        width: max-content;
        margin-top: 0;
        margin-bottom: 8px;
        flex-direction: row;
        border-left: none;
        border-bottom: 2px solid rgba(0, 0, 0, 0.1);
        gap: 10px;
    }

    .toc__item {
        margin-left: 0;
        margin-bottom: -2px;
        padding: 6px 0;
        white-space: nowrap;
    }

    .toc__item--active {
        border-left: none;
        border-bottom: 2px solid var(--color-brave-pink);
    }
}

@media (max-width: 860px) {
    .article-hero__title {
        font-size: 32px;
    }

    .article__h2 {
        font-size: 26px;
    }

    .article__columns {
        gap: 16px;
        font-weight: 600;
    }

    .quote {
        flex-direction: column;
    }

    .quote__photo {
        width: 100%;
        max-height: 320px;
    }
}

@media (max-width: 560px) {
    .article__layout,.breadcrumbs{padding: 0 20px}

    .article__list--icon li {
        flex-direction: column;
        align-items: flex-start;
        font-weight: 600;
    }
    .pill, .article__note {
        flex-direction: column;
        align-items: flex-start;
    }

    .pill-list_cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .quote {
        background: transparent;
        padding: 0;
    }

    .gallery__img--main {
        height: 203px;
        aspect-ratio: auto;
    }

    .gallery__img--wide {
        height: 203px;
    }

    .gallery__img--tall {
        height: 180px;
    }

    .gallery__pair {
        gap: 16px;
    }

    #gallery-short {
        container-type: inline-size;
    }

    #gallery-short .gallery__viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    #gallery-short .gallery__viewport::-webkit-scrollbar {
        display: none;
    }

    #gallery-short .gallery__track {
        gap: 16px;
    }

    #gallery-short .gallery__slide {
        flex: 0 0 auto;
        min-width: 0;
    }

    #gallery-short .gallery__pair {
        display: flex;
    }

    #gallery-short .gallery__img--short {
        width: 220px;
        height: 160px;
        scroll-snap-align: start;
    }

    .article-hero__title {
        font-size: 21px;
    }

    .article-hero__lead,
    .article__text,
    .article__list,
    .article__callout,
    .gallery__caption {
        font-size: 16px;
    }

    .article__list {
        gap: 8px;
    }

    .article-hero__date {
        font-size: 14px;
    }

    .article-hero {
        min-height: 328px;
    }

    .toc__item, .article-hero__category, .breadcrumbs {
        font-size: 12px;
    }

    .article__content {
        gap: 16px;
    }

    .article__h2 {
        font-size: 21px;
    }

    .article__columns--geo {
        grid-template-columns: 1fr;
    }
    .tgate__table tbody td,.tgate__table thead th{padding: 16px}
    .tgate__table{font-size: 16px;}
}

@media screen and (max-width: 420px) {
    .article-hero__lead,
    .article__text,
    .article__list,
    .article__callout,
    .gallery__caption {
        font-size: 14px;
    }
    .quote__text{
        font-size: 16px;
    }
    .article__h2 {font-size: 18px;}
}

/* End */
/* /local/templates/fadin/components/bitrix/news.detail/blog_detail/style.css?178525060915483 */
