.clinic-editorial-services .clinic-editorial-service-list {
  counter-reset: clinic-home-service;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  border-top: 1px solid var(--clinic-border);
}

.clinic-editorial-services .clinic-editorial-service-item,
.clinic-editorial-services .clinic-editorial-service-item:nth-child(odd),
.clinic-editorial-services .clinic-editorial-service-item:nth-child(even) {
  counter-increment: clinic-home-service;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 1.1rem;
  align-content: start;
  min-height: 190px;
  padding: 1.75rem 4.25rem 1.85rem 0;
  border-bottom: 1px solid var(--clinic-border);
  background: transparent;
  transition: background-color 160ms ease;
}

.clinic-editorial-services .clinic-editorial-service-item:nth-child(even) {
  padding-right: 4.25rem;
  padding-left: 1.8rem;
  border-left: 1px solid var(--clinic-border);
}

.clinic-editorial-services .clinic-editorial-service-item::before {
  content: counter(clinic-home-service, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 3;
  padding-top: .18rem;
  color: var(--clinic-primary);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.clinic-editorial-services .clinic-editorial-service-item:hover {
  background: color-mix(in srgb, var(--clinic-canvas) 46%, transparent);
}

.clinic-editorial-services .clinic-editorial-service-item h3 {
  grid-column: 2;
  margin: 0;
  padding-right: 2.75rem;
  font-size: clamp(1.25rem, 1.55vw, 1.48rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.035em;
  word-break: keep-all;
}

.clinic-editorial-services .clinic-editorial-service-item h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.clinic-editorial-services .clinic-editorial-service-item h3 a:hover {
  text-decoration: underline;
}

.clinic-editorial-services .clinic-editorial-service-item p {
  grid-column: 2;
  max-width: 48ch;
  margin-top: .75rem;
  font-size: .91rem;
  line-height: 1.72;
}

.clinic-editorial-services .clinic-editorial-service-item .clinic-text-link {
  position: absolute;
  top: 1.55rem;
  right: 1rem;
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--clinic-border);
  border-radius: 999px;
  color: var(--clinic-primary);
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.clinic-editorial-services .clinic-editorial-service-item:nth-child(even) .clinic-text-link {
  right: 1rem;
}

.clinic-editorial-services .clinic-editorial-service-item .clinic-text-link::after {
  content: "↗";
  font-size: .9rem;
  font-weight: 700;
}

.clinic-editorial-services .clinic-editorial-service-item .clinic-text-link:hover,
.clinic-editorial-services .clinic-editorial-service-item .clinic-text-link:focus-visible {
  border-color: var(--clinic-primary);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .clinic-editorial-services .clinic-editorial-service-item,
  .clinic-editorial-services .clinic-editorial-service-item:nth-child(odd),
  .clinic-editorial-services .clinic-editorial-service-item:nth-child(even) {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    min-height: 180px;
    padding: 1.55rem 3.65rem 1.65rem 0;
  }

  .clinic-editorial-services .clinic-editorial-service-item:nth-child(even) {
    padding-left: 1.35rem;
  }

  .clinic-editorial-services .clinic-editorial-service-item .clinic-text-link {
    top: 1.35rem;
    right: .75rem;
  }
}

@media (max-width: 781px) {
  .clinic-editorial-services .clinic-editorial-service-list {
    grid-template-columns: 1fr;
  }

  .clinic-editorial-services .clinic-editorial-service-item,
  .clinic-editorial-services .clinic-editorial-service-item:nth-child(odd),
  .clinic-editorial-services .clinic-editorial-service-item:nth-child(even) {
    grid-template-columns: 2.45rem minmax(0, 1fr);
    min-height: 0;
    padding: 1.35rem 3.25rem 1.45rem 0;
    border-left: 0;
  }

  .clinic-editorial-services .clinic-editorial-service-item h3 {
    padding-right: 1.25rem;
    font-size: 1.18rem;
  }

  .clinic-editorial-services .clinic-editorial-service-item p {
    display: -webkit-box;
    margin-top: .55rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: .87rem;
    line-height: 1.62;
  }

  .clinic-editorial-services .clinic-editorial-service-item .clinic-text-link {
    top: 1.15rem;
    right: 0;
    width: 1.9rem;
    height: 1.9rem;
  }
}
