/* ==========================================================================
   STYLE.CSS – wersja uporządkowana (Sennik)
   Cel:
   - usunięcie duplikatów i sprzecznych nadpisań
   - naprawa skalowania księżyca na mobile (clamp + max-width)
   - ujednolicenie layoutu (hero, kafle, listy, A–Z, podstrony)
   ========================================================================== */

/* ==========================================================================
   0) Zmienne i podstawy
   ========================================================================== */
body{
  color: #dbd9d9;
  font-family: 'Inter', sans-serif;
}
body.sennik{
  --gold: #e3c37a;
  --ink: #0d1a33;
  --glass: rgba(255,255,255,0.06);
  --glass-2: rgba(255,255,255,0.08);
  --line: rgba(255,255,255,0.55);

  color: #eef3ff;

  /* SINGLE BACKGROUND IMAGE */
  background-color: #213579;
  background-image: url("/img/bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  /* zapobiega „rozciąganiu szerzej niż ekran” */
  overflow-x: hidden;
}
body.sennik::before,
body.sennik::after{
  content:"";
  position: fixed;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

/* blend top → środek */
body.sennik::before{
  top: 480px; /* dostosowane do wysokości topa */
  background: linear-gradient(
          to bottom,
          rgba(33,53,121,0.0),
          rgba(33,53,121,0.35),
          rgba(33,53,121,0.0)
  );
}

/* blend środek → dół */
body.sennik::after{
  bottom: 360px; /* dostosowane do wysokości dołu */
  background: linear-gradient(
          to top,
          rgba(33,53,121,0.0),
          rgba(33,53,121,0.45),
          rgba(33,53,121,0.0)
  );
}


/* ==========================================================================
   1) Header – transparent + ukrycie brandu WebProm
   ========================================================================== */
body.sennik .site-header,
body.sennik header{
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Ukryj elementy logo/brand z headera (nie dotyka księżyca – jest w HERO) */
body.sennik header a.nav-home,
body.sennik header .logo,
body.sennik header #logo,
body.sennik header .site-logo,
body.sennik header #site-logo,
body.sennik header .brand,
body.sennik header .navbar-brand,
body.sennik header [class*="logo"],
body.sennik header [id*="logo"],
body.sennik header [class*="brand"],
body.sennik header [id*="brand"],
body.sennik header img,
body.sennik header svg{
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* ==========================================================================
   2) Hamburger + menu off-canvas (w każdej rozdzielczości)
   Zakłada: JS dodaje .open na <nav>
   ========================================================================== */
body.sennik #hb{
  display: block !important;
  position: fixed !important;
  top: 16px;
  right: 16px;
  left: auto;
  width: 44px;
  height: 34px;
  z-index: 200000 !important;
  cursor: pointer;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.sennik #hb > span{
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold) !important;
  border-radius: 3px;
  opacity: 1 !important;
}
body.sennik #hb > span:nth-child(1){ top: 3px; }
body.sennik #hb > span:nth-child(2){ top: 11px; }
body.sennik #hb > span:nth-child(3){ top: 19px; }
body.sennik #hb > span:nth-child(4){ top: 27px; }

/* Nav jako off-canvas */
body.sennik nav{
  position: fixed !important;
  top: 0 !important;
  left: 100% !important;
  width: 100% !important;
  height: 100vh !important;

  padding: 90px 14px 22px !important; /* miejsce na hamburger */
  background: rgba(5,10,25,0.92) !important;
  overflow-y: auto !important;

  transition: left 130ms ease-in !important;
  float: none !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 150000 !important;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--gold);
}
body.sennik nav.open{ left: 0 !important; }

body.sennik nav > ul{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
}

body.sennik nav > ul > li{
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  background: none !important;
}

body.sennik nav ul li > a,
body.sennik nav ul li > span{
  color: #ffffff !important;
  padding: 12px 22px !important;
  display: inline-block !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
}
body.sennik nav ul li > a:hover{ color: var(--gold) !important; }

body.sennik nav .nav-home,
body.sennik nav .languages{ display: none !important; }

/* ==========================================================================
   3) Strona główna – HERO + brand
   Najważniejsze: księżyc skalowany responsywnie (clamp), bez sprzecznych MQ.
   ========================================================================== */
body.sennik .s-home-hero{
  padding-top: 24px;
  padding-bottom: 22px;
}

body.sennik .s-home-hero__top{
  display: flex;
  justify-content: center;
}

/* Brand: księżyc + tekst */
body.sennik .s-brand{
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

/* KSIĘŻYC – kluczowa poprawka:
   - clamp daje płynną skalę na mobile
   - max-width zabezpiecza przed "rozjechaniem" w flexie
*/
body.sennik .s-brand__moon{
  width: clamp(88px, 18vw, 160px);
  max-width: 40vw;
  height: auto;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.45));
}

/* Tekst obok */
body.sennik .s-brand__text{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 22px;
}

body.sennik .s-brand__title{
  margin: 0;
  position: relative;
  padding-bottom: 18px;

  font-family: 'Inter', sans-serif;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 800;
  letter-spacing: clamp(1px, 0.25vw, 2.4px);
  line-height: 1;
  text-transform: uppercase;

  background: linear-gradient(
    180deg,
    #fff1b0 0%,
    #ffe39a 14%,
    #f6cc6a 34%,
    #e2b04a 52%,
    #c8922f 72%,
    #a8741f 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 2px 10px rgba(0,0,0,0.25),
    0 0 16px rgba(255, 240, 200, 0.22),
    0 0 28px rgba(255, 220, 140, 0.16);
}

/* kreska pod tytułem */
body.sennik .s-brand__title::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: clamp(180px, 40vw, 320px);
  height: 2px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

body.sennik .s-brand__subtitle{
  margin-top: 10px;
  font-size: clamp(15px, 2.5vw, 18px);
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.3px;
}

/* lead pod brandem */
body.sennik .s-home-hero__lead{
  text-align: center;
  margin-top: 58px;
  margin-bottom: 12px;
  font-size: 16px;
  color: rgba(255,255,255,0.90);
}

/* Desktop: lekko w lewo jak w layoucie (bez ryzyka ucięcia na mobile) */
@media (min-width: 992px){
  body.sennik .s-brand{ transform: translateX(-70px); }
}

/* ==========================================================================
   4) Search
   ========================================================================== */
body.sennik .s-search{
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 640px;
  margin: 0 auto;
  gap: 0;
}

body.sennik .s-search__input{
  width: min(440px, 100%);
  border-radius: 4px 0 0 4px;
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

body.sennik .s-search__btn{
  border-radius: 0 4px 4px 0;
  border: 1px solid rgba(255,255,255,0.30);
  background: var(--gold);
  color: #1a2440;
  padding: 12px 18px;
  font-weight: 800;
}

@media (max-width: 991px){
  body.sennik .s-search{
    flex-direction: column;
    gap: 10px;
  }
  body.sennik .s-search__input,
  body.sennik .s-search__btn{
    width: 100%;
    border-radius: 6px;
  }
}

/* ==========================================================================
   5) Dividery sekcji (linie z gradientem + diamenty)
   ========================================================================== */
body.sennik .s-section__divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px 0 22px;
}

body.sennik .s-section__divider::before,
body.sennik .s-section__divider::after{
  content: "";
  flex: 0 0 clamp(120px, 22vw, 280px);
  height: 2px;
}
body.sennik .s-section__divider::before{
  background: linear-gradient(to left, var(--line), rgba(255,255,255,0.35), rgba(255,255,255,0));
}
body.sennik .s-section__divider::after{
  background: linear-gradient(to right, var(--line), rgba(255,255,255,0.35), rgba(255,255,255,0));
}

body.sennik .s-section__dot{
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
  flex: 0 0 auto;
}

body.sennik .s-section__title{
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--gold);
  text-align: center;
  flex: 0 0 auto;
}

@media (max-width: 991px){
  body.sennik .s-section__title{ font-size: 18px; }
}

/* ==========================================================================
   6) Kafelki / listy na stronie głównej
   ========================================================================== */
body.sennik .s-popular{
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-top:45px;
  margin-bottom:45px;
}


/* Popularne sny – kafelki mają być POZIOME (miniaturka + tytuł).
   W Twoim layoucie .s-tile bywa używane w różnych miejscach, więc nadpisujemy
   wyłącznie w kontekście .s-popular, aby nie popsuć innych kafli. */
body.sennik .s-popular .s-tile{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  padding: 10px 12px;
  text-align: left;
  overflow: hidden; /* zabezpiecza przed "wychodzeniem" obrazków */
}

body.sennik .s-popular .s-tile__thumb{
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

body.sennik .s-popular .s-tile__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ewentualnie, jeśli miniaturka jest wprost jako <img class="s-tile__thumb"> */
body.sennik .s-popular img.s-tile__thumb{
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

body.sennik .s-popular .s-tile__label{
  margin: 0;
  line-height: 1.25;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}
@media (max-width: 991px){
  body.sennik .s-popular{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.sennik .s-tile{
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.35);
}
body.sennik .s-tile:hover{ background: rgba(255,255,255,0.09); }

body.sennik .s-tile__label{
  margin-top: 10px;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: 14px;
}

body.sennik .s-popular-controls{
  display:flex;
  gap:10px;
  justify-content:center;
  margin: 10px 0 16px;
}
body.sennik .s-popular-btn{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}
body.sennik .s-popular-btn.is-active{
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
}

/* Ostatnio dodane – wiersze */
body.sennik .s-recent{
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.35);
}

body.sennik .s-recent__row{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
body.sennik .s-recent__row:last-child{ border-bottom: 0; }
body.sennik .s-recent__row:hover{ background: rgba(255,255,255,0.08); }

body.sennik .s-recent__thumb{
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border-radius: 6px;
}
body.sennik .s-recent__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.sennik .s-recent__text{
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.3;
}

body.sennik .s-recent__date{
  margin-left: auto;
  color: rgba(255,255,255,0.70);
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 991px){
  body.sennik .s-recent__date{ display: none; }
}

/* Kategorie – kafle */
body.sennik .s-cats{
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 12px;
  margin-top:45px;
  margin-bottom:45px;
}
@media (max-width: 991px){
  body.sennik .s-cats{ grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

body.sennik .s-cat{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.35);
}
body.sennik .s-cat:hover{ background: rgba(255,255,255,0.09); }

body.sennik .s-cat__label{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 14px;
}

body.sennik .s-badge{
  width: 44px;
  height: 44px;
  border-radius: 12px;
#  background: rgba(227,195,122,0.22);
#  border: 1px solid rgba(255,255,255,0.18);
}

/* ==========================================================================
   7) Sekcja dolna + stopka (glass)
   ========================================================================== */
body.sennik .s-bottom{
  position: relative;
  margin-top: 40px;
  padding: 36px 24px 42px;
  border-radius: 14px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

body.sennik .s-bottom__divider{
  width: 100%;
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.35), rgba(255,255,255,0));
}

body.sennik .s-bottom__title{
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
}
body.sennik .s-bottom__text{
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  text-align:justify;
}

@media (max-width: 991px){
  body.sennik .s-bottom{
    padding: 28px 18px 32px;
    border-radius: 12px;
  }
  body.sennik .s-bottom__title{ font-size: 20px; }
}

/* Stopka */
body.sennik .site-footer--glass{ margin-top: 50px; }

body.sennik .site-footer__bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  padding: 22px 26px;
  border-radius: 10px;

  background: var(--glass);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.35);

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

body.sennik .site-footer__left,
body.sennik .site-footer__right{
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* Realizacja ma być “mniejszościowa” */
body.sennik .site-footer__right{
  font-size: 12px;
  opacity: 0.75;
}
body.sennik .site-footer__right a{
  color: var(--gold);
  text-decoration: none;
}
body.sennik .site-footer__right a:hover{ text-decoration: underline; }

@media (max-width: 767px){
  body.sennik .site-footer__bar{
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ==========================================================================
   8) Baner zgód (naprawione komentarze – bez # w CSS)
   ========================================================================== */
#consent-banner{
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #000;
  padding: 15px;
  text-align: center;
  display: none;
  color: #fff;
  z-index: 250000;
}
#consent-banner button{
  margin: 5px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}
#accept-btn{ background-color: #28a745; color: #fff; }
#reject-btn{ background-color: #dc3545; color: #fff; }
/* Cookie modal (minimal, elegancki, "premium") */
.cc { position: fixed; inset: 0; z-index: 99999; display: none; }
.cc.is-open { display: block; }
.cc__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.cc__modal { position: relative; max-width: 760px; margin: 0 auto; top: 50%; transform: translateY(-50%); padding: 18px; }
.cc__content {
  background: #0f0f0f; color: #f2f2f2;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  padding: 18px 18px 14px;
}
.cc__title { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.cc__desc { margin: 0 0 14px; opacity: .92; font-size: 14px; line-height: 1.5; }
.cc__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cc__btn {
  border-radius: 10px; padding: 10px 14px; font-size: 14px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent; color: #f2f2f2;
}
.cc__btn--ghost { opacity: .95; }
.cc__btn--primary { background: #66bc29; border-color: #66bc29; color: #111; font-weight: 600; }
.cc__links { margin-top: 10px; font-size: 12px; opacity: .85; }
.cc__link { color: #dcdcdc; text-decoration: underline; }
.cc__sep { margin: 0 8px; opacity: .6; }

@media (max-width: 520px) {
  .cc__modal { padding: 12px; }
  .cc__actions { justify-content: stretch; }
  .cc__btn { flex: 1; }
}
/* ==========================================================================
   9) Podstrony – 2 kolumny + sidebar + artykuł
   ========================================================================== */
body.sennik .s-hero--inner{ margin-bottom: 14px; }

body.sennik .s-two-col{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: start;
}
body.sennik .s-main{ min-width: 0; }

body.sennik .s-side{
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(33, 53, 121, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body.sennik .s-side__head{
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  text-align: left;
}
body.sennik .s-side__list{ display: grid; gap: 10px; }
body.sennik .s-side__item{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  padding: 8px;
  border-radius: 10px;
  color: rgba(255,255,255,0.90);
}
body.sennik .s-side__item:hover{ background: rgba(255,255,255,0.06); }
body.sennik .s-side__img{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
body.sennik .s-side__txt{ font-weight: 600; }

/* Artykuł */
body.sennik .s-article{ padding: 10px 0 0; text-align:justify; }
body.sennik .s-article__lead{
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 18px;
}
body.sennik .s-article__h{
  color: var(--gold);
  margin: 18px 0 10px;
  font-weight: 700;
}
body.sennik .s-article__list{
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

/* Obrazek w treści (float) */
body.sennik .s-article__image--right{

  max-width: 100%;

}
body.sennik .s-article__image--right img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
body.sennik .s-article::after{
  content: "";
  display: block;
  clear: both;
}

/* Chips */
body.sennik .s-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
body.sennik .s-chip{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
body.sennik .s-chip:hover{ background: rgba(255,255,255,0.10); }

/* RWD – kolumny */
@media (max-width: 991px){
  body.sennik .s-two-col{ grid-template-columns: 1fr; }
  body.sennik .s-side{ position: relative; top: auto; }
}

/* ==========================================================================
   10) A–Z
   ========================================================================== */
body.sennik .s-az{ margin: 60px 0; }

body.sennik .s-az__grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
}
body.sennik .s-az__item{
  text-align: center;
  text-decoration: none;
  padding: 28px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  transition: all 0.25s ease;
}
body.sennik .s-az__item:hover{
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
body.sennik .s-az__letter{
  display: block;
  font-family: 'Playfair Display','Cinzel',serif;
  font-size: 40px;
  line-height: 1;
  background: linear-gradient(180deg,#fff6c8 0%,#f5d36a 35%,#d4a53a 55%,#fff1b0 75%,#b8892f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(255,220,140,0.35), 0 0 18px rgba(255,200,90,0.25);
}
body.sennik .s-az__label{
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ==========================================================================
   11) Wyszukiwarka snów – odstępy
   ========================================================================== */
body.sennik .s-search__tiles .s-tile{
  display: flex;
  margin-bottom: 16px;
  color: #fff;
}

/* ==========================================================================
   12) Wiersz snu (dream-row) – półprzezroczyste tło
   ========================================================================== */
body.sennik .dream-row{
  display: flex;
  gap: 16px;
  margin: 16px 0;
  padding: 14px 16px;

  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);

  align-items: center;
  justify-content: flex-start;
}

body.sennik .dream-row__img{
  flex: 0 0 140px;
  margin: 0;
}
body.sennik .dream-row__img img{
  width: 100%;
  height: auto;
  display: block;
}
body.sennik .dream-row__content{
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

@media (max-width: 768px){
  body.sennik .dream-row{
    flex-direction: column;
    align-items: stretch;
  }
  body.sennik .dream-row__img{ flex-basis: auto; }
}
body.sennik .s-search__tiles .s-tile__body{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

body.sennik .s-search__tiles .s-tile__desc{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  font-size: 13px;
  line-height: 1.35;
  color: rgba(255,255,255,0.78);
}
/* =========================================================
   WYNIKI WYSZUKIWANIA – layout lista (jak Google)
   ========================================================= */

body.sennik .s-search__tiles .s-tile{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;                     /* odległość tekstu od zdjęcia */
  padding: 12px 14px;
  text-align: left;
}

/* miniaturka – 50% mniejsza niż była */
body.sennik .s-search__tiles .s-tile__thumb{
  width: 56px;                   /* było ~110 */
  height: 56px;
  flex: 0 0 56px;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

body.sennik .s-search__tiles .s-tile__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* kolumna tekstowa */
body.sennik .s-search__tiles .s-tile__body{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
}

/* tytuł */
body.sennik .s-search__tiles .s-tile__title{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: #fff;
}

/* opis pod tytułem */
body.sennik .s-search__tiles .s-tile__desc{
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
  margin: 0;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
body.sennik .s-search__tiles .s-tile__more{
  color: var(--gold);
  font-weight: 600;
  margin-left: 4px;
  white-space: nowrap;
}
/* =========================================================
   Wyśrodkowanie liter w badge A–Z
   ========================================================= */

body.sennik .s-badge{
  display: flex;
  align-items: center;      /* pion */
  justify-content: center;  /* poziom */
}

/* dodatkowa stabilizacja liter */
body.sennik .s-badge .s-az__letter{
  line-height: 1;
  display: block;
}
/* miniaturka w "ostatnio dodane" */
.s-recent__thumb{
  width:1.5cm;
  height:1.5cm;
  flex:0 0 1.5cm;
  overflow:hidden;
  border-radius:10px;
}

.s-recent__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* uklad wiersza: lewo (thumb), srodek (tekst), prawo (akcja) */
.s-recent__row{
  display:flex;
  align-items:center;
  gap:14px;
}

.s-recent__text{
  flex:1 1 auto;
  min-width:0;
}

/* data + tytul w jednej linii, z data "wklejona" miedzy */
.s-recent__meta{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-width:0;
}

.s-recent__daymonth{
  color: var(--gold);
  white-space:nowrap;
  font-weight:600;
}

.s-recent__titleline{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* prawa strona */
.s-recent__action{
  color: var(--gold);
  white-space:nowrap;
  font-weight:600;
  opacity:.95;
}

/* opcjonalny hover */
.s-recent__row:hover .s-recent__action{
  opacity:1;
  text-decoration:underline;
}
.s-sponsored__tabs {
  display: flex;
  gap: 10px;
  margin: 12px 0 18px;
  flex-wrap: wrap;
}

.s-tab {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: inherit;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.s-tab.is-active {
  border-color: rgba(255,255,255,.6);
}

.s-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 240px);
  gap: 14px;
}

.s-article-tile a {
  display: block;
  text-decoration: none;
}

.s-article-tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 8px;
}

.s-article-tile__title {
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 4px;
}

.s-article-tile__date {
  font-size: 12px;
  opacity: .7;
}

@media (max-width: 1100px) {
  .s-articles-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .s-articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .s-articles-grid { grid-template-columns: 1fr; }
}
/* ====== SINGLE COLUMN MODE (bez sidebara) ====== */
body.sennik .s-two-col.s-two-col--single{
  grid-template-columns: 1fr;   /* wyłącz 2 kolumny */
  gap: 0;                        /* opcjonalnie */
}

body.sennik .s-two-col.s-two-col--single .s-side{
  display: none;
}

body.sennik .s-two-col.s-two-col--single .s-main{
  width: 100%;
  max-width: none;               /* pełna szerokość kontenera */
}
/* artykuły: kontener sekcji wyśrodkowany */
.s-sponsored{
  max-width: 1100px;
  margin: 0 auto;
}

/* zakładki kategorii wyśrodkowane */
.s-sponsored__tabs{
  justify-content: center;
}

/* grid wyśrodkowany (gdyby max-width było większe lub różne) */
.s-articles-grid{
  justify-content: center;
}
/* ============================
   OSTATNIO DODANE – 2 kolumny, stała wysokość
   ============================ */

body.sennik .s-recent.s-recent--grid{
  /* zamiast „listy z border-bottom” robimy grid */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top:45px;
  margin-bottom:45px;

  /* zdejmujemy efekt „pudełka listy” bo w gridzie wygląda ciężko */
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

/* Każdy element dalej jest „belką”, ale w gridzie */
body.sennik .s-recent.s-recent--grid .s-recent__row{
  /* zachowujemy Twoją kompaktową belkę */
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);

  /* STAŁA WYSOKOŚĆ – to usuwa „brzydkie wysokie klocki” */
  height: 78px;          /* możesz zmienić na 74–82 pod gust */
  min-height: 78px;
  max-height: 78px;
  overflow: hidden;

  /* w gridzie nie chcemy border-bottom z listy */
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

body.sennik .s-recent.s-recent--grid .s-recent__row:hover{
  background: rgba(255,255,255,0.08);
}

/* Miniatura: trzymamy rozmiar (u Ciebie jest 1.5cm ~ 56–57px) */
body.sennik .s-recent.s-recent--grid .s-recent__thumb{
  width: 1.5cm;
  height: 1.5cm;
  flex: 0 0 1.5cm;
  border-radius: 10px;
}

/* Środek: pilnujemy, żeby nic nie zawijało */
body.sennik .s-recent.s-recent--grid .s-recent__text{
  min-width: 0;
}

/* Meta: jedna linia, tytuł obcinany */
body.sennik .s-recent.s-recent--grid .s-recent__meta{
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

body.sennik .s-recent.s-recent--grid .s-recent__daymonth{
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

body.sennik .s-recent.s-recent--grid .s-recent__titleline{
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA po prawej: mniejsze, żeby nie rozpychało wysokości */
body.sennik .s-recent.s-recent--grid .s-recent__action{
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: .92;
}

/* Mobile: 1 kolumna */
@media (max-width: 900px){
  body.sennik .s-recent.s-recent--grid{
    grid-template-columns: 1fr;
  }
}
/* ============================
   NAJPOPULARNIEJSZE SNY – jak wcześniej, tylko label pod spodem
   ============================ */

body.sennik a.s-tile{
  /* nie robimy kwadratu i nie rozdmuchujemy */
  aspect-ratio: auto;
  padding: 10px 10px;          /* mniejsze niż wcześniej */
  gap: 8px;

  display: flex;
  flex-direction: column;      /* label POD thumb */
  align-items: center;
  justify-content: center;
}

/* thumb ma zająć więcej miejsca – mniej “powietrza” */
body.sennik .s-tile__thumb{
  width: 72px;                 /* było za małe – dajemy większe */
  height: 72px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  /* jeśli wcześniej miałeś tło/border – zostawiamy, ale lekko */
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.10);
}

/* ikonka/obrazek w środku większy */
body.sennik .s-tile__thumb img,
body.sennik .s-tile__thumb svg{
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
}

/* label na dół, kompaktowo */
body.sennik .s-tile__label{
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;

  /* max 2 linie bez rozpychania kafla */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* opcjonalnie: jeśli wcześniej .s-tile miało min-height i robiło „puste” miejsca */
body.sennik a.s-tile{
  min-height: 0;
}
/* ============================
   NAJPOPULARNIEJSZE SNY – zawężenie kafelka
   ============================ */

/* kafelek NIE może się rozciągać na całą szerokość */
body.sennik a.s-tile{
  width: 100%;
  max-width: 160px;      /* kontrola szerokości – możesz dać 140–180 */
  margin: 0 auto;        /* centrowanie w kolumnie */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* kontener kafelków – żeby nie rozpychał */
body.sennik .s-tiles,
body.sennik .s-tiles__grid,
body.sennik .s-tiles-grid{
  justify-items: center; /* każdy tile na środku siatki */
}
/* ============================
   NAJPOPULARNIEJSZE SNY – ULTRA KOMPAKT
   ============================ */

/* tile mniejszy */
body.sennik a.s-tile{
  max-width: 120px;     /* było 160 – teraz ciaśniej */
  width: 100%;
  padding: 8px 6px;     /* mniej powietrza */
  gap: 6px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* miniatura mniejsza */
body.sennik .s-tile__thumb{
  width: 56px;
  height: 56px;
  border-radius: 12px;

  display: grid;
  place-items: center;
}

/* ikonka większa względem boxa */
body.sennik .s-tile__thumb img,
body.sennik .s-tile__thumb svg{
  width: 38px;
  height: 38px;
}

/* label ciaśniejszy */
body.sennik .s-tile__label{
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* grid bardziej zwarty */
body.sennik .s-tiles,
body.sennik .s-tiles__grid,
body.sennik .s-tiles-grid{
  gap: 12px;
  justify-items: center;
}
/* FORCE: tile thumb bez tła/ramki + większa ikona */
body.sennik .s-tile__thumb{
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: grid !important;
  place-items: center !important;
}

body.sennik .s-tile__thumb img,
body.sennik .s-tile__thumb svg{
  width: 56px !important;
  height: 56px !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
}
/* ============================
   TILE – większy obszar ikony
   ============================ */

body.sennik .s-tile__thumb{
  width: 82px !important;   /* było ~48–56 */
  height: 82px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ikona jeszcze większa */
body.sennik .s-tile__thumb img,
body.sennik .s-tile__thumb svg{
  width: 88px !important;
  height: 64px !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
}
.s-side + .s-side--articles{
  margin-top: 22px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255,255,255,0.12) !important;
}
body.sennik::before,
body.sennik::after{
  content:"";
  position: fixed;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

/* blend top → środek */
body.sennik::before{
  top: 480px; /* dostosowane do wysokości topa */
  background: linear-gradient(
          to bottom,
          rgba(33,53,121,0.0),
          rgba(33,53,121,0.35),
          rgba(33,53,121,0.0)
  );
}

/* blend środek → dół */
body.sennik::after{
  bottom: 360px; /* dostosowane do wysokości dołu */
  background: linear-gradient(
          to top,
          rgba(33,53,121,0.0),
          rgba(33,53,121,0.45),
          rgba(33,53,121,0.0)
  );
}
/* treść strony zawsze nad tłami i overlayami */
body.sennik .site,
body.sennik .site-main,
body.sennik .container,
body.sennik main,
body.sennik header,
body.sennik footer{
  position: relative;
  z-index: 2;
}

body.sennik{
  position: relative;      /* potrzebne do z-index pseudo-elementów */
}

body.sennik::before,
body.sennik::after{
  content:"";
  position: fixed;
  left: 0;
  width: 100%;
  height: 220px;           /* szerokość blendu */
  pointer-events: none;
  z-index: 1;              /* MUSI być nad tłem, ale pod treścią */
}

/* TOP → ŚRODEK (w okolicy końca chmur) */
body.sennik::before{
  top: 520px;  /* jeśli szew jest wyżej/niżej: zmień o +/- 40px */
  background: linear-gradient(
          to bottom,
          rgba(33,53,121,0.00),
          rgba(33,53,121,0.40),
          rgba(33,53,121,0.00)
  );
}

/* ŚRODEK → DÓŁ (blisko stopki) */
body.sennik::after{
  bottom: 280px; /* jeśli szew bliżej/wyżej: zmień o +/- 60px */
  background: linear-gradient(
          to top,
          rgba(33,53,121,0.00),
          rgba(33,53,121,0.45),
          rgba(33,53,121,0.00)
  );
}
.s-side__cat{
  display:block;
  margin: 14px 0 8px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  transition: color .15s ease, transform .15s ease;
}

.s-side__cat:hover{
  color: #ffd98a;
  transform: translateX(2px);
}
#sponsored-more-wrap {
  text-align:center;

}
#sponsored-more-link {
  color: var(--gold);
}
.dream-placeholder{
  width:100%;
  aspect-ratio: 1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.35);
  color:#fff;
  font-weight:600;
  font-size:14px;

  border-radius:12px;
}

.dream-placeholder span{
  opacity:.85;
}