/* ===== SIMPLE BLOG.CSS ===== */
:root {
  --primary: #8E1616;
  --secondary: #B54040;
  --accent: #D4AF37;
  --primary-dark: #6A1111;
  --text-light: #5F6368;
  --bg-light: #F8F9FA;
}

/* Hero Section */
.blog-hero {
  background: linear-gradient(135deg, #8E1616 0%, #6A1B3B 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 30px;
  border-bottom: 4px solid var(--accent);
  margin-top: 20px;
}

/* Missing styles - add these */
.blog-hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-hero .lead {
  color: white;
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.95;
  max-width: 600px;
}

.blog-hero p {
  color: white;
}

.blog-welcome-badge {
  background: var(--accent);
  color: var(--primary-dark); /* This is dark red - correct for badge */
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-search {
  max-width: 500px;
}

.blog-search .input-group {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  overflow: hidden;
}

.blog-search .form-control {
  border: none;
  padding: 0.8rem 1.5rem;
}

.blog-search .btn {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
}

.blog-search .btn:hover {
  background: var(--primary);
}

/* Section Title */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Featured Cards */
.featured-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-no-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8E1616, #6A1B3B);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(106, 17, 17, 0.95));
  padding: 1.5rem;
  color: white;
}

.featured-label {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.featured-overlay h5 a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.featured-overlay small {
  color: rgba(255, 255, 255, 0.8);
}

.featured-overlay small i {
  color: var(--accent);
  margin-right: 0.3rem;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(142, 22, 22, 0.15);
}

.blog-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-no-image {
  background: linear-gradient(135deg, #8E1616, #6A1B3B);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-category {
  background: linear-gradient(135deg, #B54040, #8E1616);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 1rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-category:hover {
  background: linear-gradient(135deg, #8E1616, #B54040);
  color: white;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.blog-title a {
  color: var(--primary-dark);
  text-decoration: none;
}

.blog-title a:hover {
  color: var(--secondary);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.blog-meta i {
  color: var(--accent);
  margin-right: 0.3rem;
}

.blog-meta span {
  margin-right: 1rem;
}

.blog-read-more {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-read-more:hover {
  color: var(--primary);
  gap: 0.8rem;
}

/* Sidebar */
.sidebar-box {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--secondary);
}

.sidebar-box h4 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed #eee;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
}

.sidebar-list a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.popular-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #eee;
}

.popular-item:last-child {
  border-bottom: none;
}

.popular-link {
  color: var(--primary-dark);
  font-weight: 500;
  text-decoration: none;
  display: block;
  margin-bottom: 0.2rem;
}

.popular-link:hover {
  color: var(--secondary);
}

.popular-item small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.popular-item small i {
  color: var(--accent);
  margin-right: 0.3rem;
}

/* Pagination */
.pagination .page-link {
  color: var(--secondary);
  border: 1px solid #dee2e6;
  margin: 0 3px;
  border-radius: 6px;
}

.pagination .active .page-link {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero {
    padding: 40px 0;
    text-align: center;
  }
  
  .featured-card {
    height: 200px;
  }
}