/* Theme-wide NX presentation. Preserve native layouts, motion, queries and form states. */
body.quwa-nx-page{--font-heading:Geist,sans-serif;--font-body:'IBM Plex Sans',sans-serif;--font-article:Georgia,serif;--color-primary:#173342;--color-heading:#173342;--color-text:#4d5963;--color-body-bg:#f4f5f6;--color-accent:#315e6b;--color-accent-hover:#244f5c;--color-footer-bg:#173342;--color-footer-border:#315365;--button-radius:8px}
body.quwa-nx-native{background:#f4f5f6!important;color:#4d5963;font-family:var(--nx-ui);-webkit-font-smoothing:antialiased}
body.quwa-nx-page :is(h1,h2,h3,h4,h5,h6){font-family:var(--nx-heading)!important;letter-spacing:-.025em}
body.quwa-nx-page :is(button,input,select,textarea,label,nav,.pagination,.breadcrumbs,.breadcrumb){font-family:var(--nx-ui)}
body.quwa-nx-page :is(button,[role=button],input[type=submit],input[type=button],input[type=reset],.btn,.button,.page-numbers,[class$="-button"],[class*="-button "],[class$="__button"],[class$="-btn"],[class*="-btn "],[class$="__btn"],.qpl-button,.qpt-button,.mepr-submit,.qmh-action,.qpf-action,.qplf-action){border-radius:8px!important}
body.quwa-nx-native :is(.btn-primary,.button-primary){background:#193c49;color:#fff;border-color:#193c49;border-bottom:3px solid #bca779}
body.quwa-nx-native :is(.btn-primary,.button-primary):hover{background:#244f5c;color:#fff}
body.quwa-nx-page :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=tel],input[type=url],input[type=number],textarea,select){border-radius:8px}
body.quwa-nx-page :is(a,button,input,select,textarea):focus-visible{outline:3px solid #a98445;outline-offset:4px}
/* Standard WordPress header keeps registered menus, search and account controls. */
.quwa-nx-native .logo-section,.quwa-nx-native #site-navigation{background:#f4f5f6!important;border-color:#d5dce0}
.quwa-nx-native .logo-section .logo-container{padding-block:30px!important}
.quwa-nx-native .header-logo img{max-height:78px;width:auto}
.quwa-nx-native .categories-nav{background:#e8eef0;border-color:#d5dce0}
.quwa-nx-native :is(.main-nav,.categories-nav,.top-bar){font-family:var(--nx-ui)}
.quwa-nx-native .site-footer{background:#173342;border-top:2px solid #bca779;color:#c6d4dc}
.quwa-nx-native .site-footer :is(h2,h3,h4,a){color:#f4f5f6}
.quwa-nx-native .footer-content,.quwa-nx-native .footer-bottom{background:transparent;border-color:#476270}
.quwa-nx-native .container{max-width:1280px}
.quwa-nx-native :is(.archive-header,.page-header,.section-hero){background:#f4f5f6}
.quwa-nx-native :is(.section-title,.related-title,.search-profiles-heading){font-weight:700;border-color:#bca779}
.quwa-nx-native :is(.article-excerpt,.card-excerpt,.hero-excerpt,.search-card-excerpt,.search-profile-excerpt){font-family:var(--nx-editorial);color:#4d5963}
.quwa-nx-native :is(.post-date,.article-meta,.card-meta,.search-card-meta,.category-badge,.profile-badge){font-family:var(--nx-ui)}
.quwa-nx-native :is(.page-content,.entry-content){font-family:var(--nx-editorial)}
.quwa-nx-native :is(.mepr-login-form,.mepr-signup-form,.mepr-account-form,.mp_wrapper,.qmh-page,.qpf-page,.qplf-page,.qab-page,.ql-page,.qsaw-page){font-family:var(--nx-ui)}
/* Previously bespoke type families now follow the same NX roles. */
.quwa-nx-native :is(.qmh-page,.qpf-page,.qplf-page,.qab-page,.ql-page,.qsaw-page){--font-heading:Geist,sans-serif;--font-body:'IBM Plex Sans',sans-serif;background:#f4f5f6}
.quwa-nx-native :is(.qmh-hero,.qpf-hero,.qplf-hero,.qab-hero,.ql-hero,.qsaw-hero){background:#173342;color:#f4f5f6;border-bottom:3px solid #bca779}
.quwa-nx-native :is(.qmh-hero,.qpf-hero,.qplf-hero,.qab-hero,.ql-hero,.qsaw-hero) :is(h1,h2,p){color:inherit}
.quwa-nx-native .qplf-hero{background:#dce9e8;color:#173342}
.quwa-nx-native :is(.qpro-masthead,.qpremium-masthead,.qadv-masthead,.qni-masthead){border-color:#bca779}
.quwa-nx-native :is(.qpro-footer,.qpremium-footer,.qadv-footer){background:#173342;color:#d5e1e5}
.quwa-nx-native :is(.qpro-footer,.qpremium-footer,.qadv-footer) a{color:#f4f5f6}
/* Payment widgets/iframes remain provider owned; style their surrounding controls only. */
.quwa-nx-native .mp_wrapper :is(input[type=submit],button[type=submit],.mepr-submit){background:#193c49;color:#fff;border:1px solid #193c49;border-bottom:3px solid #bca779;font-family:var(--nx-ui)}
.quwa-nx-native :is(.mepr-account-nav,.mepr-account-row,.mp-form-label){font-family:var(--nx-ui)}
@media(max-width:600px){.quwa-nx-native .container{padding-inline:20px}.quwa-nx-native .logo-section .logo-container{padding-block:20px!important}.quwa-nx-native .header-logo img{max-height:60px}.quwa-nx-native :is(input,select,textarea){font-size:16px}}
body.quwa-nx-page :is(a[class*="-btn"],a[class*="__btn"],a[class*="-button"],a[class*="__button"],a[class$="-cta"],a[class*="-cta-link"],.pagination a,.pagination span){border-radius:8px!important}

.quwa-nx-page .nx-header-search{position:relative;font-family:var(--nx-ui);font-size:14px}
.quwa-nx-page .nx-header-search summary{cursor:pointer;padding:10px 14px;border:1px solid #b9c6cc;border-radius:8px;color:#173342}
.quwa-nx-page .nx-header-search form{position:absolute;right:0;top:calc(100% + 8px);z-index:40;display:flex;gap:8px;width:min(400px,calc(100vw - 40px));padding:16px;background:#f4f5f6;border:1px solid #b9c6cc;box-shadow:0 8px 24px #17334220}
.quwa-nx-page .nx-header-search input{min-width:0;width:100%;padding:10px;border:1px solid #8ba5ad;font-size:16px}
.quwa-nx-page .nx-header-search button{padding:10px 14px;background:#173342;color:#fff;border:0}
@media(max-width:700px){.quwa-nx-page .nx-header-search form{position:static;margin-block:10px;width:100%}}

.quwa-nx-native :is(.logo-section,#site-navigation,.categories-nav) .container{background:transparent!important}
.quwa-nx-native .nx-native-brand{display:flex;flex-direction:column;align-items:center;gap:12px;text-decoration:none;color:#173342;max-width:720px;margin:auto}
.quwa-nx-native .nx-native-brand img{width:88px;height:88px;object-fit:contain}
.quwa-nx-native .nx-native-brand strong{font:700 24px/1.2 var(--nx-heading)}
.quwa-nx-native .nx-native-brand span{font:400 13px/1.5 var(--nx-ui);color:#63717b;text-align:center}
.quwa-nx-native :is(.qmh-hero,.qpf-hero,.qab-hero,.ql-hero,.qsaw-hero){--qab-teal:#d7c09b;--qmh-teal:#d7c09b;--qpf-gold:#d7c09b;--ql-teal:#d7c09b;--qsaw-teal:#d7c09b}
.quwa-nx-native :is(.qmh-hero,.qpf-hero,.qab-hero,.ql-hero,.qsaw-hero) h1{font-weight:700}
.quwa-nx-native :is(.qmh-hero,.qpf-hero,.qab-hero,.ql-hero,.qsaw-hero) h1 em{color:#d7c09b;font-style:normal}
.quwa-nx-native .qplf-hero :is(.qplf-eyebrow,.qplf-hero-label,.qplf-hero-badge){color:#173342}
@media(max-width:600px){.quwa-nx-native .nx-native-brand{padding-inline:38px}.quwa-nx-native .nx-native-brand img{width:64px;height:64px}.quwa-nx-native .nx-native-brand span{font-size:11px;max-width:250px}}

.quwa-nx-native .qab-page{--qab-ink:#173342;--qab-ink-light:#4d5963;--qab-ink-muted:#63717b;--qab-surface:#f4f5f6;--qab-border:#d5dce0}
.quwa-nx-native .qmh-page{--qmh-ink:#173342;--qmh-ink-light:#4d5963;--qmh-ink-muted:#63717b;--qmh-surface:#f4f5f6;--qmh-border:#d5dce0}
.quwa-nx-native .qpf-page{--qpf-ink:#173342;--qpf-ink-light:#4d5963;--qpf-ink-muted:#63717b;--qpf-surface:#f4f5f6;--qpf-border:#d5dce0}
.quwa-nx-native .qplf-page{--qplf-ink:#173342;--qplf-ink-light:#4d5963;--qplf-ink-muted:#63717b;--qplf-surface:#f4f5f6;--qplf-border:#d5dce0}
.quwa-nx-native .ql-page{--ql-ink:#173342;--ql-ink-light:#4d5963;--ql-ink-muted:#63717b;--ql-surface:#f4f5f6;--ql-border:#d5dce0}
.quwa-nx-native .qsaw-page{--qsaw-ink:#173342;--qsaw-ink-light:#4d5963;--qsaw-ink-muted:#63717b;--qsaw-surface:#f4f5f6;--qsaw-border:#d5dce0}
.quwa-nx-native .qab-stats-section{--qab-teal:#d7c09b;background:#173342}
.quwa-nx-native :is(.qpf-final-cta,.qplf-final-cta,.qab-final-cta,.qsaw-final-cta){background:#173342;color:#f4f5f6}

/* A dismissed fixed banner must not remain translated below Safari's viewport.
   Removing the hidden box also keeps its controls out of keyboard navigation.
   The consent manager reopens it by removing the existing hidden class. */
.quwa-nx-page .qg-consent-banner.qg-consent-hidden{display:none}
