/* ==========================================================
   ✅ BLOCK-6 — دلچسپ و عجیب (Mobile Responsive Fix)
   Urdu News Point — Malik Masood 🚀
========================================================== */

/* -------- Desktop (no change) -------- */
.unp-interest-block {
  direction: rtl;
  margin-top: 40px;
  position: relative;
}
.unp-interest-block .section-inner {
  border: 2px solid #558bb3;
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  position: relative;
}
.unp-interest-block .section-title {
  position: absolute;
  top: -40px;
  right: 50%;
  transform: translateX(50%);
  background: #558bb3;
  color: #fff;
  font-weight: 700;
  padding: 7px 50px;
  font-size: 20px;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.unp-interest-block .interest-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
@media(min-width:992px) {
  .unp-interest-block .interest-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.unp-interest-block article {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.unp-interest-block article:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,.08);
}
.unp-interest-block .thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.unp-interest-block .title {
  font-size: 18px;
  line-height: 1.6;
  padding: 10px 12px;
  margin: 0;
  text-align: center;
}
.unp-interest-block .title a {
  color: #111;
  text-decoration: none;
}
.unp-interest-block .title a:hover {
  color: #558bb3;
}

/* ==========================================================
   📱 MOBILE VIEW FIX (One Large + List Style)
========================================================== */
@media(max-width:991px) {
  .unp-interest-block .interest-grid {
    display: block !important;
  }

  /* -------- First post: full width -------- */
  .unp-interest-block .interest-grid article:first-child {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .unp-interest-block .interest-grid article:first-child .thumb img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
  }
  .unp-interest-block .interest-grid article:first-child .title {
    font-size: 20px;
    text-align: right;
    padding: 10px 12px 14px;
  }

  /* -------- Remaining posts: list view -------- */
  .unp-interest-block .interest-grid article:not(:first-child) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    transition: all 0.3s ease;
  }

  .unp-interest-block .interest-grid article:not(:first-child) .thumb {
    flex-shrink: 0;
  }
  .unp-interest-block .interest-grid article:not(:first-child) .thumb img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
  }

  .unp-interest-block .interest-grid article:not(:first-child) .title {
    flex: 1;
    text-align: right;
    padding: 0;
  }

  .unp-interest-block .interest-grid article:not(:first-child) .title a {
    color: #111;
    text-decoration: none;
    line-height: 1.5;
  }

  .unp-interest-block .interest-grid article:not(:first-child):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
}

/* -------- Tiny phones -------- */
@media(max-width:480px) {
  .unp-interest-block .interest-grid article:not(:first-child) .thumb img {
    width: 75px;
    height: 60px;
  }

}