.blog-detail a[name],
.blog-detail h2,
.blog-detail .blog-anchor {
    scroll-margin-top: 100px;
}

.blog-anchor {
    display: block;
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
}

.org-meta-hidden {
    display: none !important;
}

body:has(.blog-detail) .bx-breadcrumb {
    display: none;
}

.blog .blog-detail,
.blog-detail {
    background: #fff;
    color: #101920;
    padding-bottom: 0;
    overflow-x: visible;
}

.blog.edition:has(.blog-detail) {
    background: #fff;
    padding-top: 0;
}

.blog-detail__container {
    max-width: 1088px;
    padding-top: 24px;
    padding-bottom: 48px;
    overflow-x: visible !important;
}

.blog-detail__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.blog-detail__breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
}

.blog-detail__breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: #a6a9aa;
}

.blog-detail__breadcrumb a {
    color: #a6a9aa;
    text-decoration: none;
}

.blog-detail__breadcrumb li:last-child a,
.blog-detail__breadcrumb li:last-child a span {
    color: #6abcf3;
}

.blog-detail__title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #101920;
}

.blog-detail__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
}

.blog-detail__date {
    color: #6c6c6c;
}

.blog-detail__tag {
    color: #106cbc;
    text-decoration: none;
    font-weight: 500;
}

.blog-detail__tag:hover {
    text-decoration: underline;
}

.blog-detail__body {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
    color: #101920;
    overflow-x: visible;
}

.blog-detail__body h2 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 2rem;
    line-height: 110%;
    color: #101920;
}

.blog-detail__body h3 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 110%;
    color: #101920;
}

.blog-detail__body h4 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 1.375rem;
    line-height: 110%;
    color: #101920;
}

.blog-detail__body p {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
    margin: 0 0 28px;
}

.blog-detail__body li p {
    margin: 0;
}

.blog-detail__body img {
    display: block;
    margin: 0 auto;
}

.blog-detail__body p[style*="text-align: center"] em,
.blog-detail__body .blog-detail__image-caption,
.blog-detail__body .img-caption {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #6b6b6b;
    text-align: center;
    font-style: italic;
}

.blog-detail__body a {
    color: #39b4e7;
}

.blog-detail__body .full-bleed-gray {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #f6f6f6;
    padding: 40px max(16px, calc((100vw - 1088px) / 2));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.blog-detail__body .full-bleed-gray .fancybox {
    display: inline-block;
    max-width: 100%;
}

.blog-detail__body .blog-detail__image-caption {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #6c6c6c;
    text-align: center;
}

.blog-detail__copyright {
    margin: 32px 0 0;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #6c6c6c;
}

.blog-detail__author {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.blog-detail__author-title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: #101920;
}

.blog-detail__author-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-detail__author-photo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
}

.blog-detail__author-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail__author-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.blog-detail__author-name {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.1;
    color: #101920;
}

.blog-detail__author-role {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.1;
    color: #8f8f8f;
}

.blog-detail__subscribe {
    margin-top: 24px;
}

.blog-detail__subscribe .sendpuls-subscribe {
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 96px 64px;
    background: #106cbc;
}

.blog-detail__subscribe .sendpuls-subscribe__inner {
    max-width: 1088px;
    margin: 0 auto;
    width: 100%;
}

.blog-detail__read-also {
    padding: 32px 0 48px;
}

.blog-detail__body .neighbour_block {
    display: flex;
    margin: 32px 0;
    width: 100%;
    padding: 15px;
    border: 2px solid #cdcdcd;
}

.blog-detail__body .neighbour_block .picture {
    flex: 0 0 240px;
    max-width: 240px;
    height: 180px;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
}

.blog-detail__body .neighbour_block .picture img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.blog-detail__body .neighbour_block .text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
    padding: 25px 15px 0 40px;
    position: relative;
}

.blog-detail__body .neighbour_block .text .head {
    font-size: 22px;
    font-weight: bold;
    padding: 10px 20px;
    background-color: #0072c7;
    margin-bottom: 20px;
    align-self: flex-start;
    color: #fff;
}

.blog-detail__body .neighbour_block .text .title {
    color: #000;
    font-size: 24px;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 20px;
    border-bottom: none;
    text-decoration: none;
}

.blog-detail__body .neighbour_block .text .title span {
    border-bottom: 1px solid #000;
}

.blog-detail__body .neighbour_block .text .title:hover span {
    border-bottom-color: transparent;
}

.blog-detail__body .neighbour_block_two {
    display: flex;
    margin: 32px 0;
    width: 100%;
    padding: 15px 35px;
    background: #eef2ff;
    flex-direction: row-reverse;
    align-items: center;
}

.blog-detail__body .neighbour_block_two .picture {
    flex: 1 0 100px;
    height: 146px;
}

.blog-detail__body .neighbour_block_two .picture img {
    height: 100%;
    object-fit: contain;
}

.blog-detail__body .neighbour_block_two .text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
    padding-top: 12px;
    position: relative;
}

.blog-detail__body .neighbour_block_two .text .head {
    font-weight: bold;
    padding: 10px 20px;
    align-self: flex-start;
    color: #000;
    font-size: 28px;
    line-height: 24px;
}

.blog-detail__body .neighbour_block_two .text .title {
    color: #000;
    font-size: 20px;
    line-height: 28px;
    border-bottom: none;
    padding: 10px 20px;
}

.blog-detail__body .neighbour_block_two .text .descr {
    color: #000;
    margin-left: 20px;
    margin-bottom: 10px;
}

.blog-detail__body .neighbour_block_two .text .btn {
    max-width: 162px;
    border-radius: 0;
    background: #105a98;
    color: #fff;
    margin-left: 20px;
    margin-top: 10px;
    text-transform: none;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: normal;
    display: inline-block;
    padding: 8px 20px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .blog-detail__container {
        padding-top: 16px;
        padding-bottom: 32px;
    }

    .blog-detail__header {
        gap: 16px;
        margin-bottom: 24px;
    }

    .blog-detail__title {
        font-size: 22px;
        line-height: 28px;
    }

    .blog-detail__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .blog-detail__body {
        font-size: 1rem;
    }

    .blog-detail__body h3 {
        margin: 40px 0 16px;
        font-size: 1.375rem;
    }

    .blog-detail__body h2 {
        margin: 40px 0 16px !important;
        font-size: 1.575rem !important;
        font-weight: 500 !important;
    }

    .blog-detail__body h4 {
        margin: 32px 0 16px;
        font-size: 1.25rem;
    }

    .blog-detail__body p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .blog-detail__body p[style*="text-align: center"] em,
    .blog-detail__body .blog-detail__image-caption,
    .blog-detail__body .img-caption {
        font-size: 0.875rem;
    }

    .blog-detail__body .full-bleed-gray {
        padding: 40px 16px;
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .blog-detail__body .neighbour_block {
        flex-direction: column;
    }

    .blog-detail__body .neighbour_block .picture {
        display: block;
        margin-bottom: 20px;
        flex: unset;
        height: auto;
        min-width: unset;
    }

    .blog-detail__body .neighbour_block .picture img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .blog-detail__body .neighbour_block .text {
        padding: 0;
        align-items: baseline;
    }

    .blog-detail__body .neighbour_block .text .head {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .blog-detail__body .neighbour_block .text .title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .blog-detail__body .neighbour_block_two {
        flex-direction: column;
        padding: 15px;
    }

    .blog-detail__copyright {
        margin-top: 24px;
        font-size: 16px;
    }

    .blog-detail__author-photo {
        width: 48px;
        height: 48px;
    }

    .blog-detail__author-name {
        font-size: 16px;
    }

    .blog-detail__author-role {
        font-size: 14px;
    }

    .blog-detail__subscribe {
        margin-top: 24px;
    }

    .blog-detail__subscribe .sendpuls-subscribe {
        padding: 40px 16px;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .blog-detail__read-also {
        padding: 24px 0 32px;
    }
}

/* blockquote — цитата с фото (без bootstrap) */
.blog-detail__body blockquote {
    margin: 20px 0 20px;
    padding: 33px 30px;
    background: rgba(0, 0, 0, 0.05);
    border: 0;
    text-align: left;
    position: relative;
    font-size: 1.125rem;
    line-height: 150%;
    color: #616161;
    font-style: italic;
}

.blog-detail__body blockquote .row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin: 0;
}

.blog-detail__body blockquote .col-md-3,
.blog-detail__body blockquote .col-md-9 {
    float: none;
    width: auto;
    max-width: none;
    padding: 0;
}

.blog-detail__body blockquote .col-md-3 {
    flex: 0 0 200px;
    max-width: 200px;
}

.blog-detail__body blockquote .col-md-9 {
    flex: 1 1 0;
    min-width: 0;
    font-family: Georgia, sans-serif;
    font-style: italic;
    color: #616161;
}

.blog-detail__body blockquote img {
    display: block;
    width: 200px !important;
    height: 200px !important;
    max-width: 100% !important;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    float: none;
}

.blog-detail__body blockquote p {
    margin: 0 0 20px;
    font-size: 1rem !important;
    line-height: 1.5;
    color: #616161 !important;
    font-style: italic;
    font-family: Georgia, sans-serif;
}

.blog-detail__body blockquote p:last-child {
    margin-bottom: 0;
}

.blog-detail__body blockquote p.titl {
    margin: 0 0 8px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #101920 !important;
}

@media (max-width: 767px) {
    .blog-detail__body blockquote {
        padding: 24px 16px;
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .blog-detail__body blockquote .row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .blog-detail__body blockquote .col-md-3 {
        flex: 0 0 auto;
        max-width: 160px;
    }

    .blog-detail__body blockquote img {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto;
    }

    .blog-detail__body blockquote .col-md-9 {
        width: 100%;
        text-align: left;
    }

    .blog-detail__body blockquote p {
        font-size: 1rem !important;
    }
}

iframe {
    margin: 0 auto;
    display: block;
}

.blog-detail__body .full-bleed-gray img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.blog-detail__body h2 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 110%;
}

.blog-detail__body h3 {
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 110%;
}

.blog-detail__body p {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
    margin-bottom: 28px;
}

.blog-detail__body ol {
    padding-left: 0 !important;
    margin: 0 0 28px;
    overflow: hidden;
    counter-reset: list-counter;
    list-style: none;
}

.blog-detail__body ol > li {
    background: #f6f6f6;
    border-radius: 8px;
    padding: 24px 12px 24px 40px;
    list-style: none;
    counter-increment: list-counter;
    position: relative;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
    color: #101920;
}

.blog-detail__body ol > li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 12px;
    top: 24px;
    font-weight: bold;
    color: #333;
    width: auto;
    height: auto;
    background: none;
}

@media (max-width: 767px) {
    .blog-detail__body h3 {
        margin: 40px 0 16px;
        font-size: 1.375rem;
    }

    .blog-detail__body h2 {
        margin: 40px 0 16px !important;
        font-size: 1.575rem !important;
        font-weight: 500 !important;
    }

    .blog-detail__body p {
        font-size: 1rem;
    }

    .blog-detail__body ul li,
    .blog-detail__body ol > li {
        font-size: 1rem !important;
    }

    .blog-detail__body ol > li {
        padding: 20px 12px 20px 36px;
    }

    .blog-detail__body ol > li::before {
        top: 20px;
    }

    .blog-detail__body .full-bleed-gray {
        padding: 40px 16px;
    }
}

.blog-detail__body ul {
    padding-left: 7px;
    margin: 15px 0;
    list-style: none;
}

.blog-detail__body ul li {
    padding-left: 28px;
    font-size: 1.125rem;
    line-height: 150%;
    position: relative;
    margin-bottom: 10px;
    list-style: none;
}

.blog-detail__body ul li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 1px;
    background: #101920;
}

@media (max-width: 767px) {
    .blog-detail__body ul li {
        font-size: 1rem;
    }
}

.blog-detail__body ol > li > p {
    color: #000;
    margin: 0;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
}

.blog-detail__body ol > li ul {
    list-style: none !important;
    margin: 12px 0 0 0;
    padding-left: 0 !important;
    display: block !important;
}

.blog-detail__body ol > li ul li {
    background: transparent !important;
    border-radius: 0;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
    color: #333;
    display: block !important;
    position: relative;
    padding-left: 20px !important;
    padding-top: 0;
    padding-bottom: 0;
}

.blog-detail__body ol > li > ul > li::before {
    content: "•" !important;
    display: block;
    position: absolute;
    left: 4px;
    top: 0;
    font-weight: 700;
    color: #333;
    font-size: 1.25rem;
    line-height: 150%;
    width: auto;
    height: auto;
    background: none;
    transform: none;
}

.blog-detail__body table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 20px auto;
    max-width: 100%;
}

.blog-detail__body table tr:nth-child(1) {
    background: #efefef;
    font-weight: 700;
}

.blog-detail__body table td,
.blog-detail__body table th {
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
    text-align: left;
    vertical-align: top;
}

.blog-detail__body table p {
    margin: 0;
}

.blog-detail__body table.yellow {
    empty-cells: hide;
    border-collapse: initial;
    margin: 20px 0;
    border: 1px solid #ffee0e;
}

.blog-detail__body table.yellow tr:nth-child(1) {
    background: #ffee0e;
    font-weight: 700;
}

.blog-detail__body table.yellow tr:nth-child(1) td {
    border-bottom: 0 solid #e0e0e0;
}

.blog-detail__body table.yellow tr:last-child td {
    border-bottom: 0 solid #e0e0e1;
}

.blog-detail__body table.yellow td,
.blog-detail__body table.yellow th {
    padding: 16px 20px;
    border: 0;
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 767px) {
    .blog-detail__body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .blog-detail__body table td,
    .blog-detail__body table th {
        padding: 16px 10px;
        font-size: 1rem;
    }

    .blog-detail__body table.yellow td,
    .blog-detail__body table.yellow th {
        padding: 16px 5px;
    }
}

/* оглавление — списки с якорными ссылками */
.blog-detail__body ul:has(> li > a):not(ul ul) {
    margin-left: 25px;
    padding: 0;
    list-style: none;
}

.blog-detail__body ul:has(> li > a):not(ul ul) > li {
    position: relative;
    margin-bottom: 4px;
    list-style: none;
}

.blog-detail__body ul:has(> li > a):not(ul ul) > li > a {
    display: inline-block;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
    text-decoration: none;
}

/* плоский список — черточки у всех пунктов */
.blog-detail__body ul:has(> li > a):not(ul ul):not(:has(ul)) > li {
    padding-left: 28px;
}

.blog-detail__body ul:has(> li > a):not(ul ul):not(:has(ul)) > li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 1px;
    background: #39b4e7;
}

.blog-detail__body ul:has(> li > a):not(ul ul):not(:has(ul)) > li > a {
    color: #39b4e7;
}

/* список с вложенным ul — без черточек у пунктов первого уровня */
.blog-detail__body ul:has(> li > a):not(ul ul):has(ul) > li {
    padding-left: 0;
    margin-bottom: 0;
}

.blog-detail__body ul:has(> li > a):not(ul ul):has(ul) > li::before {
    content: none;
    display: none;
}

.blog-detail__body ul:has(> li > a):not(ul ul):has(ul) > li > a {
    color: #39b4e7;
    margin-bottom: 8px;
}

/* вложенный ul — черточки у подпунктов */
.blog-detail__body ul:has(> li > a):not(ul ul) > ul,
.blog-detail__body ul:has(> li > a):not(ul ul) li > ul,
.blog-detail__body ul:has(> li > a):not(ul ul) ul ul {
    margin: 0 0 20px;
    padding: 0 0 0 36px;
    list-style: none;
}

.blog-detail__body ul:has(> li > a):not(ul ul) ul li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 4px;
    list-style: none !important;
    list-style-type: none !important;
}

.blog-detail__body ul:has(> li > a):not(ul ul) ul li::marker {
    content: none;
}

.blog-detail__body ul:has(> li > a):not(ul ul) ul li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background: #39b4e7;
}

.blog-detail__body ul:has(> li > a):not(ul ul) ul li:last-child {
    margin-bottom: 0;
}

.blog-detail__body ul:has(> li > a):not(ul ul) ul li > a {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
    color: #39b4e7;
    text-decoration: none;
}

@media (max-width: 767px) {
    .blog-detail__body ul:has(> li > a):not(ul ul) {
        margin-left: 20px;
    }

    .blog-detail__body ul:has(> li > a):not(ul ul) > li > a,
    .blog-detail__body ul:has(> li > a):not(ul ul) ul li > a {
        font-size: 1rem;
    }

    .blog-detail__body ul:has(> li > a):not(ul ul):not(:has(ul)) > li,
    .blog-detail__body ul:has(> li > a):not(ul ul) ul li {
        padding-left: 40px;
    }

    .blog-detail__body ul:has(> li > a):not(ul ul):not(:has(ul)) > li::before,
    .blog-detail__body ul:has(> li > a):not(ul ul) ul li::before {
        width: 20px;
    }

    .blog-detail__body ul:has(> li > a):not(ul ul) > ul,
    .blog-detail__body ul:has(> li > a):not(ul ul) li > ul,
    .blog-detail__body ul:has(> li > a):not(ul ul) ul ul {
        padding-left: 24px;
        margin-bottom: 16px;
    }
}

