/* ------------------------------------------------------------------ *
 * Theme 01 — editorial / flat / light
 * ------------------------------------------------------------------ */

:root {
  --aj-accent-hover: #422c12;
  --aj-logo-w: 240px;
  --aj-surface: #ffffff;
  --aj-font-body: "Roboto Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --aj-select-bg: #dccca0;
  --aj-ink: #1e1a12;
  --aj-ink-soft: #464038;
  --aj-font-display: "Roboto Slab", Georgia, serif;
  --aj-max-w: 1040px;
  --aj-ink-muted: #7d766a;
  --aj-wide-w: 1040px;
  --aj-accent: #5a3e1c;
  --aj-bg: #f9f6ed;
  --aj-button-radius: 6px;
  --aj-header-bg: #ede7d2;
  --aj-rule-soft: #ebe2c8;
  --aj-rule: #e0d7b8;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--aj-select-bg); color: var(--aj-ink); }

body {
  background: var(--aj-bg);
  color: var(--aj-ink);
  font-family: var(--aj-font-body);
  font-size: 17px;
  line-height: 1.56;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--aj-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness .12s ease, color .12s ease;
}
a:hover {
  color: var(--aj-accent-hover);
  text-decoration-thickness: 2px;
}

/* ---------- header ---------- */
.page-header {
  background: var(--aj-header-bg);
  border-bottom: 1px solid var(--aj-rule);
  position: relative;
  z-index: 50;
}
.top-bar__inner {
  max-width: var(--aj-wide-w);
  margin: 0 auto;
  padding: 1.18rem 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Mobile nav toggle: button driven by JS via data-nav-toggle.
   Two icons inside (burger + close); JS toggles .is-open class to swap them. */
.nav-button {
  display: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: 1px solid var(--aj-rule);
  border-radius: 8px;
  background: transparent;
  color: var(--aj-ink);
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: border-color .15s ease;
}
.nav-button:hover { border-color: var(--aj-ink); }
.nav-button:focus-visible {
  outline: 2px solid var(--aj-accent);
  outline-offset: 2px;
}
.toggle-icon,
.nav-toggle-btn__close {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: opacity .15s ease, transform .2s ease;
}
.nav-toggle-btn__close { opacity: 0; transform: rotate(-90deg); }
.nav-button.is-open .toggle-icon { opacity: 0; transform: rotate(90deg); }
.nav-button.is-open .nav-toggle-btn__close  { opacity: 1; transform: rotate(0); }
.top-identity {
  font-family: var(--aj-font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--aj-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.top-identity:hover { color: var(--aj-ink); text-decoration: none; }
.site-logo__dot { color: var(--aj-accent); }
/* Image logo: scale up visually while keeping the header from growing
   via negative vertical margins. */
.logo-image img {
  display: block;
  height: 48px;
  width: auto;
  margin: -10px 0;
}
@media (max-width: 720px) {
  .logo-image img {
    height: 40px;
    margin: -8px 0;
  }
}

.main-menu-wrap ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.main-menu-wrap a {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  color: var(--aj-ink);
  font-size: 15px;
  text-decoration: none;
  padding: 4px 0;
  /* No default hover/active styles — the per-site menu variant
     (data/menu-styles.ts) owns those entirely. Base rules used to add a
     border-bottom underline which double-stacked with variant styles. */
}

/* ---------- article ---------- */
.content-main {
  max-width: var(--aj-max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.editorial__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  color: var(--aj-ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.editorial__meta span + span::before {
  content: "·";
  margin-right: 16px;
  color: var(--aj-ink-muted);
}

.content-main h1 {
  font-family: var(--aj-font-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--aj-ink);
}
.content-main .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--aj-ink-soft);
  margin: 0 0 28px;
}

.content-main h2 {
  font-family: var(--aj-font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  color: var(--aj-ink);
  scroll-margin-top: 24px;
}
.content-main h3 {
  font-family: var(--aj-font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  margin: 32px 0 10px;
  color: var(--aj-ink);
}

.content-main p { margin: 0 0 18px; }
.content-main ul, .content-main ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.content-main li { margin-bottom: 6px; }
.content-main li::marker { color: var(--aj-ink-muted); }

.content-main hr {
  border: none;
  border-top: 1px solid var(--aj-rule);
  margin: 40px 0;
}

.content-main figure {
  margin: 36px 0;
}
.content-main figure img {
  width: 100%;
  border: 1px solid var(--aj-rule-soft);
}
.content-main figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
  color: var(--aj-ink-muted);
  text-align: center;
}

.content-main strong { font-weight: 600; color: var(--aj-ink); }

/* ---------- FAQ accordion ---------- */
.content-main .faq {
  margin: 28px 0 40px;
  border-top: 1px solid var(--aj-rule);
}
.content-main .faq__item {
  border-bottom: 1px solid var(--aj-rule);
}
.content-main .faq__item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-family: var(--aj-font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  color: var(--aj-ink);
  letter-spacing: -0.005em;
  user-select: none;
}
.content-main .faq__item > summary::-webkit-details-marker { display: none; }
.content-main .faq__item > summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--aj-ink);
  border-bottom: 1.5px solid var(--aj-ink);
  transform: translateY(-75%) rotate(45deg);
  transition: transform .2s ease;
}
.content-main .faq__item[open] > summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.content-main .faq__item > summary:hover {
  color: var(--aj-accent);
}
.content-main .faq__answer {
  padding: 0 0 22px;
  color: var(--aj-ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.content-main .faq__answer > div > p { margin: 0 0 12px; }
.content-main .faq__answer > div > p:last-child { margin-bottom: 0; }
.content-main .faq__answer > div > ul,
.content-main .faq__answer > div > ol {
  margin: 0 0 12px;
  padding-left: 20px;
}
@media (max-width: 720px) {
  .content-main .faq__item > summary {
    font-size: 17px;
    padding: 16px 36px 16px 0;
  }
  .content-main .faq__answer { font-size: 15px; padding-bottom: 18px; }
}

/* ---------- Brand shortlist table (casino style) ---------- */
.main-glyph {
  margin: 36px 0 44px;
}
.main-glyph h2 { scroll-margin-top: 24px; }

.main-glyph__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Three-column row: white logo cell with SLANTED right edge | beige body
   with bonus + stars | blue CTA. Rank tag is a dark navy chip positioned
   right where the slant meets the row top, slightly overhanging both. */
.ranked-frame {
  --aj-logo-w: 240px;
  position: relative;
  display: grid;
  grid-template-columns: var(--aj-logo-w) 1fr auto;
  align-items: stretch;
  background: var(--aj-surface);
  border: 1px solid var(--aj-rule);
  border-radius: 6px;
  overflow: hidden;
  min-height: 116px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.ranked-frame:hover {
  box-shadow: 0 4px 16px -10px rgba(0, 0, 0, 0.18);
}
.ranked-frame[hidden] { display: none; }

/* Left cell: themed soft background */
.ranked-frame__logo-cell {
  background: var(--aj-rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
}
.ranked-frame__logo {
  background: #111111;
  border-radius: 4px;
  width: 100%;
  max-width: 140px;
  min-height: 60px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
}
.ranked-frame__logo-name {
  font-family: var(--aj-font-display);
  font-weight: 700;
  font-size: 18px;
  color: #f5d042;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranked-frame__logo-tag {
  font-family: var(--aj-font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: #ffffff;
}
.ranked-frame__logo-tag span { color: #e53935; }

/* Middle cell: bonus headline + gold stars, vertically centred */
.ranked-frame .ranked-frame__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 32px;
  min-width: 0;
}
.ranked-frame .ranked-frame__bonus {
  font-family: var(--aj-font-body);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.005em;
}
.ranked-frame__stars {
  color: #f5b800;
  font-size: 18px;
  letter-spacing: 3px;
  line-height: 1;
}

/* Right cell: themed accent "Play Now" button, vertically centred */
.ranked-frame__cta {
  align-self: center;
  justify-self: end;
  margin-right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--aj-accent);
  color: #ffffff;
  font-family: var(--aj-font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--aj-button-radius);
  white-space: nowrap;
  transition: background-color .15s ease;
}
.ranked-frame__cta:hover {
  background: var(--aj-accent-hover);
  color: #ffffff;
  text-decoration: none;
}
.ranked-frame__cta-arrow { font-size: 10px; }

/* "Show more" button */
.main-glyph__more {
  display: block;
  margin: 18px auto 0;
  background: transparent;
  border: 1px solid var(--aj-rule);
  border-radius: var(--aj-button-radius);
  padding: 12px 28px;
  font-family: var(--aj-font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aj-ink);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.main-glyph__more:hover {
  border-color: var(--aj-ink);
  background: var(--aj-ink);
  color: #fff;
}

/* Mobile: stack into one column, drop the slant */
@media (max-width: 720px) {
  .ranked-frame {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding-bottom: 16px;
  }
  .ranked-frame__logo-cell {
    padding: 22px 16px;
  }
  .ranked-frame__logo { max-width: 220px; }
  .ranked-frame__info {
    padding: 8px 18px 4px;
    gap: 6px;
    align-items: center;
    text-align: center;
  }
  .ranked-frame__bonus { font-size: 18px; }
  .ranked-frame__cta {
    align-self: stretch;
    justify-self: stretch;
    justify-content: center;
    margin: 6px 16px 0;
    padding: 14px;
    font-size: 16px;
  }
}

/* ---------- Interactive widgets ---------- */
.widget {
  margin: 44px 0;
  padding: 32px;
  background: var(--aj-surface);
  border: 1px solid var(--aj-rule);
  border-radius: 14px;
}
.widget__eyebrow {
  display: inline-block;
  font-family: var(--aj-font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aj-accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.widget__title {
  font-family: var(--aj-font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--aj-ink);
}
.widget__sub {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--aj-ink-soft);
  line-height: 1.55;
}
.widget__action {
  font-family: var(--aj-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--aj-ink);
  color: #fff;
  border: 1px solid var(--aj-ink);
  border-radius: 8px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.widget__action:hover:not(:disabled) {
  background: var(--aj-accent);
  border-color: var(--aj-accent);
}
.widget__action:disabled { opacity: 0.5; cursor: default; }
.widget__cta {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--aj-font-body);
  font-size: 14px;
  font-weight: 600;
  background: var(--aj-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 11px 20px;
  transition: background-color .15s ease;
}
.widget__cta:hover { background: var(--aj-accent-hover); color: #fff; text-decoration: none; }
.widget__result { margin-top: 22px; }
/* `hidden` attribute must win over per-variant display: flex below. */
.widget__result[hidden] { display: none !important; }
.widget__result-lead { margin: 0 0 14px; font-size: 16px; color: var(--aj-ink); }
.widget__result-name { font-family: var(--aj-font-display); font-weight: 600; }

/* Quiz */
.widget__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.widget__option {
  font-family: var(--aj-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--aj-ink);
  background: transparent;
  border: 1px solid var(--aj-rule);
  border-radius: 8px;
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.widget__option:hover { border-color: var(--aj-ink); }
.widget__option.is-selected { border-color: var(--aj-accent); background: var(--aj-rule-soft); }

/* Calculator */
.widget__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.widget__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.widget__field > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--aj-ink);
  text-transform: uppercase;
}
.widget__field input {
  font-family: var(--aj-font-body);
  font-size: 16px;
  color: var(--aj-ink);
  background: var(--aj-bg);
  border: 1px solid var(--aj-rule);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color .15s ease;
}
.widget__field input:focus { border-color: var(--aj-accent); }
.widget__field small { font-size: 11px; color: var(--aj-ink-muted); }
.widget--calc .widget__result {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.widget__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--aj-rule);
  border: 1px solid var(--aj-rule);
  border-radius: 10px;
  overflow: hidden;
}
.widget__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: var(--aj-rule-soft);
}
.widget__stat--net { background: var(--aj-surface); }
.widget__stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aj-ink-muted);
  font-weight: 600;
}
.widget__stat-value {
  font-family: var(--aj-font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--aj-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.widget__stat--net .widget__stat-value { color: var(--aj-accent); font-size: 28px; }
@media (max-width: 720px) {
  .widget__stats { grid-template-columns: 1fr; }
  .widget__stat-value { font-size: 22px; }
  .widget__stat--net .widget__stat-value { font-size: 24px; }
}


@media (max-width: 720px) {
  .widget { padding: 22px; margin: 36px 0; }
  .widget__title { font-size: 20px; }
}

/* ---------- TOC (collapsible) ---------- */
.content-toc {
  margin: 24px 0 32px;
  border-top: 1px solid var(--aj-rule);
  border-bottom: 1px solid var(--aj-rule);
}
.content-toc summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.content-toc summary::-webkit-details-marker { display: none; }
.toc-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aj-ink);
  font-weight: 600;
}
.toc-sections {
  font-size: 12px;
  color: var(--aj-ink-muted);
}
.toc-chevron {
  margin-left: auto;
  color: var(--aj-ink-muted);
  transition: transform .2s ease;
}
.content-toc[open] .toc-chevron { transform: rotate(180deg); }

.content-toc ol {
  list-style: none;
  margin: 0;
  padding: 4px 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0 28px;
  counter-reset: toc;
}
.content-toc li {
  counter-increment: toc;
  position: relative;
  padding-left: 28px;
}
.content-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--aj-font-body);
  font-feature-settings: "tnum";
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--aj-ink-muted);
}
.content-toc a {
  display: block;
  padding: 4px 0;
  color: var(--aj-ink);
  text-decoration: none;
  font-family: var(--aj-font-body);
  font-size: 13.5px;
  line-height: 1.4;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.content-toc a:hover {
  color: var(--aj-accent);
  border-bottom-color: var(--aj-accent);
}
@media (max-width: 720px) {
  .content-toc ol { grid-template-columns: 1fr; }
}

/* ---------- tables ---------- */
.content-main table {
  width: 100%;
  margin: 36px 0;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--aj-font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--aj-ink);
  background: var(--aj-surface);
  border: 1px solid var(--aj-rule);
  border-radius: 12px;
  overflow: hidden;
}
.content-main thead th {
  background: var(--aj-rule-soft);
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
  font-weight: 600;
  font-size: 14px;
  color: var(--aj-ink);
  border-bottom: 1px solid var(--aj-rule);
}
.content-main tbody td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  color: var(--aj-ink-soft);
  border-bottom: 1px solid var(--aj-rule-soft);
}
.content-main tbody tr:last-child td {
  border-bottom: none;
}
.content-main tbody td:first-child {
  font-weight: 600;
  color: var(--aj-ink);
}
@media (max-width: 720px) {
  .content-main table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }
  .content-main thead th { padding: 12px 14px; font-size: 13px; }
  .content-main tbody td { padding: 14px; }
}

/* ---------- footer ---------- */
.foot-band {
  background: var(--aj-header-bg);
  border-top: 1px solid var(--aj-rule);
  margin-top: 40px;
}
.frame-foot__inner {
  max-width: var(--aj-wide-w);
  margin: 0 auto;
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--aj-ink);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--aj-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: var(--aj-ink-muted);
  max-width: 760px;
  margin: 0;
}
.page-foot__copy {
  font-size: 13px;
  color: var(--aj-ink-muted);
  border-top: 1px solid var(--aj-rule);
  padding-top: 14px;
  margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top-bar__inner {
    padding: 14px 20px;
    gap: 12px;
  }
  .nav-button {
    display: inline-flex;
  }
  .main-menu-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--aj-header-bg);
    border-bottom: 1px solid var(--aj-rule);
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.15);
    padding: 8px 20px 16px;
    z-index: 50;
  }
  .main-menu-wrap.is-open {
    display: block;
  }
  .main-menu-wrap ul {
    flex-direction: column;
    gap: 0;
  }
  .main-menu-wrap li {
    border-bottom: 1px solid var(--aj-rule-soft);
  }
  .main-menu-wrap li:last-child { border-bottom: none; }
  .main-menu-wrap a {
    display: block;
    padding: 12px 4px;
    border-bottom: none;
    font-size: 16px;
  }
  .main-menu-wrap a:hover { border-bottom: none; }
  .main-menu-wrap a.on { border-bottom: none; }

  .content-main {
    padding: 36px 20px 60px;
  }
  .content-main h1 { font-size: 32px; }
  .content-main .lead { font-size: 17px; }
  .content-main h2 { font-size: 24px; }
  .content-main h3 { font-size: 18px; }
}

/* ---- wave-2 variant CSS ---- */

.top-bar__inner { padding-block: 1.175rem; }

.page-header { position: sticky; top: 0; z-index: 10; }

/* hdr v1: logo left, menu right */
.kfs-hdr-v1 .top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.kfs-hdr-v1 .top-identity { flex-shrink: 0; }
.kfs-hdr-v1 .main-menu-wrap { margin-left: auto; }

/* content card: strong */
.kfs-cc {
  padding: 0;
  margin: 40px 0 0;
}
.kfs-cc__inner {
  padding: 0;
  border-radius: 0px;
}

.kfs-cc {
  max-width: var(--aj-wide-w);
  margin: 40px auto 0;
}

.kfs-cc__inner {
  background: var(--aj-surface);
  
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

@media (max-width: 720px) {
  .main-menu-wrap a {
    display: flex !important;
    align-items: center;
    gap: 6px;
  }
  .main-menu-wrap a::before {
    content: '•';
    color: currentColor;
    opacity: .6;
    flex-shrink: 0;
  }
}

@media (min-width: 721px) {
.kfs-menu-outline nav a {
  color: var(--aj-ink);
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: var(--aj-button-radius);
  background: transparent;
  transition: border-color .15s ease, color .15s ease;
}
.kfs-menu-outline nav a:hover {
  color: var(--aj-accent-hover);
  border-color: var(--aj-accent-hover);
  background: transparent;
}
.kfs-menu-outline nav a.on {
  color: var(--aj-accent);
  border-color: var(--aj-accent);
  background: transparent;
}
}


/* geometry supplement */
:root { --aj-content-width: 1040px; }

/* content typography variability */
.content-main p { text-align: justify; }
.content-main h1,
.content-main h2 { text-align: center; }
.content-main h3,
.content-main h4,
.content-main h5,
.content-main h6 { text-align: left; }
