/* ---------------------------------------------------
   BLOCK 11 – Featured Right + List Left (Flex Version)
--------------------------------------------------- */

.block-11 {
  direction: rtl;
  margin-bottom: 40px;
}

.block-11 .b11-inner {
  position: relative;
  border-radius: 6px;
  background: #fff;
  padding: 20px;
  border: 2px solid #c0392b;
}

/* Title Bar */
.block-11 .b11-title-wrap {
  text-align: center;
  margin-bottom: 10px;
}
.block-11 .b11-heading {
  display: block;
  position: absolute;
  top: -40px;
  right: 50%;
  transform: translateX(50%);
  background: #c0392b;
  color: #fff;
  padding: 7px 50px;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  width: 10%;
}

/* Flex Layout */
.block-11 .b11-flex {
  display: flex;
  flex-direction: row; /* ✅ Featured Right */
  gap: 20px;
  align-items: flex-start;
  margin-top: 16px;
}

/* Right Featured Post */
.block-11 .b11-right {
  flex: 1.3;
}
.block-11 .b11-right img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
}
.block-11 .b11-right h3 {
  font-size: 22px;
  margin-top: 10px;
  line-height: 1.5;
}
.block-11 .b11-right p.desc {
  color: #444;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 6px;
}

/* Left List Posts */
.block-11 .b11-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.block-11 .b11-list {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  transition: background .3s;
}
.block-11 .b11-list:last-child {
  border-bottom: none;
}
.block-11 .b11-list:hover {
  background: #fafafa;
}
.block-11 .b11-list img {
  width: 75px;
  height: 55px;
  border-radius: 4px;
  object-fit: cover;
}
.block-11 .b11-list h4 {
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}
.block-11 .b11-list h4 a {
  color: #000;
  text-decoration: none;
}
.block-11 .b11-list h4 a:hover {
  color: #c0392b;
}

/* Bottom Buttons */
.block-11 .bottom-cats {
  text-align: center;
  margin-top: 20px;
}
.block-11 .cat-btn {
  display: inline-block;
  color: #fff;
  padding: 6px 16px;
  margin: 5px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .3s;
}
.block-11 .cat-btn:hover {
  opacity: 0.8;
}

/* ==========================================================
   ✅ BLOCK-11 — Mobile Layout Polish (Urdu News Point)
   Perfect RTL + Responsive Upgrade by Malik Masood 🚀
========================================================== */

@media (max-width: 992px) {

  /* Layout switch to column */
  .block-11 .b11-flex {
    flex-direction: column !important;
    gap: 18px !important;
  }

  /* Featured post (top) */
  .block-11 .b11-right {
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .block-11 .b11-right a {
    display: block;
    width: 100%;
  }

  .block-11 .b11-right img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }

  .block-11 .b11-right h3 {
    font-size: 20px;
    line-height: 1.6;
    margin: 12px 0 6px;
    padding: 0 12px;
    text-align: center;
  }

  /* Hide description cleanly */
  .block-11 .b11-right p.desc {
    display: none !important;
  }

  /* Left list section */
  .block-11 .b11-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .block-11 .b11-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  }

  .block-11 .b11-list:hover {
    transform: translateY(-2px);
    background: #fafafa;
  }

  .block-11 .b11-list img {
    width: 75px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .block-11 .b11-list h4 {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    text-align: right;
  }

  .block-11 .b11-list h4 a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .block-11 .b11-list h4 a:hover {
    color: #c0392b;
  }

  /* Title area adjust for small devices */
  .block-11 .b11-heading {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    background: #c0392b;
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
  }

  /* Button area */
  .block-11 .bottom-cats {
    text-align: center;
    margin-top: 14px;
    border-top: none;
  }

  .block-11 .cat-btn {
    background: #c0392b;
    color: #fff;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin: 4px;
    transition: background 0.25s;
  }

  .block-11 .cat-btn:hover {
    background: #a93124;
  }
}

/* Tiny Devices (Phones under 480px) */
@media (max-width: 480px) {

  .block-11 .b11-right img {
    max-height: 200px;
  }

  .block-11 .b11-right h3 {
    padding: 0 8px;
  }

  .block-11 .b11-list img {
    width: 70px;
    height: 55px;
  }


  .block-11 .b11-heading {
    font-size: 14px;
  }
}