.elementor-34186 .elementor-element.elementor-element-250385ff > .elementor-container{max-width:1400px;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-822c201 *//* --- Główna sekcja --- */
.pmg-allphotos {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 0px 0;
  font-family: "Inter", "Open Sans", sans-serif;
}

/* --- Nagłówek sekcji --- */
.pmg-allphotos-header {
  text-align: center;
  margin-bottom: 40px;
}
.pmg-allphotos-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}
.pmg-allphotos-header p {
  font-size: 1.05rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Siatka galerii --- */
.pmg-allphotos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.pmg-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #111;
  background: transparent;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.pmg-card:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* --- Miniatury --- */
.pmg-card-thumb {
  position: relative;
  overflow: hidden;
}
.pmg-card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0; /* brak zaokrągleń */
}

/* --- Data w rogu --- */
.pmg-card-date {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  padding: 5px 7px;
  border-radius: 4px;
}

/* --- Tytuł galerii --- */
.pmg-card-title {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  color: #222;
}

/* --- Paginacja --- */
.pmg-archive-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.pmg-page {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
}
.pmg-page.active,
.pmg-page:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* --- Responsywność --- */
@media (max-width: 1200px) {
  .pmg-allphotos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .pmg-allphotos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .pmg-allphotos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .pmg-allphotos-grid { grid-template-columns: repeat(1, 1fr); }
}/* End custom CSS */