/**
 * Ingatlanok shortcode stílusok — ingatlan-modul.
 *
 * Sötét «Kiemelt otthonok» változat (.mh-prop design): sötét kártyák (#241f1c)
 * krém tipográfiával, terracotta chipek és ikonok (#af7366), ár #d6a091.
 * Sötét szekcióba való. A plugin CSS-e a téma után töltődik — !important nélkül.
 */

/* ===== Wrapper ===== */
.im-ing-wrap {
	font-family: 'Instrument Sans', sans-serif;
	color: #f7f4ef;
}

/* ===== Szűrőchipek ===== */
.im-ing-szures {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 30px;
}

.im-ing-chip {
	padding: 9px 18px;
	border-radius: 100px;
	cursor: pointer;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.1;
	transition: all .3s;
	border: 1px solid rgba(247, 244, 239, 0.16);
	background: rgba(247, 244, 239, 0.06);
	color: rgba(247, 244, 239, 0.78);
}

/* Aktív chip („Összes" alapból) */
.im-ing-chip.is-active {
	border-color: transparent;
	background: #af7366;
	color: #fff;
}

.im-ing-chip:not(.is-active):hover {
	border-color: rgba(247, 244, 239, 0.45);
	color: #fff;
}

/* ===== Rács (3 oszlop) ===== */
.im-ing-racs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 27px;
}

/* ===== Kártya ===== */
.im-ing-kartya {
	display: block;
	background: #241f1c;
	border-radius: 9px;
	overflow: hidden;
	box-shadow: 0 21px 46px -24px rgba(12, 10, 9, 0.55);
}

.im-ing-kartya__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Kép (4/3.4) */
.im-ing-kartya__kep {
	position: relative;
	aspect-ratio: 4 / 3.4;
	overflow: hidden;
	background: #332c28; /* placeholder szín, amíg nincs kép */
}

/* Zoom konténer — hoverre enyhe nagyítás */
.im-ing-kartya__zoom {
	position: absolute;
	inset: 0;
	transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.im-ing-kartya__link:hover .im-ing-kartya__zoom,
.im-ing-kartya__link:focus-visible .im-ing-kartya__zoom {
	transform: scale(1.06);
}

.im-ing-kartya__img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.im-ing-kartya__kep-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.im-ing-kartya__statusz {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 15px;
    background: rgba(12, 10, 9, 0.82);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-family: 'Schibsted Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #f7f4ef;
}

/* ===== Kártya tartalom ===== */
.im-ing-kartya__tartalom {
	padding: 20px 22px 24px;
}

/* Cím + helyszín + ár közös blokk */
.im-ing-kartya__fejlec {
	display: block;
}

.im-ing-kartya__cim {
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
	color: #f7f4ef;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.4em;
}

/* Helyszín (pin ikon) */
.im-ing-kartya__hely {
	margin-top: 5px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(247, 244, 239, 0.72);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* Ár */
.im-ing-kartya__ar {
    display: block;
    margin-top: 0px;
    font-family: 'Schibsted Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #d6a091;
}

.im-ing-kartya__ar-mod {
	font-size: 0.7em;
	font-weight: 600;
	color: rgba(247, 244, 239, 0.5);
}

/* Spec ikonsor */
.im-ing-kartya__speck {
	display: flex;
	flex-wrap: wrap;
	gap: 11px 14px;
	margin-top: 12px;
	padding-top: 16px;
	border-top: 1px solid rgba(247, 244, 239, 0.14);
}

.im-ing-speck {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: rgba(247, 244, 239, 0.72);
	white-space: nowrap;
}

/* Lucide ikonok (pin + spec): a <i data-lucide="..."> elemeket a js/lucide.js
   valódi <svg>-re cseréli, az osztály átmásolódik. Méret + vonalvastagság itt. */
.im-ing-ikon {
	color: #af7366;
	flex: none;
	width: 14px;
	height: 14px;
	stroke-width: 1.5;
}

/* ===== Responsive ===== */

/* Tablet — 2 oszlop */
@media (max-width: 990px) {
	.im-ing-racs {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobil — 1 oszlop */
@media (max-width: 767px) {
	.im-ing-racs {
		grid-template-columns: 1fr;
		gap: 27px;
	}
}
