/* =============================================================================
   Theme layer — visual overrides only (loaded after theme-tokens.css).
   Tokens live in static/css/theme-tokens.css. HTML/layout/classes unchanged.
   ============================================================================= */

/* ---- Base document ---- */
html {
  color-scheme: dark;
}

body {
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 100% 50% at 50% -18%, var(--glow-accent-15), transparent 52%),
    radial-gradient(ellipse 55% 40% at 100% 15%, rgba(59, 167, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 42% at 0% 80%, var(--glow-primary-14), transparent 48%),
    linear-gradient(168deg, var(--color-bg) 0%, var(--color-bg-secondary) 44%, #05081f 100%);
  font-weight: 450;
  isolation: isolate;
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    content: none;
  }
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6,
.lc-heading-serif,
.lc-h1,
.lc-h2 {
  color: var(--color-heading);
}

h1,
.lc-h1 {
  font-family: var(--lc-font-sans);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2,
.lc-h2 {
  font-family: var(--lc-font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3,
h4,
.lc-heading-serif {
  font-family: var(--lc-font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lc-section-title {
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition:
    color var(--t-ui) var(--ease-ui),
    text-decoration-color var(--t-ui) var(--ease-ui),
    background-color var(--t-ui) var(--ease-ui),
    box-shadow var(--t-ui) var(--ease-ui);
}

a:hover,
a:focus-visible {
  color: var(--color-primary);
}

.lc-entry__content :where(a:not(.lc-btn):not(.lc-chip)):hover,
.lc-entry__content :where(a:not(.lc-btn):not(.lc-chip)):focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(102, 255, 0, 0.45);
}

/* ---- Header ---- */
.lc-header {
  background: rgba(7, 11, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition:
    background var(--lc-transition),
    box-shadow var(--lc-transition);
}

.lc-header__brand {
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-secondary) 45%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.lc-header__brand:hover,
.lc-header__brand:focus-visible {
  opacity: 0.95;
  color: transparent;
}

.lc-header__nav a {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 10px;
  box-shadow: none;
  text-decoration: none;
  transition:
    color var(--t-ui) var(--ease-ui),
    background-color var(--t-ui) var(--ease-ui),
    box-shadow var(--t-ui) var(--ease-ui),
    transform var(--t-ui) var(--ease-ui);
}

.lc-header__nav a:hover,
.lc-header__nav a:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, #2563eb 0%, #0f3cb5 55%, #0a2798 100%);
  border: none;
  box-shadow:
    0 6px 18px rgba(10, 39, 152, 0.55),
    0 0 0 1px rgba(91, 184, 255, 0.45);
  transform: translateY(-2px);
  text-decoration: none;
}

.lc-header__nav a:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(10, 39, 152, 0.4);
}

.lc-header__nav .current-menu-item > a,
.lc-header__nav .current_page_item > a {
  color: #ffffff;
  background: #0a2798;
  border: none;
  box-shadow: none;
  font-weight: 600;
  transform: none;
}

.lc-header__nav .current-menu-item > a:hover,
.lc-header__nav .current_page_item > a:hover,
.lc-header__nav .current-menu-item > a:focus-visible,
.lc-header__nav .current_page_item > a:focus-visible {
  background: linear-gradient(180deg, #2f6bff 0%, #1548d4 50%, #0a2798 100%);
  box-shadow:
    0 8px 22px rgba(47, 107, 255, 0.45),
    0 0 0 1px rgba(102, 255, 0, 0.35);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .lc-header__nav a {
    transition-duration: 0.01ms;
  }

  .lc-header__nav a:hover,
  .lc-header__nav a:focus-visible,
  .lc-header__nav a:active {
    transform: none;
  }

  .lc-header__panel .lc-header__nav--drawer a {
    transition-duration: 0.01ms;
  }

  .lc-header__panel .lc-header__nav--drawer a:hover,
  .lc-header__panel .lc-header__nav--drawer a:focus-visible {
    transform: none;
  }

  .lc-header__panel .lc-header__nav--drawer .current-menu-item > a:hover,
  .lc-header__panel .lc-header__nav--drawer .current_page_item > a:hover,
  .lc-header__panel .lc-header__nav--drawer .current-menu-item > a:focus-visible,
  .lc-header__panel .lc-header__nav--drawer .current_page_item > a:focus-visible {
    transform: none;
  }
}

.lc-header__burger {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.06);
}

.lc-header__burger:hover,
.lc-header__burger:focus-visible {
  border-color: var(--glow-primary-35);
  box-shadow: 0 0 0 3px var(--glow-primary-12);
}

.lc-header__burger span {
  background: var(--color-text);
}

.lc-header__panel {
  background: linear-gradient(180deg, #0b1236 0%, #070b2a 100%);
  border-top: 1px solid var(--color-border);
}

.lc-header__panel .lc-header__nav--drawer a {
  transition:
    color var(--t-ui) var(--ease-ui),
    background-color var(--t-ui) var(--ease-ui),
    border-color var(--t-ui) var(--ease-ui),
    box-shadow var(--t-ui) var(--ease-ui),
    transform var(--t-ui) var(--ease-ui);
  border-left: 3px solid transparent;
  background: rgba(255, 255, 255, 0.04);
}

.lc-header__panel .lc-header__nav--drawer a:hover,
.lc-header__panel .lc-header__nav--drawer a:focus-visible {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb 0%, #0f3cb5 55%, #0a2798 100%);
  border-color: transparent;
  box-shadow:
    4px 0 18px rgba(10, 39, 152, 0.45),
    inset 0 0 0 1px rgba(91, 184, 255, 0.35);
  transform: translateX(4px);
}

.lc-header__panel .lc-header__nav--drawer .current-menu-item > a,
.lc-header__panel .lc-header__nav--drawer .current_page_item > a {
  color: #ffffff;
  background: #0a2798;
  border-color: transparent;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: none;
  transform: none;
}

.lc-header__panel .lc-header__nav--drawer .current-menu-item > a:hover,
.lc-header__panel .lc-header__nav--drawer .current_page_item > a:hover,
.lc-header__panel .lc-header__nav--drawer .current-menu-item > a:focus-visible,
.lc-header__panel .lc-header__nav--drawer .current_page_item > a:focus-visible {
  background: linear-gradient(90deg, #2f6bff 0%, #1548d4 45%, #0a2798 100%);
  box-shadow:
    4px 0 20px rgba(47, 107, 255, 0.4),
    inset 0 0 0 1px rgba(102, 255, 0, 0.3);
  transform: translateX(4px);
}

/* ---- Buttons ---- */
.lc-btn {
  border-radius: var(--radius-base);
  font-weight: 700;
  transition: var(--transition-interactive);
}

.lc-btn:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.lc-btn--primary {
  color: var(--color-on-primary);
  background: linear-gradient(180deg, #7dff2f 0%, #66ff00 100%);
  border: none;
  box-shadow: var(--shadow-btn);
}

.lc-btn--primary:hover,
.lc-btn--primary:focus-visible {
  color: var(--color-on-primary);
  background: linear-gradient(180deg, #8bff47 0%, #7dff2f 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

.lc-btn--secondary {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-light);
}

.lc-btn--secondary:hover,
.lc-btn--secondary:focus-visible {
  color: var(--color-white);
  background: rgba(59, 167, 255, 0.08);
  border-color: var(--color-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-light);
}

.lc-btn--ghost {
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
}

.lc-btn--ghost:hover,
.lc-btn--ghost:focus-visible {
  color: var(--color-primary);
  background: var(--glow-primary-12);
  border-color: var(--color-border-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 16px var(--glow-primary-14);
}

.lc-btn--hero {
  padding: 14px 34px;
  color: var(--color-on-primary);
  background: linear-gradient(180deg, #7dff2f 0%, #66ff00 100%);
  border: none;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-btn);
}

.lc-btn--hero:hover,
.lc-btn--hero:focus-visible {
  color: var(--color-on-primary);
  background: linear-gradient(180deg, #8bff47 0%, #7dff2f 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

/* ---- In-article CTA banner (homepage body HTML) ---- */
.lc-entry__content .lc-cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
  padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
  border-radius: var(--radius-base);
  background: linear-gradient(
    145deg,
    rgba(18, 26, 74, 0.95) 0%,
    rgba(7, 11, 42, 0.98) 45%,
    rgba(13, 19, 56, 0.96) 100%
  );
  border: 1px solid rgba(102, 255, 0, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 48px var(--glow-accent-15);
}

.lc-entry__content .lc-cta-banner__title {
  margin: 0;
  max-width: 28rem;
  font-family: var(--lc-font-sans);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.55),
    0 0 32px var(--glow-accent-22);
}

.lc-entry__content .lc-cta-banner .lc-btn--hero {
  min-width: 11rem;
}

/* ---- Hero ---- */
.lc-hero {
  background-color: var(--color-bg-secondary);
  background-image:
    linear-gradient(
      120deg,
      rgba(7, 11, 42, 0.92) 0%,
      rgba(18, 26, 74, 0.55) 42%,
      rgba(13, 19, 56, 0.9) 100%
    ),
    var(--lc-hero-image);
}

.lc-hero.lc-hero--reel {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 90% 70% at 72% 18%, var(--glow-accent-15), transparent 55%),
    var(--lc-hero-image);
  background-size: cover;
  background-position: center;
}

.lc-hero.lc-hero--reel::after {
  content: none;
  display: none;
}

.lc-hero::after {
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    var(--glow-accent-08) 2px,
    var(--glow-accent-08) 4px
  );
  opacity: 0.28;
}

.lc-hero__accent {
  color: var(--color-secondary);
  letter-spacing: 0.32em;
}

.lc-hero__title {
  font-family: var(--lc-font-sans);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.65),
    0 0 40px var(--glow-accent-22);
}

.lc-hero__subtitle {
  color: var(--color-text-soft);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* ---- Explore / chips ---- */
.lc-explore__title {
  color: var(--color-muted);
}

.lc-explore__bar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--lc-radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-light);
}

.lc-chip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.12) 100%);
  background-color: rgba(18, 26, 74, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-light);
  transition: var(--transition-interactive);
}

.lc-chip:hover,
.lc-chip:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.08) 100%);
  background-color: var(--color-surface-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--glow-primary-22),
    0 0 24px var(--glow-primary-12),
    0 8px 24px rgba(0, 0, 0, 0.22);
}

.lc-chip:hover .lc-chip__line1,
.lc-chip:focus-visible .lc-chip__line1,
.lc-chip:hover .lc-chip__text--single .lc-chip__line1,
.lc-chip:focus-visible .lc-chip__text--single .lc-chip__line1 {
  color: var(--color-text);
}

.lc-chip:hover .lc-chip__line2,
.lc-chip:focus-visible .lc-chip__line2 {
  color: var(--color-muted);
}

.lc-chip--hot .lc-chip__icon-wrap {
  box-shadow: 0 0 0 3px var(--glow-primary-22);
}

.lc-chip__line1,
.lc-chip__line2 {
  color: var(--color-text);
}

.lc-chip__line2 {
  color: var(--color-text-soft);
  font-weight: 600;
}

.lc-chip__text--single .lc-chip__line1 {
  color: var(--color-text);
}

/* ---- Cards ---- */
.lc-card {
  background: linear-gradient(180deg, #121a4a 0%, #0d1338 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: var(--transition-interactive);
}

.lc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 255, 0, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.lc-card__thumb {
  background: linear-gradient(145deg, rgba(18, 26, 74, 0.95), rgba(13, 19, 56, 0.9));
}

.lc-card__cat {
  color: var(--color-secondary);
}

.lc-card__title {
  font-family: var(--lc-font-sans);
  font-weight: 700;
  color: var(--color-heading);
}

.lc-card__excerpt {
  color: var(--color-muted);
}

.lc-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, var(--glow-accent-08) 50%, rgba(255, 255, 255, 0.05) 100%);
  background-size: 200% 100%;
}

/* ---- Entry / prose ---- */
.lc-entry__meta {
  color: var(--color-muted);
}

.lc-entry__content {
  min-width: 0;
  color: var(--color-text-soft);
}

.lc-entry__content :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--lc-font-sans);
  color: var(--color-heading);
}

.lc-entry__content :where(h2) {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lc-entry__content :where(h3) {
  font-size: clamp(1.18rem, 2.3vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  text-shadow: 0 1px 18px var(--glow-primary-14);
}

.lc-entry__content a:not(.lc-btn):not(.lc-chip) {
  color: var(--color-secondary);
}

.lc-entry__content a:not(.lc-btn):not(.lc-chip):hover,
.lc-entry__content a:not(.lc-btn):not(.lc-chip):focus-visible {
  color: var(--color-primary);
}

/* rabbit-base `.lc-entry__content a` is (0,1,1) and beats `.lc-btn--hero` (0,1,0) — green-on-green */
.lc-entry__content a.lc-btn {
  text-decoration: none;
  text-underline-offset: unset;
}

.lc-entry__content a.lc-btn--hero,
.lc-entry__content a.lc-btn--hero:hover,
.lc-entry__content a.lc-btn--hero:focus-visible {
  color: var(--color-on-primary);
}

.lc-entry__content th {
  background: var(--glow-primary-12);
  border-color: var(--color-border);
}

.lc-entry__content td {
  border-color: var(--color-border);
}

.lc-entry__content blockquote {
  border-left-color: var(--color-secondary);
  background: rgba(18, 26, 74, 0.45);
}

.lc-table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border-radius: var(--lc-radius-sm);
  scrollbar-color: var(--glow-primary-35) var(--lc-bg-alt);
}

.lc-table-scroll:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.lc-entry__content .lc-table-scroll > table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  margin: 0;
}

.lc-entry {
  min-width: 0;
}

.lc-entry__content figure:has(> table),
.lc-entry__content figure.lc-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.5em 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.lc-entry__content figure:has(> table) table,
.lc-entry__content figure.lc-block-table table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  margin: 0;
}

.lc-entry__content p:has(table) {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.lc-entry__content p:has(table) table {
  width: max-content;
  min-width: 100%;
  max-width: none;
}

.lc-entry__content > table {
  display: block;
  width: max-content;
  min-width: 100%;
  max-width: 100%;
  margin: 1.5em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  box-sizing: border-box;
}

/* ---- Slots block ---- */
.lc-slots {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.lc-slots__title {
  font-family: var(--lc-font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.lc-slots__btn {
  border-radius: var(--radius-base);
  background: linear-gradient(180deg, #7dff2f 0%, #66ff00 100%);
  color: var(--color-on-primary);
  border: none;
  box-shadow: var(--shadow-btn);
  transition: var(--transition-interactive);
}

.lc-slots__btn:hover,
.lc-slots__btn:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #8bff47 0%, #7dff2f 100%);
  box-shadow: var(--shadow-btn-hover);
}

.lc-slots__btn--outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-secondary);
  border: 1px solid rgba(59, 167, 255, 0.35);
}

.lc-slots__btn--outline:hover,
.lc-slots__btn--outline:focus-visible {
  border-color: var(--color-secondary-hover);
  color: var(--color-white);
  background: linear-gradient(135deg, rgba(59, 167, 255, 0.2) 0%, rgba(123, 97, 255, 0.18) 100%);
  box-shadow: 0 0 20px var(--glow-accent-22);
}

.lc-slot-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #121a4a 0%, #0d1338 100%);
  transition: var(--transition-interactive);
}

.lc-slot-card:hover,
.lc-slot-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(102, 255, 0, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* ---- Related ---- */
.lc-related__item {
  background: linear-gradient(180deg, #121a4a 0%, #0d1338 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: var(--transition-interactive);
}

.lc-related__item:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 255, 0, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.lc-related__item a:hover {
  color: var(--color-primary);
}

/* ---- FAQ ---- */
.lc-faq {
  border-top: 1px solid var(--color-border);
}

.lc-faq__title {
  font-family: var(--lc-font-sans);
  font-weight: 800;
  color: var(--color-heading);
}

.lc-faq__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.lc-faq__summary:hover {
  color: var(--color-primary);
}

/* ---- Page header / pagination ---- */
.lc-page-header {
  border-bottom-color: var(--color-border);
}

.lc-page-header__desc {
  color: var(--color-muted);
}

.lc-pagination a,
.lc-pagination span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition:
    border-color var(--t-ui) var(--ease-ui),
    color var(--t-ui) var(--ease-ui),
    box-shadow var(--t-ui) var(--ease-ui);
}

.lc-pagination a:hover,
.lc-pagination .current {
  color: var(--color-primary);
  border-color: var(--color-border-hover);
  box-shadow: 0 0 0 2px var(--glow-primary-12);
}

/* ---- Footer ---- */
.lc-footer {
  border-top: 1px solid var(--color-border);
  background: linear-gradient(180deg, transparent, rgba(7, 11, 42, 0.94));
  padding-top: 56px;
}

.lc-footer__brand {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-secondary) 40%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lc-footer__menu a {
  border-radius: var(--lc-radius-sm);
  text-decoration: none;
}

.lc-footer__menu a:hover,
.lc-footer__menu a:focus-visible,
.lc-footer__menu .current-menu-item > a,
.lc-footer__menu .current_page_item > a {
  color: var(--color-primary);
  background: var(--glow-primary-12);
}

.lc-footer__copy {
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

/* ---- Footer: 3 columns ---- */
.lc-footer__top.lc-footer__top--3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  text-align: center;
}

.lc-footer__top--3col .lc-footer__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-inline: auto;
  width: 100%;
  max-width: 320px;
  gap: 18px;
}

@media (min-width: 900px) {
  .lc-footer__top.lc-footer__top--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(20px, 4vw, 48px);
    row-gap: 28px;
    align-items: stretch;
  }

  .lc-footer__top--3col .lc-footer__col {
    max-width: none;
    margin-inline: 0;
  }

  .lc-footer__top--3col .lc-footer__col--brand,
  .lc-footer__top--3col .lc-footer__col--nav,
  .lc-footer__top--3col .lc-footer__col--about {
    align-items: center;
    text-align: center;
  }

  .lc-footer__top--3col .lc-footer__col--nav {
    justify-content: center;
  }

  .lc-footer__top--3col .lc-footer__col--brand {
    justify-content: flex-start;
  }

  .lc-footer__top--3col .lc-footer__col--about {
    justify-content: flex-start;
  }
}

.lc-footer__social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lc-footer__social-link {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-text-soft);
  text-decoration: none;
  border-radius: var(--lc-radius-sm);
  padding: 4px 8px;
  transition:
    color var(--t-ui) var(--ease-ui),
    background var(--t-ui) var(--ease-ui);
}

.lc-footer__social-link:hover,
.lc-footer__social-link:focus-visible {
  color: var(--color-primary);
  background: var(--glow-primary-12);
}

.lc-footer__top--3col .lc-footer__col--nav .lc-footer__nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.lc-footer__top--3col .lc-footer__menu {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lc-footer__top--3col .lc-footer__menu a {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  padding: 4px 12px;
}

.lc-footer__about-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.02em;
}

.lc-footer__about-body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-soft);
}

.lc-footer__about-address {
  margin: 0 0 16px;
  color: var(--color-muted);
}

.lc-footer__about-line {
  display: inline;
}

.lc-footer__about-contact {
  margin: 0 0 10px;
}

.lc-footer__about-label {
  display: inline-block;
  min-width: 4.25rem;
  margin-right: 6px;
  color: var(--color-muted);
  font-weight: 600;
}

.lc-footer__about-contact a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
}

.lc-footer__about-contact a:hover,
.lc-footer__about-contact a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(102, 255, 0, 0.45);
  text-underline-offset: 0.15em;
}

/* ---- Mobile CTA ---- */
.lc-mobile-cta {
  border-radius: var(--radius-base);
  background: linear-gradient(180deg, #7dff2f 0%, #66ff00 100%);
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.45), var(--shadow-glow);
  border: none;
  color: var(--color-on-primary);
  font-weight: 700;
  transition: var(--transition-interactive);
}

.lc-mobile-cta:hover,
.lc-mobile-cta:focus-visible {
  background: linear-gradient(180deg, #8bff47 0%, #7dff2f 100%);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5), 0 0 28px rgba(102, 255, 0, 0.28);
}

/* ---- Layout rhythm ---- */
.lc-wrap {
  padding-left: 22px;
  padding-right: 22px;
}

.lc-layout {
  padding-top: 40px;
  padding-bottom: 72px;
}

.lc-wrap .lc-layout .lc-main > .lc-entry {
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.lc-wrap .lc-layout .lc-main > .lc-entry .lc-faq {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ---- Forms ---- */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  border-radius: var(--radius-base);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-white);
  padding: 10px 14px;
  outline: none;
  transition: var(--transition-interactive);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-placeholder);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px var(--glow-secondary-18);
}

/* ---- Scrollbar ---- */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--glow-primary-35) var(--lc-bg-alt);
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-track {
  background: var(--lc-bg-alt);
}

*::-webkit-scrollbar-thumb {
  background: var(--glow-primary-35);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--glow-primary-45);
  background-clip: padding-box;
}

/* ---- Block editor HTML → lc-block ---- */
.lc-block-heading {
  font-family: var(--lc-font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.lc-block-table table {
  border-collapse: collapse;
}

.lc-block-table th,
.lc-block-table td {
  border-color: var(--color-border);
}

/* ---- Hero / logo ---- */
.lc-hero--reel {
  background-position: center top;
}

.lc-hero--reel .lc-hero__inner {
  max-width: 640px;
}

.lc-hero--reel .lc-hero__title {
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.85),
    0 0 48px var(--glow-accent-22);
}

.lc-hero--reel .lc-hero__subtitle {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.lc-brand-reel {
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lc-brand-reel--footer {
  max-height: 44px;
}

@media (max-width: 480px) {
  .lc-brand-reel {
    max-height: 44px;
  }

  .lc-brand-reel--footer {
    max-height: 38px;
  }
}

/* ---- Slot strip above "Entdecken" ---- */
.lc-slots--above-explore {
  margin-top: 24px;
  margin-bottom: 8px;
}

/* First block inside .lc-wrap on home: sits directly under full-bleed hero */
.lc-slots--under-hero {
  margin-top: 12px;
}

.lc-slots__grid--r7 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 10px;
}

@media (min-width: 520px) {
  .lc-slots__grid--r7 {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 12px;
  }
}

@media (min-width: 720px) {
  .lc-slots__grid--r7 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 960px) {
  .lc-slots__grid--r7 {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px 12px;
  }
}

@media (min-width: 1180px) {
  .lc-slots__grid--r7 {
    grid-template-columns: repeat(7, 1fr);
    gap: 14px 10px;
  }
}

/* Home hero strip: 14 cards = two full rows of 7 (not ragged mid-breakpoints) */
@media (min-width: 768px) {
  .lc-slots--above-explore .lc-slots__grid--r7 {
    grid-template-columns: repeat(7, 1fr);
    gap: 12px 10px;
  }
}

@media (max-width: 767px) {
  .lc-slots--above-explore .lc-slots__grid--r7 {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 8px;
  }

  .lc-slots--above-explore .lc-slot-card:nth-child(n + 9) {
    display: none;
  }
}

@media (max-width: 768px) {
  .lc-wrap {
    overflow-x: clip;
  }
}
