/* fxk.css — khuôn bài viết / lưu trữ / trang phụ (kit14, sửa lỗi demo 10-05). hni = tiền tố site, biến màu theo site. */
.hni-fxpage { --fx-pri: #d42019; --fx-acc: #d42019; --fx-bg: #f2f3f5; --fx-ink: #1f2328; --fx-text: #5d636b; --fx-line: #e3e5e8; --fx-r: 4px; background: #fff; color: var(--fx-text); }
.hni-fxpage h1, .hni-fxpage h2, .hni-fxpage h3, .hni-fxpage h4 { font-family: 'Be Vietnam Pro', Inter, sans-serif !important; color: var(--fx-ink); }
.hni-fxwrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.hni-fxhero { background: var(--fx-bg); padding: 46px 0 40px; border-bottom: 1px solid var(--fx-line); position: relative; overflow: hidden; }
.hni-fxhero.hni-fxhasbg::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 46%; background: var(--fxbg) center/cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); opacity: .9; }
.hni-fxhero .hni-fxwrap { position: relative; z-index: 1; }
.hni-fxcrumb { font-size: 13.5px; color: var(--fx-text); margin-bottom: 14px; } .hni-fxcrumb a { color: var(--fx-text) !important; } .hni-fxcrumb a:hover { color: var(--fx-acc) !important; } .hni-fxcrumb span { color: var(--fx-ink); }
.hni-fxkicker { color: var(--fx-acc); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.hni-fxh1 { font-size: 40px !important; line-height: 1.22 !important; font-weight: 600 !important; margin: 0 0 10px !important; max-width: 780px; text-transform: none !important; letter-spacing: 0 !important; }
.hni-fxsub { font-size: 16.5px; line-height: 1.6; margin: 0; max-width: 640px; color: var(--fx-text); }
.hni-fxgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-top: 44px; padding-bottom: 60px; align-items: start; }
.hni-fxart { min-width: 0; }
.hni-fxfig { margin: 0 0 26px; text-align: center; background: var(--fx-bg); border-radius: var(--fx-r); overflow: hidden; }
.hni-fxfig img { display: block; margin: 0 auto; width: auto; max-width: 100%; height: auto; border-radius: var(--fx-r); }
.hni-fxlead { font-size: 18px; line-height: 1.65; color: var(--fx-ink); font-weight: 500; margin: 0 0 18px; }
.hni-fxbody { font-size: 16px; line-height: 1.8; color: var(--fx-text); }
.hni-fxbody h2 { font-size: 27px !important; line-height: 1.3 !important; margin: 30px 0 12px !important; font-weight: 600 !important; }
.hni-fxbody h3 { font-size: 21px !important; line-height: 1.35 !important; margin: 24px 0 10px !important; font-weight: 600 !important; }
.hni-fxbody p, .hni-fxbody ul, .hni-fxbody ol { margin-bottom: 16px; } .hni-fxbody li { margin-bottom: 6px; }
.hni-fxbody img { max-width: 100%; height: auto; border-radius: var(--fx-r); } .hni-fxbody figure { max-width: 100% !important; margin: 18px auto; } .hni-fxbody iframe { max-width: 100%; }
.hni-fxbody a { color: var(--fx-acc); text-decoration: underline; text-underline-offset: 3px; }
.hni-fxbody blockquote { border-left: 4px solid var(--fx-acc); background: var(--fx-bg); margin: 20px 0; padding: 16px 22px; font-style: normal; color: var(--fx-ink); border-radius: 0 var(--fx-r) var(--fx-r) 0; }
.hni-fxbody table { width: 100%; border-collapse: collapse; } .hni-fxbody td, .hni-fxbody th { border: 1px solid var(--fx-line); padding: 8px 10px; }
.hni-fxtags { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; } .hni-fxtags a { background: var(--fx-bg); color: var(--fx-ink) !important; border-radius: 30px; padding: 5px 14px; font-size: 13.5px; }
.hni-fxpn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; border-top: 1px solid var(--fx-line); padding-top: 22px; }
.hni-fxpn a { display: block; border: 1px solid var(--fx-line); border-radius: var(--fx-r); padding: 14px 18px; color: var(--fx-ink) !important; } .hni-fxpn a:hover { border-color: var(--fx-acc); }
.hni-fxpn small { display: block; color: var(--fx-acc); font-size: 12.5px; margin-bottom: 4px; } .hni-fxpn b { font-weight: 600; font-size: 15px; line-height: 1.4; } .hni-fxpn .hni-fxnx { text-align: right; }
.hni-fxside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.hni-fxbox { border: 1px solid var(--fx-line); border-radius: var(--fx-r); padding: 20px 22px; background: #fff; }
.hni-fxbh { font-size: 19px !important; font-weight: 600 !important; margin: 0 0 14px !important; padding-bottom: 10px; border-bottom: 2px solid var(--fx-acc); display: inline-block; }
.hni-fxsearch { display: flex; gap: 0; margin: 0; } .hni-fxsearch input[type=search] { flex: 1; min-width: 0; margin: 0; height: 42px; border: 1px solid var(--fx-line); border-right: 0; border-radius: var(--fx-r) 0 0 var(--fx-r); box-shadow: none; padding: 0 12px; font-size: 14px; }
.hni-fxsearch button { margin: 0; height: 42px; padding: 0 16px; background: var(--fx-pri); color: #fff; border: 0; border-radius: 0 var(--fx-r) var(--fx-r) 0; font-size: 14px; text-transform: none; letter-spacing: 0; }
.hni-fxcats { list-style: none; margin: 0; padding: 0; } .hni-fxcats li { margin: 0; border-bottom: 1px dashed var(--fx-line); } .hni-fxcats li:last-child { border: 0; }
.hni-fxcats a { display: flex; justify-content: space-between; padding: 9px 0; color: var(--fx-ink) !important; font-size: 15px; } .hni-fxcats a:hover, .hni-fxcats a.on { color: var(--fx-acc) !important; font-weight: 600; } .hni-fxcats span { color: var(--fx-acc); font-size: 13px; background: var(--fx-bg); border-radius: 20px; padding: 1px 9px; }
.hni-fxrecent { list-style: none; margin: 0; padding: 0; } .hni-fxrecent li { margin: 0 0 14px; } .hni-fxrecent li:last-child { margin: 0; }
.hni-fxrecent a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; color: var(--fx-ink) !important; }
.hni-fxrecent img, .hni-fxrecent .hni-fxnoimg { width: 76px; height: 60px; object-fit: cover; border-radius: calc(var(--fx-r) * .6); display: block; background: var(--fx-bg); }
.hni-fxrecent b { display: block; font-size: 14px; line-height: 1.4; font-weight: 600; } .hni-fxrecent small { color: var(--fx-text); font-size: 12.5px; }
.hni-fxcta { background: var(--fx-pri); border-color: var(--fx-pri); color: #fff; } .hni-fxcta h4 { color: #fff !important; font-size: 21px !important; margin: 0 0 8px !important; font-weight: 600 !important; }
.hni-fxcta p { color: rgba(255,255,255,.85); font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; } .hni-fxcta .hni-fxhot b { color: #fff; font-size: 18px; }
.hni-fxbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; background: var(--fx-acc); color: #fff !important; border-radius: var(--fx-r); font-weight: 600; font-size: 15px; }
.hni-fxbtn:hover { filter: brightness(1.08); }
.hni-fxmain { min-width: 0; }
.hni-fxchips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; } .hni-fxchips a { border: 1px solid var(--fx-line); border-radius: 30px; padding: 6px 16px; color: var(--fx-ink) !important; font-size: 14px; } .hni-fxchips a.on, .hni-fxchips a:hover { background: var(--fx-pri); border-color: var(--fx-pri); color: #fff !important; }
.hni-fxcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } .hni-fxcards.hni-fxc2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hni-fxcard { background: #fff; border: 1px solid var(--fx-line); border-radius: var(--fx-r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; } .hni-fxcard:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.hni-fxcimg { display: block; aspect-ratio: 16 / 10; background: var(--fx-bg); overflow: hidden; } .hni-fxcimg img, .hni-fxcimg .hni-fxnoimg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hni-fxcimg.hni-fxfit img { object-fit: contain; }
.hni-fxcbody { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hni-fxcmeta { font-size: 12.5px; color: var(--fx-text); margin: 0 0 8px; } .hni-fxcmeta span { color: var(--fx-acc); font-weight: 600; }
.hni-fxctitle { font-size: 19px !important; line-height: 1.4 !important; margin: 0 0 8px !important; font-weight: 600 !important; } .hni-fxctitle a { color: var(--fx-ink) !important; } .hni-fxctitle a:hover { color: var(--fx-acc) !important; }
.hni-fxcexc { font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; flex: 1; } .hni-fxcmore { color: var(--fx-acc) !important; font-weight: 600; font-size: 14px; }
.hni-fxpager ul { list-style: none; display: flex; gap: 8px; justify-content: center; margin: 34px 0 0; padding: 0; } .hni-fxpager li { margin: 0; }
.hni-fxpager a, .hni-fxpager span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--fx-line); border-radius: var(--fx-r); color: var(--fx-ink) !important; padding: 0 10px; } .hni-fxpager .current { background: var(--fx-pri); border-color: var(--fx-pri); color: #fff !important; }
.hni-fxempty { border: 1px dashed var(--fx-line); border-radius: var(--fx-r); padding: 34px; text-align: center; background: var(--fx-bg); }
.hni-fxrel { background: var(--fx-bg); padding: 50px 0 60px; } .hni-fxh2 { font-size: 32px !important; font-weight: 600 !important; margin: 0 0 24px !important; line-height: 1.25 !important; }
.hni-fxpbody { padding-top: 44px; padding-bottom: 60px; } .hni-fxintro { font-size: 16.5px; line-height: 1.75; max-width: 860px; margin: 0 0 30px; }
.hni-fxpgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.hni-fxpcard { border: 1px solid var(--fx-line); border-radius: var(--fx-r); overflow: hidden; display: flex; flex-direction: column; background: #fff; padding-bottom: 16px; text-align: center; }
.hni-fxpimg { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--fx-bg); } .hni-fxpimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hni-fxpimg i { position: absolute; left: 10px; top: 10px; background: var(--fx-acc); color: #fff; font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 20px; }
.hni-fxpname { color: var(--fx-ink) !important; font-weight: 600; font-size: 15.5px; line-height: 1.4; margin: 14px 14px 6px; } .hni-fxpprice { color: var(--fx-acc); font-weight: 700; margin-bottom: 12px; } .hni-fxpprice del { color: #999; font-weight: 400; margin-right: 6px; }
.hni-fxpbtn { align-self: center; border: 1px solid var(--fx-pri); color: var(--fx-pri) !important; border-radius: var(--fx-r); padding: 7px 22px; font-size: 14px; font-weight: 600; } .hni-fxpbtn:hover { background: var(--fx-pri); color: #fff !important; }
.hni-fxsec { margin: 0 0 30px; max-width: 900px; } .hni-fxart .hni-fxsec { padding-bottom: 26px; border-bottom: 1px solid var(--fx-line); } .hni-fxart .hni-fxsec:last-of-type { border-bottom: 0; } .hni-fxsec .hni-fxh2 { font-size: 26px !important; margin-bottom: 12px !important; }
.hni-fxband { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--fx-pri); color: #fff; border-radius: var(--fx-r); padding: 30px 36px; margin-top: 10px; }
.hni-fxband h2 { color: #fff !important; font-size: 26px !important; margin: 0 0 6px !important; } .hni-fxband p { margin: 0; color: rgba(255,255,255,.85); } .hni-fxband > div { min-width: 0; } .hni-fxband .hni-fxbtn { flex: 0 0 auto; }
.hni-fxacts { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; } .hni-fxacts a { width: 100%; }
.hni-fxbtn2 { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border: 1px solid var(--fx-pri); color: var(--fx-pri) !important; border-radius: var(--fx-r); font-weight: 600; font-size: 15px; }
.hni-fxside .hni-fxpprice { font-size: 24px; margin: 0 0 10px; } .hni-fxcats .hni-fxli { display: block; padding: 8px 0; font-size: 14.5px; color: var(--fx-ink); background: none; border-radius: 0; }
@media (max-width: 1100px) { .hni-fxpgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .hni-fxgrid { grid-template-columns: minmax(0, 1fr); gap: 34px; } .hni-fxside { position: static; } .hni-fxcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hni-fxhero.hni-fxhasbg::after { width: 100%; opacity: .14; -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 640px) { .hni-fxh1 { font-size: 29px !important; } .hni-fxhero { padding: 30px 0 28px; } .hni-fxcards, .hni-fxcards.hni-fxc2 { grid-template-columns: minmax(0, 1fr); } .hni-fxpgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .hni-fxpn { grid-template-columns: 1fr; } .hni-fxband { flex-direction: column; align-items: flex-start; padding: 24px; } .hni-fxbody h2 { font-size: 23px !important; } .hni-fxh2 { font-size: 26px !important; } .hni-fxwrap { padding-left: 16px; padding-right: 16px; } .hni-fxgrid, .hni-fxpbody { padding-top: 30px; } }
