/* ============================================
   PrimeHouse — NewU Content Templates
   Brand: Inter, #eddbc7 accent
   ============================================ */

@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent:      #eddbc7;
  --accent-100:  #c3a38c;
  --accent-75:   #cdb19b;
  --accent-50:   #d8bfa9;
  --accent-25:   #e2cdb8;
  --accent-0:    #f6ede3;
  --black:       #1c1b1f;
  --black-60:    rgba(28,27,31,.6);
  --white:       #ffffff;
  --bg:          #f2f2f2;
  --bg2:         #e7e7e7;
  --radius:      12px;
  --radius-sm:   8px;
}

/* ============================================
   UICONS — thin-rounded (subset 8 kategorii)
   ============================================ */

@font-face {
  font-family: uicons-thin-rounded;
  src: url('fonts/uicons/uicons-thin-rounded.woff2') format('woff2'),
       url('fonts/uicons/uicons-thin-rounded.woff') format('woff');
  font-display: swap;
}

i[class^=fi-tr-]:before, i[class*=" fi-tr-"]:before,
span[class^=fi-tr-]:before, span[class*=fi-tr-]:before {
  font-family: uicons-thin-rounded !important;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fi { display: inline-block; }

/* Ikony kategorii PrimeHouse + like */
.fi-tr-thumbs-up-trust:before    { content: "\fcbd" } /* Like           */
.fi-tr-chart-line-up:before      { content: "\f384" } /* Analityka      */
.fi-tr-megaphone:before          { content: "\f891" } /* Marketing      */
.fi-tr-microchip-ai:before       { content: "\f8b7" } /* Technologie    */
.fi-tr-head-side:before          { content: "\f72f" } /* Rozwój osobisty*/
.fi-tr-legal:before              { content: "\f81e" } /* fallback Prawo */
.fi-tr-point-of-sale-bill:before { content: "\fa11" } /* fallback Sprz. */
/* Dodatkowe — potwierdzone w Pelikan */
.fi-tr-brain:before              { content: "\f2c5" } /* Psychologia    */
.fi-tr-handshake:before          { content: "\f718" } /* Sprzedaż       */
.fi-tr-balance-scale-left:before { content: "\f1f1" } /* Prawo          */

/* ============================================
   HEADER — PrimeHouse branding
   ============================================ */

/* Container headera — marginesy jak hero (40px) */
.polor-header-desktop > .container {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

/* 3-kolumnowy układ: menu | logo | przycisk */
.newu-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.newu-header-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.newu-header-center {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
}

.newu-header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Logo */
.pxl-logo {
  height: 47px;
  width: auto;
  display: block;
}

/* Polor native search — identyczny jak demo */
.newu-header-right .polor-menu-search-el {
  position: relative;
  display: flex;
  align-items: center;
}
.newu-header-right .polor-menu-search {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--search-icon-size, 40px);
  color: var(--polor-icon-color, inherit);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.newu-header-right .polor-menu-search:hover {
  color: var(--polor-icon-hover-color, var(--polor-primary-color, inherit));
}
/* Dropdown — dziedziczy style z parent theme style.css, tu tylko override pozycji */
.newu-header-right .search-form-wrap {
  top: calc(100% + 16px);
  right: 0;
  z-index: 100;
}

/* Separator */
.newu-header-sep {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: currentColor;
  opacity: 0.2;
  margin: 0 12px;
  vertical-align: middle;
}

/* Przycisk Dołącz teraz — pastylka (rozmiar jak demo Polor) */
.newu-join-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-primary, #111);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.newu-join-btn:hover {
  opacity: 0.8;
  color: #fff;
  text-decoration: none;
}

/* Mobile: hamburger-lewo | logo-centrum | lupa-prawo */
.newu-header-mobile-right {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.newu-header-mobile-right .polor-menu-search {
  text-decoration: none;
  color: inherit;
}

.polor-header-mobile .pxl-logo {
  height: 36px;
}

@media (max-width: 768px) {
  .polor-header-desktop > .container,
  .polor-header-mobile > .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ============================================
   HOMEPAGE — kafle kategorii (polor_categories)
   ============================================ */

/* UIcons w kafle — fix line-height i alignment */
.polor-categories-el .icon-wrap i.fi {
  font-family: uicons-thin-rounded !important;
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
}

/* Gap ikona↔tekst */
.polor-categories-el .category-item {
  column-gap: 10px;
}

/* ============================================
   ARCHIVE — topic filter tabs
   ============================================ */

.newu-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 40px 0 48px;
}

.newu-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--bg2);
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.newu-filter__btn .fi {
  font-size: 15px;
  line-height: 1;
}

.newu-filter__btn:hover,
.newu-filter__btn.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ============================================
   ACCESS GATE
   ============================================ */

.newu-gate {
  background: var(--accent-0);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 520px;
  margin: 48px auto;
}

.newu-gate p {
  font-size: 17px;
  margin-bottom: 24px;
  color: var(--black);
}

.newu-gate a.button,
.newu-gate a:first-of-type {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin: 4px;
  transition: opacity .2s;
}

.newu-gate a:last-of-type {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--black-60);
  text-decoration: underline;
}

/* ============================================
   Homepage — PrimeHouse fixes
   ============================================ */

/* Wszystkie buttony Polor — stały padding L/R, bez zawijania, auto szerokość */
.polor-button,
a.polor-button,
button.polor-button,
.polor-button.default {
  white-space: nowrap !important;
  width: auto !important;
  min-width: unset !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Logo box — okrągłe okienko, obiekt cover */
#primehouse-logo-box .polor-image-box-el .box-image img,
.elementor-element-primehouse-logo-box .polor-image-box-el .box-image img {
  border-radius: 50%;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1;
}

/* ============================================
   SINGLE POST — demo Polor Classic layout
   ============================================ */

.newu-single-wrap {
  padding-bottom: 0;
}

/* Nagłówek — wąski, wycentrowany */
.newu-single-header {
  max-width: 740px;
  margin: 56px auto 40px;
  text-align: center;
}

/* Breadcrumb */
.newu-breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  color: var(--black-60);
  margin-bottom: 20px;
}
.newu-breadcrumb a {
  color: var(--black-60);
  text-decoration: none;
}
.newu-breadcrumb a:hover {
  color: var(--black);
}
.newu-breadcrumb span {
  color: var(--black-60);
}

/* Tag tematu */
.newu-single-tag {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.newu-single-tag a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--accent);
  background: var(--accent-0);
  color: var(--black);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.newu-single-tag a:hover {
  background: var(--accent);
}

/* Tytuł */
.newu-single-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 24px;
}

/* Meta: data + czas czytania */
.newu-single-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--black-60);
}
.newu-single-meta__sep {
  opacity: .5;
}

/* Hero image — szeroka, zaokrąglona */
.newu-single-hero {
  max-width: 960px;
  margin: 0 auto 56px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.newu-single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Treść — wąska kolumna */
.newu-single-content {
  max-width: 740px;
  margin: 0 auto;
}
.newu-single-content .post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--black);
}
.newu-single-content .post-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 2em 0 .75em;
  letter-spacing: -.5px;
}
.newu-single-content .post-content h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 1.75em 0 .5em;
}
.newu-single-content .post-content p {
  margin-bottom: 1.5em;
}
.newu-single-content .post-content ul,
.newu-single-content .post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.newu-single-content .post-content li {
  margin-bottom: .5em;
}
.newu-single-content .post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 2em 0;
  background: var(--accent-0);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .newu-single-header { margin: 40px auto 28px; }
  .newu-single-title { letter-spacing: -.5px; }
  .newu-single-hero { border-radius: var(--radius-sm); margin-bottom: 40px; }
  .newu-single-content .post-content { font-size: 16px; }
}

/* ============================================
   LIKES — sekcja polubień (single artykuł)
   ============================================ */

.newu-likes-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 0 64px;
  border-top: 1px solid var(--bg2);
  margin-top: 48px;
}

.newu-likes-label {
  font-size: 16px;
  color: var(--black-60);
  margin: 0;
}

.newu-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid var(--bg2);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}

.newu-like-btn:hover:not(:disabled):not(.is-liked) {
  border-color: var(--black);
}

.newu-like-btn.is-liked {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  cursor: default;
}

.newu-like-btn.is-loading {
  opacity: .6;
  cursor: wait;
}

.newu-like-btn.pop {
  transform: scale(1.08);
}

.newu-like-thumb {
  display: flex;
  align-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.newu-like-thumb svg {
  width: 22px;
  height: 22px;
  transition: fill .2s;
}

.newu-like-btn.is-liked .newu-like-thumb svg path {
  fill: var(--white);
  stroke: var(--white);
}

.newu-like-text {
  font-size: 14px;
  font-weight: 400;
  opacity: .65;
}

/* Like counter na kartach artykułów */
.newu-card-likes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  color: var(--black-60);
}

.newu-card-likes .fi {
  font-size: 14px;
  line-height: 1;
  font-family: uicons-thin-rounded !important;
}

/* Social icons — jednolita paleta złota */
.elementor-element-c23ca88 .polor-social-el .social-icon {
  transition: opacity .2s;
}
.elementor-element-c23ca88 .polor-social-el .social-icon:hover {
  opacity: .8;
}

/* ============================================
   TAXONOMY — newu_topic archive (/temat/SLUG/)
   Demo-style: hero + topic nav + full-width grid
   ============================================ */

/* Hero — jasny, boxed z zaokrąglonymi rogami */
.newu-topic-hero {
  background: var(--accent-0);
  color: var(--black);
  padding: 72px 15px 56px;
  text-align: center;
  margin: 24px 40px 0;
  border-radius: 20px;
}
.newu-topic-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.newu-topic-hero__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-25);
  font-size: 32px;
  line-height: 1;
  color: var(--accent-100);
}
.newu-topic-hero__icon i.fi {
  font-family: uicons-thin-rounded !important;
  font-style: normal;
}
.newu-topic-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin: 0;
  color: var(--black);
}
.newu-topic-hero__desc {
  font-size: 16px;
  color: var(--black-60);
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}
.newu-topic-hero__count {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 500;
  color: var(--accent-100);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Topic nav */
.newu-topic-nav {
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}
.newu-topic-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.newu-topic-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--bg2);
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.newu-topic-nav__item i.fi {
  font-family: uicons-thin-rounded !important;
  font-size: 14px;
  line-height: 1;
}
.newu-topic-nav__item:hover,
.newu-topic-nav__item.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Grid wrapper — marginesy jak hero */
.newu-topic-content {
  margin: 0 40px;
}

/* Grid artykułów */
.newu-topic-grid {
  padding: 48px 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Karty — bordered cards z dużym paddingiem (jak Polor demo) */
.newu-topic-grid .post-item {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius);
  padding: 40px 40px 36px;
  transition: border-color .2s;
}
.newu-topic-grid .post-item:hover {
  border-color: var(--accent);
}
.newu-topic-grid .post-item .post-featured-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.newu-topic-grid .post-item .post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Gradient overlay — czarny od dołu, znika na hover */
.newu-topic-grid .post-item .post-featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
  transition: opacity .3s;
  pointer-events: none;
}
.newu-topic-grid .post-item:hover .post-featured-image::after {
  opacity: 0;
}
.newu-topic-grid .post-item .post-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.newu-topic-grid .post-item .blog-item-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 4px;
  margin-bottom: 30px;
}
.newu-topic-grid .post-item .blog-item-title a {
  color: var(--black);
  text-decoration: none;
  transition: opacity .2s;
}
.newu-topic-grid .post-item .blog-item-title a:hover {
  opacity: .7;
}
.newu-topic-grid .post-item .post-item-meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
}

/* Pagination wewnątrz gridu — full width */
.newu-topic-grid .polor-pagination {
  grid-column: 1 / -1;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .newu-topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .newu-topic-grid { grid-template-columns: 1fr; }
  .newu-topic-hero { padding: 48px 15px 40px; margin: 16px 15px 0; }
  .newu-topic-content { margin: 0 15px; }
}

/* Post grid — 20px gap od zdjęcia do etykiety kategorii */
.polor-post .post-item .item-content {
  margin-top: 20px !important;
}
.polor-post .post-item .blog-item-title {
  margin-bottom: 10px !important;
}
.polor-post .post-item .post-featured-image {
  margin-bottom: 20px !important;
}
.polor-post .post-item .polor-category-tag {
  margin-top: 20px !important;
}
.polor-post .post-content-wrap .polor-category-tag {
  margin-top: 20px !important;
}
.polor-category-tag a {
  display: inline-block;
  padding: 4px 14px;
  border: 1.5px solid var(--black);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  transition: all .2s;
}
.polor-category-tag a:hover {
  background: var(--black) !important;
  color: #fff !important;
  border-color: var(--black);
}

/* @primehouse_academy button — responsive, link aktywny */
.elementor-element-7d54eac .polor-button-el {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.elementor-element-7d54eac .polor-button-el a.polor-button {
  font-size: clamp(9px, 1.1vw, 13px) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  text-align: center;
  letter-spacing: 0;
}

/* ============================================
   HERO ROW — slider (left) + info/social (right)
   Prawa kolumna = pełna wysokość slidera
   ============================================ */

/* Parent row — stretch żeby prawa kolumna = slider height */
.elementor-element-99ebd0f {
  align-items: stretch !important;
}

/* Prawa kolumna — flex column, rozciągnij blokami */
.elementor-element-45cfec9 {
  display: flex !important;
  flex-direction: column !important;
}

/* Oba bloki w prawej kolumnie — flex-grow, center content */
.elementor-element-8de3f4c,
.elementor-element-309ced0 {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Logo/zdjęcie — okrągłe, wycentrowane, responsywne */
.elementor-element-8de3f4c .polor-image-el img {
  border-radius: 50% !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  width: 140px !important;
  height: 140px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Responsive — tablet/mobile: kolumna na pełną szerokość, naturalny flow */
@media (max-width: 1024px) {
  .elementor-element-99ebd0f {
    align-items: initial !important;
  }
  .elementor-element-8de3f4c,
  .elementor-element-309ced0 {
    flex: 0 0 auto !important;
  }
}

/* ============================================
   AUTH — strona /dolacz/ (rejestracja + logowanie)
   ============================================ */

.newu-auth-page {
  min-height: 80vh;
}

.newu-auth-hero {
  background: var(--accent-0);
  padding: 64px 15px 48px;
  text-align: center;
  margin: 24px 40px 0;
  border-radius: 20px;
}
.newu-auth-hero__inner {
  max-width: 520px;
  margin: 0 auto;
}
.newu-auth-hero__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 12px;
  color: var(--black);
}
.newu-auth-hero__desc {
  font-size: 16px;
  color: var(--black-60);
  margin: 0;
  line-height: 1.6;
}

.newu-auth-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

.newu-auth-error {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 14px;
  margin-bottom: 32px;
  text-align: center;
}

.newu-auth-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.newu-auth-card {
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius);
  padding: 40px;
}
.newu-auth-card--login {
  background: var(--bg);
  border-color: transparent;
}

.newu-auth-card__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--black);
}
.newu-auth-card__subtitle {
  font-size: 14px;
  color: var(--black-60);
  margin: 0 0 28px;
}

.newu-auth-field {
  margin-bottom: 20px;
}
.newu-auth-field label {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}
.newu-auth-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--black);
  transition: border-color .2s;
  box-sizing: border-box;
}
.newu-auth-field input:focus {
  outline: none;
  border-color: var(--accent-100);
}
.newu-auth-field input::placeholder {
  color: var(--black-60);
  font-size: 14px;
}

.newu-auth-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: 8px;
}
.newu-auth-btn:hover { opacity: .85; }

.newu-auth-btn--primary {
  background: var(--black);
  color: var(--white);
}
.newu-auth-btn--secondary {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--bg2);
}

.newu-auth-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bg2);
}
.newu-auth-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--black-60);
}
.newu-auth-feature__icon {
  font-size: 20px;
}

@media (max-width: 768px) {
  .newu-auth-hero { margin: 16px 15px 0; }
  .newu-auth-container { padding: 32px 15px 60px; }
  .newu-auth-cards { grid-template-columns: 1fr; }
  .newu-auth-features { flex-direction: column; gap: 16px; align-items: center; }
}

/* ============================================
   ABOUT — strona /o-nas/
   ============================================ */

.newu-about-page {
  padding-bottom: 0;
}

/* Hero */
.newu-about-hero {
  background: var(--accent-0);
  padding: 80px 15px 64px;
  text-align: center;
  margin: 24px 40px 0;
  border-radius: 20px;
}
.newu-about-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}
.newu-about-hero__title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--black);
}
.newu-about-hero__desc {
  font-size: 17px;
  color: var(--black-60);
  margin: 0;
  line-height: 1.7;
}

/* Sekcja — wspólne */
.newu-about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}
.newu-about-section__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
  margin: 0 0 12px;
  color: var(--black);
}
.newu-about-section__desc {
  font-size: 16px;
  color: var(--black-60);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Kim jesteśmy — 2 kolumny */
.newu-about-who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.newu-about-who__text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 24px;
  color: var(--black);
}
.newu-about-who__text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  margin: 0 0 16px;
}
.newu-about-who__text p:last-child {
  margin-bottom: 0;
}
/* Kim jesteśmy — 2 kolumny */
.newu-about-who__image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Misja — 2 kolumny (odwrócone) */
.newu-about-mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.newu-about-mission__image img {
  width: 100%;
  max-height: 500px;
  border-radius: var(--radius);
  object-fit: cover;
}
.newu-about-mission__text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 24px;
  color: var(--black);
}
.newu-about-mission__text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  margin: 0 0 16px;
}

/* Dla kogo — 3 kolumny */
.newu-about-audience__inner {
  max-width: 960px;
  margin: 0 auto;
}
.newu-about-audience__inner h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 40px;
  color: var(--black);
  text-align: center;
}
.newu-about-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.newu-about-audience__item {
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.newu-about-audience__item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  margin: 0;
}

/* Zespół — pełne bio */
.newu-about-person {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--bg2);
}
.newu-about-person:last-child {
  border-bottom: none;
}
.newu-about-person--reverse {
  grid-template-columns: 1fr 200px;
}
.newu-about-person--reverse .newu-about-person__photo {
  order: 2;
}
.newu-about-person--reverse .newu-about-person__text {
  order: 1;
}
.newu-about-person__photo {
  position: sticky;
  top: 120px;
}
.newu-about-person__img {
  width: 200px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}
.newu-about-person__text h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--black);
}
.newu-about-person__role {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-100);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 20px;
}
.newu-about-person__text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black-60);
  margin: 0 0 14px;
}
.newu-about-person__text p:first-of-type {
  color: var(--black);
  font-weight: 500;
  font-size: 17px;
}

/* Dlaczego Masterclass */
.newu-about-why__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.newu-about-why__inner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 24px;
  color: var(--black);
}
.newu-about-why__inner p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black-60);
  margin: 0 0 16px;
}

/* Wideo z wydarzenia */
.newu-about-video__player {
  max-width: 960px;
  margin: 0 auto;
}
.newu-about-video__player video {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--black);
}

/* Wywiady — 3 kafle */
.newu-about-interviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.newu-about-interview {
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
}
.newu-about-interview video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--black);
}

/* Liczby — czarne tło */
.newu-about-numbers__lead {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  opacity: .7;
  margin: 0 0 40px;
}
.newu-about-numbers {
  background: var(--black);
  color: var(--white);
  padding: 64px 40px;
}
.newu-about-numbers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.newu-about-numbers__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.newu-about-numbers__value {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}
.newu-about-numbers__label {
  font-size: 14px;
  font-weight: 500;
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Filary wiedzy — grid */
.newu-about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.newu-about-pillar {
  position: relative;
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  transition: border-color .2s;
}
.newu-about-pillar:hover {
  border-color: var(--accent);
}
.newu-about-pillar i.fi {
  font-family: uicons-thin-rounded !important;
  font-size: 28px;
  color: var(--accent-100);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.newu-about-pillar h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--black);
}
.newu-about-pillar p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--black-60);
  margin: 0;
}
.newu-about-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-0);
  color: var(--accent-100);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Zespół — 3 karty */
.newu-about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.newu-about-team__card {
  text-align: center;
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius);
  padding: 48px 32px 40px;
}
.newu-about-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-0);
  color: var(--accent-100);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.newu-about-team__card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--black);
}
.newu-about-team__role {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 500;
  color: var(--accent-100);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.newu-about-team__card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--black-60);
  margin: 0;
}

/* CTA — czarne tło, złoty button */
.newu-about-cta {
  background: var(--black);
  color: var(--white);
  padding: 80px 40px;
  text-align: center;
}
.newu-about-cta__inner {
  max-width: 560px;
  margin: 0 auto;
}
.newu-about-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 16px;
  color: var(--white);
}
.newu-about-cta p {
  font-size: 17px;
  opacity: .7;
  margin: 0 0 32px;
  line-height: 1.6;
}
.newu-about-cta__btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: opacity .2s;
}
.newu-about-cta__btn:hover {
  opacity: .85;
  color: var(--black);
  text-decoration: none;
}

/* ============================================
   EDUKACJA PAGE
   ============================================ */

.newu-edu-page { font-family: 'General Sans', var(--polor-body-font-family), sans-serif; }

/* Section */
.newu-edu-section {
  padding: 80px 20px;
  margin: 0 auto;
}
.newu-edu-section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin: 0 0 12px;
  color: var(--black);
  text-align: center;
}
.newu-edu-section__desc {
  font-size: 16px;
  color: var(--black-60);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* === 3 HERO PANELE — identyczne z hero na głównej === */
.newu-edu-heroes {
  display: flex !important;
  flex-direction: column !important;
  gap: 60px;
  padding: 0 20px 80px;
  overflow: visible;
}
.newu-edu-hero {
  display: grid !important;
  grid-template-columns: 1.3fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  visibility: visible !important;
  opacity: 1 !important;
  background: var(--accent-0);
}
.newu-edu-hero--lab { background: var(--bg); }
.newu-edu-hero--open-cases { background: var(--accent-25); }

/* LEWA — zdjęcie */
.newu-edu-hero__left {
  position: relative;
  overflow: hidden;
}
.newu-edu-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PRAWA — treść */
.newu-edu-hero__right {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newu-edu-hero__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-100);
  margin-bottom: 20px;
}
.newu-edu-hero__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--black);
  margin: 0 0 16px;
  line-height: 1.1;
}
.newu-edu-hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black-60);
  margin: 0 0 24px;
}
.newu-edu-hero__events {
  margin-bottom: 28px;
}
.newu-edu-hero__event-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
}
.newu-edu-hero__event-row:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
.newu-edu-hero__event-date {
  font-weight: 700;
  color: var(--accent-100);
  min-width: 50px;
}
.newu-edu-hero__event-title {
  color: var(--black);
  font-weight: 500;
  flex: 1;
}
.newu-edu-hero__event-time {
  color: var(--black-60);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.newu-edu-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--polor-primary-color, var(--accent-100));
  color: var(--black);
  font-family: 'General Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 46px;
  transition: transform .2s, box-shadow .2s;
  align-self: flex-start;
}
.newu-edu-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.15); color: var(--black); text-decoration: none; }
.newu-edu-hero__cta-arrow {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

/* === CALENDAR — horizontal slider === */
.newu-edu-carousel {
  overflow: hidden;
  margin-top: 32px;
  width: 100%;
}
.newu-edu-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 20px;
  transition: transform .5s ease;
}
.newu-edu-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.newu-edu-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--bg2);
  background: #fff;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.newu-edu-arrow:hover { border-color: var(--accent-100); background: var(--accent-0); }
.newu-edu-tile {
  border-radius: 16px;
  padding: 32px;
  display: flex !important;
  flex-direction: column;
  min-height: 240px;
  width: calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  box-sizing: border-box;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.newu-edu-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
/* Type colors — warm PrimeHouse pastels, no black backgrounds */
.newu-edu-tile--mastermind  { background: var(--accent); }
.newu-edu-tile--lab         { background: var(--accent-0); }
.newu-edu-tile--open-cases  { background: var(--accent-25); }
.newu-edu-tile--warsztat    { background: var(--bg); }
.newu-edu-tile--gosc        { background: #f5f0eb; }
.newu-edu-tile--             { background: var(--bg); }

.newu-edu-tile__date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}
.newu-edu-tile__dayname {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .5;
}
.newu-edu-tile__day {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--black);
}
.newu-edu-tile__month {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .6;
}
.newu-edu-tile__type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
  opacity: .7;
}
.newu-edu-tile__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 auto;
  color: var(--black);
  line-height: 1.4;
}
.newu-edu-tile__time {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  opacity: .6;
}
.newu-edu-tile__host {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: 4px;
  opacity: .5;
}
.newu-edu-tile__footer {
  margin-top: 16px;
}
.newu-edu-tile__btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--polor-primary-color, var(--accent-100));
  color: var(--black);
  font-family: 'General Sans', sans-serif;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 600;
  text-decoration: none;
  border-radius: 46px;
  transition: transform .2s, box-shadow .2s;
}
.newu-edu-tile__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.15); color: var(--black); text-decoration: none; }
.newu-edu-tile__btn--lock {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,.2);
  color: var(--black);
}
.newu-edu-tile__btn--lock:hover { border-color: var(--accent-100); }
.newu-edu-tile__soon {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  opacity: .5;
  font-weight: 500;
}

/* Kafel "zobacz wszystkie" */
.newu-edu-tile--more {
  background: var(--black) !important;
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.newu-edu-tile--more:hover {
  background: var(--accent-100) !important;
  color: var(--black);
}
.newu-edu-tile--more__text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.newu-edu-tile--more__arrow {
  font-size: 32px;
  margin-top: 16px;
  display: block;
  opacity: .6;
}

.newu-edu-empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--black-60);
  font-size: 16px;
  border: 2px dashed var(--bg2);
  border-radius: var(--radius);
}

/* EDU — responsive */
@media (max-width: 1024px) {
  .newu-edu-tile { width: calc(50% - 10px); min-width: calc(50% - 10px); max-width: calc(50% - 10px); }
  .newu-edu-hero { grid-template-columns: 1fr !important; min-height: auto; }
  .newu-edu-hero__left { min-height: 280px; }
  .newu-edu-hero__right { padding: 32px 24px; }
}
@media (max-width: 768px) {
  .newu-edu-section { padding: 56px 15px; }
  .newu-edu-tile { width: 85%; min-width: 85%; max-width: 85%; }
  .newu-edu-heroes { padding: 0; gap: 40px; }
}

/* ABOUT — responsive */
@media (max-width: 1024px) {
  .newu-about-pillars__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .newu-about-hero { margin: 16px 15px 0; padding: 56px 15px 44px; }
  .newu-about-section { padding: 56px 15px; }
  .newu-about-who__grid { grid-template-columns: 1fr; gap: 32px; }
  .newu-about-mission__grid { grid-template-columns: 1fr; gap: 32px; }
  .newu-about-audience__grid { grid-template-columns: 1fr; }
  .newu-about-person,
  .newu-about-person--reverse { grid-template-columns: 1fr; gap: 24px; }
  .newu-about-person__photo { position: static; text-align: center; }
  .newu-about-person--reverse .newu-about-person__photo { order: 0; }
  .newu-about-person--reverse .newu-about-person__text { order: 0; }
  .newu-about-person__img { width: 140px; border-radius: 12px; margin: 0 auto; }
  .newu-about-numbers { padding: 48px 15px; }
  .newu-about-numbers__grid { grid-template-columns: 1fr; gap: 32px; }
  .newu-about-pillars__grid { grid-template-columns: 1fr; }
  .newu-about-team__grid { grid-template-columns: 1fr; }
  .newu-about-interviews__grid { grid-template-columns: 1fr; }
  .newu-about-cta { padding: 56px 15px; }
}

/* ── Logowanie page ────────────────────────────── */
.newu-auth-container--narrow { max-width: 480px; }
.newu-auth-container--narrow .newu-auth-card { width: 100%; }

.newu-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.newu-auth-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}
.newu-auth-checkbox input { margin: 0; accent-color: #1c1b1f; }

.newu-auth-link {
    color: #1c1b1f;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
}
.newu-auth-link:hover { opacity: .7; }

.newu-auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}
.newu-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #e0e0e0;
}
.newu-auth-divider span {
    background: #fff;
    padding: 0 16px;
    position: relative;
    color: #999;
    font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.newu-auth-switch {
    text-align: center;
    font-size: 15px;
    color: #666;
}
.newu-auth-switch a {
    color: #1c1b1f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.newu-auth-switch a:hover { opacity: .7; }



/* ── Sticky header — wyjęty z ScrollSmoother, zawsze fixed ── */
#polor-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 9999;
    background: rgba(255,255,255,.97);
    transition: box-shadow .3s ease;
}
#polor-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
body.admin-bar #polor-header {
    top: var(--admin-bar-height, 32px);
}
/* Spacer pod fixed header + 40px gap do kategorii */
#smooth-wrapper {
    padding-top: calc(var(--header-h, 72px) + 10px);
}

/* CTA "Gotowy na kolejny poziom" — beżowe tło, marginesy jak reszta */
.elementor-element-2490575 {
    background: #f5ede3 !important;
    border-radius: 16px;
    margin-left: 30px !important;
    margin-right: 30px !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* CTA title — enter po znaku zapytania */
.elementor-element-8fa6ef5 .title-text span[style*="italic"] {
    display: inline;
}
.elementor-element-8fa6ef5 .title-text span[style*="italic"]::after {
    content: '\A';
    white-space: pre;
}

/* IG button — link do Instagrama */

/* Promo baner "PrimeHouse Academy" — zdjęcie jako background + overlay */
.other-item:has(img[src*="primehouse-promo"]) {
    position: relative;
    background: url('/wp-content/uploads/2026/05/primehouse-event2.jpg') center/cover no-repeat;
    border-radius: 16px;
    overflow: hidden;
}
.other-item:has(img[src*="primehouse-promo"])::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
    border-radius: 16px;
}
.other-item:has(img[src*="primehouse-promo"]) > img {
    display: none !important;
}
.other-item:has(img[src*="primehouse-promo"]) .content-wrap {
    z-index: 2;
}
/* ── Konto dashboard ── */
.newu-konto { font-family: 'Instrument Sans', var(--polor-body-font-family), sans-serif; color: #1c1b1f; }

.newu-konto__header { padding: 48px 30px 24px; max-width: 1824px; margin: 0 auto; }
.newu-konto__header h1 { font-size: 48px; font-weight: 600; letter-spacing: -0.5px; }
.newu-konto__wrap { max-width: 1824px; margin: 0 auto; padding: 0 30px 80px; }

/* Status */
.newu-konto__status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-top: 8px; }
.newu-konto__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.newu-konto__status--active .newu-konto__dot { background: #22c55e; }
.newu-konto__status--trial .newu-konto__dot { background: #f59e0b; }
.newu-konto__status--inactive .newu-konto__dot { background: #ef4444; }

/* Notices */
.newu-konto__notice { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; }
.newu-konto__notice i { font-size: 18px; }
.newu-konto__notice--ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.newu-konto__notice--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Block — brak subskrypcji */
.newu-konto__block { border: 1px solid #e0e0e0; border-radius: 16px; padding: 56px 48px; text-align: center; margin-bottom: 32px; background: #faf8f5; }
.newu-konto__block > i { font-size: 36px; color: #999; display: block; margin-bottom: 16px; }
.newu-konto__block h2 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.newu-konto__block p { font-size: 15px; color: #555; max-width: 480px; margin: 0 auto 24px; line-height: 1.6; }
.newu-konto__block-note { font-size: 13px; color: #999; margin-top: 16px !important; }
.newu-konto__block-note a { color: #1c1b1f; text-decoration: underline; text-underline-offset: 3px; }

/* Tiles */
.newu-konto__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.newu-konto__tiles--locked { opacity: 0.35; pointer-events: none; }
.newu-konto__tile {
    display: flex; align-items: center; gap: 16px;
    padding: 24px; border: 1px solid #e0e0e0; border-radius: 16px;
    text-decoration: none; color: #1c1b1f; background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.newu-konto__tile:hover { border-color: #1c1b1f; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.newu-konto__tile-icon { width: 48px; height: 48px; border-radius: 12px; background: #f5ede3; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.newu-konto__tile-icon i { font-size: 22px; color: #c3a38c; }
.newu-konto__tile-body { flex: 1; min-width: 0; }
.newu-konto__tile-body h3 { font-size: 15px; font-weight: 600; margin: 0; }
.newu-konto__tile-body p { font-size: 12px; color: #888; margin: 3px 0 0; }
.newu-konto__tile-arrow { font-size: 14px; color: #ccc; flex-shrink: 0; }

/* Promo baner */
.newu-konto__promo {
    background: url("/wp-content/uploads/2026/05/staircase-promo.jpg") center/cover no-repeat;
    border-radius: 16px; overflow: hidden; margin-bottom: 24px; position: relative;
}
.newu-konto__promo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1;
}
.newu-konto__promo-content { position: relative; z-index: 2; padding: 56px 48px; color: #fff; max-width: 600px; }
.newu-konto__promo-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.newu-konto__promo-content h2 { font-size: 32px; font-weight: 600; margin: 12px 0 16px; line-height: 1.25; color: #f5ede3; }
.newu-konto__promo-content p { font-size: 15px; line-height: 1.6; opacity: .9; margin-bottom: 24px; }

/* Section */
.newu-konto__section { margin-bottom: 24px; }
.newu-konto__section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.newu-konto__section-head h3 { font-size: 20px; font-weight: 600; }

/* Articles */
.newu-konto__articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.newu-konto__article { display: flex; flex-direction: column; border: 1px solid #e0e0e0; border-radius: 16px; overflow: hidden; text-decoration: none; color: #1c1b1f; transition: border-color .2s; }
.newu-konto__article:hover { border-color: #1c1b1f; }
.newu-konto__article-img { width: 100%; height: 180px; object-fit: cover; }
.newu-konto__article-body { padding: 20px; }
.newu-konto__article-topic { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #999; }
.newu-konto__article-title { display: block; font-size: 15px; font-weight: 600; margin-top: 6px; line-height: 1.4; }

/* Events */
.newu-konto__events { display: flex; flex-direction: column; gap: 10px; }
.newu-konto__event { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #f0f0f0; border-radius: 12px; transition: border-color .2s; }
.newu-konto__event:hover { border-color: #ccc; }
.newu-konto__event-date { text-align: center; min-width: 44px; }
.newu-konto__event-date strong { display: block; font-size: 22px; line-height: 1; font-weight: 700; }
.newu-konto__event-date span { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: .05em; }
.newu-konto__event-info { flex: 1; }
.newu-konto__event-type { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: .04em; display: block; }
.newu-konto__event-title { font-size: 14px; font-weight: 600; display: block; margin-top: 2px; }
.newu-konto__event-host { font-size: 12px; color: #888; display: block; margin-top: 2px; }
.newu-konto__event-time { font-size: 13px; color: #555; }

/* Grid profil + hasło */
.newu-konto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.newu-konto__card { border: 1px solid #e0e0e0; border-radius: 16px; padding: 32px; background: #fff; }
.newu-konto__card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.newu-konto__card-head i { font-size: 20px; color: #999; }
.newu-konto__card-head h3 { font-size: 18px; font-weight: 600; margin: 0; }
.newu-konto__row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.newu-konto__row:last-of-type { border-bottom: none; }
.newu-konto__row span { color: #888; }
.newu-konto__row strong { font-weight: 600; }

/* Buttons */
.newu-konto__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 28px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: opacity .2s; font-family: inherit; }
.newu-konto__btn:hover { opacity: .8; }
.newu-konto__btn--primary { background: #1c1b1f; color: #fff; }
.newu-konto__btn--outline { background: transparent; color: #1c1b1f; border: 1px solid #1c1b1f; }
.newu-konto__btn--white { background: #fff; color: #1c1b1f; }
.newu-konto__btn--sm { padding: 7px 18px; font-size: 13px; background: #1c1b1f; color: #fff; border-radius: 6px; }
.newu-konto__btn i { font-size: 12px; }

.newu-konto__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #1c1b1f; text-decoration: none; }
.newu-konto__link:hover { opacity: .7; }
.newu-konto__link i { font-size: 12px; }
.newu-konto__hint { font-size: 13px; color: #888; margin: 8px 0 20px; line-height: 1.5; }

/* Form */
.newu-konto__form { display: flex; flex-direction: column; gap: 14px; }
.newu-konto__field label { display: block; font-size: 13px; color: #888; margin-bottom: 6px; }
.newu-konto__field input { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color .2s; box-sizing: border-box; }
.newu-konto__field input:focus { border-color: #1c1b1f; outline: none; }

/* Footer */
.newu-konto__footer { text-align: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid #f0f0f0; }
.newu-konto__footer a { color: #888; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
    .newu-konto__tiles { grid-template-columns: repeat(2, 1fr); }
    .newu-konto__articles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .newu-konto__header h1 { font-size: 32px; }
    .newu-konto__tiles { grid-template-columns: 1fr; }
    .newu-konto__articles { grid-template-columns: 1fr; }
    .newu-konto__grid { grid-template-columns: 1fr; }
    .newu-konto__promo-content { padding: 32px 24px; }
    .newu-konto__promo-content h2 { font-size: 24px; }
}

/* Dodatkowe ikony UIcons thin rounded — konto + dashboard */
.fi-tr-book-open-reader:before { content:"\f26c" }
.fi-tr-calendar-lines:before { content:"\f30e" }
.fi-tr-camera-movie:before { content:"\f321" }
.fi-tr-users-alt:before { content:"\fd99" }
.fi-tr-arrow-right:before { content:"\f193" }
.fi-tr-badge-check:before { content:"\f1e1" }
.fi-tr-signal-stream:before { content:"\fb50" }
.fi-tr-key:before { content:"\f7d8" }
.fi-tr-lock-alt:before { content:"\f859" }
.fi-tr-user-check:before { content:"\fd76" }
.fi-tr-check-circle:before { content:"\f3a0" }
.fi-tr-cross-religion:before { content:"\f4c2" }
.fi-tr-people:before { content:"\f99d" }

/* Header — ikona konta obok lupy */
.newu-header-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #1c1b1f;
    text-decoration: none;
    transition: background .2s;
    margin-left: 4px;
}
.newu-header-account:hover {
    background: #f5ede3;
}
.newu-header-account i {
    font-size: 18px;
}

/* Footer — widoczny na wszystkich stronach */
.polor-footer-default {
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 14px;
    color: #888;
}
.polor-footer-default .container {
    max-width: 1824px;
    margin: 0 auto;
    padding: 0 30px;
}
.polor-footer-default .footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}
.polor-footer-default .footer-social a {
    color: #888;
    font-size: 18px;
    text-decoration: none;
    transition: color .2s;
}
.polor-footer-default .footer-social a:hover { color: #1c1b1f; }
.polor-footer-default .footer-content-wrap a { color: #1c1b1f; }

/* Force footer visible */
#polor-footer, .polor-footer, .polor-footer-default {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10;
}
.fi-tr-search-alt:before { content:"\faff" }

/* Header icons — spójne UIcons thin rounded */
.newu-header-right .polor-menu-search i.fi,
.newu-header-right a.polor-menu-search i.fi {
    font-size: 26px !important;
    line-height: 1;
    vertical-align: middle;
    color: #1c1b1f !important;
}
.newu-header-right > a.polor-menu-search[title="Moje konto"] {
    margin-left: 20px;
}

/* Fix: ikona konta klikalna (nad search-form-wrap overlay) */
.newu-header-right > a.polor-menu-search[title="Moje konto"] {
    position: relative;
    z-index: 100;
    cursor: pointer;
    pointer-events: auto !important;
    cursor: pointer !important;
}
a.polor-menu-search {
    cursor: pointer !important;
}

/* Ukryj loader na initial page load — pokaż tylko przy nawigacji */
#polor-page-loading {
    display: none !important;
}
body.polor-navigating #polor-page-loading {
    display: flex !important;
}

/* ── NewU Lightweight Slider ── */
.newu-slider {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/7;
}
.newu-slider__track { position: relative; width: 100%; height: 100%; }
.newu-slider__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
    display: flex;
    align-items: flex-end;
    padding: 48px;
}
.newu-slider__slide.is-active { opacity: 1; z-index: 2; }
.newu-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
    z-index: 1;
}
.newu-slider__content {
    position: relative;
    z-index: 3;
    flex: 1;
}
.newu-slider__label {
    display: inline-block;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.newu-slider__title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 24px;
    max-width: 600px;
}
.newu-slider__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 2px solid rgba(255,255,255,.4);
    transition: border-color .3s;
}
.newu-slider__cta:hover { border-color: #fff; }
.newu-slider__cta span { font-size: 20px; }
.newu-slider__spotify {
    position: relative;
    z-index: 3;
    width: 400px;
    flex-shrink: 0;
    margin-left: 40px;
    align-self: flex-end;
}
.newu-slider__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}
.newu-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: background .3s, transform .3s;
    padding: 0;
}
.newu-slider__dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

@media (max-width: 1024px) {
    .newu-slider__title { font-size: 36px; }
    .newu-slider__spotify { width: 300px; }
}
@media (max-width: 768px) {
    .newu-slider { aspect-ratio: 9/12; }
    .newu-slider__slide { flex-direction: column; padding: 24px; justify-content: flex-end; }
    .newu-slider__title { font-size: 28px; }
    .newu-slider__spotify { width: 100%; margin-left: 0; margin-top: 16px; }
}
