.articles_section {
    padding: 100px 0;
    background: #fff;
}

.articles_container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Search */

.search_wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.search_wrapper input {
    width: 100%;
    max-width: 420px;

    padding: 14px 20px;

    border: 1px solid oklch(0.9 0.01 120);
    border-radius: 999px;

    outline: none;

    font-size: 15px;
    font-family: Inter, sans-serif;
}

.search_wrapper input:focus {
    border-color: oklch(0.62 0.13 80);
}

/* Grid */

.articles_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Cards */

.article_card {
    overflow: hidden;

    border-radius: 16px;

    background: white;

    border: 1px solid oklch(0.92 0.01 120);

    box-shadow:
        0 4px 12px rgba(0,0,0,0.05);

    transition: 0.3s ease;
}

.article_card:hover {
    transform: translateY(-8px);
}

.article_card img {
    width: 100%;
    height: 220px;

    object-fit: cover;

    display: block;
}

.article_content {
    padding: 24px;
}

.article_meta {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 18px;
}

.category {
    padding: 6px 12px;

    border-radius: 999px;

    background: oklch(0.95 0.04 120);

    color: oklch(0.28 0.09 145);

    font-size: 12px;
    font-weight: 600;
}

.date {
    color: oklch(0.45 0.02 145);

    font-size: 13px;
}

.article_content h3 {
    color: oklch(0.28 0.09 145);

    font-family: "Playfair Display", serif;

    font-size: 28px;

    line-height: 1.3;

    margin-bottom: 16px;
}

.article_content p {
    color: oklch(0.45 0.02 145);

    line-height: 1.8;

    margin-bottom: 24px;
}

.article_content a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    text-decoration: none;

    color: oklch(0.28 0.09 145);

    font-weight: 600;
}

.article_content a:hover {
    color: oklch(0.62 0.13 80);
}
/* Tablet */

@media (max-width: 992px) {

    .articles_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article_content h3 {
        font-size: 24px;
    }
}

/* Mobile */

@media (max-width: 768px) {

    .articles_section {
        padding: 70px 0;
    }

    .articles_grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .search_wrapper {
        margin-bottom: 35px;
    }

    .article_content {
        padding: 20px;
    }

    .article_content h3 {
        font-size: 22px;
    }

    .article_content p {
        font-size: 15px;
    }
}
