/* Services directory only. Shared homepage and contact styles remain intact. */
.ymh-services-page { --practice-rule:#dedbd5; --practice-paper:#f7f6f3; }
.ymh-services-page .ymh-page-masthead { border:0; padding-block:62px 58px; }
.ymh-services-page .ymh-page-section { padding-block:64px; }
.ymh-services-page .ymh-practice-intro { text-align:center; padding-block:56px 46px; }
.ymh-services-page .ymh-practice-intro > p:not(.ymh-kicker) { line-height:2.1; margin-bottom:30px; }
.ymh-services-page .ymh-practice-intro h2 { font-size:30px; margin-bottom:24px; }
.ymh-services-page :is(.ymh-practice-intro,.ymh-practice-guide) > .ymh-kicker { justify-content:center; }
.ymh-practice-index { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; text-align:left; }
.ymh-practice-index a { display:flex; align-items:center; gap:13px; position:relative; padding:21px 16px; color:#333; border:1px solid var(--practice-rule); border-bottom:3px solid var(--ymh-orange); text-decoration:none; background:#fff; }
.ymh-practice-index__number { font:600 29px/1 'Oswald',sans-serif; color:var(--ymh-orange); }
.ymh-practice-index strong { display:block; font-size:18px; line-height:1.6; }
.ymh-practice-index small { display:block; font-size:11px; color:#6b655f; margin-top:5px; }
.ymh-practice-index__arrow { margin-left:auto; color:var(--ymh-orange); }
.ymh-services-page .ymh-practice-area { border-top:1px solid #e7e3dd; }
.ymh-services-page .ymh-practice-area--fraud,
.ymh-services-page .ymh-practice-area--inheritance { background:var(--practice-paper); }
.ymh-services-page .ymh-practice-overview { display:grid!important; grid-template-columns:42% minmax(0,1fr); gap:44px; margin:0 0 30px; align-items:center!important; }
.ymh-services-page .ymh-practice-overview > .wp-block-column { margin:0; }
.ymh-services-page .ymh-practice-photo { margin:0; position:relative; }
.ymh-services-page .ymh-practice-photo::after { content:""; position:absolute; left:0; bottom:0; width:70px; height:5px; background:var(--ymh-gradient); }
.ymh-services-page .ymh-practice-photo img { display:block; width:100%; height:350px; object-fit:cover; border-radius:2px; }
.ymh-services-page .ymh-practice-eyebrow { display:flex; align-items:baseline; gap:8px; font:600 12px/1.2 'Oswald',sans-serif; letter-spacing:.06em; color:var(--ymh-orange); margin:0 0 9px; }
.ymh-practice-eyebrow strong { font-size:32px; letter-spacing:0; }
.ymh-practice-eyebrow span { margin-left:8px; color:#766c63; font-size:11px; letter-spacing:.1em; }
.ymh-services-page .ymh-practice-overview h2 { font-size:34px; line-height:1.5; margin:0 0 18px; }
.ymh-services-page .ymh-practice-lead { color:var(--ymh-orange-dark); font-size:19px; font-weight:700; line-height:1.8; margin-bottom:18px; }
.ymh-services-page .ymh-practice-overview p:not(.ymh-practice-eyebrow):not(.ymh-practice-lead) { font-size:15px; line-height:2; margin-bottom:14px; }
.ymh-services-page .ymh-practice-overview p:last-child { margin-bottom:0; }
.ymh-practice-topics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--practice-rule); margin:30px 0; background:#fff; }
.ymh-practice-topics--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ymh-practice-topics a { display:flex; justify-content:center; align-items:center; gap:16px; min-height:58px; padding:12px 10px; color:#333; font-size:15px; font-weight:700; text-decoration:none; border-right:1px solid var(--practice-rule); }
.ymh-practice-topics a:last-child { border-right:0; }
.ymh-practice-topics a span { color:var(--ymh-orange); }
.ymh-services-page .ymh-practice-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin:30px 0 0; }
.ymh-services-page .ymh-practice-details--three { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.ymh-services-page .ymh-practice-detail { margin:0!important; padding:27px 28px 28px; background:#fff; border:1px solid var(--practice-rule); border-top:3px solid var(--ymh-orange); border-radius:2px; }
.ymh-services-page .ymh-practice-area--debt .ymh-practice-detail { background:var(--practice-paper); }
.ymh-services-page .ymh-practice-detail__label { font:600 11px/1.5 'Oswald',sans-serif; letter-spacing:.11em; color:#907566; margin:0 0 11px; }
.ymh-services-page .ymh-practice-detail h3 { font-size:22px; line-height:1.5; margin:0 0 19px; color:#333; }
.ymh-services-page .ymh-practice-detail p { font-size:15px; line-height:2; margin-bottom:20px; }
.ymh-services-page .ymh-practice-detail .ymh-practice-detail__label { font-size:11px; line-height:1.5; margin-bottom:11px; }
.ymh-services-page .ymh-practice-detail .ymh-practice-detail__summary { font-size:16px; font-weight:700; color:var(--ymh-orange-dark); line-height:1.8; margin-bottom:16px; }
.ymh-services-page .ymh-practice-detail .ymh-practice-example-title { font-size:13px; font-weight:700; margin:0 0 13px; padding-top:17px; border-top:1px solid var(--practice-rule); }
.ymh-services-page .ymh-practice-examples { list-style:none; padding:0; margin:0; }
.ymh-services-page .ymh-practice-examples li { position:relative; font-size:15px; font-weight:400; line-height:1.8; padding-left:24px; margin:0 0 10px; }
.ymh-services-page .ymh-practice-examples li:last-child { margin-bottom:0; }
.ymh-practice-examples li::before { content:""; position:absolute; width:6px; height:11px; top:7px; left:4px; border:solid var(--ymh-orange); border-width:0 2px 2px 0; transform:rotate(42deg); }
.ymh-services-page .ymh-practice-preparation { margin:28px 0 0; padding:23px 28px; background:#eeebe5; border-left:3px solid #b28665; }
.ymh-services-page .ymh-practice-preparation h3 { font-size:17px; margin-bottom:10px; }
.ymh-services-page .ymh-practice-preparation p { font-size:14px; line-height:1.9; margin-bottom:0; }
.ymh-practice-cta { display:flex; gap:24px; justify-content:space-between; align-items:center; padding:27px 0 0; margin-top:28px; border-top:1px solid var(--practice-rule); }
.ymh-practice-cta > div > span { display:block; font-size:13px; margin-bottom:4px; color:#72665e; }
.ymh-services-page .ymh-practice-cta p { font:700 23px/1.6 var(--ymh-serif); margin:0; }
.ymh-services-page .ymh-practice-button { display:flex; align-items:center; justify-content:space-between; gap:30px; min-width:310px; min-height:64px; padding:17px 24px; color:#fff; background:var(--ymh-gradient); font-size:16px; font-weight:700; line-height:1.7; text-decoration:none; border:1px solid transparent; border-radius:2px; }
.ymh-practice-button > span { font-size:22px; font-weight:400; transition:transform .25s ease; }
.ymh-services-page .ymh-practice-guide { background:#fff; text-align:center; }
.ymh-practice-flow { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; margin:32px 0 42px; border:1px solid var(--practice-rule); text-align:left; }
.ymh-practice-flow li { padding:25px; margin:0; border-right:1px solid var(--practice-rule); }
.ymh-practice-flow li:last-child { border-right:0; }
.ymh-practice-flow li > span { font:600 34px/1.2 'Oswald',sans-serif; color:var(--ymh-orange); }
.ymh-services-page .ymh-practice-flow h3 { font-size:17px; margin:14px 0 10px; }
.ymh-services-page .ymh-practice-flow p { font-size:14px; line-height:1.9; margin:0; }
.ymh-services-page .ymh-practice-faq-title { font-size:22px; margin-bottom:24px; }
.ymh-practice-faq { border-bottom:1px solid var(--practice-rule); margin:0; text-align:left; }
.ymh-practice-faq:first-of-type { border-top:1px solid var(--practice-rule); }
.ymh-practice-faq summary { display:block; position:relative; cursor:pointer; padding:22px 38px 22px 32px; font-size:16px; font-weight:700; list-style:none; }
.ymh-practice-faq summary::-webkit-details-marker { display:none; }
.ymh-practice-faq summary::before { content:"Q"; position:absolute; left:0; top:20px; font:600 24px/1.5 'Oswald',sans-serif; color:var(--ymh-orange); }
.ymh-practice-faq summary::after { content:"+"; position:absolute; right:10px; top:20px; color:var(--ymh-orange); font-size:23px; font-weight:400; }
.ymh-practice-faq[open] summary::after { content:"−"; }
.ymh-services-page .ymh-practice-faq p { font-size:15px; line-height:2; padding:0 32px 22px; margin:0; }
.ymh-services-page .ymh-practice-scope { font-size:12px; color:#726b64; line-height:1.9; text-align:left; margin:30px 0; }
.ymh-practice-final { display:flex; flex-direction:column; align-items:center; gap:22px; }
.ymh-services-page .ymh-practice-back { display:flex; gap:20px; align-items:center; color:#665b53; font-size:13px; text-decoration:none; }
.ymh-services-page :is(.ymh-practice-index a,.ymh-practice-topics a,.ymh-practice-button,.ymh-practice-back) { transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease; }
.ymh-services-page :is(a,summary):focus-visible { outline:3px solid #754326; outline-offset:4px; }
.ymh-services-page [id] { scroll-margin-top:24px; }
@media (hover:hover) {
  .ymh-practice-index a:hover { transform:translateY(-3px); box-shadow:0 8px 20px #35251812; }
  .ymh-practice-topics a:hover { background:#f6eee7; color:var(--ymh-orange-dark); }
  .ymh-services-page .ymh-practice-button:hover { color:#fff; transform:translateY(-2px); box-shadow:0 6px 18px #91301424; }
  .ymh-practice-button:hover > span { transform:translateX(5px); }
  .ymh-practice-faq summary:hover { color:var(--ymh-orange-dark); }
}
@media (max-width:1023px) {
  .ymh-practice-index { gap:10px; }
  .ymh-practice-index a { gap:9px; padding:18px 12px; }
  .ymh-practice-index strong { font-size:16px; }
  .ymh-practice-index small { font-size:10px; }
  .ymh-services-page .ymh-practice-overview { gap:30px; grid-template-columns:40% minmax(0,1fr); }
  .ymh-services-page .ymh-practice-details--three { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ymh-services-page .ymh-practice-details--three > :last-child { grid-column:1 / -1; }
  .ymh-services-page .ymh-practice-detail { padding:24px; }
  .ymh-practice-flow li { padding:22px 18px; }
}
@media (max-width:767px) {
  .ymh-services-page .ymh-page-masthead { padding-block:42px 36px; min-height:230px; }
  .ymh-services-page .ymh-page-section { padding:42px 20px; }
  .ymh-services-page .ymh-practice-intro { padding-block:38px 32px; }
  .ymh-services-page .ymh-practice-intro h2 { font-size:clamp(17px,5.25vw,24px); line-height:1.85; }
  .ymh-services-page .ymh-practice-intro > p:not(.ymh-kicker) { text-align:left; font-size:15px; line-height:2; }
  .ymh-practice-intro > p br { display:none; }
  .ymh-practice-index { grid-template-columns:1fr; gap:9px; }
  .ymh-practice-index a { padding:14px 18px; border-bottom-width:2px; gap:16px; }
  .ymh-practice-index strong { font-size:18px; }
  .ymh-practice-index small { font-size:12px; margin-top:2px; }
  .ymh-services-page .ymh-practice-overview { grid-template-columns:1fr; gap:25px; margin-bottom:24px; }
  .ymh-services-page .ymh-practice-photo img { height:auto; aspect-ratio:1.65; }
  .ymh-services-page .ymh-practice-overview h2 { font-size:29px; margin-bottom:15px; }
  .ymh-services-page .ymh-practice-lead { font-size:17px; }
  .ymh-practice-eyebrow span { font-size:10px; }
  .ymh-practice-topics { grid-template-columns:repeat(2,minmax(0,1fr)); margin:24px 0; }
  .ymh-practice-topics a { font-size:13px; gap:8px; min-height:55px; }
  .ymh-practice-topics a:nth-child(2n) { border-right:0; }
  .ymh-practice-topics a:nth-child(n+3) { border-top:1px solid var(--practice-rule); }
  .ymh-practice-topics--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ymh-practice-topics--three a { gap:7px; border-top:0!important; }
  .ymh-practice-topics--three a:nth-child(2) { border-right:1px solid var(--practice-rule); }
  .ymh-services-page .ymh-practice-details,
  .ymh-services-page .ymh-practice-details--three { grid-template-columns:1fr; gap:18px; margin-top:24px; }
  .ymh-services-page .ymh-practice-details--three > :last-child { grid-column:auto; }
  .ymh-services-page .ymh-practice-detail { padding:24px 21px; }
  .ymh-services-page .ymh-practice-detail h3 { font-size:22px; margin-bottom:16px; }
  .ymh-services-page .ymh-practice-detail p { font-size:15px; }
  .ymh-services-page .ymh-practice-preparation { padding:20px; margin-top:24px; }
  .ymh-practice-cta { flex-direction:column; align-items:stretch; gap:18px; margin-top:24px; padding-top:24px; }
  .ymh-services-page .ymh-practice-cta p { font-size:22px; }
  .ymh-services-page .ymh-practice-button { min-width:0; width:100%; min-height:62px; padding:16px 20px; font-size:15px; }
  .ymh-practice-flow { grid-template-columns:1fr; }
  .ymh-practice-flow li { border-right:0; border-bottom:1px solid var(--practice-rule); padding:22px 24px; }
  .ymh-practice-flow li:last-child { border-bottom:0; }
  .ymh-practice-flow li > span { float:left; margin:0 18px 5px 0; font-size:28px; }
  .ymh-services-page .ymh-practice-flow h3 { margin:0 0 10px; line-height:1.9; }
  .ymh-services-page .ymh-practice-flow p { clear:both; }
  .ymh-practice-faq summary { font-size:15px; padding-block:20px; }
  .ymh-services-page .ymh-practice-faq p { padding:0 12px 20px 32px; }
  .ymh-services-page [id] { scroll-margin-top:24px; }
}
@media (prefers-reduced-motion:reduce) {
  .ymh-services-page :is(a,a > span) { transition:none!important; transform:none!important; }
}
