:root {
    --background: #ffffff; --background-light: #f8f9fa; --foreground: #212529; --muted-foreground: #6c757d;
    --primary-blue: hsl(206, 90%, 54%); --primary-green: hsl(158, 77%, 52%); --card-border: #e9ecef;
    --card-bg: #ffffff; --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); --radius-lg: 16px;
}

/* Page Header */
.page-header { background: white; padding: 3rem 0; text-align: center; border-bottom: 1px solid var(--card-border); }
.page-header h1 { font-size: 2.8rem; font-weight: 700; color: var(--foreground); }
.page-header p { font-size: 1.1rem; color: var(--muted-foreground); max-width: 700px; margin: 0.5rem auto 0; }
.page-header .text-gradient { background: linear-gradient(90deg, var(--primary-blue), var(--primary-green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Main Blog Layout */
.blog-section { padding: 4rem 0; }
.blog-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 3rem; align-items: flex-start; }

/* Featured Post */
.featured-post { background: var(--card-bg); border-radius: var(--radius-lg); border: 1px solid var(--card-border); overflow: hidden; margin-bottom: 3rem; display: grid; grid-template-columns: 1fr 1fr; }
.featured-post-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-content { padding: 2.5rem; }
.post-meta { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.post-meta .category { color: var(--primary-blue); font-weight: 600; }
.featured-post-content h2 { font-size: 1.8rem; margin-bottom: 1rem; line-height: 1.3; }
.featured-post-content h2 a { color: var(--foreground); text-decoration: none; }
.featured-post-content .excerpt { margin-bottom: 1.5rem; }
.read-more { font-weight: 600; }

/* Post Grid */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.post-card { background: var(--card-bg); border-radius: var(--radius-lg); border: 1px solid var(--card-border); overflow: hidden; text-decoration: none; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card-content { padding: 1.5rem; }
.post-card-content h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--foreground); }

/* Sidebar */
.blog-sidebar .sidebar-widget { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 2rem; }
.sidebar-widget h4 { font-size: 1.2rem; margin-bottom: 1rem; border-bottom: 1px solid var(--card-border); padding-bottom: 0.75rem; }
.search-form { display: flex; }
.search-form input { flex-grow: 1; border: 1px solid var(--card-border); padding: 0.75rem; border-radius: 8px 0 0 8px; }
.search-form button { border: 1px solid var(--primary-blue); background: var(--primary-blue); color: white; padding: 0 1rem; border-radius: 0 8px 8px 0; cursor: pointer; }
.category-list, .recent-posts-list { list-style: none; padding-left: 0; }
.category-list li, .recent-posts-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--card-border); }
.category-list li:last-child, .recent-posts-list li:last-child { border-bottom: none; }
.recent-posts-list span { font-size: 0.8rem; color: var(--muted-foreground); display: block; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; }
.page-link { display: block; padding: 0.75rem 1rem; border: 1px solid var(--card-border); background: white; border-radius: 8px; font-weight: 500; color: var(--primary-blue); }
.page-link:hover { background: var(--background-light); }
.page-link.active { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }

@media (max-width: 992px) { .blog-layout, .featured-post { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .post-grid { grid-template-columns: 1fr; } }