/* Mẫu A của site WPS Office: nền trắng, tiêu đề giữa trang, bốn ô màu theo ứng dụng. Cỡ chữ theo thang của giao diện gốc. */
.sv-brand span.sv-name { margin-left: -2px; font-size: 19px; font-weight: 700; color: var(--sx-ink); white-space: nowrap; }
.sv-brand img.sv-logo, .sv-brand img.sv-logo-dark { height: 36px; }
.sv-brand a { display: inline-flex; align-items: center; gap: 10px; }
.sx-foot .sv-brand span.sv-name { color: #fff; }
.sx-light .sx-foot .sv-brand span.sv-name { color: var(--sx-ink); }
/* chữ Be Vietnam Pro như bản vẽ đã duyệt */
body, body h1, body h2, body h3, body h4, body button, body input, body select, body textarea, body .sx, body .sx-bar, body .sx-foot { font-family: 'Be Vietnam Pro', sans-serif; }
/* ba bước mua thì ba cột, không chừa cột trống */
.sx .sx-steps:not(:has(> li:nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx .sx-steps:not(:has(> li:nth-child(4))) > li:last-child::after { display: none; }
@media (max-width: 960px) {
  .sx .sx-steps:not(:has(> li:nth-child(4))) { grid-template-columns: minmax(0, 1fr); }
}
.sx-bar .sx-btn.is-dark { border-color: var(--sx-a); background: var(--sx-a); color: var(--sv-on-accent, #fff) !important; }

.sx .wps-hero { padding: 72px 0 44px; text-align: center; }
.sx .wps-hero h1 { max-width: 760px; margin: 0 auto 18px; color: var(--sx-ink); font-size: 48px; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
.sx .wps-lead { max-width: 720px; margin: 0 auto; font-size: 17px; }
.sx .wps-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.sx .wps-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 18px; font-size: 13px; color: var(--sx-mute); }

.sx .wps-apps { padding: 0 0 64px; }
.sx .wps-apps ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sx .wps-apps li { margin: 0; overflow: hidden; border: 1px solid var(--sx-line); border-radius: 12px; background: #fff; }
.wps-shot { height: 200px; padding: 20px 18px 0; background: var(--wps-app); }
.wps-shot > div { height: 180px; overflow: hidden; border-radius: 8px 8px 0 0; background: #fff; }
.wps-shot i { display: block; height: 7px; margin-bottom: 10px; border-radius: 3px; background: #e2e4e9; }
.wps-page { padding: 18px 22px; }
.wps-page i.t, .wps-slide i.t { width: 55%; height: 12px; background: var(--wps-app); }
.wps-page span { display: block; margin-bottom: 10px; padding: 6px 0 1px; background: color-mix(in srgb, var(--wps-app) 14%, #fff); }
.wps-page span i { margin-bottom: 5px; background: color-mix(in srgb, var(--wps-app) 42%, #fff); }
.wps-page em { display: block; width: 78px; margin-left: auto; border: 2px solid var(--wps-app); border-radius: 6px; color: var(--wps-app); font-size: 13px; font-style: normal; font-weight: 700; line-height: 30px; text-align: center; }
.wps-page.is-pdf { padding-inline: 28px; }
.wps-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px; border-top: 1px solid #e3e5e9; border-left: 1px solid #e3e5e9; }
.wps-grid b { height: 22px; border-right: 1px solid #e3e5e9; border-bottom: 1px solid #e3e5e9; }
.wps-grid b i { height: 6px; margin: 8px 6px; }
.wps-grid b:nth-child(-n+4) { background: color-mix(in srgb, var(--wps-app) 12%, #fff); }
.wps-grid b:nth-child(-n+4) i { background: var(--wps-app); }
.wps-slide { margin: 16px; padding: 16px; border: 1px solid #e3e5e9; border-radius: 6px; }
.wps-slide div { display: flex; align-items: flex-end; gap: 14px; height: 84px; margin-top: 14px; }
.wps-slide s { display: block; width: 22px; border-radius: 3px 3px 0 0; background: var(--wps-app); opacity: .4; text-decoration: none; }
.wps-slide s:last-child { opacity: 1; }
.wps-name { display: flex; align-items: center; gap: 14px; padding: 18px 20px 20px; }
.wps-name > span { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 8px; background: var(--wps-app); color: #fff; font-weight: 700; font-size: 15px; }
.sx .wps-name h3 { margin: 0; font-size: 17px; }
.sx .wps-name p { font-size: 13px; line-height: 1.5; color: var(--sx-mute); }

@media (max-width: 960px) {
  .sx .wps-apps ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sv-brand span.sv-name { font-size: 15px; }
  .sv-brand img.sv-logo, .sv-brand img.sv-logo-dark { height: 28px; }
  .sx .wps-hero { padding: 36px 0 28px; }
  .sx .wps-hero h1 { font-size: 34px; }
  .sx .wps-ctas .sx-btn { width: 100%; }
  .sx .wps-line { flex-direction: column; }
  .wps-line span { display: none; }
  .sx .wps-apps { padding-bottom: 40px; }
  .sx .wps-apps ul { gap: 12px; }
  .wps-shot { height: 104px; padding: 12px 10px 0; }
  .wps-shot > div { height: 92px; }
  .wps-page { padding: 12px; }
  .wps-grid, .wps-slide { margin: 8px; }
  .wps-slide { padding: 8px; }
  .wps-slide div { height: 48px; margin-top: 4px; transform: scale(.6); transform-origin: left bottom; }
  .wps-name { gap: 8px; padding: 12px; }
  .wps-name > span { display: none; }
  .sx .wps-name h3 { font-size: 15px; }
}
