/* TITRE PAGE */

.page-title {
    text-align: center;
    padding: 50px 10%;
    background: #f8f9fa;
}

.page-title h2 {
    color: #1E3A8A;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-title p {
    color: #444;
}


/* BLOG GRID */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 50px 10%;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card:hover {
    transform: translateY(-5px);
    border: 2px solid #16A34A;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    color: #1E3A8A;
    margin-bottom: 10px;
}

.blog-content p {
    color: #555;
    margin-bottom: 15px;
}


/* PAGINATION */

.pagination {
    text-align: center;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}


/* POPUP ARTICLE */

.article-box {
    background: #fff;
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.article-box h2 {
    color: #1E3A8A;
    margin-bottom: 15px;
}

.article-box p {
    color: #333;
    line-height: 1.6;
}

.article-detail {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.article-image {
    width: 450px;
    max-width: 100%;
    max-height: 350px;
    object-fit: cover;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.back-btn {
    background: #004aad;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
}

.back-btn i {
    margin-right: 8px;
}

.blog-card {
    border-radius: 12px;
    background: #fff;
    padding: 15px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}