/* T2B — WordPress-only rules (menus, text pages, editor). The mockup styles are in _t2b.css (generated: do not edit there). */

/* Main menu: the open group (a sub-page is current) looks like the current page */
.nav ul a[aria-current=true]{background:var(--tint);color:var(--blue-ink)}
.nav #nav-list{margin:0}

/* Notice bar (Theme Options) */
.site-notice{background:var(--navy);color:#fff;text-align:center;font-size:14px;padding:8px 16px}
.site-notice a{color:var(--yellow)}

/* Text pages and runs of plain blocks (privacy policy, simple pages) */
.prose-sec{padding:56px 0}
.prose{max-width:760px}
.prose > :first-child{margin-top:0}
.prose h2{font:700 clamp(22px,2.4vw,28px)/1.25 var(--font);letter-spacing:-.015em;margin:1.6em 0 .5em}
.prose h3{font:700 19px/1.3 var(--font);margin:1.4em 0 .4em}
.prose p,.prose li{color:var(--text);font-size:16px;line-height:1.7}
.prose a{color:var(--blue-ink)}
.prose ul,.prose ol{padding-left:1.3em}
.prose img{border-radius:8px}

/* Contact Form 7: hide the empty response box; show it only with a message */
.wpcf7-response-output:empty,.wpcf7 form.init .wpcf7-response-output{display:none}
.wpcf7-response-output{margin:16px 0 0;padding:12px 14px;border-radius:6px;font-size:15px;background:var(--tint);border:1px solid var(--line)}
.wpcf7 form.sent .wpcf7-response-output{background:#e9f6ef;border-color:#b5dfc7;color:var(--ok)}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output{background:#fdf0e8;border-color:#f2c9ad;color:#8a3a00}
.wpcf7-not-valid-tip{display:block;color:#a33a00;font-size:13px;margin-top:4px}
.wpcf7-spinner{display:none}
.wpcf7 .screen-reader-response{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* Block editor: blocks sit edge to edge like the page */
.editor-styles-wrapper .wp-block[data-type^="npx/"]{max-width:none;margin-top:0;margin-bottom:0}
.editor-styles-wrapper{font-family:var(--font)}
/* Editor: server-rendered parts sit in the layout as if they were not wrapped */
.nbm-ssr,.nbm-ssr > div{display:contents}
/* Editor: heading pieces typed in place keep the page look */
.hero h1 span.h-main,.ahero h1 span.h-main{color:inherit;font-style:normal}
.lp-feats .n{display:none}
.editor-styles-wrapper .faq details::details-content{content-visibility:visible;display:block}
.editor-styles-wrapper .faq details > p{display:block}
.editor-styles-wrapper .paras{white-space:normal}

/* Contact Form 7 inside the mockup form grid */
.form .hidden-fields-container{display:none}
.form .wpcf7-form-control-wrap{display:block}
.form .wpcf7-response-output{grid-column:1/-1}

.form input[type=submit]{width:auto;height:auto;-webkit-appearance:none;appearance:none}
.form input[type=submit].btn{border:0;border-radius:5px;padding:13px 20px;font:600 15px/1.2 var(--font);background:var(--yellow);color:var(--navy)}
.form input[type=submit].btn.dark{background:var(--navy);color:#fff}
.form input[type=submit].btn:hover{background:var(--navy);color:#fff}
.form input[type=submit].btn.dark:hover{background:var(--blue-ink)}
.form-wrap .phi{margin:16px 0 22px}

/* Short pages: footer stays at the bottom of the screen */
body{min-height:100vh;display:flex;flex-direction:column}
body > main{flex:1 0 auto}
.acts-404{display:flex;gap:12px;flex-wrap:wrap}

/* Text pages: long links and wide tables never push the page sideways */
.prose a{overflow-wrap:anywhere}
.prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.prose td,.prose th{border:1px solid var(--line);padding:8px 10px;vertical-align:top;font-size:15px}
