/* Reusable subservice, corporate, location, contact, legal and editorial layouts. */
.xf-page #main, .xf-page .page-wrapper { background: var(--xf-white); }
.xf-page .page-wrapper { padding: 0; }
.xf-page .entry-content { margin: 0; }
.xf-page .page-title { display: none; }
.xf-page h1 { font-weight: 500; }
.xf-subservice-hero { background: var(--xf-ivory); }
.xf-subservice-hero .xf-container { align-items: center; }
.xf-subservice-hero h1, .xf-corporate-hero h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 25px; }
.xf-subservice-hero .xf-lead p { font-size: 21px; color: var(--xf-petrol); max-width: 800px; }
.xf-subservice-hero .xf-brand-mark { width: min(100%, 140px); }
.xf-subservice-hero .xf-mark-column { text-align: center; }
/* Independent native UX Builder Image in each subservice; intrinsic 4:5 frame. */
.xf-subservice-hero .xf-banner-column { text-align: right; }
.xf-subservice-hero .xf-subservice-banner { width: 100%; max-width: 180px; margin: 0 0 0 auto; }
.xf-subservice-hero--wide .xf-subservice-banner { max-width: none; }
.xf-subservice-banner .img-inner { border: 1px solid var(--xf-line); background: var(--xf-ivory); }
.xf-subservice-banner img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.xf-page .xf-reading { max-width: 880px; }
.xf-page .xf-reading h2 { margin-top: 0; }
.xf-page .xf-reading h3 { margin-top: 30px; }
.xf-page .xf-reading a, .xf-page .xf-list-links a, .xf-page .xf-link { text-decoration: underline; text-underline-offset: 4px; }
.xf-page .xf-list-links { list-style: none; padding: 0; }
.xf-page .xf-list-links li { margin: 0; border-bottom: 1px solid var(--xf-line); }
.xf-page .xf-list-links a { display: block; padding: 18px 0; }
.xf-comparison > .col-inner { border-top: 2px solid var(--xf-gold); background: var(--xf-white); padding: 30px; }
.xf-page .xf-comparison { display: flex; }
.xf-page .xf-comparison > .col-inner { width: 100%; }
.xf-page .xf-process > .col-inner { border-top: 1px solid var(--xf-line); padding-top: 22px; }
.xf-page .xf-process .xf-eyebrow p { color: var(--xf-petrol); }
.xf-page .xf-section--dark .xf-reading :is(h1,h2,h3,p,a) { color: var(--xf-white); }
.xf-profile-page { background: var(--xf-ivory); }
.xf-profile-page .xf-container { align-items: center; }
.xf-profile-page__portrait .img-inner { overflow: hidden; }
.xf-profile-page__portrait img { width: 100%; height: 600px; object-fit: cover; object-position: 50% 27%; }
.xf-profile-page__copy h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -.05em; line-height: 1.1; }
.xf-profile-page__copy .xf-lead p { color: var(--xf-petrol); font-size: 21px; }
.xf-credential { border-left: 2px solid var(--xf-gold); padding-left: 24px; margin-top: 30px; }
.xf-corporate-hero { background: var(--xf-ivory); }
.xf-corporate-hero .xf-lead p { color: var(--xf-petrol); font-size: 21px; }
.xf-location-card > .col-inner { border-top: 2px solid var(--xf-gold); padding: 30px; background: var(--xf-ivory); }
.xf-page .xf-location-card address { font-size: 20px; font-style: normal; line-height: 1.7; margin-bottom: 25px; }
.xf-page .xf-contact-data a { overflow-wrap: anywhere; }
.xf-page .xf-contact-form .wpcf7 { max-width: 740px; }
.xf-page .xf-contact-form label { display: block; font-family: var(--xf-body); font-size: 17px; color: var(--xf-navy); }
.xf-page .xf-contact-form :is(input:not([type=submit]):not([type=checkbox]),textarea,select) { border: 1px solid var(--xf-line); border-radius: 0; box-shadow: none; background: var(--xf-white); min-height: 48px; font-size: 18px; padding: 12px; }
.xf-page .xf-contact-form :is(input,textarea,select):focus { border-color: var(--xf-navy); outline: 2px solid var(--xf-navy); outline-offset: 3px; }
.xf-page .xf-contact-form textarea { min-height: 160px; }
.xf-page .xf-contact-form input[type=submit] { background: var(--xf-navy); color: var(--xf-white); border: 1px solid var(--xf-navy); min-height: 49px; padding-inline: 25px; text-transform: none; letter-spacing: 0; }
.xf-page .xf-contact-form input[type=checkbox] { accent-color: var(--xf-navy); }
.xf-page .xf-contact-form .wpcf7-list-item { margin-left: 0; }
.xf-page .xf-contact-form .wpcf7-acceptance a { text-decoration: underline; }
.xf-page .xf-privacy-summary { border-top: 1px solid var(--xf-line); padding-top: 24px; font-size: 16px; }
.xf-page .xf-privacy-summary p { font-size: 16px; }
.xf-blog-topics { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.xf-blog-topics li { padding: 8px 15px; border: 1px solid var(--xf-line); font-size: 15px; margin: 0; }
.xf-blog-pagination { margin-top: 40px; }
.xf-blog-pagination .page-numbers { display: inline-block; padding: 10px 15px; border: 1px solid var(--xf-line); margin-right: 8px; }
.xf-blog-pagination .current { background: var(--xf-navy); color: var(--xf-white); }
.xf-page .xf-legal-note { border: 1px solid var(--xf-line); padding: 24px; background: var(--xf-ivory); }
.xf-page .xf-legal-note p { font-size: 17px; }
.xf-page table { width: 100%; border-collapse: collapse; }
.xf-page :is(th,td) { padding: 14px 10px; border-bottom: 1px solid var(--xf-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.xf-page th { color: var(--xf-navy); font-family: var(--xf-heading); font-size: 14px; }
.xf-page td { font-size: 16px; }
@media (max-width: 849px) {
    .xf-subservice-hero .xf-mark-column { display: none; }
    .xf-subservice-hero .xf-banner-column { margin-top: 24px; text-align: center; }
    .xf-subservice-hero .xf-subservice-banner { max-width: 200px; margin-inline: auto; }
    .xf-subservice-hero--wide .xf-subservice-banner { max-width: 520px; }
    .xf-profile-page__portrait img { height: 480px; }
    .xf-profile-page__copy { padding-top: 32px !important; }
    .xf-page .xf-comparison, .xf-page .xf-process, .xf-page .xf-location-card { margin-bottom: 25px; }
}
@media (max-width: 549px) {
    .xf-subservice-hero--wide .xf-subservice-banner { max-width: none; }
    .xf-subservice-hero h1, .xf-corporate-hero h1, .xf-profile-page__copy h1 { font-size: 34px; }
    .xf-subservice-hero .xf-lead p, .xf-corporate-hero .xf-lead p, .xf-profile-page__copy .xf-lead p { font-size: 19px; }
    .xf-profile-page__portrait img { height: 430px; }
    .xf-page .xf-location-card > .col-inner, .xf-comparison > .col-inner { padding: 25px; }
    .xf-page :is(th,td) { padding: 12px 6px; font-size: 14px; }
}
