.is-gallery-page {
	--is-dark: #1c1a18;
	--is-paper: #f3efe8;
	--is-panel: #fff;
	--is-text: #292725;
	--is-muted: #918980;
	--is-gold: #b58c63;
	--is-gold-2: #d8be9e;
	margin: 0;
	background: var(--is-paper);
	color: var(--is-text);
	font-family: "Manrope", Arial, sans-serif;
	letter-spacing: 0;
	overflow-x: hidden;
}

html:has(.is-gallery-page),
body:has(.is-gallery-page) {
	max-width: 100%;
	overflow-x: hidden;
}

.is-gallery-route .is-nav a[data-page="home"].is-active::after,
body:has(.is-gallery-page) .is-nav a[data-page="home"].is-active::after,
.is-gallery-route .is-mobile-nav a[data-page="home"].is-active::before,
body:has(.is-gallery-page) .is-mobile-nav a[data-page="home"].is-active::before {
	content: none !important;
	display: none !important;
}

.is-gallery-route .is-mobile-nav a[data-page="home"].is-active,
body:has(.is-gallery-page) .is-mobile-nav a[data-page="home"].is-active {
	color: #c8c0b7;
}

.is-gallery-page *,
.is-gallery-page *::before,
.is-gallery-page *::after {
	box-sizing: border-box;
}

.is-gallery-page a {
	color: inherit;
	text-decoration: none;
}

.is-gallery-page img {
	max-width: 100%;
}

.is-gallery-inner {
	width: min(1280px, calc(100vw - 160px));
	margin: 0 auto;
}

.is-gallery-hero {
	padding: 78px 0 48px;
	background: var(--is-paper);
}

.is-gallery-kicker {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 24px;
	color: var(--is-gold);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.is-gallery-kicker::before {
	content: "";
	width: 34px;
	height: 1px;
	background: currentColor;
	opacity: 0.58;
}

.is-gallery-title {
	max-width: 760px;
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 58px;
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: 0;
	color: var(--is-text);
}

.is-gallery-lead {
	max-width: 620px;
	margin: 22px 0 0;
	color: var(--is-muted);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.45;
}

.is-gallery-content {
	padding: 28px 0 120px;
	background: var(--is-paper);
}

.is-gallery-toolbar {
	margin: 0 0 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.is-gallery-toolbar p {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #6f6258;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}

.is-gallery-toolbar p span {
	width: 11px;
	height: 11px;
	display: inline-block;
	border: 3px solid rgba(181, 140, 99, 0.32);
	border-radius: 50%;
	background: var(--is-gold);
	box-shadow: 0 0 0 5px rgba(181, 140, 99, 0.09);
}

.is-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 38px 48px;
}

.is-gallery-grid--count-1 {
	max-width: none;
	margin-inline: 0;
}

.is-gallery-grid--count-2 {
	max-width: none;
	margin-inline: 0;
}

.is-gallery-project-card {
	display: block;
	overflow: hidden;
	position: relative;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(181, 140, 99, 0.24);
	border-radius: 7px;
	box-shadow: 0 12px 28px rgba(47, 42, 37, 0.06);
}

.is-gallery-project-card:focus-visible {
	outline: 2px solid var(--is-gold-2);
	outline-offset: 4px;
}

.is-gallery-project-media {
	height: 210px;
	display: grid;
	place-items: center;
	overflow: hidden;
	position: relative;
	background:
		linear-gradient(135deg, rgba(238, 224, 207, 0.94), rgba(247, 240, 232, 0.96)),
		var(--is-pattern-url) center / 190px auto repeat,
		#eadfce;
	border-bottom: 1px solid rgba(181, 140, 99, 0.15);
}

.is-gallery-project-media.has-image {
	display: block;
	background: #eadfce;
}

.is-gallery-project-media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.is-gallery-project-media span {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(181, 140, 99, 0.32);
	border-radius: 50%;
	color: var(--is-gold);
	font-size: 13px;
	font-weight: 900;
}

.is-gallery-project-media small {
	position: absolute;
	right: 12px;
	top: 12px;
	min-height: 26px;
	display: inline-flex;
	align-items: center;
	padding: 0 10px;
	border: 1px solid rgba(216, 190, 158, 0.28);
	border-radius: 999px;
	background: rgba(28, 26, 24, 0.72);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	backdrop-filter: blur(8px);
}

.is-gallery-project-body {
	padding: 20px 20px 18px;
}

.is-gallery-project-body h2 {
	margin: 0;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
}

.is-gallery-project-body p {
	margin: 10px 0 0;
	color: #776e65;
	font-size: 13px;
	line-height: 1.55;
}

.is-gallery-project-meta {
	margin-top: 18px;
	padding-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid rgba(181, 140, 99, 0.14);
	color: #766d64;
	font-size: 12px;
	font-weight: 800;
}

.is-gallery-project-meta span:last-child {
	color: #5d5046;
}

.is-gallery-project-meta span:last-child::after,
.is-gallery-empty a::after {
	content: "\2192";
	margin-left: 8px;
	color: var(--is-gold);
}

.is-gallery-empty {
	min-height: 320px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(181, 140, 99, 0.18);
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.56);
	text-align: center;
}

.is-gallery-empty h2 {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 32px;
	line-height: 1.08;
}

.is-gallery-empty p {
	max-width: 430px;
	margin: 12px auto 0;
	color: #776e65;
	font-size: 14px;
	line-height: 1.62;
}

.is-gallery-empty a {
	margin-top: 20px;
	display: inline-flex;
	align-items: center;
	color: #5f554d;
	font-size: 13px;
	font-weight: 900;
}

.is-gallery-pagination {
	margin-top: 64px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.is-gallery-page-number {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(181, 140, 99, 0.34);
	border-radius: 5px;
	background: #fff;
	color: #6a5f56;
	font-size: 13px;
	font-weight: 800;
}

.is-gallery-page-number.is-active,
.is-gallery-page-number:hover {
	background: var(--is-gold);
	border-color: var(--is-gold);
	color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
	.is-gallery-project-card,
	.is-gallery-page-number {
		transition:
			transform 0.22s ease,
			box-shadow 0.22s ease,
			border-color 0.22s ease,
			background-color 0.22s ease;
	}

	.is-gallery-project-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 18px 40px rgba(47, 42, 37, 0.1);
	}

	.is-gallery-project-card:hover .is-gallery-project-media img {
		transform: scale(1.045);
	}
}

.is-gallery-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 48px;
	color: #a49b92;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
}

.is-gallery-breadcrumb a:hover {
	color: var(--is-gold);
}

.is-project-detail-hero {
	padding: 50px 0 34px;
	background: var(--is-paper);
}

.is-project-detail-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 32px;
}

.is-gallery-detail-page .is-gallery-title {
	max-width: 980px;
}

.is-gallery-back {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	border: 1px solid rgba(181, 140, 99, 0.38);
	border-radius: 6px;
	background: rgba(181, 140, 99, 0.1);
	color: #6e4f37;
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		transform 0.18s ease;
}

.is-gallery-back::before {
	content: "\2190";
	margin-right: 8px;
	color: var(--is-gold);
}

.is-gallery-back:hover,
.is-gallery-back:focus-visible {
	border-color: var(--is-gold);
	background: rgba(181, 140, 99, 0.16);
}

.is-project-photo-summary {
	margin-top: 26px;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(181, 140, 99, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.74);
	box-shadow: 0 12px 28px rgba(47, 42, 37, 0.04);
}

.is-project-photo-summary span {
	display: inline-grid;
	place-items: center;
	min-width: 66px;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--is-gold);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
}

.is-project-photo-summary small {
	color: #7c7269;
	font-size: 12px;
	font-weight: 800;
}

.is-project-detail-content {
	padding: 24px 0 124px;
	background:
		linear-gradient(rgba(243, 239, 232, 0.92), rgba(243, 239, 232, 0.98)),
		var(--is-pattern-url) left top / 260px auto repeat,
		var(--is-paper);
}

.is-project-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.is-project-photo {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1.28 / 1;
	border: 1px solid rgba(181, 140, 99, 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.64);
	box-shadow: 0 18px 44px rgba(47, 42, 37, 0.07);
}

.is-project-photo.is-featured {
	grid-column: 1 / -1;
	aspect-ratio: 1.9 / 1;
}

.is-project-photo:only-child {
	grid-column: 1 / -1;
	aspect-ratio: 1.75 / 1;
}

.is-project-photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.36s ease, filter 0.36s ease;
}

.is-project-photo::after {
	content: "Otvori\0165";
	position: absolute;
	right: 14px;
	top: 14px;
	min-height: 30px;
	display: inline-flex;
	align-items: center;
	padding: 0 11px;
	border: 1px solid rgba(216, 190, 158, 0.28);
	border-radius: 999px;
	background: rgba(28, 26, 24, 0.72);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	backdrop-filter: blur(8px);
}

.is-project-photo span {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	padding: 10px 12px;
	border: 1px solid rgba(216, 190, 158, 0.26);
	border-radius: 999px;
	background: rgba(28, 26, 24, 0.72);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	backdrop-filter: blur(8px);
}

.is-project-photo:focus-visible {
	outline: 2px solid var(--is-gold-2);
	outline-offset: 4px;
}

.is-project-empty {
	min-height: 420px;
}

.is-gallery-lightbox[hidden] {
	display: none !important;
}

html.is-gallery-lightbox-open,
body.is-gallery-lightbox-open {
	overflow: hidden !important;
}

.is-gallery-lightbox {
	position: fixed;
	z-index: 3000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 34px;
}

.is-gallery-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(28, 26, 24, 0.84);
	backdrop-filter: blur(10px);
}

.is-gallery-lightbox-dialog {
	position: relative;
	width: min(1240px, calc(100vw - 80px));
	max-height: calc(100vh - 68px);
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) 54px;
	align-items: center;
	gap: 16px;
}

.is-gallery-lightbox.is-single-photo .is-gallery-lightbox-dialog {
	grid-template-columns: minmax(0, 1fr);
	width: min(1040px, 100%);
}

.is-gallery-lightbox-dialog figure {
	grid-column: 2;
	margin: 0;
	min-width: 0;
	display: grid;
	gap: 14px;
}

.is-gallery-lightbox.is-single-photo .is-gallery-lightbox-dialog figure {
	grid-column: 1 / -1;
}

.is-gallery-lightbox-dialog img {
	width: 100%;
	max-height: calc(100vh - 134px);
	display: block;
	object-fit: contain;
	border: 1px solid rgba(216, 190, 158, 0.18);
	border-radius: 8px;
	background: #151312;
	box-shadow: 0 28px 88px rgba(0, 0, 0, 0.34);
}

.is-gallery-lightbox-dialog figcaption {
	justify-self: center;
	max-width: 720px;
	color: rgba(243, 239, 232, 0.84);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
}

.is-gallery-lightbox-close,
.is-gallery-lightbox-nav {
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(216, 190, 158, 0.46) !important;
	-webkit-appearance: none;
	appearance: none;
	background: #6e4f37 !important;
	background-color: #6e4f37 !important;
	background-image: none !important;
	color: #f3efe8 !important;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22) !important;
	cursor: pointer;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		transform 0.18s ease;
}

.is-gallery-lightbox-close {
	position: fixed !important;
	top: 28px;
	right: 28px;
	width: 52px !important;
	height: 52px !important;
	z-index: 2;
	display: grid !important;
	place-items: center;
	border-radius: 7px;
	font-size: 27px;
	line-height: 1;
}

.is-gallery-lightbox-nav {
	width: 54px !important;
	height: 54px !important;
	display: grid !important;
	place-items: center;
	border-radius: 7px;
	font-size: 34px;
	line-height: 1;
}

.is-gallery-lightbox-nav.is-prev {
	grid-column: 1;
}

.is-gallery-lightbox-nav.is-next {
	grid-column: 3;
}

.is-gallery-lightbox-close:hover,
.is-gallery-lightbox-close:focus-visible,
.is-gallery-lightbox-close:active,
.is-gallery-lightbox-nav:hover,
.is-gallery-lightbox-nav:focus-visible,
.is-gallery-lightbox-nav:active {
	border-color: #d8be9e !important;
	background: #b58c63 !important;
	background-color: #b58c63 !important;
	background-image: none !important;
	color: #fff !important;
	outline: none;
}

.is-gallery-lightbox-nav[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
	.is-project-photo {
		transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	}

	.is-project-photo:hover {
		transform: translateY(-3px);
		border-color: rgba(181, 140, 99, 0.42);
		box-shadow: 0 24px 58px rgba(47, 42, 37, 0.11);
	}

	.is-project-photo:hover img {
		transform: scale(1.035);
		filter: saturate(1.03);
	}

	.is-project-photo:hover::after {
		opacity: 1;
		transform: translateY(0);
	}

	.is-gallery-back:hover {
		transform: translateY(-1px);
	}
}

@media (max-width: 1180px) {
	.is-gallery-inner {
		width: min(100% - 64px, 1040px);
	}

	.is-gallery-grid {
		gap: 28px;
	}
}

@media (max-width: 900px) {
	.is-gallery-title {
		font-size: 46px;
	}

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

	.is-gallery-grid--count-1,
	.is-gallery-grid--count-2 {
		max-width: none;
	}

	.is-project-detail-head {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 24px;
	}

	.is-project-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.is-project-photo,
	.is-project-photo.is-featured {
		grid-column: span 1;
		grid-row: auto;
		aspect-ratio: 1.2 / 1;
	}

	.is-project-photo.is-featured {
		grid-column: 1 / -1;
		aspect-ratio: 1.55 / 1;
	}

	.is-gallery-lightbox {
		padding: 22px;
	}

	.is-gallery-lightbox-dialog {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 10px;
	}

	.is-gallery-lightbox-nav {
		width: 44px;
		height: 44px;
		font-size: 29px;
	}
}

@media (max-width: 640px) {
	.is-gallery-inner {
		width: calc(100% - 40px);
	}

	.is-gallery-hero {
		padding: 62px 0 36px;
	}

	.is-gallery-title {
		font-size: 34px;
		line-height: 1.03;
	}

	.is-gallery-lead {
		font-size: 15px;
	}

	.is-gallery-toolbar {
		margin-bottom: 22px;
	}

	.is-gallery-toolbar p {
		font-size: 13px;
	}

	.is-gallery-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.is-gallery-project-media {
		height: 180px;
	}

	.is-gallery-project-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.is-gallery-breadcrumb {
		margin-bottom: 34px;
		font-size: 11px;
	}

	.is-project-detail-head {
		gap: 20px;
	}

	.is-gallery-back {
		width: 100%;
	}

	.is-project-photo-summary {
		width: 100%;
		align-items: flex-start;
		border-radius: 8px;
	}

	.is-project-detail-hero {
		padding: 38px 0 28px;
	}

	.is-project-detail-content {
		padding: 12px 0 78px;
		background-size: 190px auto;
	}

	.is-project-photo-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.is-project-photo,
	.is-project-photo.is-featured,
	.is-project-photo:only-child {
		grid-column: auto;
		aspect-ratio: 1.08 / 1;
		border-radius: 7px;
	}

	.is-project-photo span {
		left: 10px;
		right: 10px;
		bottom: 10px;
		border-radius: 7px;
	}

	.is-project-photo::after {
		opacity: 1;
		transform: none;
	}

	.is-gallery-lightbox {
		padding: 14px;
	}

	.is-gallery-lightbox-dialog {
		width: 100%;
		max-height: calc(100vh - 28px);
		display: block;
	}

	.is-gallery-lightbox-dialog figure {
		min-height: calc(100vh - 28px);
		align-content: center;
	}

	.is-gallery-lightbox-dialog img {
		max-height: calc(100vh - 124px);
	}

	.is-gallery-lightbox-close {
		top: 14px;
		right: 14px;
	}

	.is-gallery-lightbox-nav {
		position: absolute;
		top: 50%;
		z-index: 2;
		transform: translateY(-50%);
		background: rgba(28, 26, 24, 0.64);
	}

	.is-gallery-lightbox-nav.is-prev {
		left: 8px;
	}

	.is-gallery-lightbox-nav.is-next {
		right: 8px;
	}
}
