p:first-of-type {margin-top: 0;}

.btn.white {
	filter: grayscale(1) invert(1) brightness(1.2);
}

.sub main section h2:not(.text-black),
.sub main section h3:not(.text-black),
.sub main section h4:not(.text-black),
.sub main section h5:not(.text-black),
.sub main section h6:not(.text-black) {
	background: linear-gradient(to right, hsl(235 38% 28%) 5%, hsl(256 86% 77%) 20%, hsl(335 64% 45%));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.text-black {color: var(--primary) !important;}

.half-header header video,
.half-header header > img.w-full {
	height: 585px;
}

.half-header header .items-end {
	align-items: center;
}

.half-header header .slogan {margin-bottom: 0;}

.full-header header,
.full-header header video {
	height: calc(100vh - 184px);
}

.full-header header video {object-fit: cover;}

.slogan h1:only-child {margin: 0;}

.bg-horizontal {
	background: url(/assets/img/bg-horizontal.png) right bottom no-repeat;
	background-size: 100% auto;
}


.tabs-links {
	gap: 30px;
}

.tabs-links .btn {
	flex: 1;
}


.members.md\:row {
	row-gap: 30px;
}

.member.card {
	background-color: #fff;
	cursor: pointer;
	transition: all .3s;
	position: relative;
	height: 100%;
}

.member.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px -5px hsl(0 0% 0% / .15);
}

.member::after {
	content: '';
	display: block;
	width: 100%;
	height: 4px;
	background-image: linear-gradient(to right, hsl(235 38% 28%), hsl(256 86% 77%), hsl(335 64% 45%));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;

	position: absolute;
	bottom: 0;
	left: 0;
}


.member.card .card-image {
	padding: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.member.card .card-body {
	text-align: center;
	padding: 0 30px 30px;
}

.card-title {
	margin: 0 0 10px;
	line-height: 1.1;
	font-size: 1.125rem;
}

.card-body small {font-size: 0.875rem;}

.card-body .more {
	width: 23px;
	height: 23px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--primary);
	border-radius: 50%;
	margin: 10px auto 0;
	color: var(--primary);
	font-family: monospace;
	font-weight: bold;
	line-height: 1;
}

#partnerships {
	background-image: url(/assets/img/partnerships-bg.jpg);
	background-position: left bottom;
	background-repeat: no-repeat;
	background-size: cover;
}

.gradient.circle {
	width: 100%;
	aspect-ratio: 1/1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	padding: 0 30px;
	line-height: 1.3;
	background: url(/assets/img/gradient-circle.svg) center no-repeat;
	background-size: contain;
}


#research {
	background-image: url(/assets/img/research-bg.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}


.tabs-content {position: relative;}


.tabs-content .swiper-button-prev,
.tabs-content .swiper-button-next,
#recent-posts .swiper-button-prev,
#recent-posts .swiper-button-next {
	color: var(--secondary);
	border: 1px solid var(--secondary);
	width: 25px;
	height: 25px;
	border-radius: 50%;
	opacity: 1;
	transition: all .3s;
}

.tabs-content .swiper-button-prev:not(.single-slides .swiper-button-prev),
#recent-posts .swiper-button-prev {left: -50px;}
.tabs-content .swiper-button-next:not(.single-slides .swiper-button-next),
#recent-posts .swiper-button-next {right: -50px;}

.tabs-content .swiper-button-next::after,
.tabs-content .swiper-button-prev::after,
#recent-posts .swiper-button-next::after,
#recent-posts .swiper-button-prev::after {
	font-size: 12px;
	font-weight: bold;
	display: block;
}

.tabs-content .swiper-button-prev:hover {
	transform: scale(1.1) translateX(-3px);
}

.tabs-content .swiper-button-next:hover {
	transform: scale(1.1) translateX(3px);
}

#publications .swiper-container {
	overflow: hidden;
}

.single-slides .swiper-pagination-bullet-active {
	background-color: var(--primary);
}

#publications .card-image {
	margin-right: 30px;
	width: 190px;
	/* background-color: hsl(0 0% 0% / .02); */
	display: block;
	cursor: pointer;
	object-fit: contain;
	padding: 1rem;
}

.card.horizontal {
	display: flex;
	align-items: center;
}

#publications .card.horizontal {align-items: stretch;}

.card-body p:last-of-type {margin-bottom: 0;}

.card-date {margin-bottom: 1rem; line-height: 1;}



.tabs-links.col {
	row-gap: 10px;
}

.tabs-links.col .btn {
	flex: auto;
}

.card:not(.horizontal) .card-image {
	max-width: 100%;
	margin-bottom: 1rem;
	cursor: pointer;
}

.md\:w-9-12.md\:pl-60 {
	padding-left: 60px;
}

.bg-gradient {
	background-image: linear-gradient(to right, #EAEAF0, #FCF1FB);
}

.card-image {
	flex-shrink: 0;
	margin-right: 30px;
	overflow: hidden;
}

.card:hover .card-image {cursor: pointer;}

.card-image img {
	transition: all var(--normalSpeed) var(--ease);
}

.card:hover .card-image img {
	transform: scale(1.1);
}

.card.horizontal .card-body p {
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	overflow: hidden;
}

.swiper-events .swiper-pagination,
.swiper-events .swiper-button-prev,
.swiper-events .swiper-button-next {
	position: relative !important;
	margin: 0 !important;
}

.swiper-events .absolute .flex {
	gap: 30px;
	width: 200px;
	margin: 0 auto;
}

.swiper-events .swiper-pagination {
	position: absolute !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	bottom: 0 !important;
	counter-reset: bullets;
}


.swiper-events .swiper-button-prev,
.swiper-events .swiper-button-next {
	width: 18px !important;
	height: 18px !important;
	inset: auto !important;
}

.swiper-events .swiper-button-prev::after,
.swiper-events .swiper-button-next::after {
	font-size: 10px;
	font-weight: bold;
	color: var(--primary);
}

.swiper-events .swiper-pagination-bullet {
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	opacity: 1;
}


.swiper-events .swiper-pagination-bullet::after {
	content: counter(bullets);
	counter-increment: bullets;
	color: var(--primary);
	font-size: .875rem;
}

.swiper-events .swiper-pagination-bullet-active::after {color: var(--secondary);}




.downloads a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	padding: 10px 0;
	text-decoration: none;
	color: var(--textColor);
	transition: all var(--fastSpeed);
	border-bottom: 1px solid hsl(0 0% 95%);
}

.downloads a:last-child {border-bottom: 0;}

.downloads a:hover {
	color: var(--secondary);
}

.downloads .circle {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	width: 30px;
	border: 2px solid var(--primary);
	border-radius: 50%;
	margin-right: 15px;
	transition: all .3s;
}

.downloads a:hover .circle {
	border-color: var(--secondary);
	border-radius: 45%;
}

.download-icon {
	height: 18px;
	display: block;
	border-radius: 0;
}

.downloads .size {
	opacity: .6;
	font-size: 0.875rem;
}

.downloads .text {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 30px;
}

.downloads strong {
	font-weight: 400;
	line-height: 1.3;
	display: block;
	padding-right: 30px;
}

form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p {
	margin: 0;
}

label a {
	text-decoration: none;
	color: var(--primary);
}

label p,
label li {
	font-size: 0.875rem;
	line-height: 1.5;
}

label li {
	margin-bottom: 0.5em;
}

input,select,textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	margin-bottom: 10px;
	color: black;
	border: 2px solid var(--primary);
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

textarea {
	height: 15rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: -10px;
	margin-bottom: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}



.hero {
	max-height: 100vh;
	object-fit: cover;
}

.accordion-grid {
	gap: 10px;
	row-gap: 25px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.accordion-grid .bg-primary {
	line-height: 1;
	font-weight: bold;
}

.accordion-item {
	padding: 15px;
	transition: all .3s;
	box-shadow: 0 0 30px hsl(0 0% 0% / .1);
}

.accordion-item + .accordion-item {margin-top: 15px;}

.accordion-item--active {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -5px hsl(0 0% 0% / .15);
}

.accordion-header {
	cursor: pointer;
	position: relative;
}

.accordion-header.no-content {cursor: default;}

.accordion-header:not(.no-content)::after {
	content: '+';
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: 1px solid black;
	font-size: 1.125rem;

	position: absolute;
	top: 48px;
	right: 0;
	transition: all .2s;
}

.accordion-header--active::after {
	transform: rotate(45deg);
}

.accordion-title {
	line-height: 1.2;
}

.accordion-wrap {
	grid-column: span 6;
}

.accordion-progress {
	height: 20px;
	background-image: linear-gradient(to right, #BA2967, #BD90F6);
	background-size: 50vw 20px;
	position: relative;
	transform: translateX(-100%);
	transition: transform 1s var(--ease);
}

.accordion-progress--animate {
	transform: translateX(0);
}

.accordion-progress::before {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background-color: white;
	position: absolute;
	top: -14.5px;
	right: -10px;
	transform: rotate(45deg);
}


.accordion-progress::after {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background-color: white;
	position: absolute;
	bottom: -14.5px;
	right: -10px;
	transform: rotate(45deg);
}

p .btn {padding-left: 2em; padding-right: 2em;}

p .btn + .btn {margin-left: 1em;}


.vista-blue-text {color: var(--vista-blue)}
.mauve-text {color: var(--mauve)}
.vinca-minor-text {color: var(--vinca-minor)}


.popup {
	position: fixed;
	inset: 0;
	isolation: isolate;
	z-index: 99999;

	display: none;
	align-items: center;
	justify-content: center;
}

.popup.active {
	display: flex;
}

.popup-backdrop {
	position: fixed;
	inset: 0;
	z-index: -1;
	background-color: hsl(0 0% 0% / .4);
}

.popup-wrap {
	width: 50%;
	min-width: 300px;
	position: relative;
}

.popup-close {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: white;
	color: var(--primary);
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 30px;
	right: 30px;
	border: 2px solid var(--primary);
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

.popup-close:hover {
	color: var(--secondary);
	border-color: var(--secondary);
	transform: scale(1.05);
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-ms-transform: scale(1.05);
	-o-transform: scale(1.05);
}

.popup-content {
	padding: 15px;
	background-image: linear-gradient(to right, #EAEAF0, #FCF1FB);
	box-shadow: 0 15px 30px -10px hsl(0 0% 0% / .3);
}


.contact main {
	overflow: hidden;
	isolation: isolate;
	position: relative;
}

.contact main > iframe {
	width: calc(100% + 800px);
	height: 100%;
	min-height: 640px;
	display: block;
	filter: grayscale(1);

	position: relative;
	z-index: 1;
	left: -700px;
	right: -100px;
}

.contact main::before {
	content: '';
	display: block;
	inset: 0;
	position: absolute;
	z-index: 19;
	background-image: linear-gradient(to right, hsl(235 38% 28%), hsl(256 86% 77%), hsl(335 64% 45%));
	mix-blend-mode: color;
}

.bg-white {
	background-color: #fff;
}


.about-us .popup-content {
	padding: 0;
	max-height: 70vh;
	overflow-y: auto;
}


.about-us .popup-content .md\:w-8-12:only-child {
	width: 100%;
	max-width: 100%;
	flex-basis: 100%;
}



section video {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
}

.contact main iframe {
	height: 700px;
	position: relative;
	z-index: 10;
}

#member-full-content h3 {margin-top: 0;}




#pliki .downloads a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	box-sizing: border-box;
	padding: 15px 30px;
	text-decoration: none;
	color: var(--textColor);
	transition: all var(--fastSpeed);
	box-shadow: 0 0 30px hsl(0, 0%, 0%, .1);
}

#pliki .downloads a:hover {
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 15px 20px -5px hsl(0, 0%, 0%, .2);
}

#pliki .downloads a img:not(.download-icon) {
	height: 52px;
	border-radius: 0;
}

#pliki .download-icon {
	height: 18px;
	display: block;
	margin-left: 30px;
	border-radius: 0;
	filter: grayscale(1);
}

#pliki .downloads .size {
	opacity: .6;
	font-size: 0.875rem;
}

#pliki .downloads .text {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 30px;
}

#pliki .downloads strong {
	font-weight: 400;
	line-height: 1.3;
	display: block;
	padding-right: 30px;
}



@media screen and (max-width: 590px) {
	#pliki .download-icon,
	#pliki .downloads .size {display: none;}

	#pliki .downloads a {
		padding: 15px;
	}

	#pliki .downloads .text {
		margin-left: 15px;
	}

	#pliki .downloads strong {
		padding-right: 0;
		font-size: 0.875rem;
	}

	#pliki .downloads a img:not(.download-icon) {
		height: 30px;
	}
}

.card[x-data] {
	cursor: pointer;
	transition: all 200ms;

	&:hover {
		filter: brightness(1.4);
	}
}









/*

			M E D I A
			Q U E R I E S

*/







@media screen and (max-width: 1300px) {
	.tabs-content .card-image {
		margin: 0;
		max-width: 100%;
		height: auto;
		display: block;
	}
}


@media screen and (max-width: 1200px) {
	.tabs-links .btn {
		flex: auto;
		font-size: clamp(.7rem, 1rem, 1.5vw);
	}

	.tabs-content .swiper-button-next:not(.single-slides .swiper-button-next), #recent-posts .swiper-button-next {
		right: -30px;
	}

	.tabs-content .swiper-button-prev:not(.single-slides .swiper-button-prev), #recent-posts .swiper-button-prev {
		left: -30px;
	}

	.card.horizontal {
		align-items: flex-start;
	}
}



@media screen and (max-width: 1022px) {
	.member.card {
		display: flex;
		align-items: center;
	}

	.member.card .card-body {
		text-align: left;
		flex-grow: 1;
		padding: 0 30px 0 0;
	}

	.member.card .card-body .more {
		margin: 10px 0 0 0;
	}

	.member.card .card-image {
		max-width: 30%;
		width: 200px;
		margin-bottom: 0;
	}

	.member.card .card-image img {
		width: 100%;
		aspect-ratio: 1/1;
	}


	#member-full-content {text-align: center;}

	#member-full-content img.circle {
		width: 200px;
		margin-inline: auto;
	}

	.md\:row [class*="md:w"] + [class*="md:w"] {
		margin-top: 30px;
	}

	.w-full > .btn + .btn {margin-top: 1rem;}

	.partnerships-circles .md\:w-2-12 {
		width: 33%;
		max-width: 33%;
		flex-basis: 33%;
		padding: 0 15px;
		margin-top: 30px;
	}

	.tabs-links.col {
		row-gap: 10px;
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}

	.tabs-links.col .btn {
		margin: 0 !important;
	}

	.sub-news .tabs-content .swiper-slide .card {
		text-align: center;
		align-items: center;
		display: flex;
		flex-direction: column;
	}

	.md\:w-9-12.md\:pl-60 {
		padding-left: 0;
	}

	.contact main .absolute {
		position: relative;
		inset: auto;
		padding-bottom: var(--sectionPadding);
	}

	.contact main > iframe {
		width: 100%;
		height: 400px;
		min-height: 300px;
		left: 0;
		right: 0;
	}

	form .md\:row [class*="md:w"] + [class*="md:w"] {
		margin-top: 0;
	}

	.accordion-grid .bg-primary {
		line-height: 1;
		font-size: .75rem;
		display: flex;
		align-items: center;
	}
}



@media screen and (max-width: 799px) {
	.popup-wrap {
		width: 90%;
	}

	.about-us .popup-content {
		max-height: 90vh;
	}

	.tabs-content .swiper-button-next:not(.single-slides .swiper-button-next), #recent-posts .swiper-button-next {
		right: -10px;
	}

	.tabs-content .swiper-button-prev:not(.single-slides .swiper-button-prev), #recent-posts .swiper-button-prev {
		left: -10px;
	}

	.accordion-title {
		line-height: 1.2;
		font-size: .875rem;
	}

	.accordion-grid {
		row-gap: 15px;
		grid-template-columns: repeat(6, 1fr);
	}

	.accordion-grid .bg-primary:first-of-type,
	.accordion-grid .accordion-title {
		grid-column: span 6;
	}

	.accordion-title {
		grid-row: 2;
	}

	.accordion-header:not(.no-content)::after {top: 40px;}

	.accordion-grid .bg-primary.mr-10 {margin-right: 0;}
}




@media screen and (max-width: 760px) {
	.tabs-links {
		gap: 10px;
	}
}



@media screen and (max-width: 638px) {
	.full-header header, .full-header header video {
		height: 400px;
	}

	.tabs-content .swiper-button-prev:not(.single-slides .swiper-button-prev), #recent-posts .swiper-button-prev {
		left: 43%;
		bottom: -40px;
		top: auto;
	}

	.tabs-content .swiper-button-next:not(.single-slides .swiper-button-next), #recent-posts .swiper-button-next {
		right: 43%;
		top: auto;
		bottom: -40px;
	}


	.slogan {
		position: relative;
		z-index: 100;
	}

	.scroll {z-index: 10;}
}



@media screen and (max-width: 599px) {
	.download-icon, .downloads .size {display: none;}

	.downloads a {
		padding: 15px;
	}

	.downloads .text {
		margin-left: 15px;
	}

	.downloads strong {
		padding-right: 0;
		font-size: 0.875rem;
	}

	.downloads a img:not(.download-icon) {
		height: 30px;
	}


	.full-header header, .full-header header video {
		height: 710px;
	}

	.full-header header video {
		object-position: 87% center;
	}

	.partnerships-circles .md\:w-2-12 {
		width: 		50%;
		max-width: 	50%;
		flex-basis: 50%;
		padding: 0 15px;
		margin-top: 30px;
	}

	.member.card .card-image {
		max-width: 40%;
	}

	#publications .card-image {
		margin-right: 1rem;
		padding: 0;
		width: 135px;
	}


	.swiper-events .card.horizontal {
		display: block;
		text-align: center;
	}

	.swiper-events .card.horizontal .card-image {
		margin: 0 auto 1rem;
		display: flex;
		justify-content: center;
	}

	.swiper-events .card.horizontal .card-image,
	.swiper-events .card.horizontal .card-image img {width: auto;}

	.accordion-grid .bg-primary:not(.bg-primary:first-of-type) {
		writing-mode: sideways-lr;
		-webkit-writing-mode: vertical-rl;
		-ms-writing-mode: vertical-rl;
		justify-content: flex-start;
		padding: 10px;
}

	.card.member .card-body {padding-right: 15px;}

	.contact main::before {z-index: 1;}

}




@media screen and (max-width: 435px) {
	.full-header header, .full-header header video {
		height: 575px;
	}

	.full-header header video {
		object-position: 90% center;
	}

	header .btn.alt {
		font-size: .75rem;
	}

	.tabs-content .swiper-button-prev:not(.single-slides .swiper-button-prev), #recent-posts .swiper-button-prev {
		left: 40%;
	}

	.tabs-content .swiper-button-next:not(.single-slides .swiper-button-next), #recent-posts .swiper-button-next {
		right: 40%;
	}
}


@media screen and (max-width: 414px) {
	.full-header header, .full-header header video {
		height: 550px;
	}

	.full-header header video {
		object-position: 90% center;
	}
}


@media screen and (max-width: 375px) {
	.full-header header, .full-header header video {
		height: 545px;
	}

	.full-header header video {
		object-position: 88% center;
	}

	.member.card .card-body {
		padding-right: 15px;
	}

	.card.horizontal {
		display: block;
	}

	.card.horizontal .card-image {margin-right: 0; margin-bottom: 1rem;}
}


@media screen and (max-width: 360px) {
	.full-header header video {
		object-position: 86% center;
	}

	.member.card .more {display: none;}
}



@media screen and (max-height: 660px) and (min-width: 1024px) {
	.slogan, .slogan p {
		font-size: clamp(.875rem, 1.875rem, 3.5vh) !important;
	}
}