.service-feature-card[hidden] {
  display: none;
}

.service-feature-card {
  --feature-color: #e53935;
  display: grid;
  margin: 0 0 20px;
  padding: 18px 20px;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 16px 24px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--feature-color) 28%, #e2e8f0);
  border-radius: 16px;
  background: #fff;
}

.service-feature-card.service-youtube { --feature-color: #e53935; }
.service-feature-card.service-netflix { --feature-color: #e50914; }
.service-feature-card.service-disney { --feature-color: #1595c8; }
.service-feature-card.service-tving { --feature-color: #ff174f; }
.service-feature-card.service-wavve { --feature-color: #126dff; }
.service-feature-card.service-tving-wavve { --feature-color: #5d68df; }
.service-feature-card.service-watcha { --feature-color: #ff2f76; }
.service-feature-card.service-laftel { --feature-color: #7857ff; }

.service-feature-card header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.service-feature-card header img {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border-radius: 11px;
  object-fit: contain;
}

.service-feature-card header span {
  color: var(--feature-color);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.service-feature-card h2 {
  margin: 3px 0 0;
  color: #2a3039;
  font-size: 16.5px;
  line-height: 1.3;
}

.service-feature-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.service-feature-card li {
  display: flex;
  min-width: 0;
  min-height: 42px;
  padding: 7px 9px;
  align-items: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--feature-color) 12%, #fff);
  border-radius: 11px;
  background: #fff;
}

.service-feature-card li i {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--feature-color) 10%, #fff);
  color: var(--feature-color);
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}

.service-feature-card li i.feature-user-check {
  position: relative;
  border-radius: 50%;
  font-size: 0;
}

.feature-user-check > span {
  position: relative;
  display: block;
  width: 13px;
  height: 15px;
}

.feature-user-check > span::before {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 5px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  content: "";
}

.feature-user-check > span::after {
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 11px;
  height: 7px;
  border: 1.4px solid currentColor;
  border-radius: 7px 7px 4px 4px;
  content: "";
}

.feature-user-check > em {
  position: absolute;
  right: -1px;
  bottom: -1px;
  display: grid;
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  place-items: center;
  background: var(--feature-color);
  color: #fff;
  font-size: 7px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.service-feature-card li b {
  min-width: 0;
  overflow: hidden;
  color: #4a525e;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-feature-card > small {
  grid-column: 1 / -1;
  color: #9299a3;
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .service-feature-card {
    margin-bottom: 13px;
    padding: 14px;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    border-radius: 14px;
  }

  .service-feature-card header {
    gap: 10px;
  }

  .service-feature-card header img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 9px;
  }

  .service-feature-card h2 {
    font-size: 14.5px;
  }

  .service-feature-card ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .service-feature-card li {
    min-height: 38px;
    padding: 6px 8px;
  }

  .service-feature-card li b {
    font-size: 10.5px;
  }

  .service-feature-card > small {
    font-size: 9px;
  }
}

@media (min-width: 801px) {
  /* Keep compact feature chips readable on the PC two-column layout. */
  .service-feature-card li b {
    white-space: nowrap;
  }
}
