/* ===== Container ===== */
.wellness-cards-qtass{
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 12px 8px;
}

/* ===== Rows ===== */
.cards-row-qtass{
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 42px;
  flex-wrap: nowrap;              /* hàng trên cố định 3 thẻ */
}

/* Hàng dưới: 2 thẻ căn giữa */
.cards-row-qtass.row-2-qtass{
  justify-content: center;
  flex-wrap: nowrap;              /* luôn 2 thẻ một hàng */
}

/* ===== Card ===== */
.card-qtass{
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
  width: clamp(320px, 31vw, 400px);    
  padding: 22px 28px 26px;
}

/* Nhóm thanh xanh + tiêu đề */
.title-wrap-qtass{
  display: block;
}

/* Thanh xanh nhỏ bên trái tiêu đề */
.bar-qtass{
  display: inline-block;
  height: 10px;
  width: 146px;                        
  background: #18BDFA;
  border-radius: 4px;
  margin: 4px 0 14px 0;                
}

/* Tiêu đề */
.card-title-qtass{
  margin: 0 0 12px 0;
  color: #18BDFA;
  font-weight: 800;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.25;
  text-transform: uppercase;           
}

/* Mô tả */
.card-desc-qtass{
  margin: 0;
  color: #333;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
}

/* ===== Responsive ===== */

/* Tablet: 2-2 (hàng trên 2 thẻ, hàng dưới 2 thẻ) */
@media (max-width: 1100px){
  .cards-row-qtass{
    flex-wrap: wrap;
    justify-content: center;
  }
  .cards-row-qtass:not(.row-2-qtass) .card-qtass{
    width: clamp(320px, 44vw, 520px);
  }
  .cards-row-qtass.row-2-qtass .card-qtass{
    width: clamp(320px, 44vw, 520px);
  }
}

/* Mobile: 1 thẻ mỗi hàng */
@media (max-width:680px){
  .wellness-cards-qtass{
    padding: 16px 12px;             
  }

  .cards-row-qtass,
  .cards-row-qtass.row-2-qtass{
    display:flex;
    flex-direction:column;           
    align-items:stretch;           
    gap:24px;
  }

  .card-qtass{
    width:100% !important;              
    max-width:none;
    text-align:center;                  
    padding:20px 16px 22px;      
    border-radius:12px;
  }

  .title-wrap-qtass{
    display:flex;
    flex-direction:column;
    align-items:center;              
  }
  .bar-qtass{
    width:100px;                         
    margin:2px auto 12px;             
  }

  .card-title-qtass{
    font-size:18px;                     
    line-height:1.3;
  }
  .card-desc-qtass{
    font-size:15px;
    line-height:1.65;
  }
}

