:root {
	--peretz-ink: #3a3a3a;
	--peretz-paper: #eef3f5;
	--peretz-line: #8f999d;
	--peretz-white: #fff;
}

html {
	scroll-behavior: smooth;
}

.peretz-selected-projects,
.peretz-projects-archive,
.peretz-single-project {
	color: var(--peretz-ink);
	font-family: "Open Sans", Arial, sans-serif;
}

.peretz-selected-projects {
	background: var(--peretz-white);
	overflow: hidden;
	padding: clamp(38px, 5vw, 74px) 0 clamp(34px, 4vw, 58px);
	width: 100%;
}

.peretz-section-heading,
.peretz-projects-all {
	display: grid;
	grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
	gap: clamp(16px, 2vw, 30px);
	align-items: center;
	margin-inline: clamp(20px, 2vw, 42px);
}

.peretz-section-heading span,
.peretz-projects-all > span {
	border-top: 1px solid var(--peretz-line);
}

.peretz-section-heading h2 {
	font-family: "Open Sans", Arial, sans-serif;
	font-size: clamp(27px, 3vw, 45px);
	font-weight: 400;
	letter-spacing: .01em;
	line-height: 1;
	margin: 0;
	text-align: center;
}

.peretz-projects-slider {
	margin-top: clamp(30px, 3vw, 52px);
	overflow: visible;
	padding-bottom: 54px;
	width: 100%;
}

.peretz-projects-slider .swiper-wrapper {
	align-items: stretch !important;
}

.peretz-projects-slider .peretz-project-slide {
	align-self: stretch !important;
	display: block;
	height: clamp(330px, 42vw, 610px) !important;
	max-width: 820px;
	width: min(72vw, 820px) !important;
}

.peretz-project-slide__link {
	background: #d9dee0;
	display: block;
	height: 100% !important;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.peretz-project-slide__image,
.peretz-project-slide__placeholder {
	display: block;
	height: 100% !important;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition: filter .4s ease, transform .8s ease;
	width: 100% !important;
}

.peretz-project-slide__placeholder,
.peretz-project-card__placeholder {
	background: linear-gradient(135deg, #cad5d9, #eef1f1);
}

.peretz-project-slide__shade {
	background: linear-gradient(180deg, rgba(7, 18, 24, .08), rgba(7, 18, 24, .56));
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity .4s ease;
}

.peretz-project-slide__content {
	align-items: center;
	color: var(--peretz-white);
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 28px;
	pointer-events: none;
	position: absolute;
	text-align: center;
	transform: translateY(14px);
	transition: opacity .4s ease, transform .4s ease;
}

.swiper-slide-active .peretz-project-slide__shade,
.swiper-slide-active .peretz-project-slide__content {
	opacity: 1;
}

.swiper-slide-active .peretz-project-slide__content {
	transform: translateY(0);
}

.swiper-slide-active .peretz-project-slide__image {
	transform: scale(1.02);
}

.peretz-project-slide__logo {
	max-height: 126px;
	max-width: min(65%, 360px);
	object-fit: contain;
	width: auto;
	filter: brightness(0) invert(1);
}

.peretz-project-slide__title {
	font-family: "Open Sans", Arial, sans-serif;
	font-size: clamp(25px, 2.4vw, 38px);
	line-height: 1.1;
	margin-top: 12px;
}

.peretz-button {
	align-items: center;
	border: 1px solid currentColor;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 10px 28px;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.peretz-project-slide__content .peretz-button {
	margin-top: clamp(18px, 3vw, 42px);
}

.peretz-button--light {
	color: var(--peretz-white);
}

.peretz-button--outline {
	background: transparent;
	color: var(--peretz-ink);
}

.peretz-button--primary {
	border-color: var(--peretz-main);
	color: var(--peretz-white);
}

.peretz-button:hover,
.peretz-button:focus-visible {
	background: var(--peretz-ink);
	border-color: var(--peretz-ink);
	color: var(--peretz-white);
}

.peretz-projects-slider .swiper-pagination {
	bottom: 14px;
}

.peretz-projects-slider .swiper-pagination-bullet {
	background: transparent;
	border: 1px solid #526269;
	height: 12px;
	margin: 0 4px !important;
	opacity: 1;
	width: 12px;
}

.peretz-projects-slider .swiper-pagination-bullet-active {
	background: var(--peretz-ink);
}

.peretz-projects-all {
	margin-top: 35px;
}

.peretz-projects-archive {
	padding-top: var(--peretz-header-height);
}

.peretz-projects-archive__heading {
	background: #f6f4ef;
	padding: clamp(36px, 6vw, 90px) 20px;
	text-align: center;
}

.peretz-projects-archive__heading h1 {
	color: var(--peretz-ink);
	font-size: clamp(36px, 5vw, 68px);
	font-weight: 400;
	line-height: 1.15;
	margin: 0;
}

.peretz-projects-filter-section {
	background: #fff;
	border-bottom: 1px solid #d7dfe2;
	padding: 10px clamp(20px, 3vw, 58px);
}

.peretz-projects-filter {
	align-items: center;
	display: flex;
	gap: 22px;
	justify-content: center;
	margin: 0 auto;
	width: 100%;
}

.peretz-projects-filter__select-wrap {
	display: none;
}

.peretz-projects-filter__categories {
	align-items: center;
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: 8px 24px;
}

body .peretz-projects-filter__category {
    background: transparent;
    border: 0;
    border: 1px solid var(--peretz-main);
    border-radius: 0;
    color: #465a64;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    padding: 5px 15px;
}

body .peretz-projects-filter__category:hover,
body .peretz-projects-filter__category:focus-visible,
body .peretz-projects-filter__category.is-active {
    background: var(--peretz-main);
    border-bottom-color: var(--peretz-main);
    color: #fff;
}

.peretz-projects-filter__search {
	align-items: center;
	border: 1px solid #aebbc0;
	display: flex;
	flex: 0 1 300px;
	min-width: 230px;
	overflow: hidden;
}

.peretz-projects-filter__search input[type="search"] {
	background: #fff;
	border: 0;
	box-shadow: none;
	color: var(--peretz-ink);
	font-size: 15px;
	height: 37px;
	min-width: 0;
	outline: 0;
	padding: 8px 14px;
	width: 100%;
}

body .peretz-projects-filter__search button {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--peretz-main);
	display: flex;
	height: 37px;
	justify-content: center;
	padding: 0;
	width: 48px;
}

body .peretz-projects-filter__search button:hover,
body .peretz-projects-filter__search button:focus-visible {
	background: #f4f1e9;
	color: var(--peretz-main-hover);
}

.peretz-projects-filter__search svg {
	fill: currentColor;
	height: 21px;
	width: 21px;
}

.peretz-projects-filter.is-loading,
.peretz-projects-grid[aria-busy="true"] {
	opacity: .58;
	pointer-events: none;
}

.peretz-project-description .peretz-project-description__inner {
	box-sizing: border-box;
	width: min(calc(100% - 40px), 1140px);
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 0;
}

.peretz-project-description .peretz-project-description__inner .peretz-rich-text {
	width: 100%;
	max-width: none;
}

.peretz-page-hero {
	background: var(--peretz-paper);
	padding: clamp(60px, 9vw, 60px) max(24px, calc((100vw - 1240px) / 2));
	text-align: center;
	margin-bottom: 15px;
}

.peretz-page-hero__eyebrow {
	color: var(--peretz-main);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	margin: 0 0 12px;
}

.peretz-page-hero h1,
.peretz-project-section h2 {
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 400;
}

.peretz-page-hero h1 {
	font-size: clamp(38px, 6vw, 58px);
	line-height: 1;
	margin: 0;
}

.peretz-projects-grid {
    display: grid;
    gap: clamp(15px, 3vw, 58px) clamp(15px, 2vw, 15px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    max-width: none;
    padding: clamp(20px, 6vw, 25px) clamp(15px, 3vw, 15px);
    width: 100%;
}

.peretz-project-card__header {
	align-items: baseline;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.peretz-project-card__heading {
	align-items: baseline;
	display: flex;
	flex: 1 1 auto;
	gap: 9px;
	min-width: 0;
	overflow: hidden;
}

.peretz-project-card__title {
	font-size: clamp(15px, 1.35vw, 17px);
	font-weight: 400;
	line-height: 1.25;
	margin: 0;
}

.peretz-project-card__title strong {
	font-weight: 700;
	font-size: clamp(15px, 1.35vw, 21px);
}

.peretz-project-card__categories {
	color: #687b84;
	font-size: 13px;
	line-height: 1.35;
	margin: 0;
}

.peretz-project-card__categories {
	flex: 0 0 auto;
	margin-inline-start: auto;
	max-width: 46%;
	overflow-wrap: anywhere;
	text-align: left;
}

.peretz-project-card__link {
	aspect-ratio: 614 / 666;
	background: #d9dee0;
	display: block;
	overflow: hidden;
	position: relative;
}

.peretz-project-card__image,
.peretz-project-card__placeholder {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .55s ease;
	width: 100%;
}

.peretz-project-card__video {
	inset: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	transition: opacity .3s ease;
}

.peretz-project-card__video iframe {
	border: 0;
	height: 100%;
	left: 50%;
	max-width: none;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 230%;
}

.peretz-project-card__link.is-video-playing .peretz-project-card__video {
	opacity: 1;
}

.peretz-project-card__overlay {
	align-items: center;
	background: rgba(4, 21, 29, .4);
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 28px;
	position: absolute;
	transition: opacity .3s ease;
	z-index: 1;
}

.peretz-project-card__link:hover .peretz-project-card__overlay,
.peretz-project-card__link:focus-visible .peretz-project-card__overlay {
	opacity: 1;
}

.peretz-project-card__link:hover .peretz-project-card__image,
.peretz-project-card__link:focus-visible .peretz-project-card__image {
	transform: scale(1.035);
}

.peretz-project-card__logo-window {
	align-items: center;
	display: flex;
	height: 9.875rem;
	justify-content: center;
	max-width: 100%;
	overflow: hidden;
	width: 18.875rem;
}

.peretz-project-card__logo {
	display: block;
	filter: brightness(0) invert(1);
	height: 9.875rem;
	max-width: 100%;
	-o-object-fit: contain;
	object-fit: contain;
	opacity: 0;
	transform: translateY(-100%);
	transition: opacity .32s ease, transform 1s ease;
	width: 18.875rem;
}

.peretz-project-card__name {
	color: var(--peretz-white);
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 30px;
	opacity: 0;
	text-align: center;
	transform: translateY(-9.875rem);
	transition: opacity .32s ease, transform 1s ease;
}

.peretz-project-card__link:hover .peretz-project-card__logo,
.peretz-project-card__link:focus-visible .peretz-project-card__logo,
.peretz-project-card__link:hover .peretz-project-card__name,
.peretz-project-card__link:focus-visible .peretz-project-card__name {
	opacity: 1;
	transform: translateY(0);
}

.peretz-load-more-wrap {
	min-height: 80px;
	padding: 12px 24px 40px;
	text-align: center;
}

.peretz-load-more-wrap[hidden],
.peretz-load-more[hidden] {
	display: none;
}

.peretz-load-more-wrap.is-loading::before {
	animation: peretz-projects-loading .8s linear infinite;
	border: 3px solid #d6eaf3;
	border-top-color: var(--peretz-main);
	border-radius: 50%;
	content: '';
	display: block;
	height: 28px;
	margin: 0 auto 8px;
	width: 28px;
}

@keyframes peretz-projects-loading {
	to { transform: rotate(360deg); }
}

.peretz-load-more:disabled {
	cursor: wait;
	opacity: .55;
}

.peretz-load-more-status {
	font-size: 18px;
	margin: 10px 0 0;
}

.peretz-projects-empty {
	grid-column: 1 / -1;
	margin: 30px auto;
	text-align: center;
}

.peretz-project-nav {
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid #dde2e4;
	left: 0;
	min-height: var(--peretz-project-nav-height);
	position: fixed;
	right: 0;
	top: var(--peretz-header-height);
	z-index: 900;
}

.admin-bar .peretz-project-nav {
	top: calc(var(--peretz-header-height) + 32px);
}

.peretz-project-nav__inner {
	display: flex;
	gap: clamp(18px, 3vw, 46px);
	justify-content: center;
	margin: 0 auto;
	max-width: none;
	overflow-x: auto;
	padding: 17px 24px;
	scrollbar-width: thin;
}

.peretz-project-nav a {
	color: var(--peretz-ink);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.peretz-project-nav a:hover,
.peretz-project-nav a:focus-visible {
	color: var(--peretz-main);
}

.peretz-project-section {
	background: var(--peretz-white);
	border-top: 1px solid #d8e1e5;
	color: var(--peretz-ink);
	scroll-margin-top: calc(var(--peretz-header-height) + var(--peretz-project-nav-height) + 20px);
}

.peretz-project-hero {
	align-items: flex-end;
	background: #102a35 var(--peretz-project-hero-poster, none) center / cover no-repeat;
	border-top: 0;
	display: flex;
	height: calc(100svh - var(--peretz-header-height) - var(--peretz-project-nav-height));
	min-height: 480px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.peretz-project-hero__media,
.peretz-project-hero__shade {
	inset: 0;
	position: absolute;
}

.peretz-project-hero__media iframe {
	aspect-ratio: 16 / 9;
	border: 0;
	height: calc(100% + 200px) !important;
	left: 50%;
	min-height: calc(56.25vw + 200px) !important;
	min-width: 100%;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: auto !important;
}

.peretz-project-hero__image,
.peretz-project-hero__placeholder {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.peretz-project-hero__placeholder {
	background: linear-gradient(135deg, #254450, #0b1f29);
}

.peretz-project-hero__shade {
	background: linear-gradient(0deg, rgba(3, 15, 20, .88), rgba(3, 15, 20, .25) 35%, transparent 68%);
}

.peretz-project-hero__details {
	align-items: flex-end;
	box-sizing: border-box;
	color: #fff;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	padding: clamp(28px, 4vw, 68px) clamp(22px, 4vw, 72px);
	position: relative;
	width: 98%;
	z-index: 1;
}

.peretz-project-hero__heading {
	min-width: 0;
}

.peretz-project-hero h1 {
	color: inherit;
	font-size: clamp(26px, 4.5vw, 54px);
	font-weight: 400;
	line-height: 1.1;
	margin: 0;
}

.peretz-project-hero__city {
	font-size: clamp(17px, 1.6vw, 24px);
	margin: 10px 0 0;
}

.peretz-project-hero__logo {
	flex: 0 1 auto;
	max-height: 110px;
	max-width: min(34vw, 300px);
	object-fit: contain;
	object-position: left bottom;
	width: auto;
	filter: drop-shadow(1px 1px 0px rgba(255, 255, 255, .6));
}

.peretz-rich-text {
	font-size: 17px;
	line-height: 1.85;
}

.peretz-rich-text > :first-child {
	margin-top: 0;
}

.peretz-rich-text > :last-child {
	margin-bottom: 0;
}

.peretz-project-section__inner {
	box-sizing: border-box;
	margin: 0;
	max-width: none;
	padding: clamp(58px, 7vw, 105px) clamp(22px, 4vw, 72px);
	width: 100%;
}

.peretz-project-section h2 {
	font-size: clamp(34px, 4vw, 58px);
	line-height: 1.1;
	margin: 0 0 clamp(28px, 4vw, 52px);
	text-align: center;
}

.peretz-project-gallery-section__inner {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 1140px;
	width: calc(100% - 40px);
}

.peretz-project-gallery-section__heading,
.peretz-project-location__heading {
	box-sizing: border-box;
	padding: clamp(38px, 5vw, 72px) clamp(22px, 4vw, 72px) clamp(26px, 3vw, 44px);
	text-align: center;
	width: 100%;
}

.peretz-project-gallery-section__heading h2,
.peretz-project-location__heading h2 {
	font-size: clamp(34px, 4vw, 56px);
	margin: 0;
	text-align: center;
}

.peretz-project-gallery-section__heading h2,
.peretz-project-description__inner > h2,
.peretz-project-location__heading h2 {
	align-items: center;
	display: flex;
	font-weight: 500;
	gap: clamp(12px, 2.5vw, 28px);
	justify-content: center;
	letter-spacing: -.03em;
	line-height: 1.2;
}

.peretz-project-gallery-section__heading h2::before,
.peretz-project-gallery-section__heading h2::after,
.peretz-project-description__inner > h2::before,
.peretz-project-description__inner > h2::after,
.peretz-project-location__heading h2::before,
.peretz-project-location__heading h2::after {
	content: '';
	display: block;
	flex: 0 1 clamp(28px, 8vw, 100px);
	height: 1px;
}

.peretz-project-gallery-section__heading h2::before,
.peretz-project-description__inner > h2::before,
.peretz-project-location__heading h2::before {
	background: linear-gradient(to left, var(--peretz-main), #dce8ed);
}

.peretz-project-gallery-section__heading h2::after,
.peretz-project-description__inner > h2::after,
.peretz-project-location__heading h2::after {
	background: linear-gradient(to right, var(--peretz-main), #dce8ed);
}

.peretz-project-description {
	background: #fff;
}

.peretz-project-description__inner {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 1120px;
	padding: clamp(70px, 8vw, 120px) clamp(22px, 5vw, 80px);
}

.peretz-project-description__inner > h2 {
	font-size: clamp(34px, 4vw, 54px);
	margin: 0 0 clamp(32px, 4vw, 54px);
	text-align: center;
}

.peretz-project-description .peretz-rich-text {
	font-size: clamp(16px, 1.3vw, 19px);
	line-height: 1.95;
	max-width: 960px;
	margin-inline: auto;
}

.peretz-project-gallery-slider {
	overflow: hidden;
	width: 100%;
}

.peretz-project-gallery__item {
	aspect-ratio: 16 / 9;
	align-items: center;
	/* background: #f6f4ef; */
	display: flex;
	justify-content: center;
	overflow: hidden;
	width: 100%;
}

.peretz-gallery-controls {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #d8e1e5;
	display: grid;
	gap: 12px;
	grid-template-columns: 40px minmax(100px, 220px) 40px;
	justify-content: center;
	min-height: 76px;
	padding: 12px 16px;
}

.peretz-single-project .peretz-gallery-controls button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--peretz-ink);
	cursor: pointer;
	display: flex;
	font-size: 27px;
	font-weight: 300;
	height: 40px;
	justify-content: center;
	padding: 0;
	transition: color .2s ease, transform .2s ease;
	width: 40px;
}

.peretz-single-project .peretz-gallery-controls button:hover,
.peretz-single-project .peretz-gallery-controls button:focus-visible {
	background: transparent;
	color: var(--peretz-main);
}

.peretz-single-project .peretz-gallery-next:hover,
.peretz-single-project .peretz-gallery-next:focus-visible {
	transform: translateX(3px);
}

.peretz-single-project .peretz-gallery-prev:hover,
.peretz-single-project .peretz-gallery-prev:focus-visible {
	transform: translateX(-3px);
}

.peretz-gallery-pagination {
	position: static !important;
}

.peretz-gallery-pagination .swiper-pagination-bullet {
	background: #8ba5b1;
	border-radius: 4px;
	height: 4px;
	opacity: .55;
	transition: background .2s ease, opacity .2s ease, width .2s ease;
	width: 14px;
}

.peretz-gallery-pagination .swiper-pagination-bullet-active {
	background: var(--peretz-main);
	opacity: 1;
	width: 28px;
}

.peretz-project-gallery__item img {
	height: 100%;
	object-fit: contain;
	transition: opacity .2s ease;
	width: 100%;
}

.peretz-project-gallery__item:hover img,
.peretz-project-gallery__item:focus-visible img {
	opacity: .85;
}

.peretz-project-location {
	background: #fff;
}

.peretz-project-map {
	background: #d8e1e5;
	width: 100%;
}

.peretz-project-map iframe {
	border: 0;
	display: block;
	height: clamp(340px, 55vh, 590px);
	width: 100%;
}

.peretz-single-project > .peretz-contact-section {
	background: hsl(47deg 23% 49% / 20%);
    border-top: 1px solid #d3ccb3;
}

.peretz-lightbox {
	align-items: center;
	background: rgba(0, 0, 0, .91);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 50px;
	position: fixed;
	z-index: 100000;
}

.peretz-lightbox[hidden] {
	display: none;
}

.peretz-lightbox__image {
	max-height: calc(100vh - 80px);
	max-width: calc(100vw - 80px);
	object-fit: contain;
}

.peretz-lightbox__nav {
	align-items: center;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 25px;
	height: 48px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	z-index: 1;
}

.peretz-lightbox__nav:hover,
.peretz-lightbox__nav:focus-visible {
	background: rgba(255, 255, 255, .3);
	color: #fff;
}

.peretz-lightbox__nav[hidden],
.peretz-lightbox__count[hidden] {
	display: none;
}

.peretz-lightbox__prev { left: clamp(12px, 2vw, 36px); }
.peretz-lightbox__next { right: clamp(12px, 2vw, 36px); }

.peretz-lightbox__count {
	bottom: 16px;
	color: #fff;
	direction: ltr;
	font-size: 14px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.peretz-lightbox__close {
	background: transparent !important;
	border: 0;
	color: var(--peretz-white);
	cursor: pointer;
	font-size: 48px;
	line-height: 1;
	padding: 10px;
	position: absolute;
	right: 18px;
	top: 10px;
	box-shadow: none !important;
	outline: none !important;
}

.peretz-lightbox-open {
	overflow: hidden;
}

body .peretz-lightbox__close,
body .peretz-lightbox__close:hover,
body .peretz-lightbox__close:focus {
	background: transparent !important;
	box-shadow: none;
}

@media (max-width: 900px) {
	.peretz-projects-filter {
		align-items: stretch;
		flex-direction: column;
	}

	.peretz-projects-filter__search {
		flex-basis: auto;
		max-width: 100%;
		width: 100%;
	}

	.peretz-projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 767px) {
	.peretz-projects-filter {
		align-items: center;
		flex-direction: row;
		gap: 10px;
	}

	.peretz-projects-filter__categories {
		display: none;
	}

	.peretz-projects-filter__select-wrap {
		display: block;
		flex: 0 1 50%;
		max-width: 180px;
		min-width: 0;
		position: relative;
	}

	.peretz-projects-filter__select-wrap::after {
		border-bottom: 2px solid var(--peretz-main);
		border-left: 2px solid var(--peretz-main);
		content: '';
		height: 7px;
		left: 13px;
		pointer-events: none;
		position: absolute;
		top: 50%;
		transform: translateY(-70%) rotate(-45deg);
		width: 7px;
	}

	.peretz-projects-filter__select {
		appearance: none;
		background: #fff;
		border: 1px solid #aebbc0;
		border-radius: 6px;
		color: var(--peretz-ink);
		font-size: 14px;
		height: 40px;
		padding: 6px 12px 6px 28px;
		text-overflow: ellipsis;
		width: 100%;
	}

	.peretz-projects-filter__search {
		flex: 1 1 0;
		min-width: 0;
	}

	.peretz-projects-filter__search input[type="search"],
	body .peretz-projects-filter__search button {
		height: 40px;
	}

	.peretz-projects-filter__search input[type="search"] {
		font-size: 14px;
		padding-inline: 9px;
	}

	body .peretz-projects-filter__search button {
		flex: 0 0 38px;
		width: 38px;
	}

	.peretz-project-hero {
		height: clamp(380px, 62svh, 480px);
		min-height: 0;
	}

	.peretz-projects-filter-section {
		padding: 14px 12px;
	}

	.admin-bar .peretz-project-nav {
		top: calc(var(--peretz-header-height) + 46px);
	}

	.peretz-section-heading,
	.peretz-projects-all {
		gap: 12px;
		margin-inline: 16px;
	}

	.peretz-projects-slider .peretz-project-slide {
		height: 430px !important;
		width: 86vw !important;
	}

	.peretz-project-slide__content {
		padding: 22px;
	}

	.peretz-project-slide__logo {
		max-height: 90px;
	}

	.peretz-projects-all > span {
		display: none;
	}

	.peretz-projects-all {
		display: flex;
		justify-content: center;
	}

	.peretz-projects-grid {
		gap: 34px;
		grid-template-columns: 1fr;
		padding-inline: 20px;
	}

	.peretz-project-nav__inner {
		justify-content: flex-start;
	}

	.peretz-project-section__inner {
		padding-inline: 22px;
	}

	.peretz-project-hero__details {
		align-items: flex-end;
		gap: 18px;
		padding: 28px 22px;
		width: 90%;
	}

	.peretz-project-hero__logo {
		max-height: 68px;
		max-width: 32vw;
	}

	.peretz-project-gallery__item {
		aspect-ratio: 4 / 3;
	}

	.peretz-project-gallery-section__heading,
	.peretz-project-location__heading {
		padding: 42px 22px 26px;
	}

	.peretz-project-description__inner {
		padding: 66px 22px;
	}

	.peretz-gallery-controls {
		gap: 8px;
		grid-template-columns: 40px minmax(80px, 160px) 40px;
		min-height: 68px;
		padding: 12px;
	}

	.peretz-single-project .peretz-gallery-controls button {
		height: 40px;
		width: 40px;
	}

	.peretz-project-map iframe {
		height: 360px;
	}

	.peretz-lightbox {
		padding: 20px;
	}

	.peretz-lightbox__image {
		max-height: calc(100vh - 40px);
		max-width: calc(100vw - 40px);
	}

	.peretz-lightbox__nav {
		height: 40px;
		width: 40px;
	}
	.peretz-project-card__link {
    	aspect-ratio: 390 / 503;
	}
	.peretz-project-card__logo, .peretz-project-card__name {
		opacity: 1;
    	transform: translateY(0);
	}
	.peretz-project-card__overlay {
    opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.peretz-project-slide__content,
	.peretz-project-slide__image,
	.peretz-project-slide__shade,
	.peretz-project-card__image,
	.peretz-project-card__overlay,
	.peretz-project-card__logo,
	.peretz-project-card__name,
	.peretz-project-gallery__item img {
		transition: none;
	}
}
