/* ================================
   CATEGORY PAGE - BUSINESS STANDARD STYLE (UPDATED TO TOI MOBILE)
   ================================ */

/* Container Setup */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- CATEGORY HEADER ---- */
.bs-category-header {
  background: #ffffff;
  padding: 25px 0 15px;
  border-bottom: 2px solid #b80000;
  text-align: left;
}

.bs-cat-title {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  margin: 0;
  display: inline-block;
  position: relative;
  font-family: "Georgia", serif !important;
}

.bs-cat-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #b80000;
  margin: 10px auto 0;
}

.bs-cat-desc {
  color: #666;
  font-size: 15px;
  max-width: 700px;
  margin-top: 10px;
  line-height: 1.6;
}

/* ---- LAYOUT ---- */
.bs-category-body {
  padding: 25px 0;
}

.bs-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 40px;
}

/* ---- MAIN NEWS LIST ---- */
.bs-news-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #e0e0e0;
}

.bs-news-row:last-child {
  border-bottom: none;
}

.bs-text {
  flex: 1;
}

.bs-text h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
}

.bs-text h2 a {
  text-decoration: none;
  color: #111;
}

.bs-text h2 a:hover {
  color: #b80000;
}

.bs-summary {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 6px;
}

.bs-meta {
  font-size: 13px;
  color: #999;
}

/* ---- IMAGE ---- */
.bs-thumb {
  flex: 0 0 190px;
  height: 130px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.08);
}

.bs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.bs-thumb:hover img {
  transform: scale(1.05);
}

/* ---- SIDEBAR ---- */
.bs-sidebar {
  border-left: 1px solid #ddd;
  padding-left: 20px;
}

.bs-sidebar-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
  text-transform: uppercase;
}

.bs-sidebar-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #b80000;
  margin-top: 6px;
}

.bs-side-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
}

.bs-side-thumb {
  flex: 0 0 80px;
  height: 140px;
  border-radius: 3px;
  overflow: hidden;
}

.bs-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.bs-side-info p {
  font-size: 14px;
  color: #222;
  line-height: 1.35;
  margin: 0;
}

.bs-side-info p:hover {
  color: #b80000;
}

.bs-divider,
.bs-side-divider {
  border: none;
  border-bottom: 1px solid #e0e0e0;
  margin: 10px 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .bs-grid {
    grid-template-columns: 1fr;
  }
  .bs-sidebar {
    border-left: none;
    padding-left: 0;
    padding-top: 22px;
    border-top: 2px solid #eee;
    margin-top: 25px;
  }
}

/* ---- MOBILE OPTIMIZED LIKE TOI ---- */
@media (max-width: 768px) {
  
  .bs-news-row {
    flex-direction: row;
    gap: 12px;
    padding: 14px 0;
  }

.bs-thumb {
  flex: 0 0 110px;
  height: 110px;        /* ✅ width = height */
  overflow: hidden;
}

.bs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ✅ mobile feed style */
}


  .bs-text h2 {
    font-size: 16.5px;
    font-weight: 600;
    margin-bottom: 6px;
  }

  .bs-summary {
    font-size: 13.5px;
    margin-bottom: 5px;
  }

  .bs-meta {
    font-size: 12px;
  }

  .bs-category-header {
    padding: 20px 0 10px;
  }
}

/* ---- ULTRA MOBILE (<480px) ---- */
/* ---- ULTRA MOBILE (<480px) ---- */
@media (max-width: 480px) {

  .bs-news-row {
    padding: 12px 0;
    gap: 10px;
  }

  .bs-thumb {
    flex: 0 0 96px;
    height: 96px;
  }

  .bs-text h2 {
    font-size: 15.5px;
  }

  .bs-summary {
    font-size: 13px;
  }

  /* 🔥 SIDEBAR MOBILE LAYOUT CHANGE */
  .bs-side-item {
    flex-direction: column;   /* image upar */
    gap: 8px;
  }

  .bs-side-thumb {
    width: 100%;
    height: 180px;   /* 🔥 ab clearly bada hoga */
    flex: unset;
  }

  .bs-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bs-side-info p {
    font-size: 18px;
  }

}
