/* Kıbrıs Psikoloji v39 — refined online cards and specialist profile journey. */

/* Online therapy: remove the legacy duplicate counter and nested-card effect. */
.kp-page-hero:has(.kp-online-photo) + .kp-v29-online-features .kp-v39-online-grid > .wp-block-column::before {
  content:none!important;
  display:none!important;
}

.kp-v39-online-intro {
  max-width:760px!important;
  margin:0 auto clamp(2rem,4vw,3.25rem)!important;
  text-align:center;
}

.kp-v39-online-intro h2 { max-width:18ch; margin-inline:auto!important; }
.kp-v39-online-intro p { max-width:680px; margin-inline:auto!important; line-height:1.75; }

.kp-v29-online-features .kp-v39-online-grid {
  align-items:stretch!important;
  gap:clamp(1rem,2vw,1.5rem)!important;
}

.kp-page-hero:has(.kp-online-photo) + .kp-v29-online-features .kp-v39-online-grid > .wp-block-column {
  display:flex!important;
  min-width:0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.kp-v29-online-features .kp-v39-online-card {
  position:relative;
  display:flex!important;
  min-height:0!important;
  flex:1;
  flex-direction:column;
  margin:0!important;
  padding:clamp(1.55rem,3vw,2.25rem)!important;
  overflow:hidden;
  border:1px solid rgba(36,69,66,.12)!important;
  border-radius:1.5rem!important;
  background:rgba(255,253,249,.9)!important;
  box-shadow:0 18px 42px rgba(25,61,57,.055)!important;
}

.kp-v39-online-card::after {
  content:"";
  position:absolute;
  right:-3rem;
  bottom:-4.5rem;
  width:10rem;
  aspect-ratio:1;
  border:1px solid rgba(160,109,89,.13);
  border-radius:50%;
  pointer-events:none;
}

.kp-v39-online-card__top {
  width:100%;
  align-items:center!important;
  margin:0 0 clamp(2.5rem,5vw,4rem)!important;
}

.kp-v39-online-card .kp-v29-feature-icon {
  display:grid!important;
  width:2.8rem!important;
  height:2.8rem!important;
  place-items:center;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#174b46!important;
  color:#fff!important;
  font-family:var(--wp--preset--font-family--sans)!important;
  font-size:.78rem!important;
  font-weight:700;
}

.kp-v39-online-symbol {
  margin:0!important;
  color:#a06d59;
  font-family:var(--wp--preset--font-family--editorial);
  font-size:2rem!important;
  line-height:1!important;
}

.kp-v39-online-card h3 {
  max-width:14ch;
  margin:0 0 .85rem!important;
}

.kp-v39-online-card > p:last-child {
  max-width:31ch;
  margin:0!important;
  color:#62736f;
  line-height:1.7;
}

/* Specialist profile: a longer editorial biography with comfortable measure. */
.kp-v29-about-story > .wp-block-columns { align-items:stretch!important; }

.kp-v29-about-story .kp-v39-specialist-copy {
  align-self:center;
  max-width:720px;
}

.kp-v39-profile-label,
.kp-v39-tier-index {
  margin:0 0 .75rem!important;
  color:#a06d59!important;
  font-size:.74rem!important;
  font-weight:700;
  letter-spacing:.14em;
  line-height:1.4;
  text-transform:uppercase;
}

.kp-v39-specialist-copy h2 { max-width:16ch; margin-bottom:.65rem!important; }
.kp-v39-profile-role { margin:0 0 1.6rem!important; color:#174b46; }
.kp-v39-specialist-copy > p:not(.kp-v39-profile-label):not(.kp-v39-profile-role) {
  margin-block:.85rem!important;
  color:#526661;
  line-height:1.8;
}

.kp-v29-about-story .kp-v39-specialist-copy .kp-editorial-quote {
  margin-top:1.65rem!important;
  padding:1.25rem 0 0 1.35rem!important;
  font-size:clamp(1.15rem,1.7vw,1.4rem);
  line-height:1.55;
}

.kp-v29-about-story .kp-editorial-photo,
.kp-v29-about-story .kp-editorial-photo img {
  height:100%;
  min-height:clamp(680px,66vw,920px);
}

/* Three editable steps grow downward into the broad field of ongoing practice. */
.kp-v39-path-intro {
  max-width:780px!important;
  margin:0 auto clamp(2.25rem,5vw,4rem)!important;
  text-align:center;
}

.kp-v39-path-intro h2 { max-width:18ch; margin-inline:auto!important; }
.kp-v39-path-intro p { max-width:680px; margin-inline:auto!important; line-height:1.75; }

.kp-v39-learning-pyramid {
  display:flex;
  max-width:1120px!important;
  flex-direction:column;
  align-items:center;
  gap:1.1rem;
  margin-inline:auto!important;
}

.kp-v39-learning-tier {
  position:relative;
  box-sizing:border-box;
  margin:0!important;
  padding:clamp(1.4rem,3vw,2.25rem) clamp(1.25rem,4vw,3rem)!important;
  border:1px solid rgba(36,69,66,.13);
  background:#fffdf9;
  box-shadow:0 14px 38px rgba(25,61,57,.045);
  text-align:center;
}

.kp-v39-learning-tier:not(:last-child)::after {
  content:"";
  position:absolute;
  z-index:2;
  bottom:-1.45rem;
  left:50%;
  width:.75rem;
  height:.75rem;
  transform:translateX(-50%) rotate(45deg);
  border-right:2px solid #b98570;
  border-bottom:2px solid #b98570;
  background:transparent;
}

.kp-v39-learning-tier--one {
  width:58%;
  border-radius:2rem 2rem 1.1rem 1.1rem;
}

.kp-v39-learning-tier--two {
  width:78%;
  border-radius:1.4rem;
  background:#edf1e9;
}

.kp-v39-learning-tier--three {
  width:100%;
  padding-block:clamp(1.8rem,4vw,3rem)!important;
  border-radius:1.4rem 1.4rem 2.5rem 2.5rem;
  background:linear-gradient(135deg,#dfe9e3,#f1eee5);
}

.kp-v39-learning-tier .kp-v39-tier-index { text-align:center; }
.kp-v39-learning-tier h3 { margin:.25rem auto .65rem!important; }
.kp-v39-learning-tier > p:not(.kp-v39-tier-index) { max-width:760px; margin-inline:auto!important; line-height:1.7; }
.kp-v39-learning-fields { gap:1rem!important; margin-top:1.5rem!important; }

.kp-v29-about-education .kp-v39-learning-fields > .wp-block-column {
  padding:1.25rem 1.35rem!important;
  border:1px solid rgba(36,69,66,.1)!important;
  border-radius:1.1rem!important;
  background:rgba(255,253,249,.68)!important;
}

.kp-v39-learning-fields p { margin:0!important; line-height:1.7; }

@media (max-width:900px) {
  .kp-v39-online-grid { flex-wrap:wrap!important; }
  .kp-v39-online-grid > .wp-block-column { flex-basis:calc(50% - .75rem)!important; }
  .kp-v39-online-grid > .wp-block-column:last-child { flex-basis:100%!important; }
  .kp-v29-about-story .kp-editorial-photo,
  .kp-v29-about-story .kp-editorial-photo img { min-height:620px; }
  .kp-v39-learning-tier--one { width:68%; }
  .kp-v39-learning-tier--two { width:84%; }
}

@media (max-width:781px) {
  .kp-v39-online-grid > .wp-block-column,
  .kp-v39-online-grid > .wp-block-column:last-child { flex-basis:100%!important; }
  .kp-v39-online-card__top { margin-bottom:2.4rem!important; }
  .kp-v29-about-story .kp-editorial-photo,
  .kp-v29-about-story .kp-editorial-photo img { height:auto; min-height:0; max-height:680px; }
  .kp-v39-specialist-copy h2 { max-width:none; }
  .kp-v39-learning-tier--one,
  .kp-v39-learning-tier--two,
  .kp-v39-learning-tier--three { width:100%; border-radius:1.35rem; }
  .kp-v39-learning-fields { flex-direction:column; }
}

@media (max-width:520px) {
  .kp-v39-online-card { padding:1.35rem!important; }
  .kp-v39-learning-tier { padding:1.35rem 1rem!important; }
}
