.klonea-gallery-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: #20211e;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.klonea-gallery-link:hover,
.klonea-gallery-link:focus {
	background: #f7f5ef;
	color: #20211e;
	transform: translateY(-2px);
}

.klonea-gallery-editor-note {
	padding: 16px 18px;
	border: 1px dashed #c9c5bb;
	background: #fbfaf7;
	color: #5e5b54;
	font-size: 13px;
}

.klonea-gallery-preview {
	width: 100%;
	padding: 0;
}

.klonea-gallery-preview__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 28px;
}

.klonea-gallery-preview__title {
	margin: 0;
	color: #20211e;
	font-family: var(--heading-font, inherit);
	font-size: clamp(30px, 3vw, 48px);
	font-weight: 400;
	line-height: 1.08;
}

.klonea-gallery-preview__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(180px, 1fr));
	min-height: 600px;
	overflow: hidden;
}

.klonea-gallery-preview__item {
	position: relative;
	display: block;
	min-height: 0;
	overflow: hidden;
	background: #eeeae2;
}

.klonea-gallery-preview__item--1 {
	grid-column: span 2;
	grid-row: span 2;
}

.klonea-gallery-preview__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.klonea-gallery-preview__item:hover img,
.klonea-gallery-preview__item:focus img {
	transform: scale(1.035);
}

.klonea-gallery-preview__grid--1 .klonea-gallery-preview__item--1,
.klonea-gallery-preview__grid--2 .klonea-gallery-preview__item--1,
.klonea-gallery-preview__grid--3 .klonea-gallery-preview__item--1 {
	grid-column: span 3;
}

.klonea-gallery-preview__more {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	margin-top: 22px;
	padding-bottom: 6px;
	border-bottom: 1px solid currentColor;
	color: #20211e;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.klonea-gallery-preview__more span {
	font-size: 19px;
	font-weight: 300;
	transition: transform 180ms ease;
}

.klonea-gallery-preview__more:hover span,
.klonea-gallery-preview__more:focus span {
	transform: translateX(5px);
}

body.klonea-full-gallery-page {
	margin: 0;
	background: #fff;
	color: #20211e;
}

.klonea-full-gallery {
	display: grid;
	grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
	min-height: 100vh;
}

.klonea-full-gallery__sidebar {
	position: sticky;
	top: 0;
	align-self: start;
	height: 100vh;
	padding: 42px 44px;
	border-right: 1px solid #e6e3dc;
	background: #fbfaf7;
	overflow-y: auto;
}

.klonea-full-gallery__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 70px;
	color: #20211e;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.klonea-full-gallery__back span {
	font-size: 22px;
	font-weight: 300;
}

.klonea-full-gallery__eyebrow {
	margin: 0 0 13px;
	color: #77736b;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.klonea-full-gallery__sidebar h1 {
	margin: 0;
	font-family: var(--heading-font, inherit);
	font-size: clamp(34px, 3vw, 54px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.03;
}

.klonea-full-gallery__location {
	margin: 18px 0 42px;
	color: #747169;
	font-size: 14px;
}

.klonea-full-gallery__nav {
	display: flex;
	flex-direction: column;
	border-top: 1px solid #dedbd3;
}

.klonea-full-gallery__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 15px 0;
	border-bottom: 1px solid #dedbd3;
	color: #20211e;
	font-size: 14px;
	text-decoration: none;
}

.klonea-full-gallery__nav small {
	color: #8b887f;
}

.klonea-full-gallery__content {
	min-width: 0;
	padding: 70px clamp(28px, 5vw, 88px) 110px;
}

.klonea-full-gallery__section {
	margin: 0 0 96px;
	scroll-margin-top: 36px;
}

.klonea-full-gallery__section h2 {
	margin: 0 0 28px;
	font-family: var(--heading-font, inherit);
	font-size: clamp(27px, 2.4vw, 42px);
	font-weight: 400;
	line-height: 1.1;
}

.klonea-full-gallery__images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.klonea-full-gallery__image {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: #eeeae2;
}

.klonea-full-gallery__image--1,
.klonea-full-gallery__image--5 {
	grid-column: 1 / -1;
}

.klonea-full-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
}

.klonea-full-gallery__close {
	position: fixed;
	top: 25px;
	right: 28px;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(32, 33, 30, 0.15);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 8px 24px rgba(20, 24, 18, 0.08);
	color: #20211e;
	font-size: 31px;
	font-weight: 200;
	line-height: 1;
	text-decoration: none;
}

.klonea-full-gallery__empty {
	padding: 18vh 10%;
	text-align: center;
}

.klonea-full-gallery__empty h2 {
	font-family: var(--heading-font, inherit);
	font-size: 42px;
	font-weight: 400;
}

@media (max-width: 1024px) {
	.klonea-gallery-preview__grid {
		min-height: 480px;
	}

	.klonea-full-gallery {
		grid-template-columns: 280px minmax(0, 1fr);
	}

	.klonea-full-gallery__sidebar {
		padding: 34px 28px;
	}

	.klonea-full-gallery__content {
		padding-right: 28px;
		padding-left: 28px;
	}
}

@media (max-width: 767px) {
	.klonea-gallery-preview__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 280px repeat(2, 150px);
		min-height: 0;
	}

	.klonea-gallery-preview__item--1,
	.klonea-gallery-preview__grid--1 .klonea-gallery-preview__item--1,
	.klonea-gallery-preview__grid--2 .klonea-gallery-preview__item--1,
	.klonea-gallery-preview__grid--3 .klonea-gallery-preview__item--1 {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.klonea-full-gallery {
		display: block;
	}

	.klonea-full-gallery__sidebar {
		position: relative;
		height: auto;
		padding: 28px 22px 32px;
		border-right: 0;
		border-bottom: 1px solid #e6e3dc;
	}

	.klonea-full-gallery__back {
		margin-bottom: 40px;
	}

	.klonea-full-gallery__nav {
		display: none;
	}

	.klonea-full-gallery__content {
		padding: 42px 16px 70px;
	}

	.klonea-full-gallery__section {
		margin-bottom: 60px;
	}

	.klonea-full-gallery__images {
		display: block;
	}

	.klonea-full-gallery__image {
		margin-bottom: 10px;
	}

	.klonea-full-gallery__close {
		top: 15px;
		right: 15px;
		width: 42px;
		height: 42px;
	}
}
