﻿.blog-hero {
    margin-top: 24px;
    width: 100%;
    height: 370px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-hero_overlay {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.65) 45%, rgba(0, 0, 0, 0.35) 100%);
}

.blog-hero_inner {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 100%;
    color: #fff;
}

.blog-hero_badges {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.blog-hero_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px;
    font-size: 14px;
    line-height: 1.2;
    border-radius: 9999px;
    white-space: nowrap;
}

.blog-hero_badge--type {
    min-width: 62px;
    min-height: 25px;
    background-color: #CEE7E3;
    color: #0C8771;
}

.blog-hero_badge--meta {
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
}

.blog-hero_title {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    max-width: 880px;
    margin-bottom: 16px;
}

.blog-hero_intro {
    font-size: 16px;
    line-height: 1.5;
    max-width: 880px;
}

.blog-hero_share-btn {
    position: absolute;
    top: 40px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: none;
    padding: 0;
    background: radial-gradient(circle at 0% 0%, #f5f9ff 0%, #e6f3ff 50%, #ddeff7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.blog-hero_share-icon {
    width: 20px;
    height: 20px;
    background-image: url('../../img/icons/blog-icon/share.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.blog-hero_share-popup {
    position: absolute;
    top: 96px;
    right: 0;
    width: 320px;
    max-width: 100%;
    padding: 16px;
    border-radius: 16px;
    background-color: #ffffff;
    color: #111111;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    display: none;
    z-index: 5;
}

.blog-hero_share-popup_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.blog-hero_share-popup_subtitle {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-hero_share-input {
    width: 100%;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d3d7df;
    margin-bottom: 12px;
    background-color: #f8f9fb;
    color: #111111;
}

.blog-hero_share-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.blog-hero_share-copy-btn {
    flex: 1;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    background-color: #0C8771;
    color: #ffffff;
    cursor: pointer;
}

.blog-hero_share-close-btn {
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d3d7df;
    background-color: #ffffff;
    color: #111111;
    cursor: pointer;
}

.blog-hero_share-status {
    font-size: 12px;
    line-height: 1.4;
    min-height: 16px;
    color: #0C8771;
}

.blog-hero_share-popup--visible {
    display: block;
}

@media (max-width: 767px) {
    .blog-hero {
        margin-top: 16px;
    }

    .blog-hero_inner {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .blog-hero_badges {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 24px;
        max-width: calc(100% - 60px);
    }

    .blog-hero_title {
        font-size: 24px;
        line-height: 1.3;
    }

    .blog-hero_intro {
        font-size: 14px;
        line-height: 1.5;
    }

    .blog-hero_share-btn {
        top: 24px;
        width: 40px;
        height: 40px;
    }

    .blog-hero_share-popup {
        top: 76px;
        right: 0;
        left: auto;
        width: min(100%, 320px);
    }
}
.about {
    background: #F8FAFC;
}

.about .container {
    display: grid;
    /* grid-template-columns: 1fr 370px; */
    column-gap: 40px;
    align-items: flex-start;
}

.about-content {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    display: grid;
    grid-template-columns: 100%;

}



.about_group-title {
    margin: 0 0 1em 0;
    font-size: 32px;
}

.about_txt {
    color: var(--gray);
    line-height: 1.3em;
}

/* правый блок оператора */

.about-cta {
    background: #ffffff;
    padding: 24px;
    border: 1px solid var(--brightest-blue);
    border-radius: 8px;
    position: sticky;
    top: 0;
}

.about-cta-manager {
    display: grid;
    grid-template-columns: 110px 1fr;
    grid-template-rows: 1fr auto;
    gap: 12px;
    align-items: flex-end;
    align-content: flex-end;
}

.about-cta-manager_img {
    grid-area: span 2 / auto;
    width: 100%;
    height: 125px;
    object-fit: contain;
    background: #EFF6F5;
    border-radius: 8px;
    object-position: center bottom;
}

.about-cta-manager_position {
    font-size: 14px;
    color: var(--green);
    background: var(--light-green);
    border: 1px solid var(--green);
    padding: 0.25em 0.5em;
    border-radius: 4px;
    width: fit-content;
}

.about-cta-manager_name {
    font-size: 20px;
    line-height: 1.2em;
}

.about-cta_phone {
    margin: 20px 0 0 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.625em 0;
    font-family: "Lato", sans-serif;
    font-weight: 600;
}

.about-cta_phone img,
.about-cta_phone svg {
    width: 1em;
    height: auto;
    object-fit: contain;
}

.about-cta_phone path {
    fill: var(--gray);
}

.about-cta_txt {
    line-height: 1.3em;
}

.about-cta_pros-list {
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: 100%;
    gap: 8px;
}

.about-cta_pros {
    color: var(--gray);
    line-height: 1.3em;
    display: flex;
    align-items: center;
    gap: 1.25em;
}

.about-cta_pros::before {
    content: "";
    width: 8px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--light-blue);
    flex-shrink: 0;
}

.about-cta_btn {
    margin: 20px 0 0 0;
    width: 100%;
}
@media (max-width: 767px) {
    /* ... твои существующие правила для hero ... */

    .about .container {
        grid-template-columns: 100%;
        row-gap: 24px;
    }

    .about-content {
        padding: 20px;
        gap: 32px;
    }

    .about_group-title {
        font-size: 24px;
    }

    .about-cta {
        position: static;
    }
}
.about-cta_title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.article-toc {
    --color: #D4E3FA;
    padding: 24px 32px;
    border-radius: 16px;
    background: radial-gradient(50% 157.97% at 100% 0%, var(--color, #F0F5FF) 0%, #F0F5FF 100%);
    margin-bottom: 40px;
}

.article-toc_header {
    margin: 0 0 32px 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: #000000;
}

.article-toc_list-wrapper {
    max-width: 100%;
}

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

.article-toc_item {
    font-size: 16px;
    line-height: 1.4;
}

.article-toc_link {
    color: #666666;
    text-decoration: none;
}

.article-toc_link:hover {
    text-decoration: underline;
}
@media (max-width: 767px) {
    .article-toc {
        padding: 16px 20px;
        margin-bottom: 24px;
    }

    .article-toc_header {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .article-toc_item {
        font-size: 14px;
    }
}
/* Списки внутри текста статьи */

.about_txt ul,
.about_txt ol {
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

/* Общий вид пункта — текст не смещается, маркер/номер слева */
.about_txt li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

/* Маркер для маркированных списков (ul) */
.about_txt ul li::before {
    content: "";
    width: 8px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--light-blue);
    flex-shrink: 0;
    margin-top: 0.4em; /* чтобы кружок был по центру строки */
}

/* Кастомная нумерация для ol, чтобы цифры тоже не уезжали вправо */
.about_txt ol {
    counter-reset: article-ol;
}

.about_txt ol li::before {
    counter-increment: article-ol;
    content: counter(article-ol) ".";
    flex-shrink: 0;
    min-width: 1.5em;
    text-align: right;
    margin-top: 0.1em;
}
.article-meta {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.article-meta_author {
    margin-bottom: 24px;
}

.article-meta_author-inner {
    align-items: center;
}

.article-meta_author-img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
}


.article-meta_separator {
    height: 1px;
    background-color: #E2E8F0;
    margin-bottom: 16px;
}

.article-meta_share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.article-meta_share-label {
    font-size: 20px;
    line-height: 1.3;
    color: #666666;
}


.article-meta_share-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.article-meta_share-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: none;
    padding: 0;
    cursor: pointer;
    background: radial-gradient(circle at 0% 0%, #f5f9ff 0%, #e6f3ff 50%, #ddeff7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
}

.article-meta_share-icon {
    display: block;
}
@media (max-width: 767px) {
    .article-meta {
        margin-top: 32px;
        padding-top: 20px;
    }

    .article-meta_share-label {
        font-size: 13px;
    }

    .article-meta_share-icon-btn {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }
}
.article-related {
    margin-top: 48px;
    margin-bottom: 48px;
}

.article-related_title {
    margin: 0 0 24px 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

.article-related_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-related_card {
    position: relative;
    display: grid;
    grid-template-columns: 470px 1fr;
    gap: 16px;
}

.article-related_card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.article-related_media {
    position: relative;
    width: 470px;
    height: 276px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.article-related_media-overlay {
    position: absolute;
    inset: 0;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.7) 100%);
    color: #ffffff;
}



.article-related_badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

.article-related_badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.article-related_badge--date {
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
}

.article-related_badge--updated {
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
}


.article-related_media-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    max-width: 420px;
}

.article-related_content {
    position: relative;
    z-index: 2;
    background-color: #F8FAFC;
    border-radius: 20px;
    padding: 20px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-related_content-title {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.article-related_content-intro {
    font-size: 16px;
    line-height: 1.5;
    color: #555555;
}

.article-related_content-footer {
    margin-top: auto;
    padding-top: 12px;
}

.article-related_content-link {
    font-size: 16px;
    line-height: 1.4;
    color: #666666;
    text-decoration: underline;
}
@media (max-width: 767px) {
    .article-related {
        margin-top: 32px;
    }

    .article-related_card {
        grid-template-columns: 100%;
    }

    .article-related_media {
        width: 100%;
        height: 220px;
    }

    .article-related_media-title {
        font-size: 20px;
    }

    .article-related_content {
        padding: 16px 16px 16px 16px;
    }

    .article-related_content-title {
        font-size: 18px;
    }
}
.article-contacts {
    margin-top: 48px;
    margin-bottom: 60px;
    background-color: #F8FAFC;
}

.article-contacts_title {
    margin: 0 0 24px 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

.article-contacts_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 35px;
    row-gap: 20px;
    align-items: center;
}


.article-contacts_card {
    /* background-color: #ffffff; */
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-contacts_label {
    font-size: 16px;
    line-height: 1.4;
    color: #666666;
}

.article-contacts_phone {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
}

.article-contacts_phone:hover {
    text-decoration: underline;
}

.article-contacts_label-address {
    margin-top: 8px;
}

.article-contacts_address {
    font-size: 24px;
    line-height: 1.4;
    color: #111111;
}

.article-contacts_map {
    border: none;
    width: 100%;
    height: 290px;
    border-radius: 20px;
    overflow: hidden;
}
.article-contacts_phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-contacts_phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.article-contacts_phone-icon svg,
.article-contacts_phone-icon img {
    width: 1.2em;
    height: 1.2em;
    object-fit: contain;
}

.article-contacts_note {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.4;
    color: #666666;
}
@media (max-width: 767px) {
    .article-related_badge {
        font-size: 12px;
        padding: 2px 8px;
    }
}
@media (max-width: 767px) {
    .article-contacts_title {
        text-align: center;
    }

    .article-contacts_wrapper {
        grid-template-columns: 100%;
        row-gap: 20px;
    }

    .article-contacts_card {
        order: 1;
    }

    .article-contacts_map {
        order: 2;
    }
}
.faq_list {
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: 100%;
    gap: 10px;
}
/* Стили для ссылок только внутри основного текста */
.about-group p a, 
.about-group ul a,
.about-group li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.about-group p a:hover,
.about-group ul a:hover,
.about-group li a:hover,
.about-group p a:focus,
.about-group ul a:focus,
.about-group li a:focus {
    color: #0056b3;
    text-decoration: underline;
}
.region-payments-switch{
    margin: 32px 0 56px 0;
}

.region-payments-tabs{
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 24px;
}

.region-payments-tab{
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #E8EEFA;
    color: #111111;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
}
.region-payments-head{
    margin: 0 0 16px 0;
}

.region-payments-title{
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

.region-payments-subtitle{
    margin: 10px 0 0 0;
    font-size: 16px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.region-payments-date{
    color: #0A37AA;
    background: #AABEF0;
    border-radius: 6px;
    padding: 2px 8px;
    display: inline-flex;
    align-items: center;
}

.region-payments-cards{
    margin: 16px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.region-payments-card{
    border-radius: 12px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 1fr 80px;
    align-items: center;
    gap: 12px;
    min-height: 80px;
}

.region-payments-card_value{
    font-size: 20px;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    color: #111111;
}

.region-payments-card_txt{
    margin: 6px 0 0 0;
    font-size: 16px;
    color: #666666;
    line-height: 1.25;
}

.region-payments-card_ic{
    display: flex;
    align-items: center;
    justify-content: center;
}

.region-payments-card_ic svg{
    width: 56px;
    height: 56px;
    display: block;
}

.region-payments-card--green{
    background: radial-gradient(50% 157.97% at 100% 0%, #E6F7F1 0%, #F0F5FF 100%);
}

.region-payments-card--mint{
    background: radial-gradient(50% 157.97% at 100% 0%, #DFF6EA 0%, #F0F5FF 100%);
}

.region-payments-card--sand{
    background: radial-gradient(50% 157.97% at 100% 0%, #FBF9E4 0%, #F0F5FF 100%);
}

.region-payments-tab.is-active{
    background: #F0F5FA;
    color: #3C6ED2;
}

.region-payments-panel{
    display: none;
}

.region-payments-panel.is-active{
    display: block;
}
/* PAYMENTS */
.payments_txt{
    margin: .8em 0 0 0;
    color: var(--gray);
    font-size: 20px;
    max-width: 825px;
}
.payments#fed-pay .faq-item .payment-composition{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
}

.payments#fed-pay .faq-item .payment-chunk_value{
    color: #3C6ED2;
}

.payments-intro{
    background: linear-gradient(180deg, #EAF0FC 0%, #D4E3FA 100%);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 0 0 94px 0;
}

.payments-intro_title{
    font-size: 24px;
    color: #111111;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

.payments-intro_txt{
    margin: 10px 0 0 0;
    font-size: 20px;
    color: #666666;
    line-height: 1.25;
}

.payment-list{
    margin: 40px 0 0 0;
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
}
.payment-composition{
    display: grid;
    grid-template-columns: 100%;
    gap: 24px;
}
.payments#fed-pay .faq-item_answer p > strong{
    color: #3C6ED2;
}
.payment-chunk_value{
    font-size: 20px;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    color: black;
}
.payments-after-note{
    background: #F0F5FA;
    color: #3C6ED2;
    font-size: 16px;
    line-height: 1.35;
    padding: 18px 20px;
    border-radius: 12px;
}

.payment-chunk_source{
    margin: .5em 0 0 0;
    font-size: 20px;
    color: var(--gray);
}
.payment-compare{
    background: white;
    margin: 0;
    padding: 0 0;
}
.payment-compare-search{
    margin: 30px 0 0 0;
    display: grid;
    grid-template-columns: 100%;
    align-items: center;
}
.payment-compare-search_input{
    grid-area: 1/1;
    background: white;
    box-shadow: 0px 2px 2px 0px #0F10530D;
    padding: .875em 1.25em;
    border: none;
    border-radius: 8px;
    &::placeholder{
        color: var(--gray);
    }
}
.payment-compare-search_send{
    grid-area: 1/1;
    margin: 0 18px 0 0;
    justify-self: flex-end;
    width: 20px;
    max-height: 20px;
    background: transparent;
    border: none;
    padding: 0;
    & :where(img, svg){
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    path{
        fill: #AABEF0;
    }
}
.payment-compare-table{
    margin: 16px 0 0 0;
    border-collapse: collapse;
    overflow: auto;
    --columns: minmax(220px, 400px) minmax(205px, 1fr) minmax(205px, 1fr) minmax(205px, 1fr);
}
.payment-region-name-wrapper{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.payment-region_name{
    position: relative;
    display: flex;
    align-items: center;
    gap: .375em;
    width: fit-content;
    &:before{
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--gray);
    }
    & :where(img, svg){
        width: 8px;
        height: auto;
        object-fit: contain;
    }
    path{
        fill: currentColor;
    }
}
.payment-region_tag{
    border: 1px solid var(--green);
    background: var(--light-green);
    font-size: 14px;
    border-radius: 4px;
    padding: 4px 8px;
    color: var(--green);
    font-family: 'Arial', sans-serif;
    font-weight: 400;
}
.payment-compare_note{
    margin: 1em 0 0 0;
    color: var(--gray);
}
.about .payment-compare .container {
    display: block;
    width: 100%;
}