/* ========== Layout Fix ========== */

.col-left {
  flex: 3;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Right Column */
.col-right {
  flex: 1;
}
/* ===== Blog Grid Layout ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 blogs per row */
  gap: 25px;
}

/* ===== Blog Card ===== */
.blog-card {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: auto; 
    max-height: 220px; 
    object-fit: cover;
}

.blog-body {
  padding: 5px 10px;
}

.blog-body h3 a{
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #222 !important;
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

.blog-meta i {
  color: #e60023;
  margin-right: 5px;
}

.blog-meta span {
  margin-right: 15px;
}

.blog-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* ===== Footer Section ===== */
.blog-footer {
  padding: 15px 25px 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.read-more {
  display: inline-block;
  padding: 10px 0;
  color: #e60023;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-top: 2px solid #f5f5f5;
  border-bottom: 2px solid #f5f5f5;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #c4001c;
}

/* ===== Social Icons ===== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons i {
  /* background: #f2f2f2; */
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  transition: 0.3s;
}

.social-icons i:hover {
  background: #e60023;
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 576px) {
  .blog-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}












.single-blog {
  padding: 60px 0;
  background: #fff;
}

.col-left {
  flex: 2;
}

.col-right {
  flex: 1;
}

/* Blog Content */
.blog-post {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.blog-featured-img {
  width: 100%;
  /* height: 420px; */
   height: auto;
  object-fit: cover;
}

.blog-title {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin: 15px;
}

.blog-meta {
  font-size: 14px;
  color: #777;
  margin: 0 12px 15px;
  display: flex;
  /* flex-wrap: wrap;
  gap: 10px 20px; */
}

.blog-meta i {
  color: #e60023;
  margin-right: 5px;
}

.blog-content {
  padding: 0 25px 25px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

/* Sidebar */
.sidebar-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-box h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}

.sidebar-box h4::after {
  content: '';
  width: 50px;
  height: 3px;
  background: #e60023;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* Search */
.search-box {
  display: flex;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
}

.search-box input {
  border: none;
  padding: 10px;
  width: 100%;
}

.search-box button {
  background: #e60023;
  border: none;
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
}

/* Categories */
.categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories li {
  border-bottom: 1px solid #eee;
}

.categories li a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: 0.3s;
}

.categories li a:hover {
  color: #e60023;
}

/* Latest Posts */
.latest-posts .post-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.latest-posts img {
  width: 70px;
  height: 70px;
  border-radius: 4px;
  object-fit: cover;
}

.latest-posts p {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

.latest-posts span {
  font-size: 12px;
  color: #999;
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    /* flex-direction: column; */
  }

  .col-left, .col-right {
    width: 100%;
  }

  .blog-featured-img {
    height: 300px;
  }
}
