.dl-sub-archive {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
}
.dl-sub-archive .td-subs__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.dl-sub-picture {
  display: block;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 12px;
}
.dl-sub-picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.td-subs__card .dl-sub-picture {
  margin-bottom: 14px;
}
.td-subs .td-subs__card > .td-subs__badge {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 12px;
  z-index: 1;
}
.td-subs .td-subs__card.td-subs__card--recommended {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0 22px 24px;
  font-size: 1.06em;
  border: 3px solid var(--td-sub-accent, #0d9488);
  box-shadow:
    0 18px 40px color-mix(in srgb, var(--td-sub-accent, #0d9488) 26%, rgba(15, 23, 42, 0.12)),
    0 0 0 4px color-mix(in srgb, var(--td-sub-accent, #0d9488) 12%, transparent);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--td-sub-accent, #0d9488) 14%, transparent), transparent 46%),
    var(--td-sub-card, #fff);
  transform: none;
}
.td-subs .td-subs__card.td-subs__card--recommended:hover {
  transform: none;
  border-color: var(--td-sub-accent-2, #0f766e);
  box-shadow:
    0 22px 46px color-mix(in srgb, var(--td-sub-accent, #0d9488) 32%, rgba(15, 23, 42, 0.16)),
    0 0 0 4px color-mix(in srgb, var(--td-sub-accent, #0d9488) 16%, transparent);
}
.td-subs__card--recommended .td-subs__name {
  font-size: 1.42rem;
  font-weight: 800;
}
.td-subs__card--recommended .td-subs__price {
  font-weight: 800;
}
.td-subs__card--recommended .td-subs__btn {
  background: var(--td-sub-accent, #0d9488);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--td-sub-accent, #0d9488) 35%, transparent);
}
.dl-sub-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 3;
  pointer-events: none;
  margin: 0 -22px 16px;
  padding: 12px 16px;
  background: var(--td-sub-accent, #0d9488);
  color: #fff;
  border-radius: 0;
}
.td-subs__card--recommended .dl-sub-ribbon {
  margin-bottom: 16px;
}
.dl-sub-ribbon__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  -webkit-animation: dl-sub-dot 1.55s ease-in-out infinite;
  animation: dl-sub-dot 1.55s ease-in-out infinite;
  flex-shrink: 0;
}
.dl-sub-ribbon__label {
  position: static;
  top: auto;
  left: auto;
  width: auto;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  transform: none;
  box-shadow: none;
}
@keyframes dl-sub-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    opacity: 0.18;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
  }
}
@media (min-width: 1024px) {
  .td-subs .td-subs__card.td-subs__card--recommended {
    padding-bottom: 1.85rem;
  }
  .dl-sub-ribbon {
    padding: 11px 16px;
  }
  .dl-sub-ribbon__label {
    font-size: 1.02rem;
  }
  .dl-sub-ribbon__dot {
    width: 10px;
    height: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dl-sub-ribbon__dot {
    animation: none;
    opacity: 1;
  }
}
