/* --- Modern Theme Variables --- */
:root {
  --primary-color: #1a1a2e;
  /* Vibrant Purple */
  --secondary-color: #16213e;
  /* Bright Blue */
  --tertiary-color: #6FB1FC;
  /* Electric Cyan */
  --accent-color: #00e1ff;
  /* Electric Cyan */
  --background-light: #f8f9fa;
  /* Light Gray */
  --background-dark: #1a1a2e;
  /* Deep Navy */
  --text-light: #ffffff;
  --text-dark: #343a40;
  --text-muted-light: rgba(255, 255, 255, 0.7);
  --text-muted-dark: #6c757d;
  --border-color: rgba(255, 255, 255, 0.1);
  /* Subtle border for dark theme */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

/* Blog Header */
.blog-header {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.blog-header h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.blog-header .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Blog List and Post Styles */
.blog-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 20px;
}

.blog-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.blog-card .card-text.text-muted {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    /* margin-top: 1.5em; */
    margin-bottom: 0.8em;
    font-weight: 600;
    color: #222;
}

.blog-content p {
    margin-bottom: 1em;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1em;
    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 0.5em;
}

.blog-content a {
    color: #007bff;
    text-decoration: none;
}

.blog-content a:hover {
    text-decoration: underline;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
}

.blog-content pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.blog-content code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9em;
}

.blog-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 15px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}
