/*
Theme Name: UKS_Jedynka_Jaworzno
Author: Kamil Niezabitowski
Version: 11.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-size: clamp(2rem, 4vw, 3em);
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

.akapit {
  max-width: 43%;
  border-bottom: 4px solid red;
  border-radius: 1%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #2b2a29;
  text-align: center;
}

.title-header {
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 20px;
  width: 95%;
}

header {
  position: sticky; /* Ustawienie na stałe */
  top: 0; /* Przylega do góry ekranu */
  left: 0;
  width: 100%; /* Pełna szerokość */
  background: #2b2a29;
  color: white;
  padding: 12px 2%;
  z-index: 1000;
}

.top {
  display: flex;
  width: 100%;
  justify-content: left;
}

.logo {
  width: 140px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.site-title {
  font-size: clamp(1.5rem, 3vw, 2em);
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  width: 100%;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.nameG {
  font-size: 4rem;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center; /* Wyrównanie w pionie */
  margin-top: 5px;
  width: 100%;
}

.menu ul {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.menu li {
  flex-grow: 1; /* Każdy element zajmuje równą przestrzeń */
  min-width: 16vw; /* Minimalna szerokość */
  text-align: center;
  line-height: 50px;
  font-size: clamp(0.4rem, 1.2vw, 1.5rem);
  cursor: pointer;
  border-right: 1px dashed #ccc;
  background-color: #3b3938;
  padding: 0;
}

.menu li:last-child {
  border-right: none;
}

.menu li a {
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  width: 100%;
  height: 100%;
  padding: 0 20px;
}

.menu li :hover {
  background-color: #202020;
}

/* === CONTENT === */
.content {
  padding: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === SLIDER === */
.slider {
  position: relative;
  padding: 25px;
  width: 95%;
  overflow: hidden;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  gap: clamp(10px, 2vw, 30px);
}

.slide {
  flex: 0 0 calc((100% - 2 * clamp(10px, 2vw, 30px)) / 3);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slide-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.sliderP {
  overflow-wrap: break-word; /* nowoczesna wersja word-wrap */
  word-break: break-word;
}

.slide-content h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.slide-content .post-date {
  display: inline-block;
  background: red;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  width: 25%;
}

.h2-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-top: 5px;
}

.post-category {
  border-bottom: 1px dashed #ccc;
  margin-bottom: 10px;
  width: 100%;
}

.right-read-more {
  display: flex;
  justify-content: right;
  align-items: center;
  width: 100%;
  height: 100%; /* Aby `.menu` wiedziało, jak się rozłożyć */
  padding-right: 30px;
  padding-top: 20px;
}

.read-more {
  display: inline-block;
  padding: 10px 20px;
  /* background: navy; */
  background-color: red;
  color: white;
  text-decoration: none;
  /* margin-top: 10px; */
  border-radius: 5px;
}

.read-more:hover {
  background: darkred;
}

/* Nawigacja slidera */
.slider-nav span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  cursor: pointer;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  border-radius: 50%;
}

/* Kropki nawigacyjne */
.slider-dots {
  text-align: center;
  margin-top: 10px;
}

.slider-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: red;
}

/* Sponsors */

.sponsors-section {
  display: flex;
  padding: 20px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.sponsors-slider {
  max-width: 95%;
  margin: auto;
  padding: 20px 0;
  align-items: center;
  justify-content: center;
  display: flex;
  height: 60%;
  border: 1px solid #ccc;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sponsor img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 20px;
  border-right: 1px dashed #ccc;
}

.sponsor img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* KALENDARZ */

#kalendarz {
  text-align: center;
  padding: 20px;
}

.kalendarz-full {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 95%;
  margin: auto;
}
.nawigacja a {
  margin: 10px;
  text-decoration: none;
  font-weight: bold;
}
.siatka {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 20px;
}

.dzien-naglowek {
  font-weight: bold;
  text-align: center;
  padding: 10px;
  background-color: #ccc;
}
.dzien {
  padding: 10px;
  border: 1px solid #ccc;
  min-height: 170px;
  text-align: center;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pusty {
  background-color: transparent;
  border: none;
}

.numer {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  padding: 0 5px;
}

.dzienTygodnia {
  display: flex;
  justify-content: center;
  margin: -10px -10px 5px -10px;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  background-color: #ccc;
  display: none;
}
.numer_data {
  display: flex;
  justify-content: space-between;
}
.mecz {
  border-radius: 5px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 5px;
}

.mecz:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.link-mecz {
  text-decoration: none;
  font-size: clamp(0.8rem, 2vw, 1rem);
  text-align: center;
  color: black;
}

.kat {
  font-size: clamp(0.8rem, 2vw, 1rem);
  text-align: center;
  text-transform: uppercase;
}

.ikonka {
  color: gray; /* Szary kolor */
  opacity: 0.9;
}

.mecz.młodzicy {
  background: #e0f7fa;
}
.mecz.kadeci {
  background: #e0fae3;
}
.mecz.juniorzy {
  background: #fae0f4;
}

/* GALERIA */
.galeria-full {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 20px;
}

.galeria {
  width: 95%;
  /* height: 80%; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: clamp(10px, 4vw, 20px);
  width: 100%;
  max-width: 100%;
}
.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #ccc;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.galeria-item:hover img {
  transform: scale(1.1);
}

/* TRENERZY */

.tr {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 20px;
}

.trenerzy-section {
  text-align: center;
  height: 100%;
  width: 95%;
}
.trenerzy-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 20px;
}
.trenerzy-grid {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  height: 70%;
}
.trener-item {
  text-align: center;
  width: clamp(180px, 40vw, 250px); /* szerokość responsywna */
  margin-top: 10px;
  margin-inline: auto; /* wycentrowanie poziome przy mniejszych ekranach */
}

.trener-item img {
  width: 100%;
  height: auto; /* automatyczna wysokość zachowująca proporcje */
  aspect-ratio: 1 / 1; /* utrzymuje kwadratowy kształt */
  border-radius: 50%;
  border: 2px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  cursor: pointer;
}
.trener-item h3 {
  font-size: clamp(0.75rem, 1.5vw, 1.2rem);
  margin-top: 10px;
}
.trener-item p {
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  color: orange;
}

/* TRENINGI */

.trening-full {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  padding-top: 0px;
}
.treningi-section {
  height: 100%;
  width: 95%;
}

.dzien-naglowektr {
  font-weight: bold;
  text-align: center;
}
.dzientr {
  min-height: 100px;
  background: #f8f8f8;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dzientr h3 {
  margin-bottom: 15px;
  padding: 5px;
  background-color: #ccc;
}
.trening {
  padding: 10px;
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  margin: 10px;
  margin-bottom: 15px;
}
.brak {
  text-align: center;
  font-size: clamp(0.75rem, 1.5vw, 1.2rem);
  font-weight: bold;
  margin-top: 15px;
}

.trening:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.trening.młodzicy {
  background: #e0f7fa;
  border-left: 4px solid #00acc1;
}
.trening.kadeci {
  background: #e0fae3;
  border-left: 4px solid #00ff1e;
}
.trening.juniorzy {
  background: #fae0f4;
  border-left: 4px solid #ff00c3;
}

/* DRUZYNY */

.druzyny-full {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  padding-top: 0px;
}

.druzyny {
  width: 95%;
  background-color: #f7f7f7;
  text-align: center;
}

.druzyny-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin: 0 auto;
}

.druzyna {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.druzyna:hover {
  transform: scale(1.03);
}

.druzyna img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.druzyna h3 {
  margin: 15px 0;
  font-size: clamp(0.75rem, 2.5vw, 1.5rem);
}

/* DUZE ZDJECIE */

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: bold;
  cursor: pointer;
}

/* WSPARCIE */

.wsparcie-full {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  padding-top: 0px;
}

.wsparcie-header h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.25rem);
  margin-bottom: 10px;
}

.wsparcie-content {
  display: flex;
  width: 95%;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.wsparcie-info,
.wsparcie-form {
  flex: 1 1 300px;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 500px;
}

.wsparcie-info h3,
.wsparcie-form h3 {
  font-size: clamp(2rem, 4vw, 2.375rem);
  margin-bottom: 15px;
  text-align: center;
  color: red;
}

.wsparcie-form form input,
.wsparcie-form form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.wsparcie-form form input[type="submit"] {
  background: #ff0000;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.wsparcie-form form input[type="submit"]:hover {
  background: darkred;
}

/* === footermy === */

.footermy {
  background-color: #222;
  color: #eee;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 10px;
  font-family: "Arial", sans-serif;
}

.footer {
  display: none;
}

.footermy-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.5vw, 30px);
  width: 95%;
  margin: auto;
}

.footermy-section h4 {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: #fff;
  margin-bottom: 40px;
}

.footermy-section p {
  margin-bottom: 10px;
  font-size: clamp(0.6rem, 2vw, 1rem);
}

.footermy-logo {
  max-width: 100px;
  margin-bottom: 10px;
}

.social-icons a {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-right: 12px;
  color: #ccc;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.footermy-bottom {
  text-align: center;
  border-top: 1px solid #ccc;
  margin-top: 30px;
  padding-top: 10px;
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  color: #999;
}

.social-icons a {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-right: 12px;
  color: #ccc;

  transition: color 0.3s;
}

.social-icons a:hover {
  color: #3b5998; /* Kolor Facebooka */
}

.social-icons i {
  font-size: clamp(1.6rem, 4vw, 1.75rem);
}

/* AKTUALNOŚCI */

.contentA {
  padding: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 60vh;
}

.slidesA {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 30px);
  box-sizing: border-box;
  width: 95%;
  margin: 0 auto;
  overflow: visible;
}

@media screen and (max-width: 992px) {
  .slidesA {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .slidesA {
    grid-template-columns: 1fr;
  }
}

.slideA {
  min-width: unset; /* wyłącz min-width: 100% */
  padding: 20px;
  flex-direction: column;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slide-contentA {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 100%;
}

.sliderPA {
  overflow-wrap: break-word; /* nowoczesna wersja word-wrap */
  word-break: break-word;
}

.slide-contentA h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.slide-contentA .post-dateA {
  display: inline-block;
  background: red;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  width: 25%;
}

.h2-titleA {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-top: 5px;
}

.post-categoryA {
  border-bottom: 1px dashed #ccc;
  margin-bottom: 10px;
  width: 100%;
}

.right-read-moreA {
  display: flex;
  justify-content: right;
  align-items: center;
  width: 100%;
  height: 100%; /* Aby `.menu` wiedziało, jak się rozłożyć */
  padding-right: 30px;
  padding-top: 20px;
}

.read-moreA {
  display: inline-block;
  padding: 10px 20px;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.read-moreA:hover {
  background: darkred;
}

.category-filterA {
  margin-bottom: 20px;
  text-align: center;
}

.filter-btnA {
  background: #eee;
  border: 1px solid #ccc;
  font-size: clamp(0.7rem, 2vw, 1rem);
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.filter-btnA:hover {
  background: #ddd;
}

/* SPONSORZY I PARTNERZY */
.sponsor-linkS {
  text-decoration: none;
  color: #2b2a29;
}

.sponsor-linkS:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.sponsor-descriptionS {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.sponsorsS {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 40px);
  width: 95%;
  padding: 20px;
  margin: 0 auto;
}

.sponsor-boxS {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: clamp(15px, 3vw, 30px);
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sponsorTitleS {
  display: flex;
}

.sponsor-nameS {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 15px;
  width: 250px;
  color: #666666;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sponsor-nameST {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 15px;
  text-align: center;
  width: 80%;
}

.sponsor-contentS {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(15px, 3vw, 30px);
}

.sponsor-imageS {
  width: 250px;
  border-radius: 10px;
  flex-shrink: 0;
}

.sponsor-textS {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  flex: 1;
  text-align: justify;
  padding: 10px;
}

/* POSTY */

.containerP {
  padding: 20px;
  width: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  min-height: 60vh;
}

.post-cardP {
  width: 100%;
  padding: 20px;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slide-contentP {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.sliderPP {
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.5;
}

.slide-contentP h2,
.h2-titleP {
  font-size: clamp(1.2rem, 3.5vw, 3rem);
  margin-top: 5px;
}

.post-dateP {
  display: inline-block;
  background: red;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: clamp(0.6rem, 1.8vw, 1.2rem);
  width: fit-content;
}

.post-categoryP {
  border-bottom: 1px dashed #ccc;
  margin-bottom: 25px;
  width: 100%;
}

.read-moreP {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.read-moreP:hover {
  background: darkred;
}

/* Styl dla galerii WordPressa */
.wp-block-gallery,
.blocks-gallery-grid {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(80px, 1fr)
  ); /* mniejsze zdjęcia */
  gap: 60px; /* większa przerwa między miniaturami */
  margin: 30px auto;
}

.wp-block-gallery img,
.blocks-gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  border: 1px solid #000000;
}

.wp-block-gallery img:hover,
.blocks-gallery-grid img:hover {
  transform: scale(1.03);
}

.wp-block-gallery figure,
.blocks-gallery-grid li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* FILE */
.wp-block-file,
.wp-block-video {
  width: 90%;
  margin: 30px auto;
  color: #666666;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.title-nameP {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 15px;
  width: 200px;
  color: #666666;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wp-block-file__button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.wp-block-file__button:hover {
  background: darkred;
}

/* O NAS */

.onasfull {
  width: 100%;
  padding: 20px;
}

.containerOnas {
  width: 95%;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: justify;
  text-justify: inter-word;
  line-height: 2;
}
.containerOnas h2 {
  margin-top: 10px;
}
.containerOnas ul {
  padding-left: 40px;
}
.containerOnas li {
  margin-bottom: 10px;
}

.containerOnas p {
  margin-left: 20px;
}

/* DLA RODZICÓW */

.slidesR {
  display: flex;
  width: 95%;
  margin: 0 auto;
  flex-direction: column;
}

.slideR {
  min-width: unset; /* wyłącz min-width: 100% */
  padding: 20px;
  margin-bottom: 40px;
  flex-direction: column;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slideR:last-child {
  margin-bottom: 0; /* Usuń dolny margines dla ostatniego elementu */
}

.slide-contentR {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 100%;
}

.sliderPR {
  overflow-wrap: break-word; /* nowoczesna wersja word-wrap */
  word-break: break-word;
}

.slide-contentR h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.slide-contentR .post-dateR {
  display: inline-block;
  background: red;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  width: 25%;
}

/* DLA RODZICOW FILE */

.slideRFile {
  min-width: unset; /* wyłącz min-width: 100% */
  padding: 20px;
  margin-bottom: 40px;
  flex-direction: column;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slide-contentRFile {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 100%;
}
.h2-titleAF {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 20px;
}

.read-moreF {
  background: #eee;
  border: 1px solid #ccc;
  font-size: clamp(0.7rem, 2vw, 1rem);
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
  color: #2b2a29;
  text-decoration: none;
  margin-right: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.read-moreF:hover {
  background: #ddd;
}

/* KONTAKT */

.wsparcie-full-kontakt {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

/* === RESPONSYWNOŚĆ === */

/* Laptop - max 1200px */
@media screen and (max-width: 1200px) {
  .nameG {
    font-size: 3rem;
  }
  .menu li {
    min-width: 15vw; /* Minimalna szerokość */
    line-height: 40px;
  }

  .logo {
    width: 109px;
  }

  .akapit {
    max-width: 70%;
  }
  .druzyny-grid {
    gap: 20px;
  }
  .trener-item {
    width: clamp(180px, 30vw, 220px);
  }
}

/* Tablet (pion) - max 992px */
@media screen and (max-width: 992px) {
  .nameG {
    font-size: 2.7rem;
  }

  .logo {
    width: 105px;
  }

  .slide {
    flex: 0 0 calc((100% - clamp(10px, 2vw, 30px)) / 2);
  }
  .sponsors-slider {
    flex-wrap: wrap;
    justify-content: center;
  }
  .trenerzy-grid {
    flex-wrap: wrap;
  }
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 900px) {
  .nameG {
    font-size: 2.7rem;
  }
}

@media screen and (max-width: 830px) {
  .nameG {
    font-size: 2.5rem;
  }
}

/* Telefon (nowoczesny) - max 768px */
@media screen and (max-width: 768px) {
  .logo {
    width: 71px;
  }
  .nameG {
    font-size: 1.7rem;
  }

  .menu li {
    min-width: 13vw; /* Minimalna szerokość */
    line-height: 30px;
    font-size: 0.5rem !important;
  }

  .slide {
    flex: 0 0 100%;
  }
  .slider {
    padding: 10px;
  }
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dzien-naglowek {
    display: none;
  }

  .dzienTygodnia {
    display: flex;
    font-size: 0.8rem;
  }

  .siatka {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 20px;
  }
  .pusty {
    display: none;
  }

  .dzientr:last-child {
    display: none;
  }
}

/* Telefon (średni) - max 576px */
@media screen and (max-width: 576px) {
  .logo {
    width: 53px;
  }
  .nameG {
    font-size: 1.3rem;
  }

  .menu li {
    min-width: 12.5vw; /* Minimalna szerokość */
    line-height: 20px;
    font-size: 0.3rem !important;
  }
}

/* Telefon (mały) - max 480px */
@media screen and (max-width: 480px) {
  .logo {
    width: 53px;
  }
  .nameG {
    font-size: 1.3rem;
  }

  .menu li {
    min-width: 12.5vw; /* Minimalna szerokość */
    line-height: 20px;
    font-size: 0.3rem !important;
  }
  .galeria-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
