@media only screen and (min-width: 1200px) {
    .single .header .container {
        max-width: 95%;
    }
}
.single .our_services {
    padding: 0;
}
.main-content {
    padding-top: 85px;

}
@media screen and (min-width: 1200px) {
    .main-content {
        padding-left: 9px;
        padding-right: 9px;
    }
}
@media screen and (max-width: 768px) {
    .main-content {
        padding-top: 35px;
    }
}
.post-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}
.post-categories li {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    margin-right: 10px;
}
.post-categories li:last-child {
    margin-right: 0;
}
@media screen and (max-width: 768px) {
    .post-categories li {
        font-size: 14px;
        line-height: 28px;
        text-align: center;
    }
}

.post-title {
    font-size: 68px;
    font-weight: 700;
    line-height: 74px;
    letter-spacing: -0.03em;
    margin: 25px 0 55px 0;
}
@media screen and (max-width: 768px) {
    .post-title {
        font-size: 40px;
        font-weight: 800;
        line-height: 48px;
        text-align: center;
        letter-spacing: 0;
        margin: 20px 0 30px 0;
    }
}

.post-info-top {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    line-height: 28px;
}
.post-info-top .post-info-dot {
    padding: 0 3px;
}
.post-info-top .post-telegram {
    display: flex;
    align-items: center;
    gap: 6px;
}
.post-info-top .post-telegram:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='20' viewBox='0 0 24 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.64987 8.56236C8.09231 5.75548 12.3883 3.905 14.5378 3.01095C20.675 0.458232 21.9503 0.0147986 22.7815 0.000156121C22.9643 -0.00306432 23.3731 0.042243 23.6379 0.257094C23.8614 0.43851 23.9229 0.683576 23.9524 0.855579C23.9818 1.02758 24.0185 1.41941 23.9893 1.72557C23.6568 5.22004 22.2177 13.7002 21.4856 17.6141C21.1758 19.2702 20.5658 19.8255 19.9753 19.8798C18.6919 19.9979 17.7174 19.0317 16.4744 18.2169C14.5294 16.9418 13.4305 16.1481 11.5425 14.904C9.36064 13.4661 10.7751 12.6759 12.0185 11.3843C12.344 11.0463 17.9985 5.90309 18.1079 5.43652C18.1216 5.37817 18.1343 5.16066 18.0051 5.0458C17.8759 4.93095 17.6851 4.97022 17.5475 5.00146C17.3524 5.04574 14.2452 7.09951 8.22584 11.1628C7.34386 11.7684 6.545 12.0635 5.82924 12.048C5.04018 12.031 3.52233 11.6019 2.39397 11.2351C1.00999 10.7852 -0.0899676 10.5474 0.00581423 9.78333C0.0557033 9.38538 0.603723 8.97839 1.64987 8.56236Z' fill='%232EE7D1'/%3E%3C/svg%3E%0A");
    width: 24px;
    height: 20px;
    display: inline-block;
}
@media screen and (max-width: 768px) {
    .post-info-top {
        flex-direction: column-reverse;
        gap: 25px;
    }
    .post-info-top .post-telegram {
        justify-content: center;
    }
    .post-info-top .post-date {
        font-size: 14px;
        line-height: 28px;
    }
}
.post-content {
    position: relative;
    float: left;
}
.post-featured-image {
    margin-top: 40px;
    margin-bottom: 50px;
}
.post-content .post-featured-image img {
    -webkit-mask-image: url(../images/mask-single.png);
    mask-image: url(../images/mask-single.png);
    position: relative;
    background-color: #2EE7D1;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    mask-position: center;
    max-height: 600px;
    max-width: 100%;
    margin: 0;
}
.post-content img {
    border-radius: 40px;
    margin: 1rem auto;
}
.post-content .aligncenter {
    display: block;
    margin: 1rem auto;
}
.post-content .alignright {
    float: right !important;
    margin-left: 15px;
    margin-top: 0;
}
.post-content .alignleft {
    margin-right: 15px;
    float: left !important;
    margin-top: 0;
}
@media screen and (max-width: 430px) {
    .post-content .alignleft, .post-content .alignright {
        float: none !important;
        margin: 1rem auto;
    }
}

.post-content figcaption {
    font-size: 14px;
    line-height: 28px;
    color: #788585;
    margin-top: 25px;
}
.post-content .wp-caption {
    width: auto !important;
}
.post-content .wp-caption-text {
    font-size: 14px;
    line-height: 28px;
    color: #788585;
}
.post-content h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 48px;
    margin-top: 55px;
    margin-bottom: 35px;
}
.post-content h3 {
    margin-top: 45px;
    margin-bottom: 25px;
}
.post-content p, .post-content li {
    font-size: 18px;
    line-height: 26px;
}
@media screen and (max-width: 768px) {
    .post-featured-image {
        margin-top: 15px;
        margin-bottom: 35px;
    }
    /*.post-content img {*/
    /*    mask-position: initial;*/
    /*    -webkit-mask-size: cover;*/
    /*    mask-size: cover;*/
    /*}*/
    .post-content figcaption {
        font-size: 12px;
        line-height: 28px;
        margin-top: 12px;
    }
    .post-content p, .post-content li {
        font-size: 16px;
        line-height: 24px;
    }
    .post-content h2 {
        font-size: 24px;
        font-weight: 700;
        line-height: 28px;
        margin-top: 40px;
        margin-bottom: 25px;
    }
    .post-content h3 {
        margin-top: 30px;
        margin-bottom: 15px;
    }
}

.post-info-bottom  {
    display: flex;
    justify-content: space-between;
    float: left;
    position: relative;
    width: 100%;
}
.post-info-bottom .post-sharing {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.post-info-bottom .post-sharing:before {
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7_828)'%3E%3Cpath d='M4.32136 14.5355C6.27408 14.5355 7.85707 12.9525 7.85707 10.9998C7.85707 9.04711 6.27408 7.46411 4.32136 7.46411C2.36864 7.46411 0.785645 9.04711 0.785645 10.9998C0.785645 12.9525 2.36864 14.5355 4.32136 14.5355Z' stroke='black' stroke-width='1.57143' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17.6783 21.2143C19.6309 21.2143 21.214 19.6312 21.214 17.6785C21.214 15.7259 19.6309 14.1428 17.6783 14.1428C15.7256 14.1428 14.1426 15.7259 14.1426 17.6785C14.1426 19.6312 15.7256 21.2143 17.6783 21.2143Z' stroke='black' stroke-width='1.57143' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17.6783 7.85707C19.6309 7.85707 21.214 6.27408 21.214 4.32136C21.214 2.36864 19.6309 0.785645 17.6783 0.785645C15.7256 0.785645 14.1426 2.36864 14.1426 4.32136C14.1426 6.27408 15.7256 7.85707 17.6783 7.85707Z' stroke='black' stroke-width='1.57143' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.47949 9.42854L14.5195 5.89282' stroke='black' stroke-width='1.57143' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.47949 12.5713L14.5195 16.107' stroke='black' stroke-width='1.57143' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7_828'%3E%3Crect width='22' height='22' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    width: 22px;
    height: 22px;
    margin-right: 15px;
}
.post-info-bottom .post-sharing .social-icon:hover {
    transform: scale(1.1);
}
.post-info-bottom .post-sharing .social-icon:before {
    content: '';
    width: 24px;
    height: 24px;
    display: block;
}
.post-info-bottom .post-sharing .twitter:before {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 24C18.6274 24 24 18.6274 24 12C24 5.37256 18.6274 0 12 0C5.37256 0 0 5.37256 0 12C0 18.6274 5.37256 24 12 24ZM9.29352 5.25586C9.26263 5.25195 9.23151 5.25 9.20026 5.25H6L5.91827 5.25439C5.78748 5.26904 5.66278 5.31763 5.5567 5.39526C5.49011 5.44409 5.43231 5.50366 5.38544 5.5708C5.35767 5.6106 5.33368 5.65308 5.31396 5.698C5.26099 5.8186 5.2406 5.95068 5.25494 6.08154C5.26923 6.2124 5.31775 6.33716 5.39551 6.44336L10.0905 12.8474L5.46973 17.4697L5.40747 17.5403C5.29095 17.6909 5.23615 17.8804 5.25421 18.0701C5.27228 18.2598 5.36188 18.4355 5.50476 18.5615C5.64771 18.6875 5.83325 18.7544 6.02368 18.7488C6.21417 18.7429 6.39526 18.6648 6.53027 18.5303L10.9882 14.0715L14.1953 18.4434L14.2523 18.5122C14.3224 18.5872 14.4072 18.647 14.5013 18.688C14.5478 18.708 14.5961 18.7234 14.6454 18.7339C14.696 18.7446 14.7477 18.75 14.7997 18.75H18L18.0817 18.7456C18.2125 18.731 18.3372 18.6824 18.4433 18.6047C18.5494 18.5269 18.6331 18.4224 18.686 18.302C18.739 18.1814 18.7594 18.0493 18.7451 17.9185C18.7308 17.7876 18.6823 17.6628 18.6045 17.5566L13.908 11.1519L18.5303 6.53027L18.5925 6.45972C18.709 6.30908 18.7639 6.11963 18.7458 5.92993C18.7277 5.74023 18.6381 5.56445 18.4952 5.43848C18.4227 5.37451 18.3391 5.32568 18.2495 5.29419C18.1627 5.26343 18.0701 5.24854 17.9763 5.25122C17.7858 5.25708 17.6047 5.33521 17.4697 5.46973L13.0103 9.92773L9.80475 5.55664L9.74774 5.48779C9.67761 5.41284 9.59283 5.35303 9.49866 5.31201C9.43317 5.28369 9.36407 5.26465 9.29352 5.25586Z' fill='%231C1F1F'/%3E%3C/svg%3E%0A");
}
.post-info-bottom .post-sharing .facebook:before {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7_820)'%3E%3Cpath d='M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 17.9895 4.3882 22.954 10.125 23.8542V15.4688H7.07812V12H10.125V9.35625C10.125 6.34875 11.9166 4.6875 14.6576 4.6875C15.9701 4.6875 17.3438 4.92188 17.3438 4.92188V7.875H15.8306C14.34 7.875 13.875 8.80008 13.875 9.75V12H17.2031L16.6711 15.4688H13.875V23.8542C19.6118 22.954 24 17.9895 24 12Z' fill='%231C1F1F'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7_820'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.post-info-bottom .post-views {
    display: flex;
    align-items: center;
    gap: 6px;
}
.post-info-bottom .post-views-icon {
    width: 30px;
    height: 30px;
}
.post-info-bottom .post-views-count {
    font-size: 18px;
    line-height: 28px;
}
.post-info-bottom .dashicons-chart-bar:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.9816 14.6203C28.9406 14.5277 27.948 12.3258 25.7414 10.1191C22.8012 7.17891 19.0875 5.625 15 5.625C10.9125 5.625 7.19882 7.17891 4.25858 10.1191C2.05194 12.3258 1.05468 14.5312 1.01835 14.6203C0.965043 14.7402 0.9375 14.87 0.9375 15.0012C0.9375 15.1324 0.965043 15.2621 1.01835 15.382C1.05936 15.4746 2.05194 17.6754 4.25858 19.882C7.19882 22.8211 10.9125 24.375 15 24.375C19.0875 24.375 22.8012 22.8211 25.7414 19.882C27.948 17.6754 28.9406 15.4746 28.9816 15.382C29.0349 15.2621 29.0625 15.1324 29.0625 15.0012C29.0625 14.87 29.0349 14.7402 28.9816 14.6203ZM15 19.6875C14.0729 19.6875 13.1666 19.4126 12.3958 18.8975C11.6249 18.3824 11.0241 17.6504 10.6693 16.7938C10.3145 15.9373 10.2217 14.9948 10.4026 14.0855C10.5834 13.1762 11.0299 12.341 11.6854 11.6854C12.341 11.0299 13.1762 10.5834 14.0855 10.4026C14.9948 10.2217 15.9373 10.3145 16.7938 10.6693C17.6503 11.0241 18.3824 11.6249 18.8975 12.3958C19.4126 13.1666 19.6875 14.0729 19.6875 15C19.6875 16.2432 19.1936 17.4355 18.3146 18.3146C17.4355 19.1936 16.2432 19.6875 15 19.6875Z' fill='%232EE7D1'/%3E%3C/svg%3E%0A");
    width: 30px;
    height: 30px;
    display: block;
}

.post-related-last {
    margin-top: 70px;
    float: left;
}
.post-related-last .related-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 48px;
    margin-bottom: 30px;
}
.post-related-last .last-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.post-related-last .last-posts .post {
    border-radius: 40px;
    background: #ffffff;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    gap: 45px;
}
.post-related-last .post-categories li {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}
.post-related-last .last-posts .post .title {
    font-size: 24px;
    font-weight: 800;
    line-height: 28px;
    margin: 15px 0 30px 0;
}
.post-related-last .last-posts .post .entry-date {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}
.post-related-last .last-posts .post .post-excerpt {
    max-width: 37%;
    font-family: Wix Madefor Display, serif;
    margin-top: 43px;
}
.post-related-last .last-posts .post .post-image {
    position: relative;
    display: inline-block;
    -webkit-mask-image: url(../images/mask-related.png);
    mask-image: url(../images/mask-related.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    height: 100%;
}
.post-related-last .last-posts .post .post-image img {
    max-width: 307px;
}
@media screen and (max-width: 1024px){
    .post-related-last .last-posts .post {
        flex-direction: column;
        gap: 0;
    }
    .post-related-last .last-posts .post .post-excerpt {
        max-width: 100%;
        margin: 20px 0;
    }
    .post-related-last .last-posts .post .post-image {
        margin: 0 auto;
    }
    .post-related-last .last-posts .post .post-image img {
        max-width: 607px;
    }
}

@media screen and (max-width: 768px) {
    .post-related-last {
        margin-top: 50px;
    }
    .post-related-last .related-title {
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        line-height: 28px;
    }
    .post-related-last .last-posts .post {
        flex-direction: column;
        gap: 0;
    }
    .post-related-last .post-categories li {
        font-size: 14px;
        font-weight: 600;
        line-height: 14px;
        text-align: left;
    }
    .post-related-last .last-posts .post .title {
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;
        text-align: left;
        margin: 15px 0 20px 0;
    }
    .post-related-last .last-posts .post .entry-date {
        font-size: 14px;
        font-weight: 400;
        line-height: 28px;
    }
    .post-related-last .last-posts .post .post-image img {
        max-width: 100%;
    }
}

/* AI Summary Block Styles — Brand Gradient */
.ai-summary-block {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 32px 0;
    padding: 20px 24px;
    background: linear-gradient(232deg, #4aefee 0%, #15c0bf 75.87%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(21, 192, 191, 0.2);
    box-sizing: border-box;
}

.ai-summary-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    color: #ffffff; /* Темный глубокий цвет для высокой читаемости на ярком градиенте */
    flex: 1 1 240px; /* Позволяет заголовку красиво занимать место */
}

.ai-summary-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background-color: #ffffff;
    color: #0f4c4c;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-btn:hover,
.ai-btn:focus {
    background-color: #0f4c4c;
    color: #ffffff;
    border-color: #0f4c4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 76, 76, 0.25);
}

.ai-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ai-summary-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 18px;
        border-radius: 12px;
    }

    .ai-summary-title {
        flex: none;
        width: 100%;
    }

    .ai-summary-buttons {
        width: 100%;
        gap: 8px;
    }
}

/* Easy Table of Contents — Nova Partner Style */
#ez-toc-container {
    background: linear-gradient(232deg, rgba(74, 239, 238, 0.08) 0%, rgba(21, 192, 191, 0.12) 75.87%) !important;
    border: 1px solid #15c0bf !important;
    border-left: 5px solid #15c0bf !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    margin: 32px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 16px rgba(21, 192, 191, 0.08) !important;
}

#ez-toc-container p.ez-toc-title,
#ez-toc-container .ez-toc-title-container {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f4c4c !important;
    margin-bottom: 12px !important;
}

#ez-toc-container ul.ez-toc-list {
    margin: 0 !important;
    padding-left: 20px !important;
}

#ez-toc-container ul.ez-toc-list li {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
    color: #1d2327 !important;
}

#ez-toc-container ul.ez-toc-list li a {
    color: #1d2327 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

#ez-toc-container ul.ez-toc-list li a:hover {
    color: #15c0bf !important;
    text-decoration: underline !important;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}