/* ===== AIHub Recommendation Card (scoped) ===== */
.aixh-reco {
  --c-start: #063a61;
  --c-end:   #06a2d6;
  --c-text:  #eaf6ff;
  --c-white: #fff;
  --rad: 18px;

  background: linear-gradient(135deg, var(--c-start) 0%, var(--c-end) 100%);
  color: var(--c-text);
  border-radius: var(--rad);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.25);
}

.aixh-reco * { box-sizing: border-box; }

.aixh-reco__head {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.aixh-reco__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12);
  color: #fff;          /* currentColor cho icon bên trong */
  flex: 0 0 auto;
}

/* Thay icon bằng SVG link mày đưa – dùng CSS mask để giữ màu currentColor */
.aixh-ic-stars{
  display:inline-block;
  width:26px; height:26px;
  background: currentColor;
  -webkit-mask: url('https://giaiphapthe.com/wp-content/uploads/2025/11/stars-ic.svg') no-repeat center / contain;
          mask: url('https://giaiphapthe.com/wp-content/uploads/2025/11/stars-ic.svg') no-repeat center / contain;
}

.aixh-reco__title {
  font-weight: 500; font-size: 20px; line-height: 1.2;
  flex: 1 1 auto;
}

.aixh-reco__badge {
    font-size: 12px;
    font-weight: 500;
    color: #cfefff;
    background: rgba(255, 255, 255, .18);
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.aixh-reco__sub {
  margin: 8px 0 14px; opacity: .95; font-size: 14px;
}

.aixh-reco__card {
  background: var(--c-white);
  color: #113;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex; align-items: start; gap: 16px;
  border: 1px solid rgba(0,0,0,.06);
}

.aixh-reco__card-main { flex: 1 1 auto; min-width: 0; }

.aixh-reco__card-title {
  font-size: 20px; font-weight: 500; color: #0e2a3f;
  margin-bottom: 6px;
}

.aixh-reco__card-desc {
  font-size: 14.5px; color: #355; opacity: .9;
}

.aixh-reco__rating {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  color: #07a7df; font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
  .aixh-reco { padding: 14px; }
  .aixh-reco__title { font-size: 18px; }
  .aixh-reco__card-title { font-size: 18px; line-height: 1.3; }
}
