/* Only new mortgage education components. Original site styles remain intact. */
.seo-education,.seo-guide{font-family:inherit;color:var(--ink,#303030);line-height:1.7}
.seo-education{max-width:1100px;margin:3rem auto 5rem;padding:clamp(1.3rem,4vw,2.6rem);background:#f7f8f8;border:1px solid #e0e5e5;border-radius:18px}
.seo-education :is(h2,h3),.seo-guide :is(h1,h2,h3){font-family:Georgia,"Times New Roman",serif;font-weight:400;font-style:normal;line-height:1.22;color:#2b343a;letter-spacing:-.015em}
.seo-education h2{font-size:clamp(1.45rem,3vw,2rem)!important;margin:0 0 1.2rem}
.seo-education h3{font-size:1.14rem;margin:0 0 .5rem}
.seo-education p,.seo-guide p,.seo-guide li{font-size:1rem;line-height:1.7}
.seo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.3rem 0 2rem}
.seo-grid article{background:white;border:1px solid #e0e5e5;border-radius:12px;padding:1.25rem}
.seo-education a,.seo-guide a{color:#555;text-underline-offset:3px}
.seo-education .seo-action{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin:1.3rem 0}
.seo-action :is(a,button){background:#333;color:#fff!important;border:0;border-radius:8px;display:inline-flex;align-items:center;padding:.8rem 1.2rem;text-decoration:none!important;font-size:.95rem;font-weight:700;cursor:pointer}
.seo-action :is(a,button):focus-visible{outline:3px solid #888;outline-offset:3px}
.seo-qualify{border-left:4px solid #888;padding:1rem;background:#fff}
.seo-guide{max-width:940px;margin:2rem auto 5rem;padding:2rem}
.seo-guide h1{font-size:clamp(2rem,4vw,3rem)!important;margin:.5rem 0 1.5rem}
.seo-guide h2{font-size:clamp(1.35rem,3vw,1.75rem)!important;margin:2rem 0 .7rem}
.seo-guide .lead{font-size:1.17rem;max-width:730px;color:#4d565c}
.seo-eyebrow{font-size:.76rem!important;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#555}
.seo-reading{background:#f7f8f8;padding:1.4rem 2rem;border-radius:12px;margin:1.8rem 0}
.seo-reading ul{padding-left:1.5rem}
.seo-muted{font-size:.85rem!important;color:#5d656b}
@media(max-width:700px){.seo-education{margin:2rem 16px;padding:1.3rem}.seo-grid{grid-template-columns:1fr}.seo-guide{padding:1.2rem;margin:1rem auto 3rem}}

.verified-aid{margin:30px auto 70px;padding:clamp(20px,4vw,32px);border:1px solid #e5e2e1;background:white;border-radius:15px}.verified-aid h2{font-family:Georgia,serif;font-weight:400;line-height:1.2;margin:0 0 12px;font-size:clamp(23px,2.8vw,32px)}.verified-aid p{font-size:14px;line-height:1.7;max-width:880px;margin:10px 0}.verified-aid a{text-decoration:underline;text-underline-offset:3px}.seo-guide .seo-reading{border-left:3px solid #aaa}

.seo-breadcrumb{font-size:12px;line-height:1.5;display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#5d6267;margin:0 0 22px}.seo-breadcrumb a{text-decoration:underline;text-underline-offset:3px;color:#484b50}.seo-breadcrumb span[aria-current]{color:#555}.seo-reading.seo-example{margin:20px 0;padding:19px 23px;background:#fbfaf9;border:1px solid #e1dfdd;border-left:3px solid #9e9e9e;border-radius:8px}

/* Evidence-based worked examples in FR/EN guide pages */
.seo-example-block{margin:1.75rem 0 2.25rem;padding:clamp(16px,2.6vw,29px);background:#fff;border:1px solid #e2dcda;border-radius:13px}
.seo-example-block h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(21px,2.6vw,29px);font-weight:400;margin:0 0 15px;letter-spacing:-.02em}
.example-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.mortgage-example-table{width:100%;min-width:280px;border-collapse:collapse;font-size:14px;line-height:1.5}
.mortgage-example-table caption{text-align:left;caption-side:top;color:#4b545a;font-size:14px;line-height:1.6;padding-bottom:15px}
.mortgage-example-table thead{background:#333;color:#fff}
.mortgage-example-table th,.mortgage-example-table td{text-align:left;vertical-align:top;padding:11px 12px;border-bottom:1px solid #e5e2e0;font-variant-numeric:tabular-nums}
.mortgage-example-table thead th{border-bottom:0;font-weight:600}
.mortgage-example-table tbody th{font-weight:550}
.mortgage-example-table tbody tr:nth-child(even){background:#faf9f8}
.seo-example-note{font-size:12px!important;color:#575f64;margin:16px 0 5px;line-height:1.65}
.seo-example-method{font-size:11px!important;color:#686e72;margin:4px 0 0;line-height:1.55}
@media(max-width:390px){.mortgage-example-table{font-size:12px}.mortgage-example-table :is(td,th){padding:9px 7px}.seo-example-block{padding:14px}}

/* WCAG 2.2 AA: links in running text need a non-colour distinction. */
main p a:not(.seo-action a),.verified-aid p a,.seo-example-block p a{text-decoration-line:underline!important;text-decoration-style:solid!important;text-decoration-thickness:max(1px,.08em)!important;text-underline-offset:.18em!important}
main p a:focus-visible{outline:3px solid currentColor;outline-offset:3px;border-radius:2px}

/* Source-backed, independently readable methodology for search engines and assistive technologies. */
.seo-source-transparency{max-width:1080px;margin:36px auto 70px;padding:clamp(20px,3.6vw,35px);border:1px solid #dedbd8;background:#fff;border-radius:13px;color:#40474b}
.seo-source-transparency h2{font:400 clamp(24px,3vw,36px)/1.2 Georgia,serif;margin:12px 0 16px}
.seo-source-transparency h3{font:400 clamp(18px,2vw,23px)/1.25 Georgia,serif;margin:18px 0 9px}
.seo-source-transparency p{font-size:14px;line-height:1.72;margin:9px 0}
.seo-source-transparency a{text-decoration:underline;text-underline-offset:3px;color:inherit}
.seo-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:21px 0}
.seo-proof-grid>div{padding:18px;background:#f8f7f6;border:1px solid #e9e7e5;border-radius:9px}
.seo-proof-grid>div h3{margin:0 0 10px}
.seo-official-links{padding-left:22px;line-height:1.7;font-size:13px}
.seo-source-transparency .seo-method-date{font-size:12px;color:#62666a;border-top:1px solid #ddd;padding-top:15px;margin-top:17px}
@media(max-width:650px){.seo-source-transparency{margin-inline:16px}.seo-proof-grid{grid-template-columns:1fr}}

/* Contextual editorial links from mortgage calculation guides to unique resources. */
.seo-related-review{border:1px solid #e2dfdc;border-left:3px solid #b79da3;background:#fbfaf9;border-radius:10px;padding:18px 22px;margin:24px 0 28px}.seo-related-review h2{font:400 clamp(19px,2.2vw,25px)/1.25 Georgia,serif;margin:0 0 9px}.seo-related-review p{font-size:13px;line-height:1.7;color:#4e5559;margin:8px 0}.seo-related-review a{text-decoration:underline;text-underline-offset:3px;color:#373c40}.seo-related-review a:focus-visible{outline:3px solid #989898;outline-offset:2px}

/* WCAG 2.2 AA — adequately sized links to methodology sources. */
.seo-official-links li a{display:inline-flex;align-items:center;min-height:34px;padding:6px 3px;line-height:1.5}
.seo-official-links li{margin:4px 0}
