.news-page {
    background: #edf4ff;
    color: #2c2c2c;
}

.news-main {
    overflow: hidden;
    background: #edf4ff;
}

.news-archive {
    padding: 58px 0 126px;
}

.news-archive__container {
    max-width: 1060px;
}

.news-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 58px;
    color: rgba(44, 44, 44, 0.46);
    font-size: 14px;
    line-height: 1;
}

.news-breadcrumbs a {
    color: #2c2c2c;
}

.news-breadcrumbs span {
    width: 30px;
    height: 1px;
    background: rgba(44, 44, 44, 0.5);
}

.news-breadcrumbs p {
    margin: 0;
}

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

.news-archive__head h1 {
    margin: 0;
    color: #4a5fe6;
    font-weight: 600;
    font-size: clamp(46px, 5vw, 70px);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.news-sort {
    position: relative;
    z-index: 5;
    width: 158px;
    flex: 0 0 auto;
}

.news-sort__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 42px;
    border: 1px solid #d4dbea;
    border-radius: 6px;
    padding: 0 16px;
    background: #fff;
    color: #4a5fe6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.news-sort__button svg {
    transition: transform 0.2s ease;
}

.news-sort.is-open .news-sort__button svg {
    transform: rotate(180deg);
}

.news-sort__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    border: 1px solid #d4dbea;
    border-radius: 8px;
    padding: 6px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(44, 44, 44, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.news-sort.is-open .news-sort__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-sort__menu a {
    border-radius: 6px;
    padding: 10px;
    color: #2c2c2c;
    font-size: 13px;
    line-height: 1.1;
}

.news-sort__menu a:hover,
.news-sort__menu a.is-active {
    background: rgba(74, 95, 230, 0.1);
    color: #4a5fe6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.news-card {
    min-width: 0;
}

.news-card__link {
    display: flex;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid #d4dbea;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card__link:hover {
    border-color: rgba(74, 95, 230, 0.46);
    box-shadow: 0 16px 36px rgba(48, 64, 150, 0.12);
    transform: translateY(-4px);
}

.news-card__image {
    position: relative;
    overflow: hidden;
    height: 224px;
    background: #dfe8fb;
}

.news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-card__link:hover .news-card__image img {
    transform: scale(1.04);
}

.news-card__date {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    border: 1px solid #c7d1ff;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: #2c2c2c;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
}

.news-card__share {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #fff;
}

.news-card__content {
    display: flex;
    min-height: 156px;
    padding: 26px 18px 22px;
    flex: 1;
    flex-direction: column;
}

.news-card__content h2 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    margin: 0 0 20px;
    color: #2c2c2c;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-card__content p {
    display: -webkit-box;
    overflow: hidden;
    margin: auto 0 0;
    color: rgba(44, 44, 44, 0.58);
    font-size: 14px;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 46px;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border: 1px solid #d4dbea;
    border-radius: 999px;
    padding: 0 14px;
    background: #fff;
    color: #2c2c2c;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
    border-color: #4a5fe6;
    background: #4a5fe6;
    color: #fff;
}

@media (max-width: 1024px) {
    .news-archive__container {
        max-width: 760px;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .news-archive {
        padding: 42px 0 76px;
    }

    .news-breadcrumbs {
        margin-bottom: 38px;
    }

    .news-archive__head {
        align-items: flex-start;
        margin-bottom: 38px;
        flex-direction: column;
    }

    .news-sort {
        width: 100%;
        max-width: 220px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-card__link {
        min-height: 0;
    }

    .news-card__image {
        height: 210px;
    }
}

.news-single-page {
    background: #edf4ff;
    color: #2c2c2c;
}

.news-single-page .site-container {
    background: #edf4ff;
}

.news-single-page .bread {
    padding: 38px 0 34px;
}

.news-single-page .bread__body {
    gap: 12px;
    color: rgba(44, 44, 44, 0.5);
    font-size: 13px;
}

.news-single-page .bread__body a {
    color: #2c2c2c;
}

.news-single-page .bread__body svg {
    width: 30px;
    height: 8px;
    opacity: 0.42;
}

.news-single-page .article__main-title {
    max-width: 840px;
    margin: 0 0 30px;
    color: #2c2c2c;
    font-size: clamp(34px, 3.2vw, 54px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.news-single-lead {
    max-width: 760px;
    margin: -2px 0 34px 304px;
    color: #2c2c2c;
    font-size: 14px;
    line-height: 1.35;
}

.news-single-page .article__info-block {
    display: none;
}

.news-single-page .main__container-article {
    display: grid;
    grid-template-columns: 240px minmax(0, 770px);
    gap: 64px;
    align-items: start;
}

.news-single-page .container-widget {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 38px;
    width: auto;
}

.news-single-page .widget__link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    border-radius: 8px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.58);
    color: #2c2c2c;
    font-size: 15px;
    font-weight: 600;
}

.news-single-page .share-buttons {
    display: flex;
    gap: 8px;
}

.news-single-page .share-buttons a,
.news-single-page .share-buttons img {
    width: 32px;
    height: 32px;
}

.news-single-page .widget__paragraph {
    color: #2c2c2c;
}

.news-single-page .heading__widget-paragraph {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 600;
}

.news-single-page .widget__paragraph_list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.news-single-page .widget__paragraph-link {
    padding-left: 4px;
    font-size: 13px;
    line-height: 1.2;
}

.news-single-page .widget__paragraph-link a {
    color: #2c2c2c;
}

.news-single-page .widget__big-image {
    display: flex;
    min-height: 210px;
    border-radius: 16px;
    padding: 30px 24px;
    background: linear-gradient(145deg, #425cf5 0%, #8c8ff0 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.news-single-page .widget__big-image-text {
    margin: 0 0 24px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.08;
}

.news-single-page .widget__big-image .btn {
    min-width: 150px;
    min-height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffdf45 0%, #ffc702 100%);
    color: #2c2c2c;
    font-size: 13px;
}

.news-single-page .main__container-block {
    width: 100%;
}

.news-single-hero-image {
    display: block;
    width: 100%;
    max-height: 360px;
    margin: 0 0 34px;
    border-radius: 16px;
    object-fit: cover;
    background: #dfe8fb;
}

.news-single-hero-placeholder {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    min-height: 300px;
    margin: 0 0 34px;
    border-radius: 16px;
    background:
        linear-gradient(90deg, rgba(85, 106, 245, 0.75) 0 8%, transparent 8% 18%, rgba(64, 82, 213, 0.85) 18% 22%, transparent 22%),
        radial-gradient(circle at 51% 32%, #7a41ff 0 15%, #8e62ff 16% 18%, transparent 19%),
        linear-gradient(180deg, #cfd5df 0%, #d7dce6 100%);
    align-items: center;
    justify-content: center;
}

.news-single-hero-placeholder::before,
.news-single-hero-placeholder::after {
    position: absolute;
    width: 70px;
    height: 46px;
    background: #7792ff;
    content: "";
}

.news-single-hero-placeholder::before {
    right: 0;
    top: 0;
    background: #7558ff;
}

.news-single-hero-placeholder::after {
    bottom: 28px;
    left: 0;
}

.news-single-hero-placeholder span {
    position: relative;
    z-index: 1;
    margin-top: 86px;
    color: #050505;
    font-size: clamp(56px, 6vw, 96px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.news-single-page .article__editor-content,
.news-single-page .article__block-text {
    margin-bottom: 34px;
}

.news-single-page .article__block-text-heading {
    margin-bottom: 16px;
    color: #2c2c2c;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.18;
}

.news-single-page .article__block-text-paragraph,
.news-single-page .article__editor-content {
    color: #2c2c2c;
    font-size: 15px;
    line-height: 1.45;
}

.news-single-page .article__block-text-paragraph p {
    margin-top: 0;
}

.news-single-page .big__image-item {
    width: 100%;
    border-radius: 16px;
}

.news-single-page .article__banner-block {
    border-radius: 12px;
    padding: 34px 48px;
    background: #dbe3ff;
    text-align: center;
}

.news-single-page .article__banner-block p {
    margin: 0;
    color: #4a5fe6;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.28;
}

.news-single-page .about__article-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    min-height: 112px;
    margin: 42px 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.46);
}

.news-single-page .banner__heading {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.news-single-page .about-banner-button {
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(44, 44, 44, 0.38);
    border-radius: 999px;
}

.news-single-page .btn__about {
    min-width: 82px;
    height: 46px;
    border-right: 1px solid rgba(44, 44, 44, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.news-single-page .btn__about:last-child {
    border-right: 0;
}

.news-social-banner {
    overflow: hidden;
    margin: 0 0 84px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 90% 36%, rgba(255, 255, 255, 0.22) 0 15%, transparent 16%),
        radial-gradient(circle at 10% 78%, rgba(255, 255, 255, 0.16) 0 13%, transparent 14%),
        linear-gradient(135deg, #7c86f1 0%, #4164f2 100%);
    color: #fff;
}

.news-social-banner__content {
    padding: 34px 52px 34px;
}

.news-social-banner h2 {
    margin: 0 0 28px;
    max-width: 470px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.news-social-banner h2 span {
    position: relative;
    display: inline-block;
}

.news-social-banner h2 span::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -6px;
    height: 18px;
    border: 4px solid #ffc702;
    border-top: 0;
    border-radius: 50%;
    transform: rotate(-5deg);
}

.news-social-banner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.news-social-banner__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 0 24px;
    color: #fff;
    font-size: 15px;
    transform: rotate(-4deg);
}

.news-social-banner__links a:nth-child(even) {
    transform: rotate(-8deg);
}

.news-social-banner__links a:nth-child(4) {
    transform: rotate(0deg);
}

.news-single-page .widget__big-image-down {
    display: none;
}

.news-services {
    padding: 24px 0 94px;
    background: #edf4ff;
}

.news-services__title {
    margin: 0 0 72px;
    color: #2c2c2c;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.news-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-service-card {
    display: flex;
    min-height: 288px;
    border: 1px solid #d4dbea;
    border-radius: 14px;
    padding: 26px;
    background: #fff;
    flex-direction: column;
}

.news-service-card--accent {
    border-color: transparent;
    background: linear-gradient(145deg, #4561f3 0%, #8b8ff0 100%);
    color: #fff;
}

.news-service-card h3 {
    margin: 0 0 22px;
    color: #4a5fe6;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.news-service-card--accent h3 {
    color: #fff;
}

.news-service-card p {
    min-height: 54px;
    margin: 0;
    color: rgba(44, 44, 44, 0.62);
    font-size: 13px;
    line-height: 1.25;
}

.news-service-card--accent p {
    color: #fff;
}

.news-service-card__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 18px;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(44, 44, 44, 0.14);
    padding-top: 30px;
}

.news-service-card--accent .news-service-card__bottom {
    border-top-color: rgba(255, 255, 255, 0.22);
}

.news-service-card strong {
    grid-column: 1 / -1;
    font-size: 23px;
    line-height: 1;
}

.news-service-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    padding: 0 24px;
    background: linear-gradient(180deg, #ffdf45 0%, #ffc702 100%);
    color: #2c2c2c;
    font-size: 13px;
    font-weight: 500;
}

.news-service-card__more {
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
}

.news-single-page .blog,
.news-single-page .site-container > .free {
    display: none;
}

@media (max-width: 1100px) {
    .news-single-page .main__container-article {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 34px;
    }

    .news-single-lead {
        margin-left: 244px;
    }
}

@media (max-width: 860px) {
    .news-single-page .bread {
        padding: 34px 0 28px;
    }

    .news-single-lead {
        margin: -18px 0 34px;
    }

    .news-single-page .main__container-article {
        grid-template-columns: 1fr;
    }

    .news-single-page .container-widget {
        position: static;
        order: 2;
    }

    .news-single-page .widget__big-image {
        display: none;
    }

    .news-single-page .about__article-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        padding: 24px;
        text-align: center;
    }

    .news-social-banner__content {
        padding: 28px 24px;
    }

    .news-services__grid {
        grid-template-columns: 1fr;
    }
}
