:root {
    /* inspired minimalist color system */
    --primary: #0073aa;        /* WordPress blue for links */
    --primary-dark: #005177;   
    --secondary: #666666;      /* Muted gray */
    --text: #333333;           /* Dark gray text */
    --text-light: #666666;     /* Light gray text */
    --text-meta: #999999;      /* Meta text */
    
    /* Clean neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #dddddd;
    --gray-400: #cccccc;
    --gray-500: #999999;
    --gray-600: #666666;
    --gray-700: #333333;
    --gray-800: #222222;
    --gray-900: #111111;
    
    /* Academic typography */
    --font-serif: 'Georgia', 'Times New Roman', Times, serif;
    --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;
    
    /* Minimal spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
    
    /* No border radius - clean edges */
    --radius-none: 0px;
    --radius-sm: 3px;
    
    /* Subtle shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.1);
    
    /* Smooth transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
}

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

body {
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

/* Layout System */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.content-area {
    max-width: none;
}

.sidebar {
    background: var(--white);
    padding: 0;
    border: none;
}

.grid {
    display: grid;
    gap: var(--space-lg);
}

.flex {
    display: flex;
    gap: var(--space-md);
}

.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Typography System */
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

/* Header - Centered title with tabs below */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    margin-bottom: 20px;
}

.header-content {
    text-align: center;
}

.site-title {
    margin: 0 0 20px 0;
}

.site-title a {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition-base);
}

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

.main-nav {
    border-top: 1px solid var(--gray-200);
    padding-top: 15px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background-color: var(--gray-100);
    transform: translateY(-1px);
}

.nav-link:active {
    transform: translateY(0);
}

/* Hero/Intro Section - Minimal */
.hero {
    margin-bottom: var(--space-3xl);
    text-align: left;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: var(--space-md);
    color: var(--text);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    font-style: italic;
    line-height: 1.5;
}

/* Post Cards - Clean List Style */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.post-entry {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-entry:last-child {
    border-bottom: none;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.post-title a {
    color: var(--text);
    text-decoration: none;
}

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

.post-meta {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-meta);
    margin-bottom: 15px;
}

.post-meta a {
    color: var(--primary);
    text-decoration: none;
}

.post-meta a:hover {
    text-decoration: underline;
}

.post-excerpt {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.post-excerpt p {
    margin: 0;
    color: var(--text);
}

.post-categories {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-meta);
}

.post-categories a {
    color: var(--primary);
    text-decoration: none;
}

.post-categories a:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    color: var(--primary);
    text-decoration: none;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

.page-numbers:hover {
    background: #f5f5f5;
}

.page-numbers.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Sidebar - Exact Style */
.sidebar {
    background: var(--white);
    padding: 0;
    border: none;
}

.widget {
    margin-bottom: 30px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
}

.widget-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: bold;
    color: var(--text);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Email Subscription Widget */
.email-form {
    margin: 15px 0;
}

.email-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    font-family: var(--font-serif);
    font-size: 0.9rem;
}

.email-button {
    padding: 8px 15px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

.email-button:hover {
    background: var(--primary-dark);
}

.subscriber-count {
    font-size: 0.8rem;
    color: var(--text-meta);
    margin: 10px 0 0 0;
}

/* Widget Lists */
.popular-list,
.archive-list,
.comment-list,
.blogroll-list,
.recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-list li,
.blogroll-list li,
.recent-posts-list li {
    margin-bottom: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.archive-list li,
.comment-list li {
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.popular-list a,
.archive-list a,
.comment-list a,
.blogroll-list a,
.recent-posts-list a {
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-serif);
}

.popular-list a:hover,
.archive-list a:hover,
.comment-list a:hover,
.blogroll-list a:hover,
.recent-posts-list a:hover {
    text-decoration: underline;
}

.comment-list li {
    font-size: 0.8rem;
    color: var(--text-meta);
}

/* Widget paragraph text */
.widget p {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 10px 0;
    color: var(--text);
}

/* Tag filters styling */
.tag-filters {
    display: none; /* Hide the tag filters completely */
}

/* Keeping these styles for future reference if needed */
.tag-filters .tag {
    display: none; /* Hide all tag buttons */
}

.tag-filters .tag:hover {
    display: none;
}

.tag-filters .tag.active {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .sidebar {
        border-left: none;
        border-top: 1px solid var(--gray-200);
        margin-top: var(--space-xl);
    }
    
    .header-content {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .nav-menu {
        gap: var(--space-lg);
    }
}

/* Utilities */
.hidden { display: none; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }