/* Shared photographic page headers and guided, topic-specific consultation. */
.ymh-utility nav > a { flex-shrink:0; white-space:nowrap; }
.ymh-photo-masthead { position:relative; background-size:cover; background-position:center 53%; padding-block:62px 58px; min-height:280px; color:#fff; isolation:isolate; }
.ymh-photo-masthead::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#251d16de,#251d1680 55%,#251d1628); }
.ymh-photo-masthead :is(h1,h2,p,.ymh-kicker) { color:#fff!important; }
.ymh-photo-masthead h1 { text-shadow:0 2px 10px #0003; }
.ymh-photo--office,.ymh-photo--recruit,.ymh-photo--other { background-image:url('../images/header-legal-office-v1.webp'); }
.ymh-photo--services,.ymh-photo--news,.ymh-photo--privacy { background-image:url('../images/header-fraud-v1.webp'); }
.ymh-photo--profile { background-color:#f7f3e7; background-image:url('../images/hero-slide-02.webp'); background-size:auto 360px; background-repeat:no-repeat; background-position:right center; }
.ymh-photo--profile::after { display:none; }
.ymh-photo--fraud { background-image:url('../images/header-fraud-v1.webp'); }
.ymh-photo--debt { background-image:url('../images/header-debt-v1.webp'); }
.ymh-lp-placeholder.ymh-photo-masthead { padding-top:64px; }
.ymh-lp-placeholder.ymh-photo-masthead h1 { font-size:44px; line-height:1.6; }
.ymh-recruit-hero.ymh-photo-masthead { min-height:340px; }
.ymh-photo-masthead .ymh-recruit-hero__shape,.ymh-photo-masthead .ymh-recruit-hero__mark { display:none; }
.ymh-photo-masthead .ymh-recruit-hero__copy { position:relative; z-index:1; }
.ymh-consultation [hidden] { display:none!important; }
.ymh-consult-hero { position:relative; min-height:316px; background:#443a30; isolation:isolate; color:#fff; overflow:hidden; }
.ymh-consult-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#261d15e8,#30221980 62%,#30221922); }
.ymh-consult-hero__image { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 55%; }
.ymh-consult-hero__inner { max-width:1040px; padding:30px 24px 48px; margin:auto; }
.ymh-consult-hero .ymh-consult-breadcrumb { display:flex; gap:14px; color:#ffffffc4; font-size:11px; margin:0 0 42px; }
.ymh-consult-breadcrumb a { color:inherit; text-decoration:none; }
.ymh-consult-hero .ymh-consult-hero__english { color:#f8d8b8; text-transform:uppercase; letter-spacing:.15em; font-size:11px; margin-bottom:10px; }
.ymh-consult-hero h1 { font:700 40px/1.5 var(--ymh-serif); color:#fff; margin:0 0 20px; letter-spacing:.05em; }
.ymh-consult-hero__inner > p:last-child { font-size:14px; color:#fff; margin:0; }
.ymh-image-credit { position:absolute; bottom:12px; right:20px; font-size:9px; color:#ffffffa0; }
.ymh-consult-tabs-wrap { background:#f5f2ec; border-bottom:1px solid #ddd7cf; scroll-margin-top:64px; }
.ymh-consult-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); max-width:992px; margin:auto; }
.ymh-consult-tabs a { position:relative; display:flex; flex-direction:column; align-items:center; gap:3px; padding:18px 28px; color:#65594e; text-decoration:none; border-inline-start:1px solid #e1dad0; border-bottom:3px solid transparent; transition:background .2s,color .2s; }
.ymh-consult-tabs a:last-child { border-inline-end:1px solid #e1dad0; }
.ymh-consult-tabs small { font-size:13px; letter-spacing:.08em; }
.ymh-consult-tabs strong { font-size:18px; }
.ymh-consult-tabs a > span { position:absolute; right:16px; top:50%; font-size:16px; }
.ymh-consult-tabs a[aria-selected="true"] { color:#a53b1d; background:#fff; border-bottom-color:#b84c24; }
.ymh-consult-tabs a:hover { background:#fff; }
.ymh-consult-tabs a:focus-visible { outline:2px solid #ad3719; outline-offset:-5px; }
.ymh-consult-body { max-width:1040px; margin:auto; padding:34px 24px 64px; }
.ymh-consult-body .ymh-preview-note { margin-bottom:32px; }
.ymh-consult-methods { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid #e2dcd3; margin-bottom:46px; }
.ymh-consult-methods section { padding:24px; scroll-margin-top:76px; display:flex; flex-direction:column; gap:10px; }
.ymh-consult-methods section + section { border-left:1px solid #e2dcd3; }
.ymh-method-caption { display:flex; align-items:center; gap:10px; font-size:15px; font-weight:700; }
.ymh-consult-methods section > strong { font:700 29px/1.7 "Roboto",sans-serif; color:#a74425; }
.ymh-consult-methods section > small { color:#888; font-size:10px; }
.ymh-consult-methods section > a,.ymh-method-disabled { font-size:12px; color:#fff; background:#333; display:flex; align-items:center; justify-content:space-between; padding:13px 10px; text-decoration:none; }
.ymh-method-disabled { color:#3c7751; background:#e9f2e9; font-size:11px; }
.ymh-method-disabled small { font-size:9px; white-space:nowrap; }
.ymh-consult-return { font-size:12px!important; margin-bottom:32px!important; }
.ymh-consult-return a { color:#8c512c; }
.ymh-consult-form-anchor { scroll-margin-top:80px; max-width:800px; margin:auto; }
.ymh-form-guide { list-style:none; padding:0; display:flex; justify-content:center; margin:0 0 44px; gap:36px; color:#7e6a56; font-size:12px; }
.ymh-form-guide li { margin:0; display:flex; align-items:center; gap:9px; }
.ymh-form-guide span { width:26px; height:26px; border:1px solid #bcaa97; border-radius:50%; display:grid; place-content:center; font:400 11px/1 Arial,sans-serif; }
.ymh-consult-intro { margin-bottom:30px; text-align:center; }
.ymh-consult-intro h2 { font-size:28px; margin-bottom:18px; }
.ymh-consult-intro p:not(.ymh-kicker) { font-size:14px; line-height:2; margin:0 auto 10px; max-width:620px; }
.ymh-consult-intro small { color:#91765d; font-size:12px; }
.ymh-consultation .wpcf7 { margin:0; }
.ymh-form-section { padding:32px 36px; margin-bottom:22px; background:#f7f5f1; border:1px solid #e9e3da; }
.ymh-form-section-heading { display:flex; gap:14px; align-items:center; margin-bottom:16px; }
.ymh-form-section-heading > span { color:#af5b32; font:400 24px/1.5 "Roboto",sans-serif; }
.ymh-form-section-heading h3 { font-size:20px; margin:0; }
.ymh-consultation .ymh-form-help { font-size:12px; color:#847363; margin:0 0 22px; line-height:1.9; }
.ymh-form-field { margin-bottom:24px; }
.ymh-form-field > label { font-size:14px; }
.ymh-consultation .ymh-form-field textarea { min-height:120px; }
.ymh-consultation .ymh-form-field small { display:block; margin-top:8px; font-size:11px; line-height:1.8; }
.ymh-form-two-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.ymh-consultation .ymh-form-field select { padding-right:34px; font-size:14px; }
.ymh-consultation .ymh-form-field input { font-size:16px; }
.ymh-consultation fieldset { border:0; padding:0; min-width:0; margin:0 0 24px; }
.ymh-consultation legend { font-size:14px; font-weight:700; margin-bottom:12px; padding:0; }
.ymh-reply-choice .wpcf7-list-item { margin:0 12px 10px 0; display:inline-block; }
.ymh-reply-choice label { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid #d9d0c5; padding:12px 16px; cursor:pointer; font-size:13px; }
.ymh-reply-choice input { appearance:auto; width:17px; height:17px; min-height:17px; margin:0; accent-color:#a84726; }
.ymh-reply-choice label:has(input:checked) { border-color:#af603a; background:#fbf1e8; }
.ymh-consultation fieldset.ymh-callback-fields { border-top:1px solid #dfd5c7; margin-top:18px; padding-top:22px; }
.ymh-consultation .ymh-callback-fields legend { padding-top:10px; }
.ymh-form-next { text-align:center; margin-top:28px; }
.ymh-form-next button,.ymh-review-actions .wpcf7-submit { display:flex; justify-content:center; align-items:center; gap:40px; width:100%; min-height:60px; padding:18px 24px; color:#fff; border:0; border-radius:0; background:linear-gradient(110deg,#953416,#c95e2b); font:700 15px/1.7 var(--ymh-sans); cursor:pointer; }
.ymh-form-next small { display:block; color:#8b8277; font-size:11px; margin-top:10px; }
.ymh-form-review { background:#f7f5f1; border:1px solid #e9e3da; padding:32px; scroll-margin-top:80px; }
.ymh-form-review > p { font-size:14px; }
.ymh-form-review dl { border-top:1px solid #ddd4c9; margin:24px 0; }
.ymh-form-review dl > div { display:grid; grid-template-columns:165px 1fr; gap:20px; border-bottom:1px solid #ddd4c9; padding:15px 0; font-size:13px; }
.ymh-form-review dt { font-weight:700; }
.ymh-form-review dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.ymh-review-actions { display:flex; flex-direction:column; gap:15px; }
.ymh-review-actions > button { padding:12px; border:1px solid #c5b7a7; color:#655342; background:#fff; cursor:pointer; }
.ymh-review-actions p { margin:0; }
.ymh-consultation .wpcf7-not-valid-tip { font-size:12px; margin-top:6px; }
.ymh-consultation .wpcf7-response-output { margin:22px 0!important; font-size:14px; }
.ymh-consultation .wpcf7-spinner { display:block; margin:14px auto 0; }
.ymh-after-form { border-top:1px solid #ded5c9; padding-top:40px; margin:58px auto 0; max-width:800px; }
.ymh-after-form h2 { font-size:23px; text-align:center; }
.ymh-after-form > ol:not(.ymh-flow-steps) { list-style:none; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; counter-reset:steps; }
.ymh-after-form > ol:not(.ymh-flow-steps) li { counter-increment:steps; }
.ymh-after-form > ol:not(.ymh-flow-steps) li::before { content:"0" counter(steps); color:#ac6139; font:400 22px/1.5 "Roboto",sans-serif; display:block; margin-bottom:8px; }
.ymh-after-form > ol:not(.ymh-flow-steps) strong { font-size:15px; }
.ymh-after-form > ol:not(.ymh-flow-steps) li p { font-size:12px; margin-top:10px; line-height:2; }

/* One layout for the photo steps in consultation and service pages. */
body #main .ymh-flow-steps {
 --flow-accent:#a94324;
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:30px;
 padding:0;
 margin:0 auto 24px;
 list-style:none;
}
body #main .ymh-flow-step {
 position:relative;
 display:grid;
 grid-template-columns:minmax(140px,33%) minmax(0,1fr);
 align-items:stretch;
 min-height:152px;
 min-width:0;
 margin:0;
 padding:0;
 border:2px solid #cfa991;
 border-radius:8px;
 background:#fff;
}
body #main .ymh-flow-step::before { content:none; }
body #main .ymh-flow-step:not(:last-child)::after {
 content:"";
 position:absolute;
 left:50%;
 bottom:-20px;
 width:11px;
 height:11px;
 border-right:2px solid var(--flow-accent);
 border-bottom:2px solid var(--flow-accent);
 transform:translateX(-50%) rotate(45deg);
}
body #main .ymh-flow-step__ribbon {
 position:absolute;
 z-index:1;
 top:-8px;
 left:-7px;
 display:grid;
 align-content:center;
 justify-items:center;
 gap:2px;
 width:55px;
 min-height:76px;
 padding:8px 4px 15px;
 background:var(--flow-accent);
 color:#fff;
 clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 8px),0 100%);
}
body #main .ymh-flow-step__ribbon small { font:700 10px/1.1 Arial,sans-serif; letter-spacing:.1em; }
body #main .ymh-flow-step__ribbon b { font:700 30px/1 "Oswald",Arial,sans-serif; }
body #main .ymh-flow-step__photo { position:relative; min-width:0; overflow:hidden; border-radius:6px 0 0 6px; }
body #main .ymh-flow-step .ymh-flow-step__photo > img {
 display:block;
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 object-fit:cover;
}
body #main .ymh-flow-step__copy { align-self:center; min-width:0; padding:18px clamp(12px,3vw,26px); }
body #main .ymh-flow-step__copy h3 { margin:0 0 6px; font-size:clamp(16px,2.2vw,19px); line-height:1.5; }
body #main .ymh-flow-step__copy h3 span {
 color:#8d3419;
 background:linear-gradient(transparent 58%,#fff0d8 58%);
 -webkit-box-decoration-break:clone;
 box-decoration-break:clone;
}
body #main .ymh-flow-step__copy p { margin:0; font-size:14px; line-height:1.75; }

/* A notice between steps, shared by both views. */
body #main .ymh-flow-steps > .ds-flow-notice {
 margin:0;
 padding:0;
 border:0;
 background:none;
}
body #main .ymh-flow-steps .ds-flow-notice__banner {
 display:grid;
 justify-items:center;
 gap:2px;
 margin:0;
 padding:16px 8px;
 border:1px solid #7c1d29;
 border-radius:6px;
 background:linear-gradient(135deg,#7c1d29,#a12c38);
 color:#fff;
 text-align:center;
 font-size:clamp(12px,3.4vw,16px);
 line-height:1.6;
}
body #main .ymh-flow-steps .ds-flow-notice__banner strong {
 color:#fff1a8;
 font-size:clamp(19px,5.6vw,30px);
 font-weight:800;
}
body #main .ymh-flow-steps .ds-flow-notice__note {
 margin:8px 0 0;
 color:#554c44;
 font-size:13px;
 line-height:1.6;
 text-align:center;
}

@media(max-width:620px) {
 body #main .ymh-flow-step { grid-template-columns:minmax(0,34%) minmax(0,1fr); min-height:125px; }
 body #main .ymh-flow-step__ribbon { width:45px; min-height:65px; }
 body #main .ymh-flow-step__ribbon b { font-size:25px; }
 body #main .ymh-flow-step__copy { padding-block:13px; }
}
@media(max-width:767px){
 .ymh-photo-masthead { min-height:240px; padding-block:50px 38px; }
 .ymh-photo-masthead h1 { font-size:29px; }
 .ymh-lp-placeholder.ymh-photo-masthead h1 { font-size:29px; }
 .ymh-photo--profile { background-size:auto 300px; background-position:85% center; }
 .ymh-photo-masthead::before { background:#21190fa3; }
 .ymh-consult-hero { min-height:290px; }
 .ymh-consult-hero__inner { padding:22px 20px 38px; }
 .ymh-consult-hero .ymh-consult-breadcrumb { margin-bottom:32px; font-size:10px; }
 .ymh-consult-hero h1 { font-size:28px; margin-bottom:17px; }
 .ymh-consult-hero__inner > p:last-child { font-size:13px; max-width:320px; line-height:2; }
 .ymh-consult-hero__image { object-position:65% center; }
 .ymh-consult-hero::after { background:#251c13ad; }
 .ymh-consult-tabs a { padding:14px 3px; }
 .ymh-consult-tabs strong { font-size:12px; }
 .ymh-consult-tabs small { font-size:12px; }
 .ymh-consult-tabs a > span { display:none; }
 .ymh-consult-body { padding:26px 16px 40px; }
 .ymh-consult-methods { grid-template-columns:1fr; margin-bottom:32px; }
 .ymh-consult-methods section { padding:20px; }
 .ymh-consult-methods section + section { border-left:0; border-top:1px solid #e2dcd3; }
 .ymh-form-guide { gap:14px; margin-bottom:30px; font-size:10px; }
 .ymh-form-guide li { gap:5px; flex-direction:column; }
 .ymh-consult-intro h2 { font-size:22px; }
 .ymh-consult-intro p:not(.ymh-kicker) { font-size:13px; }
 .ymh-form-section,.ymh-form-review { padding:24px 16px; }
 .ymh-form-section-heading h3 { font-size:18px; }
 .ymh-form-field > label { font-size:13px; }
 .ymh-form-two-columns { grid-template-columns:1fr; gap:0; }
 .ymh-consultation .ymh-form-field select { font-size:13px; }
 .ymh-reply-choice .wpcf7-list-item { display:block; margin-right:0; }
 .ymh-form-review dl > div { grid-template-columns:1fr; gap:6px; }
 .ymh-review-actions .wpcf7-submit { font-size:12px; padding-inline:10px; }
 .ymh-after-form { margin-top:40px; padding-top:30px; }
 .ymh-after-form > ol:not(.ymh-flow-steps) { grid-template-columns:1fr; gap:18px; }
 .ymh-after-form > ol:not(.ymh-flow-steps) li::before { display:inline-block; margin-right:12px; }
}
