/*
Theme Name: Łukasz Hodorowicz
Theme URI: https://lukaszhodorowicz.pl
Author: Łukasz Hodorowicz
Description: Motyw blokowy zbudowany 1:1 na kodzie strony zapisu do SmartLettera — te same zmienne, to samo tło z kulami 3D, ta sama typografia Plus Jakarta Sans, te same karty, pigułkowe formularze i stopka. Zastępuje motyw oparty na Elementorze.
Version: 2.7.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lukaszhodorowicz
Tags: blog, one-column, block-patterns, full-site-editing
*/

/* ==========================================================================
   CZĘŚĆ 1 — KOD ZE STRONY ZAPISU DO SMARTLETTERA, PRZENIESIONY 1:1.
   Źródło: Projects/smartletter-strona-zapisu/template-smartletter.php, znacznik <style>.
   Niczego tu nie poprawiamy „po swojemu" — to jest wzór wyglądu.
   ========================================================================== */

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg-page: #080b11;
      --bg-surface: #0e1422;
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-subtle: #64748b;
      --lime-primary: #84cc16;
      --lime-bright: #a3e635;
      --lime-light: rgba(163, 230, 53, 0.12);
      --lime-deep: #bef264;
      --border-soft: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(255, 255, 255, 0.18);
      --card-bg: rgba(14, 20, 34, 0.78);
      --card-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.65), 0 0 1px 1px rgba(255, 255, 255, 0.07);
    }

    body {
      font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: var(--bg-page);
      color: var(--text-main);
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    /* Tło: ciemna mikro-siatka i swobodnie dryfujące świetliste kule 3D */
    .bg-canvas {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .bg-grid {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(163, 230, 53, 0.45) 1.2px, transparent 1.2px);
      background-size: 18px 18px;
      -webkit-mask-image: 
        radial-gradient(circle 420px at 15% 15%, black 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
        radial-gradient(circle 520px at 85% 35%, black 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
        radial-gradient(circle 320px at 25% 85%, black 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%),
        radial-gradient(circle 260px at 55% 50%, black 0%, rgba(0, 0, 0, 0.3) 35%, transparent 100%);
      mask-image: 
        radial-gradient(circle 420px at 15% 15%, black 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
        radial-gradient(circle 520px at 85% 35%, black 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
        radial-gradient(circle 320px at 25% 85%, black 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%),
        radial-gradient(circle 260px at 55% 50%, black 0%, rgba(0, 0, 0, 0.3) 35%, transparent 100%);
      opacity: 0.95;
      pointer-events: none;
    }

    /* Trójwymiarowe, rozmyte kule (orby) z naturalnym, organicznym ruchem swobodnym */
    .orb {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      will-change: transform;
    }

    /* Kula 1: lewy górny narożnik z zielonkawą poświatą */
    .orb-1 {
      width: 520px;
      height: 520px;
      top: -140px;
      left: -140px;
      background: radial-gradient(circle at 35% 35%, #bef264 0%, #84cc16 35%, #4d7c0f 70%, transparent 100%);
      filter: blur(80px);
      opacity: 0.45;
      animation: drift-orb-1 22s ease-in-out infinite alternate;
    }

    /* Kula 2: prawy obszar za sylwetką Łukasza — potężna, soczysta głębia pola */
    .orb-2 {
      width: 660px;
      height: 660px;
      top: 5%;
      right: -140px;
      background: radial-gradient(circle at 30% 30%, #d9f99d 0%, #a3e635 30%, #65a30d 65%, #14532d 90%, transparent 100%);
      filter: blur(90px);
      opacity: 0.55;
      animation: drift-orb-2 26s ease-in-out infinite alternate;
    }

    /* Kula 3: dolny lewy akcent balansujący kompozycję */
    .orb-3 {
      width: 340px;
      height: 340px;
      bottom: 2%;
      left: 16%;
      background: radial-gradient(circle at 35% 35%, #bef264 0%, #84cc16 45%, #365314 85%, transparent 100%);
      filter: blur(65px);
      opacity: 0.35;
      animation: drift-orb-3 18s ease-in-out infinite alternate;
    }

    /* Kula 4: subtelna środkowa mgławica */
    .orb-4 {
      width: 280px;
      height: 280px;
      top: 45%;
      left: 42%;
      background: radial-gradient(circle at 40% 40%, #a3e635 0%, #4d7c0f 60%, transparent 100%);
      filter: blur(60px);
      opacity: 0.22;
      animation: drift-orb-4 16s ease-in-out infinite alternate;
    }

    /* Wyraźniejsza kula 3D z połyskiem specular lewitująca w przestrzeni */
    .orb-3d-floating {
      position: absolute;
      width: 86px;
      height: 86px;
      top: 13%;
      right: 32%;
      border-radius: 50%;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #bef264 35%, #84cc16 75%, #1e3a07 100%);
      box-shadow: 0 20px 45px rgba(132, 204, 22, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.9);
      filter: blur(1.2px);
      opacity: 0.9;
      animation: drift-orb-3d-1 13s ease-in-out infinite alternate;
      z-index: 1;
    }

    /* Mała kula 3D z prawej strony */
    .orb-3d-small {
      position: absolute;
      width: 50px;
      height: 50px;
      top: 52%;
      right: 5%;
      border-radius: 50%;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #bef264 40%, #65a30d 100%);
      box-shadow: 0 12px 26px rgba(132, 204, 22, 0.35);
      filter: blur(1.8px);
      opacity: 0.85;
      animation: drift-orb-3d-2 10s ease-in-out infinite alternate;
      z-index: 1;
    }

    /* Średnia zielona kula 3D z lewej strony tła */
    .orb-3d-mid {
      position: absolute;
      width: 64px;
      height: 64px;
      bottom: 20%;
      left: 7%;
      border-radius: 50%;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #d9f99d 30%, #84cc16 70%, #1e3a07 100%);
      box-shadow: 0 16px 36px rgba(132, 204, 22, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.85);
      filter: blur(1.5px);
      opacity: 0.88;
      animation: drift-orb-3d-1 15s ease-in-out infinite alternate 2s;
      z-index: 1;
    }



    /* Płynne, wielopunktowe animacje dryfowania dla naturalnego ruchu */
    @keyframes drift-orb-1 {
      0% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      33% {
        transform: translate3d(50px, 35px, 0) scale(1.06);
      }
      66% {
        transform: translate3d(-30px, 65px, 0) scale(0.96);
      }
      100% {
        transform: translate3d(35px, 20px, 0) scale(1.03);
      }
    }

    @keyframes drift-orb-2 {
      0% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      30% {
        transform: translate3d(-55px, 45px, 0) scale(1.08);
      }
      70% {
        transform: translate3d(-25px, -50px, 0) scale(0.94);
      }
      100% {
        transform: translate3d(40px, 25px, 0) scale(1.04);
      }
    }

    @keyframes drift-orb-3 {
      0% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      50% {
        transform: translate3d(45px, -40px, 0) scale(1.08);
      }
      100% {
        transform: translate3d(-25px, 30px, 0) scale(0.95);
      }
    }

    @keyframes drift-orb-4 {
      0% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      50% {
        transform: translate3d(-40px, -30px, 0) scale(1.1);
      }
      100% {
        transform: translate3d(30px, 35px, 0) scale(0.92);
      }
    }

    @keyframes drift-orb-3d-1 {
      0% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      33% {
        transform: translate3d(-20px, 18px, 0) scale(1.05);
      }
      66% {
        transform: translate3d(14px, -20px, 0) scale(0.95);
      }
      100% {
        transform: translate3d(-10px, -10px, 0) scale(1.02);
      }
    }

    @keyframes drift-orb-3d-2 {
      0% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      40% {
        transform: translate3d(16px, -22px, 0) scale(1.07);
      }
      80% {
        transform: translate3d(-18px, 14px, 0) scale(0.94);
      }
      100% {
        transform: translate3d(10px, 8px, 0) scale(1.02);
      }
    }

    /* Główny kontener strony */
    .page-wrap {
      position: relative;
      z-index: 2;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 32px;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    /* Górna nawigacja / logo */
    .site-header {
      padding: 28px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .brand-logo {
      font-size: var(--wp--preset--font-size--zwykly);
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text-main);
      text-decoration: none;
      display: inline-flex;
      align-items: baseline;
    }

    .brand-logo .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--lime-bright);
      display: inline-block;
      margin-left: 4px;
      align-self: center;
    }



    .pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--lime-bright);
      box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.7);
      animation: pulse-ring 2s infinite;
    }

    @keyframes pulse-ring {
      0% {
        box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.7);
      }
      70% {
        box-shadow: 0 0 0 8px rgba(163, 230, 53, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(163, 230, 53, 0);
      }
    }

    /* Układ sekcji powitalnej (Hero) */
    .hero-section {
      flex: 1;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      align-items: center;
      gap: 48px;
      padding: 32px 0 64px;
    }

    /* Lewa kolumna: teksty i formularz */
    .hero-content {
      max-width: 620px;
    }

    .category-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(163, 230, 53, 0.12);
      border: 1px solid rgba(163, 230, 53, 0.3);
      padding: 6px 14px;
      border-radius: 9999px;
      font-size: var(--wp--preset--font-size--maly);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #bef264;
      margin-bottom: 24px;
    }

    .hero-title {
      font-size: var(--wp--preset--font-size--tytulowy);
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.035em;
      color: var(--text-main);
      margin-bottom: 20px;
    }

    .hero-title-main {
      display: block;
      color: var(--text-main);
    }

    .hero-title-sub {
      display: block;
      font-weight: 700;
      color: #e2e8f0;
    }

    .highlight-pill {
      position: relative;
      display: inline-block;
      white-space: nowrap;
      z-index: 1;
      color: #bef264;
    }

    .highlight-pill::before {
      content: "";
      position: absolute;
      left: -4px;
      right: -4px;
      bottom: 4px;
      height: 14px;
      background: rgba(163, 230, 53, 0.25);
      border: 1px solid rgba(163, 230, 53, 0.4);
      z-index: -1;
      border-radius: 5px;
      transform: rotate(-1deg);
    }

    .hero-desc {
      font-size: var(--wp--preset--font-size--sredni);
      line-height: 1.6;
      color: var(--text-muted);
      margin-bottom: 36px;
      max-width: 520px;
    }

    /* Pigułkowy pasek zapisu */
    .signup-form {
      margin-bottom: 32px;
    }

    .signup-pill {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
      max-width: 440px;
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
    }

    .signup-input-wrap {
      width: 100%;
    }

    .name-wrap,
    .email-wrap {
      width: 100%;
      flex: none;
    }

    .input-divider {
      display: none;
    }

    .signup-input {
      width: 100%;
      box-sizing: border-box;
      background: rgba(14, 20, 34, 0.85);
      border: 1.5px solid var(--border-soft);
      border-radius: 14px;
      padding: 15px 18px;
      font-family: inherit;
      font-size: var(--wp--preset--font-size--zwykly);
      color: var(--text-main);
      outline: none;
      transition: all 0.2s ease;
    }

    .signup-input:focus {
      border-color: var(--lime-bright);
      box-shadow: 0 0 20px rgba(163, 230, 53, 0.22);
      transform: translateY(-1px);
    }

    .signup-input::placeholder {
      color: var(--text-subtle);
    }

    .signup-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      background: var(--lime-bright);
      color: #080b11;
      border: none;
      border-radius: 14px;
      padding: 16px 28px;
      font-family: inherit;
      font-size: var(--wp--preset--font-size--zwykly);
      font-weight: 750;
      cursor: pointer;
      transition: all 0.15s ease;
      white-space: nowrap;
      box-shadow: 0 4px 16px rgba(163, 230, 53, 0.35);
    }

    .signup-btn:hover {
      background: #bef264;
      transform: scale(1.02);
      box-shadow: 0 6px 22px rgba(163, 230, 53, 0.5);
    }

    .signup-btn:active {
      transform: scale(0.98);
    }

    .signup-btn svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      stroke-width: 2.2;
      transition: transform 0.15s ease;
    }

    .signup-btn:hover svg {
      transform: translateX(3px);
    }

    /* Wskaźniki wiarygodności */
    .trust-metrics {
      display: flex;
      align-items: center;
      gap: 28px;
      padding-top: 8px;
    }

    .metric-item {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .metric-icon-wrap {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(14, 20, 34, 0.85);
      border: 1px solid var(--border-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--lime-bright);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    }

    .metric-icon-wrap svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      stroke-width: 2.2;
    }

    .metric-text {
      font-size: var(--wp--preset--font-size--maly);
      font-weight: 600;
      color: var(--text-muted);
      line-height: 1.3;
    }

    .metric-text strong {
      display: block;
      color: var(--text-main);
      font-size: var(--wp--preset--font-size--zwykly);
    }

    .metric-divider {
      width: 1px;
      height: 36px;
      background: var(--border-soft);
    }

    /* Prawa kolumna: Łukasz i otaczające loga AI */
    .hero-visual {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 580px;
    }

    .stage-canvas {
      position: relative;
      width: 100%;
      max-width: 480px;
      height: 560px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    /* Główny soczysty okrąg za Łukaszem z promieniującą poświatą */
    .hero-circle-backdrop {
      position: absolute;
      width: 430px;
      height: 430px;
      bottom: 25px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 30%, #bef264 0%, #84cc16 45%, #4d7c0f 85%, #14532d 100%);
      box-shadow: 0 0 95px rgba(132, 204, 22, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.4);
      z-index: 1;
    }

    /* Ozdobny zewnętrzny pierścień przerywany */
    .dashed-ring {
      position: absolute;
      width: 490px;
      height: 490px;
      bottom: -5px;
      border-radius: 50%;
      border: 1.5px dashed rgba(163, 230, 53, 0.35);
      z-index: 0;
      animation: rotate-ring 90s linear infinite;
    }

    @keyframes rotate-ring {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* Zdjęcie Łukasza bez prostokątnych masek i cieni konturowych */
    .author-image {
      position: relative;
      z-index: 3;
      width: 96%;
      max-width: 430px;
      height: auto;
      object-fit: contain;
      transform: translateY(35px);
      user-select: none;
      pointer-events: none;
    }

    /* System orbitowania kul wokół sylwetki Łukasza stale powyżej poziomu dłoni */
    .orbit-stage {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    /* Zatrzymanie orbitowania po najechaniu kursorem myszy */
    .orbit-stage:hover .orbit-slot {
      animation-play-state: paused;
    }

    /* Faint pierścień orbity opasający sylwetkę powyżej dłoni */
    .orbit-track-ring {
      position: absolute;
      width: 490px;
      height: 86px;
      left: 50%;
      bottom: 275px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      border: 1px dashed rgba(190, 242, 100, 0.2);
      box-shadow: 0 0 25px rgba(132, 204, 22, 0.1), inset 0 0 15px rgba(132, 204, 22, 0.05);
      pointer-events: none;
      z-index: 2;
    }

    /* Poświata energii lewitującej bezpośrednio nad otwartą dłonią i promieniującej ku kulom */
    .palm-portal-glow {
      position: absolute;
      width: 150px;
      height: 80px;
      left: 57%;
      bottom: 190px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: radial-gradient(ellipse at center, rgba(190, 242, 100, 0.55) 0%, rgba(132, 204, 22, 0.2) 50%, transparent 75%);
      filter: blur(16px);
      pointer-events: none;
      z-index: 4;
      animation: pulse-portal 3s ease-in-out infinite alternate;
    }

    @keyframes pulse-portal {
      0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); }
      100% { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }
    }

    /* Slot orbitujący — podniesiony tak, by zawsze unosił się powyżej otwartej dłoni */
    .orbit-slot {
      position: absolute;
      left: 50%;
      bottom: 275px;
      width: 0;
      height: 0;
      pointer-events: auto;
      animation: orbit-around-lukasz 20s linear infinite;
      animation-delay: var(--delay, 0s);
      will-change: transform, z-index;
    }

    /* Harmoniczny, matematycznie gładki ruch eliptyczny (24 kroki trygonometryczne):
       - Rx = 245px: kule wychodzą daleko poza obrys prawego ramienia (+180.5px) w wolną przestrzeń
       - Przełączenie warstw (z-index) następuje wyłącznie w pustej przestrzeni bocznej
       - Równomierne próbkowanie kątowe usuwa jakiekolwiek wrażenie przeskakiwania lub szarpania
    */
    @keyframes orbit-around-lukasz {
      0.00% { transform: translate3d(0.0px, 42.0px, 0px) scale(1.280); z-index: 5; opacity: 1.00; }
      4.17% { transform: translate3d(-63.4px, 40.6px, 0px) scale(1.270); z-index: 5; opacity: 1.00; }
      8.33% { transform: translate3d(-122.5px, 36.4px, 0px) scale(1.242); z-index: 5; opacity: 1.00; }
      12.50% { transform: translate3d(-173.2px, 29.7px, 0px) scale(1.198); z-index: 5; opacity: 1.00; }
      16.67% { transform: translate3d(-212.2px, 21.0px, 0px) scale(1.140); z-index: 5; opacity: 1.00; }
      20.83% { transform: translate3d(-236.6px, 10.9px, 0px) scale(1.072); z-index: 5; opacity: 1.00; }
      25.00% { transform: translate3d(-245.0px, 0.0px, 0px) scale(1.000); z-index: 2; opacity: 0.88; }
      29.17% { transform: translate3d(-236.6px, -10.9px, 0px) scale(0.928); z-index: 2; opacity: 0.85; }
      33.33% { transform: translate3d(-212.2px, -21.0px, 0px) scale(0.860); z-index: 2; opacity: 0.82; }
      37.50% { transform: translate3d(-173.2px, -29.7px, 0px) scale(0.802); z-index: 2; opacity: 0.80; }
      41.67% { transform: translate3d(-122.5px, -36.4px, 0px) scale(0.758); z-index: 2; opacity: 0.78; }
      45.83% { transform: translate3d(-63.4px, -40.6px, 0px) scale(0.730); z-index: 2; opacity: 0.76; }
      50.00% { transform: translate3d(0.0px, -42.0px, 0px) scale(0.720); z-index: 2; opacity: 0.75; }
      54.17% { transform: translate3d(63.4px, -40.6px, 0px) scale(0.730); z-index: 2; opacity: 0.76; }
      58.33% { transform: translate3d(122.5px, -36.4px, 0px) scale(0.758); z-index: 2; opacity: 0.78; }
      62.50% { transform: translate3d(173.2px, -29.7px, 0px) scale(0.802); z-index: 2; opacity: 0.80; }
      66.67% { transform: translate3d(212.2px, -21.0px, 0px) scale(0.860); z-index: 2; opacity: 0.82; }
      70.83% { transform: translate3d(236.6px, -10.9px, 0px) scale(0.928); z-index: 2; opacity: 0.85; }
      75.00% { transform: translate3d(245.0px, 0.0px, 0px) scale(1.000); z-index: 2; opacity: 0.88; }
      79.17% { transform: translate3d(236.6px, 10.9px, 0px) scale(1.072); z-index: 5; opacity: 1.00; }
      83.33% { transform: translate3d(212.2px, 21.0px, 0px) scale(1.140); z-index: 5; opacity: 1.00; }
      87.50% { transform: translate3d(173.2px, 29.7px, 0px) scale(1.198); z-index: 5; opacity: 1.00; }
      91.67% { transform: translate3d(122.5px, 36.4px, 0px) scale(1.242); z-index: 5; opacity: 1.00; }
      95.83% { transform: translate3d(63.4px, 40.6px, 0px) scale(1.270); z-index: 5; opacity: 1.00; }
      100.00% { transform: translate3d(0.0px, 42.0px, 0px) scale(1.280); z-index: 5; opacity: 1.00; }
    }

    /* Kuliste sfery 3D z ikonami modeli AI */
    .ai-orb-badge {
      position: absolute;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, filter 0.25s ease;
      cursor: pointer;
    }

    /* Efekt po najechaniu myszą: powiększenie, rozbłysk i wstrzymanie */
    .ai-orb-badge:hover {
      transform: translate(-50%, -50%) scale(1.28) !important;
      filter: blur(0px) brightness(1.22) !important;
      z-index: 30 !important;
      box-shadow: 0 0 35px rgba(190, 242, 100, 0.8), inset 0 2px 6px rgba(255, 255, 255, 1) !important;
    }



    /* Gniazdo na białe logo SVG bez ciemnego tła */
    .ai-orb-socket {
      width: 52%;
      height: 52%;
      display: flex;
      align-items: center;
      justify-content: center;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
    }

    .ai-orb-socket img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    /* Kule 3D w oryginalnych kolorach marek */
    /* 1. Claude: terakota Anthropic */
    .orb-claude {
      width: 56px;
      height: 56px;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #f6a188 28%, #d97757 65%, #8c3b20 95%, #592010 100%);
      box-shadow: 0 16px 32px -6px rgba(217, 119, 87, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    }

    /* 2. ChatGPT: OpenAI emerald teal — powiększony z miękką głębią */
    .orb-chatgpt {
      width: 72px;
      height: 72px;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #6ee7b7 28%, #10a37f 65%, #065f46 95%, #022c22 100%);
      box-shadow: 0 20px 40px -6px rgba(16, 163, 127, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    }

    /* 3. Gemini: Google DeepMind niebieski & indygo */
    .orb-gemini {
      width: 60px;
      height: 60px;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #93c5fd 28%, #2563eb 65%, #1e3a8a 95%, #0f172a 100%);
      box-shadow: 0 16px 32px -6px rgba(37, 99, 235, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    }

    /* 4. Claude Code: terminal Anthropic rdzawo-pomarańczowy */
    .orb-claudecode {
      width: 52px;
      height: 52px;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #fb923c 28%, #ea580c 65%, #9a3412 95%, #431407 100%);
      box-shadow: 0 16px 32px -6px rgba(234, 88, 12, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    }

    /* 5. DeepSeek: DeepSeek ocean cyan-blue */
    .orb-deepseek {
      width: 46px;
      height: 46px;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #7dd3fc 28%, #0284c7 65%, #075985 95%, #082f49 100%);
      box-shadow: 0 14px 28px -6px rgba(2, 132, 199, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    }

    /* 6. n8n: n8n koralowo-czerwony róż */
    .orb-n8n {
      width: 50px;
      height: 50px;
      background: radial-gradient(circle at 32% 28%, #ffffff 0%, #fda4af 28%, #ea4b71 65%, #9f1239 95%, #4c0519 100%);
      box-shadow: 0 16px 32px -6px rgba(234, 75, 113, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    }



    /* Responsywność */
    @media (max-width: 1024px) {
      .hero-section {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
        padding-top: 16px;
      }

      .hero-content {
        max-width: 720px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .hero-desc {
        margin-left: auto;
        margin-right: auto;
      }

      .signup-pill {
        margin: 0 auto;
        width: 100%;
      }

      .trust-metrics {
        justify-content: center;
      }

      .hero-visual {
        min-height: 500px;
      }

      .stage-canvas {
        max-width: 420px;
        height: 500px;
      }

      .hero-circle-backdrop {
        width: 360px;
        height: 360px;
      }

      .dashed-ring {
        width: 410px;
        height: 410px;
      }

      .author-image {
        max-width: 350px;
      }
    }

    @media (max-width: 640px) {
      .page-wrap {
        padding: 0 20px;
      }

      .hero-title {
        font-size: var(--wp--preset--font-size--ogromny);
      }

      .hero-desc {
        font-size: var(--wp--preset--font-size--duzy);
        color: #cbd5e1;
      }

      .orb-3d-floating {
        display: none;
      }

      .orb-1, .orb-2 {
        opacity: 0.32;
      }

      .signup-pill {
        display: flex;
        flex-direction: column;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        width: 100%;
        max-width: 100%;
        gap: 10px;
      }

      .signup-input-wrap {
        width: 100%;
      }

      .name-wrap, .email-wrap {
        flex: none;
        width: 100%;
      }

      .input-divider {
        display: none;
      }

      .signup-input {
        width: 100%;
        box-sizing: border-box;
        background: rgba(14, 20, 34, 0.85);
        border: 1.5px solid var(--border-soft);
        border-radius: 14px;
        padding: 14px 18px;
        font-size: var(--wp--preset--font-size--zwykly);
        color: var(--text-main);
        text-align: left;
      }

      .signup-input:focus {
        border-color: var(--lime-bright);
        box-shadow: 0 0 16px rgba(163, 230, 53, 0.22);
      }

      .signup-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: var(--wp--preset--font-size--zwykly);
        border-radius: 14px;
        margin-top: 4px;
      }

      .trust-metrics {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 18px;
        width: 100%;
      }

      .metric-divider {
        display: none;
      }

      .hero-visual {
        min-height: auto;
        padding-top: 10px;
        margin-top: 8px;
      }

      .site-header {
        padding: 16px 20px;
        justify-content: flex-start;
      }

      .stage-canvas {
        width: 100%;
        max-width: 320px;
        height: 380px;
        position: relative;
        margin: 0 auto;
        display: flex;
        align-items: flex-end;
        justify-content: center;
      }

      .hero-circle-backdrop {
        width: 270px;
        height: 270px;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 50%;
      }

      .dashed-ring {
        display: none !important;
      }

      .author-image {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 254px;
        max-width: 254px;
        height: 360px;
        object-fit: contain;
      }

      /* Kule modeli AI krążące w płynnej eliptycznej orbicie nad dłonią Łukasza na mobile */
      @keyframes orbit-mobile-palm {
        0.00% { transform: translate3d(0.0px, 16.0px, 0) scale(1.10); z-index: 12; opacity: 1.00; }
        4.17% { transform: translate3d(19.7px, 15.5px, 0) scale(1.09); z-index: 12; opacity: 1.00; }
        8.33% { transform: translate3d(38.0px, 13.9px, 0) scale(1.08); z-index: 12; opacity: 0.98; }
       12.50% { transform: translate3d(53.7px, 11.3px, 0) scale(1.05); z-index: 12; opacity: 0.96; }
       16.67% { transform: translate3d(65.8px, 8.0px, 0) scale(1.02); z-index: 12; opacity: 0.93; }
       20.83% { transform: translate3d(73.4px, 4.1px, 0) scale(0.98); z-index: 12; opacity: 0.90; }
       25.00% { transform: translate3d(76.0px, 0.0px, 0) scale(0.94); z-index: 12; opacity: 0.86; }
       29.17% { transform: translate3d(73.4px, -4.1px, 0) scale(0.90); z-index: 2; opacity: 0.82; }
       33.33% { transform: translate3d(65.8px, -8.0px, 0) scale(0.86); z-index: 2; opacity: 0.79; }
       37.50% { transform: translate3d(53.7px, -11.3px, 0) scale(0.83); z-index: 2; opacity: 0.76; }
       41.67% { transform: translate3d(38.0px, -13.9px, 0) scale(0.80); z-index: 2; opacity: 0.74; }
       45.83% { transform: translate3d(19.7px, -15.5px, 0) scale(0.79); z-index: 2; opacity: 0.72; }
       50.00% { transform: translate3d(0.0px, -16.0px, 0) scale(0.78); z-index: 2; opacity: 0.72; }
       54.17% { transform: translate3d(-19.7px, -15.5px, 0) scale(0.79); z-index: 2; opacity: 0.72; }
       58.33% { transform: translate3d(-38.0px, -13.9px, 0) scale(0.80); z-index: 2; opacity: 0.74; }
       62.50% { transform: translate3d(-53.7px, -11.3px, 0) scale(0.83); z-index: 2; opacity: 0.76; }
       66.67% { transform: translate3d(-65.8px, -8.0px, 0) scale(0.86); z-index: 2; opacity: 0.79; }
       70.83% { transform: translate3d(-73.4px, -4.1px, 0) scale(0.90); z-index: 2; opacity: 0.82; }
       75.00% { transform: translate3d(-76.0px, -0.0px, 0) scale(0.94); z-index: 2; opacity: 0.86; }
       79.17% { transform: translate3d(-73.4px, 4.1px, 0) scale(0.98); z-index: 12; opacity: 0.90; }
       83.33% { transform: translate3d(-65.8px, 8.0px, 0) scale(1.02); z-index: 12; opacity: 0.93; }
       87.50% { transform: translate3d(-53.7px, 11.3px, 0) scale(1.05); z-index: 12; opacity: 0.96; }
       91.67% { transform: translate3d(-38.0px, 13.9px, 0) scale(1.08); z-index: 12; opacity: 0.98; }
       95.83% { transform: translate3d(-19.7px, 15.5px, 0) scale(1.09); z-index: 12; opacity: 1.00; }
      100.00% { transform: translate3d(0.0px, 16.0px, 0) scale(1.10); z-index: 12; opacity: 1.00; }
      }

      .orbit-stage {
        position: absolute !important;
        top: auto !important;
        bottom: 125px !important;
        left: 54% !important;
        transform: translateX(-50%) !important;
        width: 0 !important;
        height: 0 !important;
        display: block !important;
        pointer-events: auto !important;
        z-index: 25 !important;
        margin: 0 !important;
      }

      .palm-portal-glow {
        display: block !important;
        position: absolute !important;
        bottom: -22px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 140px !important;
        height: 44px !important;
        background: radial-gradient(ellipse at center, rgba(163, 230, 53, 0.65) 0%, rgba(132, 204, 22, 0.25) 45%, transparent 75%) !important;
        filter: blur(9px) !important;
        pointer-events: none !important;
        z-index: 1 !important;
        animation: none !important;
      }

      .orbit-track-ring {
        display: none !important;
      }

      .orbit-slot {
        position: absolute !important;
        width: 34px !important;
        height: 34px !important;
        top: -17px !important;
        left: -17px !important;
        animation-name: orbit-mobile-palm !important;
        animation-duration: 18s !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
        animation-delay: var(--delay) !important;
        will-change: transform;
      }

      .ai-orb-badge {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 34px !important;
        height: 34px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
        transition: transform 0.2s ease !important;
      }

      .ai-orb-badge:hover,
      .ai-orb-badge:active {
        transform: scale(1.15) !important;
      }

      .orb-chatgpt,
      .orb-claude,
      .orb-gemini,
      .orb-claudecode,
      .orb-deepseek,
      .orb-n8n {
        filter: none !important;
        width: 34px !important;
        height: 34px !important;
      }

    }

    /* ==========================================================================
       SEKCJA METRYK: Panel 4 kafelków (1 duża liczba + czytelny podpis)
       ========================================================================== */
    .metrics-section {
      margin-top: 60px;
      padding: 20px 0;
      position: relative;
      z-index: 10;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .metric-box {
      background: rgba(14, 20, 15, 0.75);
      border: 1px solid rgba(163, 230, 53, 0.16);
      border-radius: 18px;
      padding: 26px 22px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      backdrop-filter: blur(12px);
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .metric-box:hover {
      transform: translateY(-3px);
      border-color: rgba(163, 230, 53, 0.35);
      box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
    }

    .metric-box-number {
      font-family: var(--font-heading);
      font-size: var(--wp--preset--font-size--ogromny);
      font-weight: 850;
      color: #a3e635;
      letter-spacing: -0.035em;
      line-height: 1;
      margin-bottom: 8px;
    }

    .metric-box-title {
      font-size: var(--wp--preset--font-size--zwykly);
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 4px;
    }

    .metric-box-desc {
      font-size: var(--wp--preset--font-size--maly);
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* ==========================================================================
       SEKCJA OSTATNICH WYDAŃ: Karty z zajawkami i linkami do pełnych wersji
       ========================================================================== */
    .recent-issues-section {
      margin-top: 100px;
      position: relative;
      z-index: 10;
    }

    .section-header {
      margin-bottom: 36px;
    }

    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 5px 12px;
      border-radius: 9999px;
      background: rgba(163, 230, 53, 0.1);
      border: 1px solid rgba(163, 230, 53, 0.22);
      font-family: var(--font-mono);
      font-size: var(--wp--preset--font-size--maly);
      font-weight: 700;
      color: #a3e635;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .section-title {
      font-family: var(--font-heading);
      font-size: var(--wp--preset--font-size--ogromny);
      font-weight: 800;
      letter-spacing: -0.025em;
      color: var(--text-main);
      margin-bottom: 10px;
    }

    .section-desc {
      font-size: var(--wp--preset--font-size--zwykly);
      color: var(--text-muted);
      max-width: 620px;
      line-height: 1.55;
    }

    .issues-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      max-width: 820px;
      margin: 0 auto;
    }

    .issue-card {
      background: rgba(14, 20, 15, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      backdrop-filter: blur(12px);
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
      position: relative;
    }

    .issue-card:hover {
      transform: translateY(-4px);
      border-color: rgba(163, 230, 53, 0.32);
      box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.7);
    }

    .issue-top-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .issue-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: var(--wp--preset--font-size--maly);
      font-weight: 700;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      background: rgba(255, 255, 255, 0.06);
      color: #cbd5e1;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .issue-date {
      font-family: var(--font-mono);
      font-size: var(--wp--preset--font-size--maly);
      color: #64748b;
    }

    .issue-number {
      font-family: var(--font-mono);
      font-size: var(--wp--preset--font-size--maly);
      font-weight: 700;
      color: #a3e635;
      margin-bottom: 6px;
    }

    .issue-heading {
      font-family: var(--font-heading);
      font-size: var(--wp--preset--font-size--sredni);
      font-weight: 750;
      color: var(--text-main);
      line-height: 1.35;
      margin-bottom: 12px;
    }

    .issue-snippet {
      font-size: var(--wp--preset--font-size--zwykly);
      color: var(--text-muted);
      line-height: 1.55;
      margin-bottom: 24px;
      flex-grow: 1;
    }

    .issue-read-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border-radius: 10px;
      background: rgba(163, 230, 53, 0.1);
      border: 1px solid rgba(163, 230, 53, 0.25);
      color: #a3e635;
      font-size: var(--wp--preset--font-size--maly);
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
      align-self: flex-start;
    }

    .issue-read-btn:hover {
      background: #a3e635;
      border-color: #a3e635;
      color: #0c140c;
    }

    .issue-read-btn svg {
      width: 14px;
      height: 14px;
      transition: transform 0.2s ease;
    }

    .issue-read-btn:hover svg {
      transform: translateX(3px);
    }

    /* ==========================================================================
       DOLNA SEKCJA CTA: Podsumowujący formularz zapisu
       ========================================================================== */
    .bottom-cta-section {
      margin-top: 100px;
      margin-bottom: 60px;
      background: radial-gradient(circle at 50% 0%, rgba(132, 204, 22, 0.12) 0%, rgba(14, 20, 15, 0.85) 65%);
      border: 1px solid rgba(163, 230, 53, 0.24);
      border-radius: 26px;
      padding: 56px 40px;
      text-align: center;
      position: relative;
      z-index: 10;
      backdrop-filter: blur(14px);
    }

    .bottom-cta-title {
      font-family: var(--font-heading);
      font-size: var(--wp--preset--font-size--ogromny);
      font-weight: 800;
      letter-spacing: -0.025em;
      color: var(--text-main);
      margin-bottom: 12px;
    }

    .bottom-cta-desc {
      font-size: var(--wp--preset--font-size--zwykly);
      color: var(--text-muted);
      max-width: 500px;
      margin: 0 auto 30px;
      line-height: 1.55;
    }

    .bottom-cta-form-wrap {
      max-width: 440px;
      margin: 0 auto;
    }

    /* ==========================================================================
       STOPKA: Informacje prawne i autorskie
       ========================================================================== */
    .site-footer {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 36px 0 50px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      z-index: 10;
      font-size: var(--wp--preset--font-size--maly);
      color: #64748b;
    }

    .site-footer a {
      color: #94a3b8;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .site-footer a:hover {
      color: #a3e635;
    }

    .footer-links {
      display: flex;
      gap: 20px;
    }

    /* ==========================================================================
       MODAL Z PEŁNĄ TREŚCIĄ WYDANIA (Podgląd archiwalny)
       ========================================================================== */
    .issue-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.82);
      backdrop-filter: blur(8px);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    .issue-modal-backdrop.is-open {
      opacity: 1;
      pointer-events: auto;
    }

    .issue-modal {
      background: #0f1612;
      border: 1px solid rgba(163, 230, 53, 0.25);
      border-radius: 22px;
      width: 100%;
      max-width: 680px;
      max-height: 85vh;
      overflow-y: auto;
      padding: 36px 32px;
      position: relative;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
      transform: translateY(16px);
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .issue-modal-backdrop.is-open .issue-modal {
      transform: translateY(0);
    }

    .modal-close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #f8fafc;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .modal-close-btn:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    .modal-body h3 {
      font-family: var(--font-heading);
      font-size: var(--wp--preset--font-size--sredni);
      font-weight: 800;
      color: #f8fafc;
      margin: 12px 0 16px;
      line-height: 1.35;
    }

    .modal-body p {
      font-size: var(--wp--preset--font-size--zwykly);
      line-height: 1.65;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .modal-body ul {
      margin: 16px 0 24px 20px;
      color: #cbd5e1;
      font-size: var(--wp--preset--font-size--zwykly);
      line-height: 1.6;
    }

    .modal-body li {
      margin-bottom: 8px;
    }

    /* Dopasowania mobilne dla nowych sekcji */
    @media (max-width: 960px) {
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .issues-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .metric-box {
        padding: 20px 18px;
      }
      .metric-box-number {
        font-size: var(--wp--preset--font-size--ogromny);
      }
      .section-title {
        font-size: var(--wp--preset--font-size--duzy);
      }
      .bottom-cta-section {
        padding: 38px 20px;
        margin-top: 70px;
      }
      .bottom-cta-title {
        font-size: var(--wp--preset--font-size--duzy);
      }
      .site-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
      }
      .issue-modal {
        padding: 24px 18px;
      }
    }

  
    /* Zgoda RODO / Regulamin */
    .consent-label {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 14px;
      font-size: var(--wp--preset--font-size--maly);
      line-height: 1.4;
      color: var(--gray-400);
      cursor: pointer;
      user-select: none;
      text-align: left;
    }
    .hero-content .consent-label {
      justify-content: flex-start;
    }
    .bottom-cta-section .consent-label {
      justify-content: center;
    }
    .consent-label a {
      color: var(--gray-200);
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: color var(--transition-fast);
    }
    .consent-label a:hover {
      color: var(--neon);
    }
    .consent-checkbox {
      width: 16px;
      height: 16px;
      accent-color: var(--neon);
      cursor: pointer;
      flex-shrink: 0;
      border-radius: 4px;
      margin: 0;
    }
    @media (max-width: 640px) {
      .consent-label {
        font-size: 11.5px;
        align-items: flex-start;
      }
      .consent-checkbox {
        margin-top: 2px;
      }
    }

  
/* ==========================================================================
   CZĘŚĆ 2 — TE SAME REGUŁY ZASTOSOWANE DO BLOKÓW WORDPRESSA.
   Strona zapisu ma własne znaczniki (.issue-card, .signup-btn, .metric-box).
   WordPress generuje inne (.wp-block-post, .wp-element-button). Tutaj jedno
   dostaje wygląd drugiego — żeby blog wyglądał jak strona zapisu, nie obok niej.
   ========================================================================== */

/* --- Kontener treści: ta sama szerokość i te same marginesy co page-wrap --- */
.wp-site-blocks > * { position: relative; z-index: 2; }
body { background-color: var(--bg-page); }

/* --- Nagłówek strony: pasek z logo, jak site-header --- */
.lh-header-inner { width: 100%; min-height: 80px; padding-top: 0 !important; padding-bottom: 0 !important; flex-wrap: nowrap; }
.lh-header-inner > .lh-nav { flex: 1; justify-content: center; }
.lh-header-inner > .brand-logo,
.lh-header-inner > .lh-btn-mini { flex: 0 0 auto; }

/* Menu w pasku — w stylu odnośników strony zapisu */
.lh-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--zwykly);
  font-weight: 400;
  transition: color 0.2s ease;
}
.lh-nav a:hover { color: var(--lime-bright); }

/* Przycisk „Newsletter" w pasku = signup-btn w wersji małej */
.lh-btn-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-bright);
  color: #080b11 !important;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(163, 230, 53, 0.35);
  transition: all 0.15s ease;
}
.lh-btn-mini:hover { background: #bef264; transform: scale(1.02); }

/* --- Nagłówki wpisów i stron: skala i krój z .section-title / .hero-title --- */
.wp-block-post-title,
.wp-block-query-title,
h1.wp-block-heading {
  font-size: var(--wp--preset--font-size--ogromny);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
}
h2.wp-block-heading { font-size: var(--wp--preset--font-size--duzy); font-weight: 800; letter-spacing: -0.025em; }
h3.wp-block-heading { font-size: var(--wp--preset--font-size--duzy); font-weight: 750; }
@media (max-width: 640px) {
  .wp-block-post-title, h1.wp-block-heading { font-size: var(--wp--preset--font-size--duzy); }
  h2.wp-block-heading { font-size: var(--wp--preset--font-size--duzy); }
}

/* --- Treść wpisu: rozmiar i kolor jak .hero-desc / .modal-body --- */
.wp-block-post-content {
  font-size: var(--wp--preset--font-size--duzy);
  line-height: 1.75;
  color: #dbe3ec;
}
.wp-block-post-content > * + * { margin-top: 1.35em; }
.wp-block-post-content h2 { margin-top: 2.2em; }
.wp-block-post-content h3 { margin-top: 1.7em; }
.wp-block-post-content strong { color: var(--text-main); }

/* Odnośniki w treści: limonkowa kreska zamiast podkreślenia */
.wp-block-post-content a:where(:not(.wp-element-button)) {
  color: var(--lime-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(163, 230, 53, 0.4);
  transition: border-color 0.2s ease;
}
.wp-block-post-content a:where(:not(.wp-element-button)):hover { border-bottom-color: var(--lime-bright); }

/* --- Karty wpisów na listach = .issue-card ze strony zapisu --- */
.lh-karta {
  background: rgba(14, 20, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.65);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.lh-karta:hover {
  transform: translateY(-4px);
  border-color: rgba(163, 230, 53, 0.32);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.7);
}
.lh-karta .wp-block-post-title { font-size: var(--wp--preset--font-size--sredni); font-weight: 750; line-height: 1.35; letter-spacing: 0; }
.lh-karta .wp-block-post-title a { color: var(--text-main); text-decoration: none; }
.lh-karta .wp-block-post-title a:hover { color: var(--lime-bright); }
.lh-karta .wp-block-post-date { font-size: var(--wp--preset--font-size--maly); color: #64748b; }
.lh-karta .wp-block-post-excerpt { font-size: var(--wp--preset--font-size--maly); color: var(--text-muted); line-height: 1.55; }
.lh-karta .wp-block-post-excerpt__more-link { display: none; }

/* Etykieta kategorii nad tytułem = .issue-badge */
.lh-karta .wp-block-post-terms a,
.wp-block-post-terms a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
.wp-block-post-terms a:hover { border-color: rgba(163, 230, 53, 0.4); color: var(--lime-bright); }

/* --- Przyciski WordPressa = .signup-btn --- */
.wp-element-button,
.wp-block-button__link {
  background: var(--lime-bright);
  color: #080b11;
  border: none;
  border-radius: 14px;
  padding: 16px 28px;
  font-family: inherit;
  font-size: var(--wp--preset--font-size--zwykly);
  font-weight: 750;
  box-shadow: 0 4px 16px rgba(163, 230, 53, 0.35);
  transition: all 0.15s ease;
}
.wp-element-button:hover,
.wp-block-button__link:hover { background: #bef264; transform: scale(1.02); box-shadow: 0 6px 22px rgba(163, 230, 53, 0.5); }

/* Przycisk drugoplanowy = .issue-read-btn */
.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link {
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.25);
  color: #a3e635;
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: none;
}
.is-style-outline .wp-block-button__link:hover { background: #a3e635; border-color: #a3e635; color: #0c140c; }

/* --- Pola formularzy = .signup-input --- */
input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="password"], input[type="number"], input[type="tel"], textarea, select,
.wp-block-search__input {
  background: rgba(14, 20, 34, 0.85);
  border: 1.5px solid var(--border-soft);
  border-radius: 14px;
  padding: 15px 18px;
  font-family: inherit;
  font-size: var(--wp--preset--font-size--zwykly);
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}
input:focus, textarea:focus, select:focus, .wp-block-search__input:focus {
  border-color: var(--lime-bright);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.22);
}
::placeholder { color: var(--text-subtle); }
.wp-block-search__button { border-radius: 14px; }

/* --- Cytat w treści = ramka .issue-card z limonkową kreską --- */
.wp-block-quote {
  background: rgba(14, 20, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--lime-primary);
  border-radius: 18px;
  padding: 22px 26px;
}
.wp-block-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: var(--wp--preset--font-size--maly); color: #a3e635; }

/* --- Numeracja stron listy = .issue-read-btn --- */
.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 700;
  transition: all 0.2s ease;
}
.wp-block-query-pagination a:hover { border-color: rgba(163, 230, 53, 0.4); color: var(--lime-bright); }
.wp-block-query-pagination .page-numbers.current {
  background: rgba(163, 230, 53, 0.1);
  border-color: rgba(163, 230, 53, 0.25);
  color: #a3e635;
}

/* --- Etykieta nad sekcją = .section-eyebrow --- */
.lh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.22);
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 700;
  color: #a3e635;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Stopka: ten sam podział i te same kolory co .site-footer --- */
.lh-footer { background-color: #0b1109; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--wp--preset--font-size--maly); color: #94a3b8; }
.lh-footer a { color: #94a3b8; text-decoration: none; transition: color 0.2s ease; }
.lh-footer a:hover { color: #a3e635; }
.lh-footer h2, .lh-footer h3 { font-size: var(--wp--preset--font-size--duzy); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-subtle); font-weight: 700; }
.lh-footer ul { list-style: none; padding: 0; margin: 0; }
.lh-footer li { margin-bottom: 8px; }

/* --- Obrazki i tabele nie rozpychają strony --- */
img, video { max-width: 100%; height: auto; }
.wp-block-table { overflow-x: auto; }
.wp-block-image img { border-radius: 16px; }

/* --- Stare wpisy niosą wklejony kod arkusza w treści. Do czasu wycięcia
       go z bazy ukrywamy go, żeby nie wyświetlał się jako tekst. --- */
.wp-block-post-content style { display: none !important; }

/* --- Komentarze wpDiscuz na ciemnym tle --- */
#wpdcom, #wpdcom * { color: inherit; }

/* --- Zaproszenie do newslettera pod wpisem = .bottom-cta-section 1:1 --- */
.lh-cta-newsletter {
  margin-top: 80px;
  background: radial-gradient(circle at 50% 0%, rgba(132, 204, 22, 0.12) 0%, rgba(14, 20, 15, 0.85) 65%);
  border: 1px solid rgba(163, 230, 53, 0.24);
  border-radius: 26px;
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(14px);
}
.lh-cta-newsletter h2 {
  font-size: var(--wp--preset--font-size--ogromny);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 12px;
}
.lh-cta-newsletter p {
  font-size: var(--wp--preset--font-size--zwykly);
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 26px;
  line-height: 1.55;
}
.lh-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--lime-bright);
  color: #080b11;
  border-radius: 14px;
  padding: 16px 28px;
  font-size: var(--wp--preset--font-size--zwykly);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(163, 230, 53, 0.35);
  transition: all 0.15s ease;
}
.lh-cta-btn:hover { background: #bef264; transform: scale(1.02); box-shadow: 0 6px 22px rgba(163, 230, 53, 0.5); }
.lh-cta-btn svg { transition: transform 0.15s ease; }
.lh-cta-btn:hover svg { transform: translateX(3px); }
@media (max-width: 640px) {
  .lh-cta-newsletter { padding: 34px 20px; margin-top: 56px; }
  .lh-cta-newsletter h2 { font-size: var(--wp--preset--font-size--duzy); }
}

/* --- „Czytaj dalej" na kartach listy = .issue-read-btn --- */
.lh-read-more, .wp-block-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.25);
  color: #a3e635;
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lh-read-more:hover, .wp-block-read-more:hover { background: #a3e635; border-color: #a3e635; color: #0c140c; }

/* --- Odnośniki poprzedni/następny wpis --- */
.wp-block-post-navigation-link a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.wp-block-post-navigation-link a:hover { color: var(--lime-bright); }

/* --- Karty w siatce równej wysokości --- */
.wp-block-post-template.is-layout-grid > li { display: flex; }
.wp-block-post-template.is-layout-grid > li > .lh-karta { display: flex; flex-direction: column; width: 100%; }
.lh-karta .wp-block-post-excerpt { flex-grow: 1; }

/* --- Ten sam kontener co .page-wrap na stronie zapisu --- */
.lh-page-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .lh-page-wrap { padding: 0 20px; } }

/* ==========================================================================
   POPRAWKI PO UWAGACH ŁUKASZA (05.09, wieczór)
   ========================================================================== */

/* --- Karta wpisu: zdjęcie u góry, pod nim tytuł, data i autor. Bez zajawki. --- */
.lh-karta { padding: 0 !important; overflow: hidden; }
.lh-karta > .wp-block-post-featured-image { max-width: none; width: 100%; margin: 0; }
.lh-karta.has-global-padding > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: none; }
.lh-karta-foto { margin: 0; }
.lh-karta-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
/* Wpis bez zdjęcia nie zostawia dziury — dostaje limonkową poświatę */
.lh-karta-foto:empty {
  display: block;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 35% 30%, rgba(190, 242, 100, 0.28) 0%, rgba(132, 204, 22, 0.12) 45%, rgba(14, 20, 34, 0.9) 100%);
}
.lh-karta-tresc { padding: 22px 24px 26px; }
.lh-karta-tresc .wp-block-post-title { margin: 0 0 12px; font-size: var(--wp--preset--font-size--sredni); line-height: 1.32; }
.lh-karta-meta { font-size: var(--wp--preset--font-size--maly); color: var(--text-subtle); }
.lh-karta-meta .wp-block-post-date,
.lh-karta-meta .wp-block-post-author-name,
.lh-karta-meta p { font-size: var(--wp--preset--font-size--maly); color: var(--text-subtle); margin: 0; }
.lh-karta-meta a { color: var(--text-subtle); text-decoration: none; }
.lh-karta-meta a:hover { color: var(--lime-bright); }

/* --- Spis treści: blok „Table of Contents" z wtyczki Ultimate Addons.
       Wtyczka wstawia biały prostokąt z czarnym tekstem — na ciemnym tle
       wyglądał jak wycięta dziura. Tu dostaje kolory motywu. --- */
.wp-block-uagb-table-of-contents,
.uagb-toc__wrap {
  background: rgba(14, 20, 34, 0.85) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;
  padding: 24px 28px !important;
  box-shadow: none !important;
}
/* Spis treści zawsze odsunięty od pierwszych akapitów — bez tego blok wtyczki
   miał `margin-bottom: 0` i tekst zaczynał się tuż pod ramką. */
.wp-block-uagb-table-of-contents,
.uagb-toc__wrap { margin-bottom: 40px !important; }

.uagb-toc__title,
.wp-block-uagb-table-of-contents .uagb-toc__title {
  color: var(--lime-bright) !important;
  font-size: var(--wp--preset--font-size--maly) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px !important;
}
.uagb-toc__list,
.uagb-toc__list-wrap ol,
.uagb-toc__list-wrap ul { color: var(--text-muted) !important; }
.uagb-toc__list li { margin-bottom: 8px !important; }
.uagb-toc__list li::marker { color: var(--text-subtle); }
.uagb-toc__list a,
.wp-block-uagb-table-of-contents a {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border: 0 !important;
  font-size: var(--wp--preset--font-size--zwykly) !important;
  line-height: 1.55 !important;
}
.uagb-toc__list a:hover,
.wp-block-uagb-table-of-contents a:hover { color: var(--lime-bright) !important; }
.uagb-toc-link__trigger, .uagb-toc__title-wrap svg { color: var(--lime-bright) !important; fill: var(--lime-bright) !important; }

/* --- Nagłówki i listy w treści rosną razem z tekstem --- */
.wp-block-post-content h2 { font-size: var(--wp--preset--font-size--ogromny); }
.wp-block-post-content h3 { font-size: var(--wp--preset--font-size--duzy); }
.wp-block-post-content li { margin-bottom: 0.5em; }
.wp-block-post-content ul, .wp-block-post-content ol { padding-left: 1.4em; }
@media (max-width: 640px) {
  .wp-block-post-content { font-size: var(--wp--preset--font-size--duzy); }
  .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--duzy); }
  .wp-block-post-content h3 { font-size: var(--wp--preset--font-size--duzy); }
}

/* Plansza zastępcza w karcie wpisu bez zdjęcia — kolory motywu, nie szara dziura */
.lh-foto-zastepcza {
  display: block;
  width: 100%;
  min-height: 190px;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 28%, rgba(190, 242, 100, 0.30) 0%, rgba(132, 204, 22, 0.14) 42%, transparent 72%),
    radial-gradient(circle at 78% 75%, rgba(163, 230, 53, 0.16) 0%, transparent 60%),
    linear-gradient(160deg, #101a2c 0%, #0b1220 100%);
  position: relative;
  overflow: hidden;
}
.lh-foto-zastepcza::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(163, 230, 53, 0.30) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.5;
}
.lh-foto-zastepcza a { position: absolute; inset: 0; display: block; z-index: 2; }

/* Kropka rozdzielająca datę i autora znika, gdy autora nie ma */
.lh-karta-meta .wp-block-post-author-name:empty { display: none; }

/* ==========================================================================
   WIDOK ARTYKUŁU — przepisany 05.09 z projektu zatwierdzonego przez Łukasza.
   Zasady: tekst leży wprost na tle strony, zero pionowych kresek przy tekście,
   zdjęcie w całości ponad tekstem, odstępy w rytmie ósemki.
   ========================================================================== */

.lh-wpis { padding-top: 48px; }

/* --- Głowa artykułu --- */
.lh-wpis-glowa { margin-bottom: 48px; }
.lh-wpis-glowa > *, .lh-wpis > .lh-kolumna { margin-top: 0 !important; }
.lh-wpis-glowa .wp-block-post-terms { margin: 0 0 24px; }
.lh-wpis-glowa .wp-block-post-terms a {
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.25);
  color: var(--lime-bright);
  border-radius: 999px;
  padding: 5px 12px;
}
.lh-wpis-tytul {
  font-size: var(--wp--preset--font-size--sredni) !important;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin: 0 0 24px;
}
.lh-wpis-meta {
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 600;
  color: var(--text-subtle);
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  margin-bottom: 0;
}
.lh-wpis-meta p,
.lh-wpis-meta .wp-block-post-date,
.lh-wpis-meta .wp-block-post-author-name { margin: 0; font-size: var(--wp--preset--font-size--maly); font-weight: 600; color: var(--text-subtle); }
.lh-wpis-meta .wp-block-post-author-name { color: var(--text-muted); }
.lh-czas-czytania { color: var(--text-muted) !important; }
.lh-kropka { opacity: 0.45; }

/* --- Zdjęcie: całe ponad tekstem, 56 px przerwy --- */
.lh-wpis-foto { margin: 0 0 56px; }
.lh-wpis-foto img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

/* --- Kolumna czytania: wprost na tle, bez płyty --- */
.lh-kolumna .wp-block-post-content { font-size: var(--wp--preset--font-size--zwykly); line-height: 1.7; color: #cbd5e1; }
.lh-kolumna .wp-block-post-content > * + * { margin-top: 1.3em; }

/* Lead: wyróżniony samym stopniem pisma. Zero ramki, zero tła, zero kreski. */
.lh-kolumna .wp-block-post-content > p:first-of-type {
  font-size: var(--wp--preset--font-size--sredni);
  font-weight: 500;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 40px;
  padding-left: 0;
  border: 0;
}

.lh-kolumna .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--ogromny); font-weight: 800; letter-spacing: -0.025em; margin-top: 32px; margin-bottom: 24px; }
.lh-kolumna .wp-block-post-content h3 { font-size: var(--wp--preset--font-size--duzy); font-weight: 750; margin-top: 1.7em; margin-bottom: 0.5em; }

/* Cytat: wyśrodkowany między dwiema poziomymi kreskami. Nigdy pionowa belka. */
.lh-kolumna .wp-block-post-content blockquote,
.lh-kolumna .wp-block-quote {
  background: none;
  border: 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  padding: 48px 0;
  margin: 64px 0;
  text-align: center;
}
.lh-kolumna .wp-block-quote p,
.lh-kolumna .wp-block-post-content blockquote p {
  font-size: var(--wp--preset--font-size--duzy);
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-main);
  margin: 0;
}
.lh-kolumna .wp-block-quote cite,
.lh-kolumna .wp-block-post-content blockquote cite {
  display: block;
  margin-top: 20px;
  font-size: var(--wp--preset--font-size--maly);
  font-style: normal;
  color: var(--text-subtle);
}

/* Lista: limonkowe znaczniki zamiast kropek */
.lh-kolumna .wp-block-post-content ul { list-style: none; padding-left: 0; }
.lh-kolumna .wp-block-post-content ul > li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 16px;
}
.lh-kolumna .wp-block-post-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--lime-bright);
}
.lh-kolumna .wp-block-post-content ol { padding-left: 1.3em; }
.lh-kolumna .wp-block-post-content ol > li { margin-bottom: 16px; }
.lh-kolumna .wp-block-post-content ol > li::marker { color: var(--lime-bright); font-weight: 700; }

/* --- Czytaj dalej --- */
.lh-czytaj-dalej { margin-top: 128px; }
.lh-czytaj-dalej-tytul { font-size: var(--wp--preset--font-size--ogromny) !important; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 36px; }
.lh-karta-gora { margin-bottom: 16px; }
.lh-karta-gora .wp-block-post-date { font-size: var(--wp--preset--font-size--duzy); color: var(--text-subtle); margin: 0; }

/* --- Panel zapisu, jeden do jednego ze strony zapisu --- */
.lh-panel {
  margin: 128px auto 60px;
  max-width: 1176px;
  background: #272a31;
  border: 1px solid rgba(163, 230, 53, 0.25);
  box-shadow: 0 0 40px -10px rgba(163, 230, 53, 0.15);
  border-radius: 26px;
  padding: 56px 40px;
  text-align: center;
  backdrop-filter: blur(14px);
}
.lh-panel-ikona {
  width: 48px; height: 48px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.3);
  color: var(--lime-bright);
  display: flex; align-items: center; justify-content: center;
}
.lh-panel h2 { font-size: var(--wp--preset--font-size--ogromny); font-weight: 800; letter-spacing: -0.025em; color: var(--text-main); margin: 0 0 16px; }
.lh-panel p { font-size: var(--wp--preset--font-size--duzy); color: var(--text-muted); max-width: 512px; margin: 0 auto 32px; line-height: 1.55; }
.lh-panel-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(14, 20, 34, 0.85);
  border: 1.5px solid var(--border-soft);
  border-radius: 9999px;
  padding: 6px;
}
.lh-panel-form input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  padding: 12px 18px;
  font-size: var(--wp--preset--font-size--zwykly);
  color: var(--text-main);
  box-shadow: none !important;
}
.lh-panel-form input:first-of-type { border-right: 1px solid var(--border-soft) !important; max-width: 170px; }
.lh-panel-form button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime-bright);
  color: #080b11;
  border: 0;
  border-radius: 9999px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: var(--wp--preset--font-size--zwykly);
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lh-panel-form button:hover { background: var(--lime-deep); }
.lh-panel-form button svg { transition: transform 0.15s ease; }
.lh-panel-form button:hover svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .lh-wpis { padding-top: 32px; }
  .lh-wpis-tytul { font-size: var(--wp--preset--font-size--zwykly) !important; }
  .lh-wpis-foto { margin-bottom: 36px; }
  .lh-kolumna .wp-block-post-content { font-size: var(--wp--preset--font-size--zwykly); }
  .lh-kolumna .wp-block-post-content > p:first-of-type { font-size: var(--wp--preset--font-size--sredni); }
  .lh-kolumna .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--duzy); }
  .lh-kolumna .wp-block-quote p { font-size: var(--wp--preset--font-size--duzy); }
  .lh-czytaj-dalej { margin-top: 64px; }
  .lh-panel { margin-top: 64px; padding: 38px 20px; }
  .lh-panel h2 { font-size: var(--wp--preset--font-size--duzy); }
  .lh-panel-form { flex-direction: column; border-radius: 20px; gap: 8px; padding: 10px; }
  .lh-panel-form input:first-of-type { border-right: 0 !important; max-width: 100%; width: 100%; }
  .lh-panel-form button { width: 100%; justify-content: center; }
}

/* --- Kule w tle należą do marginesów, nie pod tekst.
       Pod kolumną czytania kładziemy płaski, ciemny pas. --- */
.lh-wpis::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1500px;
  max-width: 108vw;
  transform: translateX(-50%);
  background: #080b11;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 55% at 42% 42%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 55% at 42% 42%, #000 55%, transparent 100%);
}
.lh-wpis { position: relative; }
.lh-wpis > * { position: relative; z-index: 1; }

/* --- Kolumna czytania trzyma tę samą lewą krawędź co tytuł --- */
.lh-wpis-glowa, .lh-kolumna, .lh-wpis-foto { margin-left: 0; margin-right: auto; }
.lh-kolumna { max-width: 780px; margin-left: 0 !important; margin-right: auto !important; }
.lh-kolumna > .wp-block-post-content,
.lh-kolumna .wp-block-post-content > *:not(.alignwide):not(.alignfull) {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 780px;
}
.lh-wpis-glowa { max-width: 780px; margin-left: 0 !important; }
.lh-wpis-foto { max-width: 1176px; margin-left: 0 !important; }

/* Kontener artykułu trzyma szerokość i marginesy strony zapisu;
   dopiero jego dzieci równają się do jego lewej krawędzi. */
.lh-wpis {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}
@media (max-width: 640px) { .lh-wpis { padding-left: 20px; padding-right: 20px; } }


/* ==========================================================================
   TŁO STRONY — przepisane z projektu zatwierdzonego w Stitchu.
   Dwie kule o przezroczystości 0.15 i 0.10 plus siatka kropek 18 px.
   ========================================================================== */
.lh-tlo {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.lh-tlo-siatka {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(163, 230, 53, 0.45) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.3;
}
.lh-tlo-kula {
  position: absolute;
  border-radius: 50%;
  background: #a3e635;
  filter: blur(80px);
}
.lh-tlo-kula-1 { width: 600px; height: 600px; top: -200px; left: -200px; opacity: 0.15; }
.lh-tlo-kula-2 { width: 800px; height: 800px; top: 40%; right: -300px; opacity: 0.1; }

/* Separatory w metryczce: okrągłe punkty 4 px, jak w projekcie */
.lh-wpis-meta .lh-kropka {
  font-size: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

/* Metryczka: awatar i ikona zegara, jak w projekcie */
.lh-wpis-meta .lh-awatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 20, 34, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex: 0 0 auto;
}
.lh-wpis-meta .lh-ikona-zegar {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  flex: 0 0 auto;
}
.lh-wpis-meta { gap: 14px; }

/* Aktywna pozycja w pasku: limonkowa z podkreśleniem, jak w projekcie */
.single-post .lh-nav p:first-child a,
.blog .lh-nav p:first-child a,
.archive .lh-nav p:first-child a {
  color: var(--lime-bright);
  font-weight: 700;
  border-bottom: 2px solid var(--lime-bright);
  padding-bottom: 4px;
}

/* ==========================================================================
   Tlo pozostalych widokow — to samo, co na stronie glownej (D-2026-09-06-01):
   siatka kropek co 18 px w plamach maski oraz cztery swietliste kule.
   ========================================================================== */
.lh-tlo {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.lh-tlo-siatka {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(163, 230, 53, 0.45) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  background-position: center;
  opacity: 0.95;
  -webkit-mask-image:
    radial-gradient(circle 420px at 15% 15%, black 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
    radial-gradient(circle 520px at 85% 35%, black 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
    radial-gradient(circle 320px at 25% 85%, black 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%),
    radial-gradient(circle 260px at 55% 50%, black 0%, rgba(0, 0, 0, 0.3) 35%, transparent 100%);
  mask-image:
    radial-gradient(circle 420px at 15% 15%, black 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
    radial-gradient(circle 520px at 85% 35%, black 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
    radial-gradient(circle 320px at 25% 85%, black 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%),
    radial-gradient(circle 260px at 55% 50%, black 0%, rgba(0, 0, 0, 0.3) 35%, transparent 100%);
}

.lh-tlo-kula {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.lh-tlo-kula-1 {
  width: 520px; height: 520px; top: -140px; left: -140px;
  background: radial-gradient(circle at 35% 35%, #bef264 0%, #84cc16 35%, #4d7c0f 70%, transparent 100%);
  filter: blur(80px); opacity: 0.45;
  animation: lh-dryf-1 22s ease-in-out infinite alternate;
}
.lh-tlo-kula-2 {
  width: 660px; height: 660px; top: 5%; right: -140px;
  background: radial-gradient(circle at 30% 30%, #d9f99d 0%, #a3e635 30%, #65a30d 65%, #14532d 90%, transparent 100%);
  filter: blur(90px); opacity: 0.55;
  animation: lh-dryf-2 26s ease-in-out infinite alternate;
}
.lh-tlo-kula-3 {
  width: 340px; height: 340px; bottom: 2%; left: 16%;
  background: radial-gradient(circle at 35% 35%, #bef264 0%, #84cc16 45%, #365314 85%, transparent 100%);
  filter: blur(65px); opacity: 0.35;
  animation: lh-dryf-3 18s ease-in-out infinite alternate;
}
.lh-tlo-kula-4 {
  width: 280px; height: 280px; top: 45%; left: 42%;
  background: radial-gradient(circle at 40% 40%, #a3e635 0%, #4d7c0f 60%, transparent 100%);
  filter: blur(60px); opacity: 0.22;
  animation: lh-dryf-4 16s ease-in-out infinite alternate;
}

@keyframes lh-dryf-1 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(50px, 35px, 0) scale(1.06); }
  66%  { transform: translate3d(-30px, 65px, 0) scale(0.96); }
  100% { transform: translate3d(35px, 20px, 0) scale(1.03); }
}
@keyframes lh-dryf-2 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  30%  { transform: translate3d(-55px, 45px, 0) scale(1.08); }
  70%  { transform: translate3d(-25px, -50px, 0) scale(0.94); }
  100% { transform: translate3d(40px, 25px, 0) scale(1.04); }
}
@keyframes lh-dryf-3 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(45px, -40px, 0) scale(1.08); }
  100% { transform: translate3d(-25px, 30px, 0) scale(0.95); }
}
@keyframes lh-dryf-4 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-40px, -30px, 0) scale(1.1); }
  100% { transform: translate3d(30px, 35px, 0) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .lh-tlo-kula { animation: none; }
}

/* ==========================================================================
   WIDOK WPISU — przejscie koloru (zlecenie 27, 07.09.2026).
   Wspolne tlo .lh-tlo (siatka i kule) zostaje jedno i nieruchome. Nad nim,
   pod trescia, lezy plyta w kolorze tla strony: u gory przezroczysta, gasnie
   do pelnej czerni w okolicy zdjecia (jak w pierwotnym projekcie: 42% z 1100 px),
   na dole odslania tlo z powrotem przy sekcji newslettera (55% z 1100 px).
   ========================================================================== */
.lh-wpis-przejscie {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 462px,
    var(--wp--preset--color--tlo) 1100px,
    var(--wp--preset--color--tlo) calc(100% - 1100px),
    transparent calc(100% - 495px),
    transparent 100%
  );
}
.lh-stitch > main { position: relative; z-index: 1; }

/* Na wpisie tlo jest ciche jak w projekcie zatwierdzonym 05.09: dwie kule
   0,15 i 0,10 w plaskim kolorze, siatka 0,30, bez animacji i bez masek. */
.single-post .lh-tlo-siatka {
  opacity: 0.3;
  -webkit-mask-image: none;
  mask-image: none;
}
.single-post .lh-tlo-kula {
  background: #a3e635;
  filter: blur(80px);
  animation: none;
}
.single-post .lh-tlo-kula-1 { width: 600px; height: 600px; top: -200px; left: -200px; right: auto; bottom: auto; opacity: 0.15; }
.single-post .lh-tlo-kula-2 { width: 800px; height: 800px; top: 180px; right: -300px; left: auto; bottom: auto; opacity: 0.1; }
.single-post .lh-tlo-kula-3 { width: 700px; height: 700px; bottom: -180px; left: -200px; right: auto; top: auto; opacity: 0.15; }
.single-post .lh-tlo-kula-4 { width: 800px; height: 800px; bottom: 120px; right: -320px; left: auto; top: auto; opacity: 0.1; }

/* Karta wpisu na liscie — ten sam ciemny kafel, co na stronie glownej */
.lh-karta {
  background: #0e140f !important;
  backdrop-filter: none !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  border-radius: 16px !important;
}
.lh-karta-foto,
.lh-karta-foto img { aspect-ratio: 16 / 10; }
.lh-karta-foto:empty { aspect-ratio: 16 / 10; }
.lh-karta-foto img { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.lh-karta:hover .lh-karta-foto img { transform: scale(1.05); }
.lh-karta-tresc .wp-block-post-excerpt { margin: 0 0 14px; }
.lh-karta-meta { margin-top: auto; }

/* Kolejnosc i wyglad elementow karty wpisu, zgodnie z kartami na stronie glownej */
.lh-karta-tresc { display: flex; flex-direction: column; }
.lh-karta-meta { order: 1; margin-top: 0; margin-bottom: 14px; }
.lh-karta-tresc .wp-block-post-title { order: 2; }
.lh-karta-tresc .wp-block-post-excerpt { order: 3; flex: 1; }
.lh-karta-tresc .wp-block-read-more { order: 4; margin-top: auto; }

/* Kategorie w karcie wpisu. Wcześniej stało tu `font-size: 0`, żeby schować przecinek
   między odnośnikami — razem z przecinkiem znikał jednak odstęp i nazwy zlewały się
   w jeden ciąg („MARKETINGCOPYWRITINGPODCAST”). Teraz przecinek chowamy wprost,
   a odstęp daje siatka, która przy trzech i czterech kategoriach łamie wiersz. */
.lh-karta-meta .wp-block-post-terms {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 4px;
  font-size: var(--wp--preset--font-size--maly);
}
.lh-karta-meta .wp-block-post-terms .wp-block-post-terms__separator { display: none; }
.lh-karta-meta .wp-block-post-terms a {
  font-size: var(--wp--preset--font-size--maly);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0;
  background: none;
  border: 0;
  color: var(--lime-bright);
}
.lh-karta-meta .wp-block-post-terms a:hover { color: #ffffff; }
.lh-karta-meta .wp-block-post-date { font-size: var(--wp--preset--font-size--maly); color: rgba(223, 230, 238, 0.6); }
.lh-karta-meta .wp-block-post-date::before { content: "· "; }

.lh-karta-tresc .wp-block-post-excerpt__excerpt { font-size: var(--wp--preset--font-size--maly); color: var(--text-muted); line-height: 1.55; }
.lh-karta .wp-block-read-more {
  color: var(--lime-bright);
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 700;
  text-decoration: none;
}
.lh-karta:hover .wp-block-read-more { text-decoration: underline; text-underline-offset: 4px; }

/* Blok „Czytaj artykuł" ma domyslnie ramke przycisku — na karcie ma byc zwyklym odnosnikiem */
.lh-karta .wp-block-read-more {
  border: 0 !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
}

/* Stopka pozostalych widokow — ten sam uklad i te same odnosniki, co na stronie glownej */
.lh-footer-marka {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--wp--preset--font-size--sredni);
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 12px;
}
.lh-footer-opis {
  font-size: var(--wp--preset--font-size--maly);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 22px;
  max-width: 34ch;
}
.lh-footer-naglowek {
  font-size: var(--wp--preset--font-size--maly) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lime-bright) !important;
  margin: 0 0 18px;
}
.lh-footer-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lh-footer-lista a { font-size: var(--wp--preset--font-size--maly); color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.lh-footer-lista a:hover { color: var(--lime-bright); }

.lh-footer-dol {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: var(--wp--preset--font-size--maly);
}
.lh-footer-prawa { color: rgba(223, 230, 238, 0.6); }
.lh-footer-formalne { display: flex; flex-wrap: wrap; gap: 24px; }
.lh-footer-formalne a { color: var(--text-muted); text-decoration: none; }
.lh-footer-formalne a:hover { color: var(--lime-bright); }

.lh-footer .wp-block-social-links .wp-social-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lh-footer .wp-block-social-links .wp-social-link:hover {
  background: var(--lime-bright);
  border-color: var(--lime-bright);
  color: #0b1109;
  transform: translateY(-2px);
}

/* Naglowek na telefonie: menu nie miesci sie w jednym rzedzie i naklada sie na nazwisko.
   Ponizej 900 px chowamy je i zostawiamy nazwisko oraz guzik SmartLettera. */
@media (max-width: 900px) {
  .lh-header-inner { gap: 12px; }
  .lh-header-inner > .lh-nav { display: none; }
  .lh-header-inner > .brand-logo { font-size: var(--wp--preset--font-size--zwykly); }
}

/* ==========================================================================
   Naglowek — JEDEN dla calego serwisu (parts/header.html). Wyglad przeniesiony
   ze strony glownej: przyklejony pasek z rozmyciem, menu na srodku, guzik po prawej.
   ========================================================================== */
.lh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(14, 20, 15, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lh-header-inner {
  width: 100%;
  max-width: 1176px;
  margin: 0 auto;
  min-height: 80px;
  padding: 0 24px !important;
  gap: 24px;
  flex-wrap: nowrap;
}

.brand-logo {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--wp--preset--font-size--sredni);
  font-weight: 750;
  color: #ffffff;
  text-decoration: none;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.brand-logo:hover { transform: scale(1.04); }

.lh-header-inner > .wp-block-navigation { flex: 1; justify-content: center; }
.lh-header-inner > .lh-btn-mini { flex: 0 0 auto; }

.lh-header .wp-block-navigation a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--zwykly);
  transition: color 0.2s ease;
}
.lh-header .wp-block-navigation a:hover { color: var(--lime-bright); }

/* Tresc zaczyna sie pod przyklejonym paskiem — dynamiczny padding wg UX 2026 */
:root {
  --lh-header-h: 81px;
  --lh-hero-pt: calc(var(--lh-header-h, 81px) + 48px);
  --oddech-sekcja: 120px;   /* 112-128 px miedzy sekcjami */
  --oddech-blok: 48px;
  --oddech-element: 28px;  /* 24-32 px miedzy naglowkiem a trescia */
}

@media (max-width: 900px) {
  .lh-header-inner { min-height: 68px; padding: 0 18px !important; gap: 12px; }
  .brand-logo { font-size: var(--wp--preset--font-size--zwykly); }
}

/* Sekcja otwarcia zaczyna sie pod paskiem w kazdej szerokosci */
.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group:not(.lh-header):not(.lh-footer),
.lh-glowna > section:first-of-type,
.lh-glowna.w-full > section:first-of-type,
.lh-szkolenia section.lh-hero,
.lh-stitch > main,
.lh-stitch > section:first-of-type {
  padding-top: var(--lh-hero-pt) !important;
  margin-top: 0 !important;
}

/* ==========================================================================
   ODDECH — jedna skala odstepow wg standardu UX 2026.
   ========================================================================== */
.lh-glowna > section.mb-section-gap,
.lh-glowna.w-full > section.mb-section-gap,
.lh-szkolenia section {
  margin-bottom: 120px !important;
  margin-top: 0 !important;
}
.lh-glowna > section.mb-section-gap:last-of-type,
.lh-glowna.w-full > section.mb-section-gap:last-of-type,
.lh-szkolenia section:last-of-type {
  margin-bottom: 120px !important;
}

/* Naglowki: miedzy naglowkiem sekcji a trescia 24-32 px */
.lh-eyebrow { margin-bottom: 14px; }
.wp-site-blocks > main > .wp-block-heading:first-of-type,
.wp-site-blocks > main > .wp-block-query-title,
.lh-glowna .mb-header-gap,
.lh-szkolenia .lh-sec-head,
.lh-sec-head,
h2.font-section-title,
.lh-szkolenia h2 {
  margin-bottom: 28px !important;
}

/* Akapity — 18px, linia 1.65, odstep miedzy akapitami 1.1em, max 68ch */
p:not(.lead):not(.lh-lead):not(.font-lead),
.lh-glowna p:not(.font-lead),
.lh-szkolenia p:not(.lh-lead),
.lh-karta p,
.lh-box p,
.lh-step p,
.lh-prog p,
.lh-pv p,
.lh-quote,
.kafel-ciemny p {
  font-size: var(--wp--preset--font-size--zwykly) !important; /* 18px */
  line-height: 1.65 !important;
  margin-top: 0 !important;
  margin-bottom: 1.1em !important;
  max-width: 68ch !important;
}

/* Wstep / lead — 21-22 px, linia 1.5 */
.lead,
.lh-lead,
.font-lead,
p.lead,
p.lh-lead,
p.font-lead,
.lh-szkolenia p.lh-lead,
.lh-glowna p.font-lead {
  font-size: var(--wp--preset--font-size--sredni) !important; /* 22px */
  line-height: 1.5 !important;
  max-width: 68ch !important;
  margin-bottom: 1.1em !important;
}

/* Karty: wewnetrzny odstep 40px (32px telefon), odstep miedzy kartami 32px */
.lh-szkolenia .lh-prog,
.lh-szkolenia .lh-step,
.lh-szkolenia .lh-op-card,
.lh-szkolenia .lh-about-box,
.lh-szkolenia .lh-kontakt-box,
.lh-glowna .kafel-ciemny,
.kafel-ciemny {
  padding: 40px !important;
}

@media (max-width: 640px) {
  .lh-szkolenia .lh-prog,
  .lh-szkolenia .lh-step,
  .lh-szkolenia .lh-op-card,
  .lh-szkolenia .lh-about-box,
  .lh-szkolenia .lh-kontakt-box,
  .lh-glowna .kafel-ciemny,
  .kafel-ciemny {
    padding: 32px !important;
  }
}

.lh-szkolenia .lh-prog-list,
.lh-szkolenia .lh-steps,
.lh-glowna .gap-grid-gap,
.grid.gap-grid-gap,
.grid.gap-8,
.wp-block-post-template.is-layout-grid {
  gap: 32px !important;
}

/* Wyszukiwarka i zapytania */
.wp-block-search { margin-bottom: 48px !important; }
.wp-block-search .wp-block-search__input { padding: 18px 22px; }
.wp-block-search .wp-block-search__button { padding: 18px 30px; }
.wp-block-query { margin-bottom: var(--oddech-sekcja) !important; }
.wp-block-query-pagination { margin-top: 48px !important; }
.lh-footer { margin-top: var(--oddech-sekcja) !important; }

/* Naglowki: skala UX 2026 */
h1, .font-hero-title, .lh-szkolenia h1 {
  font-size: var(--wp--preset--font-size--tytulowy) !important;
  line-height: 1.1 !important;
}
h2, .font-section-title, .lh-szkolenia h2 {
  font-size: var(--wp--preset--font-size--ogromny) !important;
  line-height: 1.15 !important;
}
h3, .font-card-title, .lh-szkolenia h3 {
  font-size: var(--wp--preset--font-size--duzy) !important;
  line-height: 1.25 !important;
}
.lead, .lh-lead, .font-lead {
  font-size: var(--wp--preset--font-size--sredni) !important;
  line-height: 1.5 !important;
}
.btn, .font-cta-title, a.group.rounded-button, button[type="submit"] {
  font-size: var(--wp--preset--font-size--zwykly) !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}
.meta, .font-meta, .lh-pr-label, .lh-karta-meta, .lh-meta, .lh-czas-czytania, label {
  font-size: var(--wp--preset--font-size--maly) !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   ZLECENIE 20 (07.09.2026) — jedno zrodlo dla akcentu, przyciskow i koloru
   tekstu kart. Obowiazuje na kazdej podstronie, bo style.css wchodzi wszedzie
   (arkusze Tailwinda — tylko na stronie glownej i w widoku wpisu).
   ========================================================================== */

/* Akcent w naglowkach — JEDNA definicja dla calego serwisu. */
.hl-olive {
  color: #a3e635;
}

/* Kolor tekstu akapitow i kart — ten sam na stronie glownej i na szkoleniach. */
.text-akapit {
  color: var(--wp--preset--color--tekst-akapit);
}

/* Przyciski — jeden zestaw. 18 px / 700 / Plus Jakarta Sans, promien 14 px.
   Duzy 16x32, maly (karty) 10x24, pasek 15 px pisma przy grubosci 700. */
.lh-btn,
.lh-btn-maly,
.lh-btn-mini,
.lh-szkolenia .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--wp--preset--font-size--zwykly);
  font-weight: 700;
  line-height: 1.4;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.lh-btn,
.lh-szkolenia .btn {
  padding: 16px 32px;
}
.lh-btn-maly,
.lh-btn-mini {
  padding: 10px 24px;
}
.lh-btn-mini {
  font-size: 15px;
}

/* Odnosnik-akcja w tekscie (nie przycisk): ta sama skala, bez tla i paddingu. */
.lh-link-akcja {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--wp--preset--font-size--zwykly);
  font-weight: 700;
  line-height: 1.4;
}

/* Ikona koperty nad naglowkiem SmartLettera — rozmiar poza skala pisma. */
.lh-ikona-xl {
  font-size: 48px;
}

/* Telefon (do 640 px): jedna skala dla obu stron — tytul 46, sekcja 28.
   Wczesniej reguly stala tylko na stronie glownej, przez co szkolenia
   trzymaly na telefonie 60 px w h1. Zlecenie 20. */
@media (max-width: 640px) {
  h1,
  .lh-glowna h1,
  .lh-szkolenia h1,
  .text-hero-title,
  .font-hero-title {
    font-size: var(--wp--preset--font-size--ogromny) !important;
  }
  h2,
  .lh-glowna h2,
  .lh-szkolenia h2,
  .text-section-title,
  .font-section-title {
    font-size: var(--wp--preset--font-size--duzy) !important;
  }
}

/* Pasek musi lezec NAD trescia. `.wp-site-blocks > *` daje wszystkim dzieciom
   (header, main, footer) z-index 2, wiec o kolejnosci decydowala pozycja w DOM
   i tresc przewijana pod paskiem rysowala sie na nim. Zlecenie 20. */
.wp-site-blocks > header.wp-block-template-part {
  z-index: 100;
}

/* Rozmiary pisma strony szkolen — przeniesione z inc-szkolenia-stitch.php,
   zeby caly rozmiar pisma serwisu stal w jednym pliku. Wartosci ze skali
   theme.json, bez zmian. Zlecenie 20. */
.lh-szkolenia .lh-prog h3,
.lh-szkolenia .lh-step h3,
.lh-szkolenia details.lh-faq summary {
  font-size: var(--wp--preset--font-size--duzy); /* 28px */
}
.lh-szkolenia .lh-dla {
  font-size: var(--wp--preset--font-size--maly); /* 14px */
}
.lh-szkolenia .lh-pv p,
.lh-szkolenia .lh-prog p,
.lh-szkolenia .lh-step p,
.lh-szkolenia .lh-box p,
.lh-szkolenia .lh-kontakt-box p:not(.lead):not(.lh-lead),
.lh-szkolenia .lh-quote,
.lh-szkolenia .lh-who,
.lh-szkolenia details.lh-faq p.lh-a,
.lh-szkolenia details.lh-faq p {
  font-size: var(--wp--preset--font-size--zwykly); /* 18px */
}
.lh-szkolenia .lead,
.lh-szkolenia .lh-lead,
.lh-szkolenia p.lead,
.lh-szkolenia p.lh-lead,
.lh-szkolenia .lh-kontakt-box p.lead,
.lh-szkolenia .lh-kontakt-box p.lh-lead {
  /* !important konieczne: regula akapitow `.lh-szkolenia p:not(.lh-lead)`
     (linia 2617) ma !important i wyzsza specyficznosc, wiec bez tego
     wstep sekcji spadlby z 22 na 18 px. */
  font-size: var(--wp--preset--font-size--sredni) !important; /* 22px */
}
/* Naglowek nad strumieniem narzedzi celowo mniejszy niz reszta h3 (22, nie 28).
   Tu !important jest konieczne: blok skali wyzej ustawia kazde h3 na 28 z !important. */
.lh-szkolenia .lh-tools-head h3 {
  font-size: var(--wp--preset--font-size--sredni) !important; /* 22px */
}

/* Pozostale rozmiary pisma strony szkolen — przeniesione z inc-szkolenia-stitch.php.
   Wartosci ze skali theme.json, bez zmian. Zlecenie 20. */
.lh-szkolenia .lh-av,
.lh-szkolenia .lh-pv-more,
.lh-modal-close,
.lh-modal-lead,
.lh-kform input[type="text"],
.lh-kform input[type="email"],
.lh-kform textarea,
.flash {
  font-size: var(--wp--preset--font-size--zwykly); /* 18px */
}
.lh-szkolenia .lh-pr-label,
.lh-kform label,
.lh-kform .lh-zgoda span {
  font-size: var(--wp--preset--font-size--maly); /* 14px */
}
.lh-szkolenia .lh-op-mark,
.lh-modal-title {
  font-size: var(--wp--preset--font-size--ogromny); /* 46px */
}
.lh-szkolenia details.lh-faq summary::after {
  font-size: var(--wp--preset--font-size--duzy); /* 28px */
}

/* Pasek WordPressa zalogowanego administratora (32 px, na telefonie 46 px) siedzi nad paskiem menu:
   pasek menu schodzi pod niego, a sekcja otwarcia dostaje tyle samo dodatkowego odstępu. */
body.admin-bar .lh-header { top: 32px; }
body.admin-bar { --lh-hero-pt: calc(var(--lh-header-h, 81px) + 48px + 32px); }
@media (max-width: 782px) {
  body.admin-bar .lh-header { top: 46px; }
  body.admin-bar { --lh-hero-pt: calc(var(--lh-header-h, 81px) + 48px + 46px); }
}

/* ==========================================================================
   Widoki blokowe: kontakt, blog, szukaj (07.09.2026)
   ========================================================================== */
.lh-kontakt, .lh-blog, .lh-smartletter { padding-top: var(--lh-hero-pt) !important; padding-bottom: var(--oddech-sekcja); }
.lh-kontakt-tytul, .lh-blog-tytul, .lh-szukaj-tytul {
  font-size: var(--wp--preset--font-size--tytulowy);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 var(--oddech-element);
  text-wrap: balance;
}
.lh-kontakt-kolumny { gap: 64px; align-items: flex-start; }
.lh-kontakt-karta {
  background: #0e140f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
}
.lh-kontakt-karta-tytul { font-size: var(--wp--preset--font-size--duzy); margin: 0 0 var(--oddech-element); }
:is(.lh-kontakt, .lh-smartletter) .lh-kform { display: flex; flex-direction: column; gap: 16px; }
:is(.lh-kontakt, .lh-smartletter) .lh-kform .hp { display: none !important; }
:is(.lh-kontakt, .lh-smartletter) .lh-kform label { display: block; font-weight: 600; color: #dfe6ee; margin-bottom: 6px; font-size: var(--wp--preset--font-size--zwykly); }
:is(.lh-kontakt, .lh-smartletter) .lh-kform input[type="text"],
:is(.lh-kontakt, .lh-smartletter) .lh-kform input[type="email"],
:is(.lh-kontakt, .lh-smartletter) .lh-kform textarea {
  width: 100%;
  /* 07.09 Łukasz: pola przezroczyste zlewały się z poświatą tła. Pełne ciemne tło jak kafle, wyraźna ramka. */
  background: #0e140f;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--zwykly);
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
:is(.lh-kontakt, .lh-smartletter) .lh-kform input:focus, :is(.lh-kontakt, .lh-smartletter) .lh-kform textarea:focus { outline: none; border-color: #a3e635; }
:is(.lh-kontakt, .lh-smartletter) .lh-kform input::placeholder, :is(.lh-kontakt, .lh-smartletter) .lh-kform textarea::placeholder { color: #9aa8b8; opacity: 1; }
:is(.lh-kontakt, .lh-smartletter) .lh-kform input:focus, :is(.lh-kontakt, .lh-smartletter) .lh-kform textarea:focus { box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.25); }
:is(.lh-kontakt, .lh-smartletter) .lh-kform textarea { min-height: 140px; resize: vertical; }
:is(.lh-kontakt, .lh-smartletter) .lh-kform .lh-zgoda { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
:is(.lh-kontakt, .lh-smartletter) .lh-kform .lh-zgoda input { margin-top: 5px; accent-color: #a3e635; }
:is(.lh-kontakt, .lh-smartletter) .lh-kform .lh-zgoda span { line-height: 1.45; color: #94a3b8; font-size: var(--wp--preset--font-size--maly); }
:is(.lh-kontakt, .lh-smartletter) .lh-kform .lh-zgoda a { color: #a3e635; text-decoration: underline; }
:is(.lh-kontakt, .lh-smartletter) .lh-send-row button {
  width: 100%; justify-content: center; display: inline-flex; align-items: center;
  background: #a3e635; color: #080b11; border: 0; border-radius: 14px; padding: 16px 32px;
  cursor: pointer; box-shadow: 0 4px 16px rgba(163, 230, 53, 0.3); transition: background 0.15s ease, transform 0.15s ease;
}
:is(.lh-kontakt, .lh-smartletter) .lh-send-row button:hover { background: #ccff80; }
:is(.lh-kontakt, .lh-smartletter) .lh-send-row button:active { transform: scale(0.97); }
.lh-flash {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 16px 24px; border-radius: 14px; font-weight: 700; z-index: 999999;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.lh-flash.show { transform: translateX(-50%) translateY(0); }
.lh-flash-ok { background: #a3e635; color: #080b11; }
.lh-flash-err { background: #ef4444; color: #ffffff; }
.lh-blog-szukaj { margin: var(--oddech-element) 0 var(--oddech-blok); }
/* Lead pod tytułem listy i archiwum: do lewej krawędzi kolumny, jak tytuł (układ constrained centruje krótki akapit) */
.wp-site-blocks > main > .lh-eyebrow,
.wp-site-blocks > main > p.lh-lead {
  margin-left: max(0px, calc((100% - 1176px) / 2)) !important;
  margin-right: auto !important;
}
.wp-site-blocks > main > p.lh-lead { max-width: 1176px !important; }
@media (max-width: 900px) {
  .lh-kontakt-kolumny { gap: 32px; }
  .lh-kontakt-karta { padding: 28px 20px; }
}

/* ==========================================================================
   Widok blokowy: strona zapisu SmartLettera i dwie podstrony (zlecenie 22, 07.09.2026).
   Skala pisma i kolory wylacznie z theme.json — zero wlasnych rozmiarow w px.
   ========================================================================== */
.lh-sl-tytul {
  font-size: var(--wp--preset--font-size--tytulowy);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 var(--oddech-element);
  text-wrap: balance;
}
.lh-sl-sekcja-tytul {
  font-size: var(--wp--preset--font-size--ogromny);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 var(--oddech-element);
  text-wrap: balance;
}

/* Otwarcie: tekst z formularzem po lewej, portret z kulami po prawej. */
.lh-sl-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
  margin-bottom: var(--oddech-sekcja);
}
.lh-sl-hero-tekst { min-width: 0; }
.lh-sl-scena { position: relative; min-width: 0; }
@media (max-width: 900px) {
  .lh-sl-hero { display: flex; flex-direction: column; }
  .lh-sl-scena { order: 2; max-width: 420px; margin: 0 auto; }
  .lh-sl-hero-tekst { order: 1; }
}

/* Dwa dowody pod formularzem. */
.lh-sl-dowody {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: var(--oddech-element);
}
.lh-sl-dowod { display: flex; align-items: center; gap: 12px; }
.lh-sl-dowod-ikona {
  width: 42px; height: 42px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.25);
  color: #a3e635;
}
.lh-sl-dowod-ikona svg { width: 22px; height: 22px; }
.lh-sl-dowod-tekst {
  display: flex; flex-direction: column;
  font-size: var(--wp--preset--font-size--maly);
  color: var(--wp--preset--color--tekst-przygaszony);
  line-height: 1.4;
}
.lh-sl-dowod-tekst strong {
  font-size: var(--wp--preset--font-size--zwykly);
  color: var(--wp--preset--color--tekst);
  font-weight: 700;
}

/* Panel liczb. */
.lh-sl-liczby { margin-bottom: var(--oddech-sekcja); }
.lh-sl-liczby-siatka {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--20);
}
@media (max-width: 900px) { .lh-sl-liczby-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lh-sl-liczby-siatka { grid-template-columns: 1fr; } }
.lh-sl-kafel {
  background: #0e140f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
}
.lh-sl-kafel-liczba {
  font-size: var(--wp--preset--font-size--ogromny);
  line-height: 1.1;
  font-weight: 800;
  color: #a3e635;
  margin-bottom: 10px;
}
.lh-sl-kafel-tytul {
  font-size: var(--wp--preset--font-size--zwykly);
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--wp--preset--color--tekst);
}
.lh-sl-kafel p { margin: 0; color: var(--wp--preset--color--tekst-akapit); }

/* Ostatnie wydania. */
.lh-sl-wydania { margin-bottom: var(--oddech-sekcja); }
.lh-sl-wydania-naglowek { margin-bottom: var(--oddech-blok); }
.lh-sl-wydania-siatka {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--20);
}
@media (max-width: 900px) { .lh-sl-wydania-siatka { grid-template-columns: 1fr; } }
.lh-sl-karta {
  display: flex;
  flex-direction: column;
  padding: 28px 24px !important;
  background: #0e140f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}
.lh-sl-karta-gora { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lh-sl-znacznik {
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 600;
  color: #a3e635;
  background: rgba(163, 230, 53, 0.12);
  border-radius: 999px;
  padding: 4px 12px;
}
.lh-sl-numer {
  font-size: var(--wp--preset--font-size--maly);
  font-weight: 600;
  color: var(--wp--preset--color--tekst-przygaszony);
  margin-bottom: 6px;
}
.lh-sl-karta-tytul {
  font-size: var(--wp--preset--font-size--duzy);
  line-height: 1.25;
  font-weight: 750;
  margin: 0 0 12px;
}
.lh-sl-karta-zajawka { color: var(--wp--preset--color--tekst-akapit); flex: 1; }
.lh-sl-karta-link { color: #a3e635; text-decoration: none; margin-top: auto; }
.lh-sl-karta-link:hover { text-decoration: underline; }

/* Dolne zaproszenie. */
.lh-sl-dol {
  background: #0e140f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 48px 40px;
  text-align: center;
}
.lh-sl-dol-form { max-width: 520px; margin: var(--oddech-element) auto 0; text-align: left; }
@media (max-width: 640px) { .lh-sl-dol { padding: 32px 20px; } }

/* Podstrony: potwierdzenie adresu i zapis potwierdzony. */
.lh-sl-srodek { max-width: 720px; margin: 0 auto; text-align: center; }
.lh-sl-srodek .lh-eyebrow { justify-content: center; }
.lh-sl-karta-info {
  background: #0e140f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  text-align: left;
  margin: var(--oddech-blok) 0;
}
.lh-sl-karta-info-gora { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lh-sl-karta-info-ikona {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.25);
  color: #a3e635;
}
.lh-sl-karta-info-tytul {
  font-size: var(--wp--preset--font-size--duzy);
  line-height: 1.25;
  font-weight: 750;
  margin: 0;
}
.lh-sl-karta-info p { color: var(--wp--preset--color--tekst-akapit); }
.lh-sl-nadawca {
  color: #a3e635;
  background: rgba(163, 230, 53, 0.1);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: var(--wp--preset--font-size--maly);
}
.lh-sl-akcja { margin: 0; }

/* Przycisk-odnosnik na podstronach SmartLettera: .lh-btn daje krój, rozmiar i promień,
   tło i kolor dokłada ta regula (tak jak .lh-send-row button na stronie kontaktu). */
.lh-smartletter .lh-sl-akcja .lh-btn {
  background: #a3e635;
  color: #080b11;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(163, 230, 53, 0.3);
  transition: background 0.15s ease, transform 0.15s ease;
}
.lh-smartletter .lh-sl-akcja .lh-btn:hover { background: #ccff80; }
.lh-smartletter .lh-sl-akcja .lh-btn:active { transform: scale(0.97); }
