:root {
  --primary: #00FF9D;
  --primary-dark: #00995E;
  --primary-light: #4ade80;
  --secondary: #64748b;
  --success: #22c55e;
  --danger: #ff4d4d;
  --warning: #eab308;
  --bg-base: #181f2a;
  --bg-surface: rgba(255, 255, 255, 0.05);
  --bg-elevated: rgba(255, 255, 255, 0.1);
  --bg-hover: rgba(255, 255, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-light: #999999;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 15px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  background-image: url(../images/mainbg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  background-color: transparent;
  padding: 0 15px;
}

.blog-header {
  display: none;
}

.blog-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.blog-hero {
  background: none !important;
  min-height: 70vh !important;
  padding: 0;
  text-align: center;
  margin: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: -100px; /* This compensates for body padding-top: 100px from main style.css */
  padding-top: 100px; /* Add padding to maintain proper spacing */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 255, 157, 0.03) 0%, transparent 50%);
  z-index: 1;
  margin: 0;
  padding: 0;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.15), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.15), transparent),
    radial-gradient(1px 1px at 160px 30px, rgba(255, 255, 255, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: float 20s linear infinite;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.hero-text {
  text-align: left;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 50%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.gradient-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Hero Search */
.hero-search {
  margin-bottom: 3rem;
}

.hero-search-form {
  max-width: 500px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border: none;
  overflow: visible;
  transition: all 0.3s ease;
  box-shadow: none;
  max-width: 500px;
  width: 100%;
}

@media (max-width: 768px) {
  .search-wrapper {
    flex-direction: column;
    gap: 0;
  }
}

.search-wrapper:focus-within {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.search-icon {
  display: none;
}

.hero-search-input {
  flex: 1;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: white;
  font-size: 1.1rem;
  outline: none;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 0;
  width: 100%;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.hero-search-btn {
  padding: 1.25rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border: none;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
  position: relative;
}

.hero-search-btn::before {
  content: 'Search';
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-search-btn:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 255, 157, 0.4);
}

/* Show search text on hover for wider buttons */
@media (min-width: 768px) {
  .hero-search-btn:hover::before {
    opacity: 1;
    position: static;
    margin-right: 0.5rem;
  }
  
  .hero-search-btn:hover {
    width: auto;
    padding: 1.25rem 2rem;
    border-radius: 50px;
    height: auto;
    min-height: 60px;
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  min-width: 100px;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.2);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #00FF9D;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Hero Featured Post */
.hero-featured {
  display: flex;
  justify-content: center;
  align-items: center;
}

.featured-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  transition: all 0.4s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.featured-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 255, 157, 0.3);
  border-color: rgba(0, 255, 157, 0.3);
}

.featured-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.1);
}

.featured-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.featured-badge {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.4);
}

.featured-content {
  padding: 1.5rem;
}

.featured-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  align-items: center;
}

.featured-category {
  background: rgba(0, 255, 157, 0.2);
  color: #00FF9D;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
}

.featured-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.featured-title {
  margin-bottom: 1rem;
}

.featured-title a {
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: block;
}

.featured-title a:hover {
  color: #00FF9D;
}

.featured-excerpt {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.9rem;
  font-weight: 400;
}

.featured-read-more {
  color: #00FF9D;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.featured-read-more:hover {
  color: white;
  transform: translateX(5px);
}

.featured-read-more i {
  transition: transform 0.3s ease;
}

.featured-read-more:hover i {
  transform: translateX(3px);
}

/* Enhanced Filters Section */
.blog-filters {
  background: none !important;
  box-shadow: none !important;
  padding: 3rem 0;
  margin-bottom: 0;
  border-radius: 0;
  margin: 0;
  border: none !important;
  position: relative;
  overflow: hidden;
}

.blog-filters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.03) 0%, transparent 50%);
  z-index: 1;
}

.blog-filters::after {
  display: none;
}

.filters-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.filters-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  background: linear-gradient(135deg, #ffffff 0%, #00FF9D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.filters-header p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

.filters-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.filter-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  justify-content: center;
}

.filter-section h3::before {
  content: '';
  width: 3px;
  height: 1.25rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-radius: 2px;
}

/* Category Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
  min-width: 120px;
  justify-content: center;
}

.category-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.category-pill:hover::before,
.category-pill.active::before {
  left: 0;
}

.category-pill:hover,
.category-pill.active {
  color: #0f172a;
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.3);
}

.pill-count {
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.category-pill:hover .pill-count,
.category-pill.active .pill-count {
  background: rgba(15, 23, 42, 0.2);
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.tag-item {
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag-item:hover,
.tag-item.active {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  color: #0f172a;
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

/* Enhanced Filter Results */
.filter-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  border: 1px solid var(--border-color);
  margin: 0 1rem 2rem 1rem;
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.results-header h2 {
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.results-header h2 i {
  color: var(--primary);
}

.result-count {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.clear-filters {
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.clear-filters:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Enhanced Empty State */
.empty-state {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--text-secondary);
}

.empty-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  font-size: 3rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 255, 157, 0.3);
}

.empty-state h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.empty-state p {
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.6;
}

.empty-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

/* Enhanced Blog Cards */
.blog-card.featured-card {
  /* Same size as regular cards - no special grid spanning */
}

.card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.card-category a {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg-base);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-title {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Pagination */
.pagination {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin: 3rem 1rem 0 1rem;
}

.pagination-info {
  display: flex;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.pagination-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Newsletter Section */
.newsletter-section {
  background: transparent;
  padding: 2rem 0;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.03) 0%, transparent 50%);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.newsletter-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.newsletter-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  font-weight: 400;
}

.newsletter-form {
  max-width: 300px;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 8px 20px rgba(0, 255, 157, 0.12);
  transform: translateY(-1px);
}

.newsletter-input-group input {
  flex: 1;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.9rem;
  outline: none;
  font-weight: 500;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.newsletter-input-group button {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border: none;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-input-group button:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transform: translateX(1px);
  box-shadow: 0 2px 8px rgba(0, 255, 157, 0.18);
}

/* Blog Main */
.blog-main {
  background: none !important;
  min-height: unset !important;
  padding: 4rem 0;
  margin: 0 1rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 400px));
  gap: 2.5rem;
  margin-bottom: 4rem;
  align-items: stretch;
  justify-items: center;
  justify-content: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.blog-card {
  background: rgba(24, 31, 42, 0.55) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08) !important;
  position: relative;
  height: 600px !important;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.3);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-image {
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 16/9;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover .blog-card-image::before {
  opacity: 1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 1.5rem;
  height: 350px !important;
  min-height: 350px !important;
  max-height: 350px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  flex-shrink: 0;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.blog-card-title {
  margin-bottom: 1.5rem;
}

.blog-card-title a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: #00FF9D;
}

.blog-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00FF9D;
  transition: transform 0.3s ease;
}

.blog-card:hover .author-avatar {
  transform: scale(1.1);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.author-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.blog-card-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #00FF9D;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.tag:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.more-tags {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

/* Enhanced Filter Results */
.filter-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: rgba(24, 31, 42, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  border-left: 5px solid #00FF9D !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 0 1rem 3rem 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.results-header h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.results-header h2 i {
  color: #00FF9D;
  font-size: 1.5rem;
}

.result-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.clear-filters {
  color: #00FF9D;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.clear-filters:hover {
  background: #00FF9D;
  color: #0f172a;
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

/* Enhanced Empty State */
.empty-state {
  text-align: center;
  padding: 8rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.empty-icon {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem auto;
  font-size: 4rem;
  color: #0f172a;
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.empty-state p {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}

.empty-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.2);
}

/* Enhanced Pagination */
.pagination {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(24, 31, 42, 0.45) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 4rem 1rem 0 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.pagination-info {
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.pagination-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  min-width: 140px;
  justify-content: center;
  font-size: 1rem;
}

.pagination-btn:hover {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
  transform: none;
  box-shadow: none;
}

.pagination-numbers {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pagination-number {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.pagination-number:hover,
.pagination-number.active {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.3);
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 0;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.newsletter-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 400;
}

.newsletter-form {
  max-width: 450px;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 15px 50px rgba(0, 255, 157, 0.2);
  transform: translateY(-2px);
}

.newsletter-input-group input {
  flex: 1;
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  outline: none;
  font-weight: 500;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.newsletter-input-group button {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border: none;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.newsletter-input-group button:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transform: translateX(2px);
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.4);
}

/* Blog Main */
.blog-main {
  background: none !important;
  min-height: unset !important;
  padding: 4rem 0;
  margin: 0 1rem;
}

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

.blog-card {
  background: rgba(24, 31, 42, 0.55) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08) !important;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.3);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover .blog-card-image::before {
  opacity: 1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.blog-card-title {
  margin-bottom: 1.5rem;
}

.blog-card-title a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: #00FF9D;
}

.blog-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00FF9D;
  transition: transform 0.3s ease;
}

.blog-card:hover .author-avatar {
  transform: scale(1.1);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.author-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.blog-card-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #00FF9D;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.tag:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.more-tags {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

/* Enhanced Filter Results */
.filter-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: rgba(24, 31, 42, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  border-left: 5px solid #00FF9D !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 0 1rem 3rem 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.results-header h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.results-header h2 i {
  color: #00FF9D;
  font-size: 1.5rem;
}

.result-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.clear-filters {
  color: #00FF9D;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.clear-filters:hover {
  background: #00FF9D;
  color: #0f172a;
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

/* Enhanced Empty State */
.empty-state {
  text-align: center;
  padding: 8rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.empty-icon {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem auto;
  font-size: 4rem;
  color: #0f172a;
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.empty-state p {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}

.empty-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.2);
}

/* Enhanced Pagination */
.pagination {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(24, 31, 42, 0.45) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 4rem 1rem 0 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.pagination-info {
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.pagination-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  min-width: 140px;
  justify-content: center;
  font-size: 1rem;
}

.pagination-btn:hover {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
  transform: none;
  box-shadow: none;
}

.pagination-numbers {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pagination-number {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.pagination-number:hover,
.pagination-number.active {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.3);
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 0;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.newsletter-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 400;
}

.newsletter-form {
  max-width: 450px;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 15px 50px rgba(0, 255, 157, 0.2);
  transform: translateY(-2px);
}

.newsletter-input-group input {
  flex: 1;
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  outline: none;
  font-weight: 500;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.newsletter-input-group button {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border: none;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.newsletter-input-group button:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transform: translateX(2px);
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.4);
}

/* Blog Main */
.blog-main {
  background: none !important;
  min-height: unset !important;
  padding: 4rem 0;
  margin: 0 1rem;
}

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

.blog-card {
  background: rgba(24, 31, 42, 0.55) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08) !important;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.3);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover .blog-card-image::before {
  opacity: 1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.blog-card-title {
  margin-bottom: 1.5rem;
}

.blog-card-title a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: #00FF9D;
}

.blog-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00FF9D;
  transition: transform 0.3s ease;
}

.blog-card:hover .author-avatar {
  transform: scale(1.1);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.author-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.blog-card-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #00FF9D;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.tag:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.more-tags {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

/* Enhanced Filter Results */
.filter-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: rgba(24, 31, 42, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  border-left: 5px solid #00FF9D !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 0 1rem 3rem 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.results-header h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.results-header h2 i {
  color: #00FF9D;
  font-size: 1.5rem;
}

.result-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.clear-filters {
  color: #00FF9D;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.clear-filters:hover {
  background: #00FF9D;
  color: #0f172a;
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

/* Enhanced Empty State */
.empty-state {
  text-align: center;
  padding: 8rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.empty-icon {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem auto;
  font-size: 4rem;
  color: #0f172a;
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.empty-state p {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}

.empty-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.2);
}

/* Enhanced Pagination */
.pagination {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(24, 31, 42, 0.45) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 4rem 1rem 0 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.pagination-info {
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.pagination-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  min-width: 140px;
  justify-content: center;
  font-size: 1rem;
}

.pagination-btn:hover {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
  transform: none;
  box-shadow: none;
}

.pagination-numbers {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pagination-number {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.pagination-number:hover,
.pagination-number.active {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.3);
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 0;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.newsletter-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 400;
}

.newsletter-form {
  max-width: 450px;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 15px 50px rgba(0, 255, 157, 0.2);
  transform: translateY(-2px);
}

.newsletter-input-group input {
  flex: 1;
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  outline: none;
  font-weight: 500;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.newsletter-input-group button {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border: none;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.newsletter-input-group button:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transform: translateX(2px);
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.4);
}

/* Blog Main */
.blog-main {
  background: none !important;
  min-height: unset !important;
  padding: 4rem 0;
  margin: 0 1rem;
}

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

.blog-card {
  background: rgba(24, 31, 42, 0.55) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08) !important;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.3);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover .blog-card-image::before {
  opacity: 1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.blog-card-title {
  margin-bottom: 1.5rem;
}

.blog-card-title a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: #00FF9D;
}

.blog-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00FF9D;
  transition: transform 0.3s ease;
}

.blog-card:hover .author-avatar {
  transform: scale(1.1);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.author-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.blog-card-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #00FF9D;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.tag:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.more-tags {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

/* Enhanced Filter Results */
.filter-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: rgba(24, 31, 42, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  border-left: 5px solid #00FF9D !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 0 1rem 3rem 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.results-header h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.results-header h2 i {
  color: #00FF9D;
  font-size: 1.5rem;
}

.result-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.clear-filters {
  color: #00FF9D;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.clear-filters:hover {
  background: #00FF9D;
  color: #0f172a;
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

/* Enhanced Empty State */
.empty-state {
  text-align: center;
  padding: 8rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.empty-icon {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem auto;
  font-size: 4rem;
  color: #0f172a;
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.empty-state p {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}

.empty-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.2);
}

/* Enhanced Pagination */
.pagination {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(24, 31, 42, 0.45) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 4rem 1rem 0 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.pagination-info {
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.pagination-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  min-width: 140px;
  justify-content: center;
  font-size: 1rem;
}

.pagination-btn:hover {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
  transform: none;
  box-shadow: none;
}

.pagination-numbers {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pagination-number {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.pagination-number:hover,
.pagination-number.active {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.3);
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 0;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.newsletter-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 400;
}

.newsletter-form {
  max-width: 450px;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 15px 50px rgba(0, 255, 157, 0.2);
  transform: translateY(-2px);
}

.newsletter-input-group input {
  flex: 1;
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  outline: none;
  font-weight: 500;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.newsletter-input-group button {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border: none;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.newsletter-input-group button:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transform: translateX(2px);
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.4);
}

/* Blog Main */
.blog-main {
  background: none !important;
  min-height: unset !important;
  padding: 4rem 0;
  margin: 0 1rem;
}

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

.blog-card {
  background: rgba(24, 31, 42, 0.55) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08) !important;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.3);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover .blog-card-image::before {
  opacity: 1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.blog-card-title {
  margin-bottom: 1.5rem;
}

.blog-card-title a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: #00FF9D;
}

.blog-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00FF9D;
  transition: transform 0.3s ease;
}

.blog-card:hover .author-avatar {
  transform: scale(1.1);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.author-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.blog-card-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #00FF9D;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.tag:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.more-tags {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

/* Enhanced Filter Results */
.filter-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: rgba(24, 31, 42, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  border-left: 5px solid #00FF9D !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 0 1rem 3rem 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.results-header h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.results-header h2 i {
  color: #00FF9D;
  font-size: 1.5rem;
}

.result-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.clear-filters {
  color: #00FF9D;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.clear-filters:hover {
  background: #00FF9D;
  color: #0f172a;
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

/* Enhanced Empty State */
.empty-state {
  text-align: center;
  padding: 8rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.empty-icon {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem auto;
  font-size: 4rem;
  color: #0f172a;
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.empty-state p {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}

.empty-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.2);
}

/* Enhanced Pagination */
.pagination {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(24, 31, 42, 0.45) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 4rem 1rem 0 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.pagination-info {
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.pagination-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  min-width: 140px;
  justify-content: center;
  font-size: 1rem;
}

.pagination-btn:hover {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
  transform: none;
  box-shadow: none;
}

.pagination-numbers {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pagination-number {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.pagination-number:hover,
.pagination-number.active {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.3);
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 0;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.newsletter-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 400;
}

.newsletter-form {
  max-width: 450px;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 15px 50px rgba(0, 255, 157, 0.2);
  transform: translateY(-2px);
}

.newsletter-input-group input {
  flex: 1;
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  outline: none;
  font-weight: 500;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.newsletter-input-group button {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border: none;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.newsletter-input-group button:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transform: translateX(2px);
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.4);
}

/* Blog Main */
.blog-main {
  background: none !important;
  min-height: unset !important;
  padding: 4rem 0;
  margin: 0 1rem;
}

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

.blog-card {
  background: rgba(24, 31, 42, 0.55) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08) !important;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.3);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover .blog-card-image::before {
  opacity: 1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.blog-card-title {
  margin-bottom: 1.5rem;
}

.blog-card-title a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: #00FF9D;
}

.blog-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00FF9D;
  transition: transform 0.3s ease;
}

.blog-card:hover .author-avatar {
  transform: scale(1.1);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.author-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.blog-card-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #00FF9D;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.tag:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.more-tags {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

/* Enhanced Filter Results */
.filter-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: rgba(24, 31, 42, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 25px !important;
  border-left: 5px solid #00FF9D !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 0 1rem 3rem 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.results-header h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.results-header h2 i {
  color: #00FF9D;
  font-size: 1.5rem;
}

.result-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.clear-filters {
  color: #00FF9D;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.clear-filters:hover {
  background: #00FF9D;
  color: #0f172a;
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

/* Enhanced Empty State */
.empty-state {
  text-align: center;
  padding: 8rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.empty-icon {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem auto;
  font-size: 4rem;
  color: #0f172a;
  box-shadow: 0 20px 60px rgba(0, 255, 157, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.empty-state p {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}

.empty-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00FF9D;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.2);
}

/* Enhanced Pagination */
.pagination {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(24, 31, 42, 0.45) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin: 4rem 1rem 0 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

.pagination-info {
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.pagination-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  min-width: 140px;
  justify-content: center;
  font-size: 1rem;
}

.pagination-btn:hover {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
  transform: none;
  box-shadow: none;
}

.pagination-numbers {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pagination-number {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.pagination-number:hover,
.pagination-number.active {
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border-color: #00FF9D;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.3);
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 0;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.newsletter-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 400;
}

.newsletter-form {
  max-width: 450px;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 15px 50px rgba(0, 255, 157, 0.2);
  transform: translateY(-2px);
}

.newsletter-input-group input {
  flex: 1;
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  outline: none;
  font-weight: 500;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.newsletter-input-group button {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #00FF9D 0%, #4ade80 100%);
  border: none;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.newsletter-input-group button:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transform: translateX(2px);
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.4);
}

/* Blog Post Page */
.blog-post-page {
  background: var(--bg-base);
  min-height: 100vh;
}

.blog-post-main {
  padding: 2rem 0;
  min-height: 100vh;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  align-items: start;
}

/* Mobile-first responsive design for blog post page */
@media (max-width: 1200px) {
  .blog-post-layout {
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .blog-post {
    padding: 1.5rem;
  }
  
  .post-title {
    font-size: 2.25rem;
  }
  
  .post-content {
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
  }
  
  .blog-sidebar {
    position: static;
    width: 100%;
    max-height: none;
    order: -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .sidebar-widget {
    margin-bottom: 0;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-info {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .post-details {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .share-buttons {
    justify-content: center;
  }
  
  .related-posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .blog-post-main {
    padding: 1rem 0;
  }
  
  .blog-post-layout {
    padding: 0 0.5rem;
    gap: 1.5rem;
  }
  
  .blog-sidebar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .blog-post {
    padding: 1rem;
    border-radius: 15px;
  }
  
  .breadcrumb {
    padding: 0.75rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .breadcrumb i {
    font-size: 0.7rem;
  }
  
  .post-header {
    margin-bottom: 2rem;
  }
  
  .post-featured-image {
    margin-bottom: 1.5rem;
    border-radius: 15px;
  }
  
  .post-meta {
    text-align: left;
  }
  
  .post-category {
    margin-bottom: 0.75rem;
  }
  
  .category-link {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .post-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .post-info {
    padding: 1rem;
    border-radius: 15px;
  }
  
  .post-author {
    justify-content: flex-start;
  }
  
  .post-author .author-avatar {
    width: 40px;
    height: 40px;
  }
  
  .post-author .author-name {
    font-size: 0.9rem;
  }
  
  .post-details {
    gap: 0.75rem;
    font-size: 0.8rem;
  }
  
  .post-details span {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .post-content {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }
  
  .post-content h1 { font-size: 1.75rem; }
  .post-content h2 { font-size: 1.5rem; }
  .post-content h3 { font-size: 1.25rem; }
  .post-content h4 { font-size: 1.125rem; }
  .post-content h5 { font-size: 1rem; }
  .post-content h6 { font-size: 0.9rem; }
  
  .post-content h1::before,
  .post-content h2::before,
  .post-content h3::before,
  .post-content h4::before,
  .post-content h5::before,
  .post-content h6::before {
    left: -0.5rem;
    width: 3px;
    height: 1.25rem;
  }
  
  .post-content p {
    margin-bottom: 1.25rem;
  }
  
  .post-content ul,
  .post-content ol {
    padding-left: 1.5rem;
    margin: 1.25rem 0;
  }
  
  .post-content blockquote {
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
  }
  
  .post-content pre {
    padding: 1rem;
    margin: 1.25rem 0;
    font-size: 0.85rem;
  }
  
  .post-content code {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }
  
  .post-content img {
    margin: 1.25rem 0;
    border-radius: 10px;
  }
  
  .post-tags {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 15px;
  }
  
  .post-tags h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .tags-list {
    gap: 0.5rem;
  }
  
  .tags-list .tag {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
  
  .post-share {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 15px;
  }
  
  .post-share h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .share-buttons {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .share-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    gap: 0.25rem;
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  
  .post-edit-info {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    border-radius: 10px;
  }
  
  .related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
  }
  
  .related-posts h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
    justify-items: stretch;
  }
  
  .related-post-card {
    border-radius: 15px;
  }
  
  .related-post-content {
    padding: 1rem;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
  }
  
  .related-post-title a {
    font-size: 1rem;
  }
  
  .related-post-excerpt {
    font-size: 0.85rem;
  }
  
  .related-post-meta {
    font-size: 0.75rem;
  }
  
  /* Sidebar mobile optimizations */
  .sidebar-widget {
    padding: 1rem;
    border-radius: 15px;
  }
  
  .sidebar-widget h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .author-info .author-avatar {
    width: 60px;
    height: 60px;
  }
  
  .author-info h4 {
    font-size: 1rem;
  }
  
  .author-info p {
    font-size: 0.8rem;
  }
  
  .toc-link {
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
  }
  
  .toc-h1 { padding-left: 0.5rem; }
  .toc-h2 { padding-left: 1rem; }
  .toc-h3 { padding-left: 1.5rem; }
  .toc-h4 { padding-left: 2rem; }
  .toc-h5 { padding-left: 2.5rem; }
  .toc-h6 { padding-left: 3rem; }
  
  .recent-post-item a {
    padding: 0.5rem;
  }
  
  .recent-post-item h4 {
    font-size: 0.8rem;
  }
  
  .recent-post-item .post-date {
    font-size: 0.7rem;
  }
  
  .category-item {
    padding: 0.5rem;
  }
  
  .category-name {
    font-size: 0.8rem;
  }
  
  .category-count {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  
  .tags-cloud .tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
}

@media (max-width: 480px) {
  .blog-post-main {
    padding: 0.5rem 0;
  }
  
  .blog-post-layout {
    padding: 0 0.25rem;
    gap: 1rem;
  }
  
  .blog-post {
    padding: 0.75rem;
    border-radius: 12px;
  }
  
  .breadcrumb {
    padding: 0.5rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .post-header {
    margin-bottom: 1.5rem;
  }
  
  .post-featured-image {
    margin-bottom: 1rem;
    border-radius: 12px;
  }
  
  .post-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  .post-info {
    padding: 0.75rem;
    border-radius: 12px;
  }
  
  .post-author {
    gap: 0.5rem;
  }
  
  .post-author .author-avatar {
    width: 35px;
    height: 35px;
  }
  
  .post-author .author-name {
    font-size: 0.85rem;
  }
  
  .post-details {
    gap: 0.5rem;
    font-size: 0.75rem;
  }
  
  .post-details span {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
  
  .post-content {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .post-content h1 { font-size: 1.5rem; }
  .post-content h2 { font-size: 1.25rem; }
  .post-content h3 { font-size: 1.125rem; }
  .post-content h4 { font-size: 1rem; }
  .post-content h5 { font-size: 0.9rem; }
  .post-content h6 { font-size: 0.85rem; }
  
  .post-content h1::before,
  .post-content h2::before,
  .post-content h3::before,
  .post-content h4::before,
  .post-content h5::before,
  .post-content h6::before {
    left: -0.25rem;
    width: 2px;
    height: 1rem;
  }
  
  .post-content p {
    margin-bottom: 1rem;
  }
  
  .post-content ul,
  .post-content ol {
    padding-left: 1.25rem;
    margin: 1rem 0;
  }
  
  .post-content blockquote {
    padding: 0.75rem;
    margin: 1rem 0;
    font-size: 0.9rem;
  }
  
  .post-content pre {
    padding: 0.75rem;
    margin: 1rem 0;
    font-size: 0.8rem;
  }
  
  .post-content code {
    font-size: 0.75rem;
    padding: 0.15rem 0.3rem;
  }
  
  .post-content img {
    margin: 1rem 0;
    border-radius: 8px;
  }
  
  .post-tags {
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }
  
  .post-tags h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .tags-list {
    gap: 0.375rem;
  }
  
  .tags-list .tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .post-share {
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }
  
  .post-share h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .share-buttons {
    gap: 0.375rem;
  }
  
  .share-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.25rem;
    min-width: 100px;
  }
  
  .post-edit-info {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
  }
  
  .related-posts {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .related-posts h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  
  .related-posts-grid {
    gap: 1rem;
  }
  
  .related-post-content {
    padding: 0.75rem;
  }
  
  .related-post-title a {
    font-size: 0.9rem;
  }
  
  .related-post-excerpt {
    font-size: 0.8rem;
  }
  
  .related-post-meta {
    font-size: 0.7rem;
  }
  
  /* Sidebar mobile optimizations */
  .sidebar-widget {
    padding: 0.75rem;
    border-radius: 12px;
  }
  
  .sidebar-widget h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .author-info .author-avatar {
    width: 50px;
    height: 50px;
  }
  
  .author-info h4 {
    font-size: 0.9rem;
  }
  
  .author-info p {
    font-size: 0.75rem;
  }
  
  .toc-link {
    font-size: 0.75rem;
    padding: 0.25rem 0.375rem;
  }
  
  .toc-h1 { padding-left: 0.375rem; }
  .toc-h2 { padding-left: 0.75rem; }
  .toc-h3 { padding-left: 1.125rem; }
  .toc-h4 { padding-left: 1.5rem; }
  .toc-h5 { padding-left: 1.875rem; }
  .toc-h6 { padding-left: 2.25rem; }
  
  .recent-post-item a {
    padding: 0.375rem;
  }
  
  .recent-post-item h4 {
    font-size: 0.75rem;
  }
  
  .recent-post-item .post-date {
    font-size: 0.65rem;
  }
  
  .category-item {
    padding: 0.375rem;
  }
  
  .category-name {
    font-size: 0.75rem;
  }
  
  .category-count {
    font-size: 0.65rem;
    padding: 0.15rem 0.3rem;
  }
  
  .tags-cloud .tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.3rem;
  }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
  .share-btn,
  .tag,
  .category-link,
  .toc-link,
  .category-item {
    min-height: 44px; /* iOS minimum touch target */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .post-content a,
  .related-post-title a,
  .recent-post-item a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Improve scrolling performance */
  .blog-sidebar {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better text selection */
  .post-content {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
  }
  
  /* Optimize images for mobile */
  .post-featured-image img,
  .related-post-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  
  /* Improve form elements */
  .share-btn:active,
  .tag:active,
  .category-link:active {
    transform: scale(0.95);
  }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .blog-post-layout {
    grid-template-columns: 1fr 250px;
    gap: 1rem;
  }
  
  .blog-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .post-title {
    font-size: 1.5rem;
  }
  
  .post-content {
    font-size: 0.9rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .post-featured-image img,
  .related-post-image img,
  .author-avatar {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .blog-post,
  .sidebar-widget,
  .related-post-card,
  .share-btn,
  .tag,
  .category-link {
    transition: none;
  }
  
  .post-content img,
  .related-post-image img {
    transition: none;
  }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) {
  .blog-post {
    background: rgba(15, 23, 42, 0.8);
  }
  
  .sidebar-widget {
    background: rgba(15, 23, 42, 0.6);
  }
}

/* Print styles for mobile */
@media print and (max-width: 768px) {
  .blog-sidebar,
  .post-share,
  .related-posts {
    display: none !important;
  }
  
  .blog-post-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .post-content {
    font-size: 12pt;
    line-height: 1.4;
  }
}

.blog-post {
  max-width: none;
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
  width: 350px;
  z-index: 10;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

.blog-sidebar::-webkit-scrollbar {
  display: none;
}

/* Responsive Sidebar Styles */
@media (max-width: 1200px) {
  .blog-sidebar {
    width: 300px;
    gap: 1.25rem;
  }
  
  .sidebar-widget {
    padding: 1.25rem;
  }
}

@media (max-width: 992px) {
  .blog-sidebar {
    position: static;
    width: 100%;
    max-height: none;
    order: -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .sidebar-widget {
    margin-bottom: 0;
    height: fit-content;
  }
  
  /* Collapsible sidebar widgets for better mobile UX */
  .sidebar-widget.collapsible {
    position: relative;
  }
  
  .sidebar-widget.collapsible .widget-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .sidebar-widget.collapsible .widget-toggle:hover {
    color: var(--primary);
  }
  
  .sidebar-widget.collapsible .widget-toggle i {
    transition: transform 0.3s ease;
  }
  
  .sidebar-widget.collapsible.collapsed .widget-toggle i {
    transform: rotate(-90deg);
  }
  
  .sidebar-widget.collapsible .widget-content {
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  .sidebar-widget.collapsible.collapsed .widget-content {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .blog-sidebar {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    overflow-y: visible;
    max-height: none;
  }
  
  .sidebar-widget {
    padding: 1rem;
    border-radius: 15px;
  }
  
  /* Mobile-optimized widget layouts */
  .author-widget {
    text-align: center;
  }
  
  .author-widget .author-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .author-widget .author-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem auto;
  }
  
  .toc-widget {
    max-height: 300px;
    overflow: hidden;
  }
  
  .toc-nav {
    max-height: 250px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .toc-nav ul {
    padding-left: 0;
  }
  
  .toc-nav li {
    margin-bottom: 0.25rem;
  }
  
  .toc-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .toc-link:hover,
  .toc-link.active {
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary);
    transform: translateX(5px);
  }
  
  .recent-posts-widget {
    max-height: 400px;
    overflow: hidden;
  }
  
  .recent-posts-list {
    max-height: 350px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .recent-post-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  .recent-post-item a {
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .recent-post-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
  }
  
  .categories-widget {
    max-height: 400px;
    overflow: hidden;
  }
  
  .categories-list {
    max-height: 350px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .category-item {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .category-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 157, 0.2);
    transform: translateX(5px);
  }
  
  .category-item:last-child {
    margin-bottom: 0;
  }
  
  .tags-widget {
    max-height: 300px;
    overflow: hidden;
  }
  
  .tags-cloud {
    max-height: 250px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    overflow-x: visible;
  }
  
  .tags-cloud .tag {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
  }
  
  .tags-cloud .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
  }
  
  /* Widget headers with better mobile styling */
  .sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 255, 157, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .sidebar-widget h3::before {
    content: '';
    width: 3px;
    height: 1.1rem;
    background: var(--primary);
    border-radius: 2px;
  }
  
  /* Scroll indicators for mobile */
  .sidebar-widget.has-scroll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, rgba(24, 31, 42, 0.8));
    pointer-events: none;
    border-radius: 0 0 15px 15px;
  }
  
  /* Mobile widget animations */
  .sidebar-widget {
    animation: slideInUp 0.6s ease-out;
  }
  
  .sidebar-widget:nth-child(1) { animation-delay: 0.1s; }
  .sidebar-widget:nth-child(2) { animation-delay: 0.2s; }
  .sidebar-widget:nth-child(3) { animation-delay: 0.3s; }
  .sidebar-widget:nth-child(4) { animation-delay: 0.4s; }
  .sidebar-widget:nth-child(5) { animation-delay: 0.5s; }
}

@media (max-width: 480px) {
  .blog-sidebar {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .sidebar-widget {
    padding: 0.75rem;
    border-radius: 12px;
  }
  
  .sidebar-widget h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .author-widget .author-avatar {
    width: 60px;
    height: 60px;
  }
  
  .author-widget .author-info h4 {
    font-size: 0.9rem;
  }
  
  .author-widget .author-info p {
    font-size: 0.75rem;
  }
  
  .toc-nav {
    max-height: 200px;
  }
  
  .toc-link {
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
  }
  
  .recent-posts-list {
    max-height: 250px;
  }
  
  .recent-post-item a {
    padding: 0.375rem;
  }
  
  .recent-post-item h4 {
    font-size: 0.8rem;
  }
  
  .recent-post-item .post-date {
    font-size: 0.7rem;
  }
  
  .categories-list {
    max-height: 250px;
  }
  
  .category-item {
    padding: 0.5rem;
  }
  
  .category-name {
    font-size: 0.8rem;
  }
  
  .category-count {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  
  .tags-cloud {
    max-height: 200px;
    overflow-x: visible;
  }
  
  .tags-cloud .tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Landscape orientation adjustments for sidebar */
@media (max-width: 768px) and (orientation: landscape) {
  .blog-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .toc-nav,
  .recent-posts-list,
  .categories-list,
  .tags-cloud {
    max-height: 200px;
    overflow-x: visible;
  }
  
  .author-widget .author-avatar {
    width: 50px;
    height: 50px;
  }
  
  .author-widget .author-info {
    flex-direction: row;
    text-align: left;
    gap: 0.75rem;
  }
}

/* Sidebar widget hover effects for desktop */
@media (min-width: 769px) {
  .sidebar-widget {
    transition: all 0.3s ease;
  }
  
  .sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 157, 0.15);
  }
  
  .toc-link:hover {
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary);
    transform: translateX(5px);
  }
  
  .recent-post-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
  }
  
  .category-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 157, 0.2);
    transform: translateX(5px);
  }
  
  .tags-cloud .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
  }
}

/* Sidebar animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sidebar scrollbar improvements for mobile */
@media (max-width: 768px) {
  .blog-sidebar {
    overflow-y: hidden;
  }
  
  .blog-sidebar::-webkit-scrollbar {
    display: none;
  }
}

/* Sidebar accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .sidebar-widget,
  .toc-link,
  .recent-post-item a,
  .category-item,
  .tags-cloud .tag {
    transition: none;
  }
  
  .sidebar-widget {
    animation: none;
  }
}

/* Sidebar focus states for keyboard navigation */
.sidebar-widget:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.toc-link:focus,
.recent-post-item a:focus,
.category-item:focus,
.tags-cloud .tag:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Sidebar loading states */
.sidebar-widget.loading {
  opacity: 0.7;
  pointer-events: none;
  overflow: hidden;
}

.sidebar-widget.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Sidebar widget collapse/expand functionality */
.sidebar-widget.collapsible .widget-toggle {
  display: none;
}

@media (max-width: 992px) {
  .sidebar-widget.collapsible .widget-toggle {
    display: flex;
  }
  
  .sidebar-widget.collapsible .widget-content {
    max-height: none;
    opacity: 1;
  }
  
  .sidebar-widget.collapsible.collapsed .widget-content {
    max-height: 0;
    opacity: 0;
  }
}

.sidebar-widget {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.sidebar-widget:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.sidebar-widget h3 {
  color: var(--text-primary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-widget h3::before {
  content: '';
  width: 3px;
  height: 1.125rem;
  background: var(--primary);
  border-radius: 2px;
}

/* Author Widget */
.author-info {
  text-align: center;
}

.author-info .author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  transition: transform var(--transition);
}

.author-info .author-avatar:hover {
  transform: scale(1.05);
}

.author-info h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Table of Contents */
.toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

.toc-nav li {
  margin-bottom: 0.5rem;
  overflow-x: hidden;
}

.toc-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition);
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.toc-link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--primary);
}

.toc-link.active {
  color: var(--primary);
  background: rgba(0, 255, 157, 0.1);
  border-left-color: var(--primary);
}

.toc-h1 { padding-left: 0.75rem; }
.toc-h2 { padding-left: 1.25rem; }
.toc-h3 { padding-left: 1.75rem; }
.toc-h4 { padding-left: 2.25rem; }
.toc-h5 { padding-left: 2.75rem; }
.toc-h6 { padding-left: 3.25rem; }

/* Recent Posts Widget */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-x: hidden;
}

.recent-post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  border: 1px solid transparent;
  overflow-x: hidden;
}

.recent-post-item a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  transform: translateX(5px);
}

.recent-post-item h4 {
  color: var(--text-primary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
  font-weight: 500;
}

.recent-post-item .post-date {
  color: var(--text-light);
  font-size: 0.75rem;
}

/* Categories Widget */
.categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-x: hidden;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all var(--transition);
  border: 1px solid transparent;
  overflow-x: hidden;
}

.category-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  border-color: var(--border-color);
  transform: translateX(5px);
}

.category-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.category-count {
  background: var(--primary);
  color: var(--bg-base);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

/* Tags Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-cloud .tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  transition: all var(--transition);
}

.tags-cloud .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

.breadcrumb i {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Post Header */
.post-header {
  margin-bottom: 3rem;
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}

.post-featured-image:hover img {
  transform: scale(1.02);
}

.post-meta {
  text-align: center;
}

.post-category {
  margin-bottom: 1rem;
}

.category-link {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
}

.category-link:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-author .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.post-author .author-name {
  font-weight: 500;
  color: var(--text-primary);
}

.post-details {
  display: flex;
  gap: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.post-details span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

/* Post Content */
.post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 3rem;
  padding: 0;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin: 2rem 0 1rem 0;
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
}

.post-content h1::before,
.post-content h2::before,
.post-content h3::before,
.post-content h4::before,
.post-content h5::before,
.post-content h6::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.5rem;
  width: 4px;
  height: 1.5rem;
  background: var(--primary);
  border-radius: 2px;
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.75rem; }
.post-content h3 { font-size: 1.5rem; }
.post-content h4 { font-size: 1.25rem; }
.post-content h5 { font-size: 1.125rem; }
.post-content h6 { font-size: 1rem; }

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

.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.post-content blockquote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
}

.post-content pre {
  background: var(--bg-elevated);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  position: relative;
}

.post-content pre::before {
  content: 'Code';
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--bg-base);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.post-content code {
  background: var(--bg-elevated);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Fira Code', monospace;
  font-size: 0.875rem;
  color: var(--primary-light);
}

.post-content pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.post-content iframe {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

.post-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.post-content a:hover {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}

/* Post Tags */
.post-tags {
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.post-tags h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-tags h3::before {
  content: '';
  width: 3px;
  height: 1.125rem;
  background: var(--primary);
  border-radius: 2px;
}

.tags-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tags-list .tag {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  transition: all var(--transition);
}

.tags-list .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
}

/* Share Buttons */
.post-share {
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.post-share h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-share h3::before {
  content: '';
  width: 3px;
  height: 1.125rem;
  background: var(--primary);
  border-radius: 2px;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.twitter:hover {
  background: #1a91da;
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.facebook:hover {
  background: #166fe5;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.linkedin:hover {
  background: #006097;
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn.whatsapp:hover {
  background: #22c55e;
}

.share-btn.copy {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.share-btn.copy:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.share-btn.copied {
  background: var(--success);
  color: white;
}

/* Post Edit Info */
.post-edit-info {
  margin-bottom: 3rem;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-edit-info i {
  color: var(--primary);
}

/* Related Posts */
.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.related-posts h2 {
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-posts h2::before {
  content: '';
  width: 3px;
  height: 1.5rem;
  background: var(--primary);
  border-radius: 2px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
  justify-items: stretch;
}

.related-post-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--border-color);
  height: 450px !important;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.related-post-image {
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16/9;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.related-post-card:hover .related-post-image img {
  transform: scale(1.05);
}

.related-post-content {
  padding: 1.5rem;
  height: 300px !important;
  min-height: 300px !important;
  max-height: 300px !important;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.related-post-title {
  margin-bottom: 1rem;
}

.related-post-title a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  transition: color var(--transition);
}

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

.related-post-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.related-post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Footer */
.blog-footer {
  display: none;
}

/* Remove footer spacing */
.footermenu {
  margin-top: 0 !important;
  padding-top: 2rem !important;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
}

/* Error 404 */
.error-404 {
  text-align: center;
  padding: 4rem 2rem;
}

.error-404 i {
  font-size: 4rem;
  color: var(--warning);
  margin-bottom: 1rem;
}

.error-404 h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.error-404 p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
}

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

/* Large Screen Optimization */
@media (min-width: 1400px) {
  .blog-grid {
    grid-template-columns: repeat(3, 400px);
    gap: 3rem;
    max-width: 1400px;
  }
}

/* Responsive Design for Enhanced Blog */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 400px));
    gap: 1.5rem;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .post-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Better spacing for mobile reading */
  .post-content p + p {
    margin-top: 1.5rem;
  }
  
  /* Improve code blocks on mobile */
  .post-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better table handling on mobile */
  .post-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    margin: 1rem 0;
  }
  
  .post-content table th,
  .post-content table td {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
  
  /* Improve iframe responsiveness */
  .post-content iframe {
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }
  
  /* Better image handling */
  .post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
  }
  
  /* Improve blockquote readability */
  .post-content blockquote {
    font-size: 0.95rem;
    line-height: 1.6;
    border-left-width: 3px;
  }
  
  /* Better list spacing */
  .post-content ul li,
  .post-content ol li {
    margin-bottom: 0.5rem;
  }
  
  /* Improve heading hierarchy visibility */
  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    scroll-margin-top: 80px; /* Account for fixed header */
  }
  
  /* Better share button layout */
  .share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }
  
  .share-btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Improve sidebar widget spacing */
  .sidebar-widget + .sidebar-widget {
    margin-top: 1rem;
  }
  
  /* Better tag cloud layout */
  .tags-cloud {
    justify-content: flex-start;
  }
  
  /* Improve category list readability */
  .categories-list {
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better recent posts layout */
  .recent-posts-list {
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Improve TOC navigation */
  .toc-nav {
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .toc-nav ul {
    padding-left: 0;
  }
  
  .toc-nav li {
    margin-bottom: 0.25rem;
  }
  
  /* Better breadcrumb handling */
  .breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  .breadcrumb::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  /* Improve author info display */
  .post-author {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .post-details {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .post-details span {
    white-space: nowrap;
  }
  
  /* Better related posts grid */
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .related-post-card {
    display: flex;
    flex-direction: column;
    height: 450px !important;
    width: 100% !important;
    flex-shrink: 0;
  }
  
  .related-post-image {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    flex-shrink: 0;
    aspect-ratio: 16/9;
  }
  
  /* Improve loading states */
  .post-content img[loading] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .post-content img[loading="lazy"] {
    opacity: 1;
  }
  
  /* Better focus states for accessibility */
  .post-content a:focus,
  .share-btn:focus,
  .tag:focus,
  .category-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  
  /* Improve touch targets */
  .post-content a,
  .share-btn,
  .tag,
  .category-link,
  .toc-link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better spacing for mobile */
  .post-content > * + * {
    margin-top: 1rem;
  }
  
  .post-content > h1 + *,
  .post-content > h2 + *,
  .post-content > h3 + *,
  .post-content > h4 + *,
  .post-content > h5 + *,
  .post-content > h6 + * {
    margin-top: 0.5rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .filters-header h2 {
    font-size: 2.5rem;
  }
  
  .newsletter-text h2 {
    font-size: 2.5rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 350px));
    gap: 2rem;
    justify-items: center;
    justify-content: center;
  }
  
  .category-pills {
    gap: 1rem;
  }
  
  .category-pill {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    min-width: 120px;
  }
  
  .tag-cloud {
    gap: 0.75rem;
  }
  
  .tag-item {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 6rem 0 4rem 0;
    min-height: 80vh;
    margin-top: -100px; /* Maintain compensation for body padding */
    padding-top: 100px; /* Maintain proper spacing */
  }
  
  .hero-content {
    padding: 0 1rem;
    gap: 3rem;
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
  
  .hero-search {
    margin-bottom: 3rem;
  }
  
  .search-wrapper {
    flex-direction: column;
    border-radius: 25px;
  }
  
  .hero-search-input {
    padding: 1.25rem 2rem;
    text-align: center;
    width: 100%;
    border-radius: 25px 25px 0 0;
    border-bottom: none;
  }
  
  .hero-search-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    border-radius: 0 0 25px 25px;
    border-left: none;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    height: auto;
    min-height: 60px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  
  .hero-search-btn::before {
    opacity: 1;
    position: static;
    margin-right: 0.5rem;
  }
  
  .hero-search-btn .search-icon {
    display: inline-block;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
  }
  
  .stat-item {
    padding: 1.25rem;
    min-width: 200px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .featured-card {
    max-width: 100%;
  }
  
  .blog-filters {
    padding: 4rem 0;
  }
  
  .filters-content {
    padding: 0 1rem;
  }
  
  .filters-header h2 {
    font-size: 2rem;
  }
  
  .filters-header p {
    font-size: 1.125rem;
  }
  
  .category-pills {
    justify-content: center;
  }
  
  .tag-cloud {
    justify-content: center;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
    justify-items: center;
    justify-content: center;
  }
  
  .filter-results {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
  }
  
  .results-header {
    align-items: center;
  }
  
  .pagination {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    margin: 3rem 0.5rem 0 0.5rem;
  }
  
  .pagination-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .pagination-numbers {
    order: -1;
  }
  
  .newsletter-section {
    padding: 4rem 0;
  }
  
  .newsletter-content {
    padding: 0 1rem;
  }
  
  .newsletter-text h2 {
    font-size: 2rem;
  }
  
  .newsletter-input-group {
    flex-direction: column;
    border-radius: 25px;
  }
  
  .newsletter-input-group input {
    padding: 1.25rem;
    text-align: center;
  }
  
  .newsletter-input-group button {
    width: 100%;
    padding: 1.25rem;
    justify-content: center;
    border-radius: 0 0 25px 25px;
  }
  
  .blog-main {
    padding: 3rem 0;
  }
  
  .blog-card-content {
    padding: 2rem;
    height: 350px !important;
    min-height: 350px !important;
    max-height: 350px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
  }
  
  .blog-card-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 4rem 0 3rem 0;
    min-height: 70vh;
    margin-top: -100px; /* Maintain compensation for body padding */
    padding-top: 100px; /* Maintain proper spacing */
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-content {
    padding: 0 0.5rem;
    gap: 2rem;
  }
  
  .hero-search-input {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    width: 100%;
    border-radius: 25px 25px 0 0;
    border-bottom: none;
  }
  
  .hero-search-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    height: auto;
    min-height: 50px;
  }
  
  .hero-search-btn::before {
    opacity: 1;
    position: static;
    margin-right: 0.5rem;
    font-size: 0.85rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .stat-item {
    padding: 1rem;
    min-width: 150px;
  }
  
  .featured-content {
    padding: 1.5rem;
  }
  
  .featured-title a {
    font-size: 1.25rem;
  }
  
  .blog-filters {
    padding: 3rem 0;
  }
  
  .filters-header h2 {
    font-size: 1.75rem;
  }
  
  .filter-section h3 {
    font-size: 1.25rem;
  }
  
  .category-pill {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    min-width: 100px;
  }
  
  .tag-item {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .empty-state {
    padding: 6rem 1rem;
  }
  
  .empty-icon {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
  
  .empty-state h3 {
    font-size: 2rem;
  }
  
  .empty-state p {
    font-size: 1.125rem;
  }
  
  .empty-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .newsletter-text h2 {
    font-size: 1.75rem;
  }
  
  .newsletter-text p {
    font-size: 1.125rem;
  }
  
  .blog-card-content {
    padding: 1.5rem;
  }
  
  .blog-card-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .blog-card-title a {
    font-size: 1.25rem;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
  }
  
  .author-name {
    font-size: 0.9rem;
  }
  
  .tag {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Animation Enhancements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-particles {
  animation: float 6s ease-in-out infinite;
}

.stat-item {
  animation: pulse 3s ease-in-out infinite;
}

.stat-item:nth-child(2) {
  animation-delay: 1s;
}

.stat-item:nth-child(3) {
  animation-delay: 2s;
}

.featured-card {
  animation: fadeInRight 0.8s ease-out;
}

.category-pill {
  animation: fadeInUp 0.6s ease-out;
}

.category-pill:nth-child(2) { animation-delay: 0.1s; }
.category-pill:nth-child(3) { animation-delay: 0.2s; }
.category-pill:nth-child(4) { animation-delay: 0.3s; }
.category-pill:nth-child(5) { animation-delay: 0.4s; }
.category-pill:nth-child(6) { animation-delay: 0.5s; }

.tag-item {
  animation: fadeInUp 0.6s ease-out;
}

.tag-item:nth-child(2) { animation-delay: 0.1s; }
.tag-item:nth-child(3) { animation-delay: 0.2s; }
.tag-item:nth-child(4) { animation-delay: 0.3s; }
.tag-item:nth-child(5) { animation-delay: 0.4s; }
.tag-item:nth-child(6) { animation-delay: 0.5s; }
.tag-item:nth-child(7) { animation-delay: 0.6s; }
.tag-item:nth-child(8) { animation-delay: 0.7s; }

/* Loading States */
.hero-search-form.loading .search-wrapper {
  opacity: 0.7;
  pointer-events: none;
}

.hero-search-form.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Focus States for Accessibility */
.hero-search-input:focus,
.newsletter-input-group input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.category-pill:focus,
.tag-item:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .blog-hero,
  .blog-filters,
  .newsletter-section,
  .pagination {
    display: none !important;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-card {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* Admin-specific styles for blog management */
.editor-toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.editor-toolbar button {
  padding: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.875rem;
}

.editor-toolbar button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.content-preview {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  max-height: 400px;
  overflow-y: auto;
}

.post-title-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.post-slug {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: monospace;
}

.category-badge {
  background: var(--primary-dark);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .editor-toolbar {
    justify-content: center;
  }
}

/* Blog Card Meta Overlay */
.blog-card-meta-overlay {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
  align-items: center;
  font-size: 0.85rem;
  color: #fff;
}
.blog-card-meta-overlay span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(24, 31, 42, 0.85);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
  color: #fff;
  opacity: 0.95;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
.blog-card-meta-overlay span:hover {
  background: rgba(9, 9, 9, 0.6);
  border-color: rgba(0, 255, 157, 0.3);
  transform: translateY(-1px);
}
.blog-card-meta-overlay i {
  color: #00FF9D;
  font-size: 0.9em;
}

/* =========================================================
   REDESIGNED BLOG POST READER (sidebar removed)
   ========================================================= */
.blog-post-reader {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-post-reader .blog-post {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.blog-post-reader .breadcrumb {
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.blog-post-reader .post-header {
  margin-bottom: 2.5rem;
}

.blog-post-reader .post-featured-image {
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
}

.blog-post-reader .post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-reader .post-title {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.blog-post-reader .post-info {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  gap: 1rem 1.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Collapsible Table of Contents */
.post-toc {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 0 0 2.5rem;
  overflow: hidden;
  transition: background var(--transition);
}

.post-toc[open] {
  background: rgba(255, 255, 255, 0.06);
}

.post-toc summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}

.post-toc summary::-webkit-details-marker {
  display: none;
}

.post-toc summary > i:first-child {
  color: var(--primary);
}

.post-toc summary .toc-chevron {
  margin-left: auto;
  color: var(--text-light);
  font-size: 0.75rem;
  transition: transform var(--transition);
}

.post-toc[open] summary .toc-chevron {
  transform: rotate(180deg);
}

.post-toc .toc-nav {
  padding: 0 1.25rem 1.25rem;
  max-height: 50vh;
  overflow-y: auto;
}

.post-toc .toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--border-color);
}

.post-toc .toc-nav li { margin: 0; }

.post-toc .toc-link {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: all var(--transition);
}

.post-toc .toc-link:hover {
  color: var(--primary-light);
  background: rgba(0, 255, 157, 0.05);
}

.post-toc .toc-link.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(0, 255, 157, 0.08);
}

.post-toc .toc-h1, .post-toc .toc-h2 { padding-left: 0.85rem; font-weight: 500; }
.post-toc .toc-h3 { padding-left: 1.85rem; }
.post-toc .toc-h4 { padding-left: 2.85rem; font-size: 0.85rem; }
.post-toc .toc-h5, .post-toc .toc-h6 { padding-left: 3.5rem; font-size: 0.8rem; }

/* Readable content typography */
.blog-post-reader .post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #e2e8f0;
}

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

.blog-post-reader .post-content > * + * {
  margin-top: 0;
}

.blog-post-reader .post-content h1,
.blog-post-reader .post-content h2,
.blog-post-reader .post-content h3,
.blog-post-reader .post-content h4 {
  scroll-margin-top: 100px;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1rem;
}

.blog-post-reader .post-content img {
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.blog-post-reader .post-content blockquote {
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
  background: rgba(0, 255, 157, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.blog-post-reader .post-tags,
.blog-post-reader .post-share {
  margin-top: 2.5rem;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.04);
}

/* Explore More footer */
.explore-more {
  max-width: 1200px;
  margin: 4rem auto 2rem;
  padding: 0 1rem;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.explore-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
}

.explore-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 157, 0.3);
}

.explore-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.explore-card h3 i {
  color: var(--primary);
  font-size: 0.9rem;
}

.explore-card .recent-posts-list { display: flex; flex-direction: column; gap: 0.75rem; }
.explore-card .recent-post-item { padding: 0; background: none; border: none; }
.explore-card .recent-post-item a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}
.explore-card .recent-post-item a:hover { background: rgba(255,255,255,0.05); }
.explore-card .recent-post-item h4 {
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
  font-weight: 500;
}
.explore-card .recent-post-item a:hover h4 { color: var(--primary-light); }
.explore-card .recent-post-item .post-date { font-size: 0.75rem; color: var(--text-light); }

.explore-card .categories-list { display: flex; flex-direction: column; gap: 0.4rem; }
.explore-card .category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all var(--transition);
}
.explore-card .category-item:hover {
  background: rgba(0,255,157,0.1);
  color: var(--primary-light);
}
.explore-card .category-count {
  background: rgba(0,255,157,0.15);
  color: var(--primary);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.explore-card .tags-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.explore-card .tags-cloud .tag {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.explore-card .tags-cloud .tag:hover {
  background: rgba(0,255,157,0.12);
  color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .explore-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .blog-post-reader { padding: 0 0.75rem; }
  .blog-post-reader .post-content { font-size: 1.0625rem; line-height: 1.75; }
  .blog-post-reader .post-info { padding: 0.85rem; }
  .explore-more { margin-top: 3rem; padding: 0 0.75rem; }
  .explore-grid { grid-template-columns: 1fr; gap: 1rem; }
  .explore-card { padding: 1.25rem; }
  .post-toc summary { padding: 0.85rem 1rem; font-size: 0.95rem; }
  .post-toc .toc-nav { padding: 0 1rem 1rem; }
}