:root {
    --primary-color: #1a365d;
    --secondary-color: #2b6cb0;
    --accent-color: #ed8936;
    --background-color: #f7fafc;
    --text-color: #2d3748;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header.site-header a {
    color: white;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.9;
}

.site-nav a:hover {
    color: #fff;
    opacity: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Blog Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.post-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.post-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.post-card a.post-title-link {
    color: var(--text-color);
}

.post-card a.post-title-link:hover {
    color: var(--secondary-color);
}

.post-date {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 1rem;
}

/* Single Post */
.single-post {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin: 3rem auto;
}

.single-post h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.single-post .post-date {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.post-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    color: #718096;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #718096;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #cbd5e0;
}

.breadcrumb [aria-current="page"] {
    color: var(--primary-color);
    font-weight: 600;
}

/* Meta Box */
.meta-box {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
