/* =====================================================================
   NEWS / BLOG CARDS – "Today's News" 3 cards (home)
   File: css/sections/blog-cards.css
   .nw = section, .cc = card, .m = date/author, .bd = text, .ct = Continue link.
   ===================================================================== */

/* ---------------------------------------------------------------------
   MAIN STYLE (desktop)
   --------------------------------------------------------------------- */
.nw .hdg {
  text-align: center;
  margin-bottom: 48px;
}
.nw h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: #111;
}
.nw .hdg p {
  color: #6b7280;
  max-width: 42rem;
  margin: 20px auto 0;
}
.nw .g {
  max-width: 80rem;
  margin: auto;
  padding: 0 8px;
}
.cc {
  border: 1px solid #e5e7eb;
  transition: .3s;
  background: #fff;
}
.cc:hover {
  border-color: var(--r);
  box-shadow: 0 4px 10px #0001;
  transform: translateY(-4px);
}
.cc>img {
  width: 100%;
  height: 224px;
  object-fit: cover;
}
.cc .m {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 16px;
  font-size: .8rem;
  background: #f3f4f6;
  color: #1f2937;
  transition: .3s;
}
.cc:hover .m {
  background: var(--r);
  color: #fff;
}
.cc .bd {
  padding: 12px;
}
.cc h4 {
  text-transform: uppercase;
  color: #111;
  line-height: 1.35;
  font-weight: 600;
  font-size: 1rem;
}
.cc p {
  margin-top: 12px;
  color: #374151;
}
.cc .ct {
  display: block;
  text-align: right;
  color: #fc5757;
  font-weight: 600;
  margin: 12px 0;
}

/* ---------------------------------------------------------------------
   RESPONSIVE – Tablet (max 1023px) aur Mobile (max 767px)
   --------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .nw .g { gap: 24px; }
  .nw .hdg { margin-bottom: 32px; }
}
@media (max-width: 767px) {
  .nw h2 { font-size: 1.5rem; }
  .nw .hdg { margin-bottom: 24px; padding: 0 16px; }
  .cc > img { height: 200px; }
}

.nw h2 span { color: var(--r); }   /* "Today's News" me News ka red color */
