/* ===== TimPhat Home Sutras Force Real V38 ===== */
.tp-home-sutras-v38 {
  width: 100%;
}

.tp-home-sutras-head-v38 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.tp-home-sutras-head-v38 h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: #2f2117;
}

.tp-home-sutras-head-v38 a {
  color: #9a611c;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.tp-home-sutra-grid-v38 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tp-home-sutra-card-v38 {
  display: block;
  padding: 16px;
  border-radius: 20px;
  background: #fffaf1;
  border: 1px solid rgba(139,94,35,.13);
  box-shadow: 0 10px 28px rgba(70,40,10,.06);
  color: inherit;
  text-decoration: none;
  min-height: 170px;
  transition: .18s ease;
}

.tp-home-sutra-card-v38:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(70,40,10,.10);
}

.tp-home-sutra-tag-v38 {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(201,139,44,.13);
  color: #9a611c;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

.tp-home-sutra-card-v38 h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.2;
  color: #3f2710;
}

.tp-home-sutra-card-v38 p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: #6d563e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-home-sutra-meta-v38 {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tp-home-sutra-meta-v38 span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: #7b5521;
  font-size: 11.5px;
  font-weight: 650;
}

@media (max-width: 860px) {
  .tp-home-sutras-head-v38 h2 {
    font-size: 21px;
  }

  .tp-home-sutra-grid-v38 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tp-home-sutra-card-v38 {
    min-height: 145px;
    padding: 13px;
    border-radius: 17px;
  }

  .tp-home-sutra-tag-v38 {
    height: 21px;
    font-size: 10.5px;
    padding: 0 8px;
    margin-bottom: 8px;
  }

  .tp-home-sutra-card-v38 h3 {
    font-size: 15.5px;
    margin-bottom: 6px;
  }

  .tp-home-sutra-card-v38 p {
    font-size: 12px;
    line-height: 1.42;
  }

  .tp-home-sutra-meta-v38 {
    display: none;
  }
}
