/* content-modules.css — editorial section components */

.lnf-block {
  padding-block: var(--lnf-space-lg);
  position: relative;
}

.lnf-block--alt {
  background: var(--lnf-surface-alt);
  border-block: var(--lnf-border);
}

.lnf-block--deep {
  background: var(--lnf-spruce);
  color: var(--lnf-ink-invert);
  border-block: 4px solid var(--lnf-orange);
}

.lnf-block--deep a {
  color: var(--lnf-lime);
}

/* Stepped / zigzag transition */
.lnf-step-edge {
  height: clamp(28px, 4vw, 56px);
  background:
    linear-gradient(135deg, transparent 49%, var(--lnf-orange) 49% 52%, transparent 52%) 0 0/28px 100%,
    var(--lnf-surface);
  border-bottom: var(--lnf-border);
}

.lnf-secthead {
  display: grid;
  gap: var(--lnf-space-2xs);
  margin-bottom: var(--lnf-space-md);
  max-width: 60ch;
}

.lnf-secthead__mark {
  font-family: var(--lnf-title-face);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lnf-accent-cool);
}

.lnf-block--deep .lnf-secthead__mark {
  color: var(--lnf-lime);
}

.lnf-secthead__title {
  font-family: var(--lnf-title-face);
  font-size: var(--lnf-step-h2);
  margin: 0;
  color: var(--lnf-spruce);
}

.lnf-block--deep .lnf-secthead__title {
  color: var(--lnf-lime);
}

.lnf-secthead__intro {
  margin: 0;
  font-size: var(--lnf-step-lead);
  max-width: var(--lnf-measure);
}

.lnf-prose {
  max-width: var(--lnf-measure);
  display: grid;
  gap: var(--lnf-space-sm);
}

.lnf-prose p {
  margin: 0;
}

.lnf-prose h2 {
  font-family: var(--lnf-title-face);
  font-size: var(--lnf-step-h2);
  line-height: var(--lnf-lh-tight);
  color: var(--lnf-spruce);
  margin: var(--lnf-space-sm) 0 0;
}

.lnf-prose h3 {
  font-size: var(--lnf-step-h3);
  color: var(--lnf-spruce);
  margin: var(--lnf-space-2xs) 0 0;
}

.lnf-prose ul,
.lnf-prose ol {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: var(--lnf-space-3xs);
  line-height: var(--lnf-lh-body);
}

.lnf-updated {
  margin: var(--lnf-space-xs) 0 0;
  font-size: var(--lnf-step-small);
  font-weight: 700;
  color: var(--lnf-ink-soft);
}

/* ---------- Buttons / CTAs ---------- */
.lnf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--lnf-radius-m);
  cursor: pointer;
  border: 2px solid var(--lnf-graphite);
  font-family: var(--lnf-body-face);
  font-size: var(--lnf-step-body);
}

.lnf-cta--solid {
  background: var(--lnf-orange);
  color: var(--lnf-graphite);
  box-shadow: var(--lnf-shadow-flat);
}

.lnf-cta--solid:hover {
  box-shadow: var(--lnf-shadow-lift);
  transform: translate(-2px, -2px);
}

.lnf-cta--ghost {
  background: var(--lnf-white);
  color: var(--lnf-graphite);
}

.lnf-cta--ghost:hover {
  background: var(--lnf-lime);
}

@media (prefers-reduced-motion: reduce) {
  .lnf-cta--solid:hover {
    transform: none;
  }
}

.lnf-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lnf-space-2xs);
  margin-top: var(--lnf-space-2xs);
}

/* ---------- Pikakartta / quick paths ---------- */
.lnf-paths {
  display: grid;
  gap: var(--lnf-space-sm);
  grid-template-columns: 1fr;
}

.lnf-path {
  border: var(--lnf-border);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-white);
  padding: var(--lnf-space-sm);
  display: grid;
  gap: var(--lnf-space-2xs);
  position: relative;
}

.lnf-path__no {
  font-family: var(--lnf-title-face);
  color: var(--lnf-orange);
  font-size: 1.4rem;
}

.lnf-path__title {
  margin: 0;
  font-size: var(--lnf-step-h3);
  color: var(--lnf-spruce);
}

.lnf-path__link {
  font-weight: 700;
  align-self: end;
}

/* ---------- Tasopolku criteria markers ---------- */
.lnf-crits {
  display: grid;
  gap: var(--lnf-space-sm);
  grid-template-columns: 1fr;
}

.lnf-crit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--lnf-space-sm);
  align-items: center;
  border: var(--lnf-border-soft);
  border-left: 6px solid var(--lnf-blue);
  border-radius: var(--lnf-radius-s);
  background: var(--lnf-white);
  padding: var(--lnf-space-xs);
}

.lnf-crit__coin {
  font-family: var(--lnf-title-face);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-spruce);
  color: var(--lnf-lime);
  font-size: 0.95rem;
}

.lnf-crit__name {
  margin: 0;
  font-size: 1.02rem;
  color: var(--lnf-spruce);
  font-weight: 700;
}

.lnf-crit__desc {
  margin: 0;
  font-size: var(--lnf-step-small);
}

/* ---------- Split matrix (platform formats) ---------- */
.lnf-matrix {
  display: grid;
  gap: 0;
  border: var(--lnf-border);
  border-radius: var(--lnf-radius-m);
  overflow: hidden;
  background: var(--lnf-white);
}

.lnf-matrix__cell {
  padding: var(--lnf-space-sm);
  border-bottom: var(--lnf-border-soft);
  display: grid;
  gap: var(--lnf-space-3xs);
}

.lnf-matrix__cell:last-child {
  border-bottom: 0;
}

.lnf-matrix__tag {
  font-family: var(--lnf-title-face);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--lnf-orange);
  text-transform: uppercase;
}

.lnf-matrix__head {
  margin: 0;
  color: var(--lnf-spruce);
  font-size: var(--lnf-step-h3);
}

/* ---------- Viewpoint station ---------- */
.lnf-views {
  display: grid;
  gap: var(--lnf-space-md);
  grid-template-columns: 1fr;
}

.lnf-view {
  border: var(--lnf-border);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-white);
  padding: var(--lnf-space-md);
  display: grid;
  gap: var(--lnf-space-2xs);
}

.lnf-view__role {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lnf-blue);
  font-weight: 700;
}

.lnf-view__quote {
  font-family: var(--lnf-title-face);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--lnf-spruce);
  margin: 0;
}

.lnf-view__body {
  margin: 0;
}

/* claim / counterpoint / check */
.lnf-ccc {
  display: grid;
  gap: var(--lnf-space-2xs);
  border-top: 2px dashed var(--lnf-line);
  padding-top: var(--lnf-space-2xs);
}

.lnf-ccc__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}

.lnf-ccc__label {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--lnf-radius-s);
  align-self: start;
  white-space: nowrap;
}

.lnf-ccc__label--claim {
  background: var(--lnf-blue);
  color: var(--lnf-white);
}

.lnf-ccc__label--counter {
  background: var(--lnf-orange);
  color: var(--lnf-graphite);
}

.lnf-ccc__label--check {
  background: var(--lnf-lime);
  color: var(--lnf-graphite);
}

/* ---------- Platform tiles (irregular grid) ---------- */
.lnf-tiles {
  display: grid;
  gap: var(--lnf-space-sm);
  grid-template-columns: 1fr;
}

.lnf-tile {
  border: var(--lnf-border);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-white);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.lnf-tile__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--lnf-blue);
  border-bottom: var(--lnf-border);
}

.lnf-tile__body {
  padding: var(--lnf-space-sm);
  display: grid;
  gap: var(--lnf-space-2xs);
}

.lnf-tile__format {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lnf-blue);
  font-weight: 700;
}

.lnf-tile__name {
  margin: 0;
  font-family: var(--lnf-title-face);
  font-size: 1.05rem;
  color: var(--lnf-spruce);
}

.lnf-tile__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.2rem;
  font-size: var(--lnf-step-small);
}

.lnf-scorestrip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--lnf-space-2xs);
  font-weight: 700;
}

.lnf-scorestrip__val {
  font-family: var(--lnf-title-face);
  color: var(--lnf-orange);
  font-size: 1.3rem;
}

.lnf-notches {
  display: inline-flex;
  gap: 3px;
}

.lnf-notches__pip {
  width: 10px;
  height: 18px;
  border-radius: var(--lnf-radius-s);
  background: var(--lnf-ice);
  border: 1px solid var(--lnf-blue);
}

.lnf-notches__pip[data-on="1"] {
  background: var(--lnf-orange);
}

/* ---------- Route map (connected modules) ---------- */
.lnf-routemap {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  counter-reset: routestep;
}

.lnf-routemap__node {
  position: relative;
  border: var(--lnf-border);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-white);
  padding: var(--lnf-space-sm) var(--lnf-space-sm) var(--lnf-space-sm) 3.4rem;
  margin-bottom: var(--lnf-space-md);
}

.lnf-routemap__node::before {
  counter-increment: routestep;
  content: counter(routestep);
  position: absolute;
  left: -2px;
  top: -2px;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-family: var(--lnf-title-face);
  background: var(--lnf-orange);
  color: var(--lnf-graphite);
  border: 2px solid var(--lnf-graphite);
  border-radius: var(--lnf-radius-m) 0 var(--lnf-radius-m) 0;
}

.lnf-routemap__node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  bottom: calc(-1 * var(--lnf-space-md));
  height: var(--lnf-space-md);
  border-left: 3px dashed var(--lnf-blue);
}

.lnf-routemap__node h3 {
  margin: 0 0 var(--lnf-space-2xs);
  color: var(--lnf-spruce);
  font-size: var(--lnf-step-h3);
}

.lnf-routemap__node p {
  margin: 0;
}

/* ---------- Guide excerpts ---------- */
.lnf-excerpts {
  display: grid;
  gap: var(--lnf-space-md);
  grid-template-columns: 1fr;
}

.lnf-excerpt {
  border: var(--lnf-border);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-white);
  padding: var(--lnf-space-md);
  display: grid;
  gap: var(--lnf-space-2xs);
  border-top: 8px solid var(--lnf-lime);
}

.lnf-excerpt__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lnf-blue);
  font-weight: 700;
}

.lnf-excerpt__title {
  margin: 0;
  color: var(--lnf-spruce);
  font-size: var(--lnf-step-h3);
}

/* ---------- Transparency stamp block ---------- */
.lnf-stamps {
  display: grid;
  gap: var(--lnf-space-sm);
  grid-template-columns: 1fr;
}

.lnf-stamp {
  border: 2px dashed var(--lnf-blue);
  border-radius: var(--lnf-radius-m);
  padding: var(--lnf-space-sm);
  background: rgba(255, 255, 255, 0.6);
}

.lnf-stamp__badge {
  display: inline-block;
  transform: rotate(-3deg);
  border: 2px solid var(--lnf-orange);
  color: var(--lnf-orange);
  font-family: var(--lnf-title-face);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--lnf-radius-s);
  margin-bottom: var(--lnf-space-2xs);
}

.lnf-stamp h3 {
  margin: 0 0 var(--lnf-space-3xs);
  color: var(--lnf-spruce);
  font-size: var(--lnf-step-h3);
}

.lnf-stamp p {
  margin: 0;
}

/* ---------- FAQ / disclosure ---------- */
.lnf-faq {
  display: grid;
  gap: var(--lnf-space-2xs);
  max-width: 72ch;
}

.lnf-disc {
  border: var(--lnf-border-soft);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-white);
  overflow: hidden;
}

.lnf-disc__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: var(--lnf-space-sm);
  font-size: var(--lnf-step-body);
  font-weight: 700;
  color: var(--lnf-spruce);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: var(--lnf-space-sm);
  align-items: center;
  min-height: 48px;
}

.lnf-disc__btn:hover {
  background: var(--lnf-surface-alt);
}

.lnf-disc__sign {
  flex: 0 0 auto;
  font-family: var(--lnf-title-face);
  color: var(--lnf-orange);
}

.lnf-disc__btn[aria-expanded="true"] .lnf-disc__sign::before {
  content: "\2013";
}

.lnf-disc__btn[aria-expanded="false"] .lnf-disc__sign::before {
  content: "+";
}

.lnf-disc__panel {
  padding: 0 var(--lnf-space-sm) var(--lnf-space-sm);
}

.lnf-disc__panel[hidden] {
  display: none;
}

.lnf-disc__panel p {
  margin: 0;
}

/* ---------- Score strip / anchors ---------- */
.lnf-anchorlist {
  display: grid;
  gap: var(--lnf-space-2xs);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: anchor;
}

.lnf-anchorlist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--lnf-space-sm);
  align-items: start;
  border-bottom: var(--lnf-border-soft);
  padding-bottom: var(--lnf-space-2xs);
}

.lnf-anchorlist li::before {
  counter-increment: anchor;
  content: counter(anchor);
  font-family: var(--lnf-title-face);
  background: var(--lnf-blue);
  color: var(--lnf-white);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: var(--lnf-radius-s);
}

/* ---------- Radial-feeling grid (rating) ---------- */
.lnf-radial {
  display: grid;
  gap: var(--lnf-space-2xs);
  grid-template-columns: repeat(2, 1fr);
}

.lnf-radial__slice {
  border: var(--lnf-border);
  border-radius: var(--lnf-radius-m);
  padding: var(--lnf-space-sm);
  background: var(--lnf-white);
  display: grid;
  gap: var(--lnf-space-3xs);
  align-content: start;
}

.lnf-radial__slice:nth-child(odd) {
  background: var(--lnf-surface-alt);
}

.lnf-radial__pts {
  font-family: var(--lnf-title-face);
  color: var(--lnf-orange);
  font-size: 1.4rem;
}

.lnf-radial__center {
  grid-column: 1 / -1;
  text-align: center;
  border: 3px solid var(--lnf-orange);
  border-radius: var(--lnf-radius-l);
  padding: var(--lnf-space-md);
  background: var(--lnf-spruce);
  color: var(--lnf-lime);
}

.lnf-radial__center strong {
  font-family: var(--lnf-title-face);
  font-size: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
  display: block;
}

/* ---------- Tables ---------- */
.lnf-tablewrap {
  overflow-x: auto;
  border: var(--lnf-border);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-white);
}

.lnf-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
}

.lnf-table caption {
  text-align: left;
  padding: var(--lnf-space-sm);
  font-weight: 700;
  color: var(--lnf-spruce);
  border-bottom: var(--lnf-border-soft);
}

.lnf-table th,
.lnf-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: var(--lnf-border-soft);
  text-align: left;
  vertical-align: top;
}

.lnf-table thead th {
  background: var(--lnf-spruce);
  color: var(--lnf-ice);
}

.lnf-table tbody tr:nth-child(even) {
  background: var(--lnf-surface-alt);
}

/* ---------- Pull quote ---------- */
.lnf-pull {
  border-left: 8px solid var(--lnf-orange);
  padding: var(--lnf-space-sm) var(--lnf-space-md);
  margin: 0;
  background: var(--lnf-white);
  border-radius: 0 var(--lnf-radius-m) var(--lnf-radius-m) 0;
}

.lnf-pull p {
  font-family: var(--lnf-title-face);
  font-size: clamp(1.2rem, 1rem + 1.4vw, 1.8rem);
  color: var(--lnf-spruce);
  margin: 0 0 var(--lnf-space-2xs);
  line-height: 1.25;
}

.lnf-pull cite {
  font-style: normal;
  font-weight: 700;
  color: var(--lnf-blue);
}

/* ---------- Checklist ---------- */
.lnf-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--lnf-space-2xs);
}

.lnf-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.lnf-checklist li::before {
  content: "\2713";
  color: var(--lnf-graphite);
  background: var(--lnf-lime);
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: var(--lnf-radius-s);
  font-weight: 800;
  border: 2px solid var(--lnf-graphite);
}

/* ---------- Breadcrumb ---------- */
.lnf-crumbs {
  padding-block: var(--lnf-space-sm) 0;
}

.lnf-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  font-size: var(--lnf-step-small);
}

.lnf-crumbs li::after {
  content: "\203A";
  margin-left: 0.4rem;
  color: var(--lnf-blue);
}

.lnf-crumbs li:last-child::after {
  content: "";
}

.lnf-crumbs a {
  color: var(--lnf-blue);
}

/* ---------- Info notice ---------- */
.lnf-notice {
  border: 2px solid var(--lnf-blue);
  border-radius: var(--lnf-radius-m);
  padding: var(--lnf-space-sm);
  background: var(--lnf-surface-alt);
  display: grid;
  gap: var(--lnf-space-3xs);
}

.lnf-notice strong {
  color: var(--lnf-spruce);
}

/* ---------- Glossary ---------- */
.lnf-gloss {
  display: grid;
  gap: var(--lnf-space-2xs);
  margin: 0;
}

.lnf-gloss div {
  border-left: 4px solid var(--lnf-blue);
  padding-left: var(--lnf-space-sm);
}

.lnf-gloss dt {
  font-weight: 800;
  color: var(--lnf-spruce);
}

.lnf-gloss dd {
  margin: 0;
}

/* ---------- Page head ---------- */
.lnf-pagehead {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.lnf-pagehead__kicker {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--lnf-blue);
  background: var(--lnf-surface-alt);
  border: 2px solid var(--lnf-blue);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-bottom: var(--lnf-space-xs);
}

.lnf-pagehead__title {
  font-family: var(--lnf-title-face);
  font-size: var(--lnf-step-hero);
  line-height: var(--lnf-lh-tight);
  color: var(--lnf-spruce);
  margin: 0 0 var(--lnf-space-sm);
  max-width: 18ch;
  text-wrap: balance;
}

.lnf-pagehead__lead {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--lnf-ink);
}

/* ---------- Group grid ---------- */
.lnf-groupgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--lnf-space-sm);
}

.lnf-groupcard {
  border: 3px solid var(--lnf-spruce);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-surface);
  padding: var(--lnf-space-sm);
  box-shadow: var(--lnf-shadow-flat);
  display: grid;
  gap: var(--lnf-space-3xs);
  align-content: start;
}

.lnf-groupcard__tag {
  justify-self: start;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lnf-paper);
  background: var(--lnf-orange);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.lnf-groupcard h3 {
  font-family: var(--lnf-title-face);
  font-size: 1.15rem;
  color: var(--lnf-spruce);
  margin: 0;
}

.lnf-groupcard p {
  margin: 0;
  line-height: 1.55;
}

/* ---------- Note grid ---------- */
.lnf-notegrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--lnf-space-sm);
}

.lnf-note {
  border-left: 5px solid var(--lnf-orange);
  background: var(--lnf-surface-alt);
  border-radius: 0 var(--lnf-radius-m) var(--lnf-radius-m) 0;
  padding: var(--lnf-space-sm);
  display: grid;
  gap: var(--lnf-space-3xs);
}

.lnf-note h3 {
  font-family: var(--lnf-title-face);
  font-size: 1rem;
  color: var(--lnf-spruce);
  margin: 0;
}

.lnf-note p {
  margin: 0;
  line-height: 1.55;
}

/* ---------- Tile description ---------- */
.lnf-tile__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--lnf-ink);
}

/* ---------- Split feature ---------- */
.lnf-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--lnf-space-lg);
  align-items: center;
}

.lnf-split__text {
  display: grid;
  gap: var(--lnf-space-xs);
}

.lnf-split__text p {
  margin: 0;
  line-height: var(--lnf-lh-body);
  max-width: 52ch;
}

.lnf-split__figure {
  margin: 0;
  display: grid;
  gap: var(--lnf-space-2xs);
}

.lnf-split__figure img {
  width: 100%;
  height: auto;
  border: 3px solid var(--lnf-spruce);
  border-radius: var(--lnf-radius-m);
  box-shadow: var(--lnf-shadow-lift);
  background: var(--lnf-surface);
}

.lnf-split__figure figcaption {
  font-size: var(--lnf-step-small);
  color: var(--lnf-ink-soft);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .lnf-split {
    grid-template-columns: 1fr;
    gap: var(--lnf-space-md);
  }

  .lnf-split--reverse .lnf-split__figure {
    order: -1;
  }
}

/* ---------- Article layout (TOC + body) ---------- */
.lnf-article {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--lnf-space-lg);
  align-items: start;
}

.lnf-article__aside {
  position: sticky;
  top: var(--lnf-space-md);
  border: 3px solid var(--lnf-spruce);
  border-radius: var(--lnf-radius-m);
  background: var(--lnf-surface-alt);
  padding: var(--lnf-space-sm);
  box-shadow: var(--lnf-shadow-flat);
}

.lnf-article__aside .lnf-secthead__title {
  font-size: 1.2rem;
  margin: 0 0 var(--lnf-space-2xs);
}

.lnf-article__body {
  min-width: 0;
}

@media (max-width: 860px) {
  .lnf-article {
    grid-template-columns: 1fr;
    gap: var(--lnf-space-md);
  }

  .lnf-article__aside {
    position: static;
  }
}


/* Custom Footer Styles */
.custom-footer {
    background-color: #FAFAF9;
    padding: 60px 20px 40px;
    color: #111;
    font-family: system-ui, -apple-system, sans-serif;
    border-top: 2px solid #111;
    border-bottom: 2px solid #111;
}
.custom-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.custom-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}
.custom-footer-logo img {
    max-width: 280px;
    height: auto;
    display: block;
}
.custom-footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 40px;
}
.custom-footer-nav a {
    color: #111;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}
.custom-footer-nav a:hover {
    text-decoration: underline;
}
.custom-footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    font-family: "Holtwood One SC", system-ui, sans-serif;
    font-size: clamp(16px, 2vw, 24px);
    text-transform: uppercase;
    font-weight: 900;
}
.custom-footer-bottom {
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.custom-footer-bottom p {
    margin: 0 0 10px;
}.custom-footer-copy {
    text-align: center;
    font-size: 14px;
    color: #111;
}

@media (max-width: 900px) {
    .custom-footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .custom-footer-nav {
        grid-template-columns: repeat(2, auto);
        justify-items: center;
    }
    .custom-footer-middle {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}
}

/* Custom Hero Styles */
.custom-hero {
    background-color: #FAFAF9;
    padding: 60px 20px 40px;
    text-align: center;
}
.custom-hero-container {
    max-width: 1100px;
    margin: 0 auto;
}
.custom-hero-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: clamp(32px, 5vw, 72px);
    line-height: 1.1;
    color: #111;
    margin: 0 auto 40px auto;
    text-transform: uppercase;
}
.custom-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.custom-hero-item {
    position: relative;
    width: 100%;
}
.custom-hero-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .custom-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Info Section */
.custom-info-section {
    background-color: #FAFAF9;
    padding: 60px 20px;
    color: #111;
}
.custom-info-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.info-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: clamp(24px, 4vw, 40px);
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #111;
}

/* Section 1: About */
.about-grid {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}
.about-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    max-width: 600px;
}
.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
}
.stat-item {
    width: 100%;
}
.stat-label {
    font-size: 14px;
    margin-bottom: 5px;
}
.stat-bar {
    width: 100%;
    height: 18px;
    background-color: #E5E5E5;
}
.stat-fill {
    height: 100%;
    background-color: #111;
}

/* Section 2: Choose */
.choose-intro {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 50px;
}
.choose-steps {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.step-item {
    flex: 1;
}
.step-number {
    width: 40px;
    height: 40px;
    border: 2px solid #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
}
.step-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}
.step-text {
    font-size: 12px;
    line-height: 1.5;
}

/* Section 3: Compare */
.compare-grid {
    display: flex;
    gap: 60px;
}
.compare-box {
    flex: 1;
    border: 4px solid #111;
    padding: 30px;
    max-width: 400px;
    background-color: #FAFAF9;
}
.compare-box h3 {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.2;
}
.compare-box p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 30px;
}
.compare-btn {
    display: inline-block;
    padding: 12px 20px;
    border: 2px solid #111;
    color: #111;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: #FAFAF9;
    transition: background-color 0.2s, color 0.2s;
}
.compare-btn:hover {
    background-color: #111;
    color: #FAFAF9;
}
.compare-features {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.feature-icon {
    width: 40px;
    height: 40px;
}
.feature-icon svg {
    width: 100%;
    height: 100%;
}
.feature-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .about-grid, .compare-grid {
        flex-direction: column;
    }
    .choose-steps {
        flex-wrap: wrap;
    }
    .step-item {
        min-width: 200px;
    }
}

/* Trust Section Styles */
.trust-section {
    background-color: #FAFAF9;
    padding-bottom: 60px;
}
.trust-hero {
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    min-height: 500px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.trust-content {
    max-width: 600px;
}
.trust-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: clamp(24px, 4vw, 40px);
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.trust-text {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}
.trust-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 3px solid #111;
    background-color: #fff;
    color: #111;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.trust-btn:hover {
    background-color: #111;
    color: #fff;
}

.games-container {
    max-width: 1300px;
    margin: 60px auto 0;
    padding: 0 20px;
}
.games-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: clamp(24px, 4vw, 40px);
    text-transform: uppercase;
    color: #111;
    margin-bottom: 40px;
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.game-card {
    display: flex;
    flex-direction: column;
}
.game-img-wrapper {
    width: 100%;
}
.game-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.game-content-box {
    border: 2px solid #111;
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #FAFAF9;
}
.game-info {
    padding: 15px;
    flex: 1;
}
.game-name {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}
.game-desc {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 20px;
}
.game-action {
    padding: 0 15px 15px;
    margin-top: auto;
}
.game-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border: 3px solid #111;
    background-color: #fff;
    color: #111;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.game-btn:hover {
    background-color: #111;
    color: #fff;
}

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .trust-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 40px 20px;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Game Grid Section */
.custom-game-grid-section {
    background-color: #FAFAF9;
    padding: 60px 20px;
}
.custom-game-grid-container {
    max-width: 1200px;
    margin: 0 auto;
}
.custom-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.c-card {
    background: #fff;
    border: 4px solid #111;
    box-shadow: 6px 6px 0px #111;
    display: flex;
    flex-direction: column;
}
.c-card-header {
    border-bottom: 4px solid #111;
    text-align: center;
    padding: 10px;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 24px;
    color: #111;
}
.c-card-main {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.c-card-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.2;
    min-height: 2em;
}
.c-card-split {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex: 1;
}
.c-card-img-link {
    flex: 0 0 45%;
    display: block;
}
.c-card-img-link img {
    width: 100%;
    height: auto;
    border: 2px solid #111;
    object-fit: cover;
    display: block;
}
.c-card-details {
    flex: 1;
}
.c-card-category {
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #111;
}
.c-dot {
    width: 6px;
    height: 6px;
    background-color: #111;
    border-radius: 50%;
    display: inline-block;
}
.c-card-desc {
    font-size: 10px;
    line-height: 1.4;
    color: #333;
}
.c-card-action {
    margin-top: auto;
}
.c-card-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px 0;
    border: 3px solid #111;
    background-color: #fff;
    color: #111;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.c-card-btn:hover {
    background-color: #111;
    color: #fff;
}

@media (max-width: 1024px) {
    .custom-game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .custom-game-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Bottom Section Styles */
.custom-bottom-section {
    background-color: #FAFAF9;
    padding: 60px 20px 100px;
    color: #111;
}
.custom-bottom-section .c-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.c-title-large {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: clamp(24px, 4vw, 40px);
    text-transform: uppercase;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.1;
}
.c-title-large.center-title {
    text-align: center;
}
.c-desc-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Genres */
.c-genres-section {}
.c-genres-wrapper {
    position: relative;
    margin-top: 30px;
}
.c-genres-images {
    display: flex;
    gap: 20px;
}
.c-genres-images img {
    width: calc(33.333% - 13.33px);
    height: auto;
    display: block;
    object-fit: cover;
}
.c-genres-tags {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
}
.c-tag {
    background-color: #fff;
    border: 3px solid #111;
    box-shadow: 3px 3px 0px #111;
    padding: 8px 12px;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 11px;
    color: #111;
    text-transform: uppercase;
}

/* News */
.c-news-section {
    display: flex;
    gap: 50px;
    align-items: center;
}
.c-news-text-col {
    flex: 1;
}
.c-news-img-col {
    flex: 1;
}
.c-news-img-col img {
    width: 100%;
    height: auto;
    display: block;
}

/* Guides */
.c-guides-section {}
.c-guides-intro {
    max-width: 500px;
    margin: 0 auto 50px;
    text-align: center;
}
.c-guides-grid {
    display: flex;
    gap: 40px;
}
.c-guide-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.c-guide-number {
    width: 70px;
    height: 70px;
    border: 4px solid #111;
    box-shadow: 6px 6px 0px #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 36px;
    margin-bottom: 30px;
    background-color: #fff;
    color: #111;
}
.c-guide-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.2;
}
.c-guide-desc {
    font-size: 12px;
    line-height: 1.5;
}

/* Platform */
.c-platform-section {}
.c-platform-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
.c-platform-img-col {
    flex: 1;
}
.c-platform-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.c-platform-center-col {
    flex: 1;
}
.c-platform-box {
    border: 4px solid #111;
    box-shadow: 8px 8px 0px #111;
    padding: 30px;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.c-platform-box-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}
.c-platform-box-desc {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 30px;
}
.c-btn-solid {
    display: block;
    border: 4px solid #111;
    background-color: #fff;
    color: #111;
    padding: 12px 15px;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}
.c-btn-solid:hover {
    background-color: #111;
    color: #fff;
}
.c-platform-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.c-platform-right-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}
.c-platform-right-desc {
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .c-genres-images {
        flex-direction: column;
    }
    .c-genres-images img {
        width: 100%;
    }
    .c-genres-tags {
        position: static;
        margin-top: 20px;
    }
    .c-news-section {
        flex-direction: column;
    }
    .c-guides-grid {
        flex-direction: column;
    }
    .c-platform-layout {
        flex-direction: column;
    }
}

/* Custom Final Section */
.custom-final-section {
    background-color: #FAFAF9;
    padding-bottom: 80px;
}
.c-hero-cta {
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    min-height: 500px;
    display: flex;
    align-items: center;
}
.c-hero-cta-content {
    max-width: 450px;
}
.c-hero-cta-title {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.c-hero-cta-text {
    font-size: 11px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}
.c-hero-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 3px solid #111;
    background-color: #fff;
    color: #111;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 4px 4px 0px #111;
    transition: transform 0.2s, box-shadow 0.2s;
}
.c-hero-cta-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #111;
}

.c-testimonials-contact {
    padding: 60px 20px 0;
}

/* Testimonials */
.c-testimonials {
    margin-bottom: 80px;
}
.c-testi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.c-testi-card {
    display: flex;
    flex-direction: column;
}
.c-testi-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.c-testi-box {
    border: 3px solid #111;
    box-shadow: 6px 6px 0px #111;
    padding: 20px;
    background-color: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.c-testi-name {
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 5px;
}
.c-testi-stars {
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.c-testi-quote {
    font-size: 12px;
    line-height: 1.5;
    color: #333;
}

/* Contact */
.c-contact {}
.c-contact-header {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}
.c-contact-header .c-title-large {
    flex: 1;
    margin-bottom: 0;
}
.c-contact-text {
    flex: 2;
    font-size: 12px;
    line-height: 1.5;
}
.c-contact-form {
    display: flex;
    gap: 15px;
}
.c-contact-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ccc;
    font-size: 14px;
    outline: none;
    font-family: system-ui, sans-serif;
}
.c-contact-input:focus {
    border-color: #111;
}
.c-contact-submit {
    flex: 1;
    padding: 15px;
    border: 4px solid #111;
    background-color: #fff;
    color: #111;
    font-family: 'Holtwood One SC', system-ui, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 4px 4px 0px #111;
    transition: transform 0.2s, box-shadow 0.2s;
}
.c-contact-submit:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #111;
}

@media (max-width: 768px) {
    .c-testi-grid {
        grid-template-columns: 1fr;
    }
    .c-contact-header {
        flex-direction: column;
        gap: 15px;
    }
    .c-contact-form {
        flex-direction: column;
    }
    .c-hero-cta {
        padding: 40px 20px;
    }
}
