

/* v4.8 Global consistency patch
   This section deliberately sits at the bottom of the stylesheet so every page uses
   the same header, main area, footer, cards, forms and portal spacing. */
html{min-height:100%;background:#fbf7ee!important;}
body{min-height:100vh!important;display:flex!important;flex-direction:column!important;background:#fbf7ee!important;overflow-x:hidden!important;}
body > main#content{flex:1 0 auto!important;width:100%!important;background:#fbf7ee!important;}
.as-topbar,.as-header,.as-page-hero,.as-hero,.as-footer{flex-shrink:0!important;width:100%!important;}
.as-topbar .container,.as-header .container,.as-footer .container,.as-page-hero .container,.as-content .container{box-sizing:border-box!important;}
.as-content{padding:76px 0!important;background:#fbf7ee!important;}
.as-content > .container{width:min(1180px,calc(100% - 44px))!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;}
.as-page-hero{min-height:260px!important;display:flex!important;align-items:center!important;background-color:#071526!important;background-size:cover!important;background-position:center!important;border-bottom:1px solid #b89752!important;}
.as-page-hero h1{margin:0 0 18px!important;}
.as-page-hero p{margin:0!important;max-width:760px!important;}
.as-watermark{position:relative!important;}
.as-watermark:after{pointer-events:none!important;}
/* Footer: identical layout and spacing on every page */
.as-footer{margin-top:auto!important;background:#06101e!important;color:rgba(255,255,255,.78)!important;border-top:1px solid #b89752!important;padding:72px 0 28px!important;box-shadow:inset 0 1px 0 rgba(208,176,112,.26)!important;}
.as-footer .container{width:min(1180px,calc(100% - 44px))!important;max-width:1180px!important;margin:0 auto!important;}
.as-footer-grid{display:grid!important;grid-template-columns:1.45fr 1fr 1fr 1fr 1fr!important;gap:46px!important;align-items:start!important;margin:0!important;}
.as-footer-logo{display:block!important;width:220px!important;height:auto!important;max-width:100%!important;opacity:.88!important;margin:0 0 22px!important;}
.as-footer h4{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif!important;color:#fff!important;font-size:12px!important;line-height:1.2!important;text-transform:uppercase!important;letter-spacing:.16em!important;font-weight:900!important;margin:0 0 18px!important;}
.as-footer p,.as-footer a{font-size:14px!important;line-height:1.75!important;color:rgba(255,255,255,.78)!important;margin:0 0 12px!important;}
.as-footer a{display:block!important;text-decoration:none!important;}
.as-footer a:hover{color:#d0b070!important;}
.as-footer-bottom{display:flex!important;justify-content:space-between!important;gap:28px!important;align-items:center!important;border-top:1px solid rgba(255,255,255,.10)!important;margin:48px 0 0!important;padding:20px 0 0!important;font-size:11px!important;line-height:1.5!important;color:rgba(255,255,255,.60)!important;}
.as-footer-bottom span{display:block!important;}
/* Keep card and portal language consistent */
.as-card,.as-form,.as-portal-preview,.as-hero-panel,.as-partner,.as-private-office,.as-step,.as-route,.as-download,.as-secure-portal{border-radius:10px!important;}
.as-card,.as-form,.as-portal-preview,.as-step,.as-route,.as-download,.as-secure-portal{border:1px solid rgba(184,151,82,.26)!important;box-shadow:0 10px 26px rgba(7,21,38,.055)!important;}
input,textarea,select{border-radius:8px!important;}
/* Secure portal: one centered card, never squashed and never duplicated */
.as-content .as-secure-portal{max-width:860px!important;margin:0 auto!important;}
.as-secure-portal + .as-secure-portal{display:none!important;}
.as-secure-portal form{display:block!important;}
.as-secure-portal input[type="text"],.as-secure-portal input[type="email"],.as-secure-portal input[type="file"],.as-secure-portal textarea,.as-secure-portal select{width:100%!important;max-width:100%!important;display:block!important;}
/* WordPress block/classic editor content should not inherit odd widths */
.entry-content,.as-content article,.as-content .wp-block-group{max-width:100%!important;}
/* Responsive footer/header consistency */
@media(max-width:1020px){
  .as-footer-grid{grid-template-columns:1fr 1fr!important;gap:34px!important;}
  .as-footer-bottom{display:block!important;}
  .as-footer-bottom span+span{margin-top:10px!important;}
  .as-content{padding:58px 0!important;}
}
@media(max-width:680px){
  .as-content > .container,.as-footer .container{width:min(100% - 28px,1180px)!important;}
  .as-footer{padding:54px 0 24px!important;}
  .as-footer-grid{grid-template-columns:1fr!important;gap:26px!important;}
  .as-footer-logo{width:190px!important;}
  .as-page-hero{min-height:220px!important;}
}
