/* The NY Journals footer (inc/footer-nyj.php). Built from hq/content/2026-10-21/nyj-footer-preview/footer-b.html. */
/* Footer B for thenyjournals.com: a newsletter band, the masthead with section columns, and a quiet bottom bar.
     Scoped under .hqf-nyj so the site's own CSS is untouched. */
  footer.fl-builder-content[data-type="footer"] { display: none !important; }
  .hqf-nyj { display: block; background: #000; color: #ededed; font-family: Inter, sans-serif; -webkit-font-smoothing: antialiased; }
  .hqf-nyj * { box-sizing: border-box; margin: 0; padding: 0; }
  .hqf-nyj a { color: inherit; text-decoration: none; }
  .hqf-in { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
  .hqf-cap { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #8c8c8c; }
  .hqf-nyj :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }

  /* Newsletter band */
  .hqf-news { border-top: 4px solid #fff; border-bottom: 1px solid #242424; }
  .hqf-news .hqf-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 28px 56px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
  .hqf-news h2 { font: 700 27px/1.25 Merriweather, serif; color: #fff; margin: 8px 0 8px; letter-spacing: -.01em; }
  .hqf-news .hqf-lede { font-family: Merriweather, serif; font-size: 14px; line-height: 1.7; color: #a8a8a8; max-width: 470px; }
  .hqf-form { display: flex; gap: 8px; }
  .hqf-form input { flex: 1; min-width: 0; height: 48px; background: #111; border: 1px solid #3a3a3a; border-radius: 6px; color: #fff; font: 15px Inter, sans-serif; padding: 0 14px; outline: 0; transition: border-color .15s, background .15s; }
  .hqf-form input::placeholder { color: #767676; }
  .hqf-form input:hover { border-color: #555; }
  .hqf-form input:focus { border-color: #fff; background: #000; }
  .hqf-form input[aria-invalid="true"] { border-color: #ff6b6b; }
  .hqf-form button { height: 48px; border: 0; border-radius: 6px; background: #fff; color: #000; font: 600 14.5px Inter, sans-serif; padding: 0 22px; cursor: pointer; transition: background .15s, transform .1s; white-space: nowrap; }
  .hqf-form button:hover { background: #e4e4e4; }
  .hqf-form button:active { transform: scale(.98); }
  .hqf-form button[disabled] { opacity: .6; cursor: default; }
  .hqf-msg { min-height: 20px; font-size: 13px; color: #8c8c8c; margin-top: 10px; }
  .hqf-msg a { text-decoration: underline; text-underline-offset: 2px; }
  .hqf-msg[data-tone="error"] { color: #ff8a8a; }
  .hqf-msg[data-tone="ok"] { color: #fff; }
  .hqf-sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  /* Masthead and columns */
  .hqf-main { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 48px; padding-bottom: 44px; }
  .hqf-logo { display: block; width: 310px; max-width: 100%; height: auto; }
  .hqf-about { font-family: Merriweather, serif; font-size: 13.5px; line-height: 1.75; color: #a8a8a8; margin-top: 16px; max-width: 360px; }
  .hqf-ig { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; height: 40px; padding: 0 16px 0 13px; border: 1px solid #3a3a3a; border-radius: 999px; font-size: 13.5px; font-weight: 500; transition: border-color .15s, background .15s; }
  .hqf-ig:hover { border-color: #fff; background: #111; }
  .hqf-ig svg { width: 18px; height: 18px; }
  .hqf-col .hqf-cap { margin-bottom: 18px; }
  .hqf-col ul { list-style: none; display: grid; gap: 12px; font-size: 14.5px; }
  .hqf-col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .2s, color .15s; color: #dcdcdc; }
  .hqf-col a:hover { background-size: 100% 1px; color: #fff; }

  /* Bottom bar */
  .hqf-base { border-top: 1px solid #242424; }
  .hqf-base .hqf-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: #8c8c8c; }
  .hqf-base nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
  .hqf-base a:hover { color: #fff; }
  .hqf-top { display: inline-flex; align-items: center; gap: 6px; }

  @media (max-width: 900px) {
    .hqf-news .hqf-in { grid-template-columns: minmax(0, 1fr); }
    .hqf-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
    .hqf-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 560px) {
    .hqf-news .hqf-in { padding-top: 32px; padding-bottom: 32px; }
    .hqf-news h2 { font-size: 23px; }
    .hqf-form { flex-direction: column; }
    .hqf-form button { width: 100%; }
    .hqf-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hqf-base .hqf-in { flex-direction: column; align-items: flex-start; }
  }
  @media (prefers-reduced-motion: reduce) { .hqf-nyj * { transition: none !important; } }
