  /* -------------------- Сброс и базовые стили -------------------- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #f4f6f9;
            color: #1e293b;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.2s ease, background 0.2s ease;
        }

        .wrapper {
            max-width: 1200px;
            margin: 0 auto;
            background: #ffffff;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
            border-radius: 24px;
            overflow: hidden;
            margin-top: 20px;
            margin-bottom: 20px;
        }

        .container {
            padding: 0 30px;
        }

        .clear {
            clear: both;
        }

        /* -------------------- Верхняя панель (top-nav) -------------------- */
        .top-nav {
            background: #0f172a;
            padding: 12px 0;
            border-bottom: 2px solid #c724c7;
        }

        .top-nav .container {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .search-block {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 40px;
            padding: 4px 4px 4px 18px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.25s ease;
        }

        .search-block:focus-within {
            background: #1e293b;
            border-color: #c724c7;
        }

        .search-block input#s {
            background: transparent;
            border: none;
            padding: 8px 0;
            color: #e2e8f0;
            font-size: 14px;
            outline: none;
            width: 160px;
            font-family: 'Inter', sans-serif;
        }

        .search-block input#s::placeholder {
            color: #94a3b8;
        }

        .search-button {
            background: #c724c7;
            border: none;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 40px;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease;
            font-family: 'Inter', sans-serif;
        }

        .search-button:hover {
            background: #a01ea0;
        }

        .search-button::before {
            content: "\f002";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
        }

        .social-icons {
            display: flex;
            gap: 12px;
        }

        .social-icons a {
            color: #94a3b8;
            font-size: 18px;
            transition: color 0.2s ease, transform 0.15s ease;
            display: inline-block;
        }

        .social-icons a:hover {
            color: #c724c7;
            transform: translateY(-2px);
        }

        /* -------------------- Шапка (header) -------------------- */
        .header-content {
            padding: 35px 0 25px 0;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-bottom: 1px solid #e9edf2;
        }

        .logo h1 {
            font-size: 32px;
            font-weight: 900;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #0f172a, #c724c7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
        }

        .logo h1 a {
            -webkit-text-fill-color: transparent;
        }

        .logo span {
            font-size: 16px;
            font-weight: 400;
            color: #64748b;
            -webkit-text-fill-color: #64748b;
            margin-left: 10px;
        }

        /* -------------------- Навигация -------------------- */
        #main-nav {
            background: #0f172a;
            padding: 0;
            border-bottom: 3px solid #c724c7;
        }

        #main-nav .container {
            display: flex;
            align-items: center;
            padding: 0 30px;
        }

        .main-menu ul {
            list-style: none;
            display: flex;
            gap: 0;
            margin: 0;
            padding: 0;
            flex-wrap: wrap;
        }

        .main-menu ul li {
            position: relative;
        }

        .main-menu ul li a {
            display: block;
            padding: 16px 24px;
            color: #e2e8f0;
            font-weight: 600;
            font-size: 15px;
            letter-spacing: 0.3px;
            transition: all 0.2s ease;
            border-bottom: 3px solid transparent;
            margin-bottom: -3px;
        }

        .main-menu ul li a:hover,
        .main-menu ul li.current-menu-item a {
            color: #ffffff;
            background: rgba(199, 36, 199, 0.15);
            border-bottom-color: #c724c7;
        }

        /* -------------------- Слайдер -------------------- */
        #flexslider {
            margin: 30px 0 40px 0;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
            background: #0f172a;
        }

        #flexslider .slides li {
            position: relative;
        }

        #flexslider .slides img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            display: block;
        }

        .slider-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 30px 40px;
            background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
            color: white;
        }

        .slider-caption h2 {
            font-size: 26px;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .slider-caption h2 a {
            color: white;
            transition: color 0.2s ease;
        }

        .slider-caption h2 a:hover {
            color: #c724c7;
        }

        .slider-caption p {
            font-size: 15px;
            opacity: 0.8;
            max-width: 600px;
        }

        /* -------------------- Основной контент -------------------- */
        #main-content {
            display: flex;
            gap: 40px;
            padding: 0 30px 40px 30px;
            flex-wrap: wrap;
        }

        .content-wrap {
            flex: 2;
            min-width: 0;
        }

        .content {
            width: 100%;
        }

        /* -------------------- Список постов -------------------- */
        .post-listing {
            display: flex;
            flex-direction: column;
            gap: 30px;
            margin-top: 10px;
        }

        .item-list {
            background: #ffffff;
            border-radius: 20px;
            padding: 25px 28px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
            border: 1px solid #edf2f7;
            transition: all 0.25s ease;
        }

        .item-list:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
            border-color: #d9e2ef;
        }

        .item-list .post-title {
            font-size: 22px;
            font-weight: 800;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .item-list .post-title a {
            color: #0f172a;
            transition: color 0.2s ease;
        }

        .item-list .post-title a:hover {
            color: #c724c7;
        }

        .post-meta {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .post-meta .tie-date::before {
            content: "\f073";
            font-family: "Font Awesome 6 Free";
            font-weight: 400;
            margin-right: 6px;
            color: #94a3b8;
        }

        .post-meta .post-comments::before {
            content: "\f086";
            font-family: "Font Awesome 6 Free";
            font-weight: 400;
            margin-right: 6px;
            color: #94a3b8;
        }

        .post-thumbnail {
            float: left;
            margin-right: 22px;
            margin-bottom: 10px;
            border-radius: 14px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .post-thumbnail img {
            display: block;
            width: 300px;
            height: 160px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .post-thumbnail:hover img {
            transform: scale(1.03);
        }

        .entry p {
            color: #334155;
            font-size: 15px;
            line-height: 1.7;
        }

        .more-link {
            display: inline-block;
            margin-top: 12px;
            background: #c724c7;
            color: white;
            padding: 10px 24px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.2s ease;
            border: none;
        }

        .more-link:hover {
            background: #a01ea0;
            transform: translateX(5px);
            box-shadow: 0 8px 20px rgba(199, 36, 199, 0.25);
        }

        .item-list .entry {
            overflow: hidden;
        }

        /* -------------------- Пагинация -------------------- */
        .pagination {
            margin-top: 40px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            padding: 15px 0;
        }

        .pagination .pages {
            margin-right: 15px;
            font-weight: 500;
            color: #475569;
            font-size: 14px;
        }

        .pagination a,
        .pagination span.current {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 40px;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .pagination a {
            background: #f1f5f9;
            color: #1e293b;
        }

        .pagination a:hover {
            background: #e2e8f0;
            transform: translateY(-2px);
        }

        .pagination span.current {
            background: #c724c7;
            color: white;
        }

        #tie-next-page a {
            background: #0f172a;
            color: white;
        }

        #tie-next-page a:hover {
            background: #c724c7;
        }

        /* -------------------- Сайдбар -------------------- */
        .sidebar {
            flex: 1;
            min-width: 280px;
            display: flex;
            flex-direction: column;
            gap: 35px;
        }

        .widget {
            background: #ffffff;
            border-radius: 20px;
            padding: 20px 24px 24px;
            border: 1px solid #edf2f7;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
        }

        .widget-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f1f5f9;
        }

        .widget-top h4 {
            font-size: 18px;
            font-weight: 700;
            color: #0f172a;
            letter-spacing: -0.3px;
        }

        .stripe-line {
            display: none;
        }

        /* Слайдер в сайдбаре */
        #tie-slider-widget-2 {
            border-radius: 16px;
            overflow: hidden;
            margin: 0;
            background: #0f172a;
        }

        #tie-slider-widget-2 .slides li {
            position: relative;
        }

        #tie-slider-widget-2 .slides img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        #tie-slider-widget-2 .slider-caption {
            padding: 18px 20px;
        }

        #tie-slider-widget-2 .slider-caption h2 {
            font-size: 16px;
            font-weight: 700;
        }

        /* Новости в картинках */
        .news-pic .widget-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .news-pic .post-thumbnail {
            float: none;
            margin: 0;
            border-radius: 12px;
            overflow: hidden;
            flex: 0 0 calc(33.333% - 8px);
        }

        .news-pic .post-thumbnail img {
            width: 100%;
            height: 70px;
            object-fit: cover;
            border-radius: 12px;
            transition: transform 0.3s ease;
        }

        .news-pic .post-thumbnail:hover img {
            transform: scale(1.05);
        }

        /* Свежие записи */
        .widget_recent_entries ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .widget_recent_entries ul li {
            padding: 10px 0;
            border-bottom: 1px solid #f1f5f9;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.15s ease;
        }

        .widget_recent_entries ul li:last-child {
            border-bottom: none;
        }

        .widget_recent_entries ul li a {
            color: #1e293b;
            display: block;
            transition: color 0.2s ease, padding-left 0.2s ease;
        }

        .widget_recent_entries ul li a:hover {
            color: #c724c7;
            padding-left: 6px;
        }

        /* -------------------- Адаптивность -------------------- */
        @media (max-width: 992px) {
            #main-content {
                flex-direction: column;
            }

            .sidebar {
                min-width: 0;
            }

            .post-thumbnail {
                float: none;
                margin-right: 0;
                margin-bottom: 15px;
            }

            .post-thumbnail img {
                width: 100%;
                height: auto;
                aspect-ratio: 16/9;
            }

            #flexslider .slides img {
                height: 250px;
            }

            .slider-caption {
                padding: 20px;
            }

            .slider-caption h2 {
                font-size: 20px;
            }
        }

        @media (max-width: 600px) {
            .container {
                padding: 0 16px;
            }

            .wrapper {
                border-radius: 0;
                margin: 0;
            }

            .top-nav .container {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }

            .search-block {
                width: 100%;
            }

            .search-block input#s {
                flex: 1;
                width: auto;
            }

            .main-menu ul {
                flex-direction: column;
                width: 100%;
            }

            .main-menu ul li a {
                padding: 12px 16px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }

            #main-nav .container {
                padding: 0 16px;
            }

            .item-list {
                padding: 18px;
            }

            .item-list .post-title {
                font-size: 19px;
            }

            .slider-caption h2 {
                font-size: 17px;
            }

            .slider-caption p {
                display: none;
            }

            .pagination {
                justify-content: center;
            }

            .news-pic .post-thumbnail {
                flex: 0 0 calc(50% - 8px);
            }

            .logo h1 {
                font-size: 24px;
            }
        }

        /* Убираем странный блок с партнерскими программами */
        div[style*="position: absolute; top: -136px;"] {
            display: none !important;
        }
        /* Прячем "Templates by BIGtheme NET" */
        div[style*="position: absolute; top: 0px; left: -7000px;"] {
            display: none !important;
        }

        /* фоновое изображение (оставляем, но делаем аккуратным) */
        .background-cover {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: #e9edf2;
            /* если картинка не загрузится – серый фон */
        }

        .background-cover {
            background-image: url('/wp-content/uploads/2016/05/aff2748ba320034f611dfc0b47cc2338.jpg') !important;
            background-size: cover;
            background-position: center;
            opacity: 0.4;
        }

        /* кастомный скролл */
        ::-webkit-scrollbar {
            width: 8px;
            background: #f1f5f9;
        }
        ::-webkit-scrollbar-thumb {
            background: #c724c7;
            border-radius: 20px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #a01ea0;
        }

        /* Убираем лишние отступы у флекс-слайдера в сайдбаре */
        .flexslider {
            margin: 0;
            background: transparent;
            border: none;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        }

        .flexslider .slides img {
            height: auto;
        }

        /* Анимации */
        .fade-in {
            animation: fadeUp 0.6s ease forwards;
            opacity: 0;
        }

        .fade-in.animated1 {
            animation-delay: 0.05s;
        }
        .fade-in.animated2 {
            animation-delay: 0.1s;
        }
        .fade-in.animated3 {
            animation-delay: 0.15s;
        }
        .fade-in.animated4 {
            animation-delay: 0.2s;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* доработка футера */
        .footer-bottom {
            background: #0f172a;
            padding: 20px 0;
            color: #94a3b8;
            text-align: center;
            font-size: 14px;
            border-top: 2px solid #c724c7;
        }

        .footer-bottom .container {
            display: flex;
            justify-content: center;
        }

        #fb-root, #text-2, #flexslider, .post-thumbnail, #tie-slider-widget-2 .slides img, #tie-slider-widget-2, #news-pic-widget-2 {
            display: none;
        }