/* =========================================================
   Land24h – Tùy chỉnh giao diện (plugin)
   Nạp sau style.css của theme "land24h".
   ========================================================= */

/* ---------- 1. Khối "Tin tức & cẩm nang" ----------
   Theme đang để .news-list giãn đều theo chiều cao bài lớn
   (justify-content:space-between). Đổi sang xếp từ trên xuống,
   khoảng cách cố định 16px. */
.news-feature{align-items:start}
.news-feature .news-list{
	justify-content:flex-start;
	align-content:flex-start;
	gap:16px;
}
.news-feature .news-list > .news-item{flex:0 0 auto}
.news-item .noimg{display:block;background:#e9edf2}

/* ---------- 2. Thẻ dự án: địa chỉ + nhãn HOT ---------- */
.card .card-meta span.l24x-addr{
	display:block;            /* ghi đè .card-meta span{display:flex} và quy tắc ẩn dòng 2 trên điện thoại */
	position:relative;
	padding-left:22px;
	font-size:13.5px;
	line-height:1.45;
	color:var(--text,#1d2735);
	/* tối đa 2 dòng */
	display:-webkit-box;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
	overflow:hidden;
}
.card .card-meta span.l24x-addr svg.l24x-pin{
	position:absolute;left:0;top:2px;
	width:16px;height:16px;margin:0;
	color:var(--accent,#e8590c);
}

.card .l24x-hot{
	position:absolute;top:8px;right:8px;z-index:2;
	display:block;width:48px;height:48px;line-height:0;
	pointer-events:none;
	filter:drop-shadow(0 1px 3px rgba(0,0,0,.3));
}
.card .l24x-hot svg{display:block;width:100%;height:100%;overflow:visible}
.card .l24x-hot .l24x-hot-seal{fill:#e8102a}
.card .l24x-hot .l24x-hot-text{
	fill:#fff;font:900 22px/1 Arial,Helvetica,sans-serif;letter-spacing:.5px;
}

@media (max-width:640px){
	.card .card-meta span.l24x-addr{font-size:12.5px;padding-left:20px}
	.card .card-meta span.l24x-addr svg.l24x-pin{width:14px;height:14px}
	.card .l24x-hot{top:6px;right:6px;width:40px;height:40px}
}

/* ---------- 3. Form "Cần tư vấn dự án phù hợp?" (Contact Form 7) ----------
   CF7 bọc các ô trong <p> và chèn <br>, nên lưới của theme không áp được.
   Xếp lại thành cột, khoảng cách 12px, bo góc 8px. */
.cta form.wpcf7-form{display:block}
.cta .l24-cf > p{
	display:flex;
	flex-direction:column;
	gap:12px;
	margin:0;
	position:relative;
}
.cta .l24-cf > p > br{display:none}
.cta .l24-cf .wpcf7-form-control-wrap{display:block;width:100%}
.cta .l24-cf input.wpcf7-form-control:not([type="submit"]){
	display:block;
	width:100%;
	box-sizing:border-box;
	border-radius:8px;
	padding:12px 14px;
	border:1px solid transparent;
}
.cta .l24-cf input.wpcf7-form-control:not([type="submit"]):focus{
	outline:none;border-color:var(--blue,#0a6ed1);
	box-shadow:0 0 0 3px rgba(10,110,209,.25);
}
.cta .l24-cf .wpcf7-submit{width:100%;border-radius:8px}
.cta .l24-cf .wpcf7-spinner{position:absolute;right:12px;bottom:12px;margin:0}
.cta .l24-cf .wpcf7-not-valid-tip{margin-top:4px;font-size:13px;color:#ffb4ab}
.cta .wpcf7-response-output{margin:12px 0 0;border-radius:8px}
