/* Blog: list (Figma 04), archive, single post (Figma 05), sidebar. */
.ldp-blog { padding-bottom: 24px; }
.ldp-blogbox { background: #fff; border-radius: 16px; padding: 24px; }
.ldp-blogbox .ldp-section-head { margin-bottom: 18px; }

/* Head: title + category pills left, search right */
.ldp-bloghead { margin-bottom: 24px; }
.ldp-bloghead__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ldp-bloghead__left { display: flex; align-items: center; gap: 24px; min-width: 0; }
.ldp-bloghead__title { margin: 0; flex: none; font: 700 32px/1.4 var(--font); color: var(--n-900); }
.ldp-bloghead__desc { margin: 10px 0 0; color: var(--n-700); }
.ldp-bloghead__desc p { margin: 0; }
.ldp-bloghead__cats { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ldp-bloghead__cats::-webkit-scrollbar { display: none; }
.ldp-bloghead__cats .ldp-chip { height: 41px; padding: 0 18px; font-size: 14px; border-color: var(--n-200); }
.ldp-bloghead__cats .ldp-chip.is-active { border-color: var(--blue-600); background: var(--blue-600); color: #fff; font-weight: 600; }
.ldp-bloghead__search { flex: none; display: flex; align-items: center; gap: 8px; width: 300px; max-width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--n-200); border-radius: 10px; background: #fff; }
.ldp-bloghead__search:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(79, 147, 222, .18); }
.ldp .ldp-bloghead__search input[type="search"] { flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: 0; background: none; padding: 0 !important; box-shadow: none !important; font: 400 14px var(--font); }
.ldp-bloghead__search button { flex: none; border: 0; background: none; padding: 0; color: var(--n-500); display: grid; place-items: center; cursor: pointer; }

/* Card: common */
.ldp-pcard { display: flex; flex-direction: column; min-width: 0; }
.ldp-pcard__img { display: block; overflow: hidden; background: var(--n-100); border-radius: 12px; }
.ldp-pcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--ease); }
@media (hover: hover) { .ldp-pcard:hover .ldp-pcard__img img { transform: scale(1.04); } }
.ldp-pcard__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ldp-pcard__cat { align-self: flex-start; font: 700 12px/1.4 var(--font); color: var(--red-500) !important; }
.ldp-pcard__title { margin: 0; font: 600 16px/1.4 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ldp-pcard__title a { color: var(--n-900); }
.ldp-pcard__title a:hover { color: var(--blue-600); }
.ldp-pcard__ex { margin: 0; color: var(--n-500); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ldp-pcard__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.5; color: var(--n-400); }
.ldp-pcard__meta i { font-style: normal; color: var(--n-300); }
.ldp-pcard__tag { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: var(--red-500); color: #fff !important; font: 700 12px/1.4 var(--font); }

/* Grid card */
.ldp-pcard--card { gap: 10px; }
.ldp-pcard--card .ldp-pcard__img { aspect-ratio: 238 / 176; }

/* Overlay (featured) */
.ldp-pcard--over { position: relative; justify-content: flex-end; border-radius: 16px; overflow: hidden; background: var(--n-800); isolation: isolate; }
.ldp-pcard--over > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s var(--ease); }
.ldp-pcard--over::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(13, 20, 38, .85) 100%); }
@media (hover: hover) { .ldp-pcard--over:hover > img { transform: scale(1.04); } }
.ldp-pcard--over .ldp-pcard__body { padding: 20px; }
.ldp-pcard--over .ldp-pcard__title { font: 700 18px/1.4 var(--font); }
.ldp-pcard--over .ldp-pcard__title a { color: #fff; }
.ldp-pcard--over .ldp-pcard__title a::after { content: ""; position: absolute; inset: 0; }
.ldp-pcard--over .ldp-pcard__meta { color: #fff; }

/* Row (latest list) */
.ldp-pcard--row { flex-direction: row; align-items: center; gap: 16px; }
.ldp-pcard--row .ldp-pcard__img { flex: 0 0 220px; height: 130px; }
.ldp-pcard--row .ldp-pcard__body { flex: 1; }
.ldp-pcard--row .ldp-pcard__title { font-size: 18px; -webkit-line-clamp: 1; }

/* Mini (sidebar) */
.ldp-pcard--mini { flex-direction: row; gap: 12px; align-items: flex-start; }
.ldp-pcard--mini .ldp-pcard__img { flex: 0 0 108px; height: 72px; border-radius: 8px; }
.ldp-pcard--mini .ldp-pcard__body { gap: 6px; }
.ldp-pcard--mini .ldp-pcard__title { font: 600 14px/1.5 var(--font); }

/* Link (related, opens new tab) */
.ldp-pcard--link { flex-direction: row; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--n-200); border-radius: 12px; color: var(--n-900) !important; transition: border-color .15s var(--ease); }
.ldp-pcard--link:hover { border-color: var(--blue-500); }
.ldp-pcard--link .ldp-pcard__img { flex: 0 0 96px; height: 64px; border-radius: 8px; }
.ldp-pcard--link .ldp-pcard__title { flex: 1; font: 500 14px/1.5 var(--font); }
.ldp-pcard--link > .ldp-icon { flex: none; color: var(--n-400); }

/* Index layout */
.ldp-blogfeat { display: grid; grid-template-columns: minmax(0, 800fr) minmax(0, 504fr); gap: 16px; margin-bottom: 24px; }
.ldp-blogfeat > .ldp-pcard--over { min-height: 456px; }
.ldp-blogfeat > .ldp-pcard--over .ldp-pcard__body { padding: 28px; }
.ldp-blogfeat > .ldp-pcard--over .ldp-pcard__title { font-size: 28px; line-height: 1.3; }
.ldp-blogfeat__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.ldp-blogfeat__side .ldp-pcard--over { min-height: 220px; }
.ldp-blogrow { margin: 0 0 24px; }
.ldp-blogrow__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.ldp-blogrow__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ldp-blogrow__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ldp-bloglayout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.ldp-bloglayout--post { grid-template-columns: minmax(0, 1fr) 440px; }
.ldp-bloglayout__main { min-width: 0; }
.ldp-bloglist { display: flex; flex-direction: column; gap: 20px; }
.ldp-blogbox .nav-links { margin-top: 24px; }
.ldp-empty-text { color: var(--n-500); }

/* Sidebar */
.ldp-blogside { display: flex; flex-direction: column; gap: 24px; }
.ldp-blogside--index { position: sticky; top: calc(var(--header-h) + 16px); gap: 20px; }
.ldp-blogside__box { padding: 20px; }
.ldp-blogside__title { position: relative; margin: 0 0 16px; padding-left: 14px; font: 800 16px/1.4 var(--font); color: var(--n-900); }
.ldp-blogside__title::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--red-500); }
.ldp-blogside__list { display: flex; flex-direction: column; gap: 14px; }
.ldp-blogside__list .ldp-pcard--mini + .ldp-pcard--mini { padding-top: 14px; border-top: 1px solid var(--n-150); }

/* Popular */
.ldp-popular__title { margin: 0 0 16px; font: 700 18px/1.4 var(--font); color: var(--n-900); }
.ldp-popular ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ldp-popular a { display: flex; align-items: center; gap: 12px; font: 500 14px/1.5 var(--font); color: var(--n-900) !important; }
.ldp-popular a:hover span { color: var(--blue-600); }
.ldp-popular a span { flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ldp-popular i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--n-200); color: var(--n-700); font: normal 700 14px/1 var(--font); }
.ldp-popular i.is-top { background: var(--red-500); color: #fff; }

/* Banner: Sửa điện thoại lấy ngay */
.ldp-bnr-repair { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 400 / 636; padding: 22px 25px 22px; border-radius: 15px; overflow: hidden; background: #0b3b8c; color: #fff !important; text-align: center; isolation: isolate; container-type: inline-size; }
.ldp-bnr-repair > img { position: absolute; left: 0; top: 3%; width: 100%; height: 80%; object-fit: cover; z-index: -2; }
.ldp-bnr-repair::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 59, 140, .92) 0%, rgba(11, 59, 140, .15) 22%, rgba(11, 59, 140, 0) 55%, rgba(11, 59, 140, .95) 78%, #082c6b 100%); }
.ldp-bnr-repair__head { display: flex; flex-direction: column; gap: 2px; }
.ldp-bnr-repair__head b { font: 900 6.4cqw/1.3 var(--font); color: #ffd43b; white-space: nowrap; }
.ldp-bnr-repair__head small { font: 600 4.1cqw/1.3 var(--font); letter-spacing: .06em; }
.ldp-bnr-repair__foot { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.ldp-bnr-repair__pill { width: 100%; padding: 6px 8px; border-radius: 90px; background: #fff; color: #0b3b8c; font: 600 3.4cqw/1.3 var(--font); }
.ldp-bnr-repair__off { display: flex; align-items: center; gap: 9px; }
.ldp-bnr-repair__off > span { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.ldp-bnr-repair__off small { font: 500 3.6cqw/1.2 var(--font); }
.ldp-bnr-repair__off b { font: 700 5cqw/1.2 var(--font); }
.ldp-bnr-repair__off strong { font: 900 14.5cqw/1.1 var(--font); color: #ffd43b; }
.ldp-bnr-repair__cta { padding: 9px 24px; border-radius: 90px; background: #ffd43b; color: #7a1d00; font: 800 3.6cqw/1.2 var(--font); transition: filter .15s var(--ease); }
.ldp-bnr-repair:hover .ldp-bnr-repair__cta { filter: brightness(1.06); }

/* Banner: Mua sỉ linh kiện */
.ldp-bnr-si { position: relative; display: flex; align-items: center; aspect-ratio: 440 / 300; padding: 0 26px; border-radius: 16px; overflow: hidden; background: #d70018; color: #fff !important; isolation: isolate; container-type: inline-size; }
.ldp-bnr-si > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.ldp-bnr-si::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #b5000f 0%, rgba(215, 0, 24, .75) 50%, rgba(215, 0, 24, 0) 80%); }
.ldp-bnr-si__tx { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ldp-bnr-si__tx small { font: 800 3cqw/1.2 var(--font); color: #ffd43b; letter-spacing: .04em; }
.ldp-bnr-si__tx b { font: 900 7.7cqw/1.18 var(--font); }
.ldp-bnr-si__tx > span { display: flex; align-items: center; gap: 6px; font: 500 3.6cqw/1.2 var(--font); }
.ldp-bnr-si__tx strong { font: 900 8.2cqw/1.1 var(--font); color: #ffd43b; }
.ldp-bnr-si__tx em { padding: 9px 20px; border-radius: 99px; background: #fff; color: #d70018; font: normal 900 3.2cqw/1.2 var(--font); }

/* Consult form (dark blue) */
.ldp-consult { padding: 26px 24px; border-radius: 16px; background: linear-gradient(180deg, #0b3b8c, #1e6fc4); color: #fff; }
.ldp-consult h2 { margin: 0 0 16px; font: 800 22px/30px var(--font); color: #fff; text-align: center; }
.ldp-consult .ldp-form { gap: 12px; }
.ldp-consult .ldp-form__row2 { grid-template-columns: 1fr; gap: 12px; }
.ldp .ldp-consult .ldp-form input[type="text"], .ldp .ldp-consult .ldp-form input[type="tel"] { height: 46px; border: 0; border-radius: 8px; background: #fff; }
.ldp-consult .ldp-form__check { color: #dce7f7; font-size: 13px; line-height: 19px; }
.ldp-consult .ldp-form__check input { accent-color: #fff; width: 18px; height: 18px; flex: none; margin: 0; }
.ldp-consult .ldp-form .ldp-btn { align-self: stretch; min-height: 46px; background: #d70018; border-color: #d70018; font-weight: 800; font-size: 16px; }
.ldp-consult .ldp-form .ldp-btn .ldp-icon { display: none; }
.ldp-consult .ldp-form__msg { color: #fff; }
.ldp-consult__note { margin: 12px 0 0; text-align: center; font-size: 12px; color: #bfd3f2; }

/* Figma 04: list section titles / blog title in brand blue */
.ldp-blog .ldp-bloghead__title { color: var(--blue-600); }
.ldp-blog .ldp-blogbox .ldp-section-title { color: var(--blue-600); }
.ldp-blog .ldp-blogbox .ldp-section-title::before { background: var(--blue-600); }
.ldp-blogside .ldp-popular__title { color: var(--blue-600); }
.ldp-bloghead__search { border-radius: 99px; }
.ldp-blogside .ldp-blogside__title { font: 700 18px/1.4 var(--font); color: var(--blue-600); }

/* ===== Single (Figma 05, Sforum style) ===== */
.ldp-blog--single { --ink: #1f2329; padding-bottom: 40px; }

/* Trends + pill breadcrumb */
.ldp-trends { display: flex; align-items: center; gap: 10px; padding-top: 20px; min-width: 0; }
.ldp-trends__label { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1 var(--font); color: var(--red-500); }
.ldp-trends__list { display: flex; gap: 10px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ldp-trends__list::-webkit-scrollbar { display: none; }
.ldp-trends__tag { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--n-400); border-radius: 99px; background: #fff; font: 400 14px/1 var(--font); color: var(--ink) !important; white-space: nowrap; transition: border-color .15s var(--ease), color .15s var(--ease); }
.ldp-trends__tag:hover { border-color: var(--red-500); color: var(--red-500) !important; }
.ldp-crumbs { display: flex; align-items: center; gap: 10px; padding: 12px 0 20px; min-width: 0; font: 400 13px/1.4 var(--font); }
.ldp-crumbs__pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; background: #e9ecf1; color: var(--ink) !important; white-space: nowrap; }
.ldp-crumbs__pill:hover { background: var(--n-200); }
.ldp-crumbs__pill.is-home .ldp-icon { color: var(--red-500); }
.ldp-crumbs__sep { flex: none; color: var(--n-700); }
.ldp-crumbs__cur { min-width: 0; color: var(--n-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cover + overlapping article card */
.ldp-post { position: relative; }
.ldp-post__cover { margin: 0; aspect-ratio: 860 / 440; border-radius: 16px; overflow: hidden; background: var(--n-200); }
.ldp-post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ldp-post__card { position: relative; background: #fff; border-radius: 16px; padding: 33px 37px 28px; }
.ldp-post.has-cover .ldp-post__card { margin: -100px 40px 0; }
.ldp-post__chip { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--red-500); color: #fff !important; font: 600 12px/17px var(--font); }
.ldp .ldp-post__title { margin: 20px 0; font: 700 26px/1.46 var(--font); color: var(--ink); }
.ldp-post__author { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ldp-post__author > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ldp-post__author b { font: 600 14px/1.5 var(--font); color: var(--red-500); }
.ldp-post__avatar { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--red-500); box-shadow: inset 0 0 0 2px #fff; background: var(--blue-600); color: #fff; font: 700 14px/1 var(--font); }
.ldp-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; color: var(--n-500); }
.ldp-post__meta i { font-style: normal; color: var(--n-400); }
.ldp-post__sapo { margin: 0 0 20px; font: 600 16px/1.55 var(--font); color: var(--ink); }

/* TOC */
.ldp-toc { margin: 0 0 20px; border-radius: 10px; background: #f4f7ff; }
.ldp-toc__head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 10px; border: 0; background: none; color: var(--blue-600); cursor: pointer; text-align: left; }
.ldp-toc__head span { display: inline-flex; align-items: center; gap: 8px; font: 700 16px/22px var(--font); }
.ldp-toc__head em { font-style: normal; }
.ldp-toc__head .is-m, .ldp-toc__head > .ldp-icon { display: none; }
.ldp-toc__head[aria-expanded="false"] { padding-bottom: 20px; }
.ldp-toc__head[aria-expanded="false"] > .ldp-icon { transform: rotate(-90deg); }
.ldp-toc__list { list-style: none; margin: 0; padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; font: 400 14px/22px var(--font); }
.ldp-toc__list a { color: var(--n-700); }
.ldp-toc__list a:hover { color: var(--blue-600); }

/* Content typography (Figma: red H2, blue table header, image + grey caption bar) */
.ldp-entry { font-size: 15px; line-height: 1.67; color: var(--n-700); }
.ldp-entry > :first-child { margin-top: 0; }
.ldp-entry p { margin: 0 0 1em; }
.ldp-entry [style*="line-height"] { line-height: inherit !important; }
.ldp-entry [style*="text-align: justify"] { text-align: left !important; }
.ldp-entry span[style*="font-size"] { font-size: inherit !important; }
.ldp-entry [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.ldp-entry h2 { margin: 1.35em 0 .65em; font: 700 22px/1.4 var(--font); color: var(--red-500); }
.ldp-entry h2 *, .ldp-entry h2 a { color: inherit !important; font-size: inherit !important; }
.ldp-entry h3 { margin: 1.3em 0 .5em; font: 700 18px/1.4 var(--font); color: var(--ink); }
.ldp-entry h3 a { color: inherit; }
.ldp-entry a { color: var(--blue-600); }
.ldp-entry strong, .ldp-entry b { color: var(--ink); }
.ldp-entry ul { padding-left: 20px; }
.ldp-entry ul li::marker { color: var(--blue-600); }
.ldp-entry li + li { margin-top: 6px; }
.ldp-entry img { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 0; }
.ldp-entry p > img, .ldp-entry p > span > img, .ldp-entry p > a > img { margin: 4px auto; }
.ldp-entry figure, .ldp-entry .wp-caption { margin: 1.2em 0; max-width: 100% !important; width: auto !important; background: #f5f5f7; }
.ldp-entry figcaption, .ldp-entry .wp-caption-text { margin: 0; padding: 9px 16px; background: #eef0f3; font-size: 13px; line-height: 18px; color: var(--n-700); text-align: center; }
.ldp-entry blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--blue-500); background: var(--n-100); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.ldp-entry .wp-block-table, .ldp-entry .table-wrap { overflow-x: auto; }
.ldp .ldp-post .ldp-entry table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--n-200); border-radius: 8px; overflow: hidden; font-size: 15px; }
.ldp .ldp-post .ldp-entry th, .ldp .ldp-post .ldp-entry td { padding: 12px 16px; border: 0; border-right: 1px solid var(--n-200); border-bottom: 1px solid var(--n-200); text-align: left; background: #fff; }
.ldp .ldp-post .ldp-entry tr > :last-child { border-right: 0; }
.ldp .ldp-post .ldp-entry tr:last-child > * { border-bottom: 0; }
.ldp .ldp-post .ldp-entry th, .ldp .ldp-post .ldp-entry thead td, .ldp .ldp-post .ldp-entry table:not(:has(thead, th)) tr:first-child td { background: var(--blue-600); color: #fff; font-weight: 700; border-right-color: rgba(255, 255, 255, .25); }

/* Products in the article (existing product card) */
.ldp-postprods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.ldp-postprods > .ldp-card { min-width: 0; border: 1px solid var(--n-200); }

.ldp-post__source { margin: 0 0 20px; font-size: 14px; color: var(--n-700); }
.ldp-post__more { margin: 0 0 20px; }
.ldp-post__more b { display: block; margin-bottom: 6px; font: italic 700 15px/24px var(--font); color: var(--ink); }
.ldp-post__more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ldp-post__more li { font-size: 14px; line-height: 24px; }
.ldp-post__more li::before { content: "•"; margin-right: 8px; color: var(--blue-600); }
.ldp-post__more a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.ldp-rate { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 12px 16px; border-radius: 8px; background: #f7f8fa; }
.ldp-rate b { font: 600 14px/20px var(--font); color: var(--ink); }
.ldp-rate__stars { display: inline-flex; gap: 4px; }
.ldp-rate__stars button { padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; color: var(--n-300); transition: transform .12s var(--ease); }
.ldp-rate__stars button svg { fill: currentColor; }
.ldp-rate__stars button.is-on { color: var(--yellow); }
.ldp-rate__stars:not(.is-rated) button:hover { transform: scale(1.15); }
.ldp-rate__stars.is-rated button { cursor: default; }
.ldp-rate__info { font-size: 13px; color: var(--n-500); }

/* Author box + share */
.ldp-authorbox { margin-top: 24px; border: 1px solid #fbd5d5; border-radius: 12px; background: #fff7f7; }
.ldp-authorbox__top { display: flex; gap: 14px; padding: 16px 16px 14px; }
.ldp-authorbox__avatar { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-600); color: #fff; font: 700 18px/1 var(--font); }
.ldp-authorbox__name { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ldp-authorbox__name span { padding: 1px 6px; border-radius: 3px; background: var(--red-500); color: #fff; font: 700 11px/16px var(--font); }
.ldp-authorbox__name b { font: 700 16px/22px var(--font); color: var(--ink); }
.ldp-authorbox p { margin: 0; font-size: 14px; line-height: 22px; color: var(--n-700); }
.ldp-sharebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px; padding: 10px 0; border-top: 1px dashed #f3b9b9; }
.ldp-sharebar__label { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/18px var(--font); color: var(--ink); }
.ldp-sharebar__label .ldp-icon { color: var(--red-500); }
.ldp-sharebar__icons { display: flex; align-items: center; gap: 8px; }
.ldp-sharebar__btn { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px dotted var(--red-500); border-radius: 50%; background: #fff; cursor: pointer; transition: transform .15s var(--ease); }
.ldp-sharebar__btn:hover { transform: translateY(-2px); }
.ldp-sharebar__btn svg { display: block; }
.ldp-sharebar__copy { width: 32px; height: 32px; margin-left: 4px; display: grid; place-items: center; padding: 0; border: 1px solid var(--n-300); border-radius: 50%; background: #fff; color: var(--n-700); cursor: pointer; }
.ldp-sharebar__copy.is-done, .ldp-sharebar__btn.is-done { border-color: var(--green); color: var(--green); }

/* Section heads with red underline (Bình luận, Bài viết liên quan) */
.ldp .ldp-ulhead { margin: 0 0 12px; font: 600 22px/30px var(--font); color: var(--ink); }
.ldp-ulhead::after { content: ""; display: block; width: 96px; height: 3px; margin-top: 4px; border-radius: 2px; background: var(--red-500); }

/* Comments */
.ldp-cmt { margin-top: 24px; }
.ldp-cmt__list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ldp-cmt__list .children { list-style: none; margin: 12px 0 0 32px; padding: 0; }
.ldp-cmt__list .comment-body { padding: 12px 14px; border: 1px solid var(--n-200); border-radius: 10px; background: #fff; font-size: 14px; }
.ldp-cmt__list .comment-author { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ldp-cmt__list .comment-author img { border-radius: 50%; }
.ldp-cmt__list .comment-meta { font-size: 12px; }
.ldp-cmt__list .comment-meta a { color: var(--n-500); }
.ldp-cmt__list .says { display: none; }
.ldp-cmt__form { display: flex; flex-direction: column; gap: 12px; }
.ldp .ldp-cmt__form textarea { width: 100%; min-height: 96px; padding: 14px 15px; border: 1px solid var(--n-300); border-radius: 8px; background: #fff; font: 400 14px/20px var(--font); color: var(--ink); resize: vertical; }
.ldp-cmt__who { display: none; grid-template-columns: 1fr 1fr; gap: 12px; }
.ldp-cmt__form:focus-within .ldp-cmt__who, .ldp-cmt__form.is-active .ldp-cmt__who { display: grid; }
.ldp .ldp-cmt__who input { height: 42px; padding: 0 14px; border: 1px solid var(--n-300); border-radius: 8px; background: #fff; font: 400 14px var(--font); }
.ldp .ldp-cmt__form textarea:focus, .ldp .ldp-cmt__who input:focus { border-color: var(--blue-500); outline: 0; box-shadow: 0 0 0 3px rgba(79, 147, 222, .18); }
.ldp-cmt__actions { display: flex; justify-content: flex-end; }
.ldp-cmt__submit { height: 38px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--blue-600); color: #fff; font: 600 14px/1 var(--font); cursor: pointer; }
.ldp-cmt__submit:hover { background: var(--blue-700); }

/* Related posts: 2-col grid */
.ldp-relgrid { margin-top: 24px; }
.ldp .ldp-relgrid .ldp-ulhead { margin-bottom: 14px; }
.ldp-relgrid__list { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 18px 20px; }
.ldp-relgrid__item { display: flex; gap: 12px; align-items: flex-start; color: var(--ink) !important; }
.ldp-relgrid__img { flex: 0 0 134px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--n-200); }
.ldp-relgrid__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--ease); }
.ldp-relgrid__item:hover .ldp-relgrid__img img { transform: scale(1.05); }
.ldp-relgrid__tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ldp-relgrid__tx b { font: 600 14px/20px var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ldp-relgrid__item:hover b { color: var(--blue-600); }
.ldp-relgrid__tx small { font-size: 12px; line-height: 16px; color: var(--n-500); }

@media (max-width: 1200px) {
	.ldp-bloglayout, .ldp-bloglayout--post { grid-template-columns: minmax(0, 1fr) 320px; }
	.ldp-pcard--row .ldp-pcard__img { flex-basis: 180px; height: 110px; }
}
@media (max-width: 1100px) {
	.ldp-blogrow__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ldp-blogrow__grid > :nth-child(n+5) { display: none; }
	.ldp-bloghead__left { gap: 16px; }
}
@media (max-width: 991px) {
	.ldp-blogbox { padding: 16px; border-radius: 12px; }
	.ldp-bloghead { margin-bottom: 16px; }
	.ldp-bloghead__top { flex-direction: column; align-items: stretch; gap: 12px; }
	.ldp-bloghead__left { flex-direction: column; align-items: stretch; gap: 10px; }
	.ldp-bloghead__title { font-size: 24px; }
	.ldp-bloghead__cats { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
	.ldp-bloghead__cats .ldp-chip { height: 36px; padding: 0 14px; font-size: 13px; }
	.ldp-bloghead__search { width: 100%; }
	.ldp-blogfeat { grid-template-columns: 1fr; gap: 12px; margin-bottom: 16px; }
	.ldp-blogfeat > .ldp-pcard--over { min-height: 260px; }
	.ldp-blogfeat > .ldp-pcard--over .ldp-pcard__body { padding: 16px; }
	.ldp-blogfeat > .ldp-pcard--over .ldp-pcard__title { font-size: 20px; }
	.ldp-blogfeat__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 12px; }
	.ldp-blogfeat__side .ldp-pcard--over { min-height: 180px; }
	.ldp-blogfeat__side .ldp-pcard--over .ldp-pcard__body { padding: 12px; gap: 6px; }
	.ldp-blogfeat__side .ldp-pcard--over .ldp-pcard__title { font-size: 14px; }
	.ldp-blogrow { margin-bottom: 16px; }
	.ldp-blogrow__grid { display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; margin: 0 -16px; padding: 0 16px; scroll-snap-type: x mandatory; }
	.ldp-blogrow__grid::-webkit-scrollbar { display: none; }
	.ldp-blogrow__grid > *, .ldp-blogrow__grid > :nth-child(n+5) { flex: 0 0 62%; display: flex; scroll-snap-align: start; }
	.ldp-blogrow__grid--3 { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; overflow: visible; }
	.ldp-blogrow__grid--3 > * { flex: none; }
	.ldp-bloglayout, .ldp-bloglayout--post { grid-template-columns: 1fr; gap: 16px; }
	.ldp-blogside, .ldp-blogside--index { position: static; gap: 16px; }
	.ldp-bnr-repair, .ldp-bnr-si { max-width: 440px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
	.ldp-pcard--row { align-items: flex-start; gap: 12px; }
	.ldp-pcard--row .ldp-pcard__img { flex: 0 0 120px; height: 84px; border-radius: 8px; }
	.ldp-pcard--row .ldp-pcard__body { gap: 4px; }
	.ldp-pcard--row .ldp-pcard__title { font-size: 14px; -webkit-line-clamp: 2; }
	.ldp-pcard--row .ldp-pcard__ex { display: none; }
	.ldp-bloglist { gap: 14px; }
	.ldp-blogrow__grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
	.ldp-post.has-cover .ldp-post__card { margin-left: 24px; margin-right: 24px; }
	.ldp-postprods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ldp-postprods > :nth-child(n+4) { display: none; }
}
@media (max-width: 991px) {
	/* Mobile Figma 05: white page, full-bleed cover, card (radius 20) overlapping the cover */
	.ldp-blog--single { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); padding-bottom: 24px; }
	.ldp-trends { padding-top: 12px; gap: 8px; margin-right: calc(-1 * var(--gutter)); }
	.ldp-trends__label { font-size: 14px; }
	.ldp-trends__list { gap: 8px; padding-right: var(--gutter); }
	.ldp-trends__tag { height: 30px; padding: 0 10px; font-size: 13px; }
	.ldp-crumbs { padding: 10px 0 12px; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); }
	.ldp-crumbs::-webkit-scrollbar { display: none; }
	.ldp-crumbs__pill { height: 26px; padding: 0 10px; }
	.ldp-crumbs__sep.is-cur, .ldp-crumbs__cur { display: none; }
	.ldp-postcol { min-width: 0; }
	.ldp-post__cover { margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 390 / 210; border-radius: 0; }
	.ldp-post__card, .ldp-post.has-cover .ldp-post__card { margin: 0 calc(-1 * var(--gutter)); padding: 20px var(--gutter) 0; border-radius: 0; }
	.ldp-post.has-cover .ldp-post__card { margin-top: -36px; border-radius: 20px 20px 0 0; }
	.ldp .ldp-post__title { margin: 14px 0 12px; font-size: 22px; line-height: 1.4; }
	.ldp-post__author { gap: 10px; margin-bottom: 14px; }
	.ldp-post__avatar { width: 36px; height: 36px; font-size: 11px; }
	.ldp-post__meta > i, .ldp-post__meta > .ldp-icon, .ldp-post__meta > span:last-child { display: none; }
	.ldp-post__sapo { font-size: 15px; margin-bottom: 16px; }
	.ldp-toc { margin-bottom: 16px; border: 1px solid #e3e9fb; }
	.ldp-toc__head { padding: 14px 14px 8px; }
	.ldp-toc__head .is-d { display: none; }
	.ldp-toc__head .is-m, .ldp-toc__head > .ldp-icon { display: inline; }
	.ldp-toc__head[aria-expanded="false"] { padding-bottom: 14px; }
	.ldp-toc__list { padding: 0 14px 14px; gap: 4px; font-size: 13px; line-height: 19px; }
	.ldp-entry { font-size: 15px; }
	.ldp-entry h2 { font-size: 19px; }
	.ldp-postprods { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 16px calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
	.ldp-postprods::-webkit-scrollbar { display: none; }
	.ldp-postprods > .ldp-card, .ldp-postprods > :nth-child(n+4) { flex: 0 0 42%; display: flex; scroll-snap-align: start; }
	.ldp-rate { justify-content: center; gap: 8px; padding: 10px 12px; }
	.ldp-rate b { font-size: 13px; }
	.ldp-rate__stars button svg { width: 18px; height: 18px; }
	.ldp-rate__info { font-size: 12px; }
	.ldp-authorbox { margin-top: 20px; }
	.ldp-authorbox__top { gap: 12px; padding: 14px 14px 12px; }
	.ldp-authorbox__avatar { width: 48px; height: 48px; font-size: 15px; }
	.ldp-authorbox p { font-size: 13px; line-height: 20px; }
	.ldp-sharebar { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 14px; padding: 10px 0 12px; }
	.ldp-sharebar__label { font-weight: 500; }
	.ldp-sharebar__icons { gap: 6px; }
	.ldp-sharebar__btn { width: 34px; height: 34px; }
	.ldp-sharebar__btn svg { width: 27px; height: 27px; }
	.ldp-sharebar__copy { width: 26px; height: 26px; }
	.ldp .ldp-ulhead { font-size: 20px; line-height: 28px; }
	.ldp-cmt { margin-top: 20px; }
	.ldp-cmt__actions { display: block; }
	.ldp-cmt__submit { width: 100%; height: 40px; }
	.ldp-relgrid { margin-top: 20px; }
	.ldp-relgrid__list { grid-template-columns: 1fr; gap: 14px; }
	.ldp-relgrid__img { flex-basis: 124px; aspect-ratio: 124 / 70; border-radius: 4px; }
	.ldp-relgrid__tx .is-time { display: none; }
	.ldp-blog--single .ldp-blogside { margin-top: 12px; }
}
@media (max-width: 600px) {
	.ldp-cmt__who { grid-template-columns: 1fr; }
}

/* 9613: ghim mục lục + sidebar khi cuộn (kiểu Sforum) */
.ldp-bloglayout--post { align-items: stretch; }
.ldp-blogside__stick { position: sticky; top: calc(var(--hdr-live, var(--header-h)) + 16px); display: flex; flex-direction: column; gap: 20px; }
.ldp-sidetoc .ldp-blogside__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.ldp-sidetoc__list { list-style: none; margin: 0; padding: 0; max-height: max(160px, calc(100vh - var(--hdr-live, var(--header-h)) - 460px)); overflow-y: auto; scrollbar-width: thin; display: flex; flex-direction: column; }
.ldp-sidetoc__list a, .ldp-tocsheet__list a { display: block; padding: 7px 10px 7px 12px; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; color: var(--n-700); font: 400 14px/20px var(--font); }
.ldp-sidetoc__list a:hover, .ldp-tocsheet__list a:hover { color: var(--blue-600); }
.ldp-sidetoc__list a.is-active, .ldp-tocsheet__list a.is-active { border-left-color: var(--blue-600); background: #f4f7ff; color: var(--blue-600); font-weight: 600; }
.ldp-entry [id] { scroll-margin-top: calc(var(--hdr-live, var(--header-h)) + 70px); }
.ldp-tocbtn, .ldp-tocsheet { display: none; }
@media (max-width: 991px) {
	.ldp-blogside__stick { position: static; gap: 16px; }
	.ldp-sidetoc { display: none; }
	.ldp-tocbtn { position: fixed; left: 16px; bottom: 84px; z-index: 60; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 20px; background: var(--blue-600); color: #fff; font: 600 13px/1 var(--font); box-shadow: 0 4px 14px rgba(31, 111, 197, .35); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
	.ldp-tocbtn.is-show { opacity: 1; transform: none; pointer-events: auto; }
	.ldp-tocsheet { position: fixed; inset: 0; z-index: 10000; display: block; background: rgba(15, 26, 51, .45); }
	.ldp-tocsheet[hidden] { display: none; }
	.ldp-tocsheet__box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 70vh; display: flex; flex-direction: column; border-radius: 16px 16px 0 0; background: #fff; padding: 16px 16px 20px; }
	.ldp-tocsheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--blue-600); font: 700 16px/22px var(--font); }
	.ldp-tocsheet__head button { width: 36px; height: 36px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--n-500); cursor: pointer; }
	.ldp-tocsheet__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
}

/* FB 25/11: thanh Mục lục ghim đầu cột bài viết (như Sforum) */
.ldp-tocbar { position: sticky; top: var(--hdr-live, var(--header-h)); z-index: 50; height: 0; }
.admin-bar .ldp-tocbar { top: calc(var(--hdr-live, var(--header-h)) + 32px); }
.ldp-tocbar__box { background: #fff; border: 1px solid var(--n-200); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 6px 16px rgba(15, 33, 64, .10); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.ldp-tocbar.is-show .ldp-tocbar__box { opacity: 1; visibility: visible; transform: none; }
.ldp-tocbar__in { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; }
.ldp-tocbar__cur { flex: 1; min-width: 0; color: var(--blue-600); font: 700 16px/22px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ldp-tocbar__btn { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px 0 12px; border: 0; border-radius: 6px; background: #f4f7ff; color: var(--blue-600); font: 600 14px/1 var(--font); cursor: pointer; }
.ldp-tocbar__btn svg { transition: transform .15s; }
.ldp-tocbar__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ldp-tocbar__list { list-style: none; margin: 0; padding: 6px 12px 12px; max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--n-100); }
.ldp-tocbar__list[hidden] { display: none; }
.ldp-tocbar__list a { display: block; padding: 8px 10px 8px 12px; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; color: var(--n-700); font: 400 14px/20px var(--font); }
.ldp-tocbar__list a:hover { color: var(--blue-600); }
.ldp-tocbar__list a.is-active { border-left-color: var(--blue-600); background: #f4f7ff; color: var(--blue-600); font-weight: 600; }
@media (max-width: 782px) { .admin-bar .ldp-tocbar { top: calc(var(--hdr-live, var(--header-h)) + 46px); } }
@media (max-width: 991px) {
	/* 27/11 FB lần 2 (mobile cuộn chậm): thanh ghim fixed + layer riêng, hiện ngay không mờ dần */
	.ldp-tocbar { position: fixed; left: 0; right: 0; margin: 0; }
	.ldp-tocbar__box, .ldp-tocbar.is-show .ldp-tocbar__box { transform: translateZ(0); transition: none; }
	.ldp-tocbar__list { max-height: 55vh; }
	.ldp-tocbar__box { border-left: 0; border-right: 0; border-radius: 0; }
	.ldp-tocbar__in { padding: 8px var(--gutter, 16px); }
	.ldp-tocbar__cur { font-size: 14px; line-height: 20px; }
	.ldp-tocbar__btn { height: 32px; font-size: 13px; }
}

/* 26/11 FB Tuyết: màn thấp (laptop 768px) thu gọn banner Mua sỉ + form tư vấn để ghim đủ cả 2 */
.ldp-blogside__stick.is-compact { gap: 12px; }
.is-compact .ldp-bnr-si { aspect-ratio: 440 / 205; padding: 0 22px; }
.is-compact .ldp-bnr-si__tx { gap: 6px; }
.is-compact .ldp-bnr-si__tx b { font-size: 6.2cqw; }
.is-compact .ldp-bnr-si__tx strong { font-size: 6.6cqw; }
.is-compact .ldp-bnr-si__tx em { padding: 7px 16px; }
.is-compact .ldp-consult { padding: 18px 20px; }
.is-compact .ldp-consult h2 { margin-bottom: 12px; font-size: 19px; line-height: 25px; }
.is-compact .ldp-consult .ldp-form { gap: 9px; }
.is-compact .ldp-consult .ldp-form__row2 { gap: 9px; }
.ldp .is-compact .ldp-consult .ldp-form input[type="text"], .ldp .is-compact .ldp-consult .ldp-form input[type="tel"] { height: 40px; }
.is-compact .ldp-consult .ldp-form .ldp-btn { min-height: 42px; }
.is-compact .ldp-consult__note { margin-top: 8px; }

/* FB 30/11: nút Ẩn/Hiện mục lục (như CellphoneS) */
.ldp-toc__head .ldp-toc__sw { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-left: 12px; font: 500 14px/20px var(--font); color: var(--blue-600); }
.ldp-toc__sw i { font-style: normal; }
.ldp-toc__sw .ldp-icon { transition: transform .2s; transform: rotate(180deg); }
.ldp-toc__head[aria-expanded="false"] .ldp-toc__sw .ldp-icon { transform: none; }
.ldp-toc__head .is-off, .ldp-toc__head[aria-expanded="false"] .is-on { display: none; }
.ldp-toc__head[aria-expanded="false"] .is-off { display: inline; }
.ldp-toc__list[hidden] { display: none; }
