/* NS_READING_GLOBAL_V8_START
 * Reading variant for the existing Global home directory.
 * Load after closing-v7.css. Navigation destinations and interaction behavior are preserved.
 * The existing #202020 section/join stays in place; charcoal is the
 * individual reading surface, so the shared footer keeps its V7 join.
 */
@media screen {
  body[data-ns-site="global"] #content > .ns-seo-directory h2 {
    max-width: 28ch;
    margin-bottom: 22px;
    color: #f6f2eb;
    font-size: clamp(28px, 2.6vw, 36px);
    line-height: 1.2;
  }

  body[data-ns-site="global"] #content > .ns-seo-directory nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin-bottom: 20px;
    align-items: stretch;
  }

  body[data-ns-site="global"] #content > .ns-seo-directory nav a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #2a2a28;
    color: #f6f2eb;
    font-size: 16px;
    font-weight: 550;
    line-height: 1.5;
    letter-spacing: 0;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  }

  body[data-ns-site="global"] #content > .ns-seo-directory nav a > span {
    flex: 0 0 24px;
    width: 24px;
    color: #7687ee;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    text-align: right;
  }

  body[data-ns-site="global"] #content > .ns-seo-directory nav a:hover {
    background: #343431;
    border-color: #6d5646;
    color: #fffdf8;
  }

  body[data-ns-site="global"] #content > .ns-seo-directory nav a:focus-visible,
  body[data-ns-site="global"] #content > .ns-seo-directory > .text-link:focus-visible {
    outline: 2px solid #7687ee;
    outline-offset: 3px;
  }

  body[data-ns-site="global"] #content > .ns-seo-directory > .text-link {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 0;
    color: #8a99f1;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.55;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: #bc7a50;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
  }

  body[data-ns-site="global"] #content > .ns-seo-directory > .text-link:hover {
    color: #fff4e9;
    text-decoration-color: currentColor;
  }

  @media (max-width: 700px) {
    body[data-ns-site="global"] #content > .ns-seo-directory nav {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
    }

    body[data-ns-site="global"] #content > .ns-seo-directory nav a {
      gap: 12px;
      min-height: 56px;
      padding: 13px 14px;
      font-size: 16px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    body[data-ns-site="global"] #content > .ns-seo-directory nav a {
      transition: none;
    }
  }
}
/* NS_READING_GLOBAL_V8_END */

/* Vector arrows stay crisp independently of the text font's glyph coverage. */
body[data-ns-site="global"] #content > .ns-seo-directory a > span:has(> svg) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  color: #7687ee;
}
body[data-ns-site="global"] #content > .ns-seo-directory a > span > svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body[data-ns-site="global"] #content > .ns-seo-directory > .text-link { gap: 12px; }
