/* Modern Color System */
:root {
  /* Light Theme Colors */
  --bg-gradient: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  --bg-primary: #ffffff;
  --bg-secondary: #f4f7fd;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --brand-primary: #2563eb;
  --brand-secondary: #3b82f6;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --header-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  --badge-bg: #eef2ff;
  --badge-text: #4f46e5;
}

[data-bs-theme=dark] {
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --brand-primary: #60a5fa;
  --brand-secondary: #3b82f6;
  --border-color: #334155;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --header-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  --badge-bg: #312e81;
  --badge-text: #a5b4fc;
}

/* Base Styles */
body {
  background: var(--bg-gradient);
  color: var(--text-primary);
  min-height: 100vh;
}

/* Header Styles */
.navbar {
  background: var(--bg-primary) !important;
  box-shadow: var(--header-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}
.navbar .navbar-brand img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.navbar .nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
  color: var(--brand-primary);
  background: var(--bg-secondary);
}

/* Search Bar */
.search-form .form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 10px;
}
.search-form .form-control:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  border-color: var(--brand-primary);
}
.search-form .btn-search {
  background: var(--brand-primary);
  color: white;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
}
.search-form .btn-search:hover {
  background: var(--brand-secondary);
  transform: translateY(-1px);
}

/* Blog Cards */
.blog-card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.1);
}
.blog-card .featuredImage {
  flex: 1;
}
.blog-card .card-img-wrapper {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}
.blog-card .card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-card .card-body {
  padding: 1.5rem;
}
.blog-card .card-title {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.blog-card .card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card .card-title a:hover {
  color: var(--brand-primary);
}
.blog-card .card-text {
  color: var(--text-secondary);
  line-height: 1.6;
}
.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.blog-card .blog-meta i {
  color: var(--brand-primary);
}
.blog-card .category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Latest Posts Section */
.section-title {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 4px;
  background: var(--brand-primary);
  border-radius: 2px;
}

/* Categories Section */
.categories-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}
.categories-section .category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.categories-section .category-link:hover {
  background: var(--bg-secondary);
  color: var(--brand-primary);
}
.categories-section .category-link .count {
  background: var(--badge-bg);
  color: var(--badge-text);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Advertisement Space */
.advertisement-space {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 2px dashed var(--border-color);
  color: var(--text-muted);
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-toggle:hover {
  background: var(--brand-primary);
  color: white;
  transform: rotate(15deg);
}/*# sourceMappingURL=blog.css.map */