/* profile-content.css: public practitioner profiles only. */
.psy-profile-enhanced .psy-profile-faq.psy-masonry-active{grid-auto-rows:1px;row-gap:0;align-items:start;align-content:start;}
.psy-profile-enhanced .psy-profile-story > .psy-custom-section{grid-column:1 / -1;min-width:0;overflow-wrap:anywhere;}
.psy-profile-enhanced .psy-profile-story > .psy-custom-section.psy-section-half{grid-column:span 1;}
.psy-profile-enhanced .psy-profile-story > .psy-custom-section.psy-section-full{grid-column:1 / -1;}
.psy-profile-enhanced .psy-profile-story > .psy-profile-panel:not(.psy-section-half):has(.psy-profile-needs),.psy-profile-enhanced .psy-profile-story > .psy-profile-panel:not(.psy-section-half):has(.psy-profile-journey),.psy-profile-enhanced #questions{grid-column:1 / -1;}
.psy-section-half .psy-profile-needs{grid-template-columns:1fr;}
@media (max-width: 680px) {
  .psy-profile-enhanced .psy-profile-story > .psy-custom-section.psy-section-half{grid-column:1 / -1;}
}
.psy-profile-sections{display:flex;gap:4px 8px;padding:6px 10px;background:#f4f5f7;border:1px solid #e3e6eb;border-radius:12px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;align-items:center;scrollbar-width:none;scroll-padding-inline:10px;margin:18px 0;}
.psy-profile-sections::-webkit-scrollbar{display:none;}
.psy-profile-sections a{display:inline-flex;flex:0 0 auto;align-items:center;box-sizing:border-box;min-height:44px;padding:10px 14px;border-bottom:3px solid transparent;color:#647084;font-weight:650;font-size:0.82rem;line-height:1.5;text-decoration:none;white-space:nowrap;transition:all 0.15s ease;}
.psy-profile-sections a:hover{color:#1e293b;background:#edf0f4;border-radius:6px;}
.psy-profile-sections a.active{background:transparent;color:var(--profile-teal-ink);border-bottom-color:var(--profile-turquoise);font-weight:750;}
.psy-custom-section:target,#questions:target{scroll-margin-top:100px;}
.psy-profile-redesign .psy-rich-prose{max-width:72ch;font-size:0.96rem;line-height:1.8;color:#455b68;overflow-wrap:anywhere;}
.psy-profile-redesign .psy-rich-prose p{margin:0 0 1em;}
.psy-profile-redesign .psy-rich-prose h3{margin:1.65em 0 0.7em;padding-block-start:1.15em;border-block-start:1px solid #e5e8ec;font-size:1.04rem;font-weight:700;line-height:1.5;color:#243e49;}
.psy-profile-redesign .psy-rich-prose ul,.psy-profile-redesign .psy-rich-prose ol{display:block;margin:0.55em 0 1.15em;padding-inline-start:1.3em;}
.psy-profile-redesign .psy-rich-prose li{margin:0;padding-inline-start:0.3em;line-height:1.8;}
.psy-profile-redesign .psy-rich-prose strong{font-weight:650;color:#2c4651;}
.psy-profile-needs{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.psy-profile-needs article{padding:18px 22px;background:var(--profile-teal-soft);border:1px solid var(--profile-teal-line);border-radius:12px;border-inline-start:4px solid var(--profile-turquoise);box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word;transition:all 0.15s ease;}
.psy-profile-needs article:hover{background:var(--profile-teal-soft);border-color:var(--profile-teal-line);}
.psy-profile-needs article:last-child:nth-child(odd){grid-column:1 / -1;}
.psy-profile-needs h3{font-size:0.96rem;font-weight:700;color:var(--profile-teal-ink);margin:0 0 8px;}
.psy-profile-needs article > div,.psy-profile-needs article > p,.psy-profile-needs p{font-size:0.9rem;line-height:1.7;color:#475569;margin:0;overflow-wrap:anywhere;word-break:break-word;}
.psy-profile-journey{padding:0;margin:0;list-style:none;counter-reset:steps;}
.psy-profile-journey li{counter-increment:steps;position:relative;padding:0 0 24px;padding-inline-start:48px;border-inline-start:1px solid var(--profile-copper-line);margin-inline-start:16px;}
.psy-profile-journey li:last-child{padding-bottom:0;border-inline-start-color:transparent;}
.psy-profile-journey li::before{content:counter(steps, decimal-leading-zero);position:absolute;inset-inline-start:-17px;top:-3px;background:var(--profile-copper-soft);border:1px solid var(--profile-copper-line);color:var(--profile-copper);width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:0.75rem;font-weight:700;}
.psy-profile-journey li h3{font-size:0.95rem;color:var(--profile-copper);margin:0 0 6px;}
.psy-profile-journey li > div,.psy-profile-journey li > p,.psy-profile-journey p{font-size:0.9rem;line-height:1.75;color:#556970;margin:0;}
@media (min-width: 681px) {
  .psy-profile-redesign .psy-profile-faq{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px;align-items:start;}
}
.psy-profile-faq details{min-width:0;overflow-wrap:anywhere;padding:16px 0;border-top:1px solid #e2e5e9;}
.psy-profile-faq summary{font-size:0.92rem;font-weight:650;color:#294753;cursor:pointer;line-height:1.5;}
.psy-profile-faq details[open]{background:var(--profile-blue-soft);border-color:#bed0e8;padding:14px 16px;border-radius:8px;}
.psy-profile-faq details[open] summary{color:var(--profile-blue-ink);margin-bottom:10px;}
.psy-profile-faq details > div,.psy-profile-faq details > p,.psy-profile-faq p{font-size:0.9rem;line-height:1.75;color:#556970;margin:0;}
.psy-custom-section > h2{padding-bottom:12px;border-bottom:1px solid #edeff1;margin-bottom:18px !important;}
.psy-custom-section > div,.psy-custom-section > p{font-size:0.95rem;line-height:1.85;color:#52636d;margin:0;}
.psy-custom-section div ul,.psy-custom-section div ol{margin:0.6em 0;padding-inline-start:1.5em;}
.psy-custom-section div li{margin-bottom:0.35em;line-height:1.7;}
@media (max-width: 680px) {
  .psy-custom-section > h2{padding-bottom:10px;margin-bottom:14px !important;}
  .psy-profile-needs article{padding:15px;}
}
@media (max-width: 680px) {
  .psy-profile-sections{gap:4px;padding:4px 6px;}
  .psy-profile-sections a{padding:8px 10px;font-size:0.77rem;}
}
@media (max-width: 520px) {
  .psy-profile-needs{grid-template-columns:1fr;}
}

.psy-profile-redesign .psy-rich-prose[dir="rtl"]{text-align:right;}
.psy-profile-section-text{white-space:pre-line;overflow-wrap:anywhere;}
.psy-profile-faq-icon{color:#b45309;margin-inline-end:6px;}
.psy-profile-redesign .psy-profile-faq-legacy details{border-bottom:1px solid #e2e8f0;padding:12px 0;}
.psy-profile-redesign .psy-profile-faq-legacy details > summary{cursor:pointer;font-weight:700;color:#0f172a;}
.psy-profile-redesign .psy-profile-faq-legacy details > p{margin-top:8px;color:#334155;line-height:1.6;}
