/* stopa(FooterArea) liczba kolumn */
@media screen and (min-width: 64em) {
  .footer__top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

/*style do strony 'O nas' - START */

.zespol-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.zespol-opis p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    max-width: 100%;
    margin: 0 auto 20px;
}

.zespol-naglowek {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 20px 0;
	text-align: center;
}

.zespol-sekcja {
    font-size: 22px;
    margin-top: 30px;
	margin-bottom: 15px;
	text-align: center;
	
}

.zespol-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.zespol-czlon {
    width: 250px;
    text-align: center;
}

.zespol-czlon img {
	width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    /*width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 50%;*/
}


.zespol-imie {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.zespol-stanowisko {
    font-size: 16px;
    color: #666;
}

/* MEDIA QUERIES dla urządzeń mobilnych */
/* dodane tez w dodatkowy css (w wygladzie)*/
@media (max-width: 1000px) {
    .zespol-grid {
        flex-direction: column;
        align-items: center;
    }

    .zespol-czlon {
        width: 100%;
		text-align: center; 
		
    }
	
	.zespol-czlon img {
        width: 100%;
        max-width: 200px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
	
	.zespol-naglowek{
		font-size: 22px;
        font-weight: bold;
        text-align: center;
	}
	
	.zespol-sekcja{
		font-size: 22px;
		font-weight: bold;
		text-align: center;
	}

    .zespol-imie {
      font-size: 18px;
			font-weight: bold;
      text-align: center;
    }

    .zespol-stanowisko {
        font-size: 16px;
        text-align: center;
    }
}


/*style do strony 'O nas' - STOP */
/*style do strony 'Sekcje' - START */

.sekcje-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.sekcje-czlon {
    width: 250px;
    text-align: center;
}

.sekcje-czlon img {
	width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    /*width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 50%;*/
}

/* MEDIA QUERIES dla urządzeń mobilnych */
/* dodane tez w dodatkowy css (w wygladzie)*/
@media (max-width: 1000px) {
    
	.sekcje-grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
    }

    .sekcje-czlon {
		display: flex;
		justify-content: center;
    }
	
	.sekcje-czlon img {
		width: 100%;
		height: auto;
		border-radius: 10px;
		box-shadow: 0 4px 8px rgba(0,0,0,0.1);

	}
}


/*style do strony 'Sekcje' - STOP */

/*style do strony 'Sekcja - konkretna' - START */

	.sekcja-img {
		text-align: center;
		padding-bottom: 30px;
	}
	
	.sekcja-img img {
		max-width:200px;
		height: auto;
		border-radius: 10px;
		box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	}
	
/* MEDIA QUERIES dla urządzeń mobilnych */
/* dodane tez w dodatkowy css (w wygladzie)*/
@media (max-width: 1000px) {
    
    .sekcja-img {
		text-align: center;
		padding-bottom: 30px;
	}
	
	.sekcje-img img {
		width: 100%;
		height: auto;
		border-radius: 10px;
		box-shadow: 0 4px 8px rgba(0,0,0,0.1);

	}
}

/*style do strony 'Sekcja - konkretna' - STOP */

/* nadpisanie klas odpowiedzialnych za pozycjonownaie obrazkow img w edytorze WYSIWYG*/
	.aligncenter {
	  margin-left: auto;
	  margin-right: auto;
	  display: block;
	}
	
/*style do strony 'category-galeria' - START */

	.galeria-container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 20px;
	}
	
	.galeria-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 20px;
	}
	
	.galeria-item {
		padding: 10px;
		text-align: center;
		background: #fff;
	}
	
	.galeria-item img {
		max-width: 100%;
		height: auto;
		display: block;
		margin: 0 auto;
	}
	
	.galeria-btn {
		display: block;
		width: fit-content;
		margin: 10px auto 0;
		padding: 8px 15px;
		background-color: #001f5b; /* Dopasuj kolor */
		color: #fff;
		text-decoration: none;
		font-weight: bold;
		border-radius: 5px;
		text-align: center;
	}

	.galeria-btn:hover {
		background-color: #003399; /* Kolor po najechaniu */
	}
	
	.galeria-date {
		font-size: 14px;
		color: #666;
		margin-top: 5px;
		text-align: center;
	}

	.galeria-date i {
		margin-right: 5px;
		color: #001f5b; /* Kolor ikony */
	}
	
	.galeria-item h2{
		display: block;
		font-size: 18px; /* Dostosuj wielkość czcionki */
		font-weight: bold;
		white-space: nowrap; /* Zapobiega zawijaniu tekstu */
		overflow: hidden; /* Ukrywa tekst, który nie mieści się w polu */
		text-overflow: ellipsis; /* Dodaje "..." na końcu przy obcięciu */
		max-width: 100%; /* Zapewnia, że działa w responsywnym układzie */
		margin-bottom: 12px;
	}

	@media (max-width: 1000px) {
    .galeria-grid {
        flex-direction: column;
        text-align: center;
    }
		.galeria-item{
			padding-bottom: 25px;
		}
	
		.galeria-item h2{
		display: block;
/* Dostosuj wielkość czcionki */
			font-size: 16px;
		font-weight: bold;
/* Zapobiega zawijaniu tekstu */
		white-space: nowrap; 
/* Ukrywa tekst, który nie mieści się w polu */
		overflow: hidden;
/* Dodaje "..." na końcu przy obcięciu */
		text-overflow: ellipsis;
/* Zapewnia, że działa w responsywnym układzie */
		max-width: 100%; 
		margin-bottom: 10px;
	}
	.galeria-date{
		font-size: 12px;
	}
	
	.galeria-date i {
		font-size: 12px;
		margin-right: 5px;
		color: #001f5b; /* Kolor ikony */
	}
	
		.galeria-btn {
		display: block;
		width: fit-content;
		margin: 10px auto 0;
		padding: 8px 15px;
		background-color: #001f5b; /* Dopasuj kolor */
		color: #fff;
		text-decoration: none;
		font-weight: bold;
		border-radius: 5px;
		text-align: center;
	}
	}

/*style do strony 'category-galeria' - STOP */

/*style do strony 'slajder w naglowku' - START */
	
	.top-bar-link {
		text-decoration: none; /* Usunięcie podkreślenia linku */
	}
	
	.top-bar {
		background-color: var(--secondary);
		color: white;
		text-align: center;
		padding: 10px 0;
		font-size: 24px;
		font-weight: bold;
		display: flex; 
		justify-content: space-around;
		align-items: center;
		transition: background-color 0.3s ease-in-out; /* Płynne przejście */
	}
	
	.top-bar:hover {
		background-color: var(--primary); /* Niebieski po najechaniu */
	}
	
	.arrow {
		font-size: 30px;
	}
	
	.sponsor-text, .slider-text {
		margin: 0 20px;
	}
	
	@media (max-width: 1000px) {
		.top-bar {
		background-color: var(--secondary); /* Kolor tła */
		color: white; /* Kolor tekstu */
		text-align: center; /* Wyśrodkowanie tekstu */
		padding: 10px 0; /* Wewnętrzny odstęp */
		font-size: 24px; /* Wielkość czcionki */
		font-weight: bold; /* Pogrubienie */
		display: flex; 
		justify-content: space-around;
		align-items: center;
		margin-bottom: 20px;
		}
	
		.arrow {
			font-size: 30px;
		}
		
		.sponsor-text, .slider-text {
			margin: 0 20px;
		}
	
	}
	
/*style do strony 'slajder w naglowku' - STOP */