/* Million Homes — Ingatlanos (ügynök) publikus profiloldal.
 * Scope: .mhag (a fejléc/lábléc a témából/get_header()-ből jön — ide csak a
 * tartalom-szekciók stílusai kellenek). A kártyarács (.ing-lista .grid/.prop)
 * a css/lista.css-ből jön, az űrlap-mezők (.f-input stb.) alapja pedig a
 * css/ingatlan-single.css .agent-form mintáját követi (itt újra felvéve,
 * mert az ottani szabályok .ingatlan-single-re vannak korlátozva).
 */

.mhag * { box-sizing: border-box; }

.mhag { background: #f6f3ee; color: #141210; }

.mhag a { color: #141210; text-decoration: none; transition: color .3s; }
.mhag a:hover { color: #AF7366; }

.mhag i[data-lucide] { display: inline-flex; }
.mhag i[data-lucide] svg { width: 1em; height: 1em; }

/* ==========================================================================
   TÉMA KONTÉNER FELÜLÍRÁSA — teljes szélesség (full-bleed), ugyanaz a minta,
   mint a single-ingatlan / ingatlan-lista oldalon (l. css/ingatlan-single.css,
   css/lista.css): a GP .grid-container kikapcsol, hogy a .mhag végigfusson a
   viewport szélig, az 1140px belső oszlop középen (l. fentebb a szekciók).
   ========================================================================== */
body.ingatlanos-profil .site.grid-container.container,
body.ingatlanos-profil .site.grid-container {
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}
body.ingatlanos-profil .site-content {
	display: block;
	max-width: 100%;
	width: 100%;
	padding: 0;
}
body.ingatlanos-profil .mhag {
	width: 100%;
	max-width: 100%;
}

/* ===================================================================
 * Ügynök hero
 * =================================================================== */
.mhag-hero {
	position: relative;
	background: #0b0a09;
	padding: 172px 0 88px;
	overflow: hidden;
}

.mhag-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(11, 10, 9, 0.9) 0%, rgba(11, 10, 9, 0.86) 55%, rgba(11, 10, 9, 0.95) 100%);
}

.mhag-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin: 0 auto;
}

.mhag-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 48px;
}

.mhag-breadcrumb a { color: rgba(255, 255, 255, 0.55); }
.mhag-breadcrumb a:hover { color: #e6cd94; }
.mhag-breadcrumb__cur { color: #e6cd94; }

.mhag-hero__grid {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 56px;
	align-items: center;
}

.mhag-photo {
	position: relative;
	width: 268px;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6);
	flex: none;
	background: #26201a;
}

.mhag-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mhag-photo__empty {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.25);
}
.mhag-photo__empty i[data-lucide] svg { width: 64px; height: 64px; }

.mhag-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #AF7366;
}

.mhag-eyebrow--gold { color: #ffffff; }

.mhag-eyebrow__line { width: 24px; height: 1px; background: #AF7366; }

.mhag-name {
	font-family: 'Schibsted Grotesk', sans-serif;
	font-weight: 700;
	font-size: 58px;
	line-height: 1.0;
	letter-spacing: -0.03em;
	color: #fff;
	margin: 0;
	margin-bottom: 25px;
}

.mhag-rule { width: 64px; height: 2px; background: #c9a558; margin: 22px 0 30px; display: none; }

.mhag-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mhag-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 15px 30px;
	border-radius: 100px;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: all .3s;
	border: 1px solid transparent;
	cursor: pointer;
}
.mhag-btn i[data-lucide] svg { width: 16px; height: 16px; }

.mhag-btn--gold { background: #AF7366; color: #ffffff; }
a.mhag-btn.mhag-btn--gold { color: #ffffff; }
.mhag-btn--gold:hover { filter: brightness(1.07); transform: translateY(-2px); color: #141210; }

.mhag-btn--outline { background: rgba(230, 205, 148, 0.06); color: #e6cd94;     border-color: #ffffff; }
a.mhag-btn.mhag-btn--outline {
    color: #ffffff;
}

.mhag-eyebrow.mhag-eyebrow--gold .mhag-eyebrow__line  {   background: #ffffff; }

/* ===================================================================
 * Bemutatkozás + kapcsolat
 * =================================================================== */
.mhag-about { padding: 96px 0; }

.mhag-about__grid {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 88px;
	align-items: start;
}

.mhag-section-title {
	font-family: 'Schibsted Grotesk', sans-serif;
	font-weight: 700;
	font-size: 38px;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0;
}

.mhag-tag-groups { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }

.mhag-tag-label {
	display: block;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #141210;
	margin-bottom: 12px;
}

.mhag-tags { display: flex; flex-wrap: wrap; gap: 9px; }

.mhag-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 17px;
	background: rgba(201, 165, 88, 0.16);
	color: #141210;
	border: 1px solid rgba(201, 165, 88, 0.4);
	border-radius: 100px;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 500;
}

.mhag-tag--area { background: #fff; border-color: rgba(20, 18, 16, 0.14); color: #141210; }
.mhag-tag--area i[data-lucide] { color: #AF7366; }
.mhag-tag i[data-lucide] svg { width: 13px; height: 13px; }

.mhag-about__text {
	margin-top: 30px;
	max-width: 62ch;
	font-size: 16.5px;
	line-height: 1.75;
	color: rgba(20, 18, 16, 0.72);
}
.mhag-about__text p { margin: 0 0 18px; }
.mhag-about__text p:last-child { margin-bottom: 0; }

.mhag-about__footer {
	margin-top: 34px;
	padding-top: 26px;
	border-top: 1px solid rgba(20, 18, 16, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 14px 40px;
}

.mhag-info-item { display: flex; align-items: center; gap: 12px; }

.mhag-info-icon {
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 10px;
	background: rgba(201, 165, 88, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #AF7366;
}
.mhag-info-icon i[data-lucide] svg { width: 19px; height: 19px; }

.mhag-info-label {
	display: block;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #141210;
}

.mhag-info-value {
	display: block;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #141210;
	margin-top: 2px;
}

/* ---- Kapcsolat-kártya ---- */
.mhag-contact-card {
	position: sticky;
	top: 96px;
	background: #fff;
	border: 1px solid rgba(20, 18, 16, 0.1);
	border-radius: 16px;
	box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.mhag-contact-card__head { background: #141210; padding: 22px 26px; }
.mhag-contact-card__head h3 {
	margin: 0;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff;
}

.mhag-contact-card__body { padding: 8px 26px 26px; }

.mhag-contact-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid rgba(20, 18, 16, 0.09);
}
.mhag-contact-row:last-child { border-bottom: none; }

.mhag-contact-row__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #141210;
}
.mhag-contact-row__label i[data-lucide] { color: #AF7366; }
.mhag-contact-row__label i[data-lucide] svg { width: 17px; height: 17px; }

.mhag-contact-row__value { font-size: 14.5px; font-weight: 500; color:#141210; }
a.mhag-contact-row__value:hover { color: #AF7366; }
.mhag-contact-row__value--email { font-size: 14px; word-break: break-all; text-align: right; }
.mhag-contact-row__value--static { font-size: 14px; text-align: right; }

.mhag-contact-form-wrap { background: #26201a; padding: 26px; }
.mhag-contact-form-wrap .mhag-eyebrow { margin-bottom: 8px; gap: 10px; }
.mhag-contact-form-wrap .mhag-eyebrow__line { width: 20px; }
.mhag-contact-form-wrap h3 {
	margin: 0;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #fff;
	line-height: 1.2;
}

/* Beágyazott kapcsolat-űrlap (kapcsolat/shortcode.php agent-form renderer) —
   ugyanaz a mintázat, mint az ingatlan single ügynökkártyáján, itt a saját
   scope-unk alá véve, mert az eredeti .ingatlan-single-re van korlátozva. */
.mhag .agent-form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mhag .f-input, .mhag .f-select, .mhag .f-textarea {
	padding: 13px 15px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	font-family: 'Instrument Sans', sans-serif;
	font-size: 14px;
	color: #fff;
	width: 100%;
}
.mhag .f-input::placeholder, .mhag .f-textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.mhag .f-select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.mhag .f-textarea { resize: vertical; }
.mhag .consent { display: flex; gap: 9px; align-items: flex-start; font-size: 11.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }
.mhag .consent input { margin-top: 2px; width: 15px; height: 15px; accent-color: #c9a558; flex: none; }
.mhag .consent a { color: #e6cd94; text-decoration: underline; }
.mhag .form-btn {
	margin-top: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px 24px;
	background: #AF7366;
	color: #ffffff;
	border: none;
	border-radius: 100px;
	cursor: pointer;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: all .3s;
}
.mhag .form-btn:hover { filter: brightness(1.07); transform: translateY(-2px); }
.mhag .agent-honeypot { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mhag .agent-form__uzenet {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.5;
	background: rgba(178, 42, 42, 0.12);
	border: 1px solid rgba(178, 42, 42, 0.3);
	color: #f4b8b8;
}
.mhag .agent-form__uzenet--ok {
	background: rgba(201, 165, 88, 0.14);
	border: 1px solid rgba(201, 165, 88, 0.4);
	color: #e6cd94;
}

/* ===================================================================
 * Ingatlanjai
 * =================================================================== */
.mhag-listings { background: #ece7dd; padding: 88px 0 110px; border-bottom: 1px solid rgba(20, 18, 16, 0.14); }

/* Nincs saját háttere: az .ing-lista osztály (a kártyarács-stílusokért van
   rajta) magával hozná a #f6f3ee hátteret — azt itt kikapcsoljuk, a szín a
   szülő .mhag-listings-től jön, egységesen. Oldalsó padding sem itt: l. a
   @media (max-width:1180px) blokkot lentebb. */
.mhag-listings__container { max-width: 1140px; margin: 0 auto; background: none; }

.mhag-listings__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 42px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(20, 18, 16, 0.14);
}

.mhag-listings__title {
	margin: 0;
	font-family: 'Schibsted Grotesk', sans-serif;
	font-weight: 700;
	font-size: 40px;
	letter-spacing: -0.02em;
}
.mhag-listings__empty {
	font-size: 15px;
	color: rgba(20, 18, 16, 0.55);
	padding: 20px 0;
}

/* ===================================================================
 * Szűkebb viewport — a fő tárolók (1140px) alá csökkenő szélességnél az
 * __inner/__grid/__container elemek kapnak oldaltérközt (a szekciók sosem) —
 * ugyanaz a logika, mint a css/lista.css-ben.
 * =================================================================== */
@media (max-width: 1180px) {
	.mhag-hero__inner,
	.mhag-about__grid,
	.mhag-listings__container {
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* ===================================================================
 * Tablet (max-width: 1024px)
 * =================================================================== */
@media (max-width: 1024px) {
	.mhag-hero { padding: 150px 0 64px; }
	.mhag-hero__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.mhag-hero__grid > div:last-child { display: flex; flex-direction: column; align-items: center; }
	.mhag-eyebrow--hero, .mhag-actions { justify-content: center; }
	.mhag-photo { width: 200px; }

	.mhag-about { padding: 64px 0; }
	.mhag-about__grid { grid-template-columns: 1fr; gap: 48px; }
	.mhag-contact-card { position: static; }

	.mhag-listings { padding: 56px 0 72px; }
}

/* ===================================================================
 * Mobil (max-width: 767px)
 * =================================================================== */
@media (max-width: 767px) {
	.mhag-hero__inner,
	.mhag-about__grid,
	.mhag-listings__container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.mhag-hero { padding: 130px 0 48px; }
	.mhag-name {      font-size: 32px; overflow-wrap: break-word; }
	.mhag-breadcrumb { margin-bottom: 32px; flex-wrap: wrap; }

	/* Kapcsolat-sorok (telefon/e-mail/iroda): keskeny nézetben a címke fölé,
	   az érték alá kerül — hosszú e-mail/cím így sosem feszíti szét a sort. */
	.mhag-contact-row { flex-wrap: wrap; gap: 4px 16px; }
	.mhag-contact-row__value,
	.mhag-contact-row__value--email,
	.mhag-contact-row__value--static {
		width: 100%;
		text-align: left;
		overflow-wrap: anywhere;
	}

	.mhag-about { padding: 48px 0; }
	.mhag-section-title { font-size: 28px; }
	.mhag-about__text { font-size: 15px; }

	.mhag-listings { padding: 48px 0 56px; }
	.mhag-listings__title { font-size: 30px; }

	.mhag-actions { flex-direction: column; align-items: stretch; }
	.mhag-btn { justify-content: center; }
}
