.hdev-material-list-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--hdev-mat-gap, 15px);
}

.hdev-material-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  padding: 10px;
  gap: 9px;
  width: 100%;
}

.hdev-mat-col-img {
  flex-shrink: 0;
  width: 110px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
}

.hdev-mat-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hdev-mat-col-title {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hdev-mat-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  line-height: 1.2;
}

.hdev-mat-subtitle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
}

.hdev-mat-subtitle svg {
  width: 15px;
  height: 15px;
  stroke: #da251c; /* Đỏ chủ đạo */
}

.hdev-mat-col-feature {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid #eaeaea;
  min-height: 50px;
}

.hdev-mat-feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.hdev-mat-feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: #da251c;
}

.hdev-mat-feature-text {
  font-size: 14px;
  line-height: 1.4;
  color: #444;
}

/* Responsive - Horizontal Scroll on Mobile */
@media (max-width: 768px) {
  .hdev-material-item {
    min-width: 700px; /* Ép kích thước để không bị bóp méo chữ */
    padding: 12px 15px;
    gap: 15px;
  }

  .hdev-material-list-wrap {
    overflow-x: auto;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
  }

  .hdev-material-list-wrap::-webkit-scrollbar {
    height: 4px;
  }
  .hdev-material-list-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }
  .hdev-material-list-wrap::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
  }
}
