/* V4.195: task-first directory and family form finder. Works at narrow widths. */
.lc-directory-page .lc-dir-hero{padding:27px 0 30px}
.lc-directory-page .lc-dir-hero h1{font-size:clamp(30px,4vw,43px);margin-bottom:9px}
.lc-directory-page .lc-dir-intro{font-size:16px;margin-bottom:17px}
.lc-directory-page .lc-dir-finder{padding:22px;max-width:880px}
.lc-directory-page .lc-dir-finder h2{font-size:19px}
.lc-directory-page .lc-dir-result{border:1px dashed #ced6dc;background:#f8fafb;color:#465666;font-size:15px;line-height:1.5;padding:17px 19px}
.lc-directory-page .lc-dir-result:not(.has-result) p{margin:0}
.lc-directory-page .lc-dir-result.has-result{background:#fff;border:2px solid #d9b7c0;padding:22px 24px;box-shadow:0 5px 16px rgba(40,46,58,.045)}
.lc-directory-page .lc-dir-result .lc-dir-selection{font-size:13px;font-weight:750;letter-spacing:.045em;text-transform:uppercase;color:#7c3447;margin:0 0 9px}
.lc-directory-page .lc-dir-result h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(23px,2.4vw,29px);line-height:1.2;margin:0 0 8px;color:#1a3042}
.lc-directory-page .lc-dir-result h3+p{font-size:16px;line-height:1.55;color:#415464;margin:0 0 16px;max-width:620px}
.lc-directory-page .lc-dir-result .lc-dir-primary{display:inline-flex;align-items:center;justify-content:center;min-height:50px;background:#782b43;color:#fff;border-radius:9px;padding:11px 20px;text-decoration:none;font-size:16px;font-weight:750;box-sizing:border-box}
.lc-directory-page .lc-dir-result .lc-dir-primary:hover{background:#611e35;color:#fff}
.lc-directory-page .lc-dir-result .lc-dir-primary:focus-visible{outline:3px solid #285b71;outline-offset:3px}
.lc-directory-page .lc-dir-result .lc-dir-secondary{font-size:14px;line-height:1.5;margin:13px 0 0}
.lc-directory-page .lc-dir-result .lc-dir-secondary a{color:#63515e}
.lc-directory-page .lc-dir-result .lc-dir-note{margin:12px 0 0;font-size:14px;color:#526273}
.lc-directory-page .lc-dir-section--compact{padding:15px 0}
.lc-directory-page .lc-dir-section--compact details{border:1px solid #e1e5e8;border-radius:12px;padding:0 18px;background:#fff}
.lc-directory-page .lc-dir-section--compact summary{cursor:pointer;list-style:none;font-size:17px;font-weight:750;color:#233b50;padding:18px 3px;display:flex;justify-content:space-between;gap:12px}
.lc-directory-page .lc-dir-section--compact summary::-webkit-details-marker{display:none}
.lc-directory-page .lc-dir-section--compact summary::after{content:'+';color:#802d45;font-size:22px;line-height:1}
.lc-directory-page .lc-dir-section--compact details[open] summary::after{content:'−'}
.lc-directory-page .lc-dir-section--compact .lc-dir-section-intro{margin:0 0 14px}
.lc-directory-page .lc-dir-section--compact .lc-dir-provinces{margin-bottom:18px}
.lc-directory-page .lc-dir-section--compact .lc-dir-routes{margin:7px 0 18px}

/* The family finder is a short decision aid, not another legal reference page. */
.ff-hero{padding:23px 0 21px;background:#f8faf9}
.ff-hero h1{font-size:clamp(30px,3.8vw,41px);line-height:1.15;margin:8px 0 10px}
.ff-hero p{font-size:16px;line-height:1.5;max-width:710px;margin:0}
.ff-hero .ff-eyebrow{margin-top:8px;font-size:11px}
.ff-section{padding:19px 0}
.ff-wizard{max-width:870px;margin:0 auto;padding:23px}
.ff-wizard .ff-field{margin:0 0 16px}
.ff-wizard .ff-field select{min-height:50px;max-width:100%}
.ff-wizard .ff-quick-choices{margin:0 0 18px}
.ff-wizard .ff-quick-choices label{min-height:67px;box-sizing:border-box}
.ff-wizard .ff-quick-choices legend{font-size:17px}
.ff-wizard .ff-help{font-size:13px}
.ff-result[hidden],.ff-optional[hidden]{display:none!important}
.ff-result{margin-top:18px;background:#fff;border:2px solid #c9ded8;padding:23px}
.ff-result .ff-tag{font-size:12px}
.ff-result h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(23px,2.6vw,30px);line-height:1.2;margin:8px 0!important}
.ff-result>p{font-size:16px;line-height:1.55;margin:8px 0 15px}
.ff-result .ff-action{display:inline-flex;align-items:center;justify-content:center;background:#17605d;color:#fff;padding:12px 18px;min-height:51px;border-radius:9px;text-decoration:none;font-weight:750;font-size:16px}
.ff-result .ff-action:hover{background:#0c4f4c;color:#fff}
.ff-result .ff-action:focus-visible{outline:3px solid #9fc2cc;outline-offset:3px}
.ff-result .ff-important{border-left:3px solid #bb8a36;padding:9px 13px;background:#fcf9f1;font-size:14px;line-height:1.45;margin:13px 0 0;color:#4f4538}
.ff-result details{border-top:1px solid #d5e5e0;margin-top:17px;padding-top:6px}
.ff-result summary{cursor:pointer;font-size:15px;font-weight:750;color:#175a58;padding:11px 2px}
.ff-result .ff-more-content{font-size:14px;line-height:1.55;color:#415461;padding:0 2px 12px}
.ff-result .ff-more-content p,.ff-result .ff-more-content li{font-size:14px}
.ff-result .ff-more-content ul{margin:8px 0}
.ff-result .ff-more-content a{color:#17605d;font-weight:700}
.ff-result .ff-extra-links{display:grid;gap:6px;margin-top:10px}
.ff-result .ff-extra-links a{display:inline-block;padding:5px 0}
.ff-wizard .ff-optional{margin:0 0 17px;border:1px solid #dbe5e7;border-radius:10px;padding:0 15px}
.ff-wizard .ff-optional summary{cursor:pointer;font-weight:750;padding:13px 0;color:#2b4954}
.ff-wizard .ff-optional .ff-field{margin:0 0 16px}
.ff-wizard .ff-notice{background:#f8faf8;color:#57636b;border:0;font-size:13px;padding:10px 12px;margin:15px 0 0}
.ff-below-resources{max-width:980px;margin:auto}
.ff-below-resources>details{border:1px solid #dee6e7;border-radius:12px;margin:9px 0;padding:0 17px}
.ff-below-resources>details>summary{list-style:none;cursor:pointer;font-size:16px;font-weight:750;padding:17px 0;color:#263f50}
.ff-below-resources>details>summary::-webkit-details-marker{display:none}
.ff-below-resources>details>summary::after{content:'+';float:right;color:#7e2845;font-size:21px}
.ff-below-resources>details[open]>summary::after{content:'−'}
.ff-below-resources .ff-extra-body{padding:0 0 18px}
.ff-below-resources .ff-extra-body h2{font-size:21px}
.ff-below-resources .ff-extra-body p,.ff-below-resources .ff-extra-body .ff-page-note{font-size:14px}
@media(max-width:650px){
 .lc-directory-page .lc-dir-result.has-result{padding:20px 17px}
 .lc-directory-page .lc-dir-result .lc-dir-primary{display:flex;width:100%;text-align:center}
 .lc-directory-page .lc-dir-section--compact{padding:10px 0}
 .ff-hero{padding:18px 0 19px}
 .ff-hero h1{font-size:30px}
 .ff-hero p{font-size:15px}
 .ff-wizard{padding:17px}
 .ff-wizard .ff-quick-choices label{min-height:58px}
 .ff-result{padding:18px 15px}
 .ff-result .ff-action{width:100%;box-sizing:border-box;text-align:center}
}
