/* Frontend UI */
.sm-grid {
  display: grid;
  gap: 40px;
}
.sm-grid.sm-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.sm-grid.sm-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .sm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .sm-grid {
    grid-template-columns: 1fr;
  }
}
.sm-card {
  display: block;
  background: #f6f6f6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: all 0.3s ease;
}
.sm-card:hover {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  transform: scale(1.05);
}
.sm-card__media {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}
.sm-card__media--placeholder {
  background: linear-gradient(180deg, #ddd, #eee);
}
.sm-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.sm-ribbon--green {
  background: #5ab05a;
}
.sm-ribbon--orange {
  background: #f1992e;
}
.sm-card__body {
  padding: 20px;
}
.sm-card__title {
  margin: 0 0 6px;
  font-size: 1.125rem;
}
.sm-card__excerpt {
  opacity: 0.9;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.3;
}
.sm-list--services {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.sm-item {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #0000000a;
}
.sm-item__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  /* margin-bottom: 16px; */
  margin-bottom: 0.4rem;
}
.sm-item__title {
  margin: 0;
  font-size: 1.4rem !important;
}
.sm-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 24px;
  background: #5ab05a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 40px;
  transition: all 0.3s ease;
}
.sm-list--services .sm-btn,
.sm-list--services .sm-btn:hover {
  color: #fff;
}
.sm-list--services .sm-btn:hover {
  background: #385136;
}
.sm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-weight: 600;
  font-size: 0.875rem;
}
.sm-badge--open {
  background: #e5f6e5;
  color: #2f7a2f;
}
.sm-badge--planned {
  background: #e9f0ff;
  color: #3b57a1;
}
.sm-badge--planned .status_dot {
  background-color: #3b57a1;
}
.sm-badge--closed {
  background: #eee;
  color: #666;
}
.sm-badge--closed .status_dot {
  background-color: #666;
}
a.sm-card.sm-card--cat {
  text-decoration: none !important;
}
