.articles-search {
    max-width: 900px;
    margin: -30px auto 30px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.articles-search input {
    width: 100%;
    padding: 15px 22px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    outline: none;
}
.articles-no-results {
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fdecec;
    border: 1px solid #f5bcbc;
    color: #a61b1b;
    text-align: center;
}

.articles-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}
.articles-group {
    margin-bottom: 30px;
}
.articles-group h2 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 1.3rem;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.article-card {
    display: flex;
    flex-direction: column;
    background: #c8edff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.16);
}
.article-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: linear-gradient(135deg, #0c6aa6, #59b6f5);
}
.article-card-content {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-card h3 {
    margin: 0 0 8px;
    color: #0c5382;
    font-size: 1.05rem;
    line-height: 1.35;
}
.article-card p {
    margin: 0 0 12px;
    color: #1d4f6e;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}
.article-card .more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0c5382;
    font-weight: 700;
    text-decoration: none;
}
.article-card .more-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .articles-hero { padding: 60px 18px 50px; }
    .article-card img { height: 140px; }
}
