body.page-slug-dich-vu .hg-service-card,
body.page-id-1746 .hg-service-card,
.hg-service-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px 22px 20px !important;
  background: #fffdf8;
  border: 1px solid rgba(16, 59, 49, .14);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 10px 28px rgba(16, 59, 49, .09);
}

.hg-service-card h3 {
  min-height: 2.7em;
  margin: 0 0 12px !important;
  color: #103b31 !important;
  font-size: clamp(19px, 1.5vw, 23px) !important;
  line-height: 1.3 !important;
}

.hg-service-preview {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.hg-service-summary {
  margin: 0 0 17px !important;
  color: #53665f !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
}

.hg-service-meta-visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e7e4da;
}

.hg-service-time {
  display: inline-flex;
  align-items: center;
  color: #53665f !important;
  font-size: 14px;
  font-weight: 700;
}

.hg-service-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 8px 13px;
  color: #fff !important;
  background: #b87642;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(184, 118, 66, .2);
}

.hg-service-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px !important;
}

.hg-service-actions > span {
  display: contents;
}

.hg-service-actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
}

.hg-service-more {
  color: #103b31 !important;
  background: #eef4ef !important;
  border: 1px solid #9bb4a8 !important;
}

.hg-service-book {
  color: #fff !important;
  background: #103b31 !important;
  border: 1px solid #103b31 !important;
}

.hg-service-more:hover,
.hg-service-more:focus-visible {
  color: #fff !important;
  background: #3f725f !important;
}

.hg-service-book:hover,
.hg-service-book:focus-visible {
  color: #103b31 !important;
  background: #e8d8bc !important;
}

@media (max-width: 849px) {
  .hg-service-card {
    min-height: 250px;
    padding: 18px !important;
  }
  .hg-service-card h3 { min-height: auto; }
}

@media (max-width: 549px) {
  .hg-service-card { min-height: 0; }
  .hg-service-summary { font-size: 14px !important; }
  .hg-service-price { min-width: 104px; font-size: 17px; }
  .hg-service-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hg-service-actions a { transition: none !important; }
}
