/* Основная сетка страницы */
#articles-page {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Левая колонка – 1 часть, правая – 2 части */
    gap: 20px;
    margin-top: 20px;
}

/* Стили для левой колонки */
.search-container {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-container h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.search-container input[type="text"],
.search-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.search-container button {
    width: 48%;
    padding: 10px;
    background-color: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 4%;
}

.search-container button:last-child {
    margin-right: 0;
}

.search-container button:hover {
    background-color: #b71c1c;
}

/* Стили для правой колонки */
#primary {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#primary h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

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

.article-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article-title {
    font-size: 18px;
    font-weight: bold;
    color: #d32f2f;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.article-title:hover {
    text-decoration: underline;
}

.article-item p {
    margin: 5px 0;
    color: #555;
}
