/* TASK-0992 — the site footer of new.toponlinecasinoaustralia.com: the owner's choice 20.10, variant C
   «Тёмно-фиолетовая плита» of TASK-0978 (designer footer.css, commit a9a7ae5c7), without the variant prefixes.
   Markup: site-new/partials/footer.html, put into every page by tools/build_new.py. Loaded after content.css.
   Colours: the owner's tokens (styles.css :root) + #fff. Changes against the mockup (ux TASK-0978):
   UX-03 — below 1200 px the disclosure and © stack as a column; UX-04 — on 760–1199 the brand block spans the row
   and About us / Policies / Self-exclusion follow in the 1440 order. */

.sf { margin-top: 44px; padding: 0 0 18px; background: var(--purple-deep); color: var(--on-purple); font-size: 14px; line-height: 1.6; }
.sf-in { max-width: calc(var(--page-width) + 52px); margin: 0 auto; padding: 0 26px; }
.sf p { margin: 0; }
.sf ul { list-style: none; margin: 0; padding: 0; }
.sf h2 { margin: 0 0 4px; font-size: 12px; line-height: 1.35; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.sf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* help strip: 18+, who, one call button, the site */
.sf-help { background: var(--mint); color: var(--on-mint); }
.sf-help .sf-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 12px; padding-bottom: 12px; }
.sf-help-who { font-size: 15px; line-height: 1.45; margin-right: auto !important; }
.sf-help-who b { font-weight: 800; }
.sf-age { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 8px; border-radius: 6px; background: var(--on-mint); color: var(--mint); font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.sf-tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 10px; background: var(--on-mint); color: var(--mint); font-size: 20px; font-weight: 800; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sf-tel:hover { background: var(--ink); }
.sf-tel svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.sf-out { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--on-mint); border-radius: 10px; background: transparent; color: var(--on-mint); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.sf-out:hover { background: var(--surface); }

/* columns: brand + line about us, About us, Policies, Self-exclusion */
.sf-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) minmax(0, .9fr) minmax(0, 1.25fr); gap: 16px 28px; padding: 24px 0 16px; border-bottom: 1px solid var(--purple); }
.sf-brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--on-purple); text-decoration: none; border-radius: 8px; }
.sf-brand .brand-mark { width: 44px; height: 44px; display: block; flex: 0 0 auto; }
.sf-brand-name { display: block; font-size: 18px; line-height: 1.1; font-weight: 800; letter-spacing: -.6px; }
.sf-brand-country { display: block; text-align: center; font-size: 9px; line-height: 1; letter-spacing: .42em; font-weight: 800; margin: 5px 0 0 4px; }
.sf-tag { color: var(--on-purple); font-size: 14px; max-width: 46ch; margin-top: 8px !important; }
.sf-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--on-purple); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.sf-links a:hover { color: var(--mint); text-decoration-color: currentColor; }
.sf-stop p { color: var(--on-purple); font-size: 14px; margin-bottom: 4px !important; }
.sf-stop a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 14px; color: var(--mint); font-weight: 700; text-underline-offset: 4px; }

/* base: disclosure, © */
.sf-base { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 32px; padding-top: 14px; }
.sf-disc { color: var(--on-purple); font-size: 13px; line-height: 1.6; max-width: 110ch; }
.sf-disc strong { color: var(--mint); }
.sf-end { display: flex; align-items: center; gap: 4px 14px; flex: 0 0 auto; }
.sf-copy { color: var(--on-purple); font-size: 13px; }

/* focus: white ring on purple, dark-green ring on mint */
.sf :is(a, button):focus-visible { outline-color: var(--on-purple); box-shadow: 0 0 0 3px var(--purple-deep); }
.sf .sf-help :is(a, button):focus-visible { outline-color: var(--on-mint); box-shadow: 0 0 0 3px var(--mint); }

/* tablet 760–1199: brand row, then three columns in the 1440 order (UX-04); base as a column (UX-03) */
@media (max-width: 1199px) {
  .sf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-cols > .sf-about { grid-column: 1 / -1; }
  .sf-base { flex-direction: column; }
}

/* phone ≤ 759 (the owner's breakpoint) */
@media (max-width: 759px) {
  .sf { margin-top: 32px; }
  .sf-in { padding: 0 16px; }
  .sf-tel { width: 100%; }
  .sf-help .sf-in { padding-top: 12px; padding-bottom: 14px; }
  .sf-help-who { flex: 1 1 0; min-width: 0; }
  .sf-help .sf-out { flex: 1 1 100%; justify-content: center; }
  .sf-cols { grid-template-columns: 1fr 1fr; padding-top: 18px; }
  .sf-cols > .sf-about, .sf-cols > .sf-stop { grid-column: 1 / -1; }
}
@media print { .sf, .sf * { background: none !important; color: var(--ink) !important; } }
