/* ==========================================================================
   WINTERIP — CSS TUỲ BIẾN
   --------------------------------------------------------------------------
   Chuyển từ Customize > Additional CSS sang đây ngày 03/12/2026.
   Đặt tại: flatsome-child/assets/css/winter-custom.css
   Tự nạp nhờ đoạn glob trong functions.php.

   SAU KHI CHÉP FILE NÀY LÊN, PHẢI XOÁ TRỐNG Ô ADDITIONAL CSS.
   Để cả hai là mọi luật chạy hai lần, và bản trong Customizer in ra sau nên
   nó sẽ thắng — sửa file này sẽ không thấy gì thay đổi.

   ĐÃ KIỂM TRƯỚC KHI CHUYỂN
   Additional CSS của WordPress in ở wp_head priority 101, tức sau mọi file
   CSS enqueue. Chuyển vào file theme là nạp sớm hơn, nên luật nào đang
   thắng nhờ thứ tự sẽ thua. Đã dò flatsome.css: theme KHÔNG có luật nào cho
   #masthead, không có luật nào cho .entry-content table, và hai luật
   .header-inner của nó chỉ đặt margin/padding/flex-wrap. Không luật nào ở
   đây sống nhờ thứ tự, nên chuyển là an toàn.

   BA THAY ĐỔI SO VỚI BẢN CŨ — xem ghi chú tại chỗ ở mục 4
   ========================================================================== */


/* =====================================================================
   1) TESTIMONIAL TRANG CHỦ
   ===================================================================== */
.my-fixed-testimonial-slider {
	min-height: 80vh;
	overflow: hidden;
}

.my-fixed-testimonial-slider .flickity-viewport {
	min-height: 80vh !important;
}

.my-fixed-testimonial-slider .ux-slider-slide {
	min-height: 80vh;
	display: flex;
	align-items: center;
}


/* =====================================================================
   2) ĐÃ BỎ — ẨN HUY HIỆU reCAPTCHA

   Bản cũ có .grecaptcha-badge { visibility: hidden !important }.
   Bỏ vì functions.php đã in sẵn một khối <style> ở wp_head priority 100
   làm đúng việc đó với 6 thuộc tính kèm !important, mạnh hơn hẳn.
   Khai hai lần chỉ thêm việc cho trình duyệt. Badge vẫn ẩn.
   ===================================================================== */


/* =====================================================================
   3) KHOẢNG TRẮNG DO FLATSOME + POLYLANG
   Dùng !important trên body. Nếu sau này header dính không chừa đúng chỗ,
   đây là chỗ đầu tiên nên nghi.
   ===================================================================== */
body {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}


/* =====================================================================
   4) HEADER — MENU TĨNH HOÀN TOÀN

   BA THAY ĐỔI, đổi px sang rem để giãn cùng winter-layout.css:

     min-height  96px -> 5.6rem   (bằng .header-main, hai cái khỏi đánh nhau)
                                   màn 1536 ra 91px, màn 2560 ra 123px
     max-height  50px -> 3.7rem   logo. Bản cũ có !important nên luật
                                   #logo#logo img trong winter-layout.css
                                   không đè được, logo đứng yên 50px.
     font-size   15px -> 1.1rem   ĐÂY LÀ CHỖ QUAN TRỌNG NHẤT. 15px khoá
                                   cứng cỡ chữ menu, độ ưu tiên (1,2,2) nên
                                   thắng cả Nav Size của Customizer (0,1,2)
                                   lẫn mọi luật trong file theme. Vì vậy
                                   chọn XL không có tác dụng gì.
                                   1.1rem đúng bằng 15px ở cỡ chữ gốc hiện
                                   tại nên màn nhỏ không đổi, màn 2560 ra 24px.
   ===================================================================== */
#masthead .header-main .header-inner {
	min-height: 5.6rem;
}

#masthead #logo img {
	max-height: 3.7rem !important;
	width: auto;
}

#masthead .header-nav.nav > li {
	margin: 0 !important;
}

#masthead .header-nav.nav > li > a {
	padding-left: 18px !important;
	padding-right: 18px !important;
	font-size: 1.1rem;
	font-weight: 515 !important;
	color: #4B0082 !important;
	text-transform: none;
	letter-spacing: 0.2px;
	border-bottom: none !important;
	background: none !important;
	transition: none !important;
}

#masthead .header-nav.nav > li.menu-item-has-children > a::after,
#masthead .header-nav.nav > li.has-dropdown > a::after,
#masthead .header-nav.nav > li > a > .nav-dropdown-toggle,
#masthead .header-nav.nav > li > a i.icon-angle-down,
#masthead .header-nav.nav > li > a .icon-angle-down {
	display: none !important;
	content: none !important;
}

#masthead .header-nav.nav > li > a:hover {
	color: #4B0082 !important;
	border-bottom: none !important;
	background: none !important;
}

#masthead .header-nav.nav > li.active > a,
#masthead .header-nav.nav > li.current-menu-item > a,
#masthead .header-nav.nav > li.current-menu-parent > a,
#masthead .header-nav.nav > li.current-menu-ancestor > a {
	color: #1c1a5c !important;
	border-bottom: none !important;
	background: none !important;
}

#masthead {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
	position: relative;
	z-index: 99;
}

#masthead.stuck .header-main,
.header.stuck #masthead .header-main {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}


/* =====================================================================
   5) KHỐI NGÔN NGỮ
   ===================================================================== */
#masthead .header-nav.nav > li.lang-item {
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	width: auto !important;
	min-width: 0 !important;
	flex: 0 0 auto !important;
}

#masthead .header-nav.nav > li.lang-item > a {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0 3px !important;
	margin: 0 !important;
	width: auto !important;
	min-width: 0 !important;
	background: none !important;
	border: none !important;
	line-height: 1 !important;
	height: auto !important;
}

#masthead .header-nav.nav > li.lang-item.lang-item-first {
	border-left: 1px solid rgba(57, 53, 148, 0.25) !important;
	margin-left: 14px !important;
}

#masthead .header-nav.nav > li.lang-item.lang-item-first > a {
	padding-left: 12px !important;
}

#masthead .header-nav.nav > li.lang-item img,
#masthead .header-nav img.flag {
	vertical-align: middle !important;
	display: block !important;
	width: 20px !important;
	height: 13px !important;
	object-fit: cover !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	margin: 0 !important;
}


/* =====================================================================
   6) HEADER TRÊN DI ĐỘNG
   Giữ nguyên px: dưới 1200px thì winter-layout.css không giãn cỡ chữ gốc
   nữa, nên px ở đây là giá trị cố định đúng như ý, đổi sang rem không
   được gì mà còn khó đọc.
   ===================================================================== */
@media (max-width: 849px) {
	#masthead .header-main .header-inner {
		min-height: 64px;
	}

	#masthead #logo img {
		max-height: 40px !important;
	}
}


/* =====================================================================
   7) BẢNG TRONG BÀI VIẾT
   ===================================================================== */
.entry-content table {
	width: 100% !important;
	border-collapse: collapse !important;
	border: 1px solid #222222 !important;
	margin: 1.5em 0 !important;
	background: transparent !important;
}

.entry-content table td,
.entry-content table th {
	border: 1px solid #222222 !important;
	padding: 10px 14px !important;
	line-height: 1.6 !important;
	vertical-align: top !important;
	background: transparent !important;
}

.entry-content table strong,
.entry-content table b,
.entry-content table td strong,
.entry-content table th {
	font-weight: 700 !important;
}

.entry-content table em,
.entry-content table i {
	font-style: italic !important;
}

@media (max-width: 768px) {
	.entry-content {
		overflow-x: auto !important;
	}
}
