.social-icons-article {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  @media (max-width: 1200px) {
    .social-icons-article  {
      display: none;
    }
  }
  


.right {
    text-align: right;
}
.podpis {

    background-color: rgba(0, 0, 0, 0.5) !important;
    color: rgb(255, 255, 255, 0.8);
    border-radius: 8px;
    text-align: right;
    display: inline;
    font-size: 0.65rem;
}


.content {
    --x-text-opacity: 1;
    color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
    
}

 .content h1 {
    font-size: calc(1.35rem + 1.2vw);
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    --x-text-opacity: 1;
    color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
  }
  @media (min-width: 1200px) {
    .content h1 {
      font-size: 2.25rem;
      margin-top: 2.5rem !important;
      margin-bottom: 1.5rem !important;
      --x-text-opacity: 1;
      color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
    }
  }
  
  .content  h2 {
    font-size: calc(1.3rem + 0.6vw);
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    --x-text-opacity: 1;
    color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
  }
  @media (min-width: 1200px) {
    .content h2 {
      font-size: 1.75rem;
      margin-top: 2.5rem !important;
      margin-bottom: 1.5rem !important;
      --x-text-opacity: 1;
      color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
    }
  }
  
  .content h3 {
    font-size: calc(1.2625rem + 0.15vw);
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    --x-text-opacity: 1;
    color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
  }
  @media (min-width: 1200px) {
    .content h3 {
      font-size: 1.375rem;
      margin-top: 2rem !important;
      margin-bottom: 1.5rem !important;
      --x-text-opacity: 1;
      color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
    }
  }
  
  .content h4 {
    font-size: 1.125rem;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    --x-text-opacity: 1;
    color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
  }
  
  .content h5 {
    font-size: 1rem;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    --x-text-opacity: 1;
    color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
  }
  
  .content h6 {
    font-size: 0.875rem;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    --x-text-opacity: 1;
    color: rgba(var(--x-black-rgb), var(--x-text-opacity)) !important;
  }
  
  .content p {
    font-size: 1.125rem;
    font-weight: 400;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  @media (min-width: 1200px) {
    .content p {
        font-size: 1.125rem;
        font-weight: 400;
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
  }



  .content blockquote p {
    font-size: 1.2rem !important;
    --x-text-opacity: 1;
    color: rgba(var(--x-gray-700-rgb), var(--x-text-opacity)) !important;
  }
  .content blockquote {
    position: relative;
    padding-left: 1rem;
    font-size: 1.2rem;
    margin-top: 3.5rem !important;
    margin-bottom: 2.5rem !important;
    margin-right: 3rem;
    font-style: italic;
    --x-text-opacity: 1;
    color: rgba(var(--x-gray-700-rgb), var(--x-text-opacity)) !important;
  }
  
  .content blockquote::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0rem;
    width: 6rem;
    height: 100%;
    background-image: url("../img/quote.svg");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
  }
  
  .content cite::before, .content figcaption::before  {
    content: "—";
    margin-right: 5px;
  }

  .content cite, .content figcaption  {

    font-size: 1.125rem;
    font-weight: 400;
    text-align: right;
    margin-right: 4rem;
    margin-top: 1.5rem !important;
    margin-bottom: 2.5rem !important;
    font-weight: 500;
  }

  @media (min-width: 1200px) {
    .content blockquote p {
        font-size: 1.2rem !important;
        --x-text-opacity: 1;
        color: rgba(var(--x-gray-700-rgb), var(--x-text-opacity)) !important;
      }
    .content blockquote {
      position: relative;
      padding-left: 1rem;
      font-size: 1.2rem;
      margin-top: 3.5rem !important;
      margin-bottom: 1.5rem !important;
      margin-right: 3rem;
      font-style: italic;
      --x-text-opacity: 1;
      color: rgba(var(--x-gray-700-rgb), var(--x-text-opacity)) !important;
    }
  
    .content blockquote::before {
      content: '';
      position: absolute;
      top: -1rem;
      left: 0rem;
      width: 6rem;
      height: 100%;
      background-image: url("../img/quote.svg");
      background-repeat: no-repeat;
      background-size: contain;
      opacity: 0.1;
    }
  }
  

  .content ul,
  .content ol {
    font-size: 1.125rem;
    font-weight: 400;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    margin-left: 1rem;
    padding-left: 0.5rem;
  }
  @media (min-width: 1200px) {
    .content ul,
    .content ol {
        font-size: 1.125rem;
        font-weight: 400;
      margin-top: 2rem !important;
      margin-bottom: 2rem !important;
      margin-left: 1rem;
      padding-left: 0.5rem;
    }
  }

  
  .content li {
    font-size: 1.125rem;
    font-weight: 400;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    margin-left: 1rem;
    padding-left: 0.5rem;
  }
  @media (min-width: 1200px) {
    .content li {
        font-size: 1.125rem;
        font-weight: 400;
      margin-top: 1rem !important;
      margin-bottom: 1rem !important;
      margin-left: 1rem;
      padding-left: 0.5rem;
    }
  }


.content a {
  color: #000;
  text-decoration: none;
  position: relative;
}

.content a::after {
  content: "";
  position: absolute;
  bottom: 0em; /* Przesunięcie w dół */
  left: 0;
  width: 100%;
  border-bottom: 1px solid #000; /* Kolor i styl podkreślenia */
}

.content a:hover {
    color: var(--x-link-hover-color);
    text-decoration: none;
}
.content a:hover::after {
    content: "";
    position: absolute;
    bottom: 0em; /* Przesunięcie w dół */
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--x-link-hover-color); /* Kolor i styl podkreślenia */
}

@media (max-width: 576px) {

    .skalowanie {
        display: none;
    }
}




/* KARUZEKA */
.scroll-container {
    -webkit-overflow-scrolling: touch; /* umożliwia płynne przewijanie na urządzeniach z iOS */
}

.scroll-item {
    flex: 0 0 70%;
    margin-right: 3%; /* dodaje odstęp między postami */
}

/* PASEK PRZEWIJANIA */
/* dla Chrome, Safari i Opera */
#carouselPosts::-webkit-scrollbar {
  width: 3px; 
  height: 3px;
}

#carouselPosts::-webkit-scrollbar-track {
  background: transparent; /* transparentne tło paska przewijania */
}

#carouselPosts::-webkit-scrollbar-thumb {
  background-color:  #D3D8E0; /* czerwony kciuk paska przewijania */
  border-radius: 3px; /* zaokrąglenie krawędzi kciuka */
}

/* dla Firefox */
#carouselPosts {
  scrollbar-width: thin; /* cienki pasek przewijania */
  scrollbar-color: #D3D8E0 transparent; /* czerwony kciuk i transparentne tło paska przewijania */
}




/* MAPA */


#world-map {
  margin: auto;
  width: 100%;
  height: 500px;
  text-align: center;
}

@media (max-width: 768px) {
  #world-map {
    width: 450px;
    height: 250px;
  }
}

@media (max-width: 500px) {
  #world-map {
    width: 375px;
    height: 200px;
  }
}

.w-50 {
  width: 50rem !important;
} 

.w-45 {
  width: 45rem !important;
} 

.w-40 {
  width: 40rem !important;
} 

.w-35 {
  width: 35rem !important;
} 

.w-30 {
  width: 30rem !important;
} 

.w-25 {
  width: 25rem !important;
} 

.w-24 {
  width: 24rem !important;
} 


.w-23 {
  width: 23rem !important;
} 


.w-22 {
  width: 22rem !important;
} 


.w-21 {
  width: 21rem !important;
} 

.w-20 {
  width: 20rem !important;
} 

.w-15 {
  width: 15rem !important;
} 

.w-10 {
  width: 10rem !important;
} 

.fs09 {

  font-size: 0.95rem !important;
}


.karuzela {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #D3D8E0 transparent;
  width: 100%;
  scrollbar-face-color: #D3D8E0;
  scrollbar-track-color: transparent;
  -webkit-overflow-scrolling: touch; /* Umożliwia płynne przewijanie na iOS */

}



.karuzela::-webkit-scrollbar {
  width: 3px; 
  height: 3px;
}

.karuzela::-webkit-scrollbar-thumb {
  background-color: #D3D8E0;
  border-radius: 3px;
}

.karuzela::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a5;
}

.karuzela::-webkit-scrollbar-track {
  background-color: transparent;
}




/* Styl dla elementów karuzeli */
.element {

  flex: 0 0 auto;
}


/* Karty z postami */
.template {
  display: none;
}
.template.active {
  display: block;
}

/* lazy loading */

.lazy {
  opacity: 0;
  transition: opacity 1s;
}

.lazy.visible {
  opacity: 1;
}

img.lazy {
  opacity: 0;
  transition: opacity 0.5s;
}

img.lazy.visible {
  opacity: 1;
}




/* yt cache */
.youtube-container,
.youtube-placeholder,
.youtube-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

.youtube-placeholder {
  position: relative;
  cursor: pointer;
  transition: opacity 0.5s ease-in-out;
}

.responsive-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  /* Proporcja 16:9 */
}

.responsive-iframe-container iframe {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10rem !important;
  height: auto;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;

}

.play-button:hover {
  opacity: 1;
}


.nomargin {
  margin-top: 0; 
  margin-bottom: 0; 
  padding-top: 0;
  padding-bottom: 0; 
  line-height: 1; 
}

.wp-block-image img {
  width: 100%;
  height: auto;
}


.custom-list-group-item {
  display: flex;
  align-items: flex-start; /* Wyrównanie elementów do góry */
}

.date-badge {
  margin-left: auto; /* Pozycjonuje datę po prawej stronie */
  white-space: nowrap; /* Zapobiega zawijaniu tekstu */
}


.wp-block-quote {
  border: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}











.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  color: white;
  font-size: 6rem; /* Dostosuj rozmiar ikony w razie potrzeby */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  
}

