/* Wroclaw-specific: BuddyPress + q2w3 widget fix */
#buddypress div#object-nav.item-list-tabs {
  overflow: hidden;
}
.widget[class*="q2w3-widget-clone"] + .widget {
  z-index: 1000;
}

.page-id-19952 .header-right {
  top: 50%;
  position: absolute;
  right: 0;
  transform: translateY(-50%);
}
.bilet-box {
  width: 48%;
  float: left;
}
.bilet-box.Październik:nth-child(2n-1),
.bilet-box.Listopad:nth-child(2n-2),
.bilet-box.Grudzień:nth-child(2n-2),
.bilet-box.Styczeń:nth-child(2n-2),
.bilet-box.Luty:nth-child(2n-1),
.bilet-box.Marzec:nth-child(2n-2),
.bilet-box.Kwiecień:nth-child(2n-2),
.bilet-box.Maj:nth-child(2n-2),
.bilet-box.Czerwiec:nth-child(2n-2),
.bilet-box.Lipiec:nth-child(2n-1),
.bilet-box.Sierpień:nth-child(2n-2),
.bilet-box.Wrzesień:nth-child(2n-1) {
  margin-right: 2%;
  clear: left;
}
.bilet-box.Październik:nth-child(2n-2),
.bilet-box.Listopad:nth-child(2n-1),
.bilet-box.Grudzień:nth-child(2n-1),
.bilet-box.Styczeń:nth-child(2n-1),
.bilet-box.Luty:nth-child(2n-2),
.bilet-box.Marzec:nth-child(2n-1),
.bilet-box.Kwiecień:nth-child(2n-1),
.bilet-box.Maj:nth-child(2n-1),
.bilet-box.Czerwiec:nth-child(2n-1),
.bilet-box.Lipiec:nth-child(2n-2),
.bilet-box.Sierpień:nth-child(2n-1),
.bilet-box.Wrzesień:nth-child(2n-2) {
  margin-left: 2%;
  clear: right;
}
._blox_event_box {
  padding: 30px;
}
.bilet-box-data {
  width: 102px;
  height: 102px;
  text-align: center;
  position: absolute;
  right: 26px;
  bottom: -6px;
  border: 2px solid transparent;
  border-radius: 50%;
  background-color: teal !important;
}
.bilet-box-data .date {
  font-size: 35px;
  color: #fff;
  font-weight: 700;
  line-height: 30px;
  padding-top: 25px !important;
  font-family: "Lato", sans-serif;
}
.bilet-box-data .month {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  text-transform: uppercase !important;
  color: #fff;
  font-family: "Lato", sans-serif;
}
.bilet-box-image {
  position: relative;
}
.bilet-box-content {
  padding: 10px 17px 15px;
  background: #fff;
  color: #4a4a4a;
  font-size: 14px;
}
.bilet-box-heading {
  color: #4a4a4a;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  margin: 0 0 8px;
}
.bilet-box-paragraph {
  line-height: 22px;
  margin: 0 0 17px;
  text-align: justify;
}
._blox_book_now {
  line-height: 28px;
  width: 123px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background-color: #000;
  color: #fff;
  padding: 5px;
  transition: all 0.3s;
  font-family: "Lato", sans-serif !important;
  margin: 0 5px;
}
._blox_book_now:hover {
  opacity: 0.7;
}
.month-name {
  clear: both;
  margin-bottom: 30px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6em;
  color: #fff;
  background-color: teal;
  text-transform: uppercase;
  padding: 20px;
}
.buttony {
  text-align: center;
}
@media only screen and (max-width: 1310px) {
  ._blox_event_box {
    padding: 15px;
  }
  .bilet-box-heading {
    line-height: 22px;
  }
  .bilet-box {
    margin-bottom: 20px;
  }
  ._blox_book_now {
    zoom: 0.89;
  }
  .bilet-box {
    width: 49%;
    float: left;
  }
  .bilet-box.Październik:nth-child(2n-1),
  .bilet-box.Listopad:nth-child(2n-2),
  .bilet-box.Grudzień:nth-child(2n-2),
  .bilet-box.Styczeń:nth-child(2n-2),
  .bilet-box.Luty:nth-child(2n-1),
  .bilet-box.Marzec:nth-child(2n-2),
  .bilet-box.Kwiecień:nth-child(2n-2),
  .bilet-box.Maj:nth-child(2n-2),
  .bilet-box.Czerwiec:nth-child(2n-2),
  .bilet-box.Lipiec:nth-child(2n-1),
  .bilet-box.Sierpień:nth-child(2n-2),
  .bilet-box.Wrzesień:nth-child(2n-1) {
    margin-right: 1%;
    clear: left;
  }
  .bilet-box.Październik:nth-child(2n-2),
  .bilet-box.Listopad:nth-child(2n-1),
  .bilet-box.Grudzień:nth-child(2n-1),
  .bilet-box.Styczeń:nth-child(2n-1),
  .bilet-box.Luty:nth-child(2n-2),
  .bilet-box.Marzec:nth-child(2n-1),
  .bilet-box.Kwiecień:nth-child(2n-1),
  .bilet-box.Maj:nth-child(2n-1),
  .bilet-box.Czerwiec:nth-child(2n-1),
  .bilet-box.Lipiec:nth-child(2n-2),
  .bilet-box.Sierpień:nth-child(2n-1),
  .bilet-box.Wrzesień:nth-child(2n-2) {
    margin-left: 1%;
    clear: right;
  }
  .bilet-box-data {
    zoom: 0.9;
  }
  ._blox_book_now {
    width: 109px;
    font-siz: 12px;
  }
}
@media only screen and (max-width: 670px) {
  .bilet-box {
    width: 100%;
    height: auto;
  }
  .page-id-19952 .header-right {
    top: 0 !important;
    position: relative !important;
    transform: none !important;
  }
  .month-name {
    padding: 15px;
  }
  ._blox_book_now {
    zoom: 1;
  }
}
@media only screen and (max-width: 480px) {
  .bilet-box-data {
    zoom: 0.8;
  }
  ._blox_book_now {
    zoom: 0.9;
  }
}
@media only screen and (max-width: 360px) {
  ._blox_book_now {
    width: 102px;
    font-size: 12px !important;
    padding: 5px 2px !important;
  }
  .bilet-box-data .month {
    font-size: 7px;
  }
}
@media only screen and (max-width: 330px) {
  ._blox_book_now {
    width: 102px;
    font-size: 10px !important;
    width: 90px;
  }
  ._blox_event_box {
    padding: 5px;
  }
}
.data {
  display: block;
  margin-bottom: 10px;
  text-transform: capitalize;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}
.p-single .opis {
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  line-height: 24px;
}
/* Bilety Repeater Wpisy */
.singleBilety {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.singleBilet {
  text-align: center;
  width: 33.33%;
}

@media only screen and (max-width: 768px) {
  .singleBilet {
    width: 100%;
  }
}

/* Polecane Posty */
.polecane-posty--single {
  width: 30%;
  padding: 0 1.5%;
}

@media only screen and (max-width: 460px) {
  .polecane-posty--single {
    width: 100%;
    margin: 10px 0;
  }
}

/* CSS Zmiany Październik Start */
.page-template-template-klubowe
  #header-wrapper
  .header-right
  .mom-e3lanat-wrap {
  margin-top: 42px;
}

/* Zmiany 2021  */
@media only screen and (min-width: 0) and (max-width: 1000px) {
	.header .logo,
	.header-right {
		float: none;
	}
	
	.header .header-right .mom-e3lanat .mom-e3lan {
		margin: 0 auto !important;
	}
	
	.mom-e3lanat-wrap.responsive .mom-e3lan {
		width: auto !important;
	}
	
	.both-sidebars #footer .one_third {
		width: 100%;
		margin-right: 0;
	}
	
	#footer .one_third.last {
		margin-top: 40px;
	}
	
	.sidebar.main-sidebar {
		width: 100% !important;
	}
	
	.single-related-posts {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	
	.single-related-posts li {
		width: 30%;
    	padding: 0 1.5%;
		margin-right:0;
	}
	
	#aswift_2_anchor {
		width: 100% !important;
	}
	
	.device-menu-wrap.mom_visibility_device {
		display: block;
	}
}

/* PODOBNE ARTYKUŁY — 4 w rzędzie, obrazki na pełną szerokość */
.single-related-posts {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-right: 0;
	margin-bottom: 0;
	overflow: visible;
}
.single-related-posts li {
	float: none;
	width: 25%;
	padding: 0 10px;
	margin-right: 0;
	margin-bottom: 20px;
	box-sizing: border-box;
}
.single-related-posts li img,
.single-related-posts li picture {
	width: 100%;
	height: auto;
	display: block;
}

/* POLECANE — 3 w rzędzie, wyśrodkowane, obrazki na pełną szerokość */
.polecane-posty {
	justify-content: center;
}
.polecane-posty--single {
	width: 33.333%;
	padding: 0 10px;
	box-sizing: border-box;
	margin-bottom: 20px;
}
.polecane-posty--single img,
.polecane-posty--single picture {
	width: 100%;
	height: auto;
	display: block;
}
.polecane-posty--single .sb-item-img a {
	display: block;
}

@media only screen and (max-width: 460px) {
	.single-related-posts li {
		width: 100%;
	}
}

@media only screen and (min-width: 1001px) and (max-width:1200px) {
	
	.single-related-posts {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	
	.single-related-posts li {
		width: 22% !important;
    	padding: 0 1.5%;
		margin-right:0;
	}
	
	.main_container {
		display: flex;
		flex-wrap:wrap;
		justify-content:center;
	}
	
	.nav-buttons {
		right: 15px !important;
	}
	
	.main-col,.sidebar.main-sidebar,
	.topbar .inner,.boxed-content-wrapper,
	.both-sidebars .inner,#footer .inner,.copyright-area .inner {
		width: 978px !important;
		margin: 0 auto !important;
	}
		
}
/* ==============================================
   PIK: Optymalizacja typografii — Opcja C
   Oswald zamiast Play, poprawki czytelnosci
   2026-03-12
   ============================================== */

/* Nagłówki — lepszy line-height i letter-spacing */
h1, h2, h3, h4, h5, h6,
.post-title, .entry-title,
.main-title h1, .main-title h2, .main-title h3 {
  line-height: 1.35;
  letter-spacing: 0.02em;
}

/* Tytuł posta — wyraźniejszy */
.single-post .entry-title,
.single-post .post-title {
  line-height: 1.3;
  letter-spacing: 0.015em;
}

/* Sidebar — mniejszy font, lepsza czytelność */
.widget ul li {
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
}
.widget ul li a {
  font-size: 14px !important;
}
.sidebar .widget .widget-title,
.widget .widgettitle,
.widget-title {
  font-size: 13px !important;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Treść artykułu — łagodniejszy kolor niż czysty szary */
body {
  color: #3a3a3a;
}
.entry-content,
.entry-content p {
  line-height: 1.45;
}
.entry-content p,
.entry-content li {
  color: #444444;
}

.p-single .entry-content h1, .p-single .entry-content h2, .p-single .entry-content h3,
.p-single .entry-content h4, .p-single .entry-content h5, .p-single .entry-content h6 {
  line-height: 10% !important;
}

/* Oswald weight dla głównych nagłówków */
.mom-main-font,
h1, h2, h3 {
  font-weight: 500;
}

/* ==============================================
   PIK: Modern Card Style — 2026-03-12
   Rollback: skopiuj main.css.bak-2026-03-12
   ============================================== */

/* Ukryj separatory HR między sekcjami wydarzenia */
.entry-content > hr {
  display: none;
}

/* Sekcje wydarzenia jako białe karty */
.entry-content > div:has(> h2) {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.09);
  padding: 16px 20px;
  margin-bottom: 14px;
}

/* Nagłówki sekcji wewnątrz kart */
.entry-content > div:has(> h2) h2 {
  font-size: 20px !important;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0;
  color: #2d2d2d;
}
.entry-content > div:has(> h2) h2 span {
  font-size: 20px !important;
}

/* Przyciski biletów — obok siebie */
.singleBilety {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}
.singleBilet {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.singleBilet span {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

/* Sidebar — zaokrąglone widgety */
.sidebar .widget {
  border-radius: 10px;
  overflow: hidden;
}

/* Kalendarz — zaokrąglone rogi */
.calendar_wrap,
#calendar_wrap {
  border-radius: 10px;
  overflow: hidden;
}

/* Zdjęcie wyróżniające — zaokrąglone rogi */
.single-post .wp-post-image,
.single-post .post-thumbnail img {
  border-radius: 10px;
}

/* Boksy artykułów i zdjęcia — zaokrąglone rogi */
.single-box {
  border-radius: 10px;
  overflow: hidden;
}
.single .blog-post {
  border-radius: 10px;
  overflow: hidden;
}
.news-box.base-box {
  border-radius: 10px;
  overflow: hidden;
}
/* .base-box — zaokrąglone rogi dla wszystkich boxów */
.base-box {
  border-radius: 10px;
}

/* .no-touch a img — zaokrąglone rogi dla zdjęć klikalnych */
.no-touch a img {
  border-radius: 10px;
}

/* Zaokrąglone rogi obrazków — bezpośrednio na kontenerze z overflow:hidden */
.scrolling-box .sb-item .sb-item-img,
.news-box .news-image,
.blog-post .post-img,
.news-list .nl-item .news-image {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Obraz wypełnia kontener bez luki — display:block usuwa inline baseline gap */
.scrolling-box .sb-item .sb-item-img a,
.news-box .news-image a,
.blog-post .post-img a,
.news-list .nl-item .news-image a {
  display: block;
  line-height: 0;
  font-size: 0;
}
.scrolling-box .sb-item .sb-item-img img,
.news-box .news-image img,
.blog-post .post-img img,
.news-list .nl-item .news-image img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  border-radius: 0;
}

/* nl-item — BFC bez clippingu (zaokrąglone rogi obrazków nie są obcinane) */
.news-list .nl-item {
  overflow: visible;
  display: flow-root;
}

/* Blog-post boksy (kategorie, tagi, archiwum) — zaokrąglone rogi */
.blog-post.base-box {
  border-radius: 10px;
  overflow: hidden;
}
.blog-post .post-img {
  border-radius: 10px;
  overflow: hidden;
}
.blog-post .post-img img {
  border-radius: 0;
  display: block;
  width: 100%;
}
/* Zdjęcie wyróżniające na stronie posta */
.single .blog-post .feature-img,
.p-single .feature-img {
  border-radius: 10px;
  overflow: hidden;
}
.news-box.base-box img:not(.wp-smily),
.single-box img:not(.wp-smily) {
  border-radius: 10px;
}

/* Mobile — przyciski biletów w kolumnę poniżej 480px */
/* Obrazki wyśrodkowane w treści */
img.aligncenter {
  border-radius: 10px;
}

@media (max-width: 480px) {
  .singleBilety {
    flex-direction: column;
    align-items: flex-start;
  }
  .entry-content > div:has(> h2) {
    padding: 12px 14px;
  }
}
