/* =========================================================================
   🎵 BLM48 — การ์ด Music Video (ใช้ร่วมกัน: Home แถว "Music Video" + หน้า musicvideo.html)
   สไตล์อ้างอิงแท็บ Video ของ iAM48: รูปมุมมน ริบบิ้นเหลืองมุมขวาบน ชื่อตัวหนา วันที่สีเทา
   ========================================================================= */

/* การ์ดแนวนอน (เลื่อนซ้าย-ขวา ให้การ์ดถัดไปโผล่ขอบขวา) */
.mv-card {
  position: relative;
  width: 84vw;
  max-width: 340px;
  flex-shrink: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.2s ease;
  font-family: 'Quicksand', 'Kanit', sans-serif;
}
.mv-card:active { transform: scale(0.98); }

/* รูปปก 16:9 มุมมน */
.mv-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f3f5;
}
.mv-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ริบบิ้นเหลืองมุมขวาบน (ปลายหางเว้าแบบที่คั่นหนังสือ) */
.mv-ribbon {
  position: absolute;
  top: 0;
  right: 5%;
  width: 34px;
  padding: 5px 0 11px;
  background: #ffde5b;
  color: #3a3a3a;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  font-size: 9.5px;
  font-weight: 600;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
  pointer-events: none;
}
.mv-ribbon i { font-size: 15px; margin-bottom: 2px; }

/* ชื่อคลิป ตัวหนา 2 บรรทัด ยาวเกินตัด ... */
.mv-title {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.mv-card .mv-title { min-height: calc(15px * 1.4 * 2); }

/* แถววันที่ (ไอคอนปฏิทิน + วันที่) */
.mv-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #707070;
}
.mv-meta i { font-size: 14px; color: #707070; }

/* ยอดวิวต่อท้ายวันที่: "4 Oct 2026 · 1.4K views" */
.mv-views::before { content: "•"; margin: 0 6px 0 2px; color: #b5b5b5; }
