html {
	overflow-x: clip;
	scroll-behavior: smooth;
}

.header-studiozet{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

#w-czym-mozemy-pomoc,
#jak-to-robimy,
#mowia-o-nas,
#nasz-zespol,
#kontakt {
	scroll-margin-top: 6rem;
}

.service-grid {
	column-gap: var(--wp--preset--spacing--40, 2rem);
	row-gap: var(--wp--preset--spacing--50, 3rem);
}

.service-item {
	flex-basis: 260px;
	max-width: 320px;
	text-align: center;
}

.service-icon {
	width: 90px;
	height: 90px;
	margin: 0 auto 1rem;
	border: 2px solid currentColor;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
}

.service-label {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}

.how-we-work {
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	text-align: center;
	padding: 4rem 1.5rem;
	min-height: 480px;
}

.how-we-work-title {
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #fff;
	margin: 0 0 0.5rem;
}

.how-we-work-subtitle {
	margin: 0;
}

.how-we-work-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	max-width: 700px;
	margin: 1.5rem auto;
}

.how-we-work-divider span {
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.5);
}

.how-we-work-divider .how-we-work-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	flex: none;
}

.how-we-work-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2.5rem;
}

.how-we-work-tab {
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0;
	&:focus{
		outline: none;
	}
}

.how-we-work-tab .fa {
	font-size: 1.8rem;
	
}

.how-we-work-tab.is-active {
	color: #e63950;
	&:focus{
		outline: none;
	}
}

.how-we-work-panels {
	max-width: 900px;
	margin: 0 auto;
	text-align: left;
}

.how-we-work-panel {
	display: none;
	margin: 0;
}

.how-we-work-panel.is-active {
	display: block;
}

.how-we-work-panel a {
	color: #fff;
	text-decoration: underline;
}

.portfolio-section {
	padding: 4rem 0;
	text-align: center;
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
	overflow-x: clip;
}

.portfolio-section.has-global-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.portfolio-section.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
}

.portfolio-title {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 1.5rem;
	padding: 0 1.5rem;
	box-sizing: border-box;
}

.portfolio-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	max-width: 700px;
	width: calc(100% - 3rem);
	margin: 0 auto 2rem;
	padding: 0;
	box-sizing: border-box;
}

.portfolio-divider span {
	flex: 1;
	height: 1px;
	background: var(--wp--preset--color--contrast-3, #ccc);
}

.portfolio-divider .portfolio-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-blue, #1976d2);
	flex: none;
}

.portfolio-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 2rem;
	padding: 0 1.5rem;
	box-sizing: border-box;
}

.portfolio-filter {
	background: var(--wp--preset--color--base, #f0f0f0);
	border: none;
	color: var(--wp--preset--color--contrast, #111);
	cursor: pointer;
	padding: 0.6rem 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
}

.portfolio-filter.is-active {
	background: var(--wp--preset--color--contrast, #111);
	color: #fff;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(4, 315px);
	justify-content: center;
	gap: 0;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
	overflow: hidden;
}

.portfolio-grid.alignfull {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.portfolio-grid > * {
	margin: 0;
	min-width: 0;
	max-width: 100%;
}

.portfolio-item {
	position: relative;
	overflow: hidden;
	display: none;
	margin: 0 !important;
	width: 315px;
	height: 210px;
	box-sizing: border-box;
}

.portfolio-item.is-visible {
	display: block;
}

.portfolio-item__photo {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	width: 100%;
	height: 100%;
}

.portfolio-item__photo img,
.portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.portfolio-item__overlay {
	position: absolute !important;
	inset: 0;
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 1rem;
	box-sizing: border-box;
	margin: 0 !important;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	pointer-events: none;
	text-align: center;
}

.portfolio-item:hover .portfolio-item__overlay,
.portfolio-item:focus-within .portfolio-item__overlay,
.portfolio-item.is-selected .portfolio-item__overlay,
.portfolio-item.has-child-selected .portfolio-item__overlay,
.portfolio-item__overlay.is-selected,
.portfolio-item__overlay.has-child-selected {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.portfolio-item__title {
	margin: 0 !important;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1.3;
}

.portfolio-item__label {
	margin: 0 !important;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.3;
}

/* Poniżej 4×315 — 2 kolumny fluid, żeby nic nie wychodziło poza ekran */
@media (max-width: 1300px) {
	.portfolio-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: stretch;
	}

	.portfolio-item {
		width: 100%;
		max-width: none;
		height: auto;
		aspect-ratio: 315 / 210;
	}
}

@media (max-width: 680px) {
	.portfolio-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.portfolio-item {
		width: 100%;
		max-width: none;
		height: auto;
		aspect-ratio: 315 / 210;
	}

	.portfolio-item__title {
		font-size: 0.85rem;
	}

	.portfolio-item__label {
		font-size: 0.75rem;
	}
}

.wp-block-embed-youtube,
figure.wp-block-embed.is-provider-youtube,
figure.wp-block-embed-youtube {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	box-sizing: border-box;
	text-align: center;
}

.wp-block-embed-youtube .wp-block-embed__wrapper,
figure.wp-block-embed.is-provider-youtube .wp-block-embed__wrapper,
figure.wp-block-embed-youtube .wp-block-embed__wrapper {
	position: relative;
	width: 100%;
	height: 600px;
	max-width: none;
	padding: 0 !important;
}

.wp-block-embed-youtube .wp-block-embed__wrapper::before,
figure.wp-block-embed.is-provider-youtube .wp-block-embed__wrapper::before,
figure.wp-block-embed-youtube .wp-block-embed__wrapper::before {
	display: none;
	padding-top: 0 !important;
	content: none;
}

.wp-block-embed-youtube iframe,
figure.wp-block-embed.is-provider-youtube iframe,
figure.wp-block-embed-youtube iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 782px) {
	.wp-block-embed-youtube .wp-block-embed__wrapper,
	figure.wp-block-embed.is-provider-youtube .wp-block-embed__wrapper,
	figure.wp-block-embed-youtube .wp-block-embed__wrapper {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

.partners-carousel {
	--partners-gap: 1.25rem;
	--partners-pad-x: 1.5rem;
	background: #1c1c1c;
	padding: 3.5rem 0;
	overflow: hidden;
	box-sizing: border-box;
	width: 100vw;
	position: relative;
	margin-left: 0;
	margin-right: 0;
}

.partners-carousel__viewport {
	overflow: hidden;
	width: 1140px;
	padding: 0 var(--partners-pad-x);
	margin: 0 auto;
	container-type: inline-size;
	container-name: partners;
}

.partners-carousel__track {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: var(--partners-gap);
	width: max-content;
	max-width: none !important;
	margin: 0;
	will-change: transform;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.partners-carousel.is-dragging .partners-carousel__track {
	cursor: grabbing;
}

.partners-carousel__item,
.partners-carousel__track > .wp-block-image {
	box-sizing: border-box;
	flex: 0 0 calc( ( 100cqw - ( 3 * var(--partners-gap) ) ) / 4 );
	width: calc( ( 100cqw - ( 3 * var(--partners-gap) ) ) / 4 );
	max-width: none;
	margin: 0 !important;
	aspect-ratio: 3 / 2;
	display: flex !important;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	pointer-events: none;
}

.partners-carousel__item img,
.partners-carousel__track > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 1.25rem;
	display: block;
	pointer-events: none;
	-webkit-user-drag: none;
}

@media (max-width: 782px) {
	.partners-carousel {
		--partners-gap: 0.75rem;
		--partners-pad-x: 1rem;
		padding: 2.5rem 0;
	}

	.partners-carousel__item,
	.partners-carousel__track > .wp-block-image {
		flex: 0 0 calc( ( 100cqw - var(--partners-gap) ) / 4 );
		width: calc( ( 100cqw - var(--partners-gap) ) / 4 );
	}

	.partners-carousel__item img,
	.partners-carousel__track > .wp-block-image img {
		padding: 0.85rem;
	}
}

.about-slider {
	--about-gap: 1.5rem;
	--about-pad-x: 1.5rem;
	background-color: #1a1a1a;
	background-image: url('../images/seethesound.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	padding: 4rem 0 3rem;
	overflow: hidden;
	box-sizing: border-box;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	position: relative;
	text-align: center;
	box-sizing: border-box;
}

.about-slider__title {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	margin: 0 0 2.5rem;
	padding: 0 var(--about-pad-x);
}

.about-slider__viewport {
	overflow: hidden;
	width: 1120px;
	max-width: 100%;
	padding: 0 var(--about-pad-x) 2.75rem;
	margin: 0 auto;
	box-sizing: border-box;
}

.about-slider__track {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: var(--about-gap);
	width: max-content;
	max-width: none !important;
	margin: 0;
	padding: 0;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	will-change: transform;
}

.about-slider__track.is-animating {
	transition: transform 0.35s ease;
}

.about-slider.is-dragging .about-slider__track {
	cursor: grabbing;
}

.about-slider__card {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	margin: 0 !important;
	background-color: rgba(17,17,17,.8);;
	color: #FFF;
	padding: 2rem 1.75rem 1.75rem;
	text-align: center;
	/* display: flex !important; */
	flex-direction: column;
	justify-content: flex-start;
	gap: 1rem;
	position: relative;
	border-radius: 10px;
}

.about-slider__card::before {
	font-family: FontAwesome;
	content: '\f10d';
	display: block;
	font-size: 1.75rem;
	line-height: 1;
	color: #FFF;
	margin-bottom: 0.25rem;
	text-align: left;
}

.about-slider__text {
	margin: 0;
    font-size: .8em;
    font-weight: 400;
    line-height: 1.538em;
	text-align: left;
}

.about-slider__logo {
	/* margin: 0.5rem 0 0 !important; */
	position: absolute;
	left: 20px;
	bottom: -40px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0;
}

.about-slider__logo img {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 100%;
}

.about-slider__name {
	/* margin: 0 !important; */
	color: #eceff3;
	margin-left: 5px;
    font-style: italic;
    font-size: .857em;
    font-weight: 400;
    letter-spacing: .083em;
	position: absolute;
	bottom: -35px;
	left: 80px;
}

.about-slider__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
	padding: 0 var(--about-pad-x);
}

.about-slider__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.about-slider__dot.is-active {
	background: #fff;
	border-color: #fff;
}

@media (max-width: 782px) {
	.about-slider {
		--about-gap: 0.85rem;
		--about-pad-x: 1rem;
		padding: 3rem 0 2.25rem;
	}

	.about-slider__card {
		padding: 1.5rem 1.1rem 1.25rem;
	}

	.about-slider__text {
		font-size: 0.88rem;
	}
}

.team-slider {
	--team-gap: 1.25rem;
	--team-pad-x: 1.5rem;
	padding: 4rem 0 3rem;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: center;
}

.team-slider__title {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 1rem;
	padding: 0 var(--team-pad-x);
}

.team-slider__intro {
	max-width: 720px;
	margin: 0 auto 1.5rem !important;
	padding: 0 var(--team-pad-x);
	color: #666;
	font-size: 0.95rem;
	line-height: 1.6;
}

.team-slider__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	max-width: 280px;
	margin: 0 auto 2.5rem;
	padding: 0 var(--team-pad-x);
}

.team-slider__divider span {
	flex: 1;
	height: 2px;
	background: var(--wp--preset--color--accent-blue, #1976d2);
}

.team-slider__divider .team-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 0;
	background: var(--wp--preset--color--accent-blue, #1976d2);
	flex: none;
}

.team-slider__viewport {
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	padding: 0 var(--team-pad-x);
	margin: 0;
	box-sizing: border-box;
}

.team-slider__track {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: var(--team-gap);
	width:1140px;
	max-width: none !important;
	margin: 0 auto;
	padding: 0;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	will-change: transform;
}

.team-slider__track.is-animating {
	transition: transform 0.35s ease;
}

.team-slider.is-dragging .team-slider__track {
	cursor: grabbing;
}

.team-slider__card {
	box-sizing: border-box;
	flex: 0 0 200px;
	width: 200px;
	max-width: 200px;
	margin: 0 !important;
	position: relative;
	overflow: visible;
	background: transparent;
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
	gap: 0;
}

.team-slider__media {
	position: relative !important;
	width: 100%;
	overflow: hidden;
	margin: 0 !important;
	background: #111;
}

.team-slider__photo {
	margin: 0 !important;
	width: 100%;
	display: block;
	pointer-events: none;
}

.team-slider__photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
	vertical-align: middle;
	pointer-events: none;
	-webkit-user-drag: none;
	user-drag: none;
	filter: grayscale(1);
}

.team-slider__overlay {
	position: absolute !important;
	top: 0;
	inset: 0;
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 0;
	box-sizing: border-box;
	background: rgba(20, 20, 20, 0.72);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	pointer-events: none;
	text-align: center;
	margin-block-start: 0;
	margin-block-end: 0;
}

.team-slider__card:hover .team-slider__overlay,
.team-slider__card:focus-within .team-slider__overlay,
.team-slider__card.is-open .team-slider__overlay,
.team-slider__card.is-selected .team-slider__overlay,
.team-slider__card.has-child-selected .team-slider__overlay,
.team-slider__media.is-selected .team-slider__overlay,
.team-slider__media.has-child-selected .team-slider__overlay,
.team-slider__overlay.is-selected,
.team-slider__overlay.has-child-selected {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.team-slider__name {
	margin: 0.85rem 0 0.25rem !important;
	color: #1a1a2e;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

.team-slider__phone {
	margin: 0 !important;
	font-size: 0.9rem;
	line-height: 1.4;
}

.team-slider__phone a {
	color: var(--wp--preset--color--accent-blue, #1976d2);
	text-decoration: none;
}

.team-slider__phone a:hover {
	text-decoration: underline;
}

.team-slider__bio {
	margin: 0 !important;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9rem;
	line-height: 1.5;
}

.team-slider__bio a {
	color: #fff;
	text-decoration: underline;
}

.team-slider__social {
	margin: 0.5rem 0 0 !important;
}

.team-slider__fb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	font-size: 0;
	line-height: 0;
}

.team-slider__fb::before {
	font-family: FontAwesome;
	content: '\f09a';
	font-size: 1rem;
	line-height: 1;
	speak: none;
}

.team-slider__fb:hover {
	background: #fff;
	color: #1877f2;
}

/* W edytorze widać tekst „Facebook”, żeby dało się kliknąć link */
.editor-styles-wrapper .team-slider__fb,
.block-editor-block-list__layout .team-slider__fb {
	font-size: 0.75rem;
	width: auto;
	height: auto;
	min-height: 2.25rem;
	padding: 0.35rem 0.75rem;
	gap: 0.35rem;
}

.editor-styles-wrapper .team-slider__fb::before,
.block-editor-block-list__layout .team-slider__fb::before {
	font-size: 0.9rem;
}

.team-slider__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
	padding: 0 var(--team-pad-x);
}

.team-slider__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 1px solid #333;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.team-slider__dot.is-active {
	background: #333;
	border-color: #333;
}

@media (max-width: 782px) {
	.team-slider {
		--team-gap: 0.75rem;
		--team-pad-x: 1rem;
		padding: 3rem 0 2.25rem;
	}
}

.contact-section {
	/* --contact-v: 48px; */
	background: #1a1a1a;
	
	color: #fff;
	text-align: center;
	padding: 90px 0;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	text-align:center;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	/* clip-path: polygon(0 var(--contact-v), 50% 0, 100% var(--contact-v), 100% 100%, 0 100%); */
}

.contact-section__title {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	margin: 0 0 2rem !important;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	line-height: 1.25;
}

.contact-section__title-accent {
	color: var(--wp--preset--color--accent-blue, #7eb6d9);
}

.contact-section__line {
	margin: 0 0 0.65rem !important;
	color: #fff;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.contact-section__line a {
	color: #fff;
	text-decoration: none;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.contact-section__line a:hover {
	text-decoration: underline;
}

.contact-section__line strong {
	font-weight: 700;
	margin-right: 0.35rem;
}

.contact-section__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 220px;
	max-width: 100%;
	margin: 2.25rem auto 0;
}

.contact-section__divider span {
	flex: 1 1 auto;
	min-width: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.85);
}

.contact-section__divider .contact-section__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	flex: 0 0 auto;
}

.studiozet-main-nav .studiozet-nav-kontakt > .wp-block-navigation-item__content,
.studiozet-main-nav .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
	border: 1px solid currentColor;
	padding: 0.35rem 0.85rem;
	display: inline-block;
}

@media (max-width: 782px) {
	.contact-section {
		--contact-v: 32px;
		padding: calc(3rem + var(--contact-v)) 1rem 2.5rem;
	}

	.contact-section__line {
		font-size: 0.82rem;
	}
}
