header.main .hbox .logo {
  background: none;
}

.letter_home {
  display: none;
}

.head-main-nav .login-btn a,
.head-main-nav .register-btn a {
  padding: 5px 10px !important;
  margin-top: 17px !important;
  background-color: #ff8906 !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: normal !important;
  border-radius: 3px !important;
  text-decoration: none !important;
  transition: background-color 0.3s !important;
}

.head-main-nav .login-btn a:hover,
.head-main-nav .register-btn a:hover {
  background-color: #cc3735 !important;
}

.rejestruj-container {
  width: 100%;
  /* Ustawienie szerokości kontenera na 100% */
  text-align: center;
  /* Wyśrodkowanie zawartości */
}

.rejestruj {
  max-width: 100%;
  width: 400px;
  background-color: #f94349;
  color: #ffffff !important;
  transition: background-color 0.3s;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 60px;
  display: inline-block;
  /* Ustawienie jako inline-block */
}

.rejestruj:hover {
  background-color: #cc3735;
}

body {
  background: #000;
  color: #fff;
}

.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4,
.wp-content h5,
.wp-content h6 {
  color: #fff;
}

input[type="text"] {
  text-align: center;
  /* Wyśrodkowanie tekstu i placeholdera */
  width: 100%;
  /* Opcjonalnie: szerokość pola tekstowego */
  padding: 10px;
  /* Opcjonalnie: dodanie odstępu wewnętrznego */
  box-sizing: border-box;
  /* Aby padding nie rozszerzał szerokości */
}

/* Wszystko do header postera */
.film-info {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to left, rgba(20, 18, 28, 0) 0%, #14121C 60%);
}

.film-info {
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  clear: both;
  padding: 20px;
  font-weight: normal;
  line-height: 1.5;
  font-size: 0.8em;
  border: solid 1px #211f26;
  border-radius: 5px;
  background-color: #14121C;
}

.naglowek-filmu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: normal;
  line-height: 1.5;
  font-size: 2em;
  padding-bottom: 15px;
  color: #ffffff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.05);
  border-radius: 5px 5px 0px 0px;
}

.additional-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.7em;
  text-shadow: 0 0 20px #000000;
}

.original-title {
  line-height: 1.5;
}

.separator {
  display: inline-block;
  padding: 0 5px;
}

.film-content {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
}

.poster-film {
  margin-right: 20px;
}

.film-details {
  font-size: 14px;
}

.rating-value {
  font-size: 30px;
  font-weight: bold;
}

.rating-badge {
  position: absolute;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #FF8906;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* Responsywność */
@media (max-width: 768px) {

  .naglowek-filmu,
  .additional-info,
  .film-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .film-content {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .poster-film {
    margin: 0 auto 20px auto;
  }

  .rating-badge {
    position: relative;
    right: 0;
    margin-top: 15px;
  }
}

.lista-podobne {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  line-height: 1.5;
}

/* Media queries dla responsywności */
@media (max-width: 1200px) {
  .lista-podobne {
    grid-template-columns: repeat(4, 1fr);
    /* 4 kolumny na ekranie o szerokości do 1200px */
  }
}

@media (max-width: 992px) {
  .lista-podobne {
    grid-template-columns: repeat(3, 1fr);
    /* 3 kolumny na ekranie o szerokości do 992px */
  }
}

@media (max-width: 768px) {
  .lista-podobne {
    grid-template-columns: repeat(2, 1fr);
    /* 2 kolumny na ekranie o szerokości do 768px */
  }
}

@media (max-width: 576px) {
  .lista-podobne {
    grid-template-columns: 1fr;
    /* 1 kolumna na bardzo małym ekranie */
  }
}

.other-info {
  margin-top: 30px;
  margin-bottom: 30px;
}

.list-element {
  border: solid 1px #211f26;
  border-radius: 5px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
}

.element-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.element1 {
  font-size: 0.8em;
  color: #CCCCCC;
}

.element2 {
  font-size: 1em;
}

.lista-seria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  line-height: 1.5;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.lista-seria1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  line-height: 1.5;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.element-listy-seria {
  background-color: #14121C;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.obrazek-kontener-seria {
  width: 100%;
}

.obrazek-listy-seria {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tytul-i-liczba-serii {
  text-align: center;
  margin-top: 10px;
}

.tytul-serii {
  font-weight: bold;
  font-size: 16px;
}

.liczba-filmow {
  font-size: 14px;
  color: #555;
}

/* Responsywność */
@media (max-width: 768px) {
  .lista-seria1 {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  .element-listy-seria {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .obrazek-listy-seria {
    width: 80%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .lista-seria1 {
    grid-template-columns: 1fr;
    gap: 15px;
    justify-items: center;
  }

  .element-listy-seria {
    padding: 15px;
    justify-content: center;
  }

  .tytul-serii {
    font-size: 14px;
  }

  .liczba-filmow {
    font-size: 12px;
  }
}

.h3-lista-podobne1 {
  font-size: 18px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.element-listy {
  background-color: #14121C;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
}

.button-lista {
  font-weight: normal;
  font-size: 14px;
  background-color: #FF8906;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000;
}

.other-info h2 {
  margin-bottom: 20px;
  font-size: 125%;
}

.obrazek-kontener {
  width: 70px;
  height: 45px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
}

.h3-lista-podobne2 {
  font-size: 18px;
  margin-bottom: 20px;
  margin-top: 30px;
}

/* Stylizacja przyszlych premier */
.upcoming-releases {
  margin-top: 40px;
}

.upcoming-releases .h3-lista-podobne1 h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.upcoming-releases .lista-podobne {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.upcoming-releases .element-listy {
  display: block;
  width: 150px;
  /* Dopasuj szerokość według potrzeb */
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  /* Efekt hover */
}

.upcoming-releases .element-listy:hover {
  transform: scale(1.05);
  /* Efekt powiększenia przy najechaniu */
}

.upcoming-releases .obrazek-kontener {
  width: 100%;
  height: auto;
}

.upcoming-releases .obrazek-listy {
  width: 100%;
  height: auto;
  display: block;
}

.upcoming-releases .tytul-i-rok {
  margin-top: 10px;
}

.upcoming-releases .tytul-filmu {
  font-size: 16px;
  font-weight: bold;
}

.upcoming-releases .rok-premiery {
  font-size: 14px;
  color: #bfbfbf;
  margin-top: 5px;
}

/* Stylizacja kontenera Call to Action */
/* Stylizacja sekcji Call to Action */
.call-to-action {
  background-color: #f5f5f5;
  /* Jasne tło dla kontrastu */
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 1200px;
  /* Ograniczenie szerokości */
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* Delikatny cień */
}

/* Stylizacja tekstu CTA */
.call-to-action p {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.5;
  font-weight: 500;
}

/* Stylizacja kontenera przycisków */
.buttons-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  /* Zapewnia responsywność */
}

/* Stylizacja przycisków */
.button1 {
  background-color: #ff8906;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Efekty hover dla przycisków */
.button1:hover {
  background-color: #e57c05;
  /* Ciemniejszy odcień przy hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Responsywność */
@media (max-width: 600px) {
  .call-to-action {
    padding: 15px;
    margin-top: 20px;
  }

  .call-to-action p {
    font-size: 1em;
  }

  .button1 {
    padding: 8px 16px;
    font-size: 0.95em;
  }
}

/* Stylizacja tematow filmowych */
/* Kontener główny sekcji */
.film-topics-section .items.normal {
  background-color: #1a1a1a;
  /* Ciemne tło */
  padding: 20px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Ustawienie 3 kolumn */
  gap: 20px;
  /* Odstęp między elementami */
}

/* Pojedynczy element tematu */
.film-topics-section .col {
  background-color: #292929;
  /* Ciemne tło dla elementów */
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Tekst w środku elementów */
.film-topics-section .col p {
  color: #ffffff;
  /* Biały kolor tekstu */
  font-weight: bold;
  margin: 5px 0;
}

/* Efekt najechania kursorem */
.film-topics-section .col:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  background-color: #ff8906;
  /* Pomarańczowe tło na hover */
}

.film-topics-section .col:hover p {
  color: #1a1a1a;
  /* Ciemny kolor tekstu na hover */
}

/* Stylizacja nagłówka sekcji */
.film-topics-section header h2 {
  color: #ff8906;
  /* Pomarańczowy kolor nagłówka */
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
  grid-column: span 3;
  /* Nagłówek rozciąga się na wszystkie kolumny */
}

/* Przyciski "Zobacz więcej" */
.film-topics-section .see-more {
  text-align: center;
  margin-top: 20px;
  grid-column: span 3;
  /* Przycisk rozciąga się na wszystkie kolumny */
}

.film-topics-section .see-more a.see-all {
  background-color: #ff8906;
  /* Pomarańczowe tło przycisku */
  color: #ffffff;
  /* Biały kolor tekstu przycisku */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.film-topics-section .see-more a.see-all:hover {
  background-color: #ffffff;
  /* Białe tło na hover */
  color: #1a1a1a;
  /* Ciemny kolor tekstu na hover */
}

/* Media queries dla responsywności */
/* Dla ekranów o szerokości maksymalnie 1024px (tablety) */
@media (max-width: 1024px) {
  .film-topics-section .items.normal {
    grid-template-columns: repeat(2, 1fr);
    /* Ustawienie 2 kolumn */
  }
}

/* Dla ekranów o szerokości maksymalnie 768px (tablety i małe laptopy) */
@media (max-width: 768px) {
  .film-topics-section .items.normal {
    grid-template-columns: 1fr;
    /* Ustawienie 1 kolumny */
  }

  .film-topics-section header h2 {
    grid-column: span 1;
    /* Nagłówek rozciąga się na 1 kolumnę */
  }

  .film-topics-section .see-more {
    grid-column: span 1;
    /* Przycisk "Zobacz więcej" rozciąga się na 1 kolumnę */
  }
}

/* Dla ekranów o szerokości maksymalnie 480px (smartfony) */
@media (max-width: 480px) {
  .film-topics-section .items.normal {
    padding: 10px;
    gap: 10px;
    /* Zmniejszenie odstępu między elementami */
  }

  .film-topics-section .col {
    padding: 15px;
  }

  .film-topics-section .see-more a.see-all {
    padding: 10px 15px;
    /* Zmniejszenie paddingu przycisku */
  }
}

/* kontener w kolekcji tematy filmowe) */
.movies-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  padding: 5px;
  position: relative;
  z-index: 1;
}

/* Styl dla przycisku "Zobacz więcej bajek dla dzieci" */
header div .see-all {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ff8906;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* Hover effect dla przycisku */
header div .see-all:hover {
  background-color: #e67f04;
  /* Lekko ciemniejszy odcień pomarańczu */
  color: #ffffff;
}

/* Kontener siatki rozpoczecie dla mopdulu serie */
/* Kontener siatki */
.series-collection-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0);
  /* Przezroczyste tło */
}

/* Element każdej serii */
.series-item {
  background-color: rgba(255, 255, 255, 0.9);
  /* Półprzezroczyste białe tło */
  width: calc(33% - 20px);
  /* Trzy kolumny */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efekt hover dla serii */
.series-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Okładka serii */
.series-item img {
  width: 100%;
  height: auto;
  border-bottom: 3px solid #ff8906;
  /* Pasek akcentu */
}

/* Tytuł serii */
.series-item h3 {
  text-align: center;
  padding: 10px;
  font-size: 1.2em;
  color: #333;
  /* Ciemny kolor tekstu */
}

/* Link do serii */
.series-item a {
  text-decoration: none;
  color: inherit;
}

/* Stylowanie linków na hover */
.series-item a:hover {
  color: #ff8906;
}

/* napis h1 na glownej */
.module_home_ads h1 {
  font-size: 2.2em;
}

/* widoczność i responsywność tabel */
.wp-block-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  display: table;
}

.wp-block-table th,
.wp-block-table td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px;
  color: #fff;
}

.wp-block-table th {
  background-color: #1a1a1a;
  font-weight: bold;
}


/* filmowe tematy */
#tve_flt {
  position: relative;
  z-index: 1;
}

/* responsywny iframe */
.film-trailer {
  position: relative;
  padding-bottom: 56.25%;
  /* Proporcje 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.rptss {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.scrollbar-text-main {
  max-height: 300px;
  /* Maksymalna wysokość tekstu, po przekroczeniu której pojawi się pasek przewijania */
  overflow-y: auto;
  /* Włącza pionowy pasek przewijania, gdy zawartość przekracza maksymalną wysokość */
  padding: 15px;
  /* Dodaje trochę paddingu wewnątrz kontenera */
  border: 1px solid #ccc;
  /* Opcjonalnie dodaje ramkę dookoła tekstu */
  line-height: 27px;
  margin: 0px;
}

/* --- SEARCH: twarde resetowanie pozycji i układu --- */
/* 1) H1 bez <center> i z płynnym rozmiarem */
.wp-content h1,
.module_home_ads h1 {
  text-align: center;
  margin: 12px auto 8px;
  font-size: clamp(20px, 5.5vw, 28px);
  /* było 2.2em */
  line-height: 1.2;
  letter-spacing: 0.2px;
}

/* 2) Formularz: pewny układ i mniejszy placeholder na mobile */
.search_page_form form {
  display: flex !important;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
}

.search_page_form input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 12px !important;
  font-size: 16px;
  text-align: left;
  /* lepiej czytelne przy długich tytułach */
}

.search_page_form input::placeholder {
  opacity: .8;
}

@media (max-width: 480px) {
  .search_page_form form {
    flex-direction: column !important;
    gap: 8px;
  }

  .search_page_form input[type="text"] {
    font-size: 15px;
  }

  .search_page_form input::placeholder {
    font-size: 14px;
  }

  /* krótszy optycznie */
  .search_page_form .search-button {
    width: 100% !important;
  }
}

/* 3) Przycisk „Wyszukaj” – pewne pozycjonowanie i dotykowy rozmiar */
.search_page_form .search-button {
  position: static !important;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 16px;
  line-height: 48px;
}

/* 4) Hero – poprawny kontrast + płynna typografia */
.lcp-hero {
  text-align: center !important;
  padding: 10px 12px;
}

.lcp-line {
  font-size: clamp(22px, 6vw, 48px);
  line-height: 1.1;
}

.lcp-line-small {
  font-size: clamp(16px, 4.2vw, 26px);
}

.lcp-line-white {
  color: #ffffff;
}

/* przy czarnym tle to jest czytelne */
.lcp-line-orange {
  color: #ff8906;
}

/* delikatnie mniejsze odstępy między liniami na mobile */
@media (max-width: 480px) {
  .lcp-hero {
    padding-top: 6px;
  }
}

/* 5) CTA rejestracji – bez stałych 400px i 60px, bardziej „aplikacyjne” */
.rejestruj-container {
  text-align: center;
}

.rejestruj {
  display: inline-block;
  width: auto;
  /* rezygnujemy ze sztywnego 400px */
  max-width: 92vw;
  padding: 12px 18px;
  /* zamiast line-height:60px */
  line-height: 1.2;
  font-size: clamp(16px, 4.2vw, 18px);
  border-radius: 10px;
}

@media (max-width: 480px) {
  .rejestruj {
    padding: 12px 14px;
  }
}

/* 6) Dodatki: trochę powietrza nad/po formularzu i hero */
.search-page {
  padding: 8px 12px;
}

.search_page_form form button:hover>span {
    color: #ff8906;
}

/* Leniwe ladowanie youtube */
.youtube-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  max-width: 100%;
  border-radius: 8px;
}

.youtube-facade .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  background: url('https://img.icons8.com/ios-filled/100/ffffff/play--v1.png') no-repeat center;
  background-size: contain;
  opacity: 0.85;
}

/* SBOX: mobilny padding + bezpieczne box-sizing */
#single .content .sbox {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #single .content .sbox {
    padding: 14px 16px;
    /* było 25px 40px – zjadało 80px szerokości */
  }
}

/* (opcjonalnie) jeśli w środku .wp-content też dodaje marginesy/padding */
@media (max-width: 768px) {
  #single .content .sbox .wp-content {
    padding: 0 !important;
    margin: 0 !important;
  }
}

.audio-player-box {
  background: #f9f9f9;
  border-left: 4px solid #ff5a5f;
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.audio-player-box audio {
  width: 100%;
  max-width: 600px;
  outline: none;
  margin-top: 10px;
}