/*
 * KINETIC Listing Engine - public styles.
 *
 * Everything is scoped to .kle. The brand colour arrives as two custom
 * properties set from the plugin settings: --kle-brand and --kle-on-brand.
 *
 * Declarations that themes commonly restyle (headings, links, form controls,
 * tables) are marked !important so the listings look the same in any theme.
 */

.kle {
	--kle-brand: #1F4D43;
	--kle-on-brand: #FFFFFF;
	--kle-ink: #16191D;
	--kle-muted: #5B626B;
	--kle-line: #E4E7EA;
	--kle-line-strong: #C9CED4;
	--kle-fill: #ECEEEF;
	--kle-error: #A4262C;
	--kle-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	font-family: var(--kle-font) !important;
	font-size: 15px;
	line-height: 1.5;
	color: var(--kle-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.kle *,
.kle *::before,
.kle *::after {
	box-sizing: border-box;
}

.kle-page {
	max-width: 1248px;
	margin: 0 auto;
	padding: 40px 24px 96px;
}

/* ---------------------------------------------------------------------
 * Type helpers
 * ------------------------------------------------------------------- */

.kle .kle-caps {
	font-family: var(--kle-font) !important;
	font-size: 11px !important;
	font-weight: 500;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	line-height: 1.4 !important;
}

.kle .kle-muted {
	color: var(--kle-muted) !important;
}

.kle .kle-small {
	font-size: 13px;
}

.kle .kle-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.kle p,
.kle dl,
.kle dt,
.kle dd,
.kle ul,
.kle li,
.kle figure {
	font-family: var(--kle-font) !important;
}

.kle a {
	color: var(--kle-ink) !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: opacity 0.15s ease;
}

.kle a:hover {
	opacity: 0.65;
}

.kle .kle-link {
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px !important;
}

.kle a:focus-visible,
.kle button:focus-visible,
.kle select:focus-visible,
.kle input:focus-visible,
.kle textarea:focus-visible {
	outline: 2px solid var(--kle-ink) !important;
	outline-offset: 2px !important;
}

.kle img {
	max-width: 100%;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.kle .kle-icon {
	flex: 0 0 auto;
	display: block;
}

/* ---------------------------------------------------------------------
 * Buttons and form controls
 * ------------------------------------------------------------------- */

.kle .kle-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px !important;
	height: 44px !important;
	width: auto;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid var(--kle-line-strong) !important;
	border-radius: 0 !important;
	background: #FFFFFF !important;
	box-shadow: none !important;
	color: var(--kle-ink) !important;
	font-family: var(--kle-font) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color 0.15s ease, opacity 0.15s ease;
}

.kle .kle-btn:hover {
	border-color: var(--kle-ink) !important;
	opacity: 1;
}

.kle .kle-btn--primary {
	height: 48px !important;
	padding: 0 26px !important;
	border-color: var(--kle-brand) !important;
	background: var(--kle-brand) !important;
	color: var(--kle-on-brand) !important;
	font-weight: 600 !important;
	letter-spacing: 0.16em !important;
}

.kle .kle-search .kle-btn--primary {
	flex: 0 0 auto;
}

.kle .kle-btn--primary:hover {
	border-color: var(--kle-brand) !important;
	opacity: 0.88;
}

.kle .kle-btn--block {
	width: 100% !important;
}

.kle .kle-btn[disabled] {
	opacity: 0.55;
	cursor: default;
}

.kle select.kle-select {
	-webkit-appearance: none !important;
	appearance: none !important;
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	max-width: 100%;
	min-height: 0 !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 36px 0 14px !important;
	border: 1px solid var(--kle-line-strong) !important;
	border-radius: 0 !important;
	background-color: #FFFFFF !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%2316191D' stroke-width='1.4'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 10px 6px !important;
	box-shadow: none !important;
	color: var(--kle-ink) !important;
	font-family: var(--kle-font) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	cursor: pointer;
}

.kle select.kle-select:hover,
.kle select.kle-select:focus {
	border-color: var(--kle-ink) !important;
}

.kle select.kle-select--bare {
	flex: 0 1 auto;
	height: 44px !important;
	padding-left: 6px !important;
	border-color: transparent !important;
	font-weight: 600 !important;
}

/* ---------------------------------------------------------------------
 * Search bar
 * ------------------------------------------------------------------- */

.kle .kle-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 20px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

.kle .kle-search__text {
	flex: 1 1 100%;
	display: flex !important;
	align-items: center;
	gap: 10px;
	height: 48px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid var(--kle-line-strong);
	color: var(--kle-muted);
	cursor: text;
}

.kle .kle-search__text:focus-within {
	border-color: var(--kle-ink);
}

.kle .kle-search__text input {
	flex: 1;
	min-width: 0;
	width: 100% !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--kle-ink) !important;
	font-family: var(--kle-font) !important;
	font-size: 15px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.kle .kle-search__text input::placeholder {
	color: var(--kle-muted);
	opacity: 1;
}

/* ---------------------------------------------------------------------
 * Toolbar
 * ------------------------------------------------------------------- */

.kle .kle-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	margin: 0 0 32px;
	padding: 14px 0 0;
	border-top: 1px solid var(--kle-line);
}

.kle .kle-toolbar__count {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	color: var(--kle-muted) !important;
}

.kle .kle-toolbar__count .kle-link {
	margin-left: 12px;
}

.kle .kle-toolbar__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 28px;
}

.kle .kle-toolbar__saved {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.kle .kle-toolbar__saved[hidden] {
	display: none !important;
}

.kle .kle-sort label {
	display: flex !important;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
}

.kle .kle-views {
	display: flex;
	gap: 22px;
}

.kle .kle-views a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	border-bottom: 1px solid transparent;
	color: var(--kle-muted) !important;
}

.kle .kle-views a.is-current {
	border-bottom-color: var(--kle-brand);
	color: var(--kle-ink) !important;
	font-weight: 600;
}

/* ---------------------------------------------------------------------
 * Cards
 * ------------------------------------------------------------------- */

.kle .kle-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 56px 36px;
	margin: 0;
	padding: 0;
}

.kle .kle-card {
	position: relative;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

.kle .kle-card__link {
	display: flex !important;
	flex-direction: column;
	gap: 16px;
}

.kle .kle-card__link:hover {
	opacity: 1;
}

.kle .kle-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--kle-fill);
}

.kle .kle-card__media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.kle .kle-card__link:hover .kle-card__media img {
	transform: scale(1.03);
}

.kle .kle-card__nophoto {
	color: var(--kle-muted);
}

.kle .kle-card__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.kle .kle-card__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.kle .kle-card__price {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
}

.kle .kle-card__status {
	flex: 0 0 auto;
	color: var(--kle-muted);
}

.kle .kle-card__street {
	font-size: 15px;
	font-weight: 500;
}

.kle .kle-card__place {
	font-size: 13px;
	color: var(--kle-muted);
}

.kle .kle-card__facts {
	margin-top: 10px;
	letter-spacing: 0.12em !important;
}

.kle .kle-card__office {
	margin-top: 10px;
	font-size: 12px;
	color: var(--kle-muted);
}

.kle .kle-card__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 10px;
	background: #FFFFFF;
	font-size: 10px !important;
	pointer-events: none;
}

/* Save (heart) button */

.kle .kle-card .kle-save {
	position: absolute;
	top: 6px;
	right: 6px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	min-width: 0 !important;
	height: 44px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--kle-ink) !important;
	cursor: pointer;
}

.kle .kle-card .kle-save .kle-icon {
	box-sizing: content-box;
	padding: 8px;
	border-radius: 50%;
	background: #FFFFFF;
}

.kle .kle-save.is-saved .kle-icon {
	fill: var(--kle-brand);
	stroke: var(--kle-brand);
}

/* List view */

.kle .kle-grid--list {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	border-bottom: 1px solid var(--kle-line);
}

.kle .kle-grid--list .kle-card {
	padding: 24px 0 !important;
	border-top: 1px solid var(--kle-line) !important;
}

.kle .kle-grid--list .kle-card__link {
	flex-direction: row;
	align-items: center;
	gap: 28px;
}

.kle .kle-grid--list .kle-card__media {
	flex: 0 0 min(300px, 38%);
}

.kle .kle-grid--list .kle-card__body {
	flex: 1;
}

.kle .kle-grid--list .kle-card__tag {
	top: 38px;
}

.kle .kle-grid--list .kle-card .kle-save {
	top: 30px;
	right: auto;
	left: calc(min(300px, 38%) - 50px);
}

/* ---------------------------------------------------------------------
 * Map
 * ------------------------------------------------------------------- */

.kle .kle-map {
	position: relative;
	z-index: 0;
	width: 100%;
	background: var(--kle-fill);
}

.kle .kle-map--results {
	height: min(600px, 72vh);
	margin: 0 0 48px;
}

.kle .kle-map--single {
	height: 380px;
	margin: 0 0 12px;
}

.kle .kle-map .leaflet-container,
.kle .kle-map.leaflet-container {
	font-family: var(--kle-font) !important;
}

.kle .kle-map .leaflet-popup-content-wrapper {
	border-radius: 0;
	box-shadow: 0 6px 24px rgba(22, 25, 29, 0.18);
	padding: 0;
}

.kle .kle-map .leaflet-popup-content {
	margin: 0;
	width: 220px !important;
}

.kle .kle-pop {
	display: block;
	color: var(--kle-ink) !important;
}

.kle .kle-pop img {
	display: block;
	width: 220px;
	height: 150px;
	object-fit: cover;
	background: var(--kle-fill);
}

.kle .kle-pop__body {
	display: block;
	padding: 12px 14px 14px;
}

.kle .kle-pop__price {
	display: block;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.kle .kle-pop__title {
	display: block;
	font-size: 13px;
	font-weight: 500;
}

.kle .kle-pop__sub {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--kle-muted);
}

/* ---------------------------------------------------------------------
 * Pagination, empty state, notice
 * ------------------------------------------------------------------- */

.kle .kle-pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 64px 0 0;
	padding: 32px 0 0;
	border-top: 1px solid var(--kle-line);
	font-size: 14px;
}

.kle .kle-pages__num,
.kle .kle-pages__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid transparent;
	font-variant-numeric: tabular-nums;
}

.kle .kle-pages__num.is-current {
	border-color: var(--kle-brand);
	font-weight: 600;
}

.kle .kle-pages__step {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.kle .kle-pages__gap {
	min-width: 28px;
	text-align: center;
	color: var(--kle-muted);
}

.kle .kle-empty {
	padding: 72px 0;
	text-align: center;
	color: var(--kle-muted);
}

.kle .kle-empty p {
	margin: 0 0 20px !important;
}

.kle .kle-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 20px 40px;
	margin: 72px 0 0;
	padding: 28px 0 0;
	border-top: 1px solid var(--kle-line);
	color: var(--kle-muted);
	font-size: 12px;
	line-height: 1.65;
}

.kle .kle-notice__badge {
	flex: 0 0 auto;
}

.kle .kle-notice__badge img {
	display: block;
	width: 125px;
	height: auto;
}

.kle .kle-notice__text {
	flex: 1 1 320px;
}

.kle .kle-notice__text p {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 12px !important;
	line-height: 1.65 !important;
	color: var(--kle-muted) !important;
}

/* ---------------------------------------------------------------------
 * Single listing
 * ------------------------------------------------------------------- */

.kle .kle-back {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0 0 20px;
	color: var(--kle-muted) !important;
}

.kle .kle-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 48px;
	margin: 0 0 36px;
}

.kle .kle-head p {
	margin: 0 !important;
	padding: 0 !important;
}

.kle .kle-head .kle-eyebrow {
	margin: 0 0 14px !important;
	color: var(--kle-muted) !important;
}

.kle h1.kle-title,
.kle .kle-price {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: var(--kle-ink) !important;
	font-family: var(--kle-font) !important;
	font-size: clamp(30px, 4vw, 44px) !important;
	font-weight: 500 !important;
	letter-spacing: -0.025em !important;
	line-height: 1.1 !important;
	text-transform: none !important;
}

.kle .kle-price {
	font-variant-numeric: tabular-nums;
}

.kle .kle-head .kle-head__place {
	margin-top: 12px !important;
	font-size: 16px !important;
	color: var(--kle-muted) !important;
}

.kle .kle-head .kle-head__mls {
	margin-top: 10px !important;
	font-size: 13px !important;
	color: var(--kle-muted) !important;
}

/* Gallery */

.kle .kle-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 8px;
	aspect-ratio: 2.2 / 1;
}

.kle .kle-gallery__item {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	overflow: hidden;
	background: var(--kle-fill) !important;
	box-shadow: none !important;
	cursor: zoom-in;
}

.kle .kle-gallery__item:first-child {
	grid-row: 1 / 3;
}

.kle .kle-gallery__item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0 !important;
	object-fit: cover;
}

.kle .kle-gallery--3,
.kle .kle-gallery--4 {
	grid-template-columns: 2fr 1fr;
}

.kle .kle-gallery--4 .kle-gallery__item:nth-child(4) {
	display: none !important;
}

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

.kle .kle-gallery--2 .kle-gallery__item:first-child {
	grid-row: auto;
}

.kle .kle-gallery--1 {
	grid-template-columns: 1fr;
	grid-template-rows: minmax(0, 1fr);
	aspect-ratio: 16 / 9;
}

.kle .kle-gallery--1 .kle-gallery__item:first-child {
	grid-row: auto;
}

.kle .kle-gallery--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 1;
	background: var(--kle-fill);
	color: var(--kle-muted);
}

.kle .kle-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 14px 0 0;
}

.kle .kle-actions__status {
	color: var(--kle-muted);
}

/* Headline facts */

.kle .kle-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 24px 32px;
	margin: 40px 0 !important;
	padding: 28px 0 !important;
	border-top: 1px solid var(--kle-line);
	border-bottom: 1px solid var(--kle-line);
}

.kle .kle-facts dt {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--kle-muted) !important;
}

.kle .kle-facts dd {
	margin: 6px 0 0 !important;
	padding: 0 !important;
	font-size: 24px !important;
	font-weight: 500 !important;
	letter-spacing: -0.015em !important;
	line-height: 1.2 !important;
	color: var(--kle-ink) !important;
}

/* Two columns */

.kle .kle-columns {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px 72px;
}

.kle .kle-main {
	flex: 999 1 520px;
	min-width: 0;
}

.kle .kle-side {
	flex: 1 1 320px;
	min-width: 0;
	margin-bottom: 56px;
}

.kle .kle-section {
	margin: 0 0 56px;
}

.kle .kle-section--wide {
	margin-top: 16px;
}

.kle .kle-section--wide .kle-grid {
	grid-template-columns: repeat(auto-fit, minmax(260px, 420px));
}

.kle h2.kle-section__title {
	margin: 0 0 22px !important;
	padding: 20px 0 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--kle-ink) !important;
	color: var(--kle-ink) !important;
	font-family: var(--kle-font) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	line-height: 1.4 !important;
}

.kle .kle-remarks p {
	max-width: 66ch;
	margin: 0 0 1em !important;
	padding: 0 !important;
	font-size: 16px !important;
	line-height: 1.65 !important;
	color: var(--kle-ink) !important;
}

.kle .kle-remarks.is-clamped {
	max-height: 12.4em;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 60%, transparent);
	mask-image: linear-gradient(#000 60%, transparent);
}

.kle .kle-more {
	display: inline-flex !important;
	align-items: center;
	min-height: 44px !important;
	margin: 4px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--kle-ink) !important;
	cursor: pointer;
}

.kle .kle-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 0 48px;
	margin: 0 !important;
	padding: 0 !important;
}

.kle .kle-details__row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 0;
	border-bottom: 1px solid var(--kle-line);
}

.kle .kle-details dt {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 400 !important;
	color: var(--kle-muted) !important;
}

.kle .kle-details dd {
	margin: 0 !important;
	padding: 0 !important;
	text-align: right;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.kle .kle-table-wrap {
	overflow-x: auto;
}

.kle table.kle-table {
	width: 100% !important;
	min-width: 380px;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	background: none !important;
	font-size: 15px !important;
}

.kle table.kle-table th,
.kle table.kle-table td {
	padding: 13px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--kle-line) !important;
	background: none !important;
	color: var(--kle-ink) !important;
	font-family: var(--kle-font) !important;
	text-align: left !important;
	vertical-align: baseline;
}

.kle table.kle-table thead th {
	padding: 0 0 10px !important;
	border-bottom-color: var(--kle-ink) !important;
	color: var(--kle-muted) !important;
}

.kle table.kle-table tbody th {
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.kle table.kle-table .kle-table__num {
	text-align: right !important;
}

.kle .kle-events {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.kle .kle-events li {
	margin: 0 !important;
	padding: 13px 0 !important;
	border-bottom: 1px solid var(--kle-line);
	list-style: none !important;
}

.kle .kle-events strong {
	font-weight: 500;
}

/* Enquiry form */

.kle .kle-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 !important;
	padding: 28px !important;
	border: 1px solid var(--kle-line) !important;
	background: #FFFFFF !important;
}

.kle h2.kle-form__title {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: var(--kle-ink) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.18em !important;
}

.kle .kle-field {
	display: flex !important;
	flex-direction: column;
	gap: 6px;
	margin: 0 !important;
	color: var(--kle-muted);
}

.kle .kle-field input,
.kle .kle-field textarea {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid var(--kle-line-strong) !important;
	border-radius: 0 !important;
	background: #FFFFFF !important;
	box-shadow: none !important;
	color: var(--kle-ink) !important;
	font-family: var(--kle-font) !important;
	font-size: 15px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.4 !important;
	-webkit-appearance: none;
	appearance: none;
}

.kle .kle-field textarea {
	height: auto !important;
	min-height: 110px;
	padding: 12px !important;
	resize: vertical;
}

.kle .kle-field input:focus,
.kle .kle-field textarea:focus {
	border-color: var(--kle-ink) !important;
}

.kle .kle-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kle .kle-form__status {
	margin: 0 !important;
	font-size: 14px !important;
	font-weight: 500;
	color: var(--kle-ink) !important;
}

.kle .kle-form__status[hidden] {
	display: none !important;
}

.kle .kle-form__status.is-error {
	color: var(--kle-error) !important;
}

.kle .kle-form__call {
	margin: 0 !important;
	text-align: center;
	font-size: 14px !important;
}

.kle .kle-form__call a {
	font-weight: 500;
}

.kle .kle-credit {
	margin: 28px 0 0;
	font-size: 14px;
}

.kle .kle-credit p {
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

/* ---------------------------------------------------------------------
 * Photo viewer
 * ------------------------------------------------------------------- */

.kle-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	background: #101215;
	color: #FFFFFF;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.kle-lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 8px 8px 24px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.kle-lightbox__stage {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0 72px 32px;
}

.kle-lightbox__stage img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.kle-lightbox button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #FFFFFF;
	cursor: pointer;
}

.kle-lightbox button:hover {
	opacity: 0.7;
}

.kle-lightbox button:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: -4px;
}

.kle-lightbox__prev,
.kle-lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.kle-lightbox__prev {
	left: 8px;
}

.kle-lightbox__next {
	right: 8px;
}

html.kle-lock,
html.kle-lock body {
	overflow: hidden;
}

/* ---------------------------------------------------------------------
 * Small screens
 * ------------------------------------------------------------------- */

@media (max-width: 720px) {
	.kle-page {
		padding: 24px 16px 64px;
	}

	.kle .kle-grid {
		gap: 44px 24px;
	}

	.kle .kle-search select.kle-select {
		flex: 1 1 calc(50% - 5px);
	}

	.kle .kle-search .kle-btn--primary {
		flex: 1 1 100%;
	}

	.kle .kle-gallery,
	.kle .kle-gallery--2,
	.kle .kle-gallery--3,
	.kle .kle-gallery--4 {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 1fr);
		aspect-ratio: 4 / 3;
	}

	.kle .kle-gallery__item:not(:first-child) {
		display: none !important;
	}

	.kle .kle-gallery__item:first-child {
		grid-row: auto;
	}

	.kle .kle-grid--list .kle-card__link {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.kle .kle-grid--list .kle-card__media {
		flex: 0 0 auto;
	}

	.kle .kle-grid--list .kle-card .kle-save {
		top: 30px;
		right: 6px;
		left: auto;
	}

	.kle .kle-form {
		padding: 20px !important;
	}

	.kle-lightbox__stage {
		padding: 0 8px 24px;
	}

	.kle-lightbox__prev,
	.kle-lightbox__next {
		top: auto;
		bottom: 0;
		transform: none;
		background: rgba(16, 18, 21, 0.6);
	}
}

@media (prefers-reduced-motion: reduce) {
	.kle *,
	.kle-lightbox * {
		transition: none !important;
	}

	.kle .kle-card__link:hover .kle-card__media img {
		transform: none;
	}
}

@media print {
	.kle .kle-search,
	.kle .kle-toolbar__tools,
	.kle .kle-actions,
	.kle .kle-save,
	.kle .kle-form,
	.kle .kle-back,
	.kle .kle-map {
		display: none !important;
	}
}
