html { scroll-behavior: smooth; }

body { 
	min-width: 1850px;
    background: #EAEAEA; font-family: Verdana, sans-serif;
}


a {text-decoration: inherit; color: inherit;}

.topside {
    top: 8px;
    margin-left: 5%;
    width: 1728px;
    height: 100px;
    position: sticky;
    z-index: 1000;
    margin-top: 5px;
    background-color: #C62E3E;
    color: #faf0e6;
    border-radius: 10px;
}

.links {
    width: 210px; 
    height: 765px; 
    margin-left: 96px; 
    margin-top: 10px;
    background-color: #fff;
    font-size: 17px;

}

.useful {
    margin-top: 15px;
    margin-left: -20px;
    cursor: pointer;
    text-decoration: none; /* Убираем подчеркивание */
    border: none;
}

.plate {

    width: 1440px; 
    height: auto;
    min-height: 400px; 
    margin-left: 27px; 
    margin-top: 10px;
    background-color: #D1CDCD;

    border-top: solid #D1CDCD;

    overflow-y: auto;
}

.back {
    position:initial;
    width: 1632px; 
    height: auto;  
    margin-left: 140px; 
    margin-top: 10px;
    background-color: #D1CDCD;
    overflow-y: auto;
    padding-left: 0px;
}

.back_child {
    height: 400px;
    width: 400px;
    margin-left: 616px;
    margin-top: 150px;

    background-color: #A8A8A8;
    border-top: solid #A8a8a8;

}

p {margin: auto;}

.clicker {
    margin-top: 0px;
    text-align: center;
    color: #e8e1db; /* Цвет обычной ссылки */
    background: inherit;
    position: relative;
    cursor: pointer;
    text-decoration: none; /* Убираем подчеркивание */
    border: none;
    font-size: 25px;
}

.search {
    margin-top: 0px;
    position: relative;
    border: none;
    font-size: 25px;
}
.glass {
    margin-top: 0px;
    position: relative;
    cursor: pointer;
    font-size: 25px;
    text-decoration: none; /* Убираем подчеркивание */
    background-color: inherit;
    border: none;
}

.logo {
    margin-top: 5px;
    margin-left: 5px;
    height: 60px;
    width: 60px;
}

.btn {
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 20px;
	margin: 0 15px 15px 0;
	outline: none;
	border: none;  
	border-radius: 4px;
	height: 32px;
	line-height: 32px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: #fff;
	background-color: #3775dd;
	box-shadow: 0 2px #21487f;
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
}
.btn:hover {
	background-color: #002fed;
}
.btn:active {
	background-color: #2f599e !important;
}
.btn:focus-visible {
	box-shadow: 0 0 0 3px lightskyblue;
}
.btn:disabled {
	background-color: #6c87b5;
	pointer-events: none;
}

.filters {
    width: 250px; 
    height: 400px; 
    margin-left: 96px; 
    margin-top: -10000rem;
    background-color: #969696;
    position: sticky;
    border-top: solid #969696;
    top: 120px;
}

.themes {
    width: 200px; 
    height: 100px;  
    margin-left: 25px;
    margin-top: 25px;
    font-size: 25px;
    color: #faf0e6;

    background-color: #C62E3E; 
    border-radius: 10px;
}

.dates {
    width: 200px; 
    height: 200px;  
    margin-left: 25px;
    margin-top: 45px;
    font-size: 25px;
    color: #faf0e6;

    background-color: #C62E3E; 
    border-radius: 10px;
}

.article {
    width: 1200px;
    min-height: 350px;
    height: auto;
    margin-top: 10px;
    margin-left: 120px;
    margin-bottom: 40px;;
    background-color: #eeeeee;
    border-radius: 10px;;
}

    .article:hover{
        cursor: pointer;
        background-color: #dbafaf;
    }

    .u_links {
        text-align: center;
        font-size: 25px; 
        cursor: pointer;
        
    }


.inside_table{
    width: 95%;
    height: 95%;
    margin-left: 2.5%;
    padding-top: 1%;
}

/* Анимация для ячеек с публикациями */
        .publication-cell {
            border-radius: 15px;
            background: #eeeeee;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .publication-cell:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
            background: #f5f5f5;
        }
        
        .publication-cell::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(200, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .publication-cell:hover::after {
            opacity: 0.8;
        }
        
        /* Для плавного появления контента */
        .publication-content {
            opacity: 0.9;
            transition: opacity 0.3s ease;
            position: relative;
            z-index: 1;
            height: 100%;
            padding: 15px;
            box-sizing: border-box;
        }
        
        .publication-cell:hover .publication-content {
            opacity: 1;
        }
        
        /* Заголовок публикации */
        .publication-title {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }
        
        /* Текст публикации */
        .publication-text {
            font-size: 14px;
            color: #555;
        }
/*================================*/
        /* Общие стили для ячеек с социальными кнопками */
.social-cell {
    border-radius: 15px;
    background: #eeeeee;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 5px;
}

.social-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background: #f5f5f5;
}

.social-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-cell:hover::after {
    opacity: 0.8;
}

/* Стили для контента внутри ячеек */
.social-content {
    opacity: 0.9;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-cell:hover .social-content {
    opacity: 1;
}

/* Стили для текста и иконок */
.u_links {
    font-size: 14px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Специальный размер для иконки Telegram */
.social-cell:nth-child(2) .social-icon {
    width: 17px;
    height: 17px;
}

/* Сохраняем стандартные стили для ссылок */
.social-cell a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}



.service-cell {
    border-radius: 15px;
    background: #eeeeee;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 5px;
}

.service-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background: #f5f5f5;
}

.service-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-cell:hover::after {
    opacity: 0.8;
}

/* Стили для контента внутри ячеек */
.service-content {
    opacity: 0.9;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-cell:hover .service-content {
    opacity: 1;
}

/* Стили для текста и иконок */
.u_links {
    font-size: 14px;
    color: #333;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.service-icon {
    width: 20px;
    height: 20px;
}

/* Специальный размер для иконки телефона */
.service-cell:nth-child(2) .service-icon {
    width: 17px;
    height: 17px;
}

/* Сохраняем стандартные стили для ссылок */
.service-cell a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Общие стили */
.links {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg,rgb(219, 52, 52),rgb(182, 89, 89));
}

/* Стили для полезных ссылок */
.links ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.links ul li.useful {
    text-align: center;
    margin-bottom: 12px;
    transition: transform 0.2s;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.links ul a {
    text-decoration: none;
    color: #34495e;
    display: block;
}

.links ul li.useful:hover {
    transform: translateX(5px);
    background: #f0f7ff;
    background: linear-gradient(135deg, rgba(200, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0) 100%);
}

.links ul li.useful:hover a {
    color: #2980b9;
}

* Стили для таблицы социальных сетей */
.links table {
    border-collapse: separate;
    border-spacing: 15px;
}

.links table td.useful {
    background: #eeeeee;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.links table td.useful::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.links table td.useful:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.links table td.useful:hover::after {
    opacity: 0.8;
}

.links table img {
    vertical-align: middle;
}

/* Адаптивность */
@media (max-width: 600px) {
    .social-table {
        border-spacing: 10px;
    }
    
    .social-table td.useful {
        width: 40px;
        height: 40px;
    }
    
    .links ul li.useful {
        padding: 10px 12px;
    }
}


/*новый артикл*/
.article {
                                    transition: all 0.3s ease;
                                    padding: 10px;
                                    border-radius: 8px;
                                }
                                
                                .article:hover {
                                    background: linear-gradient(135deg, rgba(200, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0) 100%);
                                    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                                    transform: translateY(-3px);
                                }
                                
                                .article:hover .inside_table {
                                    transform: scale(0.98);
                                }
                                
                                .article:hover p {
                                    color: #222 !important;
                                    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
                                }
                                
                                .article:hover td {
                                    border-color: rgba(255, 255, 255, 0.3) !important;
                                }
                                    .article:hover {
        background: linear-gradient(135deg, rgba(200, 50, 50, 0.15) 0%, rgba(255, 100, 100, 0) 100%);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    
    .article:hover div {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #fff;

    }
