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