* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f3f4f6;
    color: #111827;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* HERO */
.hero {
    background: #111827;
    color: white;
    padding: 50px 40px;
}

.breadcrumbs {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 32px;
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

/* SIDEBAR */
.sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    height: fit-content;
}

.sidebar h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.category {
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 8px;
    background: #f9fafb;
    transition: 0.2s;
}

.category:hover {
    background: #e5e7eb;
}

/* BLOGS GRID */
.blogs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-3px);
}

.card-img {
    height: 140px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
}

.excerpt {
    font-size: 14px;
    color: #4b5563;
}

.read-more {
    margin-top: auto;
    padding: 10px;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.read-more:hover {
    background: #1d4ed8;
}

.read-more a{
    color: inherit;
}

/* PAGINATION */
.pagination {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 30px !important;
}

.page {
    padding: 8px 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
}

.page.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}