/* ==========================================================================
   Category Archive – 4-col grid, diakopes.gr style
   ========================================================================== */

.dk-category-archive {
    padding: 80px 0 60px;
    background: #fff;
}

/* ── Header block (beige) ── */
.dk-cat-header-block {
    background: #f5f0e8;
    padding: 35px 30px 25px;
    margin-bottom: 35px;
}

.dk-cat-title-link {
    text-decoration: none;
    color: #1a1a1a;
}

.dk-cat-title-link:hover,
.dk-cat-title-link:focus {
    text-decoration: none;
    color: #555;
}

.dk-cat-title {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.dk-cat-line {
    width: 60px;
    height: 4px;
    background: #1a1a1a;
}

/* ── 4-Column Grid ── */
.dk-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* ── Card ── */
.dk-cat-card {
    display: flex;
    flex-direction: column;
}

/* Image */
.dk-cat-card-image {
    overflow: hidden;
    margin-bottom: 14px;
}

.dk-cat-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.dk-cat-card-image img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dk-cat-card-image a:hover img {
    transform: scale(1.03);
}

/* Details */
.dk-cat-card-details {
    display: flex;
    flex-direction: column;
}

.dk-cat-card-details .dk-article-cat a {
    text-decoration: none;
}

.dk-cat-card-details .dk-article-cat span {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    padding: 3px 8px;
    line-height: 1;
    transition: all 0.2s ease;
}

.dk-cat-card-details .dk-article-cat a:hover span {
    background: #1a1a1a;
    color: #fff;
}

.dk-cat-card-details h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 8px 0 6px;
}

.dk-cat-card-details a {
    text-decoration: none;
    color: #1a1a1a;
}

.dk-cat-card-details a:hover,
.dk-cat-card-details a:hover h3 {
    color: #555;
    text-decoration: none;
}

/* Meta */
.dk-cat-card-meta {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.dk-cat-card-meta .dk-author {
    font-weight: 600;
    color: #666;
}

.dk-cat-card-meta .dk-views {
    margin-left: 10px;
    color: #999;
}

.dk-cat-card-meta .dk-views i {
    margin-right: 3px;
}

/* ── Pagination ── */
.dk-cat-pagination {
    margin-top: 45px;
}

.dk-cat-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dk-cat-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dk-cat-pagination .page-numbers.current {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.dk-cat-pagination .page-numbers:hover {
    background: #f0f0f0;
    text-decoration: none;
}

.dk-cat-pagination .page-numbers.current:hover {
    background: #1a1a1a;
}

/* ── Empty state ── */
.dk-section-empty {
    text-align: center;
    padding: 50px 20px;
    color: #aaa;
    font-size: 15px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .dk-cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

@media (max-width: 767px) {
    .dk-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .dk-cat-header-block {
        padding: 25px 20px 20px;
    }

    .dk-cat-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .dk-cat-card-image img {
        height: 160px;
    }

    .dk-cat-card-details h3 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .dk-cat-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dk-cat-card-image img {
        height: 200px;
    }
}
