body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f4f8;
    line-height: 1.6;
    color: #333;
}

.c-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 2.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 1.8rem;
}

.c-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.c-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.c-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.c-card a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
}

.c-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 1.2rem;
    display: block;
}

.c-paginat {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin: 3rem 0 1rem;
    flex-wrap: wrap;
}

.c-paginat a,
.c-paginat span {
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    background: #e0e0e0;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.c-paginat a:hover {
    background: #3498db;
    color: white;
}

.c-paginat a.active {
    background: #2c3e50;
    color: white;
    font-weight: bold;
}

.article-c {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 1.05rem;
}

.article-c img {
    width: 240px;
    height: auto;
    border-radius: 12px;
    float: left;
    margin: 0 1.5rem 1.5rem 0;
}

.related-c {
    margin: 3.5rem 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-c a {
    display: block;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #3498db;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.related-c a:hover {
    background: #e3f2fd;
    color: #1976d2;
}
