/* news_common.css */


/* BASE */
a,
h1,
span,
h2,
h3,
button,
p {
    margin-top: 0;
    margin-bottom: 0;
    text-decoration: none;
}

body {
    font-family: 'Onest', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #EEEDF2;
    color: #333;
    /* filter: grayscale(1); */
}

.container {
    width: 1389px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.content {
    background-color: #FFFFFF;
    border-radius: 25px;
    margin: 10px;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}
.row {
    display: flex;
    justify-content: space-between;
}
.button {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* HEADER */
.header-block {
    background-color: #1058CC;
    display: flex;
    margin: 10px;
    border-radius: 15px;
    align-items: center;
    padding: 10px;
}

.header-block .logo {
    margin-right: 15px;
}

.header-block .logo img {
    width: inherit;
    height: inherit;
}

.header-block .title {
    display: flex;
    color: #FFFFFF;
    align-items: center;
    gap: 20px;
}

.header-block .title h2 {
    font-weight: 500;
    font-style: Medium;
    font-size: 25px;
    line-height: 100%;
}

.header-block .title p {
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    line-height: 100%;
    max-width: 242px;
}

.header-block .description {
    margin-left: auto;
    margin-right: auto;
    font-family: Onest;
    color: #FFFFFF;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 100%;
}

.header-block .try_for_free {
    margin-left: auto;
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    letter-spacing: 2%;
    text-align: center;
    color: #1E55A8;
    width: 250px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    background-color: #FFFFFF;
    align-items: center;
    justify-content: center;
}

/* BREADCRUMPS */
.breadcrumbs {
    display: flex;
}

.breadcrumbs a {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 130%;
    color: #B8B4C9;
}

.breadcrumbs a::after {
    content: " /\00a0";
}

.breadcrumbs a:last-child::after {
    content: "";
}

.breadcrumbs a:last-child {
    color: #464253;
}

.content .banner {
    background-image: url("../img/banner_card.min.webp");
    padding: 40px;
    border-radius: 25px;
    background-size: cover;
    box-sizing: border-box;
}

.content .banner h2 {
    margin-bottom: 20px;
    width: 740px;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.content .banner a {
    color: #1E55A8;
    background-color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 456px;
    height: 94px;
    border-radius: 20px;
}


.news_table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.news_table>* {
    min-width: 0;
    box-sizing: border-box;
}

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

.news_card .news_card_link {
    display: inherit;
    flex-direction: inherit;
    gap: inherit;
}

.news_card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news_card a:hover h2,
.news_card a:hover h3 {
    color: #1E55A8;
    text-decoration: underline;
}

.news_card a:focus {
    outline: 2px solid #1E55A8;
    outline-offset: 4px;
    border-radius: 15px;
}

.news_card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 25px;
    margin-bottom: 20px;
}

.news_card h2,
.news_card h3 {
    font-weight: 500;
    font-style: Medium;
    font-size: 24px;
    line-height: 130%;
    color: #151419;
    margin-bottom: 10px;
}

.news_card .description {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #464253;
}

.news_card .date {
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #464253;
    margin-top: 20px;
    display: inline-block;
}

/* MORE BUTTON */
.more_news {
    margin-bottom: 60px;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    gap: 5px;
}

.more_news>* {
    flex: 0 0 auto;
    flex-grow: 0;
}

.more_news .more_news_button {
    display: inline-block;
    flex: 0 1 auto;
    padding: 24px 30px;
    border-radius: 20px;
    border-width: 1px;
    border: 1px solid #1E55A8;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
    color: #1E55A8;
    background-color: transparent;
    min-width: 0;
}

.more_news .more_news_button.next,
.more_news .more_news_button.prev {
    padding: 24px 80px;
}

.more_news .more_news_button:hover {
    background-color: #1E55A8;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
}

@media screen and (max-width:1900px) {
    .container {
        width: 1290px;
    }

    /* HEADER */
    .header-block .title {
        display: flex;
        color: #FFFFFF;
        align-items: center;
        gap: 20px;
    }

    .header-block .title p {
        max-width: 232px;
    }

    .header-block .description {
        margin-left: auto;
        margin-right: 20px;
        font-size: 18px;
        width: 360px;
    }

    .header-block .try_for_free {
        margin-left: 0px;
        font-family: Onest;
        width: 229px;
        font-size: 14px;
    }

    /* NEWS */
    .news_card {
        gap: 10px;
    }

    .news_card img {
        margin-bottom: 20px;
    }

    .news_card .description {
        margin-bottom: 10px;
    }
}

@media screen and (max-width:1400px) {
    .container {
        width: 748px;
    }

    .content {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* HEADER */
    .header-block {
        margin: 10px;
        padding: 8px;
    }

    .header-block .logo {
        margin-right: 15px;
    }

    .header-block .title {
        gap: 0px;
        margin-right: auto;
    }

    .header-block .title h2 {
        font-size: 24px;
    }

    .header-block .title p {
        display: none;
    }

    .header-block .description {
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
        width: 270px;
    }

    .header-block .try_for_free {
        margin-left: 0;
        font-size: 12px;
        width: 192px;
        height: 50px;
        line-height: 0;
    }

    /* BREADCRUMPS */
    .breadcrumbs {
        display: flex;
    }

    .breadcrumbs a {
        font-size: 14px;
    }

    .content .banner {
        padding: 30px;
        background-position-x: center;
    }

    .content .banner h2 {
        margin-bottom: 25px;
        width: 470px;
        font-size: 26px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #FFFFFF;
    }

    .content .banner a {
        max-width: 380px;
        height: 82px;
    }

    .news_table {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        margin-bottom: 40px;
    }

    .news_card {
        gap: 10px;
    }

    .news_card img {
        height: 150px;
        margin-bottom: 20px;
    }

    .news_card h2,
    .news_card h3 {
        font-size: 20px;
    }

    .news_card .description {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .news_card .date {
        font-size: 12px;
    }

    /* MORE BUTTON */
    .more_news {
        margin-bottom: 40px;
    }

    .more_news {
        justify-content: center;
    }

    .more_news .more_news_button {
        font-size: 16px;
    }

}

@media screen and (max-width:768px) {
    .container {
        width: 305px;
    }

    .content {
        border-radius: 15px;
        margin: 5px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    main.content {
        margin: 5px 0;
    }

    /* HEADER */
    .header-block {
        margin: 5px;
        border-radius: 15px;
        padding: 5px;
    }

    .header-block .logo {
        margin-right: 5px;
        margin-left: 5px;
        width: 28px;
        height: 28px;
    }

    .header-block .title h2 {
        font-size: 14px;
        font-weight: 500;
    }

    .header-block .description {
        display: none;
    }

    .header-block .try_for_free {
        font-size: 10px;
        width: 150px;
        height: 38px;
        border-radius: 15px;
    }

    /* BREADCRUMPS */
    .breadcrumbs {
        display: flex;
    }

    .breadcrumbs a {
        font-size: 12px;
    }

    .content .banner {
        background-image: url("../img/banner_card_mobile.min.webp");
        box-sizing: border-box;
        height: 385px;
        padding: 15px;
    }

    .content .banner h2 {
        margin-bottom: 10px;
        width: 100%;
        font-size: 22px;
    }

    .content .banner a {
        max-width: 100%;
        height: 65px;
        font-size: 12px;
    }

    .news_table {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        margin-bottom: 20px;
    }

    .news_card {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .news_card img {
        height: 150px;
        margin-bottom: 15px;
    }

    .news_card h2,
    .news_card h3 {
        font-size: 18px;
    }

    .news_card .description {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .news_card .date {
        margin-top: 15px;
    }

    /* MORE BUTTON */
    .more_news {
        margin-bottom: 60px;
        display: flex;
        justify-content: center;
    }

    .more_news .more_news_button {
        border-radius: 15px;
        font-size: 12px;
        padding: 20px 20px;
        display: none;
    }

    .more_news .more_news_button.next,
    .more_news .more_news_button.prev {
        padding: 20px 40px;
    }

    .more_news .more_news_button.next,
    .more_news .more_news_button.prev,
    .more_news .more_news_button.disabled {
        display: inline-block;
    }
}


/* news_list.css */

/* MAIN HEADER */
.content .title {
    margin-top: 60px;
    margin-bottom: 20px;
}

.content .title h1 {
    font-weight: 500;
    font-style: Medium;
    font-size: 64px;
    line-height: 100%;
    color: #1E55A8;
    margin: 0;
}

/* THEMES */
.themes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 60px;
}

.themes .button {
    height: 50px;
    box-sizing: border-box;
    border-radius: 15px;
    padding: 16px 25px 14px 25px;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
    background-color: transparent;
    border: #B8B4C9 solid 1px;
    color: #B8B4C9;
}

.themes .button.active {
    border-width: 0;
    background-color: #1E55A8;
    color: #FFFFFF;
}

.more_news .more_news_button.disabled {
    color: #B8B4C9;
}

.more_news .more_news_button.disabled:hover {
    color: #B8B4C9;
    background-color: transparent;
    cursor: default;
}

.themes .button:hover {
    border-color: #1E55A8;
    color: #1E55A8;
    cursor: pointer;
    transition: all 0.25s ease;
}

.themes .button.active:hover {
    background-color: #174585;
    color: #FFFFFF;
}


@media screen and (max-width:1900px) {

    /* THEMES */
    .themes {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 60px;
    }



    /* MORE BUTTON */
}

@media screen and (max-width:1400px) {

    /* MAIN HEADER */
    .content .title {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .content .title h1 {
        font-size: 48px;
    }

    /* THEMES */
    .themes {
        margin-bottom: 40px;
    }
}

@media screen and (max-width:768px) {

    /* MAIN HEADER */
    .content .title {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .content .title h1 {
        font-size: 48px;
    }

    /* THEMES */
    .themes {
        margin-bottom: 20px;
    }

    .themes .button {
        height: 45px;
        padding: 15px;
        font-size: 12px;
    }
}


/* news_detail.css */

.content_row {
    display: flex;
    gap: 20px;
}

.news_content {
    margin-left: auto;
    width: 920px;
}

.advertising {
    width: 440px;
    margin-right: auto;
    position: relative;
    margin-top: 60px;
}

.head_row {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    align-items: center;
}

.head_row .themes {
    display: flex;
    padding: 0;
    gap: 5px;
    margin: 0;
}

.head_row .themes li {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

.head_row .themes a {
    text-decoration: none;
    display: block;
    height: 45px;
    box-sizing: border-box;
    border-radius: 15px;
    padding: 16px 25px 14px 25px;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
    background-color: transparent;
    border: #B8B4C9 solid 1px;
    color: #B8B4C9;
    flex-grow: 0;
}

.head_row .publication_date {
    margin-left: auto;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #B8B4C9;
}

.head_row .article-toc {
    margin-bottom: 40px;
}

#toc-title {
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    color: #464253;
}

.news_head .article-toc ul,
.news_head .article-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 25px;
    margin-bottom: 40px;
}

.news_head .article-toc li {
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #1E55A8;
    margin-bottom: 20px;
}

.news_head .article-toc li a {
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    text-decoration: underline;
}

.news_content h1 {
    font-weight: 500;
    font-style: Medium;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #1E55A8;
    margin-bottom: 40px;
}

.news_content .content {
    margin: 0;
    padding: 0;
}

.news_content .content figure {
    margin: 0;
    max-width: 100%;
    margin: 40px auto;
}

.news_content .content img {
    max-width: 100%;
    border-radius: 25px;
    object-fit: cover;
    margin-top: 40px;
    margin-bottom: 40px;
}

.news_content .content figure img {
    margin-top: 0px;
    margin-bottom: 0px;
    height: auto;
}

.news_content .content p {
    margin-bottom: 30px;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 130%;
    color: #464253;
}

.news_content .content h2 {
    font-weight: 500;
    font-style: Medium;
    font-size: 32px;
    line-height: 100%;
    color: #151419;
    margin-top: 60px;
    margin-bottom: 40px;
}

.news_content .content h3 {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    line-height: 130%;
    color: #464253;
    margin-top: 40px;
    margin-bottom: 30px;
}

.news_content .content ul {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 30px;
}

.news_content .content ul ul {
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.news_content .content li {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 200%;
    letter-spacing: 0%;
    color: #464253;
    line-height: 150%;
    margin: 10px 0;
}

.news_content blockquote {
    border-left: 4px solid #1E55A8;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #464253;
}

.news_content .content aside {
    background: #E7EEFA;
    padding: 30px;
    border-radius: 15px;
}

/* SEO Enhancement: Highlight box for important callouts */
.news_content .content .highlight-box {
    background: #E7EEFA;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.news_content .content .highlight-box h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.news_content .author {
    color: #B8B4C9;
    font-size: 12px;
    margin-top: 30px;
    text-align: end;
}

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

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

.news_content .content aside>*:last-child {
    margin-bottom: 0;
}


.advertising {
    position: relative;
}

/* AD BANNER */
.advertising .ad-banner {
    box-sizing: border-box;
    width: 100%;
    height: 625px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    background: #1058CC;
    background-image: url("../img/news_ad.min.webp");
    background-size: cover;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.advertising .ad-banner h2,
.advertising .ad-banner h3 {
    margin-top: auto;
    font-weight: 400;
    font-style: Regular;
    font-size: 28px;
    line-height: 150%;
    color: #FFFFFF;
}

.advertising .ad-banner p {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 130%;
    color: #FFFFFF;
    margin-top: 20px;
}

.advertising .ad-banner a {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    height: 80px;
    border-radius: 20px;
    background: #FFFFFF;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
    color: #1E55A8;
    margin-top: 20px;
    text-decoration: none;
}

.content .banner {
    margin-top: 60px;
}

.content .banner h2 {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.read_more {
    margin-top: 60px;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 48px;
    line-height: 100%;
    color: #1E55A8;
}

/* SEO Enhancement: Better link styling for accessibility */


.news_card a:hover h2,
.news_card a:hover h3 {
    color: #1E55A8;
    text-decoration: underline;
}

.news_card a:focus {
    outline: 2px solid #1E55A8;
    outline-offset: 4px;
    border-radius: 15px;
}

/* SEO Enhancement: Related articles h3 styling */
.news_card h3 {
    font-weight: 500;
    font-style: Medium;
    font-size: 24px;
    line-height: 130%;
    color: #151419;
}

@media screen and (max-width:1900px) {
    .content_row {
        gap: 40px;
    }

    .container.breadcrumbs {
        width: 1230px;
    }

    .news_content {
        width: 740px;
    }

    .advertising {
        width: 443px;
        margin-top: 60px;
    }

    .head_row {
        display: flex;
        margin-top: 60px;
    }

    .head_row .themes {
        gap: 5px;
    }

    .head_row .themes li {
        margin-bottom: 20px;
    }

    .head_row .themes a {
        height: 45px;
        padding: 16px 25px 14px 25px;
        font-size: 16px;
    }

    .head_row .publication_date {
        font-size: 12px;
    }

    .news_content h1 {
        font-size: 38px;
        margin-bottom: 24px;
    }

    .head_row .article-toc {
        margin-bottom: 40px;
    }

    #toc-title {
        font-size: 20px;
    }

    .news_head .article-toc ul,
    .news_head .article-toc ol {
        margin-top: 25px;
        margin-bottom: 40px;
    }

    .news_head .article-toc li {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .news_content .content {
        margin: 0;
        padding: 0;
    }

    .news_content .content figure {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .news_content .content img {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .news_content .content figure img {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .news_content .content p {
        margin-bottom: 30px;
        font-size: 16px;
    }

    .news_content .content h2 {
        font-size: 32px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .news_content .content h3 {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .news_content .content ul {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .news_content .content ul ul {
        padding-left: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .news_content .content li {
        font-size: 16px;
    }

    .news_content .content aside {
        background: #E7EEFA;
        padding: 30px;
        border-radius: 15px;
    }

    /* AD BANNER */
    .advertising .ad-banner {
        box-sizing: border-box;
        width: 100%;
        height: 605px;
        border-radius: 25px;
        padding: 20px;
    }

    .advertising .ad-banner h2,
    .advertising .ad-banner h3 {
        font-size: 24px;
        max-width: 100%;
        width: 403px;
    }

    .advertising .ad-banner p {
        max-width: 100%;
        font-size: 16px;
        margin-top: 20px;
    }

    .advertising .ad-banner a {
        width: 100%;
        height: 80px;
        border-radius: 20px;
        font-size: 16px;
        margin-top: 20px;
    }

    .read_more {
        margin-top: 60px;
        margin-bottom: 30px;
        font-size: 38px;
    }
}

@media screen and (max-width:1400px) {
    .content_row {
        gap: 40px;
    }

    .container.breadcrumbs {
        width: 730px;
    }

    .news_content {
        width: 730px;
        margin-right: auto;
    }

    .head_row {
        margin-top: 40px;
    }

    .head_row .themes li {
        margin-bottom: 20px;
    }

    .head_row .themes a {
        height: 45px;
        padding: 16px 25px 14px 25px;
        font-size: 12px;
    }

    .head_row .publication_date {
        font-size: 12px;
    }

    .news_content h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .head_row .article-toc {
        margin-bottom: 30px;
    }

    #toc-title {
        font-size: 20px;
    }

    .news_head .article-toc ul,
    .news_head .article-toc ol {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .news_head .article-toc li {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .news_content .content {
        margin: 0;
        padding: 0;
    }

    .news_content .content figure {
        margin: 0;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .news_content .content img {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .news_content .content figure img {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .news_content .content p {
        margin-bottom: 30px;
        font-size: 16px;
    }

    .news_content .content h2 {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .news_content .content h3 {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .news_content .content ul {
        margin-top: 30px;
        margin-bottom: 30px;
        padding-left: 30px;
    }

    .news_content .content li {
        font-size: 16px;
    }

    .news_content .content aside {
        background: #E7EEFA;
        padding: 30px;
        border-radius: 15px;
    }

    .news_content.content .banner {
        box-sizing: border-box;
        max-width: 100%;
    }

    /* AD BANNER */
    .advertising {
        display: none;
    }

    .content .banner {
        margin-top: 40px;
    }
}

@media screen and (max-width:768px) {
    .container.breadcrumbs {
        width: 305px;
        flex-wrap: wrap;
    }

    .news_content {
        width: 305px;
        margin-right: auto;
    }

    .head_row {
        margin-top: 20px;
    }

    .head_row .themes {
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .head_row .themes li {
        margin-bottom: 0px;
        flex-shrink: 0;
    }

    .head_row .themes a {
        height: auto;
        padding: 15px;
        font-size: 12px;
    }

    .head_row .publication_date {
        font-size: 12px;
        flex-shrink: 0;
    }

    .news_content h1 {
        font-size: 28px;
        margin-bottom: 32px;
        line-height: 115%;
    }

    .head_row .article-toc {
        margin-bottom: 30px;
    }

    #toc-title {
        font-size: 16px;
    }

    .news_head .article-toc ul,
    .news_head .article-toc ol {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .news_head .article-toc li {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .news_content .content {
        margin: 0;
        padding: 0;
    }

    .news_content .content img {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .news_content .content figure {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .news_content .content figure img {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .news_content .content p {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .news_content .content h2 {
        font-size: 26px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .news_content .content h3 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .news_content .content ul {
        margin-top: 20px;
        margin-bottom: 20px;
        padding-left: 20px;
    }

    .news_content .content ul ul {
        padding-left: 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .news_content .content li {
        font-size: 16px;
    }

    .news_content .content aside {
        background: #E7EEFA;
        padding: 30px;
        border-radius: 15px;
    }

    .news_content .author {
        font-size: 10px;
        margin-top: 20px;
    }

    .news_content.content .banner {
        box-sizing: border-box;
        max-width: 100%;
    }

    /* AD BANNER */
    .advertising {
        display: none;
    }

    .content .banner {
        margin-top: 20px;
    }

    .read_more {
        margin-top: 40px;
        margin-bottom: 20px;
        font-size: 28px;
    }

    .news_card h3 {
        font-size: 20px;
    }
}

/* ===== ТАБЛИЦЫ ===== */
.news_content .content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 20px;
    color: #464253;
    border-radius: 15px;
    overflow: hidden;
    /* чтобы border-radius работал */
}

.news_content .content thead {
    background-color: #1E55A8;
    color: #FFFFFF;
}

.news_content .content thead th {
    padding: 16px 20px;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    text-align: left;
}

.news_content .content tbody tr {
    border-bottom: 1px solid #B8B4C9;
}

.news_content .content tbody tr:nth-child(even) {
    background-color: #E7EEFA;
}

.news_content .content tbody tr:last-child {
    border-bottom: none;
}

.news_content .content td {
    padding: 16px 20px;
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    vertical-align: top;
}

/* ===== МЕДИА: 1900px ===== */
@media screen and (max-width: 1900px) {
    .news_content .content table {
        font-size: 16px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .news_content .content thead th {
        font-size: 16px;
        padding: 14px 18px;
    }

    .news_content .content td {
        font-size: 16px;
        padding: 14px 18px;
    }
}

/* ===== МЕДИА: 1400px — прячем рекламу, контент на всю ширину ===== */
@media screen and (max-width: 1400px) {
    .news_content .content table {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

/* ===== МЕДИА: 768px ===== */
@media screen and (max-width: 768px) {

    /* Горизонтальный скролл на мобиле */
    .news_content .content .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 15px;
    }

    .news_content .content table {
        min-width: 480px;
        /* таблица не схлопывается */
        font-size: 14px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .news_content .content thead th {
        font-size: 14px;
        padding: 12px 14px;
    }

    .news_content .content td {
        font-size: 14px;
        padding: 12px 14px;
    }
}


#footer .row.wrapper {
    justify-content: space-between;
}

#footer .column {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

#footer a {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #FFFFFF;
    display: block;
}

#footer .column .mainlink {
    margin-bottom: 15px;
    margin-top: 20px;
}

#footer .column.left {
    gap: 0;
}

#footer .mail {
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    margin: 30px 0;
}

#footer .desc {
    margin: 0;
}

#footer .column .link {
    font-size: 14px;
}

#footer .button {
    display: flex;
    border: 1px solid #FFFFFF;
    width: 275px;
    height: 63px;
    top: 140px;
    border-radius: 15px;
    letter-spacing: 2%;
    color: #FFFFFF;
}

#footer .button.white {
    background-color: #FFFFFF;
    color: #1E55A8;
}

#footer .sublink {
    color: #6A85B1;
    font-size: 16px;
}

#footer .left .bottom {
    gap: 10px;
}

#footer {
    background-image: url('../img/footer_bg.min.webp');
    background-color: #124499;
    background-size: cover;
    padding: 60px;
    margin-top: 10px;
    color: #ffffff;
    border-radius: 25px;
    margin-bottom: 10px;
}

#footer .logo {
    justify-content: left;
    gap: 25px;
    align-items: center;
    margin-bottom: 20px;
}

#footer .logo h2 {

    font-weight: 500;
    font-size: 40.2px;
    line-height: 130%;
    margin: 0;
}

@media screen and (max-width:1900px) {
    #footer {
        background-size: cover;
        padding: 50px;
        margin-top: 10px;
        border-radius: 25px;
    }

    #footer .logo {
        gap: 20px;
        margin-bottom: 20px;
    }

    #footer .logo h2 {
        font-size: 32px;
    }

}

@media screen and (max-width:1400px) {
    #footer {
        background-size: fill;
        padding: 30px;
        margin-top: 10px;
        border-radius: 25px;
    }

    #footer .row.wrapper {
        flex-wrap: wrap;
        position: relative;
    }

    #footer .column.left {
        width: 100%;
        margin-bottom: 0px;
    }

    #footer .logo {
        gap: 20px;
        margin-bottom: 20px;
    }

    #footer .logo h2 {
        font-size: 32px;
    }

    #footer .column.buttons {
        position: absolute;
        right: 0;
    }
}

@media screen and (max-width:768px) {
    #footer {
        background-size: fill;
        width: 310px;
        padding: 30px 15px;
        margin-top: 5px;
        border-radius: 25px;
    }

    #footer {
        font-size: 12px;
    }

    #footer .row.wrapper {
        flex-direction: column;
        gap: 30px;
    }

    #footer .logo {
        gap: 20px;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        width: 220px;
    }

    #footer .logo img {
        width: 64px;
    }

    #footer .logo h2 {
        font-size: 32px;
    }

    #footer .column {
        gap: 10px;
    }

    #footer .column.buttons {
        position: static;
        right: 0;
        display: flex;
        align-items: center;
    }

    #footer .desc {
        text-align: center;
        font-size: 14px;
    }

    #footer .desc br {
        display: none;
    }

    #footer .mail {
        font-size: 18px;
        margin: 25px 0 30px 0;
        text-align: center;
    }

    #footer a {
        text-align: center;
    }

    #footer .sublink {
        text-align: center;
        font-size: 10px;
        line-height: 100%;
    }

    #footer .column .mainlink {
        font-size: 16px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    #footer .left .bottom {
        gap: 10px;
        margin-bottom: 10px;
    }

    #footer .column .link {
        font-size: 12px;
    }

    #footer .button {
        width: 70%;
        font-size: 12px;
        height: 45px;
    }
}