.mp {
  color: var(--navy);
  background: var(--offwhite);
  padding-block: clamp(28px, 3vw, 40px);
}
.mp *, .mp *::before, .mp *::after { box-sizing: border-box; }
.mp-head { margin-bottom: 18px; }
.mp-head .rp-h2 { line-height: 1.2; }
.mp-head .rp-desc { margin-top: 4px; color: #486169; }
.mp-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.25vw, 20px);
}
.mp-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5e0dc;
  border-radius: var(--rp-radius);
  background: var(--white);
  box-shadow: 0 3px 8px rgb(11 32 44 / 4%);
}
.mp-visual {
  display: grid;
  grid-template-columns: 35% 65%;
  height: clamp(112px, 8.5vw, 132px);
  background: var(--teal);
  color: var(--offwhite);
}
.mp-podcast .mp-visual { background: var(--mint); color: var(--navy); }
.mp-design .mp-visual { background: var(--navy); }
.mp-quran .mp-visual { background: #c7e4d9; color: var(--teal); }
.mp-total { display: grid; align-content: center; justify-items: center; gap: 2px; }
.mp-total b {
  font-size: clamp(2.05rem, 3.4vw, 3.1rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.mp-total span { font-size: var(--rp-fs-label); font-weight: 600; }
.mp-photo { min-width: 0; overflow: hidden; border-radius: 0 var(--rp-radius-sm) var(--rp-radius-sm) 0; }
.mp-photo img { display: block; height: 100%; width: 100%; object-fit: cover; }
.mp-video .mp-photo img { object-position: 48% 50%; }
.mp-podcast .mp-photo img { object-position: 52% 44%; }
.mp-design .mp-photo img { object-position: 50% 55%; }
.mp-quran .mp-photo img { object-position: 50% 50%; }
.mp-body { padding: 13px clamp(12px, 1.25vw, 18px) 12px; }
.mp-body h3 { margin: 0; font-size: clamp(1.13rem, 1.52vw, 1.38rem); font-weight: 700; line-height: 1.45; }
.mp-body p { margin: 3px 0 11px; color: #4c626a; font-size: .92rem; line-height: 1.55; }
.mp-body ul { list-style: none; display: grid; gap: 2px; margin: 0; padding: 6px 0 0; border-top: 1px dashed #c6d5cf; }
.mp-row {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 3ch 14px;
  align-items: center;
  min-height: 34px;
  gap: 7px;
  padding: 2px 4px;
  border-radius: 6px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}
.mp-code { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.mp-code--ES { background: var(--rp-lang-es); color: var(--rp-lang-ink); }
.mp-code--PT { background: var(--rp-lang-pt); color: var(--rp-lang-ink); }
.mp-code--EN { background: var(--rp-lang-en); color: var(--rp-lang-ink); }
.mp-count { font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; text-align: right; }
.mp-row svg { width: 14px; height: 14px; fill: none; stroke: #406359; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mp a:focus-visible, .mp-track:focus-visible { outline: 2px solid #196b65; outline-offset: 1px; }
@media (hover: hover) {
  .mp a.mp-row:hover { background: #eff4f1; }
}
@media (prefers-reduced-motion: no-preference) {
  .mp-enter .mp-card { animation: mp-appear .42s var(--ease) backwards; animation-delay: calc(var(--mp-index) * 45ms); }
  @keyframes mp-appear { from { opacity: .65; translate: 0 8px; } }
  .mp-card, .mp-photo img, .mp-row svg { transition: transform .22s var(--ease); }
  .mp-row { transition: background-color .18s; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .mp-card:hover { transform: translateY(-2px); }
  .mp-card:hover .mp-photo img { transform: scale(1.03); }
  .mp a:hover svg { transform: translate(-2px, -2px); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .mp-track { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
}
@media (max-width: 639px) {
  .mp-track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 87%;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-block: 4px 8px;
    scrollbar-width: thin;
    scrollbar-color: #9ab8b0 transparent;
  }
  .mp-card { scroll-snap-align: start; }
  .mp-visual { height: 120px; }
  .mp-row { min-height: 40px; }
}
