/* Minh Tiến Blog 1.0 – bài viết đồng bộ giao diện + dải mẫu trượt ngang */
.mtb{padding-top:40px}
.mtb .mtg-in{max-width:80rem}
.mtb-bc{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px;color:#71717A;margin:0 0 18px}
.mtb-bc a{color:#52525B;text-decoration:none;font-weight:600}.mtb-bc a:hover{color:#C2410C}
.mtb-bc em{font-style:normal;color:#A1A1AA;max-width:46ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.dark .mtb-bc a{color:#D4D4D8}
.mtb h1 small.mtb-pg{font-size:.5em;font-weight:700;color:#A1A1AA}
.mtb-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:start}
.mtb-art{min-width:0;max-width:820px}
.mtb .mtb-h1{font-family:"Playfair Display","Be Vietnam Pro",serif;font-size:clamp(28px,4vw,44px);line-height:1.18;font-weight:700;letter-spacing:-.01em;margin:0 0 16px}
.mtb-meta{display:flex;gap:12px;align-items:center;font-size:13.5px;color:#71717A;margin:0 0 22px;line-height:1.45}
.mtb-meta strong{color:#18181B}html.dark .mtb-meta strong{color:#F3F4F6}
.mtb-av{width:40px;height:40px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#991B1B,#EA580C);color:#fff;font-weight:900;font-size:13px;flex:none}
.mtb-cover{margin:0 0 24px}.mtb-cover img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;border-radius:20px;background:#F4F4F5}
.mtb-toc{margin:0 0 26px}.mtb-toc a{color:#9A3412;text-decoration:none;font-weight:600}.mtb-toc a:hover{text-decoration:underline}
html.dark .mtb-toc a{color:#FDBA74}
.mtb-content{font-size:16.5px;line-height:1.85;color:#27272A}
html.dark .mtb-content{color:#D4D4D8}
.mtb-content>*:first-child{margin-top:0}
.mtb-content h2{font-size:clamp(22px,2.7vw,29px);line-height:1.3;font-weight:900;letter-spacing:-.01em;margin:42px 0 14px;scroll-margin-top:110px;padding-left:14px;border-left:4px solid #EA580C}
.mtb-content h3{font-size:clamp(18px,2.1vw,21px);line-height:1.35;font-weight:800;margin:28px 0 10px;scroll-margin-top:110px}
.mtb-content p{margin:0 0 16px}
.mtb-content ul,.mtb-content ol{margin:0 0 18px;padding-left:22px}.mtb-content li{margin:0 0 8px}
.mtb-content ul li::marker{color:#EA580C}.mtb-content ol li::marker{color:#C2410C;font-weight:800}
.mtb-content a{color:#C2410C;font-weight:700;text-decoration:underline;text-underline-offset:3px}
html.dark .mtb-content a{color:#FDBA74}
.mtb-content strong{color:#18181B}html.dark .mtb-content strong{color:#fff}
.mtb-content img{max-width:100%;height:auto;border-radius:16px;display:block;margin:6px auto}
.mtb-content figure{margin:22px 0}.mtb-content figcaption{font-size:13px;color:#71717A;text-align:center;margin-top:8px;line-height:1.5}
.mtb-content table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.55;margin:12px 0 22px;display:block;overflow-x:auto}
.mtb-content th,.mtb-content td{border:1px solid #E4E4E7;padding:10px 12px;text-align:left;vertical-align:top}
.mtb-content th{background:#FFF7ED;font-weight:800}
html.dark .mtb-content th{background:#1C140C}html.dark .mtb-content th,html.dark .mtb-content td{border-color:#2A2B36}
.mtb-content blockquote,.mtb-content .mtb-note{margin:20px 0;padding:16px 20px;border-radius:16px;background:#FFF7ED;border:1px solid #FED7AA;font-size:15.5px}
html.dark .mtb-content blockquote,html.dark .mtb-content .mtb-note{background:#1C140C;border-color:#3A2A1A}
.mtb-content .mtb-note p:last-child{margin:0}
.mtb-content .mtb-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 24px}
.mtb-content .mtb-grid2 figure{margin:0}.mtb-content .mtb-grid2 img{aspect-ratio:4/5;object-fit:cover;width:100%;margin:0}
.mtb-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:30px 0 0;font-size:13px}
.mtb-tags span{font-weight:800;color:#71717A}
.mtb-tags a{padding:6px 12px;border-radius:999px;background:#F4F4F5;color:#3F3F46;text-decoration:none;font-weight:600}
.mtb-tags a:hover{background:#FFEDD5;color:#C2410C}
html.dark .mtb-tags a{background:#1D1E26;color:#D4D4D8}
.mtb-endcta{margin:28px 0 0;padding:22px 22px 6px;border-radius:20px;background:linear-gradient(135deg,#FFF7ED,#FEF2F2);border:1px solid #FED7AA}
.mtb-endcta strong{font-size:16px}.mtb-endcta .mtg-cta{margin-top:14px;margin-bottom:16px}
html.dark .mtb-endcta{background:#1C140C;border-color:#3A2A1A}
.mtb-side{position:sticky;top:110px;display:flex;flex-direction:column;gap:16px}
.mtb-box{border:1px solid #ECECEF;background:#fff;border-radius:20px;padding:18px 18px 14px;font-size:14px;line-height:1.6}
html.dark .mtb-box{background:#14151C;border-color:#24252F}
.mtb-box p{margin:0 0 12px;color:#52525B}html.dark .mtb-box p{color:#A1A1AA}
.mtb-box p strong{color:#18181B}html.dark .mtb-box p strong{color:#fff}
.mtb-box-hot{background:linear-gradient(160deg,#FFF7ED,#fff 60%);border-color:#FED7AA}
html.dark .mtb-box-hot{background:#1C140C;border-color:#3A2A1A}
.mtb-box-t{font-weight:900;font-size:15px;margin:0 0 8px}
.mtb-btn{display:block;text-align:center;padding:11px 14px;border-radius:12px;font-weight:800;text-decoration:none;margin-top:8px;font-size:14px}
.mtb-btn.p{background:#991B1B;color:#fff}.mtb-btn.s{background:#2563EB;color:#fff}
.mtb-links{list-style:none;margin:0;padding:0}
.mtb-links li{border-top:1px dashed #E4E4E7}.mtb-links li:first-child{border-top:0}
html.dark .mtb-links li{border-color:#2A2B36}
.mtb-links a{display:block;padding:9px 0;color:#27272A;text-decoration:none;font-weight:600}
.mtb-links a:hover{color:#C2410C}html.dark .mtb-links a{color:#E4E4E7}
.mtb-rel{margin-top:56px}
.mtb-rel h2{font-size:clamp(22px,3vw,32px);font-weight:900;margin:0 0 18px}
.mtb-rel h2 span{background:linear-gradient(90deg,#EA580C,#F59E0B);-webkit-background-clip:text;background-clip:text;color:transparent}
.mtb-chips a{border:1px solid #E4E4E7;background:#fff;color:#27272A;border-radius:999px;padding:8px 16px;font-weight:600;font-size:13px;text-decoration:none}
.mtb-chips a.on,.mtb-chips a:hover{background:#EA580C;border-color:#EA580C;color:#fff}
html.dark .mtb-chips a{background:#16171F;border-color:#2A2B36;color:#E4E4E7}
.mtb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.mtb-card,.mtb-feat{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:#fff;border:1px solid #ECECEF;text-decoration:none;color:inherit;transition:transform .25s,box-shadow .25s}
html.dark .mtb-card,html.dark .mtb-feat{background:#14151C;border-color:#24252F}
.mtb-card:hover,.mtb-feat:hover{transform:translateY(-4px);box-shadow:0 18px 36px -18px rgba(234,88,12,.45)}
.mtb-card-img{display:block;overflow:hidden;background:#F4F4F5;aspect-ratio:16/10}
.mtb-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.mtb-card:hover .mtb-card-img img,.mtb-feat:hover .mtb-card-img img{transform:scale(1.05)}
.mtb-card-body{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.mtb-chip{align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#C2410C;background:#FFF7ED;border-radius:999px;padding:4px 10px}
html.dark .mtb-chip{background:#2A1A10;color:#FDBA74}
.mtb-card strong{font-size:17px;line-height:1.35;font-weight:800}
.mtb-ex{font-size:14px;line-height:1.6;color:#52525B}html.dark .mtb-ex{color:#A1A1AA}
.mtb-card-f{margin-top:auto;display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:#71717A;padding-top:6px}
.mtb-card-f em{font-style:normal;font-weight:800;color:#C2410C}
.mtb-feat{display:grid;grid-template-columns:1.15fr 1fr;margin:0 0 22px}
.mtb-feat .mtb-card-img{aspect-ratio:auto;min-height:320px;max-height:440px}
.mtb-feat .mtb-card-body{padding:28px;justify-content:center}
.mtb-feat strong{font-family:"Playfair Display","Be Vietnam Pro",serif;font-size:clamp(22px,2.6vw,30px);line-height:1.25}
.mtb-feat .mtb-card-f{margin-top:8px}
.mtb-pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:30px 0 0}
.mtb-pager .page-numbers{min-width:40px;height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid #E4E4E7;background:#fff;color:#27272A;text-decoration:none;font-weight:700;font-size:14px}
.mtb-pager .current{background:#EA580C;border-color:#EA580C;color:#fff}
html.dark .mtb-pager .page-numbers{background:#16171F;border-color:#2A2B36;color:#E4E4E7}
.mtb-empty{padding:30px;border-radius:16px;background:#FFF7ED;text-align:center}
@media (max-width:1100px){.mtb-layout{grid-template-columns:1fr}.mtb-side{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.mtb-art{max-width:none}}
@media (max-width:900px){.mtb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mtb-feat{grid-template-columns:1fr}.mtb-feat .mtb-card-img{min-height:0;aspect-ratio:16/10}}
@media (max-width:600px){.mtb{padding-top:28px}.mtb-grid{grid-template-columns:1fr}.mtb-content{font-size:16px}.mtb-feat .mtb-card-body{padding:18px}.mtb-content .mtb-grid2{gap:8px}}

/* Menu Tin tức */
.mtb-navlink{text-decoration:none;color:inherit}
.mtb-navlink.on{color:#B91C1C;font-weight:700}

/* ---------- Dải mẫu sản phẩm trượt ngang – lấy nét theo tâm ---------- */
.mtr{position:relative;margin:4px 0 8px}
.mtr-head{display:flex;justify-content:flex-end;gap:8px;margin:-6px 0 12px}
.mtr-btn{height:42px;min-width:42px;padding:0 14px;border-radius:999px;border:1px solid #E4E4E7;background:#fff;color:#27272A;display:inline-flex;align-items:center;justify-content:center;gap:6px;font:700 13px/1 "Be Vietnam Pro",system-ui,sans-serif;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.mtr-btn:hover{border-color:#EA580C;color:#C2410C}
.mtr-btn svg{width:16px;height:16px}
html.dark .mtr-btn{background:#16171F;border-color:#2A2B36;color:#E4E4E7}
.mtr-view{position:relative;overflow:hidden;padding:26px 0 30px;cursor:grab;touch-action:pan-y;-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.mtr-view.drag{cursor:grabbing}
.mtr-dot{position:absolute;top:6px;left:50%;width:7px;height:7px;margin-left:-3.5px;border-radius:99px;background:#EA580C;box-shadow:0 0 0 4px rgba(234,88,12,.15)}
.mtr-track{display:flex;gap:22px;width:max-content;will-change:transform}
.mtr-track .mtg-card{flex:none;width:clamp(200px,24vw,270px);transition:box-shadow .3s,border-color .3s;transform-origin:center center;will-change:transform,filter,opacity;user-select:none;-webkit-user-drag:none}
.mtr-track .mtg-card img{pointer-events:none;aspect-ratio:4/5}
.mtr-track .mtg-card:hover{transform:none}
.mtr-track .mtg-card.focus{border-color:#FDBA74;box-shadow:0 22px 44px -20px rgba(234,88,12,.55)}
.mtr-bar{display:flex;align-items:center;gap:14px;max-width:560px;margin:4px auto 0;padding:10px 12px;border-radius:18px;border:1px solid #ECECEF;background:#fff;box-shadow:0 10px 30px -18px rgba(0,0,0,.25)}
html.dark .mtr-bar{background:#14151C;border-color:#24252F}
.mtr-bar img{width:48px;height:48px;border-radius:12px;object-fit:cover;flex:none}
.mtr-bar div{flex:1;min-width:0;line-height:1.35}
.mtr-bar small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#EA580C}
.mtr-bar b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mtr-bar a{flex:none;padding:10px 14px;border-radius:12px;background:#991B1B;color:#fff;font-weight:800;font-size:13px;text-decoration:none;white-space:nowrap}
@media (max-width:640px){.mtr-track{gap:14px}.mtr-track .mtg-card{width:62vw}.mtr-view{padding:22px 0 24px}.mtr-head{justify-content:center;margin-top:0}.mtr-bar a{padding:9px 11px;font-size:12px}}
@media (prefers-reduced-motion:reduce){.mtr-track .mtg-card{filter:none!important}}

/* ---------- Bộ sưu tập thiệp cưới theo phong cách ---------- */
.mtw{margin:42px 0 8px;padding-top:34px;border-top:1px dashed #F1D5C0}
html.dark .mtw{border-color:#3A2A1A}
.mtw h2{font-size:clamp(24px,3.2vw,36px);line-height:1.15;font-weight:900;margin:0 0 10px;letter-spacing:-.02em}
.mtw h2 span{background:linear-gradient(90deg,#EA580C,#F59E0B);-webkit-background-clip:text;background-clip:text;color:transparent}
.mtw-tabs{display:flex;gap:8px;margin:0 0 20px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.mtw-tabs button{flex:none;border:1px solid #E4E4E7;background:#fff;color:#27272A;border-radius:999px;padding:9px 15px;font:600 13px/1 "Be Vietnam Pro",system-ui,sans-serif;cursor:pointer;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.mtw-tabs button small{font-size:11px;opacity:.65;margin-left:3px}
.mtw-tabs button:hover{border-color:#EA580C;color:#C2410C}
.mtw-tabs button.on{background:#991B1B;border-color:#991B1B;color:#fff}
html.dark .mtw-tabs button{background:#16171F;border-color:#2A2B36;color:#E4E4E7}
html.dark .mtw-tabs button.on{background:#B91C1C;border-color:#B91C1C;color:#fff}
.mtw-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.mtw-card img{aspect-ratio:4/5!important}
.mtw-card figcaption b{color:#B91C1C;margin-right:2px}
html.dark .mtw-card figcaption b{color:#FDBA74}
.mtw-card.hide{display:none}
.mtw-card.pop{animation:mtwpop .35s ease both}
@keyframes mtwpop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.mtw-note{font-size:12.5px;color:#71717A;margin:14px 0 0}
@media (max-width:1100px){.mtw-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:820px){.mtw-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){.mtw-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
