/* KML */

html {
  scroll-behavior: smooth;
}

.kml-max-height-700 img {
  max-height: 700px;
  height: auto;
  width: auto;
}

.zapytaj-obraz-podglad img {
    max-width: 50%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.zapytaj-obraz-formularz {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.label-avail-1 {
	border-color: var(--wp--preset--color--vivid-green-cyan) !important;
    color: var(--wp--preset--color--vivid-green-cyan) !important;
}

.label-avail-2 {
	border-color: var(--wp--preset--color--vivid-red) !important;
    color: var(--wp--preset--color--vivid-red) !important;
}

.label-avail-3 {
	border-color: var(--wp--preset--color--luminous-vivid-orange) !important;
    color: var(--wp--preset--color--luminous-vivid-orange) !important;
}

.label-avail-4 {
	border-color: var(--wp--preset--color--cyan-bluish-gray) !important;
    color: var(--wp--preset--color--cyan-bluish-gray) !important;
}

.label-avail-1, .label-avail-2, .label-avail-3, .label-avail-4 {
	font-size: var(--wp--preset--font-size--superbfont-tiny) !important;
    line-height: 2;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    padding-inline-start: 25px;
}

.label-avail-1 li, .label-avail-2 li, .label-avail-3 li, .label-avail-4 li {
	padding: 0px 10px 0px 0px !important;
}

.wp-block-button:hover {
/*
    background-color: var(--wp--preset--color--mono-4);
	background: rgba(0, 0, 0, 0.1);
	background: var(--wp--preset--color--custom-color-2);
	background: rgba(0, 0, 0, 0.03);
*/
	background: rgba(118, 15, 122, 0.05)!important;
	text-decoration: none;
}

.wp-block-buttons .is-style-outline a:hover {
    color: var(--wp--preset--color--primary-hover);
}

.wp-block-cover__inner-container .wp-block-button:hover {
	background: rgba(255, 255, 255, 0.1)!important;
}

.purple-button,
.purple-button a {
	background-color: var(--wp--preset--color--custom-color-2);
}

.purple-button-outline {
	color: var(--wp--preset--color--custom-color-2);
	border-color: var(--wp--preset--color--custom-color-2);
}

.purple-button:hover,
.wp-block-cover__inner-container .purple-button:hover {
	background: rgba(118, 15, 122, 1)!important;
}

.purple-button a:hover,
.wp-block-cover__inner-container .purple-button a:hover {
	background: rgba(255, 255, 255, 0.2)!important;
}

.purple-button-outline:hover,
.wp-block-cover__inner-container .purple-button-outline:hover {
	background: rgba(118, 15, 122, 0.05)!important;
}


/*
.wp-block-cover__inner-container .purple-button-outline:hover {
	background: rgba(118, 15, 122, 0.05)!important;
}

.wp-block-cover__inner-container .purple-button:hover {
	background: rgba(118, 15, 122, 1)!important;
}

.wp-block-cover__inner-container .purple-button a:hover {
	background: rgba(255, 255, 255, 0.2)!important;
}
*/
header .wp-block-navigation .wp-block-navigation-item__content:hover, 
header .current-menu-item a {
	color: var(--wp--preset--color--custom-color-2)!important;
	transform: scale(1.15);
}

footer .wp-block-navigation .wp-block-navigation-item__content:hover, 
footer .current-menu-item a {
	font-weight: bolder;
}

button.wp-block-navigation__responsive-container-open {
    margin: 0.5em;
}

button.wp-block-navigation__responsive-container-open::after {
  content: " Menu";
  font-size: 16px;
  margin-left: 8px;
  text-transform: uppercase;
  color: var(--wp--preset--color--mono-2);
}

.wp-block-search__input {
    font-weight: 500!important;
    font-family: var(--wp--preset--font-family--fontsecondary)!important;
}

@media (max-width: 599px) {
	header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
		font-size: 20px;
	}
}

.wp-block-post-featured-image a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px; /* opcjonalnie */
}

.kml-border-radius-0 a {
  border-radius: 0px!important;
}


/* Powiększenie obrazka */
.wp-block-post-featured-image a img.wp-post-image {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-post-featured-image a:hover img.wp-post-image {
  transform: scale(1.07);
}

/* Overlay */
.wp-block-post-featured-image a::before {
  content: '';
  position: absolute;
  inset: 0;
/*  background-color: rgba(255, 255, 255, 0.2); */
  background: rgba(118, 15, 122, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Pokazanie overlay przy hover */
.wp-block-post-featured-image a:hover::before {
  opacity: 1;
}

/* kml: poniżej dla obrazków które nie są featured */

.wp-block-image a {
  display: block;
  overflow: hidden;
  border-radius: 8px; /* powinien być zgodny z img */
}

.wp-block-image a img {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  height: auto;
}

.wp-block-image a:hover img {
  transform: scale(1.07);
}

/* endof kml */

.wp-block-heading a {
    text-decoration: none;
}

/*

to nie dziala bo dla a nie mozna zrobic scale:

.wp-block-heading a:hover, .wp-post-title a:hover {
  transform: scale(1.10);
}

to dziala dla wszystkich heading zamiast tylko z linkiem:

.wp-block-heading a:hover, .wp-post-title a:hover {
  transform: scale(1.10);
}

to tez nie dziala:

.wp-block-heading a:hover::before, .wp-post-title a:hover::before {
  transform: scale(1.07);
}
*/


/* Stylowanie kontenera z obrazkami */

.kml-row-mixed-height {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 1rem;
	overflow-x: auto;
	height: 30vh; /* Ustawienie wysokości na 30% wysokości ekranu */
}

.kml-row-mixed-height figure.wp-block-image {
	margin: 0;
	flex: 0 0 auto;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kml-row-mixed-height figure.wp-block-image img {
	height: 100%;
	width: auto;
	object-fit: contain;
	display: block;
}



.pswp__caption {
	display: none;
}

.wpcf7-form {
}

.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
	margin: 5px 0px 10px;
    font-size: var(--wp--preset--font-size--superbfont-xxsmall);
	font-family: var(--wp--preset--font-family--fontsecondary);
}
.wpcf7 textarea {
    height: 450px;
}

.kml-textarea-mini .wpcf7 textarea {
    height: 250px;
}


.wpcf7 p {
    font-size: var(--wp--preset--font-size--superbfont-xsmall);
	font-family: var(--wp--preset--font-family--fontprimary);
	/* color: var(--wp--preset--color--mono-1); */
	margin: 0.5em 0;
}


.wpcf7-submit {
	width: auto!important;
	float: right;
    background: transparent none;
    border-radius: 0px!important;
    /* color: var(--wp--preset--color--mono-1); */
	color: var(--wp--preset--color--contrast-light);
	background-color: var(--wp--preset--color--custom-color-2);
    padding-top: 0.667em!important;
    padding-right: 1.33em!important;
    padding-bottom: 0.667em!important;
    padding-left: 1.33em!important;
    font-size: var(--wp--preset--font-size--superbfont-xsmall)!important;
	font-family: var(--wp--preset--font-family--fontprimary)!important;
	font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    text-transform: uppercase;
	box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}
.wpcf7-submit:hover {
	background: rgba(118, 15, 122, 0.8)!important;
}

.wpcf7-response-output {
	color: var(--wp--preset--color--mono-2);
    font-size: var(--wp--preset--font-size--superbfont-xsmall)!important;
	font-family: var(--wp--preset--font-family--fontsecondary)!important;
	margin: 1em;
	padding: 1em;
    line-height: 1.5em;
}

.wpcf7-not-valid-tip {
	font-family: var(--wp--preset--font-family--fontsecondary);
	margin: 0.5em;
}

/*
.wpcf7-response-output {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}
.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.wpcf7-mail-sent-ng {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
*/

/* NEWSLETTER */

.newsletter-form {
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.form-left,
.form-right {
  flex: 1 1 45%;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 90%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1em;
}

.form-consent {
}

.newsletter-form input[type="checkbox"] {
  margin-right: 0.5em;
}

.form-submit {
  text-align: center;
}

/* Naprawa checkboxa — umieszczony obok tekstu */
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--wp--preset--font-family--fontsecondary);
  font-size: 0.95em;
}

/* Usuń dodatkowe marginesy/paddingi */
.wpcf7-list-item-label {
  line-height: 1.4;
}

/* Opcjonalnie popraw wygląd checkboxa */
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] {
    width: 12px;
    height: 12px;
    margin: 3px;
}

.gtranslate_wrapper .gt_float_switcher {
	font-family: var(--wp--preset--font-family--fontsecondary);
    font-size: 14px;
    border-radius: 2px;
	color: var(--wp--preset--color--mono-2);
    display: inline-block;
    line-height: 14px;
    box-shadow: none;
/*    background: transparent; */
    overflow: hidden;
    transition: all .5s cubic-bezier(0.4, 0, 1, 1);
}

.gt_float_switcher .gt-selected {
/*    background-color: transparent!important;*/
}

.gt_float_switcher img {
	width: 20px!important;
}

a.gt_switcher-popup img {
	border: 1px solid var(--wp--preset--color--mono-3)!important;
}

.gt_float_switcher-arrow {
	width: 8px!important;
}

@media (max-width: 768px) {
	.wp-site-blocks {
		padding-top: 20px!important;
	}
	
	.gtranslate_wrapper #gt_float_wrapper {
		top: 0px!important;
		right: 0px!important;
	}
}
