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