/* ---- Trang con: dịch vụ, tin tức, bài viết ---- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.page-head { background: var(--color-bg-soft); padding: 40px 0 44px; border-bottom: 1px solid var(--color-border); }
.page-head h1 { font-size: 38px; }
.page-head .lead { margin-top: 12px; max-width: 680px; color: var(--color-text); }
.narrow { max-width: 860px; }
span.tag, a.tag { position: absolute; left: 12px; top: 12px; background: var(--color-cta); color: var(--color-navy); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag--static { position: static; display: inline-block; margin: 4px 0 12px; }
.filter { margin-bottom: 24px; }
a.chip { display: inline-flex; align-items: center; }

/* Tất cả dịch vụ */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card[hidden] { display: none; }
.svc-card__media { position: relative; display: block; }
.svc-card__media img { width: 100%; height: 210px; object-fit: cover; }
.svc-card__body { padding: 20px; display: grid; gap: 10px; justify-items: start; }
.svc-card__body h3 a:hover { text-decoration: underline; }
.svc-card__body p { font-size: 15px; color: var(--color-text); }

/* Danh mục tin tức */
div.archive { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.news--archive { grid-template-columns: repeat(2, 1fr); }
.post__media { position: relative; display: block; }
.post__media img { width: 100%; height: 200px; object-fit: cover; }
.post__title { font-size: 17px; line-height: 1.4; color: var(--color-navy); }
.post__title a:hover { color: var(--color-brand); }
.post__excerpt { font-size: 14px; color: var(--color-muted); }
.pagination { display: flex; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: var(--color-navy); background: #fff; }
.pagination .is-current { background: var(--color-blue); border-color: var(--color-blue); }
.sidebar { display: grid; gap: 20px; position: sticky; top: 20px; }
.widget { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px; }
.widget h4 { color: var(--color-brand); font-size: 17px; margin-bottom: 12px; }
.widget--cta { background: var(--color-blue); border-color: var(--color-blue); }
.widget--cta h4, .widget--cta p { color: var(--color-navy); }
.widget--cta .btn--block { margin-top: 10px; }
.widget .btn--block { margin-top: 10px; }
form.search { display: flex; gap: 8px; }
form.search input { flex: 1; min-width: 0; font: 15px var(--font); padding: 10px 12px; border: 1.5px solid var(--color-border); border-radius: 10px; }
.cat-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--color-border); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { color: var(--color-navy); font-weight: 500; }
.cat-list a:hover { color: var(--color-brand); }
.cat-list span { color: var(--color-muted); font-size: 13px; }
.mini-posts { display: grid; gap: 12px; }
.mini-posts a { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: var(--color-navy); line-height: 1.35; }
.mini-posts img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: 0 0 72px; }

/* Chi tiết bài viết */
.page-head--post h1 { font-size: 36px; }
.post-meta { margin-top: 10px; color: var(--color-muted); font-size: 14px; }
.section--post { padding-top: 40px; }
.post-content { font-size: 17px; line-height: 1.75; color: var(--color-text); min-width: 0; }
.post-content > * + * { margin-top: 18px; }
.post-content h2 { font-size: 26px; margin-top: 34px; scroll-margin-top: 20px; }
.post-content h3 { font-size: 20px; margin-top: 26px; }
.post-content ul { list-style: disc; padding-left: 22px; }
.post-content ol { padding-left: 22px; }
.post-content a { color: var(--color-brand); text-decoration: underline; }
.post-cover { width: 100%; border-radius: var(--radius); max-height: 440px; object-fit: cover; }
.toc { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px 20px; font-size: 15px; }
.toc strong { color: var(--color-navy); }
.toc ol { margin-top: 8px; }
.toc a { text-decoration: none; }
.table-scroll { overflow-x: auto; }
.post-content table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.post-content th, .post-content td { border: 1px solid var(--color-border); padding: 10px 12px; text-align: left; }
.post-content th { background: var(--color-blue); color: var(--color-navy); }
.post-content blockquote { margin: 24px 0; padding: 16px 20px; border-left: 4px solid var(--color-cta); background: #FFFCE0; border-radius: 0 10px 10px 0; color: var(--color-navy); }
.post-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; background: var(--color-blue); border-radius: var(--radius); padding: 22px 24px; margin-top: 32px !important; }
.post-cta strong { color: var(--color-navy); font-size: 18px; }
.post-cta p { color: var(--color-navy); font-size: 15px; margin-top: 4px; }
.post-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--color-border); font-size: 14px; }
.post-foot .tags, .post-foot .share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-foot .tags a, .post-foot .share a, .copy-link { text-decoration: none; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--color-border); color: var(--color-navy); background: #fff; font: 500 13px var(--font); cursor: pointer; }
.post-foot .tags a:hover, .post-foot .share a:hover, .copy-link:hover { border-color: var(--color-blue); }

@media (max-width: 1024px) {
  .svc-list { grid-template-columns: repeat(2, 1fr); }
  div.archive { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .page-head h1, .page-head--post h1 { font-size: 28px; }
  .news--archive { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .post-cta { flex-direction: column; align-items: flex-start; }
  .post-content { font-size: 16px; }
}
@media (max-width: 600px) { .svc-list { grid-template-columns: 1fr; } }
div.archive > * { min-width: 0; }
.post-content .btn { text-decoration: none; }
