/*
Theme Name: Santehkeram
Theme URI: https://santehkeram.ru/
Author: Ваше имя
Author URI: 
Description: Тема для интернет-магазина керамической плитки
Version: 1.0
License: 
License URI: 
Text Domain: santehkeram
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7;
    color: #1D1D1F;
    line-height: 1.5;
}
body.no-scroll {
    overflow: hidden;
}

.pa {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Utility Classes from general.css */
.df { display: flex; }
.ai-c { align-items: center; }
.jc-sb { justify-content: space-between; }
.jc-c { justify-content: center; }
.jc-sa { justify-content: space-around; }
.fd-c { flex-direction: column; }
.fw-w { flex-wrap: wrap; }
.w-100 { width: 100%; }
.mb-20 { margin-bottom: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-5 { margin-bottom: 5px; }
.mt-5 { margin-top: 5px; }
.pos-r { position: relative; }

/* Top Banner */
.top_banner {
    position: relative;
    background: rgba(248, 236, 206, 0.68);
    border: 1px solid #DADADA;
    padding: 12px 0;
}

.top_banner__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_banner__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    text-transform: uppercase;
    color: #1D1D1F;
}

.top_banner__text strong {
    font-weight: bold;
}

.top_banner__link {
    font-weight: 900;
    font-size: 9px;
    line-height: 12px;
    text-transform: uppercase;
    color: #1D1D1F;
    background: #FBFBFD;
    box-shadow: 0px 0px 4px rgba(29, 29, 31, 0.25);
    border-radius: 6px;
    padding: 5px 13px;
    margin-left: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.top_banner__link:hover {
    background: #0071E3;
    color: #fff;
}

/* Header */
.page_header {
    min-height: 80px;
    background: #1D1D1F;
}

.header_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header_left {
    display: flex;
    align-items: center;
}

.header_logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header_logo__text {
    font-weight: bold;
    font-size: 28px;
    line-height: 36px;
    text-transform: uppercase;
    color: #F2F2F2;
    text-decoration: none;
}

.header_logo__text span {
    color: #0071E3;
}

.menu_btn {
    margin-left: 20px;
    cursor: pointer;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
}

.icon_catalog {
    position: relative;
    width: 27px;
    height: 27px;
    border: 1.5px solid #0071E3;
    box-sizing: border-box;
    border-radius: 3px;
    transition: all 200ms ease-in-out;
}

.icon_catalog > span {
    display: block;
    height: 2px;
    width: 17px;
    background: #0071E3;
    position: absolute;
    left: 0;
    right: 0;
    transition: all 200ms ease-in-out;
    margin: auto;
}

.icon_catalog > span:first-child { top: 5px; }
.icon_catalog > span:nth-child(2) { top: 11px; }
.icon_catalog > span:last-child { top: 17px; }

.menu_btn.active .icon_catalog > span:first-child {
    transform: rotate(45deg);
    top: 12px;
}

.menu_btn.active .icon_catalog > span:nth-child(2) {
    opacity: 0;
}

.menu_btn.active .icon_catalog > span:last-child {
    transform: rotate(-45deg);
    top: 12px;
}

.menu_btn:hover .icon_catalog {
    border: 1.5px solid #0071E3;
}

.menu_btn:hover .icon_catalog > span {
    background: #0071E3;
}

/* Header Search */
.header_search {
    position: relative;
    margin: 0 20px;
}

.header_search__input {
    width: 326px;
    height: 34px;
    text-indent: 15px;
    background: rgba(62, 62, 78, 0.7);
    border: 2px solid #0071E3;
    box-sizing: border-box;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #969696;
    padding-right: 66px;
    transition: all 0.2s ease;
}

.header_search__input::placeholder {
    font-weight: 600;
    color: #969696;
}

.header_search__input:focus {
    outline: none;
    border: 2px solid #0071E3;
}

.header_search__btn {
    position: absolute;
    right: 0;
    top: 0;
}

.header_search__button {
    position: relative;
    border: none;
    background: none;
    padding: 7px 16px;
    cursor: pointer;
}

.header_search__button:before {
    content: '';
    position: absolute;
    left: 0;
    width: 1px;
    height: 18px;
    background: #0071E3;
}

.header_search__button svg {
    fill: #0071E3;
    width: 20px;
    height: 20px;
}

/* Header Contact */
.header_contact {
    display: flex;
    align-items: center;
}

.header_contact__block {
    margin-right: 25px;
}

.header_contact__block:last-child {
    margin-right: 0;
}

.header_contact__link {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 21px;
    color: #F2F2F2;
    margin-left: 10px;
    font-weight: 600;
    text-decoration: none;
}
.header_contact__link > div {
    width: 34px;
    height: 34px;
    margin-right: 10px;
}
.btn_donut {
    display: inline-block;
    padding: 7px 15px;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    color: #F2F2F2;
    background: rgba(62, 62, 78, 0.7);
    border: 2px solid #0071E3;
    border-radius: 4px;
    width: 135px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn_donut:hover {
    background: #0071E3;
    color: #fff;
}

.header_buttons {
    margin-left: 10px;
}

.header_icon {
    margin-left: 10px;
    cursor: pointer;
    position: relative;
}

.header_icon svg {
    width: 30px;
    height: 30px;
    fill: #F2F2F2;
    transition: fill 0.2s ease;
}

.header_icon:hover svg {
    fill: #0071E3;
}

.header_icon__count {
    display: inline-block;
    min-width: 19px;
    text-align: center;
    font-weight: 600;
    font-size: 10px;
    line-height: 19px;
    color: #1D1D1F;
    background: #F2F2F2;
    border-radius: 100px;
    padding: 0 3px;
    position: absolute;
    top: -5px;
    right: -5px;
}

.header_icon__count.active {
    color: #F2F2F2;
    background: #0071E3;
}

/* Blog Header */
.blog_header {
    background: linear-gradient(135deg, #1D1D1F 0%, #2a2a2e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://image.qwenlm.ai/public_source/b6493bae-be26-4e0f-9af7-26e11ce5d633/1f971e34c-e181-4091-9346-2a2d2a9c3d07.png') center/cover;
    opacity: 0.15;
}

.blog_header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.blog_header__title {
    font-weight: 900;
    font-size: 48px;
    line-height: 56px;
    color: #F2F2F2;
    margin-bottom: 16px;
}

.blog_header__subtitle {
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: #B1B1B1;
    max-width: 600px;
}

.blog_header__accent {
    color: #0071E3;
}

/* Blog Navigation */
.blog_nav {
    background: #FBFBFD;
    border-bottom: 1px solid #ECECEC;
    padding: 20px 0;
}
.blog_nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.blog_nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog_nav__list .menu-item {
    display: inline-block;
    position: relative;
}
.blog_nav__list .menu-item > a {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #1D1D1F;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 8px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.blog_nav__list .menu-item > a:hover,
.blog_nav__list .menu-item.current-menu-item > a {
    background: #0071E3;
    color: #fff;
}
.sub-menu {
    display: none; 
}

.blog_nav__list .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 240px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #FFFFFF;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 14px;
}
.blog_nav__list .sub-menu .menu-item {
    display: block;
    width: 100%;
    margin-bottom: 4px;
}

.blog_nav__list .sub-menu .menu-item:last-child {
    margin-bottom: 0;
}
.blog_nav__list .sub-menu .menu-item > a {
    display: block;
    background: transparent;
    box-shadow: none;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 10px;
    color: #1D1D1F;
    transition: all 0.2s ease;
}
.blog_nav__list .sub-menu .menu-item > a:hover {
    background: #F5F5F7;
    color: #0071E3;
}
.blog_nav__list .sub-menu .menu-item.current-menu-item > a {
    background: #0071E3;
    color: #ffffff;
}
.blog_nav__list .sub-menu .sub-menu {
    top: 0;
    left: calc(100% + 5px);
}
.menu-item-has-children > a:after {
    content: '';
    display: inline-block;
    margin-left: 10px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
    transition: transform 0.2s ease;
}
.menu-item.is-active > a:after {
    transform: rotate(180deg);
}






/* Blog Main Content */
.blog_main {
    padding: 60px 0;
}

.blog_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog_section__title {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #1D1D1F;
    margin-bottom: 40px;
    position: relative;
}

.blog_section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #0071E3;
    border-radius: 2px;
}

/* Blog Grid */
.blog_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.blog_card {
    position: relative;
    background: #FBFBFD;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog_card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

.blog_card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog_card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog_card:hover .blog_card__image img {
    transform: scale(1.05);
}

.blog_card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    font-weight: bold;
    font-size: 10px;
    line-height: 13px;
    text-transform: uppercase;
    color: #F2F2F2;
    border-radius: 4px;
    padding: 4px 12px;
    background: #0071E3;
}

.blog_card__content {
    padding: 24px;
}

.blog_card__date {
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #86868B;
    margin-bottom: 12px;
}

.blog_card__title {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #1D1D1F;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog_card__excerpt {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #86868B;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog_card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #ECECEC;
}

.blog_card__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog_card__author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0071E3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.blog_card__author-name {
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    color: #1D1D1F;
}

.blog_card__read {
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #0071E3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.blog_card__read:hover {
    gap: 10px;
}

.blog_card__read svg {
    width: 16px;
    height: 16px;
    fill: #0071E3;
}

/* Featured Article */
.blog_featured {
    margin-bottom: 60px;
}

.blog_featured__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #FBFBFD;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
}

.blog_featured__image {
    height: 100%;
    overflow: hidden;
}

.blog_featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog_featured__card:hover .blog_featured__image img {
    transform: scale(1.05);
}

.blog_featured__content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog_featured__badge {
    display: inline-block;
    font-weight: bold;
    font-size: 10px;
    line-height: 13px;
    text-transform: uppercase;
    color: #F2F2F2;
    border-radius: 4px;
    padding: 4px 12px;
    background: #F45252;
    width: fit-content;
    margin-bottom: 16px;
}

.blog_featured__date {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #86868B;
    margin-bottom: 12px;
}

.blog_featured__title {
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    color: #1D1D1F;
    margin-bottom: 20px;
}

.blog_featured__excerpt {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #86868B;
    margin-bottom: 30px;
}

.blog_featured__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    color: #fff;
    background: #0071E3;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s ease;
}

.blog_featured__btn:hover {
    background: #0065CC;
}

.blog_featured__btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Categories Section */
.blog_categories {
    margin-bottom: 60px;
}

.blog_categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog_category__card {
    background: #FBFBFD;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog_category__card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

.blog_category__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: #0071E3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog_category__icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.blog_category__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #1D1D1F;
    margin-bottom: 8px;
}

.blog_category__count {
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #86868B;
}

/* Newsletter */
.blog_newsletter {
    background: linear-gradient(135deg, #0071E3 0%, #005bb5 100%);
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    margin-bottom: 60px;
}

.blog_newsletter__title {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #fff;
    margin-bottom: 16px;
}

.blog_newsletter__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.blog_newsletter__form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.blog_newsletter__input {
    flex: 1;
    height: 50px;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 500;
    font-size: 14px;
    color: #1D1D1F;
    background: #fff;
}

.blog_newsletter__input::placeholder {
    color: #86868B;
}

.blog_newsletter__input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.blog_newsletter__btn {
    height: 50px;
    padding: 0 30px;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    color: #fff;
    background: #1D1D1F;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog_newsletter__btn:hover {
    background: #2a2a2e;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.pagination li {
    display: flex;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-weight: 600;
    font-size: 14px;
    color: #1D1D1F;
    background: #FBFBFD;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    color: #fff;
    background: #0071E3;
    border-color: #0071E3;
}

.pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    color: #1D1D1F;
}

.pagination .prev.page-numbers:hover,
.pagination .next.page-numbers:hover {
    color: #fff;
}

/* Footer */
.blog_footer {
    background: #F0F0F0;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.blog_footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog_footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.blog_footer__logo {
    font-weight: bold;
    font-size: 28px;
    line-height: 37px;
    text-transform: uppercase;
    color: #1D1D1F;
    margin-bottom: 16px;
}

.blog_footer__logo span {
    color: #0071E3;
}

.blog_footer__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #86868B;
    margin-bottom: 20px;
}

.blog_footer__social {
    display: flex;
    gap: 12px;
}

.blog_footer__social-link {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.blog_footer__social-link:hover {
    background: #0071E3;
}

.blog_footer__social-link:hover svg {
    fill: #fff;
}

.blog_footer__social-link svg {
    width: 20px;
    height: 20px;
    fill: #1D1D1F;
}

.blog_footer__title {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #1D1D1F;
    margin-bottom: 20px;
}

.blog_footer__list {
    list-style: none;
}

.blog_footer__list-item {
    margin-bottom: 12px;
}

.blog_footer__list-link {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #86868B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog_footer__list-link:hover {
    color: #0071E3;
}

.blog_footer__list .menu-item {
    margin-bottom: 12px;
}
.blog_footer__list .menu-item > a {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #86868B;
    text-decoration: none;
    transition: color 0.2s ease;
}
.blog_footer__list .menu-item > a:hover {
    color: #0071E3;
}

.blog_footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.blog_footer__contact-icon {
    width: 36px;
    height: 36px;
    background: #0071E3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog_footer__contact-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.blog_footer__contact-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #1D1D1F;
}

.blog_footer__bottom {
    padding-top: 30px;
    border-top: 1px solid #D3D3D3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog_footer__copyright {
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #86868B;
}

.blog_footer__links {
    display: flex;
    gap: 24px;
}

.blog_footer__links-link {
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #86868B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog_footer__links-link:hover {
    color: #0071E3;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog_grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .blog_featured__card {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .blog_header__title {
        font-size: 32px;
        line-height: 40px;
    }

    .blog_grid {
        grid-template-columns: 1fr;
    }

    .blog_categories__grid {
        grid-template-columns: 1fr;
    }

    .blog_newsletter__form {
        flex-direction: column;
    }

    .blog_newsletter__btn {
        width: 100%;
    }

    .header_search {
        display: none;
    }

    .header_contact {
        display: none;
    }

    .blog_footer__grid {
        grid-template-columns: 1fr;
    }

    .blog_footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Mobile Menu */
.mobile_menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: #1D1D1F;
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 80px 20px 20px;
}

.mobile_menu.active {
    left: 0;
}
.mobile_menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile_menu__list .menu-item {
    margin-bottom: 16px;
}
.mobile_menu__list .menu-item > a {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #F2F2F2;
    text-decoration: none;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease;
}
.mobile_menu__list .menu-item > a:hover {
    color: #0071E3;
}
.mobile_menu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile_menu__overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Article Header */
.article_header {
    background: linear-gradient(135deg, #1D1D1F 0%, #2a2a2e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.article_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://image.qwenlm.ai/public_source/b6493bae-be26-4e0f-9af7-26e11ce5d633/1f971e34c-e181-4091-9346-2a2d2a9c3d07.png') center/cover;
    opacity: 0.15;
}

.article_header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.article_breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    overflow: auto;
    white-space: nowrap;
    margin-right: -20px;
}

.article_breadcrumb__link {
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #B1B1B1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article_breadcrumb__link:hover {
    color: #0071E3;
}

.article_breadcrumb__separator {
    color: #B1B1B1;
}

.article_breadcrumb__current {
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #F2F2F2;
}

.article_header__category {
    display: inline-block;
    font-weight: bold;
    font-size: 10px;
    line-height: 13px;
    text-transform: uppercase;
    color: #F2F2F2;
    border-radius: 4px;
    padding: 4px 12px;
    background: #0071E3;
    margin-bottom: 16px;
}

.article_header__title {
    font-weight: 900;
    font-size: 42px;
    line-height: 52px;
    color: #F2F2F2;
    margin-bottom: 24px;
}

.article_header__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.article_meta__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #B1B1B1;
}

.article_meta__item svg {
    width: 18px;
    height: 18px;
    fill: #0071E3;
}

.article_header__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article_header__author-avatar {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0071E3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.article_header__author-info {
    display: flex;
    flex-direction: column;
}

.article_header__author-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #F2F2F2;
}

.article_header__author-role {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #B1B1B1;
}

/* Article Content */
.article_main {
    padding: 60px 0;
}
.article_container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: #1D1D1F;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.article_container > * {
    margin-bottom: 24px;
}
.article_container p {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
}
.article_container .wp-block-heading {
    color: #1D1D1F;
    margin-top: 48px;
    margin-bottom: 20px;
    clear: both;
}
.article_container h2.wp-block-heading {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    padding-bottom: 12px;
    border-bottom: 3px solid #0071E3;
}
.article_container h3.wp-block-heading {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
}
.article_container h4.wp-block-heading {
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wp-block-image {
    margin: 40px 0;
}

.article_container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.wp-block-image figcaption {
    font-size: 14px;
    line-height: 1.4;
    color: #86868B;
    text-align: center;
    margin-top: 12px;
}

/* Table Block */
.wp-block-table {
    margin: 40px 0;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
}

.wp-block-table thead {
    border-bottom: 0;
}

.wp-block-table th {
    border: none;
    background: #0071E3;
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
}

.wp-block-table td {
    padding: 16px 20px;
    border: none;
    border-bottom: 1px solid #ECECEC;
    background: #FBFBFD;
}

.wp-block-table tr:last-child td {
    border-bottom: none;
}

/* Quote Block */
.wp-block-quote {
    background: #FBFBFD;
    border-left: 4px solid #0071E3;
    padding: 24px 40px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.wp-block-quote p {
    font-style: italic;
    font-size: 20px;
    margin-bottom: 8px !important;
}

/* Списки (Исправлено) */
ul.wp-block-list, ol.wp-block-list {
    padding-left: 0;
    list-style: none;
    margin: 32px 0;
}

.wp-block-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.5;
}

/* Маркированный список */
ul.wp-block-list li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #0071E3;
    border-radius: 50%;
}

/* Нумерованный список */
ol.wp-block-list {
    counter-reset: wp-counter;
}

ol.wp-block-list li {
    counter-increment: wp-counter;
}

ol.wp-block-list li::before {
    content: counter(wp-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: #0071E3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Separator */
.wp-block-separator {
    border: none;
    border-bottom: 2px solid #ECECEC;
    margin: 48px auto;
    max-width: 100px;
    opacity: 1;
}

/* Code */
.article_container code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', 'Source Code Pro', monospace;
    font-size: 14px;
    line-height: 24px;
    color: #3FC8B7;
    background: #1D1D1F;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
    display: block;
}

/* Стили для Emoji в заголовках */
.emoji {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    margin-right: 8px;
}

/* Footer & Share (сохраняем ваши стили) */
.article_footer {
    margin-top: 60px;
    padding: 40px;
    background: #FBFBFD;
    border-radius: 12px;
}

.article_share__buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.article_share__button {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.article_share__button:hover {
    transform: translateY(-3px);
}

.article_share__button svg {
    width: 20px;
    fill: white;
}

.vk { background: #0077FF; }
.telegram { background: #24A1DE; }




/* Table of Contents */
.article-toc {
    background: #FBFBFD;
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
}

.article-toc__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #1D1D1F;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-toc__title svg {
    width: 24px;
    height: 24px;
    fill: #0071E3;
}

.article-toc__list {
    list-style: none;
    padding-left: 0;
}

.article-toc__item {
    margin-bottom: 12px;
}

.article-toc__link {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #1D1D1F;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.article-toc__link:hover {
    color: #0071E3;
}

.article-toc__link::before {
    content: '•';
    color: #0071E3;
    font-size: 20px;
}

.article-toc__list .article-toc__list {
    padding-left: 24px;
    margin-top: 8px;
}

/* Article Footer */
.article_footer {
    background: #FBFBFD;
    border-radius: 12px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.article_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.article_tags a {
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #0071E3;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 6px;
    padding: 6px 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article_tags a:hover {
    background: #0071E3;
    color: #fff;
}

.article_share {
    margin-bottom: 32px;
}

.article_share__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #1D1D1F;
    margin-bottom: 16px;
}

.article_share__buttons {
    display: flex;
    gap: 12px;
}

.article_share__button {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.article_share__button svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.article_share__button.vk svg,
.article_share__button.ok svg {
    width: 28px;
    height: 28px;
}

.article_share__button.vk {
    background: #0077FF;
}

.article_share__button.ok {
    background: #FF7700;
}

.article_share__button.max {
    background: #9F33FF;
}

.article_share__button.copy {
    background: #1D1D1F;
}

.article_share__button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.article_author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 32px;
}

.article_author__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0071E3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 32px;
    flex-shrink: 0;
}

.article_author__info h4 {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #1D1D1F;
    margin-bottom: 8px;
}

.article_author__info p {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #86868B;
}

.article_nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.article_nav__item {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #ECECEC;
}

.article_nav__item:hover {
    border-color: #0071E3;
    box-shadow: 0px 4px 15px rgba(0, 113, 227, 0.15);
}

.article_nav__label {
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #86868B;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article_nav__label svg {
    width: 16px;
    height: 16px;
    fill: #86868B;
}

.article_nav__item:hover .article_nav__label svg {
    fill: #0071E3;
}

.article_nav__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #1D1D1F;
}

.article_nav__item.prev .article_nav__label {
    flex-direction: row-reverse;
}

/* Comments Section */
.article_comments {
    margin-top: 60px;
}

.article_comments__title {
    font-weight: 700;
    font-size: 28px;
    line-height: 38px;
    color: #1D1D1F;
    margin-bottom: 32px;
}

.comment_form {
    background: #FBFBFD;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
}

.comment_form__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #1D1D1F;
    margin-bottom: 24px;
}

.comment_form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.comment_form__group {
    margin-bottom: 20px;
}

.comment_form__label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #1D1D1F;
    margin-bottom: 8px;
}

.comment_form__input,
.comment_form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1D1D1F;
    background: #fff;
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.comment_form__input:focus,
.comment_form__textarea:focus {
    outline: none;
    border-color: #0071E3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.comment_form__textarea {
    min-height: 150px;
    resize: vertical;
}

.comment_form__submit {
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    color: #fff;
    background: #0071E3;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment_form__submit:hover {
    background: #0065CC;
}

.comment_list {
    list-style: none;
}

.comment_item {
    background: #FBFBFD;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.comment_header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.comment_avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0071E3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.comment_meta {
    display: flex;
    flex-direction: column;
}

.comment_author {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #1D1D1F;
}

.comment_date {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #86868B;
}

.comment_content {
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #1D1D1F;
    padding-left: 64px;
}

.comment_replies {
    margin-left: 64px;
    margin-top: 20px;
    padding-left: 20px;
    border-left: 2px solid #ECECEC;
}

/* Для reply link */
.comment_item .comment-reply {
    padding-left: 64px;
    margin-top: 12px;
}

.comment-reply-link {
    color: #0071E3;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* Если используешь пагинацию */
.comments-pagination {
    margin-top: 40px;
}


@media (max-width: 767px) {
    .article_header__title {
        font-size: 30px;
        line-height: normal;
    }
    .article_author {
        flex-wrap: wrap;
        padding: 0;
    }

}