/* BBH Portal V2 — Header, archives and new standalone Page templates ONLY.
   No review/post content overrides. */
.bbh-site-header .bbh-header-inner{gap:12px;flex-wrap:nowrap;min-height:82px}
.bbh-site-header .bbh-main-nav{gap:clamp(10px,1.1vw,17px);min-width:0;justify-content:center}
.bbh-site-header .bbh-main-nav a{font-size:13px}
.bbh-site-header .bbh-header-actions{flex-wrap:nowrap;gap:9px;min-width:0}
.bbh-site-header .bbh-language-control select{width:112px;max-width:112px;min-height:43px}
.bbh-site-header .bbh-header-search,.bbh-site-header .bbh-header-search:focus-within{width:167px;flex:0 0 167px;min-height:43px}
.bbh-site-header .bbh-header-country,.bbh-body .bbh-site-header .bbh-header-country{display:flex;min-width:143px;width:143px;max-width:143px;padding:6px 8px;overflow:hidden}
.bbh-site-header .bbh-header-country select{min-width:0;width:100%;max-width:none;white-space:nowrap;text-overflow:ellipsis}
@media(max-width:1240px){.bbh-site-header .bbh-header-inner{flex-wrap:wrap}.bbh-site-header .bbh-brand{margin-right:auto}.bbh-site-header .bbh-main-nav{order:3;flex:1 0 100%;justify-content:flex-start;min-width:0;gap:25px}.bbh-site-header .bbh-header-actions{margin-left:auto}}
@media(max-width:900px){.bbh-site-header .bbh-header-inner{flex-wrap:wrap;min-height:70px;gap:9px}.bbh-site-header .bbh-main-nav{position:absolute;top:100%;left:0;right:0;order:unset;display:none;gap:0;background:#fff;box-shadow:0 15px 25px rgba(5,31,54,.1);padding:12px 17px;max-height:70vh;overflow-y:auto}.bbh-site-header .bbh-main-nav.bbh-nav-open{display:flex;flex-direction:column;align-items:stretch}.bbh-site-header .bbh-main-nav a{padding:12px;border-bottom:1px solid #e5eef0}.bbh-site-header .bbh-menu-toggle{display:block;order:2;margin-left:auto;flex:0 0 43px}.bbh-site-header .bbh-header-actions{order:3;width:100%;margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.bbh-site-header .bbh-language-control,.bbh-site-header .bbh-header-country{min-width:0;max-width:none;width:100%}.bbh-site-header .bbh-language-control select{max-width:none;width:100%}.bbh-site-header .bbh-header-search,.bbh-site-header .bbh-header-search:focus-within{grid-column:1/-1;grid-row:2;width:100%;flex-basis:auto}.bbh-site-header .bbh-header-search input{width:100%;opacity:1}}
@media(max-width:390px){.bbh-site-header .bbh-header-inner{gap:7px}.bbh-site-header .bbh-header-country svg{display:none}.bbh-site-header .bbh-header-country select{font-size:11px}.bbh-site-header .bbh-brand-type{font-size:14px}}

/* Common V2 independent page components. */
.bbh-v2-kicker{font:800 11px/1.3 'DM Sans',system-ui,sans-serif;color:#007e87;letter-spacing:.14em;text-transform:uppercase}
.bbh-v2-deck{font-size:clamp(16px,1.8vw,20px);line-height:1.65;color:#38556c}
.bbh-v2-static-research{font-size:16px;line-height:1.8;max-width:920px;margin:auto;color:#18354e}
.bbh-v2-static-research h2{font:500 clamp(24px,2.5vw,33px)/1.22 Georgia,serif;margin:30px 0 12px;color:#0b2947}
.bbh-v2-static-research section{padding:16px 0;border-bottom:1px solid #e2eaef}
.bbh-v2-static-research ol,.bbh-v2-static-research ul{padding-left:24px}
.bbh-v2-static-research a,.bbh-v2-landing a:not(.bbh-v2-pills a){color:#006f80;text-underline-offset:3px}
.bbh-v2-toc{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}
.bbh-v2-toc a{border:1px solid #cee0e9;border-radius:22px;padding:8px 12px;font:700 12px/1.3 'DM Sans',system-ui,sans-serif;text-decoration:none;background:#f6fafb}
.bbh-v2-editorial-note{padding:17px 20px;border-left:4px solid #b78226;background:#fff9ef;color:#334b59;border-radius:9px;line-height:1.7;font-size:14px;margin:26px 0}
.bbh-v2-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bbh-v2-mini-grid a{padding:19px;background:#fff;border:1px solid #cfdee7;border-radius:10px;text-decoration:none;display:flex;flex-direction:column;gap:6px}
.bbh-v2-mini-grid strong{font-size:15px;color:#102f4c}.bbh-v2-mini-grid span{font-size:12px;color:#546f82}

/* Premium Brokers directory (standalone page-brokers.php). */
.bbh-directory{width:min(1190px,calc(100% - 48px));margin:0 auto 72px;color:#12324c;font-family:'DM Sans',system-ui,sans-serif}
.bbh-directory .bd-breadcrumb{display:flex;gap:12px;padding:26px 0;font-size:12px;color:#60778b}
.bbh-directory .bd-breadcrumb a{color:#007481}
.bbh-directory .bd-hero{background:linear-gradient(120deg,#f2fafb,#e7f2f5);padding:clamp(24px,4vw,52px);border-radius:16px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(285px,.85fr);gap:35px;align-items:center}
.bbh-directory .bd-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#007d88}
.bbh-directory .bd-hero h1{font:500 clamp(35px,4.5vw,57px)/1.12 Georgia,serif;letter-spacing:-.025em;color:#0a2846;margin:10px 0 17px}
.bbh-directory .bd-hero h1 em{color:#00818a;font-style:normal}
.bbh-directory .bd-hero p{line-height:1.7;color:#466279}
.bbh-directory .bd-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.bbh-directory .bd-primary,.bbh-directory .bd-secondary{display:inline-flex;justify-content:center;align-items:center;padding:12px 18px;border-radius:7px;background:#006b78;color:white!important;font-weight:800;text-decoration:none;border:1px solid #007e89}
.bbh-directory .bd-secondary{color:#007784!important;border-color:#84b9c3;background:white}
.bbh-directory .bd-fine{font-size:12px!important;color:#597b86!important;margin-top:17px}
.bbh-directory .bd-principles{background:#092b48;color:#e5f2f6;border-radius:13px;padding:24px 27px}
.bbh-directory .bd-principles .bd-kicker{color:#76d1d6}
.bbh-directory .bd-principles h2{font:500 29px/1.14 Georgia,serif;color:white;margin:12px 0}
.bbh-directory .bd-principles ol{counter-reset:item;list-style:none;padding:0}
.bbh-directory .bd-principles li{padding:12px 0;border-bottom:1px solid #31516a}
.bbh-directory .bd-principles li:last-child{border:0}
.bbh-directory .bd-principles strong,.bbh-directory .bd-principles span{display:block}
.bbh-directory .bd-principles strong{font-size:14px}.bbh-directory .bd-principles span{font-size:12px;color:#c6d8e5;line-height:1.6}
.bbh-directory .bd-disclosure{font-size:12px;line-height:1.7;color:#436178;padding:21px 0;margin-bottom:22px;border-bottom:1px solid #e0e9ed}
.bbh-directory .bd-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}
.bbh-directory .bd-heading h2,.bbh-directory .bd-compare h2,.bbh-directory .bd-method h2,.bbh-directory .bd-faq h2{font:500 clamp(25px,3vw,34px)/1.22 Georgia,serif;color:#0d2a48;margin:6px 0}
.bbh-directory .bd-heading>a{font-size:13px;font-weight:800;color:#007986}
.bbh-directory .bd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.bbh-directory .bd-card{background:#fff;border:1px solid #d8e3e9;border-radius:12px;padding:20px;min-width:0;display:flex;flex-direction:column;transition:border-color .2s,box-shadow .2s}
.bbh-directory .bd-card:hover{border-color:#79bcc5;box-shadow:0 9px 25px rgba(7,57,77,.08)}
.bbh-directory .bd-card-top{display:flex;align-items:center;gap:13px}
.bbh-directory .bd-mark{width:96px;height:64px;flex:0 0 96px;display:flex;align-items:center;justify-content:center;font-weight:800;color:#0b4762;background:#f7fafb;border:1px solid #dbe7eb;border-radius:8px;overflow:hidden;padding:8px}
.bbh-directory .bbh-v2-logo-img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;filter:none}
.bbh-directory .bd-card-top h3{font-size:17px;color:#082b49;margin:0 0 2px;line-height:1.3}
.bbh-directory .bd-card-top span:not(.bd-mark):not(.bd-arrow){font-size:11px;color:#57768a}
.bbh-directory .bd-arrow{margin-left:auto;color:#007481}
.bbh-directory .bd-focus{font-size:12px;font-weight:800;color:#007b88;margin:16px 0 7px}
.bbh-directory .bd-card>p:not(.bd-focus){font-size:13px;line-height:1.7;color:#526d81;flex:1;margin:0 0 15px}
.bbh-directory .bd-topics{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}
.bbh-directory .bd-topics span{font:700 10px 'DM Sans',sans-serif;padding:6px 9px;border-radius:18px;background:#eaf5f7;color:#27677a}
.bbh-directory .bd-review{display:block;text-align:center;padding:12px;background:#007f8c;border-radius:7px;color:white!important;text-decoration:none;font-size:13px;font-weight:800}
.bbh-directory .bd-compare,.bbh-directory .bd-method{margin-top:55px;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;padding:30px;background:#f2f8f9;border:1px solid #d6e7e9;border-radius:13px}
.bbh-directory .bd-compare p,.bbh-directory .bd-method p{font-size:14px;line-height:1.8;color:#516b7e}
.bbh-directory .bd-compare form{display:grid;gap:12px;padding:25px;background:#fff;border:1px solid #dce7eb;border-radius:11px}
.bbh-directory .bd-compare form label{font-size:12px;font-weight:800;color:#355a72}
.bbh-directory .bd-compare form select{display:block;width:100%;padding:11px 12px;margin-top:7px;border:1px solid #ccdae5;border-radius:7px;background:#fff}
.bbh-directory .bd-compare form button{cursor:pointer}
.bbh-directory .bd-checklist{padding:25px;border:1px solid #dce7eb;border-radius:10px;background:#fff}
.bbh-directory .bd-checklist h3{margin:0 0 14px;color:#0b314b}
.bbh-directory .bd-checklist li{padding:5px 0;font-size:13px;line-height:1.6}
.bbh-directory .bd-method a{font-weight:800;color:#007984}
.bbh-directory .bd-learning{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:26px}
.bbh-directory .bd-learning a{display:block;border:1px solid #d4e3e8;border-radius:10px;padding:21px;color:#183b55!important;text-decoration:none;background:#fff}
.bbh-directory .bd-learning span{font-size:10px;font-weight:800;color:#007983;letter-spacing:.1em}
.bbh-directory .bd-learning h3{font:500 23px Georgia,serif;margin:11px 0;color:#092a49}
.bbh-directory .bd-learning p,.bbh-directory .bd-learning b{font-size:12px;line-height:1.7}
.bbh-directory .bd-faq{max-width:890px;margin:60px auto 25px}
.bbh-directory .bd-faq details{border-bottom:1px solid #d7e2e8;padding:16px 0}
.bbh-directory .bd-faq summary{cursor:pointer;font-weight:800;color:#0c2c49}
.bbh-directory .bd-faq details p{font-size:14px;line-height:1.8;color:#3f5f78}
@media(max-width:950px){.bbh-directory .bd-hero{grid-template-columns:1fr}.bbh-directory .bd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bbh-directory .bd-compare,.bbh-directory .bd-method{grid-template-columns:1fr}}
@media(max-width:640px){.bbh-directory{width:calc(100% - 32px)}.bbh-directory .bd-grid,.bbh-directory .bd-learning{grid-template-columns:1fr}.bbh-directory .bd-hero{padding:22px}.bbh-directory .bd-card{padding:17px}.bbh-directory .bd-principles{padding:22px}.bbh-directory .bd-heading{display:block}.bbh-directory .bd-compare,.bbh-directory .bd-method{padding:19px;margin-top:38px}.bbh-directory .bd-mark{width:90px;flex-basis:90px;height:61px}}

/* Comparisons: accessible tables and actionable research pair presets. */
.bbh-v2-comparison-presets{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:20px 0 4px}
.bbh-v2-comparison-presets span{color:#53677a;font-size:12px;font-weight:700}
.bbh-v2-comparison-presets a{background:#eff8f9;color:#00717d;border-radius:30px;border:1px solid #c8dfe3;padding:9px 13px;font-size:12px;text-decoration:none;font-weight:800}
.bbh-comparison-table{table-layout:fixed;border-collapse:collapse;min-width:680px}
.bbh-comparison-table td,.bbh-comparison-table th{vertical-align:top;line-height:1.75;overflow-wrap:anywhere}
.bbh-comparison-table tr:nth-child(2n){background:#f8fbfc}
.bbh-comparison-table a{color:#006d7a;text-decoration:underline}
.bbh-comparison-table td:first-child{font-weight:800;width:22%}

/* Standalone calculator landing page. */
.bbh-v2-landing{background:#fff;color:#102f4b}
.bbh-v2-landing-hero{background:linear-gradient(115deg,#ecf7f8,#fff 62%,#e1f0f3);border-bottom:1px solid #d4e5ea;padding:65px 0}
.bbh-v2-landing-hero h1{font:500 clamp(37px,4.2vw,57px)/1.14 Georgia,serif;color:#082945;margin:12px 0}
.bbh-v2-landing-hero em{font-style:normal;color:#007f8a}
.bbh-v2-landing-hero p{max-width:760px;color:#4a647a;line-height:1.7}
.bbh-v2-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}
.bbh-v2-pills a{padding:9px 14px;background:#fff;border:1px solid #cadfe4;border-radius:22px;font-size:13px;text-decoration:none;color:#00727c}
.bbh-v2-landing-main{padding:30px 0 65px}
.bbh-v2-tool-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.bbh-v2-tool-panel{border:1px solid #d3e2e8;border-radius:12px;padding:24px;min-width:0;background:#fff}
.bbh-v2-tool-panel h2{font:500 26px/1.25 Georgia,serif;color:#0a2947;margin:8px 0 14px}
.bbh-v2-tool-panel>p{font-size:14px;line-height:1.7;color:#536c80}
.bbh-v2-calc-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.bbh-v2-calc-form label{display:block;font-size:12px;color:#2e5267;font-weight:800}
.bbh-v2-calc-form input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #ccdde5;border-radius:6px;color:#173451}
.bbh-v2-calc-result{grid-column:1/-1;padding:16px;background:#e6f5f6;border-left:4px solid #007f8a;color:#0b5264;border-radius:6px;font-size:16px;line-height:1.5;font-weight:800}
.bbh-v2-calc-footnote{font-size:12px!important;line-height:1.65}
.bbh-v2-landing-more{margin-top:45px}
.bbh-v2-landing-more h2{font:500 30px Georgia,serif}
.bbh-v2-text-after{margin-top:45px;max-width:980px}
@media(max-width:790px){.bbh-v2-tool-layout{grid-template-columns:1fr}}
@media(max-width:600px){.bbh-v2-landing-hero{padding:38px 0}.bbh-v2-tool-panel{padding:19px}.bbh-v2-calc-form{grid-template-columns:1fr}.bbh-v2-mini-grid{grid-template-columns:1fr}}

/* Accessibility and navigation: avoid breaking existing article/prose styles. */
.bbh-v2-country-method{max-width:980px;margin:30px auto;padding:28px;background:#f5fafb;border:1px solid #d9e9ec;border-radius:12px}.bbh-v2-country-method h2{font:500 29px Georgia,serif;color:#0a2b47;margin:0 0 12px}.bbh-v2-country-method>p{font-size:14px;line-height:1.8;color:#4e6576}.bbh-v2-country-method .bbh-v2-mini-grid{margin:20px 0}
.bbh-v2-static-research a:focus-visible,.bbh-directory a:focus-visible,.bbh-directory button:focus-visible,.bbh-v2-landing a:focus-visible,.bbh-v2-landing input:focus-visible{outline:3px solid #0094ab;outline-offset:3px}

/* Editorial article archive; listings only, posts remain unchanged. */
.bbh-v2-blog{background:#fff;color:#092a48}
.bbh-v2-blog .bbh-v2-landing-hero{padding:53px 0}
.bbh-v2-blog .bbh-v2-landing-hero h1{max-width:850px}
.bbh-v2-blog-main{padding:34px 0 65px}
.bbh-v2-blog-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;background:#f3f8fa;border:1px solid #d9e7eb;border-radius:10px;padding:17px}
.bbh-v2-blog-form label{width:100%;font-size:12px;font-weight:800;color:#36566e}
.bbh-v2-blog-form input{flex:1;min-width:200px;padding:13px 15px;border-radius:7px;border:1px solid #cbdde5;background:#fff;color:#102d47;font-size:14px}
.bbh-v2-blog-form button{padding:13px 20px;border:0;border-radius:7px;background:#007f8a;color:#fff;font-weight:800;cursor:pointer}
.bbh-v2-blog-filters{display:flex;flex-wrap:wrap;gap:9px;padding:22px 0}
.bbh-v2-blog-filters a{padding:10px 13px;border:1px solid #cfdfe5;background:#fff;border-radius:24px;font-size:12px;font-weight:800;color:#31576a;text-decoration:none}
.bbh-v2-blog-filters a.is-current{background:#092b49;color:#fff;border-color:#092b49}
.bbh-v2-blog-count{font-size:12px;color:#587185;padding:10px 0}
.bbh-v2-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bbh-v2-blog-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8e5eb;border-radius:12px;background:#fff}
.bbh-v2-blog-image{display:flex;aspect-ratio:16/9;background:#ebf5f7;overflow:hidden;align-items:center;justify-content:center;text-decoration:none}
.bbh-v2-blog-image img{width:100%;height:100%;object-fit:cover}
.bbh-v2-image-placeholder{font:500 28px Georgia,serif;color:#0a6170;text-align:center}.bbh-v2-image-placeholder small{display:block;font:800 11px 'DM Sans',sans-serif;letter-spacing:.15em;color:#368a92}
.bbh-v2-blog-card-copy{padding:20px;display:flex;flex:1;flex-direction:column;gap:9px}
.bbh-v2-blog-card-copy h2{font:500 21px/1.3 Georgia,serif;margin:0;color:#12334e}
.bbh-v2-blog-card-copy h2 a{color:inherit;text-decoration:none}
.bbh-v2-blog-card-copy>p:not(.bbh-v2-kicker){font-size:13px;line-height:1.7;color:#5a7284;margin:0}
.bbh-v2-blog-read{font-size:13px;font-weight:800;color:#007b88;text-decoration:none;margin-top:auto;padding-top:12px}
.bbh-v2-pagination{display:flex;justify-content:space-between;gap:15px;margin:30px 0}
.bbh-v2-pagination a{padding:12px 16px;border:1px solid #bbd8df;border-radius:7px;text-decoration:none;color:#006a78;font-weight:800;font-size:13px}
@media(max-width:950px){.bbh-v2-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.bbh-v2-blog-grid{grid-template-columns:1fr}.bbh-v2-blog-form input,.bbh-v2-blog-form button{width:100%;flex-basis:100%}}

/* Trust-oriented footer, with proper groups on desktop and mobile. */
.bbh-v2-footer .bbh-footer-top{display:grid;grid-template-columns:minmax(220px,290px) minmax(0,1fr);gap:55px;align-items:start;padding:48px 0 38px}
.bbh-v2-footer .bbh-v2-footer-brand p{font-size:13px;line-height:1.8;color:#c3d9e6;margin:15px 0}
.bbh-v2-footer .bbh-v2-footer-brand>a:not(.bbh-brand){font-size:12px;color:#8bd9dd;text-decoration:underline}
.bbh-v2-footer .bbh-footer-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bbh-v2-footer .bbh-footer-nav>div{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.bbh-v2-footer .bbh-footer-nav h2{color:#a5e3e2;font:800 12px 'DM Sans',system-ui,sans-serif;letter-spacing:.07em;text-transform:uppercase;margin:0 0 6px}
.bbh-v2-footer .bbh-footer-nav a{font-size:13px;line-height:1.6;color:#e5eff6;text-decoration:none}
.bbh-v2-footer .bbh-footer-nav a:hover{text-decoration:underline;color:#fff}
.bbh-v2-footer .bbh-v2-legal-links{display:flex;flex-wrap:wrap;gap:18px;border-top:1px solid #33546b;padding:16px 0}
.bbh-v2-footer .bbh-v2-legal-links a{color:#c4d9e6;font-size:12px}
.bbh-v2-footer .bbh-footer-bottom{border-top:1px solid #33546b}
.bbh-v2-footer .bbh-footer-bottom strong{color:#e1f1f8}
@media(max-width:950px){.bbh-v2-footer .bbh-footer-top{grid-template-columns:1fr;gap:30px}.bbh-v2-footer .bbh-footer-nav{gap:25px}}
@media(max-width:600px){.bbh-v2-footer .bbh-footer-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px}.bbh-v2-footer .bbh-footer-top{padding:30px 0}.bbh-v2-footer .bbh-footer-bottom{display:block}.bbh-v2-footer .bbh-footer-bottom span{display:block;margin-bottom:15px}}

