/*
Theme Name: TKW Starter
Theme URI: http://localhost:8080
Description: Theme khởi tạo — phong cách hiện đại (glass, gradient, bo góc mềm). Có sẵn shortcode tương thích Flatsome ([ux_banner], [row], [col], [featured_box], [ux_price_table]...). Khi có flatsome.zip chỉ cần đổi sang theme Flatsome.
Author: Your Brand Media
Version: 2.0.0
Text Domain: tkw-starter
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #4f46e5;
  --primary-2: #7c3aed;
  --accent: #ec4899;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #faf5ff 50%, #fdf2f8 100%);
  --dark: #0f172a;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e9edf5;
  --bg-soft: #f8fafc;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .05);
  --shadow: 0 12px 34px rgba(79, 70, 229, .10);
  --shadow-lg: 0 24px 60px rgba(79, 70, 229, .18);
  --heading-font: 'Plus Jakarta Sans', -apple-system, "Segoe UI", Roboto, sans-serif;
  --body-font: 'Inter', -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--dark);
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.tkw-container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header (glass) ---------- */
.tkw-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.tkw-header .tkw-container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.tkw-logo img { max-height: 42px; width: auto; }
.tkw-logo .tkw-logo-text {
  font-family: var(--heading-font); font-weight: 800; font-size: 1.35rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tkw-nav ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 0; align-items: center; }
.tkw-nav a {
  color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap;
  padding: 8px 11px; border-radius: 10px; transition: all .2s;
}
.tkw-nav a:hover { color: var(--primary); background: var(--bg-soft); }
.tkw-nav .current-menu-item > a { color: var(--primary); background: #eef2ff; }
.tkw-menu-toggle { display: none; font-size: 1.6rem; background: none; border: 0; cursor: pointer; color: var(--dark); }

/* ---------- Sections / grid ---------- */
.tkw-section { padding: 84px 0; position: relative; }
.tkw-dark { background: var(--dark); color: #cbd5e1; }
.tkw-dark h1, .tkw-dark h2, .tkw-dark h3, .tkw-dark h4 { color: #fff; }
/* nền mềm cho section màu nhạt */
.tkw-section[style*="f5f8ff"], .tkw-section[style*="f8fafc"] { background: var(--grad-soft) !important; }

.tkw-row { display: flex; flex-wrap: wrap; gap: 26px; margin: 0 auto; align-items: stretch; }
.tkw-col { flex: 1 1 100%; min-width: 0; }
.tkw-col.span-3 { flex-basis: calc(25% - 19.5px); }
.tkw-col.span-4 { flex-basis: calc(33.333% - 17.4px); }
.tkw-col.span-5 { flex-basis: calc(41.666% - 15.2px); }
.tkw-col.span-6 { flex-basis: calc(50% - 13px); }
.tkw-col.span-7 { flex-basis: calc(58.333% - 10.8px); }
.tkw-col.span-8 { flex-basis: calc(66.666% - 8.7px); }
.tkw-col.span-12 { flex-basis: 100%; }
.tkw-section .tkw-row + .tkw-row { margin-top: 28px; }

/* tiêu đề gradient */
.tkw-heading {
  text-transform: none; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.tkw-dark .tkw-heading { background: linear-gradient(135deg,#c4b5fd,#f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero banner ---------- */
.tkw-banner {
  display: flex; align-items: center; color: #fff;
  border-radius: 0; position: relative; overflow: hidden;
  background-size: cover; background-position: 50% 50%;
}
.tkw-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 15% 10%, rgba(139,92,246,.45), transparent 60%),
              radial-gradient(900px 500px at 90% 90%, rgba(236,72,153,.40), transparent 55%);
  pointer-events: none;
}
.tkw-banner .tkw-container { width: 100%; position: relative; z-index: 2; }
.tkw-banner h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.tkw-banner h1.tkw-heading { background: linear-gradient(135deg,#fff,#e9d5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tkw-textbox { max-width: 640px; }
.tkw-textbox.center { margin: 0 auto; }
.tkw-banner .tkw-textbox p { font-size: 1.15rem; color: #f1f5f9; }

/* ---------- Buttons ---------- */
.tkw-btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  background: var(--grad); background-size: 160% 160%; color: #fff !important; font-weight: 700;
  border: 0; cursor: pointer; transition: all .25s ease;
  box-shadow: 0 10px 24px rgba(124, 58, 237, .35); font-family: var(--heading-font);
}
.tkw-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(124, 58, 237, .45); background-position: 100% 0; }
.tkw-btn.primary, .tkw-btn.tkw-cta {
  background: linear-gradient(135deg, #fb7185, #ec4899, #f59e0b);
  box-shadow: 0 10px 26px rgba(236, 72, 153, .40);
}
.tkw-btn.larger, .tkw-btn.large { padding: 16px 38px; font-size: 1.05rem; }
.tkw-btn.expand { display: block; text-align: center; width: 100%; }

/* ---------- Feature boxes ---------- */
.tkw-feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 24px; text-align: center; height: 100%;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.tkw-feature::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.tkw-feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tkw-feature:hover::before { transform: scaleX(1); }
.tkw-feature img {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 18px; object-fit: cover;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .22);
}
.tkw-feature h4 { margin-bottom: .4em; }
.tkw-feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Stats ---------- */
.tkw-stats { text-align: center; padding: 12px; }
.tkw-stats .tkw-num {
  font-family: var(--heading-font); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tkw-stats .tkw-label { margin-top: .5em; color: var(--muted); font-weight: 600; }

/* ---------- Pricing ---------- */
.tkw-price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 28px; text-align: center; height: 100%;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; position: relative;
}
.tkw-price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tkw-price.featured {
  border: 0; color: #fff;
  background: linear-gradient(160deg, #4f46e5, #7c3aed 55%, #a21caf);
  box-shadow: var(--shadow-lg); transform: translateY(-10px);
}
.tkw-price.featured::before {
  content: "PHỔ BIẾN"; position: absolute; top: 16px; right: -34px;
  background: #f59e0b; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: 1px;
  padding: 5px 40px; transform: rotate(45deg);
}
.tkw-price-h { font-family: var(--heading-font); font-weight: 800; letter-spacing: .5px; color: inherit; }
.tkw-price.featured .tkw-price-h { color: #fff; }
.tkw-price-p {
  font-family: var(--heading-font); font-size: 2rem; font-weight: 800; margin: 10px 0 20px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tkw-price.featured .tkw-price-p { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.tkw-price ul { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; }
.tkw-price li { padding: 10px 0 10px 28px; position: relative; color: var(--muted); border-bottom: 1px solid var(--line); }
.tkw-price.featured li { color: #ede9fe; border-color: rgba(255,255,255,.15); }
.tkw-price li::before { content: "✓"; position: absolute; left: 0; color: #22c55e; font-weight: 800; }
.tkw-price.featured li::before { color: #fde047; }
.tkw-price.featured .tkw-btn { background: #fff; color: var(--primary) !important; box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* ---------- Showcase ---------- */
.tkw-showcase { }
.tkw-showcase img, .tkw-img {
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; width: 100%;
}
.tkw-showcase:hover img, a:hover > .tkw-img { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.tkw-footer {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(124,58,237,.25), transparent 60%), var(--dark);
  color: #94a3b8; padding: 68px 0 0;
}
.tkw-footer h4 { color: #fff; margin-bottom: 1em; font-size: 1.05rem; font-family: var(--heading-font); }
.tkw-footer .tkw-row { gap: 34px; }
.tkw-footer .widget { flex: 1 1 220px; line-height: 2; }
.tkw-footer a { color: #94a3b8; }
.tkw-footer a:hover { color: #fff; }
.tkw-copyright { border-top: 1px solid rgba(255,255,255,.10); margin-top: 48px; padding: 22px 0; text-align: center; font-size: .9rem; color: #64748b; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 { max-width: 640px; margin: 0 auto; }
.wpcf7 input:not([type=submit]), .wpcf7 textarea {
  width: 100%; padding: 14px 16px; margin: 7px 0; border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; font-size: 1rem; background: rgba(255,255,255,.06); color: #fff; font-family: var(--body-font);
}
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #cbd5e1; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 0; border-color: #a78bfa; background: rgba(255,255,255,.1); }
.wpcf7 .wpcf7-submit {
  width: auto; padding: 14px 34px; margin-top: 8px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #fb7185, #ec4899, #f59e0b); color: #fff; font-weight: 700; font-family: var(--heading-font);
  box-shadow: 0 10px 26px rgba(236, 72, 153, .4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .tkw-section { padding: 60px 0; }
  .tkw-col.span-3, .tkw-col.span-4, .tkw-col.span-5, .tkw-col.span-6, .tkw-col.span-7, .tkw-col.span-8 { flex-basis: calc(50% - 13px); }
  .tkw-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
  .tkw-nav.open { display: block; }
  .tkw-nav ul { flex-direction: column; gap: 0; padding: 10px 18px; align-items: stretch; }
  .tkw-nav li { padding: 4px 0; }
  .tkw-menu-toggle { display: block; }
}
@media (max-width: 580px) {
  .tkw-col.span-3, .tkw-col.span-4, .tkw-col.span-5, .tkw-col.span-6, .tkw-col.span-7, .tkw-col.span-8 { flex-basis: 100%; }
  .tkw-price.featured { transform: none; }
}

/* ================================================================
 * ACCESSIBILITY / TIỆN ÍCH CHUNG
 * ============================================================== */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.tkw-skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200; background: var(--primary); color: #fff;
  padding: 10px 18px; border-radius: 10px; transition: top .2s;
}
.tkw-skip-link:focus { top: 12px; color: #fff; }

.tkw-header.is-scrolled { box-shadow: 0 8px 30px rgba(15,23,42,.10); background: rgba(255,255,255,.9); }

.tkw-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--grad); color: #fff !important; font-size: 1.2rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
}
.tkw-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Hero banner ảnh (trang chủ) ---------- */
.tkw-hero-banner { display: block; line-height: 0; }
.tkw-hero-banner .tkw-img,
.tkw-hero-banner img {
  width: 100%; height: auto; border-radius: 0; box-shadow: none; transition: none;
}
.tkw-hero-banner:hover .tkw-img { transform: none; box-shadow: none; }

/* ---------- Breadcrumb ---------- */
.tkw-breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .88rem; }
.tkw-breadcrumb .tkw-container { padding-top: 12px; padding-bottom: 12px; color: var(--muted); }
.tkw-breadcrumb a { color: var(--muted); }
.tkw-breadcrumb a:hover { color: var(--primary); }
.tkw-breadcrumb .sep { margin: 0 8px; color: #cbd5e1; }
.tkw-breadcrumb span { color: var(--ink); font-weight: 600; }

/* ---------- Page hero (blog / archive / search) ---------- */
.tkw-page-hero { background: var(--grad-soft); padding: 56px 0 46px; text-align: center; }
.tkw-page-hero h1 { margin-bottom: .3em; }
.tkw-page-hero p { color: var(--muted); max-width: 680px; margin: 0 auto; }

/* ---------- Layout content + sidebar ---------- */
.tkw-layout { display: block; }
.tkw-layout.has-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: start; }
.tkw-main { min-width: 0; }

/* ---------- Lưới bài viết ---------- */
.tkw-posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.tkw-layout:not(.has-sidebar) .tkw-posts-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.tkw-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.tkw-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tkw-card-thumb { display: block; overflow: hidden; aspect-ratio: 16/10; }
.tkw-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tkw-card:hover .tkw-card-thumb img { transform: scale(1.05); }
.tkw-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tkw-card-cat {
  align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: var(--primary); background: #eef2ff; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.tkw-card-title { font-size: 1.2rem; margin-bottom: 10px; }
.tkw-card-title a { color: var(--dark); }
.tkw-card-title a:hover { color: var(--primary); }
.tkw-card-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; margin-bottom: 12px; }
.tkw-card-excerpt { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.tkw-card-more { margin-top: auto; font-weight: 700; color: var(--primary); }
.tkw-card-more span { transition: transform .2s; display: inline-block; }
.tkw-card-more:hover span { transform: translateX(4px); }

.tkw-empty { text-align: center; padding: 50px 20px; }
.tkw-empty .tkw-searchform { margin: 20px auto 0; }

/* ---------- Phân trang ---------- */
.tkw-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 44px; }
.tkw-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; background: #fff;
}
.tkw-pagination a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.tkw-pagination .page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }
.tkw-pagination .page-numbers.dots { border: 0; background: none; }

/* ---------- Sidebar / widget ---------- */
.tkw-sidebar { position: sticky; top: 96px; }
.tkw-widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.tkw-widget-title { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.tkw-widget ul { list-style: none; margin: 0; padding: 0; }
.tkw-widget-posts li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tkw-widget-posts li:last-child { border-bottom: 0; }
.tkw-widget-posts .thumb { flex: 0 0 56px; }
.tkw-widget-posts .thumb img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.tkw-widget-posts .title { font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.4; }
.tkw-widget-posts .title:hover { color: var(--primary); }
.tkw-widget-cats li { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.tkw-widget-cats li:last-child { border-bottom: 0; }
.tkw-widget-cats a { color: var(--ink); font-weight: 600; }
.tkw-widget-cats a:hover { color: var(--primary); }

/* ---------- Search form ---------- */
.tkw-searchform { display: flex; gap: 8px; max-width: 460px; }
.tkw-searchform input[type=search] {
  flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem;
  font-family: var(--body-font); background: #fff; color: var(--ink);
}
.tkw-searchform input[type=search]:focus { outline: 0; border-color: var(--primary); }
.tkw-searchform button {
  flex: 0 0 46px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Bài viết đơn ---------- */
.tkw-article-head { margin-bottom: 28px; }
.tkw-article-head h1 { margin: 12px 0; }
.tkw-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .9rem; }
.tkw-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tkw-article-thumb { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tkw-article-thumb img { width: 100%; }
.tkw-article-content { font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.tkw-article-content > * { margin-bottom: 1.2em; }
.tkw-article-content h2 { margin: 1.4em 0 .6em; }
.tkw-article-content h3 { margin: 1.2em 0 .5em; }
.tkw-article-content img { border-radius: var(--radius-sm); }
.tkw-article-content blockquote {
  margin: 1.4em 0; padding: 6px 22px; border-left: 4px solid var(--primary); background: var(--bg-soft);
  border-radius: 0 12px 12px 0; color: var(--muted); font-style: italic;
}
.tkw-article-content ul, .tkw-article-content ol { padding-left: 1.3em; }
.tkw-article-content a { text-decoration: underline; }
.tkw-tags { margin: 30px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tkw-tags span { color: var(--muted); font-weight: 600; margin-right: 4px; }
.tkw-tags a { background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; font-size: .85rem; color: var(--ink); }
.tkw-tags a:hover { background: var(--primary); color: #fff; border-color: transparent; }
.tkw-author-box { display: flex; gap: 18px; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); margin-top: 10px; }
.tkw-author-box img { border-radius: 50%; }
.tkw-author-name { font-family: var(--heading-font); font-weight: 800; font-size: 1.1rem; color: var(--dark); }
.tkw-author-info p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.tkw-post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0; }
.tkw-post-nav a { display: inline-block; padding: 14px 20px; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; color: var(--ink); max-width: 48%; }
.tkw-post-nav a:hover { border-color: var(--primary); color: var(--primary); }
.tkw-post-nav .next { margin-left: auto; text-align: right; }

/* ---------- Bình luận ---------- */
.tkw-comments { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line); }
.tkw-comments-title { margin-bottom: 26px; }
.tkw-comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.tkw-comment-list ol.children { list-style: none; margin: 0 0 0 40px; padding: 0; }
.tkw-comment-body { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tkw-comment-avatar img { border-radius: 50%; }
.tkw-comment-head { display: flex; gap: 12px; align-items: baseline; margin-bottom: 6px; }
.tkw-comment-author { font-weight: 700; color: var(--dark); }
.tkw-comment-date { font-size: .82rem; color: var(--muted); }
.tkw-comment-reply a { font-size: .85rem; font-weight: 700; color: var(--primary); }
.comment-respond { margin-top: 20px; }
.comment-respond label { display: block; font-weight: 600; margin: 12px 0 6px; }
.comment-respond input:not([type=submit]), .comment-respond textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--body-font); font-size: 1rem;
}
.comment-respond input:focus, .comment-respond textarea:focus { outline: 0; border-color: var(--primary); }
.tkw-comment-notes { font-size: .85rem; color: var(--muted); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.comment-form-cookies-consent input { width: auto; }

/* ---------- 404 ---------- */
.tkw-404 { text-align: center; }
.tkw-404-code {
  font-family: var(--heading-font); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tkw-404 .tkw-searchform { margin: 24px auto 0; }

/* ---------- Responsive blog ---------- */
@media (max-width: 1023px) {
  .tkw-layout.has-sidebar { grid-template-columns: 1fr; }
  .tkw-sidebar { position: static; }
  .tkw-layout:not(.has-sidebar) .tkw-posts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .tkw-posts-grid, .tkw-layout:not(.has-sidebar) .tkw-posts-grid { grid-template-columns: 1fr; }
  .tkw-post-nav { flex-direction: column; }
  .tkw-post-nav a { max-width: 100%; }
  .tkw-comment-list ol.children { margin-left: 18px; }
}

/* ================================================================
 * BLOCK: Dịch vụ thiết kế website (lưới thẻ)
 * ============================================================== */
.tkw-lead { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }

.tkw-svc-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 40px;
}
.tkw-svc-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: transform .28s, box-shadow .28s, border-color .28s;
}
.tkw-svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.tkw-svc-card .ic {
  flex: 0 0 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; border-radius: 14px; background: var(--grad-soft);
}
.tkw-svc-card .tx { display: flex; flex-direction: column; min-width: 0; }
.tkw-svc-card strong { font-family: var(--heading-font); font-size: .98rem; color: var(--dark); line-height: 1.25; }
.tkw-svc-card em { font-style: normal; font-size: .82rem; color: var(--muted); margin-top: 2px; }

.tkw-svc-note {
  display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 20px 26px;
  border-radius: var(--radius); color: #ede9fe;
  background: linear-gradient(120deg, #4f46e5, #7c3aed 60%, #a21caf);
  box-shadow: var(--shadow);
}
.tkw-svc-note span { font-size: 30px; flex: 0 0 auto; }
.tkw-svc-note p { margin: 0; font-size: .98rem; line-height: 1.6; }
.tkw-svc-note strong { color: #fff; }

/* ================================================================
 * BLOCK: Số liệu (dải gradient)
 * ============================================================== */
.tkw-stats-band {
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center;
  border-radius: var(--radius); overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  box-shadow: var(--shadow-lg); position: relative;
}
.tkw-stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 15% -20%, rgba(255,255,255,.18), transparent 60%),
              radial-gradient(500px 300px at 90% 120%, rgba(255,255,255,.14), transparent 60%);
  pointer-events: none;
}
.tkw-stat-item {
  position: relative; z-index: 1; text-align: center; padding: 40px 20px;
}
.tkw-stat-item + .tkw-stat-item { border-left: 1px solid rgba(255,255,255,.18); }
.tkw-stat-item .ic {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  font-size: 26px; border-radius: 16px; background: rgba(255,255,255,.16); margin-bottom: 14px;
}
.tkw-stat-item .num {
  font-family: var(--heading-font); font-weight: 800; line-height: 1;
  font-size: clamp(2.6rem, 5vw, 3.6rem); color: #fff;
}
.tkw-stat-item .lbl { margin-top: 8px; color: #e9d5ff; font-weight: 600; letter-spacing: .3px; }

@media (max-width: 900px) {
  .tkw-svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .tkw-stats-band { grid-template-columns: 1fr; }
  .tkw-stat-item + .tkw-stat-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 480px) {
  .tkw-svc-grid { grid-template-columns: 1fr; }
}

/* ================================================================
 * Thẻ mẫu giao diện (showcase) — ảnh + tiêu đề + link
 * ============================================================== */
.tkw-showcase { display: flex; }
.tkw-sc {
  margin: 0; width: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tkw-sc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tkw-sc-thumb { display: block; overflow: hidden; aspect-ratio: 3/2; background: var(--bg-soft); }
.tkw-sc-thumb img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.tkw-sc:hover .tkw-sc-thumb img { transform: scale(1.05); }
.tkw-sc-cap { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tkw-sc-title {
  font-family: var(--heading-font); font-weight: 700; font-size: .96rem; line-height: 1.35; color: var(--dark);
}
.tkw-sc-title:hover { color: var(--primary); }
.tkw-sc-more {
  margin-top: auto; align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--primary);
}
.tkw-sc-more span { display: inline-block; transition: transform .2s; }
.tkw-sc:hover .tkw-sc-more span { transform: translateX(4px); }

/* ================================================================
 * Trang chi tiết mẫu giao diện
 * ============================================================== */
.tkw-detail-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tkw-detail-img .tkw-img { width: 100%; border-radius: var(--radius); box-shadow: none; }
.tkw-detail-code {
  display: inline-block; font-family: var(--heading-font); font-weight: 800; font-size: .78rem; letter-spacing: 1px;
  color: var(--primary); background: #eef2ff; padding: 5px 12px; border-radius: 8px; margin-bottom: 14px;
}
.tkw-detail-features { list-style: none; margin: 20px 0; padding: 0; }
.tkw-detail-features li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); color: var(--ink); }
.tkw-detail-features li:last-child { border-bottom: 0; }
.tkw-detail-features li::before {
  content: "✓"; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: .7rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.tkw-detail-price { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; margin: 18px 0; color: var(--muted); }
.tkw-detail-price strong { color: var(--primary); font-family: var(--heading-font); }
.tkw-detail-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tkw-detail-cta .tkw-btn:not(.primary) { background: #fff; color: var(--primary) !important; border: 1px solid var(--line); box-shadow: none; }
.tkw-detail-cta .tkw-btn:not(.primary):hover { border-color: var(--primary); }

/* ================================================================
 * Accordion "Chi tiết chi phí" (native <details>)
 * ============================================================== */
.tkw-accordion {
  max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.tkw-accordion > summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: 20px 24px; font-family: var(--heading-font); font-weight: 700; font-size: 1.08rem; color: var(--dark);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: color .2s;
}
.tkw-accordion > summary::-webkit-details-marker { display: none; }
.tkw-accordion > summary:hover { color: var(--primary); }
.tkw-accordion > summary::after {
  content: "+"; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .25s;
}
.tkw-accordion[open] > summary::after { content: "−"; transform: rotate(180deg); }
.tkw-accordion-body { padding: 6px 24px 24px; border-top: 1px solid var(--line); }
.tkw-accordion-body p { margin: 14px 0 0; color: var(--muted); line-height: 1.75; }
.tkw-accordion-body p:first-child { margin-top: 16px; }
