/*
 * Giao diện dùng chung toàn site Đô Thị Phú Mỹ Hưng.
 * Màu theo nhận diện phumyhung.vn: đỏ đô, vàng gold, nền kem.
 * --font-text, --font-heading, --container được in inline từ cài đặt Flatsome (inc/setup.php).
 * Khối do theme dựng có class .pmh-block; nội dung UX Builder giữ style Flatsome (đã đặt màu PMH).
 */
.pmh-site {
	--red: #a50d20;
	--brown: #602314;
	--gold: #fbb612;
	--gold-band: #feeec3;
	--gold-line: #f3d27c;
	--cream: #fffbf8;
	--panel: #f1ede8;
	--text: #4b4e53;
	--muted: #666;
	--line: #e6e6e6;
	--diamond: #e9b9b6;
	background: var(--cream);
	color: var(--text);
	font-family: var(--font-text, system-ui, sans-serif);
	-webkit-font-smoothing: antialiased;
}
.pmh-site #wrapper, .pmh-site #main { background: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
.pmh-site .mfp-hide, .pmh-site #main-menu { display: none !important; }

/* Reset trong các khối của theme */
:is(.pmh-header, .pmh-footer, .pmh-block, .pmh-float) *, :is(.pmh-header, .pmh-footer, .pmh-block, .pmh-float) *::before, :is(.pmh-header, .pmh-footer, .pmh-block, .pmh-float) *::after { box-sizing: border-box; }
:is(.pmh-header, .pmh-footer, .pmh-block) :is(h1, h2, h3, h4, p, dl, dd, figure, ul, ol) { margin: 0; padding: 0; }
:is(.pmh-header, .pmh-footer, .pmh-block) ul { list-style: none; }
:is(.pmh-header, .pmh-footer, .pmh-block) img { max-width: 100%; height: auto; display: block; }
:is(.pmh-header, .pmh-footer, .pmh-block, .pmh-float) a { color: inherit; text-decoration: none; }
:is(.pmh-footer, .pmh-block) :is(h1, h2, h3, h4) { font-family: var(--font-heading, inherit); color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.3; }
.pmh-block { font-size: 15px; line-height: 1.7; color: var(--text); }
/* Flatsome in hoa và thả nổi dt/dd; các khối số liệu cần dạng chữ thường xếp dọc. */
.pmh-site :is(.pmh-block, .pmh-psec) :is(dt, dd) { float: none; display: block; margin: 0; text-transform: none; letter-spacing: 0; }
.pmh-block :focus-visible, .pmh-header :focus-visible, .pmh-footer :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.pmh-wrap { max-width: var(--container, 1400px); margin: 0 auto; padding-inline: 15px; width: 100%; }

/* Nút */
.pmh-btn, .pmh-site a.pmh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 26px; background: var(--red); color: #fff; border: 1px solid var(--red); font-size: 14px; font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.pmh-btn:hover, .pmh-site a.pmh-btn:hover { background: var(--brown); border-color: var(--brown); color: #fff; }
.pmh-btn--sm, .pmh-site a.pmh-btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.pmh-btn--line, .pmh-site a.pmh-btn--line { background: transparent; color: var(--red); }
.pmh-btn--line:hover, .pmh-site a.pmh-btn--line:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pmh-btn--light, .pmh-site a.pmh-btn--light { background: transparent; border-color: #fff; color: #fff; }
.pmh-btn--light:hover, .pmh-site a.pmh-btn--light:hover { background: #fff; border-color: #fff; color: var(--red); }

/* Hình thoi: họa tiết của Phú Mỹ Hưng */
.pmh-diamond { position: absolute; right: -14px; bottom: -14px; width: 40px; height: 40px; background: var(--diamond); transform: rotate(45deg); transition: background-color .2s; }
.pmh-img-empty { display: block; width: 100%; height: 100%; background: var(--panel); }

/* ===== Header ===== */
.pmh-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--gold-line); }
.admin-bar .pmh-header { top: 32px; }
.pmh-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.pmh-logo img { height: 68px; width: auto; }
.pmh-nav { align-self: stretch; display: flex; }
.pmh-nav__list { display: flex; align-items: stretch; gap: 32px; margin: 0; }
.pmh-nav__list > li { position: relative; display: flex; margin: 0; }
.pmh-nav__list > li > a { display: flex; align-items: center; color: var(--red); font-family: var(--font-heading, inherit); font-size: 14px; font-weight: 600; text-transform: uppercase; border-bottom: 3px solid transparent; padding-top: 3px; transition: border-color .2s; white-space: nowrap; }
.pmh-nav__list > li > a:hover, .pmh-nav__list > li.current-menu-item > a, .pmh-nav__list > li.current-menu-ancestor > a, .pmh-nav__list > li.current_page_parent > a { border-bottom-color: var(--gold); }
.pmh-nav__list .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 240px; background: #fff; border: 1px solid var(--gold-line); border-top: 3px solid var(--gold); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.pmh-nav__list > li:hover > .sub-menu, .pmh-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pmh-nav__list .sub-menu a { display: block; padding: 9px 18px; font-size: 14px; color: var(--text); }
.pmh-nav__list .sub-menu a:hover { color: var(--red); background: var(--cream); }
.pmh-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--gold-line); background: #fff; color: var(--red); align-items: center; justify-content: center; padding: 0; margin: 0; }

/* ===== Section & tiêu đề ===== */
.pmh-section { padding-block: 64px; }
.pmh-head { margin-bottom: 28px; display: flex; flex-direction: column; gap: 4px; }
.pmh-head h2 { font-size: clamp(24px, 2.4vw, 30px); }
.pmh-head p { color: var(--muted); }
.pmh-head--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pmh-head--center { align-items: center; text-align: center; }

/* Đầu trang con */
.pmh-pagehead { background: var(--panel); border-bottom: 1px solid #e4ddd3; padding: 36px 0 32px; }
.pmh-pagehead h1 { font-size: clamp(26px, 3vw, 36px); }
.pmh-pagehead p { color: var(--muted); margin-top: 6px; max-width: 760px; }
.pmh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.pmh-crumbs a:hover { color: var(--red); }

/* Thanh tab vàng */
.pmh-tabbar { display: flex; flex-wrap: wrap; background: var(--gold-band); border: 1px solid var(--gold-line); }
.pmh-tabbar button, .pmh-tabbar a { min-height: 46px; padding: 0 20px; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--text); font-family: var(--font-heading, inherit); font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.2; text-transform: uppercase; box-shadow: inset 0 -3px 0 transparent; transition: color .2s, box-shadow .2s; display: inline-flex; align-items: center; cursor: pointer; }
.pmh-tabbar button:hover, .pmh-tabbar a:hover { color: var(--red); background: transparent; }
.pmh-tabbar [aria-selected="true"], .pmh-tabbar [aria-pressed="true"], .pmh-tabbar .is-active { color: var(--red); background: #fff7e0; box-shadow: inset 0 -3px 0 var(--gold); }
.pmh-tabbar--sm button { min-height: 42px; padding: 0 16px; }

/* ===== Banner full: dự án nổi bật ===== */
.pmh-banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(560px, calc(100vh - 80px), 880px); overflow: hidden; background: #2a1510; color: #fff; border-bottom: 3px solid var(--gold); }
.pmh-banner__bg, .pmh-banner__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pmh-banner__bg img { object-fit: cover; object-position: center; max-width: none; }
.pmh-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 12, 8, .78) 0%, rgba(42, 12, 8, .45) 38%, rgba(42, 12, 8, 0) 68%), linear-gradient(0deg, rgba(42, 12, 8, .55) 0%, rgba(42, 12, 8, 0) 40%); }
.pmh-banner__in { position: relative; z-index: 1; padding-block: 120px 72px; }
.pmh-banner__content { max-width: 780px; display: flex; flex-direction: column; gap: 18px; }
.pmh-banner__eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pmh-banner__dot { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; }
.pmh-block.pmh-banner h1 { color: #fff; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.05; letter-spacing: .02em; }
.pmh-banner__tagline { font-size: 18px; line-height: 1.6; color: #f6ece4; max-width: 520px; }
.pmh-banner__facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 6px; }
.pmh-banner__facts > div { padding: 0 24px; border-left: 1px solid rgba(251, 182, 18, .55); }
.pmh-banner__facts > div:first-child { padding-left: 0; border-left: 0; }
.pmh-banner__facts dt { font-family: var(--font-heading, inherit); font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.pmh-banner__facts dd { font-size: 13px; color: #eadcd2; }
.pmh-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* ===== Khám phá dự án ===== */
.pmh-explore { padding-top: 48px; }
.pmh-explore .pmh-tabbar { margin-bottom: 32px; }
.pmh-explore__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
.pmh-explore__media { aspect-ratio: 16 / 10; background: var(--panel); overflow: hidden; }
.pmh-explore__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pmh-explore__media img.is-loading { opacity: .35; }
.pmh-explore__panel { position: relative; z-index: 1; margin-left: -72px; background: var(--panel); padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 14px; }
.pmh-explore__name { font-size: clamp(26px, 2.6vw, 34px); }
.pmh-explore__place { color: var(--brown); font-weight: 600; font-size: 14px; }
.pmh-explore__panel p { text-align: justify; }
.pmh-explore__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

.pmh-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px 16px; border-top: 1px solid #ddd5ca; padding-top: 14px; }
.pmh-facts:empty { display: none; }
.pmh-facts dt { font-family: var(--font-heading, inherit); font-size: 22px; font-weight: 700; color: var(--red); line-height: 1.2; }
.pmh-facts dd { font-size: 13px; color: var(--muted); }

/* ===== Thẻ dự án ===== */
.pmh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.pmh-card { display: flex; flex-direction: column; }
.pmh-card[hidden] { display: none; }
.pmh-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 852 / 480; background: var(--panel); }
.pmh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pmh-card:hover .pmh-card__media img { transform: scale(1.04); }
.pmh-card:hover .pmh-diamond { background: var(--red); }
.pmh-card__body { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pmh-card h3 { font-size: 18px; }
.pmh-card h3 a:hover { color: var(--brown); }
.pmh-card__place { font-size: 13px; font-weight: 600; color: var(--brown); }
.pmh-card p { color: var(--muted); }
.pmh-card__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }

/* ===== Về chủ đầu tư ===== */
.pmh-about { background: var(--panel); }
.pmh-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pmh-about__media { position: relative; }
.pmh-about__media::after { content: ""; position: absolute; left: -16px; top: -16px; width: 64px; height: 64px; border: 2px solid var(--gold); transform: rotate(45deg); }
.pmh-about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pmh-about__text { display: flex; flex-direction: column; gap: 18px; }
.pmh-about__text h2 { font-size: clamp(24px, 2.4vw, 30px); }
.pmh-about__text > p, .pmh-about__text .pmh-rich p { text-align: justify; }

/* ===== Ô dự án đã bàn giao ===== */
.pmh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.pmh-tile { display: block; }
.pmh-tile__media { position: relative; display: block; overflow: hidden; aspect-ratio: 852 / 480; background: var(--panel); }
.pmh-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pmh-tile:hover img { transform: scale(1.04); }
.pmh-tile:hover .pmh-diamond { background: var(--red); }
.pmh-tile__name { display: block; margin-top: 12px; font-family: var(--font-heading, inherit); font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--red); }

/* ===== Thẻ bài viết ===== */
.pmh-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pmh-post { display: flex; flex-direction: column; gap: 10px; }
.pmh-post__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel); }
.pmh-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pmh-post:hover .pmh-post__media img { transform: scale(1.04); }
.pmh-post__meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.pmh-post__meta a { color: var(--brown); font-weight: 600; }
.pmh-block .pmh-post h3 { font-size: 17px; text-transform: none; line-height: 1.45; }
.pmh-post h3 a:hover { color: var(--brown); }
.pmh-post p { color: var(--muted); font-size: 14px; }

/* ===== Form đăng ký ===== */
.pmh-lead { background: var(--gold-band); border-block: 1px solid var(--gold-line); }
.pmh-lead__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.pmh-lead__text { display: flex; flex-direction: column; gap: 14px; }
.pmh-lead__text h2 { font-size: clamp(24px, 2.4vw, 30px); }
.pmh-lead__text ul { display: flex; flex-direction: column; gap: 4px; }
.pmh-lead__text strong { color: var(--brown); }
.pmh-lead__text a:hover { color: var(--red); }
.pmh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: #fff; padding: 28px; border: 1px solid var(--gold-line); }
.pmh-form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); margin: 0; }
.pmh-form-grid .pmh-span { grid-column: 1 / -1; }
.pmh-form-grid .wpcf7-form-control-wrap { display: block; }
.pmh-site .pmh-form-grid input:not([type="submit"]), .pmh-site .pmh-form-grid select { width: 100%; height: 46px; min-height: 46px; margin: 0; border: 1px solid var(--line); border-radius: 0; padding: 0 12px; font: 15px var(--font-text, system-ui, sans-serif); background-color: #fff; color: var(--text); box-shadow: none; }
.pmh-site .pmh-form-grid input:not([type="submit"]):focus, .pmh-site .pmh-form-grid select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px var(--gold-band); }
.pmh-site .pmh-form-grid input[type="submit"] { width: 100%; min-height: 48px; margin: 0; border: 0; border-radius: 0; background: var(--red); color: #fff; font: 600 14px var(--font-heading, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.pmh-site .pmh-form-grid input[type="submit"]:hover { background: var(--brown); }
.pmh-site .wpcf7-not-valid-tip { color: var(--red); font-size: 13px; margin-top: 4px; }
.pmh-site .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; }
.pmh-site .wpcf7-spinner { display: block; margin: 8px auto 0; }

/* ===== Footer ===== */
.pmh-footer { background: linear-gradient(180deg, #fff7e5 0%, var(--gold-band) 100%); padding: 56px 0 28px; font-size: 14px; line-height: 1.7; color: var(--text); border-top: 3px solid var(--gold); }
/* 3 khối cách đều nhau — (logo + liên hệ), cột link 1, cột link 2; khối cuối sát mép phải. */
.pmh-footer__cols { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px 64px; }
.pmh-footer__cols > div { display: flex; }
.pmh-footer .pmh-footer__about { flex: none; align-items: center; gap: 48px; }
/* Rộng vừa đủ cho tiêu đề và địa chỉ 2 dòng, để khoảng hở nhìn thấy bằng khoảng cách thật. */
.pmh-footer__about > div:last-child { width: 370px; text-wrap: pretty; }
.pmh-footer__brand { flex: none; }
/* Bỏ lớp bọc để 2 cột link thành phần tử cùng cấp với khối logo, chia khoảng cách đều. */
.pmh-footer .pmh-footer__links { display: contents; }
.pmh-footer__links > div { display: flex; flex-direction: column; }
.pmh-footer__brand img { width: 120px; }
.pmh-footer__menu { display: flex; flex-direction: column; }
.pmh-footer__menu li { margin: 0; }
.pmh-social { display: flex; gap: 10px; margin-top: 16px; }
.pmh-footer .pmh-social a { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border: 1px solid var(--gold-line); background: #fff; color: var(--red); transition: background-color .2s, color .2s, border-color .2s; }
.pmh-footer .pmh-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pmh-footer h4 { font-size: 14px; margin-bottom: 10px; }
.pmh-footer a { padding: 2px 0; }
.pmh-footer a:hover { color: var(--red); }
.pmh-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; border-top: 1px solid var(--gold-line); margin-top: 36px; padding-top: 22px; font-size: 13px; color: var(--muted); }
.pmh-footer__credit { flex: none; }
/* Chừa chỗ cho nút liên hệ nổi ở góc phải. */
@media (min-width: 601px) { .pmh-footer__bottom { padding-right: 200px; } }
.pmh-footer .pmh-footer__credit a { padding: 0; font-weight: 700; color: var(--red); }
.pmh-footer .pmh-footer__credit a:hover { color: var(--brown); }

/* Nút liên hệ nổi: hình thoi + nhãn đỏ như phumyhung.vn */
.pmh-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.pmh-float a { display: flex; align-items: center; }
.pmh-float__icon { position: relative; z-index: 1; width: 38px; height: 38px; margin-right: -12px; display: grid; place-items: center; color: var(--red); }
.pmh-float__icon::before { content: ""; position: absolute; inset: 0; background: #fff; border: 1px solid var(--red); transform: rotate(45deg); }
.pmh-float__icon svg { position: relative; }
.pmh-float__label { background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 14px 6px 22px; white-space: nowrap; }
.pmh-float a:hover .pmh-float__label { background: var(--brown); }

/* ===== Phân trang ===== */
.pmh-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pmh-pager .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold-line); background: #fff; color: var(--text); font-weight: 600; font-size: 14px; }
.pmh-pager .page-numbers.current, .pmh-pager a.page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ===== Nội dung UX Builder / bài viết ===== */
.pmh-site .pmh-content { color: var(--text); }
.pmh-site .pmh-content :is(h2, h3, h4) { color: var(--red); font-family: var(--font-heading, inherit); }
.pmh-site :is(.pmh-psec, .pmh-entry) :is(p, li, td) a:not(.button) { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.pmh-site .pmh-content img { height: auto; }

/* Tiêu đề section kiểu PMH (element "PMH Tiêu đề") */
.pmh-title { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.pmh-title--center { align-items: center; text-align: center; }
.pmh-site .pmh-title h2 { margin: 0; font-family: var(--font-heading, inherit); color: var(--red); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.pmh-title__line { width: 56px; height: 3px; background: var(--gold); }
.pmh-title p { margin: 0; color: var(--muted); }

/* Nền các khối */
.pmh-bg-panel { background: var(--panel); }
.pmh-bg-gold { background: var(--gold-band); }
.pmh-bg-white { background: #fff; }

/* ===== Trang chi tiết dự án ===== */
.pmh-phero { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 72vh, 720px); overflow: hidden; background: #2a1510; color: #fff; }
.pmh-phero__bg, .pmh-phero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pmh-phero__bg img { object-fit: cover; max-width: none; }
.pmh-phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 12, 8, .7) 0%, rgba(42, 12, 8, .35) 45%, rgba(42, 12, 8, 0) 70%), linear-gradient(0deg, rgba(42, 12, 8, .8) 0%, rgba(42, 12, 8, .3) 50%, rgba(42, 12, 8, .1) 80%); }
.pmh-phero__in { position: relative; z-index: 1; padding-block: 140px 48px; display: flex; flex-direction: column; gap: 16px; }
.pmh-block.pmh-phero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; }
.pmh-phero__desc { max-width: 680px; font-size: 17px; color: #f6ece4; }
.pmh-crumbs--light { color: #eadcd2; margin: 0; }
.pmh-crumbs--light a:hover { color: var(--gold); }

.pmh-subnav { position: sticky; top: 80px; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--gold-line); }
.admin-bar .pmh-subnav { top: 112px; }
.pmh-subnav .pmh-tabbar { border: 0; background: transparent; }
.pmh-subnav[hidden] { display: none; }
.pmh-project-content { scroll-margin-top: 140px; }
.pmh-project-content [id], #lien-he { scroll-margin-top: 130px; }

.pmh-psec { padding-block: 56px; }
.pmh-psec .row { max-width: none; margin-left: -15px; margin-right: -15px; }
.pmh-psec .col { padding-bottom: 0; }
.pmh-psec .pmh-content > *:last-child { margin-bottom: 0; }
.pmh-psec p { text-align: justify; }
.pmh-psec p:has(strong:only-child) strong, .pmh-psec h3 { color: var(--brown); }
.pmh-psec .img, .pmh-psec .img-inner { margin-bottom: 0; }

/* Bảng thông số */
.pmh-specs { background: #fff; border: 1px solid var(--gold-line); border-top: 3px solid var(--gold); padding: 8px 24px 20px; }
.pmh-specs__table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.pmh-specs__table th, .pmh-specs__table td { padding: 11px 0; border: 0; border-bottom: 1px dashed #e4ddd3; vertical-align: top; text-align: left; }
.pmh-specs__table th { width: 38%; color: var(--brown); font-weight: 600; text-transform: none; letter-spacing: 0; padding-right: 12px; }
.pmh-specs__table td { color: var(--text); }
.pmh-specs__facts { margin-top: 16px; border-top: 0; padding-top: 0; }

/* Tiện ích */
.pmh-amenities { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.pmh-amenity { position: relative; display: block; overflow: hidden; height: 0; padding-top: 75%; background: var(--panel); }
.pmh-site .pmh-amenity img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pmh-amenity:hover img { transform: scale(1.05); }
.pmh-amenity__cap { position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; background: linear-gradient(transparent, rgba(42, 12, 8, .8)); }

/* Trang Tất cả dự án */
.pmh-filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
.pmh-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Nội dung trang Giới thiệu */
.pmh-psec ul { margin: 0 0 1.2em 1.2em; }
.pmh-psec li { margin-bottom: .4em; }
.pmh-site .pmh-psec blockquote { margin: 1.5em 0; padding: 20px 24px; border-left: 3px solid var(--gold); background: #fff; font-style: italic; color: var(--brown); font-size: 15px; }

/* Thông tin liên hệ + bản đồ */
.pmh-cinfo { background: #fff; border: 1px solid var(--gold-line); border-top: 3px solid var(--gold); padding: 24px 28px; height: 100%; }
.pmh-site .pmh-cinfo__name { margin: 0 0 14px; font-size: 17px; color: var(--red); text-transform: uppercase; }
.pmh-cinfo dl { margin: 0; }
.pmh-cinfo dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed #e4ddd3; }
.pmh-site .pmh-cinfo dt { color: var(--brown); font-weight: 600; text-transform: none; margin: 0; }
.pmh-site .pmh-cinfo dd { margin: 0; }
.pmh-site .pmh-cinfo a { color: var(--text); text-decoration: none; }
.pmh-site .pmh-cinfo a:hover { color: var(--red); }
.pmh-cinfo__note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.pmh-map { border: 1px solid var(--gold-line); background: var(--panel); }
.pmh-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ===== Blog: danh sách + chi tiết + sidebar ===== */
.pmh-blog { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.pmh-posts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pmh-blog__side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 24px; }
.admin-bar .pmh-blog__side { top: 136px; }
.pmh-widget { background: #fff; border: 1px solid var(--gold-line); border-top: 3px solid var(--gold); padding: 20px; }
.pmh-site .pmh-widget__title, .pmh-site .pmh-widget h3 { margin: 0 0 14px; font-family: var(--font-heading, inherit); font-size: 15px; font-weight: 700; color: var(--red); text-transform: uppercase; }
/* Widget Văn bản chứa khối pmh-widget riêng: bỏ khung ngoài để không bị viền đôi. */
.pmh-widget.widget_text { background: none; border: 0; padding: 0; }
.pmh-widget.widget_text .textwidget > p:empty { display: none; }
.pmh-widget ul { margin: 0; padding: 0; list-style: none; }
.pmh-widget > ul > li { margin: 0; padding: 8px 0; border-bottom: 1px dashed #e4ddd3; font-size: 14px; }
.pmh-widget > ul > li:last-child { border-bottom: 0; }
.pmh-widget a { color: var(--text); text-decoration: none; }
.pmh-widget a:hover { color: var(--red); }
.pmh-mini li { padding: 10px 0; }
.pmh-mini a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.pmh-mini__img { display: block; width: 72px; height: 54px; background: var(--panel); overflow: hidden; }
.pmh-site .pmh-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pmh-mini__text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.4; }
.pmh-mini__text time { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.pmh-widget__more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; }
.pmh-site .pmh-widget__more { color: var(--red); }
.pmh-widget--cta { background: var(--gold-band); display: flex; flex-direction: column; gap: 10px; }
.pmh-widget--cta p { margin: 0; font-size: 14px; }
.pmh-site .pmh-widget--cta .pmh-btn { width: 100%; }
.pmh-site .pmh-widget--cta .pmh-btn:not(.pmh-btn--line) { color: #fff; }
.pmh-site .pmh-widget--cta .pmh-btn--line { color: var(--red); }
.pmh-search { display: flex; margin: 0; }
.pmh-site .pmh-search input[type="search"] { flex: 1; height: 44px; margin: 0; border: 1px solid var(--line); border-right: 0; border-radius: 0; box-shadow: none; padding: 0 12px; font-size: 14px; background: #fff; }
.pmh-site .pmh-search button { width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--red); color: #fff; display: grid; place-items: center; }
.pmh-site .pmh-search button:hover { background: var(--brown); }

.pmh-pagehead--post { padding: 18px 0; }
.pmh-pagehead--post .pmh-crumbs { margin: 0; }
.pmh-article__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pmh-article__cat { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brown); }
.pmh-block .pmh-article h1 { font-size: clamp(24px, 2.6vw, 32px); text-transform: none; line-height: 1.35; }
.pmh-article__thumb { margin: 0 0 24px; }
.pmh-article__thumb img { width: 100%; }
.pmh-entry { font-size: 16px; line-height: 1.8; }
.pmh-site .pmh-entry p { margin: 0 0 1.1em; text-align: justify; }
.pmh-site .pmh-entry :is(h2, h3, h4) { margin: 1.4em 0 .6em; text-transform: none; color: var(--red); line-height: 1.4; }
.pmh-site .pmh-entry img { display: block; height: auto; margin: 1em auto; }
.pmh-site .pmh-entry figure { margin: 1.2em 0; }
.pmh-site .pmh-entry figcaption { font-size: 13px; color: var(--muted); text-align: center; font-style: italic; }
.pmh-site .pmh-entry ul, .pmh-site .pmh-entry ol { margin: 0 0 1.1em 1.4em; list-style: revert; }
.pmh-site .pmh-entry li { margin-bottom: .4em; }
.pmh-site .pmh-entry table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.pmh-site .pmh-entry :is(td, th) { border: 1px solid #e4ddd3; padding: 8px 10px; }
.pmh-article__foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--gold-line); font-size: 14px; }
.pmh-article__foot a { padding: 6px 14px; border: 1px solid var(--gold-line); background: #fff; font-weight: 600; }
.pmh-article__foot a:hover { color: var(--red); border-color: var(--red); }

/* Trang 404 */
.pmh-404 { max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.pmh-404__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
	.pmh-menu-toggle { display: inline-flex; }
	.pmh-header__in { position: relative; min-height: 68px; }
	.pmh-logo img { height: 56px; }
	.pmh-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--gold-line); padding: 4px 15px 12px; max-height: calc(100vh - 120px); overflow-y: auto; }
	.pmh-nav.is-open { display: block; }
	.pmh-nav__list { flex-direction: column; gap: 0; }
	.pmh-nav__list > li { display: block; }
	.pmh-nav__list > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
	.pmh-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
	.pmh-nav__list .sub-menu a { padding: 8px 0; }
	.pmh-cards, .pmh-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmh-blog { grid-template-columns: minmax(0, 1fr); }
	.pmh-blog__side { position: static; }
	.pmh-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pmh-amenities { --cols: 3 !important; }
	.pmh-subnav { top: 68px; }
	.admin-bar .pmh-subnav { top: 100px; }
}
@media (max-width: 860px) {
	.pmh-explore__grid, .pmh-about__grid, .pmh-lead__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.pmh-explore__grid { gap: 0; }
	.pmh-explore__panel { margin: -40px 15px 0; padding: 28px 22px; }
	.pmh-section { padding-block: 48px; }
	.pmh-footer__cols { justify-content: flex-start; }
	.pmh-footer .pmh-footer__about { flex-basis: 100%; }
}
@media (max-width: 782px) { .admin-bar .pmh-header { top: 46px; } }
@media (max-width: 767px) {
	.pmh-banner { min-height: 640px; }
	.pmh-banner::after { background: linear-gradient(0deg, rgba(42, 12, 8, .92) 0%, rgba(42, 12, 8, .65) 55%, rgba(42, 12, 8, .2) 85%); }
	.pmh-banner__in { padding-block: 200px 40px; }
	.pmh-banner__tagline { font-size: 16px; }
	.pmh-banner__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.pmh-banner__facts > div, .pmh-banner__facts > div:first-child { padding: 0 0 0 12px; border-left: 1px solid rgba(251, 182, 18, .55); }
	.pmh-banner__facts dt { font-size: 22px; }
}
@media (max-width: 600px) {
	.pmh-tabbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.pmh-tabbar button, .pmh-tabbar a { flex: none; }
	.pmh-cards, .pmh-posts, .pmh-posts--2 { grid-template-columns: minmax(0, 1fr); }
	.pmh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.pmh-tile__name { font-size: 12px; }
	.pmh-amenities { --cols: 2 !important; gap: 10px; }
	.pmh-specs { padding: 4px 16px 16px; }
	.pmh-form-grid { grid-template-columns: minmax(0, 1fr); padding: 20px; }
	.pmh-footer .pmh-footer__about { flex-direction: column; align-items: flex-start; gap: 20px; }
	.pmh-footer__about > div:last-child { width: auto; }
	.pmh-float__label { display: none; }
	.pmh-float__icon { margin-right: 0; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.pmh-site * { transition: none !important; }
}
