/* One outer grid for the approved Financial pages. Text measures and scene tracks stay independent. */
body.w62-site[data-w62-brand="financial"] {
  --f80-gutter: max(22px, 4.5vw);
  --f80-width: min(2800px, calc(100% - 2 * var(--f80-gutter)));
  --f80-edge: max(var(--f80-gutter), calc((100% - 2800px) / 2));
}

body.w62-site[data-w62-brand="financial"][data-w62-edition][data-w62-page]
:is(.story-content, .offerings, .record, .a59-contact-scope) {
  width: var(--f80-width);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

body.w62-site[data-w62-brand="financial"][data-w62-edition][data-w62-page]
main.f62-page > .f62-wrap,
body.w62-site[data-w62-brand="financial"][data-w62-edition][data-w62-page]
main.a59-shell.a60-folio {
  width: var(--f80-width);
  max-width: none;
  margin-inline: auto;
}

body.w62-site[data-w62-brand="financial"][data-w62-edition][data-w62-page="company"]
main.f62-page > .f62-company-cover {
  padding-inline: 0;
}

/* The glass shell shares the desktop grid; its controls retain their existing padding. */
body.w62-site[data-w62-brand="financial"][data-w62-edition="desktop"] > .f73-header.site-header {
  left: var(--f80-edge) !important;
  right: var(--f80-edge) !important;
}

/* Footer backgrounds may span the page, while every content row uses the same edges. */
body.w62-site[data-w62-brand="financial"][data-w62-edition][data-w62-page]
footer.site-footer.v58-footer {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

body.w62-site[data-w62-brand="financial"][data-w62-edition][data-w62-page]
footer.site-footer.v58-footer > :is(.footer-main, .footer-legal, .footer-bottom, .v58-final-disclaimer) {
  width: var(--f80-width);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

/* Keep each dedicated phone edition on the same centered canvas, including Contact. */
body.w62-site[data-w62-brand="financial"][data-w62-edition="mobile"] {
  --f80-gutter: 22px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  body.w62-site[data-w62-brand="financial"] { --f80-gutter: 22px; }
  body.w62-site[data-w62-brand="financial"][data-w62-edition="desktop"] > .f73-header.site-header {
    left: 12px !important;
    right: 12px !important;
  }
}

@media (max-width: 700px) {
  body.w62-site[data-w62-brand="financial"] footer.site-footer.v58-footer .footer-main {
    row-gap: 20px;
    padding-bottom: 24px;
  }

  body.w62-site[data-w62-brand="financial"] footer.site-footer.v58-footer .footer-column {
    gap: 0;
  }

  body.w62-site[data-w62-brand="financial"] footer.site-footer.v58-footer nav.footer-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 20px;
  }

  body.w62-site[data-w62-brand="financial"] footer.site-footer.v58-footer .footer-column h2 {
    grid-column: 1 / -1;
    min-height: 0;
    margin-bottom: 8px;
  }
}

@media print {
  body.w62-site[data-w62-brand="financial"] {
    --f80-gutter: 0px;
    --f80-width: 100%;
    max-width: none;
  }
}
