/* Płynne tło od górnej krawędzi: żadnych zmian na wpisach ani innych stronach. */
body.nmh-home-page {
  background-color: #fcfbfd !important;
  background-image:
    linear-gradient(180deg,rgba(252,251,253,0) 0%,rgba(252,251,253,.25) 45%,#fcfbfd 100%),
    repeating-linear-gradient(0deg,rgba(65,42,76,.032) 0 1px,transparent 1px 44px),
    repeating-linear-gradient(90deg,rgba(65,42,76,.032) 0 1px,transparent 1px 44px),
    radial-gradient(ellipse 80% 70% at 2% 0%,rgba(255,79,154,.14),transparent 72%),
    radial-gradient(ellipse 80% 70% at 100% 0%,rgba(118,87,255,.13),transparent 72%) !important;
  background-size: 100% 900px !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}
body.nmh-home-page :is(#page,.site,.site-content,.content-area,#primary,.entry-content,.wp-site-blocks) {
  background-color: transparent !important;
  background-image: none !important;
}
/* Nagłówek pozostaje z motywu (także jego sticky, rozmycie i menu).
   Nie nadpisujemy globalnych header/nav ani paska administracyjnego WordPressa. */
/* Nowa.Moda / strona główna 1.2.0. Gradient pod nagłówkiem tylko na stronie głównej. */
.nmh[data-nmh-home], .nmh[data-nmh-home] * { box-sizing: border-box; }
.nmh[data-nmh-home] {
  --ink: #17151c; --muted: #69636f; --line: #e9e5ec; --paper: #fff;
  --pink: #c72d79; --violet: #6d4ce4; --blue: #305fce; --cyan: #087e97;
  --world: #984051; --sport: #117652; --amber: #aa6026; --accent: var(--pink);
  color: var(--ink); width: 100%; max-width: none; margin: 0;
  background: transparent;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; isolation: isolate;
}
.nmh[data-nmh-home] [hidden] { display: none !important; }
.nmh[data-nmh-home] a { color: inherit; text-decoration: none; }
.nmh[data-nmh-home] button { font: inherit; color: inherit; cursor: pointer; }
.nmh[data-nmh-home] button:disabled { cursor: default; opacity: .45; }
.nmh[data-nmh-home] :focus-visible { outline: 3px solid #6d4ce4; outline-offset: 4px; }
.nmh[data-nmh-home] h1, .nmh[data-nmh-home] h2, .nmh[data-nmh-home] h3, .nmh[data-nmh-home] p { padding: 0; }
.nmh[data-nmh-home] h1, .nmh[data-nmh-home] h2, .nmh[data-nmh-home] h3 { color: var(--ink); font-family: inherit; font-style: normal; text-transform: none; }
.nmh[data-nmh-home] .nmh-shell { width: min(100% - 48px, 1280px); margin-inline: auto; }
.nmh[data-nmh-home] .nmh-accent--pink { --accent: var(--pink); }
.nmh[data-nmh-home] .nmh-accent--violet { --accent: var(--violet); }
.nmh[data-nmh-home] .nmh-accent--blue { --accent: var(--blue); }
.nmh[data-nmh-home] .nmh-accent--cyan { --accent: var(--cyan); }
.nmh[data-nmh-home] .nmh-accent--world { --accent: var(--world); }
.nmh[data-nmh-home] .nmh-accent--amber { --accent: var(--amber); }
.nmh[data-nmh-home] .nmh-accent--sport { --accent: var(--sport); }
.nmh[data-nmh-home] .nmh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.nmh[data-nmh-home] .nmh-top { position: relative; }
.nmh[data-nmh-home] .nmh-topGrid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 42px; align-items: center; padding-block: 24px 30px; }
.nmh[data-nmh-home] .nmh-eyebrow { margin: 0 0 18px; color: var(--pink); font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: .13em; }
.nmh[data-nmh-home] .nmh-intro h1 { margin: 0; font-size: clamp(42px,4.35vw,62px); line-height: 1.06; font-weight: 850; letter-spacing: -.055em; text-wrap: balance; }
.nmh[data-nmh-home] .nmh-intro h1 span { color: #9b379c; background: linear-gradient(95deg,#ce347d,#7850dd); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nmh[data-nmh-home] .nmh-introText { max-width: 490px; margin: 20px 0 0; color: #625c69; font-size: 17px; line-height: 1.75; }
.nmh[data-nmh-home] .nmh-carousel { min-width: 0; }
.nmh[data-nmh-home] .nmh-carouselHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; margin-bottom: 10px; }
.nmh[data-nmh-home] .nmh-carouselHead h2 { margin: 0; font-size: 13px; font-weight: 750; letter-spacing: .015em; }
.nmh[data-nmh-home] .nmh-slides { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.nmh[data-nmh-home] .nmh-carousel[data-enhanced] .nmh-slides { grid-template-columns: minmax(0,1fr); gap: 0; }
.nmh[data-nmh-home] .nmh-carousel[data-enhanced] .nmh-slide { grid-area: 1 / 1; min-width: 0; }
/* Wszystkie karty wyznaczają wspólną wysokość. Ukryte karty nie mają fokusu i nie są czytane przez AT. */
.nmh[data-nmh-home] .nmh-carousel[data-enhanced] .nmh-slide[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.nmh[data-nmh-home] .nmh-slide { margin: 0; }
.nmh[data-nmh-home] .nmh-cardLink { display: block; height: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.nmh[data-nmh-home] .nmh-cardLink:hover { border-color: #c8bdcf; box-shadow: 0 12px 30px #30203d0b; }
.nmh[data-nmh-home] .nmh-media { display: block; width: 100%; aspect-ratio: 16/9; background: #f0ebf2; overflow: hidden; }
.nmh[data-nmh-home] .nmh-image { display: block; margin: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.nmh[data-nmh-home] .nmh-placeholder { display: grid; height: 100%; place-items: center; background: radial-gradient(ellipse at 20% 20%,#fbe6f1,transparent 75%),#efedf7; color: #49434f; font-size: clamp(18px,3vw,32px); font-weight: 800; letter-spacing: -.06em; }
.nmh[data-nmh-home] .nmh-dot { color: var(--pink); }
.nmh[data-nmh-home] .nmh-cardBody { display: block; padding: 22px 24px; }
.nmh[data-nmh-home] .nmh-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; font-size: 10px; line-height: 1.5; color: #716b77; font-weight: 650; }
.nmh[data-nmh-home] .nmh-category { color: var(--accent); }
.nmh[data-nmh-home] .nmh-meta time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nmh[data-nmh-home] .nmh-cardTitle { margin: 0; font-size: 27px; line-height: 1.2; letter-spacing: -.035em; font-weight: 780; overflow-wrap: anywhere; text-wrap: pretty; }
.nmh[data-nmh-home] .nmh-excerpt { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.nmh[data-nmh-home] .nmh-read { display: inline-flex; align-items: center; gap: 15px; margin-top: 18px; font-size: 12px; font-weight: 700; }
.nmh[data-nmh-home] .nmh-channel { padding-block: 38px 32px; scroll-margin-top: 140px; border-bottom: 1px solid var(--line); }
.nmh[data-nmh-home] .nmh-sectionHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.nmh[data-nmh-home] .nmh-sectionHead > div { max-width: 830px; }
.nmh[data-nmh-home] .nmh-sectionHead h2 { margin: 0; font-size: clamp(27px,3vw,36px); line-height: 1.2; font-weight: 800; letter-spacing: -.045em; }
.nmh[data-nmh-home] .nmh-sectionHead h2::before { display: inline-block; width: 4px; height: .75em; margin-right: 12px; border-radius: 4px; background: var(--accent); content: ''; }
.nmh[data-nmh-home] .nmh-sectionHead p { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.nmh[data-nmh-home] .nmh-more { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-block: 8px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.nmh[data-nmh-home] .nmh-more:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.nmh[data-nmh-home] .nmh-channelGrid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 24px; align-items: start; }
.nmh[data-nmh-home] .nmh-feature { min-width: 0; }
.nmh[data-nmh-home] .nmh-cardLink--feature { display: grid; grid-template-columns: 1fr; }
.nmh[data-nmh-home] .nmh-cardLink--feature .nmh-cardTitle { font-size: clamp(23px,2.1vw,28px); }
.nmh[data-nmh-home] .nmh-smallList { display: grid; gap: 15px; min-width: 0; }
.nmh[data-nmh-home] .nmh-cardLink--small { display: grid; grid-template-columns: 132px minmax(0,1fr); align-items: center; border-radius: 17px; }
.nmh[data-nmh-home] .nmh-cardLink--small .nmh-media { height: 100%; min-height: 130px; aspect-ratio: auto; }
.nmh[data-nmh-home] .nmh-cardLink--small .nmh-cardBody { padding: 17px 18px; }
.nmh[data-nmh-home] .nmh-cardLink--small .nmh-cardTitle { font-size: 18px; line-height: 1.32; letter-spacing: -.025em; }
.nmh[data-nmh-home] .nmh-cardLink--small .nmh-meta { margin-bottom: 8px; font-size: 9px; gap: 5px; }
.nmh[data-nmh-home] .nmh-channelGrid--solo { grid-template-columns: minmax(0,1fr); }
.nmh[data-nmh-home] .nmh-channelGrid--solo .nmh-cardLink--feature { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; }
.nmh[data-nmh-home] .nmh-empty { margin: 0; padding: 26px; color: var(--muted); font-size: 14px; border: 1px dashed #d9d1df; border-radius: 18px; background: #ffffffa8; }
.nmh[data-nmh-home] .nmh-memory { display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 60px; align-items: center; padding: 30px 34px; margin-block: 36px 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(115deg,#fff2f7,#f2effc); }
.nmh[data-nmh-home] .nmh-memory .nmh-eyebrow { margin-bottom: 12px; }
.nmh[data-nmh-home] .nmh-memory h2 { margin: 0; font-size: 29px; line-height: 1.2; letter-spacing: -.04em; }
.nmh[data-nmh-home] .nmh-memory p:not(.nmh-eyebrow) { max-width: 540px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.nmh[data-nmh-home] .nmh-button { display: inline-flex; gap: 26px; align-items: center; min-height: 44px; padding: 11px 22px; margin-top: 17px; color: #fff; background: var(--ink); border-radius: 100px; font-size: 13px; font-weight: 700; }
.nmh[data-nmh-home] .nmh-button:hover { background: #3d2945; }
.nmh[data-nmh-home] .nmh-memoryCards { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; transform: rotate(3deg); }
.nmh[data-nmh-home] .nmh-memoryCards span { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #e7dcec; background: #fff; border-radius: 13px; font-size: 29px; font-weight: 600; color: #7844bf; }
.nmh[data-nmh-home] .nmh-memoryCards span:nth-child(2), .nmh[data-nmh-home] .nmh-memoryCards span:nth-child(5) { color: #fff; border: 0; background: linear-gradient(125deg,#d52e7e,#7952dc); }
@media (max-width: 1100px) {
  .nmh[data-nmh-home] .nmh-topGrid { gap: 32px; }
  .nmh[data-nmh-home] .nmh-cardLink--small { grid-template-columns: 110px minmax(0,1fr); }
  .nmh[data-nmh-home] .nmh-cardLink--small .nmh-cardBody { padding: 15px; }
  .nmh[data-nmh-home] .nmh-cardLink--small .nmh-cardTitle { font-size: 17px; }
}
@media (max-width: 900px) {
  .nmh[data-nmh-home] .nmh-topGrid { grid-template-columns: minmax(0,1fr); gap: 26px; padding-top: 34px; }
  .nmh[data-nmh-home] .nmh-intro h1 { font-size: clamp(40px,6.5vw,57px); }
  .nmh[data-nmh-home] .nmh-intro h1 br { display: none; }
  .nmh[data-nmh-home] .nmh-introText { max-width: 660px; margin-top: 16px; font-size: 16px; }
  .nmh[data-nmh-home] .nmh-cardLink--hero .nmh-cardTitle { font-size: 28px; }
  .nmh[data-nmh-home] .nmh-memory { gap: 30px; grid-template-columns: minmax(0,1fr) 210px; padding: 32px; }
}
@media (max-width: 760px) {
  .nmh[data-nmh-home] .nmh-shell { width: calc(100% - 32px); }
  .nmh[data-nmh-home] .nmh-channelGrid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .nmh[data-nmh-home] .nmh-sectionHead { display: block; margin-bottom: 16px; }
  .nmh[data-nmh-home] .nmh-sectionHead p { max-width: 570px; }
  .nmh[data-nmh-home] .nmh-sectionHead .nmh-more { margin-top: 6px; }
  .nmh[data-nmh-home] .nmh-channel { padding-block: 28px; }
  .nmh[data-nmh-home] .nmh-cardLink--small { grid-template-columns: 132px minmax(0,1fr); }
  .nmh[data-nmh-home] .nmh-cardLink--small .nmh-cardTitle { font-size: 18px; }
  .nmh[data-nmh-home] .nmh-channelGrid--solo .nmh-cardLink--feature { grid-template-columns: 1fr; }
  .nmh[data-nmh-home] .nmh-slides { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nmh[data-nmh-home] .nmh-topGrid { padding-top: 26px; gap: 16px; padding-bottom: 22px; }
  .nmh[data-nmh-home] .nmh-eyebrow { font-size: 10px; margin-bottom: 14px; }
  .nmh[data-nmh-home] .nmh-intro h1 { font-size: 39px; }
  .nmh[data-nmh-home] .nmh-introText { font-size: 14px; line-height: 1.7; }
  .nmh[data-nmh-home] .nmh-cardBody { padding: 18px; }
  .nmh[data-nmh-home] .nmh-cardLink--hero .nmh-cardTitle { font-size: 24px; }
  .nmh[data-nmh-home] .nmh-excerpt { font-size: 13px; }
  .nmh[data-nmh-home] .nmh-cardLink { border-radius: 18px; }
  .nmh[data-nmh-home] .nmh-cardLink--small { grid-template-columns: 92px minmax(0,1fr); border-radius: 14px; }
  .nmh[data-nmh-home] .nmh-cardLink--small .nmh-media { min-height: 119px; }
  .nmh[data-nmh-home] .nmh-cardLink--small .nmh-cardBody { padding: 13px; }
  .nmh[data-nmh-home] .nmh-cardLink--small .nmh-cardTitle { font-size: 16px; line-height: 1.35; }
  .nmh[data-nmh-home] .nmh-cardLink--small .nmh-meta { font-size: 9px; }
  .nmh[data-nmh-home] .nmh-memory { grid-template-columns: minmax(0,1fr); padding: 26px 23px; gap: 24px; margin-top: 32px; }
  .nmh[data-nmh-home] .nmh-memory h2 { font-size: 28px; }
  .nmh[data-nmh-home] .nmh-memoryCards { max-width: 230px; width: 100%; margin: 0 auto; grid-template-columns: repeat(6,1fr); gap: 5px; transform: none; }
  .nmh[data-nmh-home] .nmh-memoryCards span { border-radius: 7px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nmh[data-nmh-home] *, .nmh[data-nmh-home] *::before { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Stała wysokość karuzeli, a odnośnik przy dolnej krawędzi karty. */
.nmh[data-nmh-home] .nmh-cardLink--hero { display: flex; flex-direction: column; }
.nmh[data-nmh-home] .nmh-cardLink--hero .nmh-media { aspect-ratio: 2.05/1; max-height: 300px; flex-shrink: 0; }
.nmh[data-nmh-home] .nmh-cardLink--hero .nmh-cardBody { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.nmh[data-nmh-home] .nmh-cardLink--hero .nmh-read { margin-top: auto; padding-top: 18px; }
.nmh[data-nmh-home] .nmh-carousel[data-enhanced] .nmh-slides { touch-action: pan-y pinch-zoom; }
@media (max-width: 480px) {
  .nmh[data-nmh-home] .nmh-cardLink--hero .nmh-media { aspect-ratio: 16/9; }
}


/* Sterowanie znajduje się WEWNĄTRZ jednej karty; bez widocznej ikony Play. */
.nmh[data-nmh-home] .nmh-carouselFrame { position: relative; min-width: 0; }
.nmh[data-nmh-home] .nmh-carousel[data-enhanced] .nmh-carouselFrame {
  border: 1px solid var(--line); border-radius: 22px; background: #fff;
}
.nmh[data-nmh-home] .nmh-carousel[data-enhanced] .nmh-cardLink--hero {
  border: 0; border-radius: 21px 21px 0 0; background: transparent;
}
.nmh[data-nmh-home] .nmh-carousel[data-enhanced] .nmh-cardLink--hero:hover { box-shadow: none; }
.nmh[data-nmh-home] .nmh-carousel[data-enhanced] .nmh-cardLink--hero:focus-visible { outline-offset: -4px; }
.nmh[data-nmh-home] .nmh-carouselBar {
  display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center;
  gap: 10px; margin: 0 22px; padding: 12px 0 14px; border-top: 1px solid var(--line);
}
.nmh[data-nmh-home] .nmh-carouselCenter { display: grid; justify-items: center; min-width: 0; gap: 1px; }
.nmh[data-nmh-home] .nmh-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.nmh[data-nmh-home] .nmh-dotButton { display: grid; place-items: center; width: 24px; min-height: 28px; padding: 0; background: transparent; border: 0; }
.nmh[data-nmh-home] .nmh-dotButton::before { content: ''; width: 6px; height: 6px; border-radius: 6px; background: #c4b9cf; transition: width .18s ease; }
.nmh[data-nmh-home] .nmh-dotButton[aria-current="true"]::before { width: 18px; background: linear-gradient(90deg,#d73386,#7952dc); }
.nmh[data-nmh-home] .nmh-counter { color: #69636f; font-weight: 500; font-size: 10px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.nmh[data-nmh-home] .nmh-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #e2dce8; border-radius: 50%; background: #fcfaff; touch-action: manipulation; }
.nmh[data-nmh-home] .nmh-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nmh[data-nmh-home] .nmh-arrow:hover { border-color: #a994ba; background: #f5effb; }
.nmh[data-nmh-home] .nmh-channels { border-top: 1px solid var(--line); }
.nmh[data-nmh-home] .nmh-slide:not([hidden]) { opacity: 1; }
/* Nie ma ikony Play. Przycisk STOP jest dostępny czytnikom i ujawnia się przy Tab.
   Nie chowamy go display:none po uruchomieniu JS; fokus zatrzymuje obrót trwale. */
.nmh[data-nmh-home] .nmh-stopAccessible {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.nmh[data-nmh-home] .nmh-stopAccessible:focus {
  clip-path: none; top: 12px; left: 12px; z-index: 5; margin: 0;
  width: auto; max-width: calc(100% - 24px); height: auto; min-height: 44px;
  padding: 10px 14px; border: 1px solid #a994ba; border-radius: 10px;
  background: #fff; color: #272131; font-size: 14px; line-height: 1.4; white-space: normal;
}
@media (max-width: 480px) {
  body.nmh-home-page { background-size: 100% 760px !important; }
  .nmh[data-nmh-home] .nmh-carouselBar { gap: 4px; margin-inline: 12px; grid-template-columns: 40px minmax(0,1fr) 40px; }
  .nmh[data-nmh-home] .nmh-arrow { width: 40px; height: 40px; padding: 9px; }
  .nmh[data-nmh-home] .nmh-cardLink--hero .nmh-media { aspect-ratio: 16/9; max-height: none; }
}
@media (max-width: 374px) {
  .nmh[data-nmh-home] .nmh-dots { max-width: 112px; } /* 4 + 4; cele dotyku nadal >=24px. */
}
