/* Shared publisher footer. Scoped to avoid Bootstrap and legacy footer styles. */
.tw-footer {
  --footer-bg: #1d302e;
  --footer-text: #eef3ee;
  --footer-muted: #bdcbc5;
  --footer-accent: #b9dbc6;
  --footer-line: #425550;
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 72px 0;
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
}
/* The legacy stylesheet targets this ID; retain it for existing page anchors. */
#Footer-section.tw-footer { background: var(--footer-bg); }
.tw-footer *, .tw-footer *::before, .tw-footer *::after { box-sizing: border-box; }
.tw-footer .tw-footer__inner { width: min(1240px, calc(100% - 80px)); margin: 0 auto; }
.tw-footer .tw-footer__top { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.tw-footer .tw-footer__brand { max-width: 310px; }
.tw-footer a { color: var(--footer-muted); text-decoration: none; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color 150ms ease; }
.tw-footer a:hover { color: var(--footer-text); text-decoration: underline; }
.tw-footer a:focus-visible { color: var(--footer-text); outline: 2px solid var(--footer-accent); outline-offset: 5px; border-radius: 0; text-decoration: underline; }
.tw-footer .tw-footer__wordmark { display: inline-block; color: var(--footer-text); font-size: 27px; line-height: 1.25; font-weight: 700; letter-spacing: -1px; }
.tw-footer .tw-footer__wordmark span { color: var(--footer-accent); }
.tw-footer p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--footer-muted); }
.tw-footer .tw-footer__positioning { margin-top: 22px; color: var(--footer-text); font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: -.2px; }
.tw-footer .tw-footer__description { margin-top: 16px; max-width: 31ch; }
.tw-footer h2 { margin: 0 0 18px; font-family: inherit; font-size: 15px; line-height: 1.5; font-weight: 600; letter-spacing: 0; color: var(--footer-text); text-transform: none; }
.tw-footer ul { list-style: none; margin: 0; padding: 0; }
.tw-footer li { margin: 0; padding: 0; font-size: 15px; line-height: 1.5; }
.tw-footer .tw-footer__nav { display: block; }
.tw-footer .tw-footer__nav a { display: inline-block; padding: 7px 0; font-size: 15px; line-height: 1.5; font-weight: 400; }
.tw-footer .tw-footer__trust { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; border-top: 1px solid var(--footer-line); margin-top: 48px; padding: 32px 0; }
.tw-footer .tw-footer__trust section { margin: 0; padding: 0; min-width: 0; }
.tw-footer .tw-footer__trust h2 { margin-bottom: 10px; }
.tw-footer .tw-footer__trust p { font-size: 14px; max-width: 70ch; }
.tw-footer .tw-footer__trust a { color: var(--footer-accent); text-decoration: underline; }
.tw-footer .tw-footer__trust a:hover { color: var(--footer-text); }
.tw-footer .tw-footer__trust .tw-footer__resource { display: inline-flex; align-items: center; gap: 20px; margin-top: 24px; min-height: 44px; font-size: 14px; color: var(--footer-muted); text-decoration: none; }
.tw-footer .tw-footer__resource img { display: block; width: 128px; height: auto; flex-shrink: 0; filter: brightness(0) invert(1); }
.tw-footer .tw-footer__resource:hover span, .tw-footer .tw-footer__resource:focus-visible span { color: var(--footer-text); text-decoration: underline; }
@media (max-width: 400px) { .tw-footer .tw-footer__trust .tw-footer__resource { align-items: flex-start; flex-direction: column; gap: 10px; } }

.tw-footer .tw-footer__bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 20px 40px; border-top: 1px solid var(--footer-line); padding-top: 24px; }
.tw-footer .tw-footer__bottom p { font-size: 14px; flex-shrink: 0; }
.tw-footer .tw-footer__legal { display: block; }
.tw-footer .tw-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tw-footer .tw-footer__legal a { display: inline-block; font-size: 14px; line-height: 1.6; padding: 6px 0; font-weight: 400; }
@media (max-width: 1100px) {
  .tw-footer .tw-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .tw-footer .tw-footer__brand { grid-column: 1 / -1; max-width: 560px; }
  .tw-footer .tw-footer__description { max-width: 55ch; }
  .tw-footer .tw-footer__trust { gap: 40px; }
  .tw-footer .tw-footer__bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .tw-footer { padding: 64px 0; }
  .tw-footer .tw-footer__inner { width: calc(100% - 40px); }
  .tw-footer .tw-footer__top, .tw-footer .tw-footer__trust { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tw-footer .tw-footer__brand { grid-column: auto; }
  .tw-footer .tw-footer__description { max-width: 36ch; }
  .tw-footer h2 { margin-bottom: 12px; }
  .tw-footer .tw-footer__nav a, .tw-footer .tw-footer__legal a { min-height: 44px; padding: 10px 0; }
  .tw-footer .tw-footer__trust { margin-top: 36px; padding: 28px 0; }
  .tw-footer .tw-footer__legal ul { gap: 0 24px; }
}
@media (prefers-reduced-motion: reduce) { .tw-footer a { transition: none; } }
@media print { .tw-footer { display: none !important; } }
