/*
Theme Name: Centrum Medyczne Święta Rodzina – d2m
Theme URI: https://d2m.pl/
Author: D2M
Author URI: https://d2m.pl
Description: Centrum Medyczne Święta Rodzina – d2m
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

:root {
    --swiper-theme-color: var(--wp--preset--color--accent-1);
	--swiper-pagination-bullet-height: 20px;
	--swiper-pagination-bullet-size: 20px;
	--swiper-pagination-bullet-width: 20px;
	--swiper-pagination-bottom: auto;
	--swiper-pagination-bullet-border-radius: 0;
	--swiper-pagination-bullet-horizontal-gap: 1px;
	-wp--preset--color--foreground: #990;
}
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
	transition: all .3s;
}
a:hover, button:hover
{
	transition: all .3s;
}

.yoast-breadcrumbs a
{
	text-decoration: none;
}
.yoast-breadcrumbs a:hover
{
	text-decoration: underline;
}

.mega-menu-link, .mega-menu-link:hover
{
	transition: all .3s !important;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

.logos-swiper .swiper-slide
{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logos-swiper .img
{
    padding: 1rem;
    height: 150px;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logos-swiper img
{
    width: 100%;
    height: 100%;
	object-fit: contain;
    /*
	filter: grayscale(1);
	*/
	max-width: 70%;
    max-height: 80%;
	transition: all .3s;
}
.logos-swiper a:hover img
{
	transform: scale(1.2);
}
.lzb-slider {
  position: relative;
}

/* MAIN */
.lzb-slider .main-slider {
  position: relative;
}

.lzb-slider .main-slider .swiper-slide {
  position: relative;
  height: clamp(320px, 70vh, 820px);
  overflow: hidden;
}

.lzb-slider .main-slider .swiper-slide .img {
  height: 100%;
}

.lzb-slider .main-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position ustawiamy inline z LazyBlocks */
  display: block;
}

/* CAPTION */
.lzb-slider .main-slider .swiper-slide .caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none; /* klik w obraz nadal działa, a button i tak ma pointer-events poniżej */
}

.lzb-slider .main-slider .swiper-slide .caption .inner {
  pointer-events: auto;
  width: min(520px, 42vw);
  margin: 3rem 5rem;
  padding: 3rem 2.25rem;
  border-radius: 15px;
}

.lzb-slider .main-slider .swiper-slide .caption .inner h2,
.lzb-slider .main-slider .swiper-slide .caption .inner .wp-block-button {
	margin: 0;
}

.lzb-slider .main-slider .swiper-slide .caption .inner p {
  margin: 1rem 0 0 0;
}

/* Pozycja tekstu z LazyBlocks */
.lzb-slider .main-slider .swiper-slide.caption-left .caption {
  justify-content: flex-start;
}

.lzb-slider .main-slider .swiper-slide.caption-right .caption {
  justify-content: flex-end;
}

/* Przycisk – jeśli używasz button-type "primary" */
.lzb-slider .wp-block-button__link.is-primary {
  /* dopasuj do swojego motywu */
  font-weight: 600;
}

.wp-block-button__link
{
	display: inline-block;
}
/* THUMBS */
.lzb-slider .thumb-slider {
  margin-top: 12px;
}
@media(max-width: 1000px)
{
	.lzb-slider .thumb-slider {
		display: none;
	}
}

.lzb-slider .thumb-slider .swiper-slide {
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
	transition: .3s all;
}
.lzb-slider .thumb-slider
{
	padding-top: 30px
}

.lzb-slider .thumb-slider .swiper-slide-thumb-active {
  opacity: .6 !important;
	transform: translateY(-10px);
}

.lzb-slider .thumb-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
	transition: all .3s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .lzb-slider .main-slider .swiper-slide { 
    height: clamp(260px, 55vh, 560px);
	          display: flex;
        flex-direction: column-reverse;
  }

  .lzb-slider .main-slider .swiper-slide .caption {
    align-items: flex-end;
	  position: relative;
	          width: 100%;
        margin: 0;
	  border-radius: 0;
  }

  .lzb-slider .main-slider .swiper-slide .caption .inner {
    width: calc(100% - 24px);
    margin: 12px;
    padding: 1.25rem 1.1rem;
	  margin: 0;
	  border-radius: 0;
  }

  .lzb-slider .thumb-slider .swiper-slide {
    height: 64px;
  }
}

/* THUMBS - kontener jak na screenie */
.lzb-slider .thumb-slider {
  margin-top: 0;
  border-radius: 18px;
  overflow: hidden;
	max-width: 1340px;
	margin: -4rem auto 0 auto;
}

/* bez przerw między kafelkami */
.lzb-slider .thumb-slider .swiper-wrapper {
  align-items: stretch;
}

.lzb-slider .thumb-slider .swiper-slide {
  height: auto;
  opacity: 1;
  cursor: pointer;
}

.lzb-slider .thumb-slider .swiper-slide:hover .thumb-img img
{
	transform: scale(1.2);
	
}

.lzb-slider .thumb-slider .thumb-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* tytuł w białym pasku */
.lzb-slider .thumb-slider .thumb-title {
  padding: 20px 28px;
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: normal;
  color: #0b7aa1; /* dopasuj do motywu */
  background: #fff;

  /* jak na screenie – tytuły mogą się urywać */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* obraz pod tytułem */
.lzb-slider .thumb-slider .thumb-img {
  height: 120px; /* dopasuj */
  overflow: hidden;
	transition: all .3s;
}


.lzb-slider .thumb-slider .thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.swiper-slide-thumb-active
{
	opacity: .8;
}
/* aktywny thumb (opcjonalnie delikatne podbicie) */
.lzb-slider .thumb-slider .swiper-slide-thumb-active .thumb-title {
  color: #0b7aa1;
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .lzb-slider .thumb-slider {
    border-radius: 14px;
  }

  .lzb-slider .thumb-slider .thumb-title {
    font-size: 16px;
    padding: 12px 12px;
    min-height: 54px;
    -webkit-line-clamp: 2;
  }

  .lzb-slider .thumb-slider .thumb-img {
    height: 120px;
  }
}

.items-with-icon
{
	display: flex;
    align-items: center;
	gap: 1rem;
	
	margin: 0 2rem 0 0;
	flex-wrap: wrap;
}
.items-with-icon .item
{
	display: flex;
    align-items: center;
	column-gap: 1rem;
	color: inherit;
	text-decoration: none;
	padding: .3rem .5rem;
}
.items-with-icon .item .content
{
	font-size: .9rem;
}
.items-with-icon .item .icon
{
	display: flex;
    align-items: center;
}
.items-with-icon .item .icon img
{
	width: 26px;
	height: 26px;
	object-fit: cover;
}
.items-with-icon a.item:hover
{
	background: #edfbff;
	color: var(--wp--preset--color--accent-1);
}


.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* odpowiednik guttera */
}

.post-list > .post-item {
  width: 100%;
	margin-bottom: 2rem;
}

/* lg ≥ 992px */
@media (min-width: 1000px) {
  .post-list > .post-item {
    width: calc(33.333333% - 8px);
  }
}
.post-list > .post-item .post-thumb
{
	width: 100%;
	height: 200px;
	overflow: hidden;
	border-radius: 10px;
}

.post-list > .post-item .post-thumb img {
    width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .3s all;
}
.post-list > .post-item:hover .post-thumb img
{
	transform: scale(1.2);
}
.post-list > .post-item .post-link
{
	text-decoration: none;
	color: inherit
}
.post-list > .post-item .post-link:hover
{
	color: var(--wp--preset--color--accent-1);
}
.post-list > .post-item .entry-title
{
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 0 1rem 0;
}
.post-list > .post-item .caption
{
	font-size: 1rem;
	padding: 2rem 1rem;
}


/* =========================
   LB Pagination (for paginate_links type=list)
   ========================= */

.lb-pagination {
  margin-top: 2.25rem;
}

/* lista */
.lb-pagination .page-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: center;
  justify-content: center; /* wyśrodkowanie */
}

/* elementy listy */
.lb-pagination .page-numbers > li {
  margin: 0;
  padding: 0;
}

/* linki + current */
.lb-pagination .page-numbers a.page-numbers,
.lb-pagination .page-numbers span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;

  text-decoration: none;
  font-weight: 600;
  line-height: 1;

  color: inherit;
  background: #fff;

  transition: all .3s;
	border-radius: 6px;
}

/* hover */
.lb-pagination .page-numbers a.page-numbers:hover {
  transform: translateY(-1px);
	background: var(--wp--preset--color--accent-1);
	color: #fff;
  transition: all .3s;
}

/* active/pressed */
.lb-pagination .page-numbers a.page-numbers:active {
  transform: translateY(0);
  opacity: 0.85;
}

/* current page */
.lb-pagination .page-numbers span.page-numbers.current {
	opacity: .4;
}

/* dots (…)
   paginate_links używa span.page-numbers.dots */
.lb-pagination .page-numbers .dots {
  border: 0;
  min-width: auto;
  padding: 0 0.4rem;
  opacity: 0.7;
}

/* Prev / Next */
.lb-pagination .page-numbers .prev,
.lb-pagination .page-numbers .next {
  padding: 0 1.1rem;
}

/* Focus dostępności */
.lb-pagination .page-numbers a.page-numbers:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Mobile: trochę mniejsze */
@media (max-width: 640px) {
  .lb-pagination .page-numbers a.page-numbers,
  .lb-pagination .page-numbers span.page-numbers {
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.7rem;
  }
}


/* Row – zamiana paddingów na gap */
.cards > .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2px; /* zamiast paddingów i ujemnych marginesów */
    justify-content: center;
}

/* Base columns */
.cards .card {
  padding: 0;
  background: none;
  border: 0;
  box-sizing: border-box;
  
  /* usuwamy padding, bo gap go zastępuje */
}

/* Zachowanie wyglądu */
.cards a, .cards a:hover {
  text-decoration: none;
}

.cards .card .img {
  height: 190px;
	overflow: hidden;
}
.cards .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	transition: all .3s;
}
.cards .card a:hover img {
	transform: scale(1.2);
}
.cards .card .caption {
  padding: 2rem 1.5rem;
}
.cards .card .caption p {
  font-size: 1rem;
	margin-bottom: 0;
	color: var(--wp--preset--color--contrast);
}
.cards .card .caption h3 {
  margin: 0;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Kolumny 3-kolumnowe default */
.cards .card {
  flex: 0 0 calc(33.333% - 6px); /* odejmujemy gap, aby kolumna mieściła się w rzędzie */
}

/* Breakpoints */
@media (max-width: 1200px) {
  .cards .card {
    flex: 0 0 calc(33.333% - 6px);
  }
}

@media (max-width: 992px) {
  .cards .card {
    flex: 0 0 calc(50% - 6px);
  }
}

@media (max-width: 768px) {
  .cards .card {
    flex: 0 0 100%;
  }
}

@media (max-width: 576px) {
  .cards .card {
    flex: 0 0 100%;
  }
}
.cards .card a
{
	display: flex;
    flex-direction: column-reverse;
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
}



/* === SERVICES CARDS (GRID) === */

.services-cards > .row {
  display: grid;
  gap: 2rem;                 /* odstępy między kartami */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;   /* opcjonalnie */
  align-items: stretch;
}

/* Karta */
.services-cards .card {
  padding: 0;
  background: none;
  border: 0;
  box-sizing: border-box;
  overflow: visible;
}

/* Link jako cały kafel */
.services-cards a,
.services-cards a:hover {
  text-decoration: none;
}

/* Układ wewnątrz karty */
.services-cards .card a {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  overflow: hidden;
  gap: 35px; /* zamiast margin-right na img */
}

/* Obrazek */
.services-cards .card .img {
  width: 64px;
  flex: 0 0 64px;
}

.services-cards .card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  transition: transform 0.3s;
  display: block;
}

.services-cards .card a:hover img {
  transform: scale(1.1);
}

/* Tekst */
.services-cards .card .caption {
  padding: 0;
  min-width: 0; /* ważne w flex – pozwala ucinać tekst zamiast rozpychać */
}

.services-cards .card .caption h3 {
  margin: 0;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--wp--preset--color--contrast);
}

.services-cards .card .caption p {
  font-size: 1rem;
  margin: 10px 0 0 0;
  color: var(--wp--preset--color--contrast);
}

/* Jeśli chcesz uciąć opis do 2–3 linii CSS-em (opcjonalnie) */
/*
.services-cards .card .caption p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
*/

/* === BREAKPOINTS === */
@media (max-width: 992px) {
  .services-cards > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .services-cards > .row {
    grid-template-columns: 1fr;
  }

  /* opcjonalnie: ciaśniej na mobile */
  .services-cards .card a {
    gap: 16px;
  }

  .services-cards .card .img {
    width: 72px;
    flex: 0 0 72px;
  }
}

.wp-block-lazyblock-content-with-icon
{
	display: inline-flex;
}

/* Lazyblock: Treść z ikoną */
.wp-block-lazyblock-tresc-z-ikona.lb-tzi{
  display: inline-flex;
  gap: 12px;
}

/* pozycja ikony */
.lb-tzi--pos-left{ flex-direction: row; }
.lb-tzi--pos-right{ flex-direction: row-reverse; }

/* wyrównanie w pionie: ikona */
.lb-tzi--ico-top .lb-tzi__icon{ align-self: flex-start; }
.lb-tzi--ico-center .lb-tzi__icon{ align-self: center; }
.lb-tzi--ico-bottom .lb-tzi__icon{ align-self: flex-end; }

/* wyrównanie w pionie: treść */
.lb-tzi--content-top .lb-tzi__content{ align-self: flex-start; }
.lb-tzi--content-center .lb-tzi__content{ align-self: center; }
.lb-tzi--content-bottom .lb-tzi__content{ align-self: flex-end; }

/* ikona */
.lb-tzi__icon{
  display: inline-flex;
  line-height: 0;
  flex: 0 0 auto;
}

.lb-tzi__icon img{
  display: block;
  max-width: 100%;
  height: auto;
	width: 42px !important;
}

/* treść */
.lb-tzi__content{
  display: inline-block;
  min-width: 0;
}

/* żeby elementy wewnętrzne InnerBlocks nie psuły inline-flow */
.lb-tzi__content > *:first-child{ margin-top: 0; }
.lb-tzi__content > *:last-child{ margin-bottom: 0; }

.gm-ui-hover-effect {
    display: none !important;
}


/* section-content-with-image */

.section-content-with-image 
{
}
.section-content-with-image .section-inner {
	display: grid;
	grid-template-columns: 4fr 4fr;
	gap: 2rem;
	align-items: center;
}
.section-content-with-image .section-image
{
	line-height: 0;
	height: 100%;
	width: 100%;
}
.section-content-with-image.wide-width .section-inner
{
	max-width: var(--wp--style--global--wide-size);
	margin: 0 auto;
}

.section-content-with-image.image-right .section-inner
{
	grid-template-columns: 4fr 4fr;
}
.section-content-with-image.image-right  .section-inner .section-image {
	order: 2;
}
.section-content-with-image .section-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.section-content-with-image.image-right .section-image img
{
	object-position: left;
}
.section-content-with-image.image-left .section-image img
{
	object-position: right;
}

.section-content-with-image .section-content .lazyblock-inner-blocks
{
	padding: 2rem;
	width: calc((1340px / 6) * 3 - 4rem);
	max-width: 100%;
	margin-right: auto;
}
.section-content-with-image.image-right .section-content .lazyblock-inner-blocks
{
	width: calc((1340px / 6) * 3 - 4rem);
	margin-left: auto;
	margin-right: 0;
}


.section-content-with-image.entire-image img {
	width: 100%;
	height: auto;
	object-fit: contain !important;
}

.section-content-with-image.entire-image .section-image
{
	display: flex;
}

.section-content-with-image.halign-top  .section-inner .section-image
{
	align-content: flex-start;
}
.section-content-with-image.halign-center  .section-inner .section-image
{
	align-content: center;
}
.section-content-with-image.halign-bottom  .section-inner .section-image
{
	align-content: flex-end;
}
.section-content-with-image.halign-top img {
	object-position: top;
}
.section-content-with-image.halign-center img {
	object-position: center;
}
.section-content-with-image.halign-bottom img {
	object-position: bottom;
}


@media(max-width: 1350px)
{
	.section-content-with-image .section-inner
	{
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}
	
	.section-content-with-image .section-inner .lazyblock-inner-blocks
	{
		width: auto !important;
	}
	.section-content-with-image .section-text {
	  order: 1;
	}

	.section-content-with-image .section-image {
	  order: 3;
	}
}



@media(max-width: 800px)
{
	.special-section-content-with-image
	{
		margin: 0 0 -20vw 0;
		position: relative;
	}
	
	.section-content-with-image .section-inner
	{
		grid-template-columns: 1fr !important;
		gap: 0;
	}
	.section-content-with-image .section-image {
		width: 100% !important;
	}

	.section-content-with-image.image-top  .section-inner .section-content {
		order: 1;
	}
	.section-content-with-image.image-bottom  .section-inner .section-image {
		order: 2;
	}

	
}


@media(min-width: 1400px)
{
	.special-section-content-with-image
	{
		margin: -3vw 0 -14vw 0;
		position: relative;
	}
	.special-section-content-with-image .section-content
	{
		margin-top: -11vw;
	}
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link
{
	line-height: 20px;
	padding: 10px;
}


/* === Team block (lazyblock/team) === */
.team-block {
  margin: 0 0 1.5rem 0;
}

.team-block__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem;
}

.team-block__label {
  font-size: .95rem;
  opacity: .9;
}

.team-block__select {
  padding: .7rem 1rem;
  border-radius: 10px;
  border: none;
  background: #fff;
  min-width: 260px;
}

.team-block__button {
  padding: .8rem 1.2rem;
  border-radius: 5px;
  border: none;
  background: #fff;
  color: var(--wp--preset--color--accent-1);
  cursor: pointer;
	display: none;
}


/* === Team block (lazyblock/team) === */
.price-block {
  margin: 0 0 1.5rem 0;
}

.price-block__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem;
}

.price-block__label {
  font-size: .95rem;
  opacity: .9;
}

.price-block__select {
  padding: .7rem 1rem;
  border-radius: 10px;
  border: none;
  background: #fff;
  min-width: 260px;
}

.price-block__button {
  padding: .8rem 1.2rem;
  border-radius: 5px;
  border: none;
  background: #fff;
  color: var(--wp--preset--color--accent-1);
  cursor: pointer;
	display: none;
}



.price-block__button:hover {
  filter: brightness(.98);
}

/* Grid zamiast Bootstrapa */
.team-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr; /* mobile: 1 */
  align-items: stretch;
}

@media (min-width: 576px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* sm: 2 */
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* lg: 4 */
  }
}

/* Karta */
.team-card {
  height: 100%;
}

.team-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
	border-radius: 10px;
	background: #fff;
}

.team-card__link:hover {
  transform: translateY(-2px);
	background: #fff;
}

.team-card__media {
  aspect-ratio: 5 / 3;
  display: grid;
  place-items: center;
}
.team-card__img
{
	overflow: hidden;
    aspect-ratio: 5 / 3;
    margin: 0;
}
.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__placeholder {
  display: grid;
  place-items: center;
	opacity: .1;
}

.team-card__icon {
  width: 128px;
  height: 128px;
}
.team-card__caption {
  padding: 14px 14px 16px;
	text-align: center;
}

.team-card__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.2;
  color: inherit;
}

.team-card__meta {
  margin: 0;
  font-size: .95rem;
  opacity: .8;
}

.wp-tabs {
    margin: 20px 0;
}

.wp-tab-nav {
    list-style: none;
    padding: 0;
    display: flex;
	    flex-wrap: wrap;
}

.wp-tab-nav li {
    margin: 0;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
	width: 22%;
}

@media(max-width: 1448px)
{
	.wp-tab-nav li {
		width: 29%;	
	}
}
@media(max-width: 1038px)
{
	.wp-tab-nav li {
		width: 40%;	
	}
}
@media(max-width: 600px)
{
	.wp-tab-nav li {
		width: 100%;	
	}
}
.wp-tab-nav li a
{
    text-decoration: none;
	
}

.wp-tab-nav li.active {
    background-color: #fff;
    border-radius: 5px;
}

.wp-tab-content {
    padding: 20px;
    border-top: none;
}

.wp-tab-pane {
    display: none;
}

.wp-tab-pane.active {
    display: block;
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.5rem 0.5rem;
  border-top: 1px solid #dee2e6;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
	text-align: left;
}

.table tbody + tbody {
  border-top: 2px solid #dee2e6;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(0, 0, 0, 0.05);
}
.wp-block-lazyblock-cards
{
	position: relative;
	z-index: 2; 
}

:root :where(.wp-element-button:hover, .wp-block-button__link:hover) {
    background-color: #1bb8de;
    border-color: transparent;
    color: var(--wp--preset--color--base);
}
@media(max-width: 980px)
{
	#nfz-com 
	{
		display: flex;
		gap: 1px;
		max-width: 700px;
		flex-direction: column;
		border-radius: 20px;
		overflow: hidden;
	}
	#nfz-com .wp-block-column .wp-block-cover
	{
		border-radius: 0 !important;
	}
	#header-main-btn .wp-element-button
	{
		    padding-top: .6rem;
    padding-right: .8rem;
    padding-bottom: .6rem;
    padding-left: .8rem;
		font-size: .8rem;
	}
}

{
	
}
@media(max-width: 820px)
{
	.main-header-info .items-with-icon .item
	{
		display: none;
	}
	.main-header-info .items-with-icon .item:nth-child(1)
	{
		display: flex;
	}
}
@media(max-width: 560px)
{
	.main-header-info .items-with-icon .item:nth-child(1) .content
	{
		display: none;
	}
}



.lb-tabs {
	display: grid;
	gap: 24px;
}

.lb-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.lb-tabs__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 8px 18px;
	border: none;
	border-radius: 10px;
	background: none;
	cursor: pointer;
	font: inherit;
	transition: .2s ease;
}

.lb-tabs__button:hover,
.lb-tabs__button:focus-visible {
	background: #efefef;
	outline: none;
}

.lb-tabs__button.is-active {
	background: #fff;
}

.lb-tabs__button--icon-top {
	flex-direction: column;
}

.lb-tabs__icon-img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
}

.lb-tabs__panel {
	display: none;
}

.lb-tabs__panel.is-active {
	display: block;
}


.lb-tabs--left {
	grid-template-columns: 260px 1fr;
	align-items: start;
}

.lb-tabs--left .lb-tabs__nav {
	flex-direction: column;
}

.lb-tabs--left .lb-tabs__button {
	width: 100%;
	justify-content: flex-start;
}

.lb-tabs--right {
	grid-template-columns: 1fr 260px;
	align-items: start;
}

.lb-tabs--right .lb-tabs__nav {
	order: 2;
	flex-direction: column;
}

.lb-tabs--right .lb-tabs__content {
	order: 1;
}

.lb-tabs--right .lb-tabs__button {
	width: 100%;
	justify-content: flex-start;
}

@media (max-width: 767px) {
	.lb-tabs--left,
	.lb-tabs--right {
		grid-template-columns: 1fr;
	}

	.lb-tabs--right .lb-tabs__nav,
	.lb-tabs--right .lb-tabs__content {
		order: initial;
	}

	.lb-tabs__nav {
		flex-direction: column;
	}

	.lb-tabs__button {
		width: 100%;
	}
}

.forminator-html-select
{
    width: 100%;
    font-size: 1.2rem;
    padding: .5rem;
}
.forminator-ui#forminator-module-1550.forminator-design--default .forminator-checkbox, .forminator-ui#forminator-module-1550.forminator-design--default .forminator-checkbox__label, .forminator-ui#forminator-module-1550.forminator-design--default .forminator-checkbox__label p
{
	margin: 0 .3rem;
}

ul {
    padding-inline-start: 1.8rem;
}
.width50
{
	width: 50%;
	margin-bottom: 2rem;
}
.width50 img
{
	width: 100%;
}
.history-slider
{
	padding: 0 20px;
}
.history-slider .img
{
	height: 340px;
}
.history-slider .img img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.history-slider h2
{
	font-size: 1.4rem;
	font-weight: bold;
}
.history-slider .date
{
	font-size: 2.2rem;
	font-weight: bold;
	margin-top: 1rem;
	overflow: hidden;
}
.history-slider .date .inner
{
	float: left;
	background: #323232;
	color: #fff;
	padding: 0 10px;
}
.history-slider
{
	padding-bottom: 45px;
}
.history-slider .swiper-pagination
{
	margin-top: 20px;
}
.swiper-pagination-bullet
{
	border-radius: 4px;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-menu-item-1964>a::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-top: 3px;
	margin-right: 8px; /* odstęp od tekstu */
    background-image: url("/wp-content/themes/swietarodzinad2m/assets/images/Flag_of_Europe.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
} 
.wp-block-file *+.wp-block-file__button
{
	padding-top: .5rem;
    padding-bottom: .5rem;
	padding-right: 1rem;
	padding-left: 1rem;
	border-radius: 5px;
	font-size: .8rem;
	text-transform: uppercase;
}
.wp-block-file
{
	    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
	column-gap: 1rem;
	
}
.wp-block-file a
{
	text-decoration: none;
}
.text-right
{
	text-align: right;
}