/* XAURAL Core 0.9.32 — single, centered legal document.
   Works in a Gutenberg block theme on both small and wide viewports. */
body.aiw-legal-page .aiw-shell-content.aiw-legal-shell {
    box-sizing:border-box!important; width:100%!important; max-width:none!important;
    min-width:0!important; padding:clamp(16px,3.5vw,48px) clamp(14px,3.6vw,52px) 64px!important;
    margin:0 auto!important; text-align:initial!important;
}
body.aiw-legal-page .aiw-legal-frame {
    box-sizing:border-box!important; display:block!important;
    width:100%!important; max-width:1030px!important; min-width:0!important;
    margin:0 auto!important; padding:0!important;
}
body.aiw-legal-page .aiw-legal-frame > .wp-block-shortcode {
    display:block!important; width:100%!important; max-width:none!important;
    min-width:0!important; margin:0!important; padding:0!important;
}
/* Compatible with older Gutenberg templates, if an external theme is active. */
body.aiw-legal-page .aiw-shell-content,
body.aiw-legal-page .wp-block-post-content,
body.aiw-legal-page .entry-content {min-width:0!important;}
body.aiw-legal-page .wp-block-shortcode:has(> .aiw-legal) {
    box-sizing:border-box!important; width:100%!important; max-width:1030px!important;
    min-width:0!important; margin-inline:auto!important;
}
body.aiw-legal-page .aiw-legal {
    display:block!important; float:none!important; clear:both!important;
    box-sizing:border-box!important; position:relative!important;
    width:100%!important; max-width:1030px!important; min-width:0!important;
    margin:0 auto 48px!important; padding:0!important;
    color:#edf3f9!important; font-family:inherit!important; text-align:left!important;
    overflow-wrap:break-word; overflow-wrap:anywhere;
}
body.aiw-legal-page .aiw-legal *,
body.aiw-legal-page .aiw-legal *::before,
body.aiw-legal-page .aiw-legal *::after{box-sizing:border-box;min-width:0}
body.aiw-legal-page .aiw-legal-hero {
    display:block!important; margin:0 0 18px!important;
    padding:clamp(24px,5vw,49px)!important;
    background:linear-gradient(130deg,#22364b,#151d27 78%)!important;
    border:1px solid rgba(189,213,229,.17)!important;
    border-radius:20px!important; box-shadow:none!important;
}
body.aiw-legal-page .aiw-legal-eyebrow {
    display:block; font-size:.75rem!important; font-weight:750;
    letter-spacing:.16em; color:#a8c5d8!important;
}
body.aiw-legal-page .aiw-legal-hero h1 {
    font-size:clamp(1.9rem,4vw,3.2rem)!important; line-height:1.12!important;
    letter-spacing:-.045em!important; margin:13px 0 16px!important;
    color:#fff!important; font-weight:780!important;
}
body.aiw-legal-page .aiw-legal-updated {
    color:#afc1cf!important; font-size:.85rem!important; margin:0 0 14px!important;
}
body.aiw-legal-page .aiw-legal-intro {
    font-size:clamp(.99rem,1.3vw,1.1rem)!important; line-height:1.75!important;
    max-width:72ch!important; margin:0!important; color:#e0eaf4!important;
}
body.aiw-legal-page .aiw-legal-sections {
    display:block!important; border:1px solid rgba(196,219,234,.15)!important;
    border-radius:19px!important; background:#171f26!important;
    overflow:hidden!important; margin:0!important;
}
body.aiw-legal-page .aiw-legal-section {
    box-sizing:border-box!important; display:grid!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    gap:clamp(10px,2.2vw,23px)!important; align-items:start!important;
    width:100%!important; max-width:none!important;
    padding:clamp(20px,2.8vw,32px)!important; margin:0!important;
    border:0!important; border-bottom:1px solid rgba(203,223,242,.13)!important;
}
body.aiw-legal-page .aiw-legal-section:last-child{border-bottom:0!important}
body.aiw-legal-page .aiw-legal-index{
    display:block!important; padding-top:4px!important;
    font-size:.83rem!important; font-variant-numeric:tabular-nums;
    font-weight:700; color:#98b3c9!important;
}
body.aiw-legal-page .aiw-legal-section > div{width:100%!important;min-width:0!important}
body.aiw-legal-page .aiw-legal-section h2{
    font-size:clamp(1.06rem,1.7vw,1.35rem)!important;
    line-height:1.35!important; letter-spacing:-.015em!important;
    font-weight:740!important; color:#fff!important; margin:0 0 10px!important;
}
body.aiw-legal-page .aiw-legal-section p{
    font-size:clamp(.93rem,1vw,1rem)!important;
    line-height:1.85!important; color:#ccd8e3!important;
    max-width:88ch!important; margin:0!important;
}
body.aiw-legal-page .aiw-legal-contact{
    display:block!important; padding:clamp(20px,3vw,32px)!important;
    margin:20px 0 0!important; background:#1b2b28!important;
    border:1px solid rgba(153,218,189,.22)!important; border-radius:17px!important;
}
body.aiw-legal-page .aiw-legal-contact h2{
    font-size:clamp(1.1rem,2vw,1.32rem)!important;
    color:#fff!important;margin:0 0 11px!important;
}
body.aiw-legal-page .aiw-legal-contact p{margin:8px 0!important;line-height:1.7!important;color:#d2e1dd!important}
body.aiw-legal-page .aiw-legal-contact a{color:#bbefdb!important}
body.aiw-legal-page .aiw-legal-mandatory{font-size:.84rem!important;opacity:.77}
body.aiw-legal-page .aiw-legal-admin-warning{padding:14px;border:1px solid #dab57180;border-radius:10px;background:#372a16}
body.aiw-legal-page .aiw-legal-request{
    display:inline-flex;justify-content:center;align-items:center;min-height:42px;
    padding:9px 19px;border:1px solid rgba(168,237,185,.55);
    border-radius:999px;text-decoration:none;background:#243d32;
    color:#d9ffe1!important;font-weight:740;
}
body.aiw-legal-page .wp-block-post-title{display:none!important}
@media(max-width:600px){
    body.aiw-legal-page .aiw-shell-content.aiw-legal-shell{padding:16px 12px 48px!important}
    body.aiw-legal-page .aiw-legal-hero{padding:23px 19px!important;border-radius:16px!important}
    body.aiw-legal-page .aiw-legal-section{grid-template-columns:24px minmax(0,1fr)!important;gap:10px!important;padding:18px 14px!important}
    body.aiw-legal-page .aiw-legal-section p{font-size:.93rem!important;line-height:1.78!important}
    body.aiw-legal-page .aiw-legal-contact{padding:20px 17px!important}
}

/* 0.9.33: Legal template always has the exact centered layout, even without WP block wrapper. */
body.aiw-legal-document-template main.aiw-legal-shell{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;padding:clamp(18px,4vw,46px) clamp(14px,3vw,42px) 90px!important;box-sizing:border-box!important}
body.aiw-legal-document-template main.aiw-legal-shell>.aiw-legal-frame{display:block!important;width:min(100%,1020px)!important;max-width:1020px!important;min-width:0!important;margin:0 auto!important;padding:0!important;float:none!important;clear:both!important}
body.aiw-legal-document-template .aiw-legal{display:block!important;max-width:100%!important;width:100%!important;margin:0 auto 30px!important}
body.aiw-legal-document-template .aiw-legal-sections{width:100%!important}
@media(max-width:600px){body.aiw-legal-document-template main.aiw-legal-shell{padding:12px 12px 95px!important}body.aiw-legal-document-template .aiw-legal-hero{padding:21px 18px!important}}

/* v0.9.33: Sidebar-aware centering; scope to the dedicated PHP template. */
body.aiw-legal-page.aiw-legal-document-template .aiw-legal-site-shell>main.aiw-shell-content.aiw-legal-shell{
    box-sizing:border-box!important;display:block!important;width:auto!important;max-width:none!important;
    margin:0 10px 0 calc(var(--aiw-sidenav,258px) + 20px)!important;
    padding:clamp(20px,3.2vw,47px) clamp(14px,3.8vw,56px) 110px!important;
    min-height:calc(100vh - 120px)!important;
}
body.aiw-legal-page.aiw-legal-document-template .aiw-legal-site-shell>main.aiw-shell-content.aiw-legal-shell>.aiw-legal-frame{
    width:100%!important;max-width:1020px!important;margin:0 auto!important;min-width:0!important;
}
@media(max-width:820px){
  body.aiw-legal-page.aiw-legal-document-template .aiw-legal-site-shell>main.aiw-shell-content.aiw-legal-shell{
    width:100%!important;margin:0!important;padding:18px 13px 185px!important;border:0!important;
  }
}
