/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-family: Arial, sans-serif;
    --primary: #111;
    --accent: #b535ab;
    --text: #222;
    --muted: #666;
}
body {
    color: var(--text);
    line-height: 1.6;
}

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* HEADER */
.site-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary);
}
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.site-nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
}
.nav-toggle {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
}

/* HERO */
.hero {
    background: #f7f7f7;
    padding: 2rem 0;
    text-align: center;
}
.hero h1 {
    font-size: 2rem;
    color: var(--primary);
}

/* ARTICLE GRID */
.main-content {
    padding: 2rem 0;
}
.articles-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform .2s;
}
.card:hover {
    transform: translateY(-4px);
}
.card-image {
    background: #ddd;
    height: 160px;
}
.card-body {
    padding: 1rem;
}
.card-title {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}
.card-meta {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: .6rem;
}
.card-description {
    font-size: .95rem;
    color: var(--text);
}

/* FOOTER */
.site-footer {
    text-align: center;
    padding: 1rem 0;
    background: #fafafa;
    border-top: 1px solid #ddd;
    font-size: .9rem;
    color: var(--muted);
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
    .site-nav {
        display: none;
        width: 100%;
    }
    .site-nav.open {
        display: block;
    }
    .site-nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0.5rem;
    }
    .nav-toggle {
        display: block;
    }
}
