.ektd-section {
  padding: clamp(72px, 8vw, 118px) 24px;
  background: #f4f2ef;
  color: #073b4c;
}

.ektd-container {
  width: min(1185px, 100%);
  margin: 0 auto;
}

.ektd-eyebrow {
  margin: 0 0 14px;
  color: #d7ad89;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ektd-section h2 {
  margin: 0 0 42px;
  color: #073b4c;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.ektd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ektd-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.ektd-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e5;
}

.ektd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}

.ektd-card:hover .ektd-photo img {
  transform: scale(1.025);
}

.ektd-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 30px;
}

.ektd-card h3 {
  margin: 0;
  color: #073b4c;
  font-size: 25px;
  line-height: 1.18;
}

.ektd-role {
  margin: 10px 0 0;
  color: #4d5c61;
  font-size: 16px;
  line-height: 1.45;
}

.ektd-summary {
  margin: 20px 0 0;
  color: #70787b;
  font-size: 15px;
  line-height: 1.55;
}

.ektd-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 26px;
  color: #073b4c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.ektd-link span {
  display: inline-block;
  margin-left: 6px;
  transition: transform .2s ease;
}

.ektd-link:hover span {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .ektd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ektd-section {
    padding-inline: 20px;
  }

  .ektd-grid {
    grid-template-columns: 1fr;
  }

  .ektd-card-body {
    padding: 24px;
  }
}

/* Kompakter Listen-Modus (layout="list") – für Einbettung in native Elementor-Spalte */
.ektd-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ektd-list-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(1, 53, 71, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.elementor #ek_treating_doctors_native .ektd-list-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.ektd-list-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(1, 53, 71, .10);
}

.ektd-list-photo {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
}

.ektd-list-photo img,
.elementor #ek_treating_doctors_native .ektd-list-photo img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  max-width: none;
  box-shadow: none;
}

.ektd-list-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
}

.ektd-list-text strong {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #013547;
  line-height: 1.25;
}

.ektd-list-role {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: #6C6F6E;
  line-height: 1.4;
}
