.mbl-wrapper {
  margin-top: 8px;
}

.mbl-layout {
  --mbl-border: #e9ecf2;
  --mbl-shadow: 0 10px 30px rgba(20, 30, 55, 0.08);
  --mbl-title: #101622;
  --mbl-muted: #5f6d85;
  --mbl-bg-soft: #f5f7fb;
}

.mbl-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

.mbl-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mbl-card {
  background: #fff;
  border: 1px solid var(--mbl-border);
  border-radius: 16px;
  box-shadow: var(--mbl-shadow);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mbl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(16, 30, 54, 0.14);
}

.mbl-card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dbe2ee;
}

.mbl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbl-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(20, 31, 51, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}

.mbl-video-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 15, 32, 0.86);
  color: #fff;
}

.mbl-card-body {
  padding: 16px 18px 18px;
}

.mbl-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
}

.mbl-title a {
  color: var(--mbl-title);
}

.mbl-title a:hover {
  text-decoration: none;
}

.mbl-excerpt {
  margin: 10px 0 0;
  color: var(--mbl-muted);
  line-height: 1.65;
}

.mbl-meta,
.mbl-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: #677590;
  font-size: 0.88rem;
}

.mbl-stats {
  padding-top: 12px;
  border-top: 1px dashed var(--mbl-border);
}

.mbl-sidebar {
  position: sticky;
  top: 78px;
}

.mbl-popular {
  background: #fff;
  border: 1px solid var(--mbl-border);
  border-radius: 16px;
  box-shadow: var(--mbl-shadow);
  padding: 16px;
}

.mbl-popular h4 {
  font-size: 1rem;
  margin: 0 0 14px;
  color: var(--mbl-title);
}

.mbl-popular-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.mbl-popular-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
}

.mbl-popular-thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  height: 64px;
  background: var(--mbl-bg-soft);
}

.mbl-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbl-popular-body {
  display: grid;
  align-content: center;
}

.mbl-popular-title {
  color: var(--mbl-title);
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
  max-height: 2.7em;
  overflow: hidden;
}

.mbl-popular-views {
  margin-top: 6px;
  color: var(--mbl-muted);
  font-size: 0.82rem;
}

.mbl-pagination {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--mbl-border);
  border-radius: 12px;
}

.mbl-page-btn {
  border: 1px solid var(--mbl-border);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--mbl-title);
  font-weight: 600;
}

.mbl-page-status {
  color: var(--mbl-muted);
  font-size: 0.9rem;
}

.mbl-empty {
  background: #fff;
  border: 1px dashed var(--mbl-border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.mbl-empty h3 {
  margin: 0;
  font-size: 1.05rem;
}

.mbl-empty p {
  margin: 8px 0 0;
  color: var(--mbl-muted);
}

@media (max-width: 991px) {
  .mbl-grid {
    grid-template-columns: 1fr;
  }

  .mbl-sidebar {
    position: static;
  }

  .mbl-main {
    grid-template-columns: 1fr;
  }
}
