/*
 * Ingatlan archívum
 */

.ingatlan-archivum {
	--ingatlan-szin: #a8493d;
	--ingatlan-sotet: #171717;
	--ingatlan-szurke: #6d6d6d;
	--ingatlan-vonal: #e4e4e4;

	padding: 70px 24px 90px;
	background: #ffffff;
}

.ingatlan-archivum-belso {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.ingatlan-archivum-fejlec {
	margin-bottom: 45px;
}

.ingatlan-archivum-cim {
	margin: 0;
	color: var(--ingatlan-sotet);
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 700;
	line-height: 1.1;
}

/*
 * Grid
 */

.ingatlan-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

/*
 * Kártya
 */

.ingatlan-kartya {
	min-width: 0;
	height: 100%;
	margin: 0;
}

.ingatlan-kartya-link {
	display: flex;
	flex-direction: column;
	height: 100%;

	color: inherit;
	text-decoration: none;

	background: #ffffff;
	border: 1px solid var(--ingatlan-vonal);
	border-radius: 6px;

	overflow: hidden;

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.ingatlan-kartya-link:hover {
	color: inherit;

	border-color: transparent;

	transform: translateY(-5px);

	box-shadow:
		0 18px 45px
		rgba(0, 0, 0, 0.10);
}

.ingatlan-kartya-link:focus-visible {
	outline: 3px solid var(--ingatlan-szin);
	outline-offset: 4px;
}

/*
 * Kép
 */

.ingatlan-kartya-kep-wrapper {
	position: relative;

	width: 100%;
	aspect-ratio: 4 / 3;

	overflow: hidden;

	background: #eeeeee;
}

.ingatlan-kartya-kep {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.4s ease;
}

.ingatlan-kartya-link:hover
.ingatlan-kartya-kep {
	transform: scale(1.04);
}

.ingatlan-kartya-nincs-kep {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100%;

	padding: 20px;

	color: #888888;
	font-size: 14px;
	text-align: center;
}

/*
 * Tartalom
 */

.ingatlan-kartya-tartalom {
	display: flex;
	flex: 1;
	flex-direction: column;

	padding: 26px;
}

.ingatlan-kartya-telepules {
	margin: 0 0 9px;

	color: var(--ingatlan-sotet);

	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
}

.ingatlan-kartya-azonosito {
	margin-bottom: 15px;

	color: var(--ingatlan-szurke);

	font-size: 13px;
	line-height: 1.5;
}

.ingatlan-kartya-azonosito strong {
	color: #404040;
	font-weight: 600;
}

.ingatlan-kartya-tipus {
	margin-bottom: 24px;

	color: var(--ingatlan-sotet);

	font-size: 17px;
	font-weight: 500;
	line-height: 1.5;
}

/*
 * Alapterület és szobák
 */

.ingatlan-kartya-adatok {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));

	margin-bottom: 28px;

	border-top: 1px solid var(--ingatlan-vonal);
	border-bottom: 1px solid var(--ingatlan-vonal);
}

.ingatlan-kartya-adat {
	display: flex;
	flex-direction: column;

	padding: 17px 14px 17px 0;
}

.ingatlan-kartya-adat + .ingatlan-kartya-adat {
	padding-left: 20px;

	border-left: 1px solid var(--ingatlan-vonal);
}

.ingatlan-kartya-adat-ertek {
	margin-bottom: 3px;

	color: var(--ingatlan-sotet);

	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.ingatlan-kartya-adat-label {
	color: var(--ingatlan-szurke);

	font-size: 12px;
	line-height: 1.4;
}

/*
 * Ár és gomb
 */

.ingatlan-kartya-also-resz {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	margin-top: auto;
}

.ingatlan-kartya-ar {
	color: var(--ingatlan-sotet);

	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
}

.ingatlan-kartya-gomb {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 43px;

	padding: 11px 21px;

	color: #ffffff;

	font-size: 14px;
	font-weight: 600;
	line-height: 1;

	background: var(--ingatlan-szin);
	border-radius: 3px;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.ingatlan-kartya-link:hover
.ingatlan-kartya-gomb {
	background: #89372d;

	transform: translateX(2px);
}

/*
 * Lapozás
 */

.ingatlan-lapozas {
	margin-top: 60px;
}

.ingatlan-lapozas .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;

	gap: 8px;
}

.ingatlan-lapozas .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 44px;
	height: 44px;

	padding: 0 13px;

	color: var(--ingatlan-sotet);
	text-decoration: none;

	font-size: 14px;
	font-weight: 600;

	background: #ffffff;
	border: 1px solid var(--ingatlan-vonal);
	border-radius: 3px;

	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.ingatlan-lapozas a.page-numbers:hover,
.ingatlan-lapozas .page-numbers.current {
	color: #ffffff;

	background: var(--ingatlan-szin);
	border-color: var(--ingatlan-szin);
}

/*
 * Nincs találat
 */

.ingatlan-nincs-talalat {
	padding: 40px;

	color: var(--ingatlan-szurke);
	text-align: center;

	background: #f7f7f7;
}

/*
 * Tablet
 */

@media screen and (max-width: 1024px) {

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

}

/*
 * Mobil
 */

@media screen and (max-width: 700px) {

	.ingatlan-archivum {
		padding: 45px 18px 65px;
	}

	.ingatlan-archivum-fejlec {
		margin-bottom: 30px;
	}

	.ingatlan-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ingatlan-kartya-tartalom {
		padding: 22px;
	}

	.ingatlan-kartya-telepules {
		font-size: 23px;
	}

	.ingatlan-kartya-ar {
		font-size: 22px;
	}

}

/*
 * Ingatlanszűrő
 */

.ingatlan-szuro-urlap {
	margin: 0 0 22px;
	padding: 27px;

	background: #f7f5f3;

	border:
		1px solid
		#ebe6e2;

	border-radius: 6px;
}

.ingatlan-szuro-mezok {
	display: grid;

	grid-template-columns:
		1.1fr
		1.5fr
		1.5fr
		auto;

	align-items: end;

	gap: 20px;
}

.ingatlan-szuro-csoport {
	min-width: 0;
}

.ingatlan-szuro-csoport > label {
	display: block;

	margin-bottom: 9px;

	color:
		var(
			--ingatlan-sotet
		);

	font-size: 14px;

	font-weight: 700;

	line-height: 1.3;
}

.ingatlan-szuro-dupla {
	display: grid;

	grid-template-columns:
		repeat(
			2,
			minmax(
				0,
				1fr
			)
		);

	gap: 10px;
}

.ingatlan-szuro-select {
	display: block;

	width: 100%;

	height: 50px;

	margin: 0;

	padding:
		0
		39px
		0
		14px;

	color: #333333;

	font-family: inherit;

	font-size: 14px;

	line-height: 1;

	background-color:
		#ffffff;

	border:
		1px solid
		#d8d3cf;

	border-radius: 3px;

	cursor: pointer;

	transition:
		border-color
		0.2s ease,
		box-shadow
		0.2s ease;
}

.ingatlan-szuro-select:hover {
	border-color: #aaa39e;
}

.ingatlan-szuro-select:focus {
	outline: none;

	border-color:
		var(
			--ingatlan-szin
		);

	box-shadow:
		0
		0
		0
		3px
		rgba(
			168,
			73,
			61,
			0.12
		);
}

.ingatlan-szuro-muveletek {
	display: flex;

	align-items: flex-end;
}

.ingatlan-szuro-gomb {
	display: inline-flex;

	align-items: center;

	justify-content: center;

	height: 50px;

	margin: 0;

	padding:
		0
		28px;

	color: #ffffff;

	font-family: inherit;

	font-size: 14px;

	font-weight: 700;

	line-height: 1;

	text-transform: uppercase;

	white-space: nowrap;

	background:
		var(
			--ingatlan-szin
		);

	border: 0;

	border-radius: 3px;

	cursor: pointer;

	transition:
		background-color
		0.2s ease,
		transform
		0.2s ease;
}

.ingatlan-szuro-gomb:hover {
	color: #ffffff;

	background: #89372d;

	transform:
		translateY(
			-1px
		);
}

.ingatlan-szuro-gomb:focus-visible {
	outline:
		3px solid
		var(
			--ingatlan-szin
		);

	outline-offset: 3px;
}


/*
 * Találatok száma
 */

.ingatlan-talalat-fejlec {
	display: flex;

	align-items: center;

	justify-content:
		space-between;

	gap: 20px;

	margin-bottom: 28px;
}

.ingatlan-talalat-szam {
	color:
		var(
			--ingatlan-szurke
		);

	font-size: 15px;

	line-height: 1.5;
}

.ingatlan-talalat-szam strong {
	color:
		var(
			--ingatlan-sotet
		);

	font-size: 18px;

	font-weight: 700;
}

.ingatlan-szuro-torles {
	color:
		var(
			--ingatlan-szin
		);

	font-size: 14px;

	font-weight: 600;

	text-decoration:
		underline;

	text-underline-offset:
		3px;
}

.ingatlan-szuro-torles:hover {
	color: #89372d;
}


/*
 * Közepes képernyő
 */

@media screen and (max-width: 1100px) {

	.ingatlan-szuro-mezok {
		grid-template-columns:
			repeat(
				2,
				minmax(
					0,
					1fr
				)
			);
	}

	.ingatlan-szuro-gomb {
		width: 100%;
	}

}


/*
 * Mobil
 */

@media screen and (max-width: 700px) {

	.ingatlan-szuro-urlap {
		padding: 20px;
	}

	.ingatlan-szuro-mezok {
		grid-template-columns:
			1fr;

		gap: 18px;
	}

	.ingatlan-talalat-fejlec {
		flex-direction:
			column;

		align-items:
			flex-start;

		gap: 8px;
	}

}


/*
 * Kis mobil
 */

@media screen and (max-width: 480px) {

	.ingatlan-szuro-dupla {
		grid-template-columns:
			1fr;
	}

}

.ingatlan-ajanlasok {
	margin-top: 80px;
	padding-top: 60px;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.ingatlan-ajanlasok-fejlec {
	margin-bottom: 30px;
}

.ingatlan-ajanlasok-cim {
	margin: 0 0 10px;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.15;
}

.ingatlan-ajanlasok-leiras {
	max-width: 720px;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #666;
}

@media (max-width: 767px) {
	.ingatlan-ajanlasok {
		margin-top: 50px;
		padding-top: 40px;
	}
}

.ingatlan-ajanlasok-tovabb {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 35px;
}

.ingatlan-ajanlasok-tovabb-gomb {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 50px;
	padding: 12px 28px;

	font: inherit;
	font-weight: 600;
	line-height: 1.2;

	color: #ffffff;
	background: #1f1f1f;

	border: 1px solid #1f1f1f;
	border-radius: 4px;

	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		opacity 0.2s ease;
}

.ingatlan-ajanlasok-tovabb-gomb:hover {
	background: #3a3a3a;
	border-color: #3a3a3a;
}

.ingatlan-ajanlasok-tovabb-gomb:disabled {
	opacity: 0.65;
	cursor: wait;
}

.ingatlan-ajanlasok-tovabb-gomb.is-loading {
	pointer-events: none;
}

.ingatlan-ajanlasok-statusz {
	min-height: 22px;
	font-size: 14px;
	line-height: 1.5;
	color: #b42318;
	text-align: center;
}