/* ==========================================================
   Bổ sung cho bản CodeIgniter (không sửa style.css gốc)
   ========================================================== */

/* Nút chuyển ngôn ngữ EN | VI trên menu */
.navbar .navbar-nav .nav-item.lang-switch {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 0;
}
.navbar .navbar-nav .lang-switch a.nav-link {
	padding-left: 4px;
	padding-right: 4px;
	opacity: .6;
	border-bottom: none !important;
	padding-bottom: 8px !important;
}
.navbar .navbar-nav .lang-switch a.nav-link.current-lang,
.navbar .navbar-nav .lang-switch a.nav-link:hover {
	opacity: 1;
	color: #f33f3f !important;
}
.navbar .navbar-nav .lang-switch .lang-sep {
	color: #888;
	margin: 5px 2px 0;
	font-size: 13px;
}

/* Trường chống spam (ẩn) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Ảnh trong danh sách bài viết luôn cùng tỉ lệ */
.service-item .services-item-image img { width: 100%; aspect-ratio: 370 / 270; object-fit: cover; }

.search-info { margin-bottom: 30px; font-weight: 500; }
.recent-post { margin-bottom: 12px; }
.recent-post a { color: #4a4a4a; }
.recent-post a:hover { color: #f33f3f; }

/* Nội dung bài viết */
.post-featured-image { margin-bottom: 30px; }
.post-featured-image img { width: 100%; }
.post-excerpt { font-size: 17px; color: #1a6692; line-height: 1.6; }
.post-content { font-size: 15px; font-weight: 300; color: #4a4a4a; line-height: 1.8; word-wrap: break-word; }
.post-content p { font-size: 15px; line-height: 1.8; margin-bottom: 18px; }
.post-content img { max-width: 100%; height: auto; margin: 10px 0; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 { color: #1e1e1e; margin: 25px 0 15px; }
.post-content ul, .post-content ol { padding-left: 25px; margin-bottom: 18px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content blockquote { border-left: 4px solid #f33f3f; padding: 10px 20px; background: #f7f7f7; margin: 20px 0; }
.post-content a { color: #f33f3f; }
.post-content iframe { max-width: 100%; }
.post-content .ql-align-center { text-align: center; }
.post-content .ql-align-right { text-align: right; }
.post-content .ql-align-justify { text-align: justify; }

.alert { border-radius: 0; font-size: 14px; }
