.wolontariusze {

}

.wolontariusze .header {
	position: relative;
	min-height: 100dvh;
}

.wolontariusze .header .in {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 90%;
	width: 1360px;
}

.wolontariusze .header .in p.subtitle {
	color: #FFF;
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	font-family: "Space Grotesk";
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: 90px; /* 300% */
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0;
}

.wolontariusze .header .in p.title {
	margin: 0;
	color: #FFF;
	text-align: center;
	font-family: Bender;
	font-size: 150px;
	font-style: normal;
	font-weight: 900;
	line-height: 134px; /* 89.333% */
	letter-spacing: 7.5px;
	text-transform: uppercase;
}

.wolontariusze .header .in .btns {
	display: flex;
	margin: 33px auto 0 auto;
	gap: 30px;
	justify-content: center;
	align-items: center;
}

.wolontariusze .header .in .btns .btn {
	color: #FFF;
	padding: 30px 58px;
	border: 1px solid #fff;
	color: #FFF;
	font-family: "Space Grotesk";
	font-size: 30px;
	font-style: normal;
	font-weight: 600;
	line-height: 111%; /* 33.3px */
	letter-spacing: -0.6px;
	text-transform: uppercase;
	transition: 300ms;
}

@media only screen and (min-width: 1066px) {
	.wolontariusze .header .in .btns .btn:hover {
		border: 1px solid #DEFC52;
		background: #DEFC52;
		color: #000;
	}
}

.wolontariusze .sekcje {
	margin: 50px auto 120px auto;
}

.wolontariusze .sekcje .container {
	border-bottom: 1px solid #000;
}

.wolontariusze .sekcje .section {
	border-top: 1px solid #000;
}

.wolontariusze .sekcje .section .flex-container {
	
}

.wolontariusze .sekcje .section .flex-container .half {
	padding: 25px 25px 25px 0;
}

.wolontariusze .sekcje .section .flex-container .half + .half {
	border-left: 1px solid #000;
	padding: 25px 0 25px 25px;
}

.wolontariusze .sekcje .section .flex-container .half img {
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
	object-fit: cover;
}

.wolontariusze .sekcje .section .flex-container .half video {
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
	object-fit: cover;
}

.wolontariusze .sekcje .section .flex-container p.title {
	color: #000;
	font-family: "Space Grotesk";
	font-size: 60px;
	font-style: normal;
	font-weight: 600;
	line-height: 111%; /* 66.6px */
	margin: 0 auto 40px auto;
}

.wolontariusze .sekcje .section .flex-container p.desc {
	color: #000;
	font-family: "Space Grotesk";
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 133%; /* 26.6px */
	margin: 0 auto 60px auto;
}

.wolontariusze .sekcje .section .flex-container a {
	display: flex;
	padding: 14px 20px;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	border-radius: 2px;
	border: 1px solid #DEFC52;
	transition: 300ms;
	background: #DEFC52;
	max-width: 200px;
}

.wolontariusze .sekcje .section .flex-container a span {
	color: #000;
	font-family: "Space Grotesk";
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 111%; /* 16.65px */
	text-transform: uppercase;
}

.wolontariusze .sekcje .section .flex-container a div {
	position: relative;
	width: 20px;
	height: 20px;
	overflow: hidden;
}

.wolontariusze .sekcje .section .flex-container a div svg:first-of-type {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: 300ms;
}

.wolontariusze .sekcje .section .flex-container a div svg:last-of-type {
	position: absolute;
	top: 100%;
	left: -100%;
	width: 100%;
	height: 100%;
	transition: 300ms;
}

.wolontariusze .sekcje .section .flex-container a div svg path {
	transition: 300ms;
}

@media only screen and (min-width: 1066px) {
	.wolontariusze .sekcje .section .flex-container a:hover {
		background: #000;
		border-color: #000;
	}

	.wolontariusze .sekcje .section .flex-container a:hover span {
		color: #DEFC52;
	}

	.wolontariusze .sekcje .section .flex-container a:hover div svg path {
		fill: #DEFC52;
	}

	.wolontariusze .sekcje .section .flex-container a:hover div svg:first-of-type {
		top: -100%;
		left: 100%;
	}

	.wolontariusze .sekcje .section .flex-container a:hover div svg:last-of-type {
		top: 0;
		left: 0;
	}
}

/* —— Ustawienia ————————————————————————————————— */
:root {
  --mm-border: #cfcfcf;
  --mm-black: #000;
  --mm-accent: #d7ff4d; /* limonkowy jak w projekcie */
  --mm-radius: 6px;
  --mm-gap: 16px;
}

/* Reset labeli tylko wizualnie – zostają dla dostępności */
.mm-form .screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px; overflow: hidden;
}

/* Siatka dwóch kolumn dla pierwszego rzędu */
.mm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mm-gap);
  margin-bottom: var(--mm-gap);
}

/* Pola */
.mm-field { display:block; }
.mm-form input[type="text"],
.mm-form input[type="email"],
.mm-form input[type="tel"],
.mm-form textarea {
	width: 100%;
	 border-radius: 2px;
	border: 1px solid #000;
	background: #FFF;
	padding: 18px 22px;
	color: #000;
	leading-trim: both;
	text-edge: cap;
	font-family: "Space Grotesk";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 133.3%; 
}
.mm-form input::placeholder,
.mm-form textarea::placeholder {
	color: #000;
	leading-trim: both;
	text-edge: cap;
	font-family: "Space Grotesk";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 133.3%; 
}
.mm-form textarea { height: 170px; resize: vertical;margin-top:20px;padding:25px 22px; }

.mm-form input:focus,
.mm-form textarea:focus {
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}

/* Zgoda RODO */
.mm-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  color: #555;
  margin: 20px 0 0 0;
}
.mm-consent a { text-decoration: underline; }
.mm-consent span { color: #000;
leading-trim: both;
text-edge: cap;
font-family: "Space Grotesk";
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 133.3%; /* 15.996px */ }

/* Przycisk – czarny pełnej szerokości z limonkowym tekstem */
.mm-submit { margin-top: 57px; }
.mm-submit input[type="submit"] {
  width: 100%;
	 color: #DEFC52;
	padding: 11px 12px 11px 17px;
	font-family: "Space Grotesk";
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 240%; /* 16.65px */
	text-transform: uppercase;
	border-radius: 2px;
	border: 1px solid #000;
	transition: 300ms;
	background: #000;
  cursor: pointer;
}

@media only screen and (min-width: 1066px) {
	.mm-submit input[type="submit"]:hover { color: #000; background: #DEFC52; border: 1px solid #DEFC52;}
}

.wpcf7-not-valid-tip {
	font-size: 10px;
    margin-top: 2px;
}
/* Responsywność */
@media (max-width: 640px) {
  .mm-grid { grid-template-columns: 1fr; }
}

/* blokada przewijania podczas modala */
.cf7p-lock { overflow: hidden; }

.cf7p-modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.cf7p-modal.is-open { display: block; }

/* tło */
.cf7p-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999999999;
}

/* okno dialogowe */
.cf7p-dialog {
	width: 500px;
	max-width: 90%;
    min-height: 353px;
    max-height: 90vh;
    border-radius: 2px;
    background: #fff;
    z-index: 999999999;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* tytuł + treść */
#cf7p-title { padding: 50px 50px 35px 50px;color: #000;
leading-trim: both;
margin: 0;
text-edge: cap;
font-family: "Space Grotesk";
font-size: 50px;
font-style: normal;
font-weight: 600;
line-height: 50px; /* 100% */}
.cf7p-body  { padding: 0 50px 0 50px;color: #000;
font-family: "Space Grotesk";
margin: 0;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 133%; /* 19.95px */ }
.cf7p-dialog .cl {
	border-radius: 2px 2px 0 0;
	background: #DEFC52;
	text-align: center;
}
.cf7p-dialog .cl button {
	background: none;
    border: none;
    cursor: pointer;
}
.cf7p-dialog .cl button svg {
	transition: 300ms;
}
@media only screen and (min-width: 1066px) {
.cf7p-dialog .cl button:hover svg {
	transform: rotate(360deg);
}
}
.wpcf7 form .wpcf7-response-output{display:none !important;}

.contact .parallax-container {
	display: none;
}

.popup {
	display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 999999;
}

.popup .in {
    position: absolute;
    background: #fff;
    z-index: 999999;
    top: 50%;
    left: 50%;
    width: 725px;
    max-width: 90%;
    transform: translate(-50%, -50%);
}

.popup .in .header {
	position: relative;
	height: auto;
	min-height: auto;
	border-radius: 2px 2px 0 0;
	background: #DEFC52;
	padding: 19px 0 11px 0;
}

.popup .in .header img {
	width: 82px;
	height: auto;
	margin: 0 auto;
    display: block;
}

.popup .in .header a {
	position: absolute;
	width: 55px;
	height: 55px;
	right: 0;
	top: 50%;
	transform: translate(-50%, -50%);
}

.popup .in .header a svg {
	width: 100%;
	height: 100%;
	transition: 300ms;
}

@media only screen and (min-width: 1066px) {
	.popup .in .header a:hover svg {
		transform: rotate(360deg);
	}
}

.popup .in .content {
	padding: 30px;
	color: #000;
  font-family: "Space Grotesk";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 133%;
  overflow-y: auto;
  max-height: 70vh;
}

.popup .in .content p.title {
	color: #000;

	leading-trim: both;
	margin: 0 auto 20px auto;
	text-edge: cap;
	font-family: "Space Grotesk";
	font-size: 50px;
	font-style: normal;
	font-weight: 600;
	line-height: 80px;
}

.popup .in .content p.desc {
	color: #000;
	margin: 0 auto;
	font-family: "Space Grotesk";
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 133%; 
}

/* 1) Nie chowaj inputa za wrapperami CF7 – wyrenderuj tylko sam input w kolumnie siatki */
.mm-consent .wpcf7-form-control-wrap,
.mm-consent .wpcf7-form-control,
.mm-consent .wpcf7-list-item {
  display: contents;
}

/* 2) Przywróć normalne pozycjonowanie i hit-area checkboxa */
.mm-consent input[type="checkbox"] {
  position: static;       /* usuwa left:-17px, który utrudniał klik */
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 2;             /* na wszelki wypadek, gdyby coś nachodziło */
}

/* 3) (opcjonalnie) jeśli link w opisie nachodzi na checkbox w ciasnych layoutach */
.mm-consent a { position: relative; z-index: 1; }

@media only screen and (max-width: 996px) {
	.wolontariusze .header .in p.subtitle {
		color: #FFF;
			text-align: center;
		leading-trim: both;
		text-edge: cap;
		font-family: "Space Grotesk";
		font-size: 20px;
		font-style: normal;
		font-weight: 600;
		line-height: 26px; /* 130% */
		letter-spacing: 1px;
		text-transform: uppercase;
		margin-bottom: 40px;
	}

	.wolontariusze .header .in p.title {
		color: #FFF;
		text-align: center;
		font-family: Bender;
		font-size: 50px;
		font-style: normal;
		font-weight: 900;
		line-height: 50px; /* 100% */
		letter-spacing: 2.5px;
		text-transform: uppercase;
		padding: 0 0 40px 0;
	}

	.wolontariusze .header .in .btns {
		margin-top: 64px;
		flex-wrap: wrap;
		gap: 15px;
		padding: 0 55px;
	}

	.wolontariusze .header .in .btns .btn {
		width: 100%;
		color: #FFF;
		font-family: "Space Grotesk";
		font-size: 20px;
		font-style: normal;
		font-weight: 600;
		line-height: 111%; /* 22.2px */
		letter-spacing: -0.4px;
		text-transform: uppercase;
		padding: 30px 0;
		text-align: center;
	}

	.wolontariusze .sekcje .section .flex-container {
		flex-wrap: wrap;
		gap: 0;
	}

	.wolontariusze .sekcje .section .flex-container .half {
		padding: 40px 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
		width: 100%;
		order: 2;
		padding-top: 0 !important;
	}

	.wolontariusze .sekcje .section .flex-container .half.img {
		padding: 40px 0 !important;
		order: 1;
	}

	.wolontariusze .sekcje .section .flex-container p.title {
		color: #000;
		font-family: "Space Grotesk";
		font-size: 40px;
		font-style: normal;
		font-weight: 600;
		line-height: 97%; /* 38.8px */
		margin: 0 auto 40px auto;
	}

	.wolontariusze .sekcje .section .flex-container p.desc {
		color: #000;
		margin: 0 auto 40px auto;
		font-family: "Space Grotesk";
		font-size: 15px;
		font-style: normal;
		font-weight: 400;
		line-height: 133%;
	}

	.wolontariusze .sekcje {
		margin-bottom: 50px;
	}

	.wolontariusze .sekcje .container {
		border-bottom: none !important;
	}

	.wolontariusze .sekcje .section:last-of-type {
		border-bottom: 1px solid #000;
	}

	.popup .in .content { 
		padding: 15px;
	}

	.popup .in .content p.title {
		color: #000;

		leading-trim: both;
		margin-bottom: 15px;
		text-edge: cap;
		font-family: "Space Grotesk";
		font-size: 40px;
		font-style: normal;
		font-weight: 600;
		line-height: 80px;
	}

	.popup .in .content p.desc {
		color: #000;

		font-family: "Space Grotesk";
		font-size: 15px;
		font-style: normal;
		font-weight: 400;
		line-height: 133%; 
	}

	.mm-grid {
		margin-bottom: 0;
	}
}