.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-showcase-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(251, 250, 247, 0.82);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.service-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(32, 55, 47, .14);
}

.service-showcase-image {
  height: clamp(340px, 38vw, 500px);
  padding: 18px;
  overflow: hidden;
  background: #e5dfd5;
}

.service-showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .45s ease;
}

.service-showcase-card:hover .service-showcase-image img,
.service-showcase-image:focus-visible img {
  transform: scale(1.025);
}

.service-showcase-content {
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-showcase-content > span {
  color: var(--clay);
  font: 16px Georgia, serif;
}

.service-showcase-content h3 {
  margin: 28px 0 18px;
  font: 34px/1.1 Georgia, serif;
}

.service-showcase-content p {
  color: #59675f;
  font-size: 16px;
  line-height: 1.7;
}

.service-showcase-actions {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-showcase-actions a {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}

.service-showcase-book {
  color: var(--ink);
  background: #efe7dc;
  border: 1px solid rgba(183, 135, 112, .28);
  gap: 9px;
  padding: 8px 18px 8px 8px !important;
}

.service-doctolib-mark {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  overflow: hidden;
}

.service-doctolib-mark img {
  display: block;
  width: 133.333%;
  max-width: none;
  height: 100%;
  object-fit: fill;
}

.service-showcase-more {
  color: #fff;
  background: var(--ink);
  gap: 12px;
}

.service-showcase-actions a:hover,
.service-showcase-actions a:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 900px) {
  .service-showcase-grid { grid-template-columns: 1fr; }
  .service-showcase-image {
    height: min(112vw, 520px);
    padding: 14px;
  }
  .service-showcase-content { min-height: 0; }
}

@media (max-width: 560px) {
  .service-showcase-image { height: min(105vw, 440px); }
}

@media (max-width: 560px) {
  .service-showcase-content { padding: 26px 22px 28px; }
  .service-showcase-content h3 { font-size: 30px; }
  .service-showcase-actions { flex-direction: column; }
  .service-showcase-actions a { width: 100%; }
}
