/* ==================================================
   Archive Page
================================================== */

.archive-page {
    padding: 60px 0 80px;
}

/* ==================================================
   Archive Header
================================================== */

.archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.archive-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.archive-description {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* ==================================================
   Posts Grid
================================================== */

.archive-posts {

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(340px,1fr));

    gap: 30px;
}

/* ==================================================
   Card
================================================== */

.archive-card {

    background: #fff;

    border: 1px solid #e6eef5;

    border-radius: 18px;

    padding: 28px;

    transition: all .25s ease;
}

.archive-card:hover {

    transform: translateY(-5px);

    box-shadow:
    0 12px 30px rgba(0,0,0,.06);
}

/* ==================================================
   Thumbnail
================================================== */

.archive-thumb {

    margin-bottom: 20px;

    overflow: hidden;

    border-radius: 12px;
}

.archive-thumb img {

    width: 100%;

    height: auto;

    display: block;

    transition: transform .3s;
}

.archive-card:hover .archive-thumb img {

    transform: scale(1.04);
}

/* ==================================================
   Title
================================================== */

.archive-card h2 {

    font-size: 24px;

    margin-bottom: 12px;

    line-height: 1.4;
}

.archive-card h2 a {

    color: #222;

    text-decoration: none;
}

.archive-card h2 a:hover {

    color: #3897e6;
}

/* ==================================================
   Meta
================================================== */

.archive-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 15px;

    font-size: 14px;

    color: #888;
}

.archive-meta span {

    display: flex;
    align-items: center;
}

/* ==================================================
   Excerpt
================================================== */

.archive-excerpt {

    color: #666;

    line-height: 1.9;

    font-size: 15px;

    margin-bottom: 20px;
}

/* ==================================================
   Read More
================================================== */

.archive-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 12px 20px;

    background: #3897e6;

    color: #fff;

    font-weight: 600;

    border-radius: 10px;

    text-decoration: none;

    transition: .25s;
}

.archive-btn:hover {

    background: #1f82d6;

    color: #fff;

    transform: translateY(-2px);
}

/* ==================================================
   Empty State
================================================== */

.no-posts {

    text-align: center;

    padding: 80px 20px;

    border: 1px dashed #dbe7f3;

    border-radius: 16px;

    color: #666;

    background: #fafcff;
}

/* ==================================================
   Pagination
================================================== */

.navigation.pagination {

    margin-top: 60px;

    display: flex;

    justify-content: center;
}

.nav-links {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.page-numbers {

    min-width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    border: 1px solid #e6eef5;

    background: #fff;

    color: #222;

    text-decoration: none;

    transition: .25s;
}

.page-numbers:hover {

    border-color: #3897e6;

    color: #3897e6;
}

.page-numbers.current {

    background: #3897e6;

    border-color: #3897e6;

    color: #fff;
}

/* ==================================================
   Breadcrumb
================================================== */

.archive-breadcrumb {

    margin-bottom: 25px;

    font-size: 14px;

    color: #888;
}

.archive-breadcrumb a {

    color: #3897e6;
}

.archive-breadcrumb a:hover {

    text-decoration: underline;
}

/* ==================================================
   Responsive
================================================== */

@media (max-width: 768px) {

    .archive-page {
        padding: 40px 0 60px;
    }

    .archive-header h1 {
        font-size: 32px;
    }

    .archive-posts {
        grid-template-columns: 1fr;
    }

    .archive-card {
        padding: 22px;
    }

    .archive-card h2 {
        font-size: 22px;
    }
}