/* ==========================================================================
   S SELECT — CSS cho các trang trong
   Chi tiết sản phẩm, danh sách sản phẩm, tin tức, giới thiệu.
   Dùng chung bảng màu và font với style.css / home.css
   ========================================================================== */

/* --- Khung trang chung ------------------------------------------------- */
.pg { padding: 0 0 clamp(56px, 7vw, 96px); }
.pg-inner { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.pg-inner--narrow { max-width: 860px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #5C6B61; padding: 22px 0 6px; }
.breadcrumb a { color: #5C6B61; }
.breadcrumb a:hover { color: #017A36; }
.breadcrumb-sep { opacity: .45; }
.breadcrumb-current { color: #17211B; font-weight: 500; }

.pg-head { padding: clamp(22px, 3vw, 34px) 0 clamp(20px, 3vw, 30px); }
.pg-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin: 0; color: #17211B; text-wrap: balance; }
.pg-lead { margin: 14px 0 0; max-width: 68ch; color: #4A5952; font-size: 15.5px; line-height: 1.75; }

.empty-state { background: #fff; border: 1px solid #E1EBE4; border-radius: 6px; padding: clamp(32px, 5vw, 56px); text-align: center; color: #5C6B61; }
.empty-state strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 24px; color: #17211B; margin-bottom: 8px; font-weight: 600; }

/* --- Nút dùng chung ----------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; font-size: 14.5px; font-weight: 600; letter-spacing: .01em; padding: 13px 26px; border: 1px solid transparent; cursor: pointer; transition: background .24s ease, color .24s ease, border-color .24s ease; }
.btn--primary { background: #017A36; color: #fff; }
.btn--primary:hover { background: #015E2A; color: #fff; }
.btn--ghost { background: #fff; color: #017A36; border-color: #C6DFCD; }
.btn--ghost:hover { background: #EAF4ED; color: #015E2A; }
.btn--block { width: 100%; }

/* ==========================================================================
   CHI TIẾT SẢN PHẨM
   ========================================================================== */
.pd-top { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(32px, 4vw, 48px); }

.pd-gallery { position: sticky; top: 96px; }
.pd-stage { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: clamp(18px, 3vw, 34px); aspect-ratio: 1 / 1; overflow: hidden; }
.pd-stage img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 68px; height: 68px; border: 1px solid #E1EBE4; border-radius: 5px; background: #fff; padding: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease; }
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumb.is-active, .pd-thumb:hover { border-color: #017A36; }

.pd-cate { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #017A36; margin-bottom: 12px; }
.pd-name { font-weight: 600; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; margin: 0 0 14px; color: #17211B; text-wrap: balance; }
.pd-sub { color: #5C6B61; font-size: 15px; line-height: 1.7; margin: 0 0 22px; }

.pd-price-box { background: #F4FAF6; border: 1px solid #D8E9DD; border-radius: 6px; padding: 18px 22px; margin-bottom: 24px; }
.pd-price { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: #017A36; line-height: 1; }
.pd-price-label { font-size: 12.5px; color: #5C6B61; margin-top: 7px; letter-spacing: .04em; }

.pd-meta { border-top: 1px solid #E1EBE4; margin-bottom: 24px; }
.pd-meta-row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid #E1EBE4; font-size: 14.5px; }
.pd-meta-key { color: #5C6B61; }
.pd-meta-val { color: #17211B; font-weight: 500; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.pd-buy { border: 1px solid #E1EBE4; border-radius: 6px; padding: 18px 20px; background: #fff; }
.pd-buy-title { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #5C6B61; margin-bottom: 14px; }
.pd-buy-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-buy-link { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #DCE7DF; border-radius: 4px; padding: 9px 15px; font-size: 14px; font-weight: 500; color: #17211B; background: #fff; transition: border-color .2s ease, color .2s ease; }
.pd-buy-link:hover { border-color: #017A36; color: #017A36; }

/* --- Nội dung chi tiết -------------------------------------------------- */
.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pd-article { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: clamp(22px, 3.4vw, 40px); }

/* Mục lục nội dung: cột trái dính theo cuộn, tô sáng mục đang xem */
.pd-doc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.pd-toc { position: sticky; top: 96px; }
.pd-toc-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid #E1EBE4; }
.pd-toc-item { display: block; padding: 13px 16px; margin-left: -1px; border-left: 2px solid transparent; color: #5C6B61; font-size: 15px; line-height: 1.35; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.pd-toc-item:hover { color: #017A36; background: #F4FAF6; }
.pd-toc-item.is-active { color: #017A36; font-weight: 600; border-left-color: #017A36; background: #F4FAF6; }
/* Chừa chỗ cho header dính khi nhảy tới mục */
.pd-anchor { scroll-margin-top: 110px; }
.pd-section + .pd-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid #EDF3EE; }
.pd-section-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.2; margin: 0 0 14px; color: #17211B; }

/* Nội dung nhập từ trình soạn thảo trong quản trị */
.rich { color: #33413A; font-size: 15.5px; line-height: 1.85; }
.rich > *:first-child { margin-top: 0; }
.rich > *:last-child { margin-bottom: 0; }
.rich p { margin: 0 0 15px; }
.rich h2, .rich h3, .rich h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: #17211B; line-height: 1.24; margin: 30px 0 12px; }
.rich h2 { font-size: 27px; }
.rich h3 { font-size: 22px; }
.rich h4 { font-size: 19px; }
.rich ul, .rich ol { margin: 0 0 15px; padding-left: 22px; }
.rich li { margin-bottom: 7px; }
.rich img { max-width: 100%; height: auto; border-radius: 5px; margin: 10px 0; }
.rich a { color: #017A36; text-decoration: underline; text-underline-offset: 3px; }
.rich blockquote { margin: 20px 0; padding: 14px 20px; border-left: 3px solid #4FBF7C; background: #F4FAF6; color: #33413A; font-style: italic; }
.rich table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.rich th, .rich td { border: 1px solid #E1EBE4; padding: 10px 13px; text-align: left; }
.rich th { background: #F4FAF6; font-weight: 600; }
.rich-scroll { overflow-x: auto; }

.pd-points { list-style: none; margin: 0; padding: 0; }
.pd-points li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #33413A; font-size: 15.5px; line-height: 1.7; }
.pd-points li::before { content: ''; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: #EAF4ED; border: 1px solid #C6DFCD; }
.pd-points li::after { content: ''; position: absolute; left: 5px; top: 14px; width: 6px; height: 3px; border-left: 1.6px solid #017A36; border-bottom: 1.6px solid #017A36; transform: rotate(-45deg); }

/* --- Cột phải ----------------------------------------------------------- */
.pd-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.aside-card { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: 22px; }
.aside-title { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #017A36; margin-bottom: 16px; }
.aside-list { display: grid; gap: 14px; }
.aside-item { display: flex; gap: 12px; align-items: center; }
.aside-thumb { width: 58px; height: 58px; flex: none; border: 1px solid #E1EBE4; border-radius: 5px; background: #fff; padding: 5px; display: flex; align-items: center; justify-content: center; }
.aside-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.aside-name { font-size: 14.5px; font-weight: 500; color: #17211B; line-height: 1.4; display: block; }
.aside-name:hover { color: #017A36; }
.aside-price { font-size: 13.5px; color: #017A36; font-weight: 600; margin-top: 3px; }

/* --- Sản phẩm liên quan ------------------------------------------------- */
.pd-related { padding-top: clamp(40px, 5vw, 64px); }

/* ==========================================================================
   LƯỚI SẢN PHẨM / BÀI VIẾT (dùng chung cho trang danh sách)
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.card-grid--posts { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.pcard { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .26s ease, transform .26s ease, box-shadow .26s ease; }
.pcard:hover { border-color: #C6DFCD; transform: translateY(-3px); box-shadow: 0 18px 34px -26px rgba(1, 122, 54, .45); }
/* Khung ảnh cao bằng nhau ở mọi thẻ. Dùng width/height 100% + object-fit thay cho
   max-height:100% — trong hộp aspect-ratio, chiều cao phần trăm không phân giải được
   nên ảnh tự đẩy khung cao thấp khác nhau. */
.pcard-media { aspect-ratio: 1 / 1; display: block; padding: 20px; background: #fff; overflow: hidden; }
.pcard-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Ảnh thay thế khi sản phẩm chưa có ảnh: thu nhỏ bằng padding, giữ đúng khung */
.is-placeholder img, img.is-placeholder { padding: 20%; opacity: .3; }
.pcard-body { padding: 0 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #017A36; margin-bottom: 9px; }
/* min-height giữ khối chữ thẳng hàng khi tên sản phẩm dài ngắn khác nhau,
   nhưng không cắt chữ — tên dài vẫn hiện đủ. */
.pcard-name { font-size: 16px; font-weight: 600; color: #17211B; line-height: 1.35; margin: 0 0 8px; min-height: calc(2 * 1.35em); }
.pcard-name a { color: inherit; }
.pcard-name a:hover { color: #017A36; }
.pcard-desc { font-size: 13.8px; color: #5C6B61; line-height: 1.6; margin: 0 0 16px; flex: 1; }
/* Noi dung nhap tu CKEditor da boc san the <p> — bo margin mac dinh cua trinh duyet
   de khong pha nhip doc cua the card. */
.pcard-tag p, .pcard-desc p { margin: 0; }
.pcard-tag p + p, .pcard-desc p + p { margin-top: 6px; }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pcard-price { font-size: 17px; font-weight: 700; color: #017A36; line-height: 1.2; }
.pcard-price small { display: block; font-size: 11.5px; font-weight: 400; color: #8A968F; margin-top: 3px; }
.pcard-link { font-size: 14px; font-weight: 600; color: #017A36; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.pcard-link:hover { border-color: #017A36; }

/* --- Thẻ bài viết ------------------------------------------------------- */
.ncard { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .26s ease, transform .26s ease, box-shadow .26s ease; }
.ncard:hover { border-color: #C6DFCD; transform: translateY(-3px); box-shadow: 0 18px 34px -26px rgba(1, 122, 54, .45); }
.ncard-media { aspect-ratio: 16 / 10; overflow: hidden; background: #EAF0EB; }
.ncard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ncard:hover .ncard-media img { transform: scale(1.045); }
.ncard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ncard-date { font-size: 12px; color: #8A968F; letter-spacing: .06em; margin-bottom: 9px; }
.ncard-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; line-height: 1.26; margin: 0 0 10px; color: #17211B; }
.ncard-title a { color: inherit; }
.ncard-title a:hover { color: #017A36; }
.ncard-excerpt { font-size: 14px; color: #5C6B61; line-height: 1.65; margin: 0 0 16px; flex: 1; }
.ncard-more { font-size: 13.5px; font-weight: 600; color: #017A36; }

/* --- Bộ lọc danh mục ---------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(22px, 3vw, 34px); }
.chip { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px; border: 1px solid #DCE7DF; background: #fff; font-size: 14px; font-weight: 500; color: #33413A; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.chip:hover { border-color: #017A36; color: #017A36; }
.chip.is-active { background: #017A36; border-color: #017A36; color: #fff; }

/* --- Phân trang --------------------------------------------------------- */
.pager { margin-top: clamp(30px, 4vw, 44px); }
.pager .pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.pager .page-item .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #DCE7DF; border-radius: 4px; background: #fff; color: #33413A; font-size: 14px; }
.pager .page-item .page-link:hover { border-color: #017A36; color: #017A36; }
.pager .page-item.active .page-link { background: #017A36; border-color: #017A36; color: #fff; }
.pager .page-item.disabled .page-link { opacity: .45; }

/* ==========================================================================
   CHI TIẾT BÀI VIẾT
   ========================================================================== */
.art-head { padding: clamp(18px, 2.6vw, 28px) 0 clamp(20px, 3vw, 30px); }
.art-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; margin: 0 0 14px; color: #17211B; text-wrap: balance; }
.art-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: #8A968F; }
.art-cover { border-radius: 8px; overflow: hidden; margin-bottom: clamp(24px, 3.4vw, 38px); background: #EAF0EB; }
.art-cover img { width: 100%; height: auto; display: block; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 4vw, 48px); align-items: start; }
.art-body { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: clamp(24px, 3.6vw, 44px); }

/* ==========================================================================
   TRANG GIỚI THIỆU
   ========================================================================== */
.intro-hero { background: #017A36; color: #EAF4EC; padding: clamp(52px, 7vw, 92px) 0; }
.intro-hero .pg-inner { max-width: 1240px; }
.intro-hero-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #9FD9B4; margin-bottom: 18px; }
.intro-hero-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; margin: 0 0 20px; text-wrap: balance; }
.intro-hero-text { max-width: 62ch; font-size: 16px; line-height: 1.8; color: #CFE7D7; margin: 0; }

.intro-block { padding: clamp(48px, 6vw, 84px) 0; }
.intro-block--tint { background: #EAF0EB; }
.intro-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 60px); align-items: center; }
.intro-figure { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #E1EBE4; }
.intro-figure img { width: 100%; height: auto; display: block; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(26px, 3vw, 38px); }
.stat { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: 26px 22px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 3.6vw, 44px); font-weight: 600; color: #017A36; line-height: 1; }
.stat-label { font-size: 13.5px; color: #5C6B61; margin-top: 9px; line-height: 1.5; }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(26px, 3vw, 38px); }
.value-item { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: 28px 24px; min-width: 0; }
.value-item .value-title, .value-item .value-text { overflow-wrap: break-word; word-break: break-word; }
.value-icon { width: 48px; height: 48px; border-radius: 50%; background: #EAF4ED; border: 1px solid #D0E4D6; color: #017A36; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-icon svg { width: 22px; height: 22px; }
.value-title { font-size: 17px; font-weight: 600; color: #17211B; margin: 0 0 8px; }
.value-text { font-size: 14.2px; color: #5C6B61; line-height: 1.68; margin: 0; }

/* Nhóm sản phẩm chính — nội dung do quản trị nhập nên độ dài không đoán trước:
   ô co giãn theo chữ và cho phép ngắt từ dài (vd "Pharmaceuticals") thay vì tràn. */
.group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(12px, 1.6vw, 18px); margin-top: 14px; }
.group-item { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: 18px 16px; display: flex; align-items: center; min-width: 0; }
/* Khong dung word-break: break-word — no cat giua tu, "Pharmaceuticals" bi tach
   thanh "Pharmaceutical" + "s". Chi giu overflow-wrap lam phuong an cuoi. */
.group-name { font-size: 15.5px; font-weight: 600; color: #17211B; line-height: 1.35; margin: 0; min-width: 0; overflow-wrap: break-word; }

.timeline { margin-top: clamp(26px, 3vw, 38px); border-left: 2px solid #D0E4D6; padding-left: clamp(22px, 3vw, 34px); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: calc(-1 * clamp(22px, 3vw, 34px) - 7px); top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #017A36; border: 2px solid #F1F7F2; }
.tl-year { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #017A36; margin-bottom: 6px; }
.tl-title { font-size: 17px; font-weight: 600; color: #17211B; margin: 0 0 6px; }
.tl-text { font-size: 14.2px; color: #5C6B61; line-height: 1.68; margin: 0; }

.cta-band { background: #17211B; color: #E7EFE9; border-radius: 8px; padding: clamp(32px, 4.4vw, 56px); text-align: center; }
.cta-band-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; margin: 0 0 14px; }
.cta-band-text { max-width: 56ch; margin: 0 auto 26px; color: #A9B7AE; font-size: 15.5px; line-height: 1.75; }
.cta-band .btn--ghost { background: transparent; color: #E7EFE9; border-color: rgba(231, 239, 233, .35); }
.cta-band .btn--ghost:hover { background: rgba(231, 239, 233, .12); color: #fff; }

/* ==========================================================================
   TRANG LIÊN HỆ
   ========================================================================== */
.ct-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ct-panel { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: clamp(24px, 3.4vw, 40px); }

.ct-field { margin-bottom: 18px; }
.ct-label { display: block; font-size: 13.5px; font-weight: 600; color: #33413A; margin-bottom: 7px; }
.ct-label span { color: #C0392B; }
.ct-input, .ct-textarea { width: 100%; border: 1px solid #DCE7DF; border-radius: 5px; padding: 12px 14px; font-family: inherit; font-size: 15px; color: #17211B; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.ct-input:focus, .ct-textarea:focus { outline: none; border-color: #017A36; box-shadow: 0 0 0 3px rgba(1, 122, 54, .12); }
.ct-textarea { resize: vertical; min-height: 132px; line-height: 1.6; }
.ct-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.ct-note { font-size: 13px; color: #8A968F; margin: 0 0 18px; }
.ct-error { display: block; color: #C0392B; font-size: 13px; margin-top: 6px; }
.ct-alert { border-radius: 6px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 22px; }
.ct-alert--ok { background: #EAF4ED; border: 1px solid #C6DFCD; color: #016A2F; }

.ct-info { display: grid; gap: 16px; }
.ct-info-card { background: #fff; border: 1px solid #E1EBE4; border-radius: 8px; padding: 24px; }
.ct-info-title { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #017A36; margin-bottom: 14px; }
.ct-info-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #EDF3EE; font-size: 14.5px; line-height: 1.6; }
.ct-info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ct-info-row:first-of-type { padding-top: 0; }
.ct-info-key { flex: none; width: 84px; color: #8A968F; font-size: 13.5px; }
.ct-info-val { color: #17211B; }
.ct-map { border-radius: 8px; overflow: hidden; border: 1px solid #E1EBE4; background: #EAF0EB; }
.ct-map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .ct-layout { grid-template-columns: minmax(0, 1fr); }
  .pd-body { grid-template-columns: minmax(0, 1fr); }
  /* Mục lục chuyển thành hàng chip cuộn ngang trên màn nhỏ */
  .pd-doc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pd-toc { position: static; overflow-x: auto; }
  .pd-toc-list { display: flex; gap: 8px; border-left: 0; padding-bottom: 4px; }
  .pd-toc-item { flex: none; border-left: 0; border: 1px solid #DCE7DF; border-radius: 999px; padding: 9px 16px; margin-left: 0; font-size: 14px; white-space: nowrap; }
  .pd-toc-item.is-active { border-color: #017A36; background: #017A36; color: #fff; }
  .pd-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .art-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .pd-top { grid-template-columns: minmax(0, 1fr); }
  .pd-gallery { position: static; max-width: 460px; }
}

@media (max-width: 640px) {
  .pd-meta-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
  .pd-actions .btn { width: 100%; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .pcard-media { padding: 14px; }
  .pcard-body { padding: 0 14px 16px; }
  .pcard-name { font-size: 15px; }
  .timeline { padding-left: 20px; }
  .tl-item::before { left: -27px; }
}
