/*
 * Component: Featured Posts (Most Read)
 * Layout: hero left + 2×2 card grid right — fixed 500px, white bg, border separators
 */

/* ── Section ───────────────────────────────────────────────────── */
.mrd-section {
  padding: 18px 0 22px;
}

.mrd-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Section label ─────────────────────────────────────────────── */
.mrd-header { margin-bottom: 12px; }

.mrd-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
}

.mrd-label::before {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: #cb131c;
  border-radius: 2px;
}

/* ── Outer grid ─────────────────────────────────────────────────── */
.mrd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 500px;
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  overflow: hidden;
}

/* ── Hero post ─────────────────────────────────────────────────── */
.mrd-hero {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-right: 1px solid #eeeeee;
  overflow: hidden;
}

.mrd-hero-img {
    position: relative;
    display: block;
    overflow: hidden;
    flex: none;
    height: 72%;
}

.mrd-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mrd-hero-img:hover img { transform: scale(1.03); }

.mrd-cat-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: #cb131c;
  color: #fff;
  font-family: var(--font-family-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.mrd-hero-body {
  flex-shrink: 0;
  padding: 12px 14px 13px;
  background: #fff;
  border-top: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tags */
.mrd-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.mrd-tag {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  font-family: var(--font-family-body);
  font-size: 10px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.12s, color 0.12s;
}
.mrd-tag:hover { border-color: #cb131c; color: #cb131c; }

.mrd-hero-title {
  font-family: var(--font-family-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mrd-hero-title a { color: inherit; text-decoration: none; transition: color 0.12s; }
.mrd-hero-title a:hover { color: #cb131c; }

.mrd-hero-exc {
  font-family: var(--font-family-body);
  font-size: 12px;
  color: #777;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Shared meta ───────────────────────────────────────────────── */
.mrd-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mrd-date {
  font-family: var(--font-family-body);
  font-size: 11px;
  color: #aaa;
}

.mrd-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-family-body);
  font-size: 11px;
  color: #aaa;
}

/* ── Right side: vertical list ─────────────────────────────────── */
.mrd-list {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── List item — horizontal thumb + text ───────────────────────── */
.mrd-list-item {
  display: flex;
  align-items: stretch;
  flex: 1;                        /* each of 4 items = 125px (500/4) */
  overflow: hidden;
  border-bottom: 1px solid #eeeeee;
  transition: background 0.12s;
}

.mrd-list-item:last-child { border-bottom: none; }
.mrd-list-item:hover { background: #fafafa; }

/* Thumbnail */
.mrd-list-thumb {
  flex: none;
  width: 130px;
  display: block;
  overflow: hidden;
  border-right: 1px solid #eeeeee;
}

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

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

.mrd-placeholder { width: 100%; height: 100%; background: #f5f5f5; }

/* Text body */
.mrd-list-body {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
}

/* Category + tag on same row */
.mrd-list-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mrd-card-cat {
  font-family: var(--font-family-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cb131c;
  text-decoration: none;
}
.mrd-card-cat:hover { text-decoration: underline; }

.mrd-tag-sm {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  background: #f0f0f0;
  color: #555;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-family-body);
  white-space: nowrap;
}

.mrd-list-title {
  font-family: var(--font-family-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mrd-list-title a { color: inherit; text-decoration: none; transition: color 0.12s; }
.mrd-list-title a:hover { color: #cb131c; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .mrd-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mrd-hero {
    height: auto;
    border-right: none;
    border-bottom: 1px solid #eeeeee;
  }
  .mrd-hero-img { flex: none; height: auto; aspect-ratio: 16 / 9; }
  .mrd-list { height: auto; }
  .mrd-list-item { flex: none; min-height: 100px; }
  .mrd-list-thumb { width: 110px; }
}

@media (max-width: 560px) {
  .mrd-hero-exc { display: none; }
  .mrd-list-thumb { width: 90px; }
  .mrd-list-title { font-size: 13px; }
  .mrd-section { padding: 14px 0 18px; }
}
