/*
Theme Name: Neve Child
Theme URI: https://themeisle.com/themes/neve/
Template: neve
Description: Дочерняя тема для Neve
Version: 1.0
Text Domain: neve-child
*/

/* Импортируем стили родительской темы */
@import url("../neve/style.css");

.infinity-symbol {
    font-size: 1.6em;
    font-weight: bold;
    line-height: 1;
    vertical-align: middle;
}
.copyright {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.copyright p {
    margin: 0;
    opacity: 0.8;
}


/* Адаптивность для кнопок сортировки */
@media (max-width: 768px) {
    .sort-buttons {
        gap: 8px;
    }
    
    .sort-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .sort-icon {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sort-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .sort-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Стили для блока rating-info-section */
.rating-info-section {
    padding: 80px 0;
    background: #f8fafc;
}

.rating-info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 50px;
    line-height: 1.2;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon {
    font-size: 24px;
}

.info-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.info-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.no-hostings-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.no-hostings-message h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 10px;
}

.no-hostings-message p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Адаптивность для rating-info-section */
@media (max-width: 768px) {
    .rating-info-section {
        padding: 60px 0;
    }
    
    .rating-info-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-item {
        padding: 25px 20px;
    }
    
    .info-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .info-icon {
        font-size: 20px;
    }
    
    .info-item h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .info-item p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .rating-info-section {
        padding: 50px 0;
    }
    
    .rating-info-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .info-item {
        padding: 20px 15px;
    }
    
    .info-item h3 {
        font-size: 1.1rem;
    }
    
    .info-item p {
        font-size: 0.9rem;
    }
}
.sort-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sort-label {
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .sort-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .sort-buttons {
        width: 100%;
    }
}

    .sidebar-rating-widget {
        background: white;
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid #e5e7eb;
    }

    .sidebar-rating-header {
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #f1f5f9;
    }

    .sidebar-rating-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: #1e293b;
        margin: 0 0 5px 0;
        line-height: 1.2;
    }

    .rating-subtitle {
        color: #64748b;
    }

    /* Список хостингов */
    .sidebar-rating-list-extra-large {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Карточка хостинга */
    .sidebar-rating-item-extra-large {
        display: block;
        text-decoration: none;
        color: inherit;
        padding: 10px 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .sidebar-rating-item-extra-large:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
        transform: translateX(2px);
        text-decoration: none;
    }

    /* Контент - ВЫРАВНИВАЕМ ПО ЦЕНТРУ */
    .hosting-content-extra-large {
        display: flex;
        align-items: center; /* Выравниваем по центру по вертикали */
        justify-content: space-between;
        gap: 15px;
        height: 60px; /* Фиксированная высота контейнера */
    }

    /* Логотип - РОВНОЕ ВЫРАВНИВАНИЕ */
    .hosting-logo-extra-large {
        flex: 1;
        display: flex;
        align-items: center; /* Центрируем по вертикали */
        height: 100%; /* Занимает всю высоту контейнера */
    }

    .hosting-logo-extra-large img {
        max-width: 100%;
        max-height: 60px; /* Максимальная высота */
        height: auto;
        width: auto;
        object-fit: contain;
        border-radius: 6px;
        background: white;
        padding: 0; /* Убираем внутренние отступы */
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        border: 1px solid #e5e7eb;
        display: block;
    }

    /* Рейтинг - ТОЧНОЕ ВЫРАВНИВАНИЕ */
    .hosting-rating-extra-large {
        flex-shrink: 0;
        font-size: 16px;
        font-weight: 700;
        color: #059669;
        background: #f0fdf4;
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid #bbf7d0;
        text-align: center;
        min-width: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 36px; /* Фиксированная высота для ровного выравнивания */
        margin: 0; /* Убираем внешние отступы */
    }

    /* Цвета для рейтингов */
    .sidebar-rating-item-extra-large:nth-child(1) .hosting-rating-extra-large {
        background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
        color: #059669;
        border-color: #86efac;
    }

    .sidebar-rating-item-extra-large:nth-child(2) .hosting-rating-extra-large {
        background: linear-gradient(135deg, #eff6ff, #dbeafe);
        color: #2563eb;
        border-color: #93c5fd;
    }

    .sidebar-rating-item-extra-large:nth-child(3) .hosting-rating-extra-large {
        background: linear-gradient(135deg, #fef3c7, #fde68a);
        color: #d97706;
        border-color: #fcd34d;
    }

    .sidebar-rating-item-extra-large:nth-child(4) .hosting-rating-extra-large {
        background: linear-gradient(135deg, #fdf2f8, #fbcfe8);
        color: #db2777;
        border-color: #f9a8d4;
    }

    .sidebar-rating-item-extra-large:nth-child(5) .hosting-rating-extra-large {
        background: linear-gradient(135deg, #faf5ff, #e9d5ff);
        color: #7c3aed;
        border-color: #c4b5fd;
    }

    /* Футер */
    .sidebar-rating-footer {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 2px solid #f1f5f9;
        text-align: center;
    }

    .view-all-link {
        display: inline-block;
        color: #2563eb;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .view-all-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .sidebar-rating-widget {
            padding: 15px;
        }
        
        .sidebar-rating-title {
            font-size: 1.2rem;
        }
        
        .sidebar-rating-item-extra-large {
            padding: 8px 10px;
        }
        
        .hosting-content-extra-large {
            gap: 12px;
            height: 50px; /* Меньше на мобильных */
        }
        
        .hosting-logo-extra-large img {
            max-height: 50px;
        }
        
        .hosting-rating-extra-large {
            font-size: 15px;
            padding: 6px 10px;
            min-width: 55px;
            height: 32px;
        }
    }

    @media (max-width: 480px) {
        .hosting-content-extra-large {
            height: 45px;
            gap: 10px;
        }
        
        .hosting-logo-extra-large img {
            max-height: 45px;
        }
        
        .hosting-rating-extra-large {
            font-size: 14px;
            padding: 5px 8px;
            min-width: 50px;
            height: 30px;
        }
        
        .sidebar-rating-list-extra-large {
            gap: 10px;
        }
    }
    .games-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
}

.games-table th {
    background: #111;
    color: #fff;
    padding: 8px;
}

.games-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.games-table tr:nth-child(even) {
    background: #f7f7f7;
}

.games-table td.win {
    color: green;
    font-weight: bold;
}

.games-table td.lose {
    color: red;
    font-weight: bold;
}
    
    