@import url('https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&family=Noto+Serif+SC:wght@400;600;700&family=Ma+Shan+Zheng&display=swap');

/* =====================================================================
   NAM PHƯƠNG LẦU — CHINESE STYLE SKIN  (中式风格皮肤)
   Toàn bộ tuỳ biến giao diện phong cách Trung Hoa nằm trong file này.
   Muốn gỡ bỏ hoàn toàn: xoá sạch nội dung file này (trả về file rỗng).
   ===================================================================== */

:root {
	/* Bảng màu Trung Hoa */
	--cn-red-ink:      #2E0606;   /* đỏ mực, nền sâu nhất      */
	--cn-red-deep:     #4A0C0C;   /* đỏ sơn mài                */
	--cn-red:          #6E1113;   /* đỏ chu sa                 */
	--cn-red-bright:   #A8201A;   /* đỏ son / triện            */
	--cn-gold:         #E6C87A;   /* kim sắc chính             */
	--cn-gold-light:   #F7E7BC;   /* kim sáng                  */
	--cn-gold-deep:    #B8912F;   /* kim đồng cổ               */

	/* Hoạ tiết hồi văn 回纹 (dải viền vàng) */
	--cn-fret: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='28'%3E%3Cg%20fill='none'%20stroke='%23E6C87A'%20stroke-width='1.6'%3E%3Crect%20x='3.8'%20y='3.8'%20width='20.4'%20height='20.4'/%3E%3Crect%20x='9.8'%20y='9.8'%20width='8.4'%20height='8.4'/%3E%3Cpath%20d='M0%2014h3.8M24.2%2014H28'/%3E%3C/g%3E%3C/svg%3E");

	/* Hoạ tiết tường vân 祥云 (mây cuộn) — dùng cho hoa văn dưới tiêu đề */
	--cn-cloud: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='72'%20height='16'%3E%3Cg%20fill='none'%20stroke='%23E6C87A'%20stroke-width='1.3'%20stroke-linecap='round'%3E%3Cpath%20d='M0%208h20'/%3E%3Cpath%20d='M28%208a4%204%200%201%201%208%200a4%204%200%201%200%208%200'/%3E%3Cpath%20d='M52%208h20'/%3E%3Cpath%20d='M24%208h2M46%208h2'/%3E%3C/g%3E%3C/svg%3E");

	/* Đèn lồng 灯笼 */
	--cn-lantern: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='60'%20height='170'%3E%3Cg%3E%3Cpath%20d='M30%200v20'%20stroke='%23B8912F'%20stroke-width='2'/%3E%3Crect%20x='19'%20y='19'%20width='22'%20height='7'%20rx='2'%20fill='%23B8912F'/%3E%3Cellipse%20cx='30'%20cy='54'%20rx='25'%20ry='27'%20fill='%23A8201A'%20stroke='%23E6C87A'%20stroke-width='2'/%3E%3Cg%20fill='none'%20stroke='%23E6C87A'%20stroke-width='1'%20opacity='.55'%3E%3Cpath%20d='M30%2027v54'/%3E%3Cpath%20d='M15%2032c-4%2012-4%2032%200%2044'/%3E%3Cpath%20d='M45%2032c4%2012%204%2032%200%2044'/%3E%3C/g%3E%3Crect%20x='19'%20y='79'%20width='22'%20height='7'%20rx='2'%20fill='%23B8912F'/%3E%3Cg%20stroke='%23C0392B'%20stroke-width='2.4'%20stroke-linecap='round'%3E%3Cpath%20d='M25%2087v22M30%2087v28M35%2087v22'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

	/* Ghi đè màu chủ đạo của Flatsome sang kim sắc */
	--primary-color: #E6C87A !important;
	--fs-color-primary: #E6C87A !important;
}

/* ---------------------------------------------------------------------
   1. NỀN & CHỮ  —  底色与字体
   --------------------------------------------------------------------- */

.sticky-add-to-cart--active,
#wrapper, #main, #main.dark {
	background-color: var(--cn-red-ink) !important;
}
/* Trang ngắn (404, cảm ơn…) không còn lộ dải nền xám mặc định dưới chân trang */
html { background-color: var(--cn-red-ink); }

/* CJK dùng thư pháp ZCOOL XiaoWei / Noto Serif SC,
   tiếng Việt & Latin vẫn giữ Philosopher / MinionPro (đứng trước trong stack) */
h1, h2, h3, h4, h5, h6,
.heading-font, .section-title {
	font-family: 'Philosopher', 'ZCOOL XiaoWei', 'Noto Serif SC', serif !important;
}
body, p, .from_the_blog_excerpt, .excerpt, td, li {
	font-family: 'MinionPro', 'Noto Serif SC', serif;
}
/* Không đổi font menu chính: giữ nguyên bề rộng chữ để menu không bị xuống dòng,
   chỉ bổ sung font dự phòng cho chữ Hán khi đổi sang bản tiếng Trung. */
.nav > li > a, .button, button { font-family: 'MinionPro', 'Noto Serif SC', sans-serif; }

::selection      { background: var(--cn-red-bright); color: var(--cn-gold-light); }
::-moz-selection { background: var(--cn-red-bright); color: var(--cn-gold-light); }

/* Thanh cuộn sơn mài */
html { scrollbar-color: var(--cn-gold-deep) var(--cn-red-ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cn-red-ink); }
::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--cn-gold), var(--cn-gold-deep));
	border-radius: 0;
	border: 2px solid var(--cn-red-ink);
}

/* ---------------------------------------------------------------------
   2. ĐẦU TRANG  —  头部：金色回纹 + đèn lồng
   --------------------------------------------------------------------- */

#header .header-wrapper { position: relative; }

/* Dải hồi văn vàng chạy dưới header */
#masthead::after,
.header-bottom::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 14px;
	background: var(--cn-fret) repeat-x center / 28px 28px;
	opacity: .75;
	pointer-events: none;
	z-index: 5;
}
#masthead { position: relative; }

/* Viền chỉ vàng mảnh sát mép dưới header */
#header .header-wrapper::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cn-gold-deep) 15%, var(--cn-gold) 50%, var(--cn-gold-deep) 85%, transparent);
	z-index: 6;
}

/* Đôi đèn lồng treo hai góc trên (chỉ hiện trên màn hình rộng) */
body::before, body::after {
	content: "";
	position: fixed;
	top: -10px;
	width: 86px; height: 244px;
	background: var(--cn-lantern) no-repeat top center / contain;
	z-index: 31;
	pointer-events: none;
	filter: drop-shadow(0 8px 18px rgba(0,0,0,.6));
	animation: cn-sway 6s ease-in-out infinite;
	transform-origin: 50% 0;
}
body::before { left: 18px; }
body::after  { right: 18px; animation-delay: -3s; }

@keyframes cn-sway {
	0%, 100% { transform: rotate(-2.2deg); }
	50%      { transform: rotate(2.2deg); }
}

@media (max-width: 1300px) {
	body::before, body::after { display: none; }
}

/* Menu chính: gạch chân đổi thành nét vàng
   (không chỉnh letter-spacing/font ở đây — sẽ làm menu tràn xuống hàng thứ hai) */
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before,
.nav-line > li > a:before {
	background: linear-gradient(90deg, transparent, var(--cn-gold), transparent) !important;
	height: 2px;
}
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li.current > a { color: var(--cn-gold-light) !important; }

/* Dropdown kiểu khung gỗ sơn son */
.nav .nav-dropdown {
	border: 1px solid var(--cn-gold-deep) !important;
	box-shadow: 0 0 0 3px rgba(46,6,6,.9), 0 18px 40px rgba(0,0,0,.55) !important;
}
.nav-dropdown.dark > li > a:hover { background: var(--cn-red) !important; }

/* ---------------------------------------------------------------------
   3. TIÊU ĐỀ MỤC  —  标题：kim tuyến + tường vân
   --------------------------------------------------------------------- */

.section-title .section-title-main,
h1.entry-title {
	background: linear-gradient(180deg, #FBF0D3 0%, #E6C87A 45%, #C8A144 75%, #A8801F 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: none;
	letter-spacing: .03em;
}

/* Hoa văn mây cuộn dưới tiêu đề canh giữa */
.section-title.section-title-center { flex-direction: column; }
.section-title.section-title-center .section-title-main::after,
.text-center .section-title-normal::after {
	content: "";
	display: block;
	width: 72px; height: 16px;
	margin: 12px auto 0;
	background: var(--cn-cloud) no-repeat center / 72px 16px;
}
/* Vô hiệu gạch ngang vuông cũ, thay bằng hoa văn */
.text-center .section-title-normal::after { background-color: transparent !important; max-width: none; }

/* Gạch phân cách chung → nét vàng chuyển sắc */
.dark .is-divider, .is-divider {
	background: linear-gradient(90deg, transparent, var(--cn-gold-deep), transparent) !important;
	height: 1px !important;
}

/* ---------------------------------------------------------------------
   4. NÚT BẤM  —  按钮：biển ngạch sơn son thếp vàng
   --------------------------------------------------------------------- */

a.button, button, input[type="submit"] { transition: all .28s ease; }

a.button.primary,
a.button.button-link.primary,
.header-main .header-button > .button:not(.is-outline),
.wpcf7-form input[type="submit"] {
	filter: drop-shadow(0 0 0 rgba(230,200,122,0));
}
a.button.primary:hover,
a.button.button-link.primary:hover,
.header-main .header-button > .button:not(.is-outline):hover,
.wpcf7-form input[type="submit"]:hover {
	filter: drop-shadow(0 0 10px rgba(230,200,122,.55)) brightness(1.12);
	color: var(--cn-gold-light) !important;
}

/* Nút thường (không dùng ảnh nền) → khung vàng cắt góc kiểu triện */
a.button:not(.primary):not(.is-outline):not(.icon),
.button.is-outline:not(.icon) {
	background: linear-gradient(180deg, rgba(110,17,19,.55), rgba(46,6,6,.75)) !important;
	border: 1px solid var(--cn-gold-deep) !important;
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.9), inset 0 0 0 4px rgba(230,200,122,.45);
	color: var(--cn-gold) !important;
	border-radius: 0 !important;
	clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
}
a.button:not(.primary):not(.is-outline):not(.icon):hover,
.button.is-outline:not(.icon):hover {
	background: linear-gradient(180deg, var(--cn-red-bright), var(--cn-red)) !important;
	color: var(--cn-gold-light) !important;
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.9), inset 0 0 0 4px var(--cn-gold), 0 0 16px rgba(230,200,122,.35);
}

/* ---------------------------------------------------------------------
   5. THẺ NỘI DUNG  —  卡片：giấy tuyên + con dấu son
   --------------------------------------------------------------------- */

/* Giữ nguyên dáng khung chạm trổ của theme, nhưng "sơn son thếp vàng" lại:
   dùng chính ảnh khung làm mặt nạ (mask) rồi tô nền đỏ sơn mài + viền kim. */
.box.box-badge {
	position: relative;
	background-image: none !important;
	--cn-plaque: url('/wp-content/themes/loodo-starter/inc/imgs/postbg.png');
}
.gallery-item .box.box-badge { --cn-plaque: url('/wp-content/themes/loodo-starter/inc/imgs/gallerypostbg.png'); }
.ud-item .box.box-badge      { --cn-plaque: url('/wp-content/themes/loodo-starter/inc/imgs/udbg.png'); }

.box.box-badge::before,
.box.box-badge::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	-webkit-mask-image: var(--cn-plaque);          mask-image: var(--cn-plaque);
	-webkit-mask-repeat: no-repeat;                mask-repeat: no-repeat;
	-webkit-mask-position: center;                 mask-position: center;
	-webkit-mask-size: contain;                    mask-size: contain;
}
/* lớp dưới = viền kim */
.box.box-badge::before {
	background: linear-gradient(180deg, #F7E7BC 0%, #E6C87A 38%, #B8912F 72%, #8C6A1C 100%);
}
/* lớp trên = mặt biển đỏ sơn mài, thu nhỏ chút để lộ viền kim */
.box.box-badge::after {
	background: linear-gradient(165deg, #7E1416 0%, #5A0D0D 48%, #360707 100%);
	transform: scale(.9915);
}
.box.box-badge > * { position: relative; z-index: 1; }

/* Chữ trong thẻ đổi sang kim sắc cho hợp nền đỏ */
.box-badge .box-text .post-title,
.ud-item .box-badge .box-text .ud-title1,
.ud-item .box-badge .box-text .ud-title2 { color: var(--cn-gold-light) !important; }
.box-badge .box-text .from_the_blog_excerpt,
.box-badge .box-text .from_the_blog_excerpt p,
.ud-item .box-badge .box-text .from_the_blog_excerpt,
.ud-item .box-badge .box-text .from_the_blog_excerpt p { color: #E4CE97 !important; }
.box-badge .box-text .post-title:hover { color: #FFF3D6 !important; }

/* Chữ Hán cao hơn chữ Latin → nới dòng và cắt gọn bằng line-clamp
   để tiêu đề/trích dẫn không bị chồng chữ hay cụt ngang thân chữ. */
.box-badge .box-text .post-title {
	height: auto !important;
	max-height: none !important;
	line-height: 1.35 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.box-badge .box-text .from_the_blog_excerpt,
.ud-item .box-badge .box-text .from_the_blog_excerpt {
	max-height: none !important;
	line-height: 1.5 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.icon-box.tmenu-item .icon-box-text p.excerpt {
	max-height: none !important;
	line-height: 1.45 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Ngày đăng → con dấu son 印章 */
.box-text .post-meta.is-small {
	display: inline-block;
	color: var(--cn-gold-light) !important;
	background: var(--cn-red-bright);
	border: 1px solid rgba(255,255,255,.28);
	box-shadow: 0 2px 6px rgba(0,0,0,.25);
	padding: 2px 10px;
	font-weight: 600;
	letter-spacing: .06em;
	border-radius: 2px;
}
.box-text .post-meta.is-small img { filter: brightness(0) invert(1); opacity: .85; }

/* Khung cửa nguyệt 月洞门 cho ảnh trong thẻ thư viện / ưu đãi */
.ud-item .box.box-badge .box-image .image-cover,
.gallery-item .box.box-badge .box-image .image-cover,
.ud-item .box.box-badge .box-image img {
	border-radius: 50% 50% 6px 6px / 34% 34% 6px 6px;
	overflow: hidden;
}
.ud-item .box.box-badge .box-image {
	box-shadow: inset 0 0 0 1px rgba(184,145,47,.45);
}

/* Thẻ món ăn — cùng lối sơn son thếp vàng */
.icon-box.tmenu-item {
	position: relative;
	background-image: none !important;
	--cn-plaque: url('/wp-content/themes/loodo-starter/inc/imgs/menu-item-bg.png');
}
.icon-box.tmenu-item::before,
.icon-box.tmenu-item::after {
	content: "";
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	-webkit-mask-image: var(--cn-plaque);   mask-image: var(--cn-plaque);
	-webkit-mask-repeat: no-repeat;         mask-repeat: no-repeat;
	-webkit-mask-position: center;          mask-position: center;
	-webkit-mask-size: contain;             mask-size: contain;
}
.icon-box.tmenu-item::before { background: linear-gradient(180deg, #F7E7BC, #B8912F); }
.icon-box.tmenu-item::after  { background: linear-gradient(165deg, #7E1416, #400909); transform: scale(.988); }
.icon-box.tmenu-item > * { position: relative; z-index: 1; }
.icon-box.tmenu-item .title { color: var(--cn-gold-light) !important; }
.icon-box.tmenu-item .icon-box-text p { color: #E4CE97 !important; }
.icon-box.tmenu-item hr { border-color: rgba(230,200,122,.6) !important; }
.icon-box.tmenu-item img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(230,200,122,.5); }

/* Tab thực đơn — biển ngạch treo */
.tabbed-content.menu-tabs ul.nav li.tab > a {
	position: relative;
	background-image: none !important;
	color: var(--cn-gold) !important;
	--cn-plaque: url('/wp-content/themes/loodo-starter/inc/imgs/menu-tab-bg.png');
}
.tabbed-content.menu-tabs ul.nav li.tab > a::before,
.tabbed-content.menu-tabs ul.nav li.tab > a::after {
	content: "";
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	-webkit-mask-image: var(--cn-plaque);   mask-image: var(--cn-plaque);
	-webkit-mask-repeat: no-repeat;         mask-repeat: no-repeat;
	-webkit-mask-position: center;          mask-position: center;
	-webkit-mask-size: contain;             mask-size: contain;
}
.tabbed-content.menu-tabs ul.nav li.tab > a::before { background: linear-gradient(180deg, #F7E7BC, #B8912F); }
.tabbed-content.menu-tabs ul.nav li.tab > a::after  { background: linear-gradient(165deg, #6E1113, #3A0808); transform: scale(.97); }
/* Slider nằm trong tab bị Flatsome tính sai vị trí dọc (top: auto -> -50% chiều cao ô),
   khiến thẻ món bị cắt mất nửa trên vì .flickity-viewport có overflow:hidden. */
.tabbed-content.menu-tabs .flickity-slider > .row,
.tabbed-content.menu-tabs .flickity-slider > .row_inner { top: 0 !important; }

/* Nhãn tab phải nằm gọn trong biển ngạch dù dài (EN/ZH dài hơn tiếng Việt) */
.tabbed-content.menu-tabs ul.nav li.tab > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1.05;
}
.tabbed-content.menu-tabs ul.nav li.tab > a > span {
	position: relative;
	z-index: 1;
	margin: 0 !important;
	font-size: 1.15em;
	line-height: 1.15;
	max-height: 2.4em;
	overflow: hidden;
}
.tabbed-content.menu-tabs ul.nav li.tab:hover > a::after,
.tabbed-content.menu-tabs ul.nav li.tab.active > a::after { background: linear-gradient(180deg, #F2DFA6, #C39A3C); }
.tabbed-content.menu-tabs ul.nav li.tab:hover > a,
.tabbed-content.menu-tabs ul.nav li.tab.active > a { color: #4A0C0C !important; }

/* ---------------------------------------------------------------------
   6. DẢI PHÂN CÁCH GIỮA CÁC MỤC  —  段落之间的回纹带
   --------------------------------------------------------------------- */

#content.content-area > .section + .section::before,
#content.content-area > .section:first-of-type::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 14px;
	background: var(--cn-fret) repeat-x center / 28px 28px;
	opacity: .42;
	pointer-events: none;
	z-index: 2;
}
#content.content-area > .section { position: relative; }

/* Mảng tranh nền sáng (Không gian quán) → phủ sắc mực đỏ cho hợp tông
   và để chữ kim sắc đọc rõ trên nền. */
.ud-section > .bg.section-bg { filter: sepia(.55) saturate(.75) contrast(1.05) brightness(.5); }
.ud-section > .bg.section-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 50% 40%, rgba(46,6,6,.35) 0%, rgba(30,4,4,.85) 100%),
		linear-gradient(180deg, rgba(74,12,12,.55), rgba(46,6,6,.75));
}

/* ---------------------------------------------------------------------
   7. CHÂN TRANG  —  页脚：phủ sắc mực đỏ + hồi văn
   --------------------------------------------------------------------- */

#footer { position: relative; }

/* Dải hồi văn vàng trên đỉnh chân trang */
#footer::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0;
	height: 16px;
	background: var(--cn-fret) repeat-x center / 28px 28px;
	opacity: .8;
	z-index: 3;
	pointer-events: none;
}

/* Phủ lớp mực đỏ lên ảnh nền chân trang cho hợp tông & dễ đọc */
#footer .section > .bg.section-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(46,6,6,.90) 0%, rgba(74,12,12,.93) 55%, rgba(20,3,3,.96) 100%);
}
#footer .section > .bg.section-bg { filter: saturate(.55); }

#footer, #footer p, #footer td, #footer li,
#footer .ux-menu-link__link, #footer a { color: var(--cn-gold) !important; }
#footer h1, #footer h2, #footer h3, #footer h4, #footer .section-title-main {
	color: var(--cn-gold-light) !important;
	-webkit-text-fill-color: var(--cn-gold-light);
}
#footer a:hover, #footer .ux-menu-link:hover .ux-menu-link__link { color: #FFF3D6 !important; }
#footer .absolute-footer, #footer .absolute-footer a { color: rgba(230,200,122,.75) !important; }

/* Icon mạng xã hội kiểu triện vuông */
.social-button, .social-icons .button.icon:not(.is-outline) {
	border-radius: 3px !important;
	background: linear-gradient(180deg, var(--cn-gold), var(--cn-gold-deep)) !important;
	box-shadow: 0 3px 10px rgba(0,0,0,.4);
}
.social-icons .button.icon:hover { background: var(--cn-red-bright) !important; }

/* Bản đồ nhúng: viền khung vàng */
.home-contact-map iframe, .footer-map iframe {
	border: 1px solid var(--cn-gold-deep) !important;
	border-radius: 2px !important;
	box-shadow: 0 0 0 4px rgba(46,6,6,.75);
}

/* ---------------------------------------------------------------------
   8. CHI TIẾT KHÁC  —  其他细节
   --------------------------------------------------------------------- */

/* Nút lên đầu trang: viền vàng phát sáng */
.back-to-top.button.circle {
	box-shadow: 0 0 0 1px var(--cn-gold-deep), 0 0 18px rgba(230,200,122,.35);
	border-radius: 50% !important;
	background-color: rgba(46,6,6,.85) !important;
}

/* Chấm slider: hồi văn */
.flickity-page-dots .dot { filter: sepia(.3) saturate(1.4) hue-rotate(-10deg); }
.flickity-page-dots .dot.is-selected { filter: none; }

/* Ảnh trong slider thư viện: bo góc nhẹ + viền vàng mảnh */
.home-gallery-slider img {
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(184,145,47,.55), 0 10px 30px rgba(0,0,0,.4);
}

/* Ô nhập liệu kiểu giấy cũ viền vàng */
input[type=email], input[type=date], input[type=search], input[type=number],
input[type=text], input[type=tel], input[type=url], input[type=password],
textarea, select {
	background: rgba(46,6,6,.55) !important;
	border: 1px solid rgba(184,145,47,.55) !important;
	border-radius: 2px !important;
	color: var(--cn-gold-light) !important;
	box-shadow: none !important;
}
input::placeholder, textarea::placeholder { color: rgba(230,200,122,.5) !important; }
input:focus, textarea:focus, select:focus {
	border-color: var(--cn-gold) !important;
	box-shadow: 0 0 10px rgba(230,200,122,.28) !important;
}

/* Tiêu đề trang con */
.normal-title .page-title-inner { position: relative; }
.dark .breadcrumbs a, .breadcrumbs a { color: var(--cn-gold) !important; }

/* Trích dẫn / accordion */
.accordion .accordion-title { border-color: rgba(184,145,47,.35) !important; }
.accordion .accordion-title.active span, .accordion .active .toggle { color: var(--cn-gold-light) !important; }

/* Giữ nguyên vùng nền sáng đã được tuỳ chỉnh riêng (VỀ CHÚNG TÔI / TUYỂN DỤNG) */
#row-437397969 .section-title-main,
#col-1855661100 .section-title-main {
	background: none !important;
	-webkit-text-fill-color: #5B0E0F;
	color: #5B0E0F !important;
}

/* ---------------------------------------------------------------------
   9. TRANG VĂN BẢN DÀI (điều khoản, chính sách)  —  条款页
   --------------------------------------------------------------------- */

.npl-legal {
	max-width: 880px;
	margin: 0 auto;
	color: #E9D6A8;
	line-height: 1.85;
	font-size: 1.02em;
}
.npl-legal > *:first-child { margin-top: 0; }

.npl-legal .npl-legal-meta {
	display: inline-block;
	margin-bottom: 30px;
	padding: 5px 16px;
	font-size: .85em;
	letter-spacing: .06em;
	color: var(--cn-gold) !important;
	border: 1px solid rgba(184,145,47,.5);
	background: rgba(46,6,6,.5);
	clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.npl-legal h2 {
	position: relative;
	margin: 2em 0 .7em;
	padding-left: 16px;
	font-size: 1.28em;
	line-height: 1.35;
	letter-spacing: .02em;
	color: var(--cn-gold-light) !important;
}
.npl-legal h2::before {
	content: "";
	position: absolute;
	left: 0; top: .28em;
	width: 4px; height: 1em;
	background: linear-gradient(180deg, var(--cn-gold), var(--cn-gold-deep));
}

.npl-legal p, .npl-legal li { color: #E9D6A8 !important; }
.npl-legal p { margin-bottom: 1.1em; }
.npl-legal ul { margin: 0 0 1.4em 1.2em; list-style: none; }
.npl-legal ul li { position: relative; padding-left: 20px; margin-bottom: .55em; }
.npl-legal ul li::before {
	content: "";
	position: absolute;
	left: 0; top: .72em;
	width: 6px; height: 6px;
	background: var(--cn-gold-deep);
	transform: rotate(45deg);
}
.npl-legal strong { color: var(--cn-gold-light) !important; }
.npl-legal a { color: var(--cn-gold) !important; text-decoration: underline; text-underline-offset: 3px; }
.npl-legal a:hover { color: #FFF3D6 !important; }

/* Vạch mây cuộn khép lại cuối văn bản */
.npl-legal .npl-legal-end {
	display: block;
	width: 72px; height: 16px;
	margin: 40px auto 0;
	background: var(--cn-cloud) no-repeat center / 72px 16px;
	opacity: .85;
}

@media (max-width: 767px) {
	.npl-legal { font-size: .96em; line-height: 1.75; }
	.npl-legal h2 { font-size: 1.12em; margin: 1.6em 0 .55em; padding-left: 13px; }
}

/* ---------------------------------------------------------------------
   10. THƯ VIỆN ẢNH GIAN PHÒNG  —  包厢图库
   --------------------------------------------------------------------- */

.npl-rooms-intro {
	max-width: 720px;
	margin: 0 auto 38px;
	text-align: center;
	color: #E4CE97;
	line-height: 1.75;
}

/* --- Lưới danh sách phòng --- */
.npl-rooms-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.npl-room-tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #2E0606;
	border: 1px solid rgba(184,145,47,.5);
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.85);
	clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
	transition: border-color .3s ease, box-shadow .3s ease;
}
.npl-room-tile.is-wide { grid-column: span 2; aspect-ratio: 8 / 3; }

.npl-room-tile-img { position: absolute; inset: 0; display: block; }
.npl-room-tile-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .55s ease;
}
.npl-room-tile:hover { border-color: var(--cn-gold); box-shadow: inset 0 0 0 3px rgba(46,6,6,.85), 0 0 22px rgba(230,200,122,.28); }
.npl-room-tile:hover .npl-room-tile-img img { transform: scale(1.06); }

.npl-room-tile-body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 40px 20px 18px;
	background: linear-gradient(180deg, rgba(20,3,3,0) 0%, rgba(20,3,3,.82) 55%, rgba(20,3,3,.95) 100%);
}
.npl-room-tile-name {
	font-family: 'Philosopher', 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
	font-size: 1.12em;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--cn-gold-light);
	text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.npl-room-tile-count {
	flex: 0 0 auto;
	font-size: .78em;
	letter-spacing: .05em;
	color: var(--cn-gold);
	border: 1px solid rgba(230,200,122,.45);
	padding: 2px 9px;
	white-space: nowrap;
}

.npl-rooms-pagination { margin-top: 34px; text-align: center; }
.npl-rooms-empty { text-align: center; color: #E4CE97; padding: 30px 0; }

/* --- Trang chi tiết: khảm ảnh, bỏ sidebar --- */
.npl-room-desc {
	max-width: 720px;
	margin: 0 auto 30px;
	text-align: center;
	color: #E4CE97;
	line-height: 1.75;
}

/* Khảm ảnh: tấm đầu lớn gấp bốn, các tấm sau nhỏ hơn */
.npl-room-photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 210px;
	gap: 14px;
}
/* Lưới tự thích ứng theo số ảnh để không còn ô trống lẻ.
   Các phòng hiện có 2–5 ảnh nên chỉ cần vài trường hợp dưới đây. */

/* 2 ảnh -> hai cột */
.npl-room-photos:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }

/* 3 hoặc 6 ảnh -> tấm đầu lớn gấp bốn, vừa khít khung */
.npl-room-photos:has(> :nth-child(3):last-child) > :first-child,
.npl-room-photos:has(> :nth-child(6):last-child) > :first-child { grid-column: span 2; grid-row: span 2; }

/* 4 ảnh -> tấm cuối trải hết hàng; 5 ảnh -> tấm cuối chiếm hai cột */
.npl-room-photos > :last-child:nth-child(4) { grid-column: 1 / -1; }
.npl-room-photos > :last-child:nth-child(5) { grid-column: span 2; }

.npl-room-photo {
	position: relative;
	display: block;
	overflow: hidden;
	background: #2E0606;
	border: 1px solid rgba(184,145,47,.45);
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.7);
	clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
	transition: border-color .3s ease, box-shadow .3s ease;
}
.npl-room-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .55s ease;
}
.npl-room-photo:hover { border-color: var(--cn-gold); box-shadow: inset 0 0 0 3px rgba(46,6,6,.7), 0 0 20px rgba(230,200,122,.25); }
.npl-room-photo:hover img { transform: scale(1.05); }

/* dấu phóng to góc trên bên phải khi rê chuột */
.npl-room-photo::after {
	content: "";
	position: absolute;
	top: 14px; right: 14px;
	width: 15px; height: 15px;
	border: 1.6px solid var(--cn-gold-light);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0,0,0,.35);
	opacity: 0;
	transform: scale(.7);
	transition: all .3s ease;
}
.npl-room-photo:hover::after { opacity: 1; transform: scale(1); }

.npl-room-body { max-width: 860px; margin: 30px auto 0; color: #E9D6A8; line-height: 1.8; }
.npl-room-body p { color: #E9D6A8 !important; }

/* --- Khối kêu gọi đặt bàn --- */
.npl-room-cta {
	max-width: 860px;
	margin: 46px auto 0;
	padding: 30px 26px;
	text-align: center;
	border: 1px solid rgba(184,145,47,.5);
	background: rgba(46,6,6,.55);
	clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}
.npl-room-cta h3 { margin-bottom: 8px; color: var(--cn-gold-light) !important; letter-spacing: .05em; }
.npl-room-cta p { color: #E4CE97 !important; margin-bottom: 20px; }
.npl-room-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.npl-room-btn {
	display: inline-block;
	padding: 11px 30px;
	font-size: .9em;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cn-gold) !important;
	border: 1px solid var(--cn-gold-deep);
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.9);
	clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
	transition: all .25s ease;
}
.npl-room-btn.is-primary { background: linear-gradient(180deg, rgba(110,17,19,.7), rgba(46,6,6,.85)); }
.npl-room-btn:hover {
	background: linear-gradient(180deg, #F2DFA6, #C39A3C);
	color: #4A0C0C !important;
	border-color: var(--cn-gold);
}

/* --- Điều hướng phòng trước / sau --- */
.npl-room-nav {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 900px;
	margin: 34px auto 0;
	padding-top: 22px;
	border-top: 1px solid rgba(184,145,47,.3);
}
.npl-room-nav-side { flex: 1 1 0; min-width: 0; }
.npl-room-nav-side.is-right { text-align: right; }
.npl-room-nav-mid { flex: 0 0 auto; }
.npl-room-nav a { color: var(--cn-gold) !important; font-size: .92em; letter-spacing: .03em; }
.npl-room-nav a:hover { color: #FFF3D6 !important; }
.npl-room-nav span { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.npl-room-nav-mid a { text-transform: uppercase; font-size: .82em; border-bottom: 1px solid rgba(230,200,122,.5); padding-bottom: 2px; }

@media (max-width: 849px) {
	.npl-rooms-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.npl-room-tile.is-wide { grid-column: span 2; aspect-ratio: 16 / 7; }
	.npl-room-photos { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

@media (max-width: 549px) {
	.npl-rooms-grid { grid-template-columns: 1fr; }
	.npl-room-tile, .npl-room-tile.is-wide { grid-column: span 1; aspect-ratio: 4 / 3; }
	.npl-room-photos { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 10px; }
	.npl-room-tile-body { padding: 30px 14px 14px; }
	.npl-room-tile-name { font-size: 1em; }
	.npl-room-nav { flex-direction: column; gap: 10px; text-align: center; }
	.npl-room-nav-side, .npl-room-nav-side.is-right { text-align: center; }
	.npl-room-cta-actions { flex-direction: column; align-items: center; }
	.npl-room-btn { width: 100%; max-width: 260px; }
}

/* ---------------------------------------------------------------------
   11. TRANG CÂU HỎI THƯỜNG GẶP  —  常见问题页
   --------------------------------------------------------------------- */

.npl-faq-page .container { padding-bottom: 30px; }

.npl-faq-intro {
	max-width: 680px;
	margin: 0 auto 34px;
	text-align: center;
	color: #E4CE97;
	line-height: 1.7;
}

/* Ô tìm kiếm */
.npl-faq-search {
	position: relative;
	max-width: 520px;
	margin: 0 auto 34px;
}
.npl-faq-search input[type="search"] {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 46px 0 44px;
	font-size: 1em;
	color: var(--cn-gold-light) !important;
	background: rgba(46,6,6,.6) !important;
	border: 1px solid rgba(184,145,47,.55) !important;
	border-radius: 0 !important;
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.85) !important;
	clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}
.npl-faq-search input[type="search"]:focus {
	border-color: var(--cn-gold) !important;
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.85), 0 0 14px rgba(230,200,122,.3) !important;
}
.npl-faq-search input::placeholder { color: rgba(230,200,122,.55) !important; }
.npl-faq-search input[type="search"]::-webkit-search-cancel-button { display: none; }

/* kính lúp vẽ bằng CSS */
.npl-faq-search::before {
	content: "";
	position: absolute;
	left: 18px; top: 50%;
	width: 13px; height: 13px;
	margin-top: -8px;
	border: 1.6px solid var(--cn-gold);
	border-radius: 50%;
	pointer-events: none;
}
.npl-faq-search::after {
	content: "";
	position: absolute;
	left: 29px; top: 50%;
	width: 7px; height: 1.6px;
	margin-top: 3px;
	background: var(--cn-gold);
	transform: rotate(45deg);
	pointer-events: none;
}
.npl-faq-clear {
	position: absolute;
	right: 12px; top: 50%;
	transform: translateY(-50%);
	width: 28px !important;
	height: 28px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0;
	line-height: 1;
	font-size: 20px;
	color: var(--cn-gold) !important;
	background: transparent !important;
	border: 1px solid rgba(230,200,122,.45) !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	cursor: pointer;
}
.npl-faq-clear:hover { background: var(--cn-gold) !important; color: #4A0C0C !important; }

.npl-faq-empty {
	max-width: 760px;
	margin: 0 auto 24px;
	padding: 18px 20px;
	text-align: center;
	color: #E4CE97;
	border: 1px dashed rgba(184,145,47,.5);
	background: rgba(46,6,6,.4);
}

/* Danh sách câu hỏi */
.npl-faq-list { max-width: 860px; margin: 0 auto; }

.npl-faq-item {
	margin-bottom: 14px;
	background: linear-gradient(165deg, rgba(110,17,19,.5), rgba(46,6,6,.72));
	border: 1px solid rgba(184,145,47,.45);
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.7);
	clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
	transition: border-color .25s ease;
}
.npl-faq-item[open] { border-color: var(--cn-gold-deep); }
.npl-faq-item:hover { border-color: rgba(230,200,122,.75); }

.npl-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 22px;
	cursor: pointer;
	list-style: none;
	font-family: 'Philosopher', 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
	font-size: 1.08em;
	line-height: 1.4;
	color: var(--cn-gold-light) !important;
}
.npl-faq-q::-webkit-details-marker { display: none; }
.npl-faq-q::marker { content: ""; }

/* dấu cộng / trừ bằng CSS */
.npl-faq-q i {
	position: relative;
	flex: 0 0 auto;
	width: 22px; height: 22px;
	border: 1px solid rgba(230,200,122,.55);
	border-radius: 2px;
	transition: all .25s ease;
}
.npl-faq-q i::before,
.npl-faq-q i::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	background: var(--cn-gold);
	transition: transform .25s ease, opacity .25s ease;
}
.npl-faq-q i::before { width: 10px; height: 1.6px; margin: -1px 0 0 -5px; }
.npl-faq-q i::after  { width: 1.6px; height: 10px; margin: -5px 0 0 -1px; }
.npl-faq-item[open] .npl-faq-q i { background: var(--cn-gold); border-color: var(--cn-gold); }
.npl-faq-item[open] .npl-faq-q i::before { background: #4A0C0C; }
.npl-faq-item[open] .npl-faq-q i::after  { opacity: 0; transform: scaleY(0); }

.npl-faq-a {
	padding: 0 22px 20px;
	color: #E9D6A8;
	line-height: 1.8;
}
.npl-faq-a::before {
	content: "";
	display: block;
	height: 1px;
	margin: 0 0 16px;
	background: linear-gradient(90deg, rgba(184,145,47,.6), transparent);
}
.npl-faq-a p { color: #E9D6A8 !important; margin-bottom: .9em; }
.npl-faq-a p:last-child { margin-bottom: 0; }
.npl-faq-a a { color: var(--cn-gold) !important; text-decoration: underline; text-underline-offset: 3px; }
.npl-faq-a ul { margin: 0 0 1em 1.1em; }
.npl-faq-a li { color: #E9D6A8 !important; margin-bottom: .4em; }

/* Khối liên hệ cuối trang */
.npl-faq-cta {
	max-width: 860px;
	margin: 44px auto 0;
	padding: 30px 26px;
	text-align: center;
	border: 1px solid rgba(184,145,47,.5);
	background: rgba(46,6,6,.55);
	clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}
.npl-faq-cta h3 { margin-bottom: 8px; color: var(--cn-gold-light) !important; letter-spacing: .05em; }
.npl-faq-cta p { color: #E4CE97 !important; margin-bottom: 16px; }
.npl-faq-cta-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.npl-faq-cta-lines a { color: var(--cn-gold) !important; font-weight: 600; font-size: 1.05em; }
.npl-faq-cta-lines a:hover { color: #FFF3D6 !important; }

@media (max-width: 767px) {
	.npl-faq-intro { font-size: .96em; margin-bottom: 26px; }
	.npl-faq-search input[type="search"] { height: 46px; font-size: .95em; }
	.npl-faq-q { padding: 14px 16px; font-size: 1em; gap: 12px; }
	.npl-faq-a { padding: 0 16px 16px; font-size: .96em; }
	.npl-faq-cta { padding: 24px 18px; }
}

/* ---------------------------------------------------------------------
   11. QUYỂN THỰC ĐƠN  —  菜单翻页书
   --------------------------------------------------------------------- */

.npl-book-btn-wrap { text-align: center; margin-top: 6px; }

.npl-book-btn {
	display: inline-block;
	padding: 13px 42px;
	color: var(--cn-gold) !important;
	font-size: .95em;
	letter-spacing: .1em;
	text-transform: uppercase;
	background: linear-gradient(180deg, rgba(110,17,19,.6), rgba(46,6,6,.8));
	border: 1px solid var(--cn-gold-deep);
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.9), inset 0 0 0 4px rgba(230,200,122,.45);
	clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
	transition: all .28s ease;
}
.npl-book-btn:hover {
	background: linear-gradient(180deg, #F2DFA6, #C39A3C);
	color: #4A0C0C !important;
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.9), inset 0 0 0 4px var(--cn-gold), 0 0 20px rgba(230,200,122,.4);
}

/* Hộp xem quyển thực đơn */
body.npl-book-open { overflow: hidden; }

.npl-book-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 26px 18px;
	background: radial-gradient(120% 100% at 50% 40%, rgba(46,6,6,.90), rgba(12,2,2,.97));
	backdrop-filter: blur(3px);
	animation: npl-book-in .22s ease;
}
.npl-book-overlay[hidden] { display: none; }

@keyframes npl-book-in { from { opacity: 0 } to { opacity: 1 } }

.npl-book-dialog {
	position: relative;
	width: min(1400px, 94vw);
	height: min(880px, 88vh);
	display: flex;
	flex-direction: column;
	background: #2E0606;
	border: 1px solid var(--cn-gold-deep);
	box-shadow: 0 0 0 4px rgba(46,6,6,.9), 0 0 0 5px rgba(230,200,122,.4), 0 30px 70px rgba(0,0,0,.6);
}

.npl-book-bar {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 14px;
	background: linear-gradient(180deg, #6E1113, #3A0808);
	border-bottom: 1px solid rgba(230,200,122,.35);
}
.npl-book-newtab {
	color: var(--cn-gold) !important;
	font-size: .85em;
	letter-spacing: .05em;
}
.npl-book-newtab:hover { color: #FFF3D6 !important; }

.npl-book-close {
	/* Flatsome áp min-height 55px + margin-bottom 22px cho mọi <button> -> phải gỡ */
	width: 34px !important;
	height: 34px !important;
	min-height: 0 !important;
	margin: 0 !important;
	flex: 0 0 auto;
	line-height: 1;
	font-size: 26px;
	padding: 0;
	color: var(--cn-gold) !important;
	background: transparent !important;
	border: 1px solid rgba(230,200,122,.5) !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: all .2s ease;
}
.npl-book-close:hover {
	background: var(--cn-gold) !important;
	color: #4A0C0C !important;
}

.npl-book-frame { flex: 1 1 auto; position: relative; background: #1B1210; }
.npl-book-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

@media (max-width: 767px) {
	.npl-book-overlay { padding: 10px; }
	.npl-book-dialog { width: 100%; height: 92vh; }
	.npl-book-btn { padding: 11px 26px; font-size: .85em; letter-spacing: .06em; }
}

/* ---------------------------------------------------------------------
   10. TRANG TUYỂN DỤNG  —  招聘页
   --------------------------------------------------------------------- */

.npl-td-page .container, .npl-td-single .container { padding-bottom: 40px; }

/* Flatsome in phần trích dẫn ra ngoài container ở trang chi tiết vị trí — ẩn đi */
body.single-tuyen-dung .page-header-excerpt { display: none !important; }

.npl-td-intro {
	max-width: 780px;
	margin: 0 auto 46px;
	text-align: center;
	color: #E4CE97;
	font-size: 1.05em;
	line-height: 1.7;
}
.npl-td-intro p { margin-bottom: .8em; }

/* Tên bộ phận: hai bên là dải hồi văn */
.npl-td-group { margin-bottom: 52px; }
.npl-td-group-title {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 26px;
	font-size: 1.35em;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cn-gold-light) !important;
}
.npl-td-group-title::before,
.npl-td-group-title::after {
	content: "";
	flex: 1 1 auto;
	height: 14px;
	background: var(--cn-fret) repeat-x center / 28px 28px;
	opacity: .45;
}
.npl-td-group-title span { flex: 0 0 auto; }

.npl-td-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
}

/* Thẻ vị trí: biển sơn son viền kim, cắt góc */
.npl-job-inner {
	position: relative;
	height: 100%;
	padding: 30px 28px 26px;
	background: linear-gradient(165deg, #7E1416 0%, #5A0D0D 48%, #360707 100%);
	border: 1px solid var(--cn-gold-deep);
	box-shadow: inset 0 0 0 4px rgba(46,6,6,.85), inset 0 0 0 5px rgba(230,200,122,.4), 0 14px 34px rgba(0,0,0,.45);
	clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.npl-job:hover .npl-job-inner {
	transform: translateY(-4px);
	box-shadow: inset 0 0 0 4px rgba(46,6,6,.85), inset 0 0 0 5px var(--cn-gold), 0 18px 42px rgba(0,0,0,.55);
}
.npl-job.is-expired .npl-job-inner { opacity: .55; }

.npl-job-title { margin: 0 0 12px; font-size: 1.25em; line-height: 1.3; }
.npl-job-title a { color: var(--cn-gold-light) !important; }
.npl-job-title a:hover { color: #FFF3D6 !important; }

.npl-job-divider {
	display: block;
	width: 72px; height: 16px;
	margin-bottom: 16px;
	background: var(--cn-cloud) no-repeat left center / 72px 16px;
	opacity: .9;
}

.npl-job-meta { list-style: none; margin: 0 0 14px; padding: 0; }
.npl-job-meta li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 5px 0;
	border-bottom: 1px dashed rgba(230,200,122,.22);
	font-size: .92em;
}
.npl-job-meta li:last-child { border-bottom: 0; }
.npl-job-meta span { color: rgba(230,200,122,.7); white-space: nowrap; flex: 0 0 auto; }
.npl-job-meta b { color: var(--cn-gold-light); font-weight: 600; text-align: right; }

.npl-job-excerpt { color: #E4CE97; font-size: .93em; line-height: 1.55; margin: 0 0 16px; }

.npl-job-btn {
	align-self: flex-start;
	margin-top: auto;
	padding: 9px 22px;
	color: var(--cn-gold) !important;
	border: 1px solid var(--cn-gold-deep);
	box-shadow: inset 0 0 0 3px rgba(46,6,6,.9);
	letter-spacing: .06em;
	font-size: .88em;
	text-transform: uppercase;
	clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
	transition: all .25s ease;
}
.npl-job-btn:hover {
	background: linear-gradient(180deg, #F2DFA6, #C39A3C);
	color: #4A0C0C !important;
	border-color: var(--cn-gold);
}

/* Khối "cách thức ứng tuyển" */
.npl-td-apply {
	margin-top: 50px;
	padding: 34px 30px;
	text-align: center;
	border: 1px solid rgba(184,145,47,.55);
	background: rgba(46,6,6,.55);
	clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}
.npl-td-apply h3 { color: var(--cn-gold-light) !important; margin-bottom: 10px; letter-spacing: .06em; }
.npl-td-apply p { color: #E4CE97; margin-bottom: 16px; }
.npl-td-apply-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.npl-td-apply-lines a, .npl-td-apply-lines span { color: var(--cn-gold) !important; font-weight: 600; }
.npl-td-apply-lines a:hover { color: #FFF3D6 !important; }

.npl-td-empty { text-align: center; color: #E4CE97; padding: 30px 0 10px; }

/* Trang chi tiết vị trí */
.npl-job-dept { text-align: center; color: var(--cn-gold); letter-spacing: .12em; text-transform: uppercase; font-size: .9em; margin-top: -6px; }
.npl-td-expired-note { text-align: center; color: #F0B8B2; }

.npl-job-factbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1px;
	margin: 26px 0 34px;
	background: rgba(184,145,47,.35);
	border: 1px solid rgba(184,145,47,.5);
}
.npl-job-factbar > div {
	flex: 1 1 190px;
	padding: 14px 18px;
	background: rgba(46,6,6,.85);
	text-align: center;
}
.npl-job-factbar span { display: block; color: rgba(230,200,122,.65); font-size: .82em; letter-spacing: .06em; text-transform: uppercase; }
.npl-job-factbar b { color: var(--cn-gold-light); font-size: 1.05em; }

.npl-job-content { max-width: 900px; margin: 0 auto; color: #E9D6A8; line-height: 1.75; }
.npl-job-content h1, .npl-job-content h2, .npl-job-content h3,
.npl-job-content h4, .npl-job-content h5 { color: var(--cn-gold-light) !important; margin-top: 1.4em; }
.npl-job-content p, .npl-job-content li, .npl-job-content span { color: #E9D6A8 !important; }
.npl-job-content ul, .npl-job-content ol { margin-left: 1.2em; }
.npl-job-content table { width: 100% !important; height: auto !important; border-collapse: collapse; margin: 1em 0; }
.npl-job-content table td, .npl-job-content table th {
	border: 1px solid rgba(184,145,47,.4) !important;
	padding: 10px 12px !important;
	color: #E9D6A8 !important;
}
.npl-job-content table tr:first-child td { background: rgba(110,17,19,.55); color: var(--cn-gold-light) !important; }

.npl-td-back { text-align: center; margin-top: 34px; }
.npl-td-back a { color: var(--cn-gold) !important; letter-spacing: .04em; }

@media (max-width: 549px) {
	.npl-td-grid { grid-template-columns: 1fr; }
	.npl-td-group-title { font-size: 1.1em; gap: 10px; }
	.npl-job-inner { padding: 24px 20px 22px; }
}

/* ---------------------------------------------------------------------
   10. ĐIỀU CHỈNH THEO MÀN HÌNH  —  响应式
   --------------------------------------------------------------------- */

@media (max-width: 849px) {
	#masthead::after, .header-bottom::after { height: 14px; background-size: 20px 20px; }
	#footer::before { height: 16px; background-size: 20px 20px; }
	.section-title.section-title-center .section-title-main::after,
	.text-center .section-title-normal::after { width: 56px; background-size: 56px 14px; }
}

@media (max-width: 767px) {

	/* --- Tiêu đề mục ---
	   Theme gắn font-size 190–200% ngay trong thuộc tính style nên phải dùng !important.
	   Cỡ cũ 38px làm "NAM PHƯƠNG LẦU" vỡ thành 3 dòng trên màn 375px. */
	.section-title .section-title-main { font-size: 26px !important; line-height: 1.25 !important; }
	.home-slider .section-title .section-title-main { font-size: 24px !important; }
	h1.entry-title { font-size: 20px !important; }

	/* --- Tab thực đơn ---
	   Ảnh biển ngạch có tỉ lệ 4.72:1; khung 148x40 của theme là 3.7:1 nên biển bị hụt
	   trên dưới. Chỉnh khung đúng tỉ lệ và thu chữ cho vừa. */
	.tabbed-content.menu-tabs ul.nav li.tab > a {
		width: 152px !important;
		height: 32px !important;
		margin: 5px 4px !important;
		padding: 0 8px !important;
		line-height: 1.15 !important;
	}
	.tabbed-content.menu-tabs ul.nav li.tab > a > span {
		font-size: 11px !important;
		line-height: 1.15 !important;
		letter-spacing: 0 !important;
		max-height: 2.4em;
	}
	.tabbed-content.menu-tabs .tab-panels { padding: 16px 0 0 !important; }

	/* --- Khối chữ banner trên mobile ---
	   Theme đặt nền #060c1a (xanh đen) lệch hẳn tông đỏ của site. */
	.home-slider section .section-content > .slide-content {
		background-color: var(--cn-red-ink) !important;
		border-top: 1px solid rgba(230,200,122,.28);
	}
	.home-slider section .section-content > .slide-content > .row .content { padding: 26px 18px 22px !important; }

	/* Nút và chữ trong banner bớt to */
	.home-slider .text p { font-size: 1rem !important; line-height: 1.55 !important; }
	.home-slider a.button { font-size: .95rem !important; }

	/* Thẻ món: nới chỗ cho chữ */
	.icon-box.tmenu-item .icon-box-text { padding-left: 12px; }
}

@media (max-width: 400px) {
	.section-title .section-title-main { font-size: 23px !important; }
	.home-slider .section-title .section-title-main { font-size: 21px !important; }

	.tabbed-content.menu-tabs ul.nav li.tab > a {
		width: 143px !important;
		height: 30px !important;
		margin: 4px 3px !important;
		padding: 0 6px !important;
	}
	.tabbed-content.menu-tabs ul.nav li.tab > a > span { font-size: 11px !important; }
}

/* Thanh tiêu đề của hộp thực đơn bị cao gấp đôi trên mobile vì chữ xuống dòng */
@media (max-width: 767px) {
	.npl-book-bar { padding: 6px 10px; gap: 8px; }
	.npl-book-newtab { font-size: 12px; white-space: nowrap; line-height: 1.2; }
	.npl-book-close { width: 30px !important; height: 30px !important; font-size: 22px; }
}
