/* Modern Category Design - CSS */
.modern-category-layout .mcd-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 30px 0;
}

.mcd-modern-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mcd-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.mcd-card-image {
    height: 200px;
    overflow: hidden;
}

.mcd-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mcd-modern-card:hover .mcd-card-image img {
    transform: scale(1.05);
}

.mcd-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mcd-card-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    line-height: 1.4;
}

.mcd-card-content h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.mcd-card-content h3 a:hover {
    color: #3498db;
}

.mcd-meta {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mcd-excerpt {
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.mcd-read-more {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.mcd-read-more:hover {
    background: linear-gradient(135deg, #2980b9, #1c2833);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Header Kategori */
.modern-category-header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-bottom: 40px;
    border-radius: 10px;
}

.modern-category-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.modern-category-description {
    font-size: 1.1em;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
}

/* Pagination */
.modern-category-pagination {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.modern-category-pagination a {
    padding: 12px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.modern-category-pagination a:hover {
    background: #2980b9;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-category-layout .mcd-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modern-category-title {
        font-size: 2em;
    }
    
    .modern-category-pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .modern-category-pagination a {
        text-align: center;
    }
}