/* Trang chi tiet bai viet / trang thuong (news-details): 2 cot, thanh ben ghim.
   Spec docs/specs/2026-11-17-proton-post-detail-design.md. Nap sau style.css (chi o news-details);
   luat than bai co san trong style.css (.news-details-content .proton-post-body ...) van ap. */

/* Banner: dung quy tac chung trong style.css (.breadcrumb-wrapper .page-heading); h1 nam trong khung bai. */

/* Luoi 2 cot. */
.proton-post { padding: 40px 0 96px; } /* sat duong dan (chu shop 2026-11-29: cach 72px qua xa) */
.proton-post-layout { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
@media (min-width: 1200px) {
	.proton-post-layout { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 56px; align-items: start; }
}
@media (max-width: 767px) {
	.proton-post { padding: 24px 0 64px; }
	.proton-post-layout { row-gap: 40px; }
}

/* Khung bai: bo vien + le cua mau, chu chay sat cot. */
.proton-post .news-details-content-area .news-details-content { border: 0; border-radius: 0; }
.proton-post .news-details-content-area .news-details-content .content { padding: 0; }

/* Dau bai. */
.proton-post-header { margin-bottom: 40px; }
.proton-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 15px; color: var(--text); }
.proton-post-meta i { margin-right: 6px; color: var(--theme-2); }
.proton-post-cat { display: inline-block; padding: 6px 14px; border-radius: 999px; background-color: var(--theme); color: var(--header); font-size: 14px; font-weight: 600; line-height: 1.3; }
.proton-post-cat:hover { background-color: var(--theme-2); color: var(--white); }
.proton-post-title { margin: 0; font-size: 44px; font-weight: 500; line-height: 1.2; text-wrap: pretty; } /* balance chia doi dong -> dong 1 ngan (chu shop 2026-11-29) */
.proton-post-header .proton-post-lead { margin: 20px 0 0; font-size: 19px; font-weight: 400; line-height: 1.7; color: var(--header); }
.proton-post-cover { margin: 32px 0 0; }
.proton-post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1290 / 650; object-fit: cover; border-radius: 20px; }
@media (max-width: 1199px) {
	.proton-post-title { font-size: 38px; }
}
@media (max-width: 767px) {
	.proton-post-header { margin-bottom: 28px; }
	.proton-post-title { font-size: 30px; }
	.proton-post-header .proton-post-lead { font-size: 17px; }
	.proton-post-cover { margin-top: 24px; }
	.proton-post-cover img { border-radius: 14px; }
}

/* Than bai: mot mau chu, anh bo goc, bang co vien, tieu de khong bi header che khi nhay toi. */
.proton-post .proton-post-body { margin-bottom: 48px; color: var(--text); }
.proton-post .proton-post-body > :first-child { margin-top: 0; }
.proton-post .proton-post-body :is(h2, .pf-faq > h3) { scroll-margin-top: 120px; }
.proton-post .proton-post-body img { border-radius: 10px; }
/* Bai nhap tu cong cu cu boc bang trong div.px-2 (Bootstrap !important) lam bang lech 8px so voi chu. */
.proton-post .proton-post-body .overflow-x-auto { margin: 28px 0 32px; padding-right: 0 !important; padding-left: 0 !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.proton-post .proton-post-body table { width: 100%; margin: 28px 0 32px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.proton-post .proton-post-body .overflow-x-auto table { min-width: 560px; margin: 0; }
.proton-post .proton-post-body > table { display: block; max-width: 100%; overflow-x: auto; }
.proton-post .proton-post-body :is(th, td) { padding: 12px 16px; border: 1px solid #DBDBDB; text-align: left; vertical-align: top; }
.proton-post .proton-post-body th { border-color: var(--theme-2); background-color: var(--theme-2); color: var(--white); font-weight: 600; }
.proton-post .proton-post-body tbody tr:nth-child(even) td { background-color: var(--bg); }
.proton-post .proton-post-body td strong { color: var(--header); }
.proton-post .proton-post-body .overflow-x-auto:focus-visible,
.proton-post .proton-post-body > table:focus-visible { outline: 2px solid var(--theme-2); outline-offset: 2px; }

/* Muc luc (chung cho thanh ben va hop thu gon). */
.proton-post-toc-list { margin: 0; padding: 0; list-style: none; }
.proton-post-toc-list li + li { margin-top: 2px; }
.proton-post-toc-list a { display: flex; gap: 12px; padding: 7px 12px; border-radius: 10px; color: var(--text); font-size: 15px; line-height: 1.45; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.proton-post-toc-num { flex: 0 0 auto; color: var(--theme-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.proton-post-toc-list a:hover { background-color: var(--white); color: var(--header); }
/* Muc dang doc: nen trang + vien manh deu 4 phia (khong vach mot ben tren khung bo goc -> cong luoi liem, chu shop cam). */
.proton-post-toc-list a[aria-current="location"] { background-color: var(--white); color: var(--theme-2); font-weight: 600; box-shadow: 0 0 0 1px #E3E6DA, 0 6px 16px -10px rgba(15, 84, 30, .35); }
.proton-post-toc-list a:focus-visible { outline: 2px solid var(--theme-2); outline-offset: 2px; }

/* Hop muc luc thu gon tren than bai (duoi 1200px). */
.proton-post-toc-inline { margin: 0 0 36px; border-radius: 16px; background-color: var(--bg); }
.proton-post-toc-inline summary { position: relative; padding: 18px 52px 18px 22px; list-style: none; cursor: pointer; font-family: var(--heading-font); font-size: 18px; font-weight: 500; color: var(--header); }
.proton-post-toc-inline summary::-webkit-details-marker { display: none; }
.proton-post-toc-inline summary::after { content: "\f067"; position: absolute; top: 50%; right: 22px; transform: translateY(-50%); font-family: "Font Awesome 6 Pro"; font-size: 15px; font-weight: 400; line-height: 1; }
.proton-post-toc-inline[open] summary::after { content: "\f068"; }
.proton-post-toc-inline summary:focus-visible { outline: 2px solid var(--theme-2); outline-offset: -4px; border-radius: 16px; }
.proton-post-toc-inline .proton-post-toc-list { padding: 0 10px 14px; }
@media (min-width: 1200px) {
	.proton-post-toc-inline { display: none; }
}

/* Thanh ben: dung hop nen be cua mau (.main-sidebar .single-sidebar-widget). */
.proton-post-aside .single-sidebar-widget { margin-bottom: 24px; }
.proton-post-aside .single-sidebar-widget:last-child { margin-bottom: 0; }
.proton-post-aside .proton-post-toc { padding: 32px 18px 18px; }
.proton-post-aside .proton-post-toc .wid-title { padding: 0 12px; }
.proton-post-help p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; }
.proton-post-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.proton-post-help-actions .theme-btn { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 10px; line-height: 1; white-space: nowrap; text-transform: none; font-size: 15px; }
.proton-post-help-actions .theme-btn::before { left: 50%; } /* nut flex: ghim tam lop nen hover */
.proton-post-help-actions .proton-post-zalo { flex: 0 0 auto; }
.proton-post-help-actions .theme-btn i { margin: 0; }
.proton-post-help-actions .proton-post-zalo { background-color: var(--theme-2); color: var(--white); }
.proton-post-help-actions .proton-post-zalo::before { background-color: var(--theme); }
.proton-post-help-actions .proton-post-zalo:hover { color: var(--header); }
@media (min-width: 1200px) {
	/* Muc luc + Can tu van ghim chung: danh sach dai thi tu cuon ben trong (proton-post.js giu muc dang doc trong khung). */
	.proton-post-aside .proton-post-toc-list { max-height: calc(100vh - 500px); min-height: 160px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
	.proton-post-aside .proton-post-help { padding: 28px 30px; }
	.proton-post-aside .proton-post-help p { margin-bottom: 16px; font-size: 15px; }
}
@media (max-width: 1199px) {
	/* Muc luc da co hop thu gon tren than bai. */
	.proton-post-aside .proton-post-toc { display: none; }
}
@media (min-width: 768px) and (max-width: 1199px) {
	.proton-post-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
	.proton-post-aside .single-sidebar-widget { margin-bottom: 0; }
}

/* Bai truoc/sau rong het cot (mau gioi han 790px). */
.proton-post .news-details-content-area .news-details-content .content .soil-from { max-width: none; }

/* Khung buoc dan tu bai cu (style inline margin: 0) dinh lien nhau -> vien doi; tach 12px. */
.proton-post-body div[style*="border-style: solid"] + div[style*="border-style: solid"] { margin-top: 12px !important; }

/* Form hoi ky su: hop nen be nhu thanh ben thay cho vien xam. */
.proton-post .news-details-content-area .news-details-contact-box { margin-top: 32px; border: 0; background-color: var(--bg); }
@media (max-width: 767px) {
	.proton-post .news-details-content-area .news-details-contact-box { margin-top: 24px; padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.proton-post-toc-list a { transition: none; }
}


/* 2026-11-29 hoc Dien May Xanh: ten tac gia canh ngay dang; chu thich anh bai AI (figcaption lay tu alt, inc/contenthub-render.php)
   dam hon mau figcaption chung #8A8F94 (3,3:1) -> #5F666C dat 5,8:1 tren nen trang. */
.proton-post-author span { font-weight: 600; color: var(--header); }
.news-details-content .proton-post-body figcaption.pf-ai-caption { color: #5F666C; }

/* ==== Kieu bao lon (2026-11-29): thanh chia se duoi tieu de + khoi "Doc tiep" cuoi trang (template-parts/news/post-related.php).
   Trang bai khong nap proton-news.css -> chep phan the bai / dau khoi can dung, gon. */
.pf-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; }
.pf-share-k { margin-right: 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #467312; }
.pf-share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #E3E6DA; border-radius: 999px; background: #fff; font-family: var(--heading-font); font-size: 14px; font-weight: 600; color: var(--header); cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.pf-share-btn:hover { border-color: var(--theme-2); color: var(--theme-2); }
.pf-share-btn:focus-visible { outline: 2px solid var(--theme-3); outline-offset: 2px; }
.pf-share-fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.pf-share-zalo:hover { background: #0068FF; border-color: #0068FF; color: #fff; }
.pf-share-copy.is-done { background: var(--theme-2); border-color: var(--theme-2); color: #fff; }

.pf-post-more { padding: 72px 0 96px; background: var(--bg2); }
.pf-post-more .pf-sec-head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; padding-bottom: 14px; border-bottom: 1px solid #E3E6DA; }
.pf-post-more .pf-sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; border-radius: 3px; background: var(--theme-3); }
.pf-post-more .pf-sec-title { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.pf-post-more .pf-sec-title a { color: var(--theme-2); }
.pf-post-more .pf-sec-title a:hover { color: var(--header); }
.pf-post-more .pf-sec-more { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-family: var(--heading-font); font-size: 15px; font-weight: 500; color: var(--header); white-space: nowrap; }
.pf-post-more .pf-sec-more i { font-size: 13px; color: #467312; transition: transform .25s; }
.pf-post-more .pf-sec-more:hover { color: var(--theme-2); }
.pf-post-more .pf-sec-more:hover i { transform: translateX(3px); }
.pf-post-more-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.pf-post-more .pf-card { display: flex; flex-direction: column; min-width: 0; }
.pf-post-more .pf-card-media { display: block; overflow: hidden; border-radius: 18px; background: #fff; }
.pf-post-more .pf-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pf-post-more .pf-card:hover .pf-card-media img { transform: scale(1.045); }
.pf-post-more .pf-card-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding-top: 16px; }
.pf-post-more .pf-card-title { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-post-more .pf-card-title a { color: var(--header); }
.pf-post-more .pf-card:hover .pf-card-title a { color: var(--theme-2); }
.pf-post-more .pf-card-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: auto 0 0; font-size: 14px; color: var(--text); }
.pf-post-more .pf-card-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 3px; border-radius: 50%; background: var(--theme-3); vertical-align: middle; }
.pf-post-more-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-top: 56px; }
.pf-post-more-cards + .pf-post-more-cols { padding-top: 48px; border-top: 1px solid #E3E6DA; }
.pf-post-more .pf-mag-col-title { position: relative; margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid #E3E6DA; font-size: 19px; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.pf-post-more .pf-mag-col-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; border-radius: 3px; background: var(--theme-3); }
.pf-post-more .pf-mag-col-title a, .pf-post-more .pf-mag-col-title span { display: inline-flex; align-items: center; gap: 10px; color: var(--theme-2); }
.pf-post-more .pf-mag-col-title a:hover { color: var(--header); }
.pf-post-more .pf-mag-col-title i { font-size: 14px; }
.pf-post-more-list { margin: 0; padding: 0; list-style: none; counter-reset: pf-rel; }
.pf-post-more-list li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 0 14px 34px; counter-increment: pf-rel; }
.pf-post-more-list li + li { border-top: 1px dashed #E3E6DA; }
.pf-post-more-list li::before { content: counter(pf-rel); position: absolute; left: 0; top: 13px; font-family: var(--heading-font); font-size: 20px; font-weight: 600; line-height: 1; color: #467312; }
.pf-post-more-list a { font-family: var(--heading-font); font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--header); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-post-more-list a:hover { color: var(--theme-2); }
.pf-post-more-date { font-size: 13px; color: var(--text); }
@media (max-width: 1199px) {
	.pf-post-more-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.pf-post-more-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 767px) {
	.pf-post-more { padding: 48px 0 64px; }
	.pf-post-more .pf-sec-title { font-size: 21px; }
	.pf-post-more-cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.pf-post-more .pf-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; }
	.pf-post-more .pf-card + .pf-card { border-top: 1px solid #E3E6DA; }
	.pf-post-more .pf-card-media { border-radius: 14px; }
	.pf-post-more .pf-card-media img { aspect-ratio: 4 / 3; }
	.pf-post-more .pf-card-body { gap: 8px; padding-top: 0; }
	.pf-post-more .pf-card-title { font-size: 17px; }
	.pf-post-more-cols { margin-top: 32px; }
	.pf-post-more-cards + .pf-post-more-cols { padding-top: 32px; }
	.pf-share-copy-t { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.pf-post-more .pf-card-media img, .pf-post-more .pf-sec-more i { transition: none; }
}

/* Thanh ben day hon (2026-11-29): Doc nhieu, Theo cay trong, San pham nen dung. */
.proton-side-rank-list, .proton-side-crops ul, .proton-side-prods ul { margin: 0; padding: 0; list-style: none; }
.proton-side-rank-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 12px 0; }
.proton-side-rank-list li + li { border-top: 1px solid #E3E6DA; }
.proton-side-rank-list li:last-child { padding-bottom: 0; }
.proton-side-rank-n { font-family: var(--heading-font); font-size: 22px; font-weight: 600; line-height: 1; color: #467312; }
.proton-side-rank-list a { font-family: var(--heading-font); font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--header); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proton-side-rank-list a:hover { color: var(--theme-2); }
.proton-side-crops ul { display: grid; gap: 8px; }
.proton-side-crops a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 12px; background: #fff; transition: background-color .25s, color .25s; }
.proton-side-crops a:hover { background: var(--theme); }
.proton-side-crop-img { display: block; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: var(--bg2); }
.proton-side-crop-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proton-side-crop-name { font-family: var(--heading-font); font-size: 16px; font-weight: 500; color: var(--header); }
.proton-side-crop-n { min-width: 28px; padding: 3px 8px; border-radius: 999px; background: var(--bg2); font-size: 12px; font-weight: 600; text-align: center; color: var(--theme-2); }
.proton-side-crops a:hover .proton-side-crop-n { background: #fff; }
.proton-side-prods li + li { border-top: 1px solid #E3E6DA; }
.proton-side-prods a { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; }
.proton-side-prods li:first-child a { padding-top: 0; }
.proton-side-prods li:last-child a { padding-bottom: 0; }
.proton-side-prod-img { display: block; overflow: hidden; border-radius: 12px; background: #fff; }
.proton-side-prod-img img { display: block; width: 60px; height: 60px; object-fit: cover; }
.proton-side-prod-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.proton-side-prod-cat { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #467312; }
.proton-side-prod-name { font-family: var(--heading-font); font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--header); }
.proton-side-prods a:hover .proton-side-prod-name { color: var(--theme-2); }
@media (min-width: 1200px) {
	.proton-post-aside .proton-side-rank, .proton-post-aside .proton-side-crops, .proton-post-aside .proton-side-prods { padding: 28px 30px; }
}

/* Het vien sang o goc bo tron anh (2026-11-29, nhu proton-news.css). */
.pf-post-more .pf-card-media, .proton-side-crop-img, .proton-side-prod-img { background: transparent; }
.pf-post-more .pf-card-media img, .proton-side-crop-img img, .proton-side-prod-img img { border-radius: inherit; background: var(--bg2); }


/* ---------- Nang cap trang chi tiet bai viet 2026-12-03: tien do doc, co chu A-/A+, badge cay, SP ngu canh, E-E-A-T, phan hoi ---------- */
.pf-read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10000; pointer-events: none; background: transparent; }
.pf-read-progress span { display: block; width: 100%; height: 100%; background: var(--theme-3, #80C41C); transform: scaleX(0); transform-origin: left center; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .pf-read-progress { display: none; } }

.proton-post-crop-badge { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: #EEF3E6; color: var(--theme-2); font-size: 14px; font-weight: 600; line-height: 1.3; }
.proton-post-crop-badge:hover { background: #E0EBD0; color: var(--theme-2); }
.proton-post-readtime { color: var(--text); font-weight: 500; }

.pf-share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.pf-share-row .pf-share { margin: 0; }
.pf-font-ctrl { display: inline-flex; align-items: center; gap: 6px; }
.pf-font-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid #DCE3CE; border-radius: 10px; background: var(--white); color: var(--header); font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.pf-font-btn:hover, .pf-font-btn:focus-visible { border-color: var(--theme-2); background: #EEF3E6; color: var(--theme-2); }
.proton-post .news-details-content .proton-post-body { font-size: calc(17px * var(--pf-body-scale, 1)); }
.proton-post .news-details-content .proton-post-body :is(p, li) { font-size: inherit; }
@media (max-width: 575px) {
	.proton-post .news-details-content .proton-post-body { font-size: calc(16px * var(--pf-body-scale, 1)); }
}

.pf-post-cta-prods { margin: 32px 0 28px; padding: 20px 22px; border-radius: 16px; background: #F7F8F2; border: 1px solid #DDE4CE; }
.pf-post-cta-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.pf-post-cta-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--header); }
.pf-post-cta-zalo { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--theme-2); color: var(--white); font-size: 13px; font-weight: 600; }
.pf-post-cta-zalo:hover { color: var(--white); opacity: .92; }
.pf-post-cta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pf-post-cta-card { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--white); border: 1px solid #E5EBDA; color: var(--header); transition: border-color .2s ease, transform .2s ease; }
.pf-post-cta-card:hover { border-color: var(--theme-2); transform: translateY(-2px); color: var(--theme-2); }
.pf-post-cta-img { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: #F4F6EE; }
.pf-post-cta-img img { width: 100%; height: 100%; object-fit: contain; }
.pf-post-cta-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-post-cta-cat { font-size: 11.5px; font-weight: 600; color: #4C6B1F; }
.pf-post-cta-name { font-size: 13.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pf-author-box { display: flex; align-items: flex-start; gap: 16px; margin: 28px 0; padding: 20px 22px; border-radius: 16px; background: var(--white); border: 1px solid #E3E8D8; }
.pf-author-avatar { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: #F4F7EC; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pf-author-avatar img { width: 44px; height: 44px; object-fit: contain; }
.pf-author-body { min-width: 0; }
.pf-author-kicker { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #4C6B1F; }
.pf-author-name { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--header); }
.pf-author-desc { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--text); }
.pf-author-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; font-weight: 600; }
.pf-author-links a { color: var(--theme-2); }

.pf-post-feedback { margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: #F4F7EC; border: 1px solid #DCE5C9; text-align: center; }
.pf-post-feedback-q { margin: 0 0 12px; font-size: 15.5px; font-weight: 700; color: var(--header); }
.pf-post-feedback-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pf-fb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid #C8D5B0; background: var(--white); color: var(--header); transition: background-color .2s ease, border-color .2s ease; }
.pf-fb-btn--ask { background: var(--theme-2); border-color: var(--theme-2); color: var(--white); }
.pf-fb-btn--yes:hover { border-color: var(--theme-2); color: var(--theme-2); }
.pf-fb-btn--ask:hover { opacity: .92; }
.pf-post-feedback-status { margin: 10px 0 0; min-height: 20px; font-size: 13.5px; font-weight: 600; color: var(--theme-2); }

@media (max-width: 767px) {
	.pf-post-cta-grid { grid-template-columns: minmax(0, 1fr); }
	.pf-author-box { flex-direction: column; padding: 16px; }
}

/* Hieu nang trang chi tiet bai viet: ghim thanh ben bang CSS sticky goc (thay ScrollTrigger JS) + content-visibility duoi man dau. */
body.single-post, body.page { overflow-x: clip; }
@media (min-width: 1200px) {
	.proton-post-layout { align-items: stretch; }
	.proton-post-aside { position: sticky; top: 120px; align-self: start; }
}
.pf-post-more, footer.footer-section {
	content-visibility: auto;
	contain-intrinsic-size: auto 600px;
}
