/* =========================
  Responsive Table -> Cards
  - PC: table 그대로
  - Mobile: table 숨기고 cards 보이기
========================= */

.yh-rtable-wrap { width: 100%; }
.yh-rtable-cards { display: none; }

@media (max-width: 768px) {
  .yh-rtable-wrap table { display: none !important; }
  .yh-rtable-cards { display: block; }
}

/* 카드 UI (간결형) */
.yh-card {
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  padding: 16px;
  margin-bottom: 14px;
}

.yh-card__title {
  font-weight: 800;
  font-size: 15px;
  color: #164f75;
  margin-bottom: 8px;
}

.yh-card__value {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  word-break: break-word;
}

.yh-card__value { text-align: left; }

/* ✅ Featured (모델명) 카드 */
.yh-card--featured{
  border-color: rgba(35,111,161,0.35);
  box-shadow: 0 10px 26px rgba(35,111,161,0.14);
  background: linear-gradient(180deg, rgba(35,111,161,0.10), rgba(255,255,255,1));
}

.yh-featured-top{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.yh-featured-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(35,111,161,0.14);
  flex: 0 0 auto;
}

.yh-featured-title{
  font-weight: 900;
  color: #164f75;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.yh-featured-badge{
  margin-left: auto;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: #236fa1;
  color: #fff;
  letter-spacing: 0.06em;
}

.yh-featured-value{
  font-size: 15px;
  font-weight: 800;
  color: #1b2a3a;
  line-height: 1.55;
}

@media (max-width: 768px){

  /* 애니메이션 부드럽게 */
  .yh-card{
    will-change: transform, opacity;
  }

  /* 카드 등장 시 약간 위로 올라오는 느낌 강화 */
  .yh-rtable-cards [data-aos="fade-up"]{
    transform: translateY(8px);
  }

}
