@font-face {
    font-family: 'IBM Plex';
    src: url('/local/templates/blog.nikovit.ru/fonts/IBM_Plex_Sans/IBMPlexSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrainsMono-Medium';
    src: url('/local/templates/blog.nikovit.ru/fonts/JetBrainsMono/JetBrainsMono-Medium.ttf') format('truetype');
    font-weight: 300 800;
    font-style: normal;
    font-stretch: 75% 125%;
    font-display: swap;
}

body {
    font-family: 'IBM Plex', sans-serif;
    background-color: #F4F2ED;
    overflow-x: hidden;
}

code {
    color: #288B57;
    font-family: 'JetBrainsMono-Medium', monospace;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

.title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.header {
    background-color: #FCFBF8;
    padding: 20px;
    border: #D6D6CF solid 1px;
    border-radius: 20px;
    margin-top: 28px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(360px, auto);
    align-items: center;
    gap: 14px;
}

.header__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__title {
    max-height: 420px;
    overflow: hidden;
}

.header-blog-name {
    font-size: 18px;
    font-weight: bold;
}

.header-blog-subtitle {
    font-family: 'JetBrainsMono-Medium', sans-serif;
    font-size: 11px;
    color: #6B737D;
    text-transform: uppercase;
}

.header-menu-wrap {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}

.header-main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.header-main-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.header-main-menu li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-main-menu li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    text-decoration: none;
    color: #1C1F24;
    background-color: #F4F2ED;
    border: #D6D6CF solid 1px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.header-main-menu li a:hover,
.header-main-menu li a:focus-visible {
    color: #288B57;
    background-color: #FFFFFF;
    border-color: rgba(40, 139, 87, .45);
}

.header-search {
    display: flex;
    align-items: center;
    width: min(30vw, 280px);
    min-height: 40px;
    overflow: hidden;
    background-color: #F4F2ED;
    border: #D6D6CF solid 1px;
    border-radius: 999px;
}

.header-search:focus-within {
    border-color: rgba(40, 139, 87, .58);
    box-shadow: 0 0 0 3px rgba(40, 139, 87, .12);
}

.header-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.header-search__input {
    min-width: 0;
    width: 100%;
    height: 38px;
    padding: 0 6px 0 14px;
    color: #1C1F24;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
}

.header-search__input::placeholder {
    color: #6B737D;
}

.header-search__button {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 38px;
    padding: 0;
    color: #1C1F24;
    background: transparent;
    border: 0;
}

.header-search__button:hover {
    color: #288B57;
}

.header-search__button svg {
    fill: currentColor;
}

.post-item__link {
    display: inline-block;
}

.post-item__link a {
    text-decoration: none;
    color: #288B57;
    font-size: 14px;
    font-weight: 600;
}

.breadcrumbs {
    margin-top: 15px;
    color: #6B737D;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 12px;
    line-height: 1.35;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    list-style: none;
}

.breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin-left: 6px;
    color: #8F9AA3;
}

.breadcrumbs__link {
    color: #6B737D;
    text-decoration: none;
}

.breadcrumbs__link:hover {
    color: #288B57;
}

.breadcrumbs__link--current {
    color: #1C1F24;
    pointer-events: none;
}

.home-intro {
    margin-top: 40px;
    padding-bottom: 24px;
    border-bottom: #D6D6CF solid 1px;
}

.home-intro__title {
    max-width: 760px;
    margin: 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
}

.home-intro__text {
    max-width: 680px;
    margin-top: 12px;
    color: #1C1F24;
    font-size: 14px;
    line-height: 1.55;
}

.section-hub {
    margin-top: 15px;
    padding-bottom: 28px;
    border-bottom: #D6D6CF solid 1px;
}

.section-hub__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.section-hub__icon {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 50%;
}

.section-hub__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-hub__heading {
    min-width: 0;
}

.section-hub__title {
    max-width: 780px;
    margin: 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
}

.section-hub__lead {
    max-width: 680px;
    margin-top: 12px;
    color: #1C1F24;
    font-size: 14px;
    line-height: 1.55;
}

.section-hub__intents {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.section-hub__intent {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 14px;
    color: #1C1F24;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 8px;
    text-decoration: none;
}

.section-hub__intent:hover {
    border-color: #288B57;
}

.section-hub__intent-title {
    color: #288B57;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.section-hub__intent-text {
    color: #6B737D;
    font-size: 13px;
    line-height: 1.45;
}

.post-item-footer {
    margin-top: 16px;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.post-item {
    padding-bottom: 24px;
    border-bottom: #D6D6CF solid 1px;
}

.post-item__section {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #6B737D;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.post-item__section:hover {
    color: #288B57;
}

.post-item__section-icon {
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    overflow: hidden;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 50%;
}

.post-item__section-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item__section-name {
    min-width: 0;
}

.post-item__picture {
    margin-top: 16px;
    display: block;
    margin-bottom: 16px;
    text-align: center;
}

.post-item__picture img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.news-detail__image-link {
    display: inline-block;
    cursor: zoom-in;
}

.news-detail__content .news-detail__image-link {
    max-width: 100%;
}

.post-item__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.post-item__title a {
    color: #1C1F24;
    text-decoration: none;
}

.post-item__title a:hover {
    color: #288B57;
}

.post-item__preview {
    margin-top: 12px;
    color: #1C1F24;
    font-size: 16px;
    line-height: 1.5;
}

.post-item__preview,
.post-item__title,
.breadcrumbs__link,
.section-hub__title,
.section-hub__lead,
.section-hub__intent-title,
.section-hub__intent-text,
.section-main__name,
.main-reading-item-title,
.related-posts__card-title,
.about-hero__title,
.about-hero__lead,
.about-topic,
.about-principle,
.site-footer {
    overflow-wrap: anywhere;
}

.section-main {
    margin-top: 40px;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 24px;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
}

@media (min-width: 992px) {
    .section-main {
        position: sticky;
        top: 20px;
    }
}

.section-main__list {
    margin-top: 16px;
}

.section-main__list nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-main__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1C1F24;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.section-main__item:hover {
    color: #288B57;
}

.section-main__icon {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    overflow: hidden;
    background-color: #F4F2ED;
    border: #D6D6CF solid 1px;
    border-radius: 50%;
}

.section-main__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-main__name {
    min-width: 0;
}

.main-telegram {
    margin-top: 20px;
    background-color: #1C1F24;
    border-radius: 24px;
    padding: 20px;
    color: #CFD6DB;
}

.main-telegram-title {
    color: #FCFCF7;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.main-telegram-title:before {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    background-image: url("/local/templates/blog.nikovit.ru/images/telegram-channel.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: center;
    margin-right: 5px;
}

.main-telegram-cta {
    background-color: #FAD47A;
    border-radius: 14px;
    color: #1C1F24;
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 16px;
}

.main-reading-now {
    margin-top: 40px;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 24px;
    padding: 20px;
}

.main-reading-title {
    font-size: 18px;
    font-weight: bold;
}

.main-reading-item {
    padding: 12px 0;
    border-bottom: #D6D6CF solid 1px;
}

.main-reading-item a {
    color: #1C1F24;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.main-reading-item:last-child {
    border-bottom: none;
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding: 20px;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 24px;
}

.article-author__content {
    min-width: 0;
}

.article-author__eyebrow,
.article-author__updated {
    color: #6B737D;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
}

.article-author__name {
    margin-top: 6px;
    color: #1C1F24;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.article-author__description {
    margin-top: 8px;
    color: #1C1F24;
    font-size: 15px;
    line-height: 1.45;
}

.article-author__updated {
    margin-top: 10px;
}

.article-author__link {
    flex: 0 0 auto;
    color: #1C1F24;
    background-color: #FAD47A;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.article-author__link:hover {
    color: #1C1F24;
    background-color: #f2c75f;
}

.article-services {
    margin-top: 36px;
}

.article-services__header {
    margin-bottom: 18px;
}

.article-services__title {
    margin: 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.article-services__subtitle {
    max-width: 560px;
    margin-top: 6px;
    color: #6B737D;
    font-size: 15px;
    line-height: 1.45;
}

.article-services__grid {
    display: grid;
    gap: 16px;
}

.article-services__grid--count-1 {
    grid-template-columns: minmax(0, 1fr);
}

.article-services__grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-services__grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-services__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 24px;
}

.article-services__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: #F4F2ED;
}

.article-services__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.article-services__card:hover .article-services__image img {
    transform: scale(1.03);
}

.article-services__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100%;
    padding: 16px;
}

.article-services__card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.article-services__card-title a {
    color: #1C1F24;
    text-decoration: none;
}

.article-services__card-title a:hover {
    color: #288B57;
}

.article-services__preview {
    margin-top: 10px;
    margin-bottom: 16px;
    color: #1C1F24;
    font-size: 14px;
    line-height: 1.45;
}

.article-services__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    padding: 9px 14px;
    color: #1C1F24;
    background-color: #F4D36D;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.article-services__link:hover {
    color: #1C1F24;
    background-color: #f2c75f;
}

.related-posts {
    margin-top: 40px;
    /*padding-top: 32px;*/
}

.related-posts__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.related-posts__title {
    margin: 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.related-posts__subtitle {
    max-width: 560px;
    margin-top: 6px;
    color: #6B737D;
    font-size: 15px;
    line-height: 1.45;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-posts__card {
    min-width: 0;
    overflow: hidden;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 24px;
}

.related-posts__image {
    display: flex;
    align-items: center; /* вертикаль */
    justify-content: center; /* горизонталь */
    width: 100%;
    height: 140px;
    overflow: hidden;
    background-color: #F4F2ED;
}

.related-posts__image img {
    max-width: 100%;
    max-height: 100%;
    text-align: center;
    vertical-align: middle;
    /*object-fit: cover;*/
    transition: transform .2s ease;
}

.related-posts__card:hover .related-posts__image img {
    transform: scale(1.03);
}

.related-posts__body {
    padding: 14px;
}

.related-posts__date {
    display: block;
    margin-bottom: 8px;
    color: #6B737D;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
}

.related-posts__card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.related-posts__card-title a {
    color: #1C1F24;
    text-decoration: none;
}

.related-posts__card-title a:hover {
    color: #288B57;
}

.related-posts__preview {
    margin-top: 10px;
    color: #1C1F24;
    font-size: 14px;
    line-height: 1.45;
}

.site-footer {
    margin-top: 56px;
    padding: 32px 0;
    color: #CFD6DB;
    background-color: #1C1F24;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr) minmax(180px, .6fr);
    gap: 28px;
    align-items: start;
    padding-bottom: 24px;
    border-bottom: rgba(207, 214, 219, .18) solid 1px;
}

.site-footer__brand {
    display: flex;
    gap: 14px;
    min-width: 0;
}

.site-footer__logo {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    background-color: #FCFBF8;
    border: rgba(207, 214, 219, .18) solid 1px;
    border-radius: 50%;
}

.site-footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer__brand-text {
    min-width: 0;
}

.site-footer__name {
    color: #FCFCF7;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.site-footer__description {
    max-width: 560px;
    margin-top: 8px;
    color: #CFD6DB;
    font-size: 15px;
    line-height: 1.5;
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__nav a,
.site-footer__telegram {
    width: fit-content;
    color: #FCFCF7;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__telegram:hover {
    color: #FAD47A;
}

.site-footer__contacts {
    min-width: 0;
}

.site-footer__eyebrow,
.site-footer__tags {
    color: #8F9AA3;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
}

.site-footer__telegram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.site-footer__telegram::after {
    content: "↗";
    font-size: 13px;
    line-height: 1;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    color: #8F9AA3;
    font-size: 14px;
}

.site-footer__credit {
    color: #8F9AA3;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

.site-footer__credit:hover {
    color: #FAD47A;
}

.cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(100%, 960px);
    padding: 18px;
    color: #CFD6DB;
    background-color: #1C1F24;
    border: rgba(207, 214, 219, .22) solid 1px;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(28, 31, 36, .22);
    pointer-events: auto;
}

.cookie-consent__title {
    color: #FCFCF7;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.cookie-consent__text {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-consent__text a {
    color: #FAD47A;
    font-weight: 700;
    text-decoration: none;
}

.cookie-consent__text a:hover {
    color: #FCFCF7;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-consent__button,
.privacy-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.cookie-consent__button--primary,
.privacy-reset {
    color: #1C1F24;
    background-color: #FAD47A;
    border: 0;
}

.cookie-consent__button--primary:hover,
.privacy-reset:hover {
    background-color: #f2c75f;
}

.cookie-consent__button--secondary {
    color: #FCFCF7;
    background-color: transparent;
    border: rgba(207, 214, 219, .26) solid 1px;
}

.cookie-consent__button--secondary:hover {
    border-color: #FAD47A;
}

.comment-consent-note {
    margin: 24px 0 18px;
    padding: 16px 18px;
    color: #1C1F24;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
}

.comment-consent-note a {
    color: #288B57;
    font-weight: 700;
    text-decoration: none;
}

.comment-consent-note a:hover {
    color: #1C1F24;
}

.privacy-page {
    margin-top: 40px;
}

.privacy-hero {
    padding: 32px;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 24px;
}

.privacy-hero__eyebrow {
    color: #6B737D;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.privacy-hero__title {
    max-width: 780px;
    margin: 8px 0 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.08;
}

.privacy-hero__lead {
    max-width: 760px;
    margin-top: 14px;
    color: #424A53;
    font-size: 18px;
    line-height: 1.55;
}

.privacy-section {
    max-width: 880px;
    margin-top: 28px;
    padding-bottom: 26px;
    border-bottom: #D6D6CF solid 1px;
}

.privacy-section h2 {
    margin: 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.privacy-section p {
    margin: 12px 0 0;
    color: #1C1F24;
    font-size: 17px;
    line-height: 1.6;
}

.privacy-section a {
    color: #288B57;
    font-weight: 700;
    text-decoration: none;
}

.privacy-section a:hover {
    color: #1C1F24;
}

.privacy-reset {
    margin-top: 16px;
}

@media (max-width: 991px) {
    .section-hub__intents {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-services__grid--count-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-posts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .home-intro {
        margin-top: 28px;
        padding-bottom: 20px;
    }

    .section-hub {
        margin-top: 28px;
        padding-bottom: 22px;
    }

    .section-hub__header {
        display: block;
    }

    .section-hub__icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .home-intro__title {
        font-size: 28px;
    }

    .section-hub__title {
        font-size: 28px;
    }

    .section-hub__lead {
        font-size: 14px;
    }

    .section-hub__intents {
        grid-template-columns: 1fr;
    }

    .home-intro__text {
        font-size: 14px;
    }

    .article-author {
        display: block;
        padding: 16px;
    }

    .article-author__link {
        display: inline-block;
        margin-top: 14px;
    }

    .article-services {
        margin-top: 32px;
    }

    .article-services__title {
        font-size: 24px;
    }

    .article-services__grid,
    .article-services__grid--count-2,
    .article-services__grid--count-3 {
        grid-template-columns: 1fr;
    }

    .article-services__image {
        height: 170px;
    }

    .related-posts {
        margin-top: 32px;
        padding-top: 24px;
    }

    .related-posts__header {
        display: block;
    }

    .related-posts__title {
        font-size: 24px;
    }

    .related-posts__grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        margin-top: 40px;
        padding: 28px 0;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .site-footer__brand {
        display: block;
    }

    .site-footer__logo {
        margin-bottom: 12px;
    }

    .site-footer__nav {
        gap: 12px;
    }

    .site-footer__bottom {
        display: block;
    }

    .site-footer__tags {
        margin-top: 8px;
    }
}

.about-page {
    margin-top: 40px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 28px;
    align-items: stretch;
    padding-bottom: 36px;
    border-bottom: #D6D6CF solid 1px;
}

.about-hero__content {
    min-width: 0;
}

.about-hero__eyebrow {
    color: #6B737D;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-hero__title {
    max-width: 720px;
    margin: 8px 0 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.08;
}

.about-hero__lead {
    max-width: 760px;
    margin-top: 18px;
    color: #1C1F24;
    font-size: 20px;
    line-height: 1.55;
}

.about-hero__actions,
.about-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.about-button--primary {
    color: #1C1F24;
    background-color: #FAD47A;
}

.about-button--primary:hover {
    color: #1C1F24;
    background-color: #f2c75f;
}

.about-button--secondary {
    color: #1C1F24;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
}

.about-button--secondary:hover {
    color: #288B57;
}

.not-found-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: stretch;
    margin-top: 56px;
    margin-bottom: 28px;
}

.not-found-page__content,
.not-found-page__panel {
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 24px;
}

.not-found-page__content {
    position: relative;
    min-height: 430px;
    padding: 42px;
    overflow: hidden;
}

.not-found-page__content::after {
    content: "404";
    position: absolute;
    right: 28px;
    bottom: -38px;
    z-index: 0;
    color: rgba(40, 139, 87, .1);
    font-family: 'Inter', sans-serif;
    font-size: 180px;
    font-weight: 800;
    line-height: .8;
    pointer-events: none;
}

.not-found-page__content > * {
    position: relative;
    z-index: 1;
}

.not-found-page__eyebrow {
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    color: #288B57;
    background-color: #EEF7F1;
    border: rgba(40, 139, 87, .22) solid 1px;
    border-radius: 999px;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

.not-found-page__title {
    max-width: 680px;
    margin: 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.05;
}

.not-found-page__text {
    max-width: 620px;
    margin: 18px 0 0;
    color: #424A53;
    font-size: 18px;
    line-height: 1.55;
}

.not-found-page__button {
    min-height: 48px;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
}

.not-found-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.not-found-page__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    text-decoration: none;
}

.not-found-page__button--primary {
    color: #1C1F24;
    background-color: #FAD47A;
}

.not-found-page__button--primary:hover {
    color: #1C1F24;
    background-color: #f2c75f;
}

.not-found-page__button--secondary {
    color: #1C1F24;
    background-color: #FFFFFF;
    border: #D6D6CF solid 1px;
}

.not-found-page__button--secondary:hover {
    color: #288B57;
}

.not-found-page__panel {
    padding: 26px;
}

.not-found-page__panel-title {
    margin-bottom: 18px;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.not-found-page__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.not-found-page__links a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    color: #1C1F24;
    background-color: #F4F2ED;
    border: #E1DED6 solid 1px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.not-found-page__links a:hover {
    color: #288B57;
    border-color: rgba(40, 139, 87, .32);
}

.site-search {
    margin-top: 40px;
}

.site-search__hero {
    padding: 32px;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 24px;
}

.site-search__eyebrow,
.site-search__label,
.site-search__meta,
.site-search__summary {
    color: #6B737D;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.site-search__title {
    max-width: 720px;
    margin: 8px 0 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.08;
}

.site-search__lead {
    max-width: 680px;
    margin: 14px 0 0;
    color: #424A53;
    font-size: 18px;
    line-height: 1.55;
}

.site-search__form {
    max-width: 780px;
    margin-top: 24px;
}

.site-search__label {
    display: block;
    margin-bottom: 8px;
}

.site-search__control {
    display: flex;
    gap: 10px;
}

.site-search__control input[type="text"],
.site-search__control input[type="search"] {
    min-width: 0;
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    color: #1C1F24;
    background-color: #FFFFFF;
    border: #D6D6CF solid 1px;
    border-radius: 8px;
    font: inherit;
    font-size: 16px;
    outline: 0;
}

.site-search__control input[type="text"]:focus,
.site-search__control input[type="search"]:focus {
    border-color: rgba(40, 139, 87, .58);
    box-shadow: 0 0 0 3px rgba(40, 139, 87, .12);
}

.site-search__submit {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0 22px;
    color: #1C1F24;
    background-color: #FAD47A;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
}

.site-search__submit:hover {
    background-color: #f2c75f;
}

.site-search__notice,
.site-search__empty,
.site-search__summary,
.site-search__pager {
    margin-top: 24px;
}

.site-search__notice,
.site-search__empty {
    padding: 20px;
    color: #1C1F24;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 8px;
}

.site-search__notice a,
.site-search__summary a,
.site-search__item-title a,
.site-search__meta a {
    color: #288B57;
    text-decoration: none;
}

.site-search__notice a:hover,
.site-search__summary a:hover,
.site-search__item-title a:hover,
.site-search__meta a:hover {
    color: #1C1F24;
}

.site-search__summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 18px;
    padding-bottom: 14px;
    border-bottom: #D6D6CF solid 1px;
}

.site-search__summary span {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-search__summary strong {
    color: #1C1F24;
}

.site-search__results {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-search__item {
    padding: 24px 0;
    border-bottom: #D6D6CF solid 1px;
}

.site-search__item-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.site-search__item-title a {
    color: #1C1F24;
}

.site-search__snippet {
    max-width: 820px;
    margin-top: 10px;
    color: #1C1F24;
    font-size: 16px;
    line-height: 1.55;
}

.site-search__snippet b,
.site-search__item-title b {
    color: #288B57;
    font-weight: 800;
}

.site-search__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
}

.site-search__empty-title {
    margin-bottom: 8px;
    color: #1C1F24;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.site-search__empty p {
    margin: 0;
}

.site-search__pager {
    color: #1C1F24;
}

.about-hero__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 22px;
    background-color: #1C1F24;
    border-radius: 8px;
}

.about-hero__metric {
    padding-bottom: 14px;
    border-bottom: rgba(207, 214, 219, .18) solid 1px;
}

.about-hero__metric:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.about-hero__metric span {
    display: block;
    color: #FAD47A;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-hero__metric strong {
    display: block;
    margin-top: 5px;
    color: #FCFCF7;
    font-size: 18px;
    line-height: 1.25;
}

.about-section {
    margin-top: 44px;
}

.about-section--intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 28px;
    align-items: start;
}

.about-section h2,
.about-contact h2 {
    margin: 0;
    color: #1C1F24;
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.about-section p,
.about-contact p {
    margin: 14px 0 0;
    color: #1C1F24;
    font-size: 17px;
    line-height: 1.6;
}

.about-note {
    padding: 20px;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 8px;
}

.about-note__title {
    color: #6B737D;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-note__text {
    margin-top: 10px;
    color: #1C1F24;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.about-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.about-topic {
    min-width: 0;
    padding: 20px;
    background-color: #FCFBF8;
    border: #D6D6CF solid 1px;
    border-radius: 8px;
}

.about-topic h3 {
    margin: 0;
    color: #1C1F24;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.about-topic p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.about-section--principles {
    padding-top: 36px;
    border-top: #D6D6CF solid 1px;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.about-principle {
    min-width: 0;
}

.about-principle span {
    display: block;
    color: #288B57;
    font-family: 'JetBrainsMono-Medium', monospace;
    font-size: 13px;
    line-height: 1.3;
}

.about-principle p {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.about-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 48px;
    padding: 24px;
    color: #CFD6DB;
    background-color: #1C1F24;
    border-radius: 8px;
}

.about-contact h2 {
    color: #FCFCF7;
}

.about-contact p {
    max-width: 720px;
    color: #CFD6DB;
}

.about-contact__actions {
    justify-content: flex-end;
    margin-top: 0;
}

.yandex-rbt {
    margin-top: 20px;
}

.col-lg-7 table {
    width: 100%;
    max-width: 100%;
}

.col-lg-7 pre {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 8px;
}

.col-lg-7 img {
    height: auto;
}

.col-lg-7 iframe {
    width: 100%;
    border: 0;
}

@media (max-width: 1199px) {
    .section-main__icon {
        display: none;
    }
}

@media (max-width: 991px) {
    header .container,
    body > .container,
    .site-footer .container {
        max-width: 100%;
    }

    .header {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        margin-top: 16px;
    }

    .header-main-menu {
        grid-column: 1 / -1;
        justify-content: space-between;
        gap: 8px;
        margin-top: 2px;
    }

    .header-search {
        width: min(48vw, 320px);
    }

    .section-main,
    .main-reading-now {
        margin-top: 24px;
    }

    .section-main {
        padding: 16px;
        border-radius: 16px;
    }

    .section-main__list {
        margin-top: 12px;
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .section-main__list nav {
        flex-direction: row;
        gap: 8px;
        min-width: max-content;
    }

    .section-main__item {
        flex: 0 0 auto;
        gap: 8px;
        padding: 8px 10px;
        background-color: #F4F2ED;
        border: #D6D6CF solid 1px;
        border-radius: 999px;
        font-size: 15px;
        white-space: nowrap;
    }

    .section-main__icon {
        display: flex;
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        border-color: transparent;
    }

    .home-intro,
    .post-list,
    .main-reading-now,
    .main-telegram {
        margin-top: 28px;
    }

    .breadcrumbs {
        margin-top: 18px;
    }

    .main-reading-now,
    .main-telegram {
        border-radius: 18px;
        padding: 18px;
    }

    .main-telegram-cta {
        border-radius: 8px;
        font-size: 16px;
    }

    .related-posts__image {
        height: 180px;
    }
}

@media (max-width: 991px) {
    .not-found-page {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .not-found-page__content {
        min-height: 360px;
    }

    .about-hero,
    .about-section--intro,
    .about-contact {
        grid-template-columns: 1fr;
    }

    .about-contact__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .col-lg-7 table {
        display: block;
        overflow-x: auto;
    }

    .not-found-page__content,
    .not-found-page__panel {
        border-radius: 18px;
    }

    .not-found-page__content {
        padding: 28px;
    }

    .not-found-page__content::after {
        right: 16px;
        bottom: -24px;
        font-size: 128px;
    }

    .not-found-page__title {
        font-size: 40px;
    }

    .not-found-page__text {
        font-size: 16px;
    }

    .header {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 16px;
        border-radius: 16px;
    }

    .header__logo {
        width: 44px;
        height: 44px;
    }

    .header-main-menu {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 4px;
    }

    .header-search {
        order: 2;
        width: 100%;
    }

    .header-main-menu nav {
        order: 1;
        width: 100%;
    }

    .header-main-menu ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: flex-start;
        width: 100%;
    }

    .header-main-menu li a {
        width: 100%;
        min-height: 38px;
        padding: 9px 12px;
    }

    .header-blog-name {
        font-size: 17px;
        line-height: 1.2;
    }

    .header-blog-subtitle {
        margin-top: 3px;
        font-size: 10px;
        line-height: 1.35;
    }

    .home-intro__title {
        font-size: 30px;
    }

    .post-list {
        gap: 20px;
    }

    .post-item {
        padding-bottom: 20px;
    }

    .post-item__title {
        font-size: 24px;
    }

    .post-item__preview {
        font-size: 15px;
    }

    .main-reading-title,
    .section-main__title {
        font-size: 17px;
    }

    .main-telegram-title {
        font-size: 22px;
    }

    .site-footer__bottom {
        display: grid;
        gap: 8px;
    }

    .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .cookie-consent__inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        border-radius: 12px;
    }

    .cookie-consent__actions {
        justify-content: flex-start;
    }

    .privacy-page {
        margin-top: 28px;
    }

    .privacy-hero {
        padding: 24px;
        border-radius: 18px;
    }

    .privacy-hero__title {
        font-size: 36px;
    }

    .privacy-hero__lead {
        font-size: 16px;
    }

    .privacy-section h2 {
        font-size: 24px;
    }

    .site-search {
        margin-top: 28px;
    }

    .site-search__hero {
        padding: 24px;
        border-radius: 18px;
    }

    .site-search__title {
        font-size: 36px;
    }

    .site-search__lead {
        font-size: 16px;
    }

    .site-search__control {
        display: block;
    }

    .site-search__submit {
        width: 100%;
        margin-top: 10px;
    }

    .site-search__item-title {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 16px;
    }

    .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .header {
        margin-top: 12px;
        padding: 14px;
    }

    .about-page {
        margin-top: 28px;
    }

    .not-found-page {
        gap: 18px;
        margin-top: 28px;
    }

    .not-found-page__content {
        min-height: 0;
        padding: 22px;
    }

    .not-found-page__title {
        font-size: 34px;
    }

    .not-found-page__panel {
        padding: 20px;
    }

    .section-main,
    .main-reading-now,
    .main-telegram,
    .article-author,
    .article-services__card,
    .related-posts__card {
        border-radius: 14px;
    }

    .section-main__item {
        font-size: 14px;
    }

    .home-intro__title {
        font-size: 26px;
        line-height: 1.18;
    }

    .post-item__picture img {
        border-radius: 8px;
    }

    .post-item__title {
        font-size: 22px;
    }

    .post-item__section {
        font-size: 13px;
    }

    .main-telegram-cta {
        width: 100%;
        text-align: center;
    }

    .related-posts__image {
        height: 160px;
    }

    .about-hero {
        gap: 20px;
        padding-bottom: 28px;
    }

    .about-hero__title {
        font-size: 36px;
    }

    .about-hero__lead {
        font-size: 18px;
    }

    .about-hero__panel,
    .about-note,
    .about-topic,
    .about-contact {
        padding: 18px;
    }

    .about-section {
        margin-top: 34px;
    }

    .about-section h2,
    .about-contact h2 {
        font-size: 26px;
    }

    .about-topics,
    .about-principles {
        grid-template-columns: 1fr;
    }

    .about-button {
        width: 100%;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-consent__button {
        width: 100%;
    }

    .privacy-hero {
        padding: 20px;
        border-radius: 14px;
    }

    .privacy-hero__title {
        font-size: 32px;
    }

    .privacy-section p {
        font-size: 16px;
    }

    .site-search__hero {
        padding: 20px;
        border-radius: 14px;
    }

    .site-search__title {
        font-size: 32px;
    }

    .site-search__item {
        padding: 20px 0;
    }
}

@media (max-width: 380px) {
    .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .header {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 12px;
    }

    .header__logo {
        width: 40px;
        height: 40px;
    }

    .header-blog-name {
        font-size: 16px;
    }

    .home-intro__title {
        font-size: 24px;
    }

    .post-item__title {
        font-size: 20px;
    }

    .about-hero__title {
        font-size: 32px;
    }
}
