.breadcrumbs {
    background: #F4F7FC;
    padding: 10px 32px;
}

.breadcrumbs__list, .breadcrumbs .breadcrumb{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666666;
}

.breadcrumbs__item::after {
    content: '›';
    color: #666666;
}

.breadcrumbs__item:last-child::after {
    display: none;
}

.breadcrumbs__link {
    color: #FD5F43;
    text-decoration: none;
}

.breadcrumbs__link:hover {
    text-decoration: underline;
}

.container--middle {
    max-width: 1200px;
}

.page-hero {
    position: relative;
    padding: 32px 32px;
    color: #ffffff;
}

.page-hero__bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(42, 65, 100, 0.8), rgba(42, 65, 100, 0.8));
}

.page-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.page-hero__description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    max-width: 700px;
    margin: 0;
}

.rubrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rubrics__link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.rubrics__link:hover {
    border-color: #FFF1EB;
    background: #FFF1EB;
}

.rubrics__link.current {
    font-weight: 600;
    border-color: #FD5F43;
    color: #ffffff;
    background: #FD5F43;
}

.blog {
    padding: 40px 32px;
}

.articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 960px) {
    .articles {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .blog {
        padding: 24px 16px;
    }
}

.swiper-container-initialized .articles.swiper-wrapper {
    gap: 0;
}

.articles__item {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.articles__item.swiper-slide {
    width: calc(100%/3 - 24px*2/3);
    height: auto;
}

@media (max-width: 960px) {
    .articles__item.swiper-slide {
       width: 370px;
       max-width: calc(100% - 30px);
    }
}

.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

.article-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #F4F7FC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-card__image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #B0B0B0;
}

.article-card__image-placeholder svg {
    width: 32px;
    height: 32px;
    stroke: #C8C8C8;
    fill: none;
}

.article-card__image-placeholder span {
    font-size: 11px;
    color: #C0C0C0;
}

.article-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    gap: 8px;
}

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

.article-card__rubric {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #E8612C;
    text-decoration: none;
}

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

.article-card__date {
    font-size: 11px;
    color: #9CA3AF;
    white-space: nowrap;
}

.article-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__excerpt {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 32px 48px;
    margin-top: 30px;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.pagination__link:hover {
    border-color: #E8612C;
    color: #E8612C;
}

.pagination__link--active {
    background: #E8612C;
    border-color: #E8612C;
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}

.pagination__link--disabled {
    color: #C8C8C8;
    border-color: #E5E7EB;
    pointer-events: none;
    cursor: default;
}

.pagination__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #9CA3AF;
    font-size: 14px;
}

.sort {
    display: flex;
    align-items: center;
    padding: 16px 0 24px;
}

.sort__label-text {
    font-size: 13px;
    color: #6B7280;
    margin-right: 8px;
    white-space: nowrap;
}

.sort__dropdown {
    position: relative;
}

.sort__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: border-color 0.15s;
}

.sort__toggle:hover {
    border-color: #E8612C;
}

.sort__toggle-arrow {
    font-size: 10px;
    color: #9CA3AF;
    transition: transform 0.2s;
}

.sort__dropdown--open .sort__toggle {
    border-color: #E8612C;
}

.sort__dropdown--open .sort__toggle-arrow {
    transform: rotate(180deg);
}

.sort__menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sort__dropdown--open .sort__menu {
    display: block;
}

.sort__option {
    display: block;
}

.sort__option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.sort__option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.sort__option-label:hover {
    background: #F7F7F7;
}

.sort__option-check {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #E8612C;
    opacity: 0;
}

.sort__option input[type="radio"]:checked+.sort__option-label {
    color: #E8612C;
    font-weight: 600;
}

.sort__option input[type="radio"]:checked+.sort__option-label .sort__option-check {
    opacity: 1;
}

.m-blog-services:last-child {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .m-blog-services {
        margin: 40px 0;
    }
}

.m-blog-services__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    padding: 40px 44px;
    background: #2b3a55;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .m-blog-services__inner {
        padding: 28px 20px;
        gap: 24px;
        border-radius: 16px;
    }
}

.m-blog-services__content {
    flex: 1 1 300px;
}

.m-blog-services__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

@media (max-width: 768px) {
    .m-blog-services__title {
        font-size: 22px;
    }
}

.m-blog-services__text {
    margin: 12px 0 24px;
    font-size: 16px;
    line-height: 1.5;
    color: #aeb7c9;
}

@media (max-width: 768px) {
    .m-blog-services__text {
        font-size: 15px;
        margin: 10px 0 20px;
    }
}

.m-blog-services__btn {
    display: inline-block;
    padding: 15px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #E8612C;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.m-blog-services__btn:hover {
    background: #d8431b;
}

@media (max-width: 768px) {
    .m-blog-services__btn {
        width: 100%;
        padding: 14px 24px;
    }
}

.m-blog-services__list {
    flex: 1 1 320px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.m-blog-services__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.m-blog-services__item:last-child {
    border-bottom: none;
}

.m-blog-services__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.m-blog-services__link:hover {
    color: #E8612C;
}

.m-blog-services__link:hover .m-blog-services__arrow {
    color: #E8612C;
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .m-blog-services__link {
        font-size: 15px;
        padding: 12px 0;
    }
}

.m-blog-services__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #E8612C;
}

.m-blog-services__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.m-blog-services__name {
    flex-grow: 1;
}

.m-blog-services__arrow {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #7e889c;
    transition: transform 0.2s ease, color 0.2s ease;
}

.m-blog-services__arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

.article {
    padding: 40px 0 56px;
}

@media (max-width: 600px) {
    .article {
        padding: 24px 0 40px;
    }
}

.article__main {
    max-width: 800px;
    margin: 0 auto;
}

.article__header {
    margin-bottom: 28px;
}

.article__rubric {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #E8612C;
    text-decoration: none;
}

.article__rubric:hover {
    text-decoration: underline;
}

.article__title {
    margin: 0 0 16px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

@media (max-width: 600px) {
    .article__title {
        font-size: 26px;
    }
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #9CA3AF;
}

.article__reading {
    position: relative;
    padding-left: 16px;
}

.article__reading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: #D1D5DB;
}

.article__cover {
    margin: 0 0 32px;
}

.article__cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 16px;
    background: #D1D5DB;
}

@media (max-width: 600px) {
    .article__cover img {
        border-radius: 12px;
    }
}

.article__toc {
    margin: 0 0 36px;
    padding: 20px 24px;
    background: #F4F7FC;
    border-radius: 12px;
}

.article__toc-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
}

.article__toc-list {
    margin: 0;
    padding: 0;
    list-style: none!important;
    counter-reset: toc;
}

.article__toc-list li {
    counter-increment: toc;
    margin-bottom: 10px;
}

.article__toc-list li:last-child {
    margin-bottom: 0;
}

.article__toc-link {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    color: #374151!important;
    text-decoration: none!important;
    transition: color 0.15s!important;
}

.article__toc-link::before {
    content: counter(toc);
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 600;
    color: #E8612C;
}

.article__toc-link:hover {
    color: #E8612C;
}

.article__toc-link.is-active {
    color: #E8612C;
    font-weight: 600;
}

.article-content {
    font-size: 17px;
    line-height: 1.75;
}

.article-content>*:first-child {
    margin-top: 0;
}

.article-content p {
    margin: 0 0 18px;
}

.article-content .lead {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 26px;
}

.article-content h2 {
    margin: 40px 0 16px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.article-content h3 {
    margin: 30px 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.article-content a {
    color: #E8612C;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.article-content a:hover {
    color: #d8431b;
}

.article-content ul,
.article-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

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

.article-content li::marker {
    color: #E8612C;
}

.article-content .check-list {
    list-style: none;
    padding-left: 0;
}

.article-content .check-list li {
    position: relative;
    padding-left: 30px;
}

.article-content .check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23E8612C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center / contain;
}

.article-content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    background: #F4F7FC;
    border-left: 3px solid #E8612C;
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    font-style: italic;
    color: #374151;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content .note {
    margin: 24px 0;
    padding: 16px 20px;
    background: #FFF1EB;
    border-left: 3px solid #E8612C;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
}

.article-content .note p:last-child {
    margin-bottom: 0;
}

.article-content figure {
    margin: 28px 0;
}

.article-content figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-content figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #9CA3AF;
    text-align: center;
}

.article-content .table-adaptive {
    margin: 0 0 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.article-content table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 15px;
}

.article-content th,
.article-content td {
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    text-align: left;
}

.article-content thead th {
    background: #F4F7FC;
    font-weight: 700;
}

.article-content tbody tr:nth-child(even) {
    background: #FAFBFD;
}

.article-content .color-green {
    color: #1A8A4F;
}

.article-content .color-red {
    color: #d8431b;
}

.article-content .color-muted {
    color: #6B7280;
}

.article-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 32px 0;
    padding: 24px;
    background: #FFF1EB;
    border: 1px solid #FFE0D2;
    border-radius: 14px;
}

.article-promo__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: #E8612C;
}

.article-promo__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.article-promo__body {
    flex: 1 1 240px;
}

.article-promo__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
}

.article-promo__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #6B7280;
}

.article-promo__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #E8612C;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.3s ease-in-out !important;
}

.article-promo__btn:hover {
    background: #d8431b;
}

@media (max-width: 600px) {
    .article-promo__btn {
        width: 100%;
        justify-content: center;
    }
}

.article-cta {
    padding: 80px 0;
    background: #2b3a55;
    text-align: center;
}

@media (max-width: 600px) {
    .article-cta {
        padding: 40px 0;
    }
}

.article-cta__title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.article-cta__text {
    margin: 0 0 24px;
    font-size: 16px;
    color: #aeb7c9;
}

.article-cta__btn {
    display: inline-block;
    padding: 15px 34px;
    background: #E8612C;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.article-cta__btn:hover {
    background: #d8431b;
}

@media (max-width: 600px) {
    .article-cta {
        padding: 28px 20px;
    }

    .article-cta__title {
        font-size: 22px;
    }

    .article-cta__btn {
        width: 100%;
    }
}

.related {
    padding: 60px 0;

}

@media (max-width: 600px) {
    .related {
        padding: 40px 0;
    }
}

.related__slider {
    position: relative;
    overflow: hidden;
    padding: 24px;
    margin: -24px;
}

@media (max-width: 1248px) {
    .related__slider {
        width: calc(100% + 30px);
        margin: -24px -15px;
        padding: 24px 15px;
    }
}

.related .container {
    overflow: visible;
}

.related__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.related__nav {
    display: flex;
    gap: 8px;
}

@media (max-width: 767px) {
    .related__nav {
        display: none !important;
    }
}

.related__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #E8612C;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.related__arrow--next {
    transform: scaleX(-1);
}

.related__arrow:hover,
.related__arrow:focus {
    background-color: #E8612C;
}

.related__arrow .icon {
    fill: #E8612C;
    transition: fill 0.3s ease-in-out;
}

.related__arrow:hover .icon,
.related__arrow:focus .icon {
    fill: #ffffff;
}

.related__arrow.swiper-button-disabled {
    opacity: 0.1;
    pointer-events: none;
}

.articles.swiper-wrapper {
    display: flex;
    gap: 24px;
}

.related__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.article-content table {
    display: table;
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 15px;
}

.article-content thead {
    display: table-header-group;
}

.article-content tbody {
    display: table-row-group;
}

.article-content tr {
    display: table-row;
}

.article-content th,
.article-content td {
    display: table-cell;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    text-align: left;
    vertical-align: top;
}

@media (max-width: 600px) {
    .table-adaptive--cards {
        overflow-x: visible;
    }

    .table-adaptive--cards table {
        display: block;
        min-width: 0;
    }

    .table-adaptive--cards thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .table-adaptive--cards tbody {
        display: block;
    }

    .table-adaptive--cards tr {
        display: block;
        margin-bottom: 14px;
        border: 1px solid #E5E7EB;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .table-adaptive--cards tr:last-child {
        margin-bottom: 0;
    }

    .table-adaptive--cards tbody tr:nth-child(even) {
        background: #fff;
    }

    .table-adaptive--cards td {
        display: flex;
        gap: 12px;
        justify-content: space-between;
        align-items: baseline;
        padding: 10px 14px;
        border: none;
        border-bottom: 1px solid #F0F2F5;
        text-align: right;
    }

    .table-adaptive--cards td:last-child {
        border-bottom: none;
    }

    .table-adaptive--cards td::before {
        content: attr(data-label);
        flex-shrink: 0;
        font-weight: 600;
        color: #6B7280;
        text-align: left;
    }

    .table-adaptive--cards td:empty {
        display: none;
    }
}

.article-content ul,
.article-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content ul ul {
    list-style: circle;
}

.article-content ol ol {
    list-style: lower-alpha;
}

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

.article-content li::marker {
    color: #E8612C;
}
