/* Kıbrıs Psikoloji v27 — concise specialist profile. */

.home .kp-v27-therapist-grid {
  display:grid!important;
  grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr)!important;
  align-items:center!important;
}

.home .kp-v27-therapist-grid > .wp-block-column {
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  min-width:0;
  flex-basis:auto!important;
}

.home .kp-v27-therapist-grid > .wp-block-column:first-child {
  grid-column:auto!important;
  grid-row:auto!important;
}

.kp-v27-therapist-grid h2 {
  max-width:14ch;
  margin-top:0!important;
}

.kp-v27-profile-cards {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:1rem!important;
}

.kp-v27-profile-cards > .wp-block-column {
  width:auto!important;
  min-width:0;
  height:100%;
  flex-basis:auto!important;
}

.kp-v27-profile-card {
  box-sizing:border-box;
  height:100%;
  min-height:330px;
  padding:1.5rem 1.35rem!important;
  border:1px solid rgba(22,74,70,.13);
  border-radius:20px;
  background:rgba(255,253,249,.78);
  box-shadow:0 16px 36px rgba(22,74,70,.055);
  text-align:center;
}

.kp-v27-profile-icon {
  display:grid;
  width:58px;
  height:58px;
  margin:0 auto 1.15rem;
  place-items:center;
  border:1px solid rgba(22,74,70,.16);
  border-radius:50%;
  background:#dfe9e2;
  color:#164a46;
}

.kp-v27-profile-icon svg {
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.kp-v27-profile-card h3 {
  margin:0 0 1rem!important;
  color:#263f3c;
  text-align:center!important;
}

.kp-v27-profile-list {
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  text-align:center;
}

.kp-v27-profile-list li {
  margin:0;
  padding:.75rem 0;
  color:#667975;
  line-height:1.55;
}

.kp-v27-profile-list li + li {
  border-top:1px solid rgba(22,74,70,.11);
}

.kp-v27-profile-list strong,
.kp-v27-profile-copy strong {
  color:#263f3c;
}

.kp-v27-profile-copy {
  margin:0!important;
  color:#667975!important;
  line-height:1.7!important;
  text-align:center!important;
}

.kp-v27-profile-action {
  margin-top:1.35rem!important;
}

@media (max-width:1000px) {
  .home .kp-v27-therapist-grid {
    grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr)!important;
  }

  .kp-v27-profile-cards {
    grid-template-columns:1fr!important;
  }

  .kp-v27-profile-card {
    min-height:0;
  }
}

@media (max-width:760px) {
  .home .kp-v27-therapist-grid {
    grid-template-columns:1fr!important;
  }

  .kp-v27-therapist-grid h2 {
    max-width:none;
  }
}
