.articles-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.articles-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff4c4c;
}

/* Filtr */
.filter-form {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-form label {
    font-weight: bold;
    margin-right: 0.5rem;
}

.filter-form select {
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #ff4c4c;
    background-color: #1e1e1e;
    color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-form select:hover,
.filter-form select:focus {
    background-color: #2c2c2c;
    outline: none;
}

/* Články */
.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}


.article-card {
    background-color: #1e1e1e;
    border: 2px solid #ff4c4c;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    box-shadow: 0 0 10px rgba(255, 76, 76, 0.3);
    transition: background-color 0.3s ease;
}

.article-card:hover {
    background-color: #2c2c2c;
}

.article-card h2 {
    margin-bottom: 0.5rem;
    color: #ff4c4c;
}

.article-card p {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card small {
    color: #aaa;
    font-style: italic;
    font-size: 0.85rem;
}

.read-more {
    color: #ff4c4c;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}
.pagination {
    display: inline-block;
    font-family: Arial, sans-serif;
}

.pagination a,
.pagination strong {
    color: #ff4c4c;
    padding: 8px 12px;
    margin: 0 4px;
    text-decoration: none;
    border: 2px solid #ff4c4c;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    user-select: none;
}

.pagination a:hover {
    background-color: #ff4c4c;
    color: #1e1e1e;
}

.pagination strong {
    background-color: #ff4c4c;
    color: #1e1e1e;
    cursor: default;
    pointer-events: none;
    font-weight: bold;
}
.article-detail-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
}

.article-detail-container h1 {
    font-size: 3rem;
    color: #ff4c4c;
    text-align: center;
    margin-bottom: 1rem;
}

.article-detail-container small {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    color: #bbb;
    font-size: 0.95rem;
}

.btn-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 8px 16px;
    background-color: transparent;
    color: #ff4c4c;
    border: 2px solid #ff4c4c;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-back:hover {
    background-color: #ff4c4c;
    color: #1e1e1e;
    text-decoration: none;
}

.article-block {
    background-color: #1a1a1a;
    border-left: 5px solid #ff4c4c;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 76, 76, 0.2);
}

.article-block h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #ff4c4c;
}

.article-block p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

.article-block img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(255, 76, 76, 0.25);
}

.sources {
    background-color: #141414;
    border-top: 2px solid #ff4c4c;
    margin-top: 3rem;
    padding-top: 2rem;
}

.sources h3 {
    font-size: 1.5rem;
    color: #ff4c4c;
    margin-bottom: 1rem;
}

.sources ul {
    padding-left: 1.2rem;
}

.sources ul li {
    margin-bottom: 0.5rem;
}

.sources ul li a {
    color: #ff4c4c;
    text-decoration: none;
}

.sources ul li a:hover {
    text-decoration: underline;
}
