.uta-slot-cta-grid {
  --gap: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin: 24px 0;
}

.uta-slot-cta-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uta-slot-cta-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uta-slot-cta-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uta-slot-cta-grid.cols-1 {
  grid-template-columns: 1fr;
}

.uta-slot-card {
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12, 22, 44, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}

.uta-slot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(12, 22, 44, 0.12);
}

.uta-slot-card.is-hidden {
  display: none;
}

.uta-slot-card__media {
  aspect-ratio: 16 / 9;
  height: 160px;
  overflow: hidden;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uta-slot-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.uta-slot-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 16px 14px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
}

.uta-slot-card__stat {
  min-width: 0;
}

.uta-slot-card__label {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.uta-slot-card__stat strong {
  display: block;
  color: #1a2238;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.uta-slot-card__actions {
  padding: 16px;
  display: grid;
  gap: 16px;
}

.uta-slot-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.uta-slot-card__btn:hover,
.uta-slot-card__btn:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

/* Головна кнопка — червона під стиль сайту */
.uta-slot-card__btn--primary {
  background: linear-gradient(180deg, #d61d42 0%, #bf1538 100%);
  color: #fff;
  border: 1px solid #bf1538;
  box-shadow: 0 10px 24px rgba(191, 21, 56, 0.18);
}

.uta-slot-card__btn--primary:hover,
.uta-slot-card__btn--primary:focus {
  background: linear-gradient(180deg, #bf1538 0%, #a9102f 100%);
  border-color: #a9102f;
  color: #fff;
}

/* Друга кнопка — біла з червоною рамкою */
.uta-slot-card__btn--secondary {
  background: #fff;
  color: #c91533;
  border: 1.5px solid #c91533;
}

.uta-slot-card__btn--secondary:hover,
.uta-slot-card__btn--secondary:focus {
  background: #fff5f7;
  color: #a9102f;
  border-color: #a9102f;
  box-shadow: 0 8px 18px rgba(201, 21, 51, 0.12);
}

.uta-slot-card__legal {
  padding: 0 16px 16px;
  margin-top: auto;
}

.uta-slot-card__legal-inner {
  max-height: 48px;
  overflow: auto;
  padding: 10px 8px 0;
  color: #667085;
  border-top: 1px solid #edf1f5;
  scrollbar-width: thin;
  scrollbar-color: #d61d42 transparent;
  text-align: center;
}

.uta-slot-card__legal-inner p {
  margin: 0 0 6px;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.uta-slot-card__legal-inner p:last-child {
  margin-bottom: 0;
}

.uta-slot-cta-more-wrap {
  text-align: center;
  margin-top: 8px;
}

.uta-slot-cta-more {
  appearance: none;
  border: 1px solid #d7dce5;
  background: #f7f8fb;
  color: #1a2238;
  border-radius: 16px;
  min-height: 48px;
  padding: 12px 26px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}

.uta-slot-cta-more:hover,
.uta-slot-cta-more:focus {
  background: #eef1f6;
  border-color: #c9d1de;
  color: #c91533;
}

@media (max-width: 1199px) {
  .uta-slot-cta-grid,
  .uta-slot-cta-grid.cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .uta-slot-cta-grid,
  .uta-slot-cta-grid.cols-4,
  .uta-slot-cta-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .uta-slot-cta-grid,
  .uta-slot-cta-grid.cols-4,
  .uta-slot-cta-grid.cols-3,
  .uta-slot-cta-grid.cols-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .uta-slot-card__media {
    height: 180px;
  }

  .uta-slot-card__stats {
    grid-template-columns: 1fr 1fr;
  }

  .uta-slot-card__stat:last-child {
    grid-column: 1 / -1;
  }

  .uta-slot-card__btn {
    min-height: 52px;
    font-size: 15px;
  }
}