/* Nền chung: chữ, link, tiêu đề, khung trang, tiện ích. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;font-family:var(--smt-font);font-size:var(--smt-fs-md);font-weight:var(--smt-fw-400);line-height:var(--smt-lh);color:var(--smt-ink);background:var(--smt-surface);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
@media (max-width:980px){body{padding-bottom:calc(var(--smt-bbar-h) + env(safe-area-inset-bottom))}}
a{color:inherit;text-underline-offset:.18em}
img,svg,video,iframe{max-width:100%}
img{height:auto}
h1,h2,h3,h4{color:var(--smt-heading);font-weight:var(--smt-fw-700);line-height:var(--smt-lh-tight);letter-spacing:-.01em;margin:0}
h1{font-size:var(--smt-fs-hero)}
h2{font-size:var(--smt-sec-title-fs)}   /* = tiêu đề section vietnamorigin (20px) */
h3{font-size:var(--smt-fs-md)}
p{margin:0 0 var(--smt-space-3)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--smt-navy);outline-offset:2px}
::selection{background:var(--smt-navy);color:var(--smt-surface)}
.screen-reader-text,.smt-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0} /* !important: đè style WP core cho .screen-reader-text */
.smt-skip{position:absolute;inset-inline-start:var(--smt-space-2);top:-60px;z-index:100;padding:var(--smt-space-2) var(--smt-space-4);background:var(--smt-navy);color:var(--smt-on-fill);border-radius:var(--smt-radius)}
.smt-skip:focus{top:var(--smt-space-2)}

/* Khung trang */
.smt-wrap{width:100%;max-width:calc(var(--smt-wide) + 2 * var(--smt-gutter));margin-inline:auto;padding-inline:var(--smt-gutter)}
.smt-wrap--narrow{max-width:calc(var(--smt-content) + 2 * var(--smt-gutter))}
.smt-sec{padding-block:var(--smt-space-7)}
.smt-sec--soft{background:var(--smt-bg)}
.smt-sec--tight{padding-block:var(--smt-space-6)}
.smt-sec__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--smt-space-2) var(--smt-space-4);margin-bottom:var(--smt-space-5)}
.smt-sec__head > :first-child{flex:1 1 260px}
@media (max-width:599px){.smt-sec__head{flex-wrap:nowrap}.smt-sec__head > :first-child{flex:1 1 0;min-width:0}}   /* mobile: tiêu đề và link "Tất cả bài" nằm chung 1 hàng ngang, tiêu đề dài thì xuống dòng trong khung của nó */
.smt-sec__head h2{margin:0}
.smt-sec__sub{margin:var(--smt-space-1) 0 0;font-size:var(--smt-fs-sm);color:var(--smt-muted);line-height:1.5}   /* phụ đề dưới tiêu đề section */
.smt-sec__title{margin-bottom:var(--smt-space-5)}
.smt-sec__foot{display:flex;justify-content:flex-end;margin-top:var(--smt-space-3)}   /* link xem thêm: cuối section, bên phải */
.smt-sec__more{flex:none;display:inline-flex;align-items:center;gap:var(--smt-space-1);min-height:var(--smt-tap);font-size:var(--smt-fs-sm);font-weight:var(--smt-fw-600);color:var(--smt-heading);text-decoration:none}
.smt-sec__more:hover{color:var(--smt-red)}
.smt-lead{font-size:var(--smt-fs-md);color:var(--smt-muted);line-height:1.5}
.smt-muted{color:var(--smt-muted)}
main{display:block}
.smt-main:focus{outline:0}

/* Icon nét mảnh: sprite inc/icons.php, màu theo chữ */
.smt-i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.smt-i--color{fill:revert;stroke:none}   /* logo nhiều màu: giữ màu riêng của từng nét */
.smt-i--sm{width:16px;height:16px}
.smt-i--lg{width:28px;height:28px;stroke-width:1.5}
.smt-i--fill{fill:currentColor;stroke:none}

/* Minh hoạ nét mảnh (inc/icons.php smt_illu) */
.smt-photo{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;border-radius:var(--smt-radius-photo);box-shadow:var(--smt-shadow-card)}
.smt-illu{display:block;width:100%;height:auto}
.smt-illu .l{fill:none;stroke:var(--smt-illu-line);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.smt-illu .f{fill:var(--smt-illu-fill)}
.smt-illu .d{fill:var(--smt-illu-dot)}
.smt-illu .s{fill:var(--smt-illu-soft)}

/* Bố cục 2 cột có cột phải (trang dịch vụ, bài viết, đặt lịch) */
.smt-layout{display:grid;gap:var(--smt-space-6);padding-block:var(--smt-space-5) var(--smt-space-7)}
.smt-layout > *{min-width:0}
@media (min-width:981px){.smt-layout{grid-template-columns:minmax(0,1fr) var(--smt-side)}}
.smt-side{display:grid;gap:var(--smt-space-4);align-content:start}
@media (min-width:981px){.smt-side__sticky{position:sticky;top:calc(var(--smt-hdr-h) + var(--smt-space-4))}}

/* Lưới */
.smt-grid{display:grid;gap:var(--smt-space-4);grid-template-columns:minmax(0,1fr)}
.smt-grid > *{min-width:0}
@media (min-width:600px){.smt-grid--2,.smt-grid--3,.smt-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:981px){.smt-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.smt-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Breadcrumb */
.smt-crumb{padding-block:var(--smt-space-4);font-size:var(--smt-fs-xs);color:var(--smt-muted)}
.smt-crumb ol{display:flex;flex-wrap:wrap;gap:2px 0;list-style:none;margin:0;padding:0}
.smt-crumb li{display:inline-flex;align-items:center}
.smt-crumb li + li::before{content:"/";margin-inline:var(--smt-space-2);opacity:.6}   /* "/" như vietnamorigin; ký tự ASCII để file CSS không bị đọc sai bảng mã (từng hiện â€º) */
.smt-crumb a{color:inherit;text-decoration:none}
.smt-crumb [aria-current]{color:var(--smt-ink)}
/* Điện thoại: 1 dòng, tên bài dài thì cắt bằng dấu ba chấm thay vì xuống 2-3 dòng */
@media (max-width:767px){.smt-crumb ol{flex-wrap:nowrap}.smt-crumb li{flex:none}.smt-crumb li:last-child{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smt-crumb li:last-child > span{overflow:hidden;text-overflow:ellipsis}}
.smt-crumb a:hover{color:var(--smt-red)}

/* Phân trang */
.smt-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--smt-space-2);margin-top:var(--smt-space-6)}
.smt-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:var(--smt-tap);height:var(--smt-tap);padding-inline:var(--smt-space-3);border:1px solid var(--smt-divider);border-radius:var(--smt-radius);text-decoration:none;font-weight:var(--smt-fw-600);font-size:var(--smt-fs-sm)}
.smt-pager .page-numbers:hover{border-color:var(--smt-navy)}
.smt-pager .current{background:var(--smt-navy);border-color:var(--smt-navy);color:var(--smt-surface)}
.smt-pager .dots{border:0}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:1ms!important;animation-duration:1ms!important;scroll-behavior:auto!important}} /* !important: tắt chuyển động mọi component cho khách bật giảm chuyển động */
.smt-measure{max-width:var(--smt-content)}   /* bảng giá, FAQ: dòng không quá dài nhưng vẫn thẳng lề trái với các section khác */
