/*
Theme Name: LMHT OneGom
Theme URI: https://lmht.club
Author: LMHT
Description: Giao diện portal kiểu 1gom.vip — CSS/JS/font được mirror và enqueue chuẩn WordPress. Yêu cầu plugin LMHT Portal.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Text Domain: lmht-onegom
*/

/* Bootstrap styles loaded via wp_enqueue_style (main.css, lib.min.css, …). */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Thanh tìm kiếm + dropdown: mount = block relative; row = chỉ input + nút (flex), panel nằm ngoài flex row */
#search_section.lmht-search-section,
#search_section.lmht-search-section #search_wrapper {
	overflow: visible;
}

.lmht-home-search-mount {
	position: relative;
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
}

.lmht-home-search-row {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

/* Soi kèo — tiêu đề thẻ bài giống 1gom (Montserrat 16px đậm, đen) */
.lmht-soi-keo-card-title {
	font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #000;
	margin: 0;
}

/* Gợi ý tìm kiếm — bám class giống 1gom.vip (main.css + lib.min.css); chỉ bổ sung chọn bằng phím */
.suggestion-item.suggestion-item--selected {
	background-color: #f9fafb;
}

/* Căn fallback logo trong ô 48px khi ảnh lỗi (khớp .fallback-logo trong lib.min.css) */
.lmht-home-search-mount .suggestion-item .logo-cell .fallback-logo {
	position: absolute;
	inset: 0;
	margin: auto;
}
