/* Whitefox Goldmaker legal footer · additive styles, not a global theme reset */
.wfg-footer--legal {padding:38px 0 22px;background:#05080f;border-top:1px solid var(--wfg-border);color:var(--wfg-muted);font-size:13px}
.wfg-legal-footer__grid {display:grid;grid-template-columns:minmax(230px,1.1fr) minmax(230px,1fr) minmax(190px,.75fr);gap:clamp(22px,4vw,58px);padding:34px 0 42px}
.wfg-legal-footer__brand {display:inline-block;font-family:Inter,system-ui,sans-serif;font-size:22px;letter-spacing:-.04em;font-weight:800;color:var(--wfg-text)}
.wfg-legal-footer__brand span {color:var(--wfg-gold)}
.wfg-legal-footer__about p{max-width:36ch;line-height:1.75;margin-top:14px;color:var(--wfg-muted)}
.wfg-legal-footer__operator{font-size:12px}
.wfg-legal-footer__operator a,.wfg-legal-footer__contact{color:var(--wfg-gold);text-decoration:none}
.wfg-legal-footer__section h2{font:700 13px/1.35 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--wfg-text);margin:3px 0 18px}
.wfg-footer--legal .wfg-footer-nav {margin:0}
.wfg-footer--legal .wfg-footer-nav__menu{display:grid;grid-template-columns:repeat(2,minmax(100px,1fr));gap:8px 18px}
.wfg-footer--legal .wfg-footer-nav__menu li{margin:0;padding:0}
.wfg-legal-footer__links{list-style:none;display:grid;gap:11px;margin:0;padding:0}
.wfg-legal-footer__section a{color:#abb4c2;transition:color .16s ease}
.wfg-legal-footer__section a:hover,.wfg-legal-footer__section a:focus-visible,.wfg-legal-footer__operator a:hover{color:var(--wfg-gold-bright)}
.wfg-legal-footer__contact{display:inline-block;margin-top:23px;font-size:12px;overflow-wrap:anywhere}
.wfg-legal-footer__pending{font-size:12px;line-height:1.6}
.wfg-legal-footer__bottom{display:flex;justify-content:space-between;gap:20px;padding-top:20px;border-top:1px solid var(--wfg-border);font-size:11px;line-height:1.65}
.wfg-legal-footer__bottom span:last-child{max-width:62ch;text-align:right}
/* Legal document Gutenberg blocks */
.wfg-entry-content .wfg-legal-intro{border-left:3px solid var(--wfg-gold);padding:16px 22px;background:rgba(227,179,76,.05);color:var(--wfg-text);border-radius:0 8px 8px 0}
.wfg-entry-content .wfg-legal-card{padding:22px 26px;border:1px solid var(--wfg-border);border-radius:10px;background:#0d1422}
.wfg-entry-content .wfg-legal-note{font-size:14px;color:var(--wfg-muted)}
.wfg-entry-content .wfg-legal-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.wfg-entry-content .wfg-legal-links a{border:1px solid var(--wfg-border);padding:9px 14px;border-radius:6px;text-decoration:none}
@media(max-width:960px){.wfg-legal-footer__grid{grid-template-columns:1fr 1fr}.wfg-legal-footer__about{grid-column:1/-1}.wfg-legal-footer__bottom{flex-direction:column}.wfg-legal-footer__bottom span:last-child{text-align:left}}
@media(max-width:580px){.wfg-legal-footer__grid{grid-template-columns:1fr;gap:32px}.wfg-legal-footer__about{grid-column:auto}.wfg-footer--legal .wfg-footer-nav__menu{grid-template-columns:1fr 1fr}}


/* Whitefox layout-width harmonization · 2026-10-16 · additive override.
   Scope: public WordPress pages / legal pages + site chrome.
   Do not modify private Command Center, Farm Hub, Market or plugin layouts. */

/* Align top-level public page chrome to the same usable desktop grid. */
@media (min-width: 1101px) {
  .wfg-header__inner,
  .wfg-footer--legal > .wfg-container {
    width: min(calc(100% - 56px), 1540px);
    max-width: none;
  }
}

/* Generic pages inherit an 860px / 1080px cap from older iterations.
   The outer column should track the public hero; only prose stays bounded. */
.wfg-generic-product-page > .wfg-entry-content {
  width: min(calc(100% - 56px), 1540px);
  max-width: 1540px;
  margin-inline: auto;
}
.wfg-generic-product-page > .wfg-entry-content > * {
  max-width: 1360px;
  margin-left: 0;
  margin-right: auto;
}
.wfg-generic-product-page > .wfg-entry-content > :is(p,h2,h3,h4,ul,ol,blockquote) {
  max-width: 1180px;
}
.wfg-generic-product-page > .wfg-entry-content > :is(.alignwide,.wp-block-group.alignwide,.wp-block-columns.alignwide,.wfg-gutenberg-section,.wfg-gutenberg-cards) {
  width: 100%;
  max-width: 1540px;
}

/* Legal pages: broad introduction and information surfaces, readable prose. */
.wfg-generic-product-page > .wfg-entry-content > .wfg-legal-intro {
  max-width: 1360px;
}
.wfg-generic-product-page > .wfg-entry-content > .wfg-legal-card {
  width: 100%;
  max-width: 1280px;
}
.wfg-generic-product-page > .wfg-entry-content > .wfg-legal-links {
  max-width: 1280px;
}
.wfg-generic-product-page > .wfg-entry-content > .wfg-legal-card p {
  max-width: 1100px;
}

@media (max-width: 1100px) {
  .wfg-generic-product-page > .wfg-entry-content {
    width: min(calc(100% - 34px), 980px);
    max-width: 980px;
  }
  .wfg-page-hero .wfg-container,
  .wfg-footer--legal > .wfg-container {
    width: min(calc(100% - 34px), 980px);
    max-width: 980px;
  }
}
@media (max-width: 680px) {
  .wfg-generic-product-page > .wfg-entry-content,
  .wfg-page-hero .wfg-container,
  .wfg-footer--legal > .wfg-container {
    width: calc(100% - 28px);
    max-width: none;
  }
  .wfg-generic-product-page > .wfg-entry-content > * {
    max-width: 100%;
    min-width: 0;
  }
  .wfg-generic-product-page > .wfg-entry-content > .wfg-legal-intro {
    padding: 16px 18px;
  }
  .wfg-generic-product-page > .wfg-entry-content > .wfg-legal-card {
    padding: 18px;
  }
  .wfg-generic-product-page > .wfg-entry-content :is(p,li,a,strong) {
    overflow-wrap: anywhere;
  }
}
