/*
Theme Name: Rating 
*/
:root {
            --primary: #2A5BDA;
            --primary-light: #4A7BFF;
            --accent: #FF7A45;
            --accent-light: #FF9D78;
            --dark: #1A2138;
            --light: #F8FAFF;
            --gray: #E0E7FF;
            --text: #333;
            --white: #fff;
            --shadow: 0 8px 20px rgba(42, 91, 218, 0.1);
            --transition: all 0.3s ease;
        }

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

        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--text);
            background-color: var(--light);
            line-height: 1.6;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--dark);
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background-color: var(--white);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 22px;
            font-weight: 700;
        }
        
        a.logo-link {
            text-decoration: none;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        nav a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
            position: relative;
            padding: 5px 0;
        }

        nav a:hover {
            color: var(--accent);
        }

        nav a:hover::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--accent);
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: var(--white);
            padding: 60px 0;
            text-align: center;
        }

        .hero h1 {
            font-size: 36px;
            margin-bottom: 15px;
            color: var(--white);
        }

        .hero p {
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }

        .search-form {
            max-width: 600px;
            margin: 0 auto;
            display: flex;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .search-form input {
            flex: 1;
            padding: 15px 25px;
            border: none;
            font-size: 16px;
            outline: none;
        }

        .search-form button {
            background-color: var(--accent);
            color: var(--white);
            border: none;
            padding: 0 30px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .search-form button:hover {
            background-color: var(--accent-light);
        }
		
		.article-meta a{
			color: rgba(255,255,255,0.85);
		}

        /* Main Content */
        .main-content {
            display: flex;
            gap: 30px;
            padding: 40px 0;
        }

        .hosting-list {
            flex: 1;
        }

        /* Hosting Card */
        .hosting-card {
            background-color: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 25px;
            margin-bottom: 30px;
            position: relative;
        }

        .hosting-tabs {
            position: absolute;
            top: 20px;
            right: 20px;
            display: flex;
            background: var(--gray);
            border-radius: 8px;
            overflow: hidden;
        }

        .hosting-tab {
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .hosting-tab.active {
            background: var(--accent);
            color: var(--white);
        }

        .hosting-card-inner {
            display: flex;
            gap: 10px;
        }

        .hosting-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 100px;
        }

        .hosting-logo img {
            max-width: 150px;
        }

        .divider {
            width: 1px;
            background: var(--gray);
            margin: 0 15px;
        }

        .hosting-info {
            flex: 1;
        }

        .info-row {
            display: flex;
            gap: 30px;
            margin-bottom: 15px;
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }

        .info-item i {
            color: var(--primary);
            font-size: 16px;
        }

        .features-btn {
            background: none;
            border: none;
            color: var(--primary);
            font-weight: 600;
            padding: 5px 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
        }

        .features-btn:hover {
            color: var(--accent);
        }

        .hosting-rating {
            min-width: 200px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        .rating-stars {
            color: #FFD700;
            font-size: 20px;
        }

        .rating-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--dark);
        }

        .rating-count {
            font-size: 14px;
            position: relative;
            cursor: help;
        }

        .rating-count:hover::after {
            content: "Источники: Trustpilot, Отзовик";
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--dark);
            color: var(--white);
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 12px;
            white-space: nowrap;
            margin-bottom: 8px;
        }

        .hosting-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 100%;
        }

        .hosting-btn {
            padding: 10px 15px;
            border-radius: 8px;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            transition: var(--transition);
        }

        .primary-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: var(--white);
        }

        .primary-btn:hover {
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
        }

        .secondary-btn {
            background: none;
            border: 1px solid var(--primary);
            color: var(--primary);
        }

        .secondary-btn:hover {
            background: var(--primary);
            color: var(--white);
        }

        /* Sidebar Menu */
        .sidebar {
            width: 280px;
        }

        .sidebar-menu {
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 20px;
        }

        .sidebar-title {
            font-size: 18px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sidebar-title i {
            color: var(--primary);
        }

        .menu-category {
            margin-bottom: 15px;
        }

        .category-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 0;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }

        .category-title:hover {
            color: var(--primary);
        }

        .category-title i {
            transition: var(--transition);
        }

        .category-items {
            padding-left: 20px;
            max-height: 0;
            overflow: hidden;
            transition: var(--transition);
        }

        .menu-category.active .category-items {
            max-height: 500px;
            padding-top: 8px;
        }

        .menu-category.active .category-title i {
            transform: rotate(180deg);
        }

        .menu-item {
            padding: 6px 0;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            transition: var(--transition);
            
            
        }

        .category-items .menu-item a {
        text-decoration: none !important;
        }

        .menu-item:hover {
            color: var(--accent);
        }

        .category-items .menu-item a {
            color: #333; /* Цвет ссылки */
            transition: color 0.3s; /* Плавное изменение цвета */
            display: inline-block; /* Для правильного позиционирования */
        }

        .category-items .menu-item a:hover {
            color: var(--accent); /* Цвет при наведении */
        }

        .menu-item i {
            font-size: 12px;
        }

        /* SEO Section */
        .seo-section {
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 30px;
            margin-bottom: 40px;
        }

        .seo-title {
            font-size: 24px;
            margin-bottom: 20px;
        }

        .seo-content {
            font-size: 16px;
            line-height: 1.8;
        }

        .seo-content p {
            margin-bottom: 15px;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: var(--white);
            padding-top: 50px;
        }

        .footer-columns {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            padding-bottom: 30px;
        }

        .footer-column {
            flex: 1;
            min-width: 200px;
        }

        .footer-title {
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--accent);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--white);
            transform: translateX(5px);
        }

        .footer-links a i {
            width: 20px;
            text-align: center;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px 0;
            text-align: center;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 18px;
            transition: var(--transition);
        }

        .social-icon:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

        .copyright {
            font-size: 14px;
            opacity: 0.7;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
            }
            
            .hosting-tabs {
                position: static;
                margin-bottom: 15px;
            }
            
            .hosting-card {
                padding: 20px;
            }
            
            .hosting-info {
                margin: 15px 0;
            }
            
            .divider {
                display: none;
            }
            
            .hosting-logo {
                min-width: 80px;
            }
            
            .hosting-logo img {
                max-width: 80px;
            }
            
            .info-row {
                flex-wrap: wrap;
                gap: 15px;
            }
        }

        @media (max-width: 768px) {
            .footer-columns {
                flex-direction: column;
            }
            
            nav ul {
                gap: 15px;
            }
            
            .hero h1 {
                font-size: 28px;
            }
            
            .hero p {
                font-size: 16px;
            }
            
            .search-form {
                flex-direction: column;
                border-radius: 12px;
            }
            
            .search-form input,
            .search-form button {
                width: 100%;
                border-radius: 0;
                padding: 12px 20px;
            }
        }

        @media (max-width: 576px) {
            .header-inner {
                flex-direction: column;
                gap: 15px;
            }
            
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        
        /* Стили для модального окна */
#hosting-features-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: #fff;
    margin: 40px auto;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 5px;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Стили для списка функций */
.functions-list {
    margin: 0;
    padding: 0;
    list-style: none;
    column-count: 2;
    column-gap: 30px;
}

.functions-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    break-inside: avoid;
    page-break-inside: avoid;
}

.functions-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
}

.loading-spinner {
    text-align: center;
    padding: 30px 0;
    font-size: 18px;
    color: #666;
}

.error-message {
    color: #dc3545;
    text-align: center;
    padding: 20px;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
    .functions-list {
        column-count: 1;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20px auto;
    }
}


/* Стили для модального окна тарифов */
/* Стили для блока кнопок */
.hosting-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.hosting-action-btn {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.hosting-action-btn i {
    font-size: 16px;
}

.tariffs-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.tariffs-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 91, 218, 0.3);
}

.review-btn {
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
}

.review-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 122, 69, 0.3);
}

/* Модальное окно тарифов перед футером */
.hosting-tariffs-modal {
    display: none;
    position: relative;
    background: rgba(0,0,0,0.7);
    padding: 40px 0;
    z-index: 10000;
}

.hosting-tariffs-modal .modal-content {
    position: relative;
    background: #fff;
    margin: 0 auto;
    padding: 30px;
    width: 90%;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    max-height: 80vh;
    overflow-y: auto;
}

/* Стили для тарифов в модальном окне */
/* Стили для блока кнопок */
.hosting-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.hosting-action-btn {
    flex: 1; /* Равномерное распределение пространства */
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

/* Стили для модальных окон */
.hosting-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    overflow-y: auto;
}

.hosting-modal .modal-content {
    position: relative;
    background: #fff;
    margin: 40px auto;
    padding: 30px;
    width: 90%;
    max-width: 900px; /* Увеличили размер окна */
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

/* Стили для тарифов в модальном окне */
/* Стили для модальных окон */
.hosting-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    overflow-y: auto;
}

.hosting-modal .modal-content {
    position: relative;
    background: #fff;
    margin: 40px auto;
    padding: 30px;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 5px;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

/* Стили для загрузки и ошибок */
.loading-spinner {
    text-align: center;
    padding: 30px 0;
    font-size: 18px;
    color: #666;
}

.error-message {
    color: #dc3545;
    text-align: center;
    padding: 20px;
    font-weight: bold;
}

/* Стили для тарифов в модальном окне */
.tariffs-tabs {
    margin-top: 20px;
}

.tariffs-tab-header {
    display: flex;
    border-bottom: 2px solid var(--gray);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tariff-tab-title {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 16px;
}

.tariff-tab-title.active {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.tariff-tab-pane {
    display: none;
}

.tariff-tab-pane.active {
    display: block;
}

.tariff-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tariff-plan {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray);
}

.tariff-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-light);
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.plan-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray);
    display: flex;
    align-items: center;
}

.plan-features li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
    font-size: 20px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-button {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.plan-button:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 91, 218, 0.3);
}

/* Адаптивность для модального окна */
@media (max-width: 1200px) {
    .tariff-plans {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tariff-plans {
        grid-template-columns: 1fr;
    }
    
    .tariffs-tab-header {
        flex-direction: column;
    }
    
    .tariff-tab-title {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .hosting-modal .modal-content {
        padding: 20px;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .hosting-actions {
        flex-direction: column;
    }
    
    .tariff-plan {
        padding: 20px;
    }
}

/* Стили для заголовка и места в рейтинге */
.hosting-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px 10px; /* Добавлен вертикальный отступ */
    min-height: 70px; /* Минимальная высота для выравнивания */
}

.hosting-title {
    margin: 0;
    text-align: left; /* Выравнивание по левому краю */
    padding: 15px 0 15px 60px; /* Отступ слева для позиции */
}

.hosting-position {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    flex-shrink: 0;
    background: var(--gray);
    color: var(--dark);
    position: relative;
    overflow: hidden;
    padding-top: 5px; /* Добавляем отступ сверху для цифры */
}

/* Стили только для первых трех мест */
.hosting-position.position-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    padding-top: 8px;
}

.hosting-position.position-2 {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
    color: white;
    box-shadow: 0 5px 15px rgba(192, 192, 192, 0.3);
    padding-top: 8px;
}

.hosting-position.position-3 {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: white;
    box-shadow: 0 5px 15px rgba(205, 127, 50, 0.3);
    padding-top: 8px;
}

.position-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -3px; /* Поднимаем текст выше */
    line-height: 1.2; /* Улучшаем межстрочный интервал */
}

/* Эффекты только для первых трех позиций */
.hosting-position.position-1::before,
.hosting-position.position-2::before,
.hosting-position.position-3::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    z-index: 1;
    padding-top: 8px;
}

.hosting-position.position-1::after {
    content: '★';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    
}

/* Адаптивность */
@media (max-width: 768px) {
    .hosting-position {
        width: 50px;
        height: 50px;
        font-size: 20px;
        padding-top: 4px;
    }
    
    .position-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .hosting-title {
        padding-left: 10px;
        font-size: 18px;
    }
}

/* Эффект блеска для первых трех позиций */
.hosting-position-badge.position-1::before,
.hosting-position-badge.position-2::before,
.hosting-position-badge.position-3::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    z-index: 1;
}

/* Звездочка для первого места */
.hosting-position-badge.position-1::after {
    content: '★';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Стили для остальных позиций (4+) */
.hosting-position-badge:not(.position-1):not(.position-2):not(.position-3) {
    background: var(--gray);
    color: var(--dark);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .hosting-position-badge {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-right: 10px;
    }
    
    .hosting-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
}



/* Стили для заголовка без позиции */
.hosting-title.standalone {
    padding-left: 0;
    margin-bottom: 15px;
}

/* Убираем подчеркивание у ссылок заголовка */
.hosting-title-link {
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s ease;
    display: block;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .hosting-position-badge {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .hosting-title {
        padding-left: 50px;
        font-size: 18px;
    }
}

.hosting-title-link:hover {
    text-decoration: none;
    color: var(--primary);
}

/* Страница хостинга */
.hosting-single {
    padding: 40px 20px;
}

.hosting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray);
}

.hosting-title-wrap {
    flex: 1;
}

.hosting-title-wrap h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hosting-update {
    color: #666;
    font-size: 14px;
}

.hosting-logo-button {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.hosting-logo {
    max-height: 60px;
    max-width: 200px;
    object-fit: contain;
}

.hosting-site-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.hosting-site-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 91, 218, 0.3);
}

/* Навигация по вкладкам */
.hosting-tabs-nav {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gray);
}

.hosting-tabs-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.hosting-tabs-nav a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.hosting-tabs-nav a.active,
.hosting-tabs-nav a:hover {
    color: var(--primary);
}

.hosting-tabs-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

/* Контент вкладок */
.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

/* Характеристики */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 3px solid var(--primary);
}

.feature-label {
    font-weight: 600;
    color: var(--dark);
}

.feature-value {
    color: var(--primary);
    font-weight: 500;
}

/* Отзывы */
.hosting-reviews {
    margin-top: 20px;
}

.review {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray);
}

.review-author {
    font-weight: 600;
}

.review-date {
    color: #666;
    font-size: 14px;
}

.review-content {
    line-height: 1.6;
}

.load-more-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--gray);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.load-more-btn:hover {
    background: var(--primary);
    color: white;
}

/* Сайдбар с хостингами */
.hosting-sidebar {
    width: 300px;
    margin-left: 30px;
}

.hosting-list-mini {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.hosting-item-mini {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid transparent;
}

.hosting-item-mini:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 91, 218, 0.1);
}

.hosting-item-mini img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
}

.hosting-info-mini {
    flex: 1;
}

.hosting-position {
    display: block;
    font-weight: 600;
    color: var(--dark);
}

.rating-value {
    color: var(--primary);
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hosting-content {
        flex-direction: column;
    }
    
    .hosting-sidebar {
        width: 100%;
        margin-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hosting-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .hosting-logo-button {
        align-items: flex-start;
    }
    
    .hosting-tabs-nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Страница хостинга - обертка */
.hosting-content-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.hosting-main-content {
    flex: 1;
}

.hosting-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hosting-content-wrapper {
        flex-direction: column;
    }
    
    .hosting-sidebar {
        width: 100%;
        margin-top: 40px;
    }
}

/* Стили для активной вкладки */
.hosting-tabs-nav a.active {
    color: var(--primary);
    position: relative;
}

.hosting-tabs-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

/* Разделы контента */
.hosting-section {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray);
}

.hosting-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Стили для вкладок тарифов */
.tariffs-tabs {
    margin-top: 20px;
}

.tariffs-tab-header {
    display: flex;
    border-bottom: 2px solid var(--gray);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tariff-tab-title {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 16px;
}

.tariff-tab-title.active {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.tariff-tab-pane {
    display: none;
    padding: 20px 0;
}

.tariff-tab-pane.active {
    display: block;
}

.tariff-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tariff-plan {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray);
}

.tariff-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-light);
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.plan-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray);
    display: flex;
    align-items: center;
}

.plan-features li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
    font-size: 20px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-button {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.plan-button:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 91, 218, 0.3);
}

/* Адаптивность для вкладок */
@media (max-width: 1200px) {
    .tariff-plans {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tariff-plans {
        grid-template-columns: 1fr;
    }
    
    .tariffs-tab-header {
        flex-direction: column;
    }
    
    .tariff-tab-title {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}

/* Страница хостинга - обертка */
.hosting-content-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.hosting-main-content {
    flex: 1;
}

.hosting-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hosting-content-wrapper {
        flex-direction: column;
    }
    
    .hosting-sidebar {
        width: 100%;
        margin-top: 40px;
    }
}

/* Стили для активной вкладки */
.hosting-tabs-nav a.active {
    color: var(--primary);
    position: relative;
}

.hosting-tabs-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

/* Разделы контента */
.hosting-section {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray);
}

.hosting-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Форма отзыва */
.review-form-toggle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.review-form-toggle:hover {
    background: var(--primary-light);
}

#review-form-container {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-form-inner h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 6px;
    font-size: 16px;
}

.form-group textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 6px;
    font-size: 16px;
    resize: vertical;
}

.rating-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.rating-category {
    background: rgba(42, 91, 218, 0.05);
    padding: 15px;
    border-radius: 6px;
}

.rating-category label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars .star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.stars .star.active,
.stars .star:hover {
    color: #FFD700;
}

.stars .star:hover ~ .star {
    color: #ddd;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.privacy-agreement {
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.privacy-agreement input {
    margin-right: 10px;
}

.privacy-agreement a {
    color: var(--primary);
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-light);
}

.close-form {
    background: #f0f0f0;
    color: var(--text);
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.close-form:hover {
    background: #e0e0e0;
}

/* Адаптивность формы */
@media (max-width: 768px) {
    .rating-categories {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .submit-btn, .close-form {
        width: 100%;
    }
}

/* Стили для нового сайдбара */
.hosting-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
}

.widget-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #4a6cf7, #6a8cff);
    color: white;
}

.widget-header i {
    font-size: 24px;
    margin-right: 12px;
}

.widget-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.hosting-list-mini {
    padding: 15px;
}

.hosting-item-mini {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    padding-left: 50px;
    background: #f8f9ff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #edf2f7;
}

.hosting-item-mini:hover {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(74, 108, 247, 0.15);
    transform: translateX(5px);
    border-color: #c3dafe;
}

/* Стили для бейджа позиции */
.hosting-position-badge {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    color: white;
    z-index: 10;
    border-radius: 12px 0 12px 0; /* Только правый нижний угол скруглен */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.position-1 {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.position-2 {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    box-shadow: 0 4px 10px rgba(192, 192, 192, 0.3);
}

.position-3 {
    background: linear-gradient(135deg, #cd7f32, #b56c23);
    box-shadow: 0 4px 10px rgba(205, 127, 50, 0.3);
}

.hosting-logo-mini {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 8px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hosting-info-mini {
    flex: 1;
}

.hosting-title-mini {
    font-weight: 700;
    color: #2d3748;
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.rating-mini {
    display: flex;
    align-items: center;
}

.stars-mini {
    display: flex;
    margin-right: 8px;
}

.stars-mini i {
    font-size: 14px;
    color: #ffc107;
    margin-right: 2px;
}

.rating-value-mini {
    font-weight: 700;
    color: #4a6cf7;
    font-size: 15px;
}

.categories-list {
    padding: 15px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #f8f9ff;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #4a6cf7;
    color: white;
    transform: translateX(5px);
}

.category-item i {
    font-size: 20px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.promo-banner {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 0;
    display: flex;
}

.promo-content {
    padding: 25px;
    flex: 1;
}

.promo-content h4 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 10px;
}

.promo-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.promo-btn {
    background: white;
    color: #ff6b6b;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.promo-icon {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
}

.promo-icon i {
    font-size: 36px;
}

.subscribe-form {
    padding: 20px;
}

.subscribe-form p {
    color: #718096;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 15px;
}

.subscribe-form .form-group {
    display: flex;
    margin-bottom: 15px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    font-size: 15px;
}

.subscribe-form .subscribe-btn {
    background: #4a6cf7;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form .subscribe-btn:hover {
    background: #3a56e6;
}

.privacy-note {
    display: flex;
    align-items: center;
    color: #a0aec0;
    font-size: 13px;
}

.privacy-note i {
    margin-right: 8px;
}

/* Обновленные стили для отзывов */
    .reviews-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .hosting-rating-summary {
        background: #fff;
        border-radius: 16px;
        padding: 30px;
        margin-bottom: 40px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .rating-summary-item {
        text-align: center;
        padding: 20px;
        border-radius: 12px;
        background: #f8f9ff;
    }
    
    .summary-label {
        font-size: 18px;
        font-weight: 600;
        color: #4a5568;
        margin-bottom: 10px;
    }
    
    .summary-value {
        font-size: 42px;
        font-weight: 800;
        color: #4a6cf7;
        margin-bottom: 15px;
    }
    
    .rating-summary-item .stars {
        display: flex;
        justify-content: center;
        gap: 5px;
    }
    
    .rating-summary-item .star {
        font-size: 28px;
        color: #e2e8f0;
    }
    
    .rating-summary-item .star.active {
        color: #ffc107;
    }
    
    .rating-summary-item .star.half {
        position: relative;
    }
    
    .rating-summary-item .star.half:before {
        content: '★';
        position: absolute;
        left: 0;
        width: 50%;
        overflow: hidden;
        color: #ffc107;
    }
    
    .rating-metrics {
        grid-column: span 2;
    }
    
    @media (max-width: 992px) {
        .rating-metrics {
            grid-column: span 1;
        }
    }
    
    .metric-bar {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .metric-label {
        width: 120px;
        font-weight: 600;
        color: #4a5568;
        font-size: 16px;
    }
    
    .bar-container {
        flex: 1;
        height: 18px;
        background: #edf2f7;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        margin: 0 15px;
    }
    
    .bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #4a6cf7, #6a8cff);
        border-radius: 10px;
        position: relative;
        transition: width 1s ease;
    }
    
    .bar-fill:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    }
    
    .metric-value {
        width: 70px;
        text-align: right;
        font-weight: 700;
        color: #4a6cf7;
        font-size: 16px;
    }
    
    .reviews-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .review-card {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        padding: 30px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-top: 4px solid #4a6cf7;
        position: relative;
        overflow: hidden;
    }
    
    .review-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }
    
    .review-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 20px;
        border-bottom: 1px solid #f0f4ff;
    }
    
    .review-avatar .avatar {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #f0f4ff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .review-author-info {
        margin-left: 18px;
        flex-grow: 1;
    }
    
    .review-author {
        font-weight: 700;
        font-size: 19px;
        color: #2d3748;
        display: block;
        margin-bottom: 5px;
    }
    
    .review-date {
        font-size: 15px;
        color: #718096;
        font-weight: 500;
    }
    
    .review-overall-rating {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 15px;
    }
    
    .average-rating {
        font-size: 26px;
        font-weight: 800;
        color: #4a6cf7;
        line-height: 1;
        margin-bottom: 5px;
    }
    
    .review-overall-rating .stars {
        display: flex;
        margin-top: 3px;
    }
    
    .review-summary {
        margin-bottom: 25px;
    }
    
    .summary-text {
        font-size: 19px;
        font-weight: 600;
        color: #2d3748;
        margin: 0;
        padding: 15px 20px;
        background: #f8f9ff;
        border-radius: 12px;
        border-left: 4px solid #4a6cf7;
    }
    
    .detailed-ratings {
        display: flex;
        gap: 30px;
        margin-bottom: 30px;
        padding: 20px;
        background: #f8f9ff;
        border-radius: 16px;
    }
    
    @media (max-width: 768px) {
        .detailed-ratings {
            flex-direction: column;
            gap: 15px;
        }
    }
    
    .ratings-column {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .rating-category {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    
    .category-title {
        font-weight: 600;
        color: #4a5568;
        font-size: 16px;
        flex: 1;
    }
    
    .rating-category .stars {
        display: flex;
        gap: 3px;
    }
    
    .rating-category .star {
        color: #e2e8f0;
        font-size: 18px;
        transition: color 0.2s;
    }
    
    .rating-category .star.active {
        color: #ffc107;
    }
    
    .rating-category .star.half {
        position: relative;
    }
    
    .rating-category .star.half:before {
        content: '★';
        position: absolute;
        left: 0;
        width: 50%;
        overflow: hidden;
        color: #ffc107;
    }
    
    .pros, .cons {
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .pros {
        background: rgba(72, 187, 120, 0.08);
        border-left: 4px solid #48bb78;
    }
    
    .cons {
        background: rgba(245, 101, 101, 0.08);
        border-left: 4px solid #f56565;
    }
    
    .pros-title, .cons-title {
        font-weight: 700;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 18px;
    }
    
    .pros-title {
        color: #48bb78;
    }
    
    .cons-title {
        color: #f56565;
    }
    
    .pros p, .cons p {
        color: #4a5568;
        line-height: 1.7;
        font-size: 16px;
        margin: 0;
    }
    
    .no-reviews {
        text-align: center;
        padding: 50px 30px;
        background: #f8f9ff;
        border-radius: 16px;
        border: 2px dashed #c3dafe;
    }
    
    .no-reviews i {
        font-size: 52px;
        color: #c3dafe;
        margin-bottom: 20px;
        display: block;
    }
    
    .no-reviews p {
        font-size: 20px;
        color: #718096;
        margin: 0;
        font-weight: 500;
    }
    
    .load-more-btn {
        display: block;
        width: 100%;
        padding: 18px;
        background: linear-gradient(135deg, #4a6cf7, #6a8cff);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        margin-top: 40px;
        transition: all 0.3s ease;
        box-shadow: 0 6px 15px rgba(74, 108, 247, 0.3);
    }
    
    .load-more-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(74, 108, 247, 0.4);
    }
    
    .review-form-toggle {
        background: #4a6cf7;
        color: white;
        border: none;
        padding: 14px 25px;
        font-size: 17px;
        font-weight: 600;
        border-radius: 10px;
        cursor: pointer;
        margin-bottom: 0;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
    }
    
    .review-form-toggle:hover {
        background: #3a56e6;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(74, 108, 247, 0.4);
    }
    /* Добавляем стили для характеристик "Да/Нет" */
    .feature-value-yes {
        color: #48bb78;
        font-weight: 600;
        position: relative;
        padding-left: 25px;
    }
    
    .feature-value-yes:before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        background-color: #48bb78;
        border-radius: 50%;
        display: inline-block;
        margin-right: 8px;
    }
    
    .feature-value-yes:after {
        content: '✓';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        color: white;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-value-no {
        color: #f56565;
        font-weight: 600;
        position: relative;
        padding-left: 25px;
    }
    
    .feature-value-no:before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        background-color: #f56565;
        border-radius: 50%;
        display: inline-block;
        margin-right: 8px;
    }
    
    .feature-value-no:after {
        content: '✕';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        color: white;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Фильтры в шапке */

    .hosting-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    font-size: 15px;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: white;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A5BDA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 91, 218, 0.3);
}

.filter-reset {
    align-self: flex-end;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hosting-filters {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-reset {
        align-self: stretch;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hosting-filters {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-reset {
        width: 100%;
        margin-top: 10px;
    }
}


.redirect-container {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.redirect-loader {
    margin-bottom: 30px;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 5px solid rgba(42, 91, 218, 0.2);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.redirect-message {
    color: #666;
    font-size: 16px;
    margin-top: 20px;
}

.redirect-message a {
    color: var(--primary);
    text-decoration: underline;
}

/* Стили для страницы 404 */
    .error-404 {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80vh;
        padding: 40px 0;
    }
    
    .error-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        padding: 40px;
        background: var(--white);
        border-radius: 20px;
        box-shadow: 0 15px 50px rgba(42, 91, 218, 0.15);
    }
    
    .error-icon {
        margin-bottom: 30px;
    }
    
    .icon-circle {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: pulse 2s infinite;
    }
    
    .icon-circle i {
        font-size: 60px;
        color: white;
    }
    
    .error-404 h1 {
        font-size: 42px;
        margin-bottom: 20px;
        color: var(--dark);
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .error-message {
        font-size: 18px;
        color: #555;
        margin-bottom: 30px;
        line-height: 1.7;
    }
    
    .error-404 .search-form {
        max-width: 600px;
        margin: 0 auto 40px;
        display: flex;
        border-radius: 50px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(42, 91, 218, 0.2);
    }
    
    .error-404 .search-form input {
        flex: 1;
        padding: 18px 25px;
        border: none;
        font-size: 16px;
        outline: none;
    }
    
    .error-404 .search-form button {
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        color: var(--white);
        border: none;
        padding: 0 35px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .error-404 .search-form button:hover {
        background: linear-gradient(135deg, var(--primary-light), var(--primary));
    }
    
    .popular-hostings {
        margin: 40px 0 30px;
    }
    
    .popular-hostings h3 {
        font-size: 24px;
        margin-bottom: 25px;
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }
    
    .popular-hostings h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--accent);
    }
    
    .hosting-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }
    
    .hosting-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 25px 20px;
        background: var(--white);
        border-radius: 16px;
        text-decoration: none;
        color: var(--text);
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        position: relative;
        border: 2px solid transparent;
    }
    
    .hosting-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(42, 91, 218, 0.2);
        border-color: var(--primary-light);
    }
    
    
    
  
    .hosting-logo {
        height: 70px;
        margin-bottom: 20px;
        object-fit: contain;
    }
    
    .hosting-title {
        font-weight: 700;
        font-size: 18px;
        color: var(--dark);
        margin-bottom: 15px;
        text-align: center;
    }
    
    .rating {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .stars {
        display: flex;
    }
    
    .stars i {
        font-size: 16px;
        color: #FFD700;
    }
    
    .rating-value {
        font-weight: 700;
        color: var(--primary);
    }
    
    .action-buttons {
        margin-top: 40px;
    }
    
    .home-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 15px 30px;
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 18px;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(42, 91, 218, 0.3);
    }
    
    .home-btn:hover {
        background: linear-gradient(135deg, var(--primary-light), var(--primary));
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(42, 91, 218, 0.4);
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    
    /* Адаптивность */
    @media (max-width: 768px) {
        .error-content {
            padding: 30px 20px;
        }
        
        .icon-circle {
            width: 100px;
            height: 100px;
        }
        
        .icon-circle i {
            font-size: 50px;
        }
        
        .error-404 h1 {
            font-size: 32px;
        }
        
        .error-message {
            font-size: 16px;
        }
        
        .hosting-grid {
            grid-template-columns: 1fr;
        }
    }
    
    @media (max-width: 480px) {
        .error-404 .search-form {
            flex-direction: column;
            border-radius: 12px;
        }
        
        .error-404 .search-form input,
        .error-404 .search-form button {
            width: 100%;
            padding: 15px;
            border-radius: 0;
        }
        
        .home-btn {
            width: 100%;
            justify-content: center;
        }
    }

    /* Мобильная адаптация карточек */
@media (max-width: 768px) {
  .hosting-card {
    padding: 15px;
  }
  
  .hosting-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .hosting-position {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .hosting-card-inner {
    flex-direction: column;
    gap: 15px;
  }
  
  .divider {
    display: none;
  }
  
  .hosting-info {
    width: 100%;
  }
  
  .info-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .info-item {
    flex: 1 0 45%;
    font-size: 14px;
  }
  
  .hosting-rating {
    width: 100%;
    align-items: center;
  }
  
  .hosting-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .hosting-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .hosting-btn, .hosting-action-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  
  .features-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

/* Оптимизация для очень маленьких экранов */
@media (max-width: 480px) {
  .hosting-card {
    padding: 10px;
  }
  
  .hosting-title {
    font-size: 18px;
  }
  
  .info-item {
    flex: 1 0 100%;
  }
  
  .rating-stars {
    font-size: 16px;
  }
  
  .rating-value {
    font-size: 20px;
  }
}

/* Фиксация для заголовка без позиции */
.hosting-title.standalone {
  margin-bottom: 15px;
}

/* Адаптация фильтров */
@media (max-width: 768px) {
  .hosting-filters {
    flex-direction: column;
    gap: 12px;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .filter-select {
    width: 100%;
  }
  
  .filter-reset {
    align-self: center;
  }
}

/* Стили для уведомления о cookies */
#cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(42, 91, 218, 0.95);
  color: white;
  padding: 15px 0;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  font-family: 'Open Sans', sans-serif;
}

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

.cookie-text {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  flex: 1;
}

.cookie-text i {
  font-size: 24px;
  color: #FFD700;
}

.cookie-text a {
  color: #FFD700;
  text-decoration: underline;
}

.cookie-text a:hover {
  text-decoration: none;
}

.cookie-btn {
  background: #FF7A45;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.cookie-btn:hover {
  background: #FF9D78;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 122, 69, 0.3);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .cookie-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cookie-text {
    flex-direction: column;
    gap: 8px;
  }
  
  .cookie-btn {
    margin-left: 0;
    width: 100%;
    max-width: 200px;
  }
  
  #cookie-consent {
    padding: 15px 0;
  }
}

@media (max-width: 480px) {
  .cookie-text {
    font-size: 13px;
  }
  
  .cookie-btn {
    padding: 8px 15px;
  }
}

.infinity-icon {
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    margin-top: -4px;
    font-weight: 700;
    color: var(--primary);
}


/* Стили для стартового тарифа */
.start-tariff-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
    padding: 6px 12px;
    background: rgba(42, 91, 218, 0.08);
    border-radius: 8px;
    display: inline-block;
}

/* Стили для второго ряда информации */
.info-row.second-row {
    font-size: 14px;
    gap: 15px;
    margin-top: 5px;
    display: block;
}

.info-row.second-row .info-item {
    flex: 1 0 100%;
    padding: 5px 0;
}

/* Уменьшение иконок */
.info-row.second-row .info-item i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .start-tariff-title {
        font-size: 14px;
        width: 100%;
        text-align: left;
    }
    
    .info-row.second-row {
        flex-direction: column;
        gap: 5px;
    }
}

/* Стили для оранжевой кнопки "Перейти на сайт" */
.hosting-btn.primary-btn {
    background: linear-gradient(135deg, #FF7A45, #FF9D78);
    color: white;
}

.hosting-btn.primary-btn:hover {
    background: linear-gradient(135deg, #FF9D78, #FF7A45);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 122, 69, 0.3);
}

/* Стили для синей кнопки "Обзор" */
.hosting-action-btn.review-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white !important;
}

.hosting-action-btn.review-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 91, 218, 0.3);
}

/* Уменьшение размера кнопок "Тарифы" и "Обзор" */
.hosting-action-btn {
    padding: 8px 15px;
    font-size: 14px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .hosting-action-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .hosting-btn.primary-btn {
        padding: 10px 15px;
        font-size: 15px;
    }
}

/* Стили для активных пунктов меню */
.sidebar .menu-item.current-menu-item > a,
.sidebar .menu-item.active > a {
    color: var(--accent) !important;
    font-weight: 600;
}

.sidebar .menu-item.current-menu-item > a:before,
.sidebar .menu-item.active > a:before {
    content: "▶";
    position: absolute;
    left: -15px;
    color: var(--accent);
    font-size: 12px;
}

/* Анимация для категорий меню */
.menu-category .category-items {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Для активной категории */
.menu-category.active .category-items {
    max-height: 500px !important;
    opacity: 1 !important;
}

.menu-category.active .category-title i {
    transform: rotate(180deg) !important;
}

/* Для неактивных категорий принудительно закрываем */
.menu-category:not(.active) .category-items {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden;
}

.menu-category:not(.active) .category-title i {
    transform: rotate(0deg) !important;
}

/* Текст на странице хостинга */
section.seo-section ul {
    margin: 0 0 10px 40px;
}

section.seo-section p {
    margin-bottom: 10px;
    
    
}

/* ===== Стили для текстового контента в .seo-section ===== */
.seo-section {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.seo-section h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 2px solid var(--gray);
    padding-bottom: 10px;
}

.seo-section h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.seo-section h4 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 600;
}

.seo-section p {
    margin-bottom: 20px;
}

.seo-section ul,
.seo-section ol {
    margin: 0 0 25px 20px;
    padding-left: 20px;
}

.seo-section li {
    margin-bottom: 8px;
}

.seo-section ul li {
    list-style-type: disc;
}

.seo-section ol li {
    list-style-type: decimal;
}

.seo-section blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: var(--light);
    border-left: 4px solid var(--accent);
    font-style: italic;
    border-radius: 0 8px 8px 0;
    color: var(--dark);
    font-size: 18px;
}

.seo-section blockquote p:last-child {
    margin-bottom: 0;
}

.seo-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.seo-section th,
.seo-section td {
    border: 1px solid var(--gray);
    padding: 12px 15px;
    text-align: left;
}

.seo-section th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.seo-section tr:nth-child(even) {
    background: var(--light);
}

.seo-section a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.seo-section a:hover {
    color: var(--accent);
    text-decoration: none;
}

.seo-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.seo-section pre,
.seo-section code {
    background: var(--light);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: var(--dark);
}

.seo-section pre {
    padding: 15px;
    overflow-x: auto;
    margin: 20px 0;
    border-left: 3px solid var(--primary);
}

.seo-section pre code {
    background: none;
    padding: 0;
}

.seo-section hr {
    margin: 30px 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray), transparent);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .seo-section h2 {
        font-size: 24px;
    }
    .seo-section h3 {
        font-size: 20px;
    }
    .seo-section {
        font-size: 15px;
    }
    .seo-section blockquote {
        font-size: 16px;
        padding: 15px 20px;
    }
}



/* ===== Список статей (горизонтальные карточки) ===== */
.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.article-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(42, 91, 218, 0.05);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(42, 91, 218, 0.15);
    border-color: rgba(42, 91, 218, 0.15);
}

/* Изображение */
.article-card__image {
    flex: 0 0 280px;
    height: 220px;
    display: block;
    overflow: hidden;
    position: relative;
    background: #f0f4ff;
}

.article-card__image .article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

/* Текстовая часть */
.article-card__content {
    padding: 30px 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-card__title {
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card__title a {
    color: #1A2138;
    text-decoration: none;
    transition: color 0.25s;
    font-weight: 700;
}

.article-card__title a:hover {
    color: var(--primary);
}

.article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #6b7280;
}

.article-card__meta i {
    margin-right: 6px;
    color: var(--primary);
}

.article-card__excerpt {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
}

.article-card__btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 35px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(42, 91, 218, 0.3);
}

.article-card__btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 91, 218, 0.4);
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #fff;
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.2s;
    border: 1px solid #e5e7eb;
}
.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .page-numbers:hover:not(.current) {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Состояние без статей */
.no-articles {
    text-align: center;
    padding: 80px 20px;
    font-size: 20px;
    color: #9ca3af;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-card {
        flex-direction: column;
    }
    .article-card__image {
        flex: 0 0 200px;
        height: 200px;
        width: 100%;
    }
    .article-card__content {
        padding: 20px 25px 25px;
    }
    .article-card__title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .article-card__content {
        padding: 20px;
    }
    .article-card__btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* ===== Хлебные крошки ===== */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 15px;
    color: #6b7280;
    margin: 20px 0 10px;
    padding: 0;
    list-style: none;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    text-decoration: none;          /* убираем стандартное подчёркивание */
    color: var(--primary);
    transition: color 0.2s;
    border-bottom: 1px solid transparent; /* подготавливаем нижнюю линию */
    padding-bottom: 2px;
}

.breadcrumb-item a:hover {
    color: var(--accent);
    border-bottom: 1px solid var(--accent); /* только одна линия при наведении */
}

.breadcrumb-sep {
    margin: 0 8px;
    color: #9ca3af;
    user-select: none;
}

.breadcrumb-item.current {
    color: #374151;
    font-weight: 600;
    pointer-events: none;
    border-bottom: none;            /* у текущего элемента линии быть не должно */
}

/* ===== Оглавление статьи ===== */
.article-toc {
    background: #f8faff;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 35px;
}

.article-toc__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

/* Повышенная специфичность + !important для гарантии */
ul.article-toc__list {
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
	margin: 0 0 0 0;
	padding-left: 10px;
}

ul.article-toc__list li {
    list-style: none !important;
    font-size: 14px;
    line-height: 1.1;
}

ul.article-toc__list a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

ul.article-toc__list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-toc {
        padding: 20px;
    }
}

.article-meta .fa-user {
    color: rgba(255,255,255,0.7);
}

/* ===== Нижняя строка карточки: автор + время чтения ===== */
.article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
}
.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-author__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    background: #f0f4ff;
}
.article-author__name {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}
.article-reading-time {
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
}
.article-reading-time i {
    color: var(--primary);
    margin-right: 4px;
}
.article-author__name:hover {
    color: var(--primary);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .article-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Кнопки действий под заголовком статьи */
.article-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
	justify-content: center;
}

.article-action-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-action-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

.article-action-btn.bookmarked {
    background: var(--accent);
    border-color: var(--accent);
}

.article-action-btn.copied {
    background: var(--primary);
    border-color: var(--primary);
}

.article-action-btn i {
    font-size: 16px;
}


/* Уведомление (тостер) */
#custom-toast {
    animation: fadein 0.3s ease;
}

@keyframes fadein {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Счётчик просмотров в карточке */
.article-views-count {
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 15px; /* небольшой отступ от автора */
}

.article-views-count i {
    color: var(--primary);
}

/* Прижимаем время чтения к правому краю */
.article-reading-time {
    margin-left: auto;
}

/* ===== FAQ в статье ===== */
.article-faq {
    margin-top: 40px;
    background: #f8faff;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 30px;
}

.article-faq__title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    color: var(--dark);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(42,91,218,0.1);
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* достаточно для любого контента */
    padding: 0 20px 20px;
}

.faq-answer-inner {
    border-top: 1px solid #edf2f7;
    padding-top: 15px;
    line-height: 1.7;
    color: #4a5568;
}

.user-account {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}
.user-account a {
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.user-account a:hover {
    color: var(--accent);
}
@media (max-width: 768px) {
    .user-account {
        margin-left: 0;
        justify-content: center;
        margin-top: 10px;
    }
}

/*Текстовый блок ОБЗОР ХОСТИНГА на странице хостинга*/

.hosting-overview {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #2c3038;
  max-width: 860px;
  margin: 0 auto;
  word-wrap: break-word;
}

/* Абзацы и списки */
.hosting-overview p {
  margin: 0 0 1.4em 0;
}

.hosting-overview ul,
.hosting-overview ol {
  margin: 0 0 1.6em 0;
  padding-left: 2em;
}

.hosting-overview li {
  margin-bottom: 0.5em;
}

.hosting-overview li::marker {
  display:none;
}

/* Заголовки */
.hosting-overview h2 {
  font-size: 1.75em;
  font-weight: 700;
  line-height: 1.25;
  margin: 2.2em 0 0.6em;
  color: #11161f;
  border-bottom: 2px solid #e9eef2;
  padding-bottom: 0.35em;
}

.hosting-overview h3 {
  font-size: 1.35em;
  font-weight: 650;
  line-height: 1.3;
  margin: 1.8em 0 0.5em;
  color: #1a1f29;
}

/* Ссылки */
.hosting-overview a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,102,204,0.25);
  transition: border-color 0.2s, color 0.2s;
}

.hosting-overview a:hover {
  color: #004a99;
  border-bottom-color: #004a99;
}

/* Блочные цитаты */
.hosting-overview blockquote {
  margin: 2em 0;
  padding: 1.2em 1.6em;
  background: #f4f7fa;
  border-left: 4px solid #cbd5e1;
  font-size: 0.98em;
  color: #2e3641;
  border-radius: 0 8px 8px 0;
}

.hosting-overview blockquote p {
  margin: 0 0 0.6em;
}

.hosting-overview blockquote em {
  display: block;
  margin-top: 0.6em;
  font-size: 0.92em;
  color: #5a6375;
  font-style: normal;
}

/* Таблицы */
.hosting-overview table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0 2em;
  font-size: 0.95em;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.hosting-overview thead th {
  background: #f0f4f9;
  color: #0f172a;
  font-weight: 650;
  padding: 0.8em 1em;
  text-align: left;
  border-bottom: 2px solid #ccd7e4;
}

.hosting-overview tbody td {
  padding: 0.75em 1em;
  border-bottom: 1px solid #e9edf2;
  vertical-align: top;
}

.hosting-overview tbody tr:last-child td {
  border-bottom: none;
}

.hosting-overview tbody tr:nth-child(even) {
  background: #fafbfc;
}

/* Код и преформатированный текст */
.hosting-overview code {
  font-family: 'Fira Code', 'Cascadia Code', Consolas, monospace;
  font-size: 0.92em;
  background: #f1f5f9;
  color: #1e293b;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  word-break: break-word;
}

.hosting-overview pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.2em 1.5em;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.8em 0;
  font-size: 0.9em;
  line-height: 1.55;
  tab-size: 2;
}

.hosting-overview pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
  border-radius: 0;
}

/* Выделение жирным */
.hosting-overview strong {
  font-weight: 650;
  color: #0f172a;
}

/* Эмодзи */
.hosting-overview img.emoji {
  height: 1.2em;
  width: 1.2em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.2em;
}

/* Раскрывающиеся блоки FAQ */
.hosting-overview details {
  margin-bottom: 1.5em;
  border: 1px solid #dce3eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.hosting-overview summary {
  font-weight: 650;
  padding: 1em 1.3em;
  cursor: pointer;
  background: #f8fafc;
  list-style: none;
  transition: background 0.2s;
  border-bottom: 1px solid transparent;
}

.hosting-overview details[open] summary {
  background: #f0f4f9;
  border-bottom-color: #dce3eb;
}

.hosting-overview summary::-webkit-details-marker {
  display: none;
}

.hosting-overview summary::before {
  content: '+ ';
  font-weight: bold;
  color: #0066cc;
  margin-right: 0.4em;
}

.hosting-overview details[open] summary::before {
  content: '− ';
  color: #c2410c;
}

.hosting-overview .schema-faq-answer,
.hosting-overview details > div[itemprop="acceptedAnswer"] {
  padding: 0.8em 1.3em 1.3em;
  font-size: 0.98em;
  color: #2d3542;
}

/* Улучшение вертикального ритма */
.hosting-overview > *:first-child {
  margin-top: 0;
}

.hosting-overview > *:last-child {
  margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hosting-overview {
    font-size: 16px;
    padding: 0 0.5em;
  }

  .hosting-overview table {
    font-size: 0.85em;
  }

  .hosting-overview h2 {
    font-size: 1.5em;
  }

  .hosting-overview h3 {
    font-size: 1.2em;
  }

  .hosting-overview pre {
    font-size: 0.82em;
    padding: 1em;
  }
}