/* Profile consultation: scoped to the new section and its entry link. */
.profile-consult-jump{display:inline-flex;align-items:center;min-height:48px;margin-top:20px;color:var(--ink);font-weight:700;text-decoration:underline;text-underline-offset:5px}
.profile-consultation{background:#fff8f1;scroll-margin-top:100px}
.profile-consultation .profile-consult-intro{margin-top:24px;max-width:60ch}
.profile-consult-topics{list-style:none;padding:0;margin:32px 0 0;border-top:1px solid #d6c7b8}
.profile-consult-topics li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:28px 0;border-bottom:1px solid #d6c7b8}
.profile-consult-topics h3{font-size:clamp(18px,2vw,22px);line-height:1.6;margin:0;color:var(--ink)}
.profile-consult-topics p,.profile-consult-open p{font-size:16px;line-height:1.9;margin:10px 0 0;color:var(--ink)}
.profile-consult-topics a,.profile-consult-open a{display:inline-flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:12px 18px;background:var(--ink,#222);color:#fff;font-size:15px;font-weight:700;text-decoration:none;line-height:1.6;border:1px solid var(--ink,#222)}
.profile-consult-topics a:hover,.profile-consult-open a:hover{background:#fff;color:var(--ink)}
.profile-consult-open{margin-top:28px}.profile-consult-open a{margin-top:20px}
.profile-consult-jump:focus-visible,.profile-consultation a:focus-visible{outline:3px solid #bd4700;outline-offset:5px}
@media(max-width:767px){.profile-consult-topics li{grid-template-columns:minmax(0,1fr);gap:16px;padding:24px 0}.profile-consult-topics a,.profile-consult-open a{width:100%;box-sizing:border-box}.profile-consultation{scroll-margin-top:88px}}

html[data-theme=dark] .profile-consultation a:not(:hover){background:#263b44;color:#eef4ef;border-color:#7b8c94}
html[data-theme=dark] .profile-consultation a:hover{background:#eef4ef;color:#182126}
