
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--tg-font-main, 'Google Sans', sans-serif);
  color: var(--ink, #2d3f3a);
  background: var(--white, #ffffff);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { cursor: pointer; font-family: inherit; }

ul { list-style: circle; }


.tg-container {
  max-width: var(--tg-max-w, 1280px);
  margin-inline: auto;
  padding-inline: 40px;
  width: 100%;
  box-sizing: border-box;
}


.container {
  max-width: var(--tg-max-w, 1280px);
  margin-inline: auto;
  padding-inline: 40px;
  width: 100%;
  box-sizing: border-box;
}


.t-display {
  font-family: 'Google Sans Display', sans-serif;
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
}
.t-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--g, #146653);
}
.t-label.on-dark { color: var(--g-muted, #b3d9d0); }


.btn, .tgf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent;
  text-decoration: none; white-space: nowrap; line-height: 1;
  transition: var(--transition, all .22s cubic-bezier(.4,0,.2,1));
}
.btn-primary { background: var(--g, #146653); color: #fff; }
.btn-primary:hover { background: var(--g-dark, #0d4a3b); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,102,83,.3); }
.btn-ghost { background: transparent; color: var(--charcoal, #1c2621); border: 1.5px solid var(--stone, #e8e3da); }
.btn-ghost:hover { border-color: var(--g, #146653); color: var(--g, #146653); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: #b8923e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.35); }
.btn svg, .tgf-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 15.5px; }


.fade-in {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.fade-in.visible { opacity: 1; transform: translate3d(0, 0, 0); will-change: auto; }
.fade-in:nth-child(2) { transition-delay: .08s; }
.fade-in:nth-child(3) { transition-delay: .16s; }
.fade-in:nth-child(4) { transition-delay: .24s; }
.fade-in:nth-child(5) { transition-delay: .32s; }
.fade-in:nth-child(6) { transition-delay: .40s; }
.fade-in:nth-child(7) { transition-delay: .48s; }
.fade-in:nth-child(8) { transition-delay: .56s; }


.tg-eyebrow {
  font-family: var(--tg-font-main);
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: #876a1e;
  margin-bottom: 14px; display: block;
}
.tg-eyebrow--light { color: rgba(255,255,255,.65); }


.tg-breadcrumb__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px; font-size: 12px;
  color: rgba(255,255,255,.6);
  margin: 0; padding: 0; list-style: none;
}
.tg-breadcrumb__list a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.tg-breadcrumb__list a:hover { color: var(--tg-white); }


.tg-post-cat-badge {
  display: inline-flex; align-items: center;
  padding: 5px 16px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  color: var(--tg-white);
  font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s;
}
.tg-post-cat-badge:hover { background: rgba(255,255,255,.28); }


.tg-meta-label {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); display: block;
}
.tg-meta-value { font-size: 14px; color: rgba(255,255,255,.9); display: block; }
.tg-post-hero__divider { width: 1px; height: 32px; background: rgba(255,255,255,.2); }


.tg-cta { padding: 48px 0 64px; }
.tg-cta__box {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(90,170,42,.25), transparent 60%),
    linear-gradient(145deg, #1a7060, #0d4a3b);
  border-radius: 12px; padding: 60px 72px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 48px;
  position: relative; overflow: hidden;
}
.tg-cta__box::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.tg-cta__box::after { display: none; }

.tg-cta__title {
  font-family: var(--tg-font-main);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; color: var(--tg-white);
  line-height: 1.25; margin: 0 0 12px;
}
.tg-cta__title em { font-style: italic; color: #e2c47a; }
.tg-cta__desc { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.7; margin: 0; }
.tg-cta__action {
  flex-shrink: 0; display: flex; flex-direction: column;
  align-items: flex-end; gap: 12px; position: relative; z-index: 1;
}
.tg-cta__btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tg-cta__note { font-size: 11px; color: rgba(255,255,255,.45); margin: 0; letter-spacing: .04em; }

.tg-btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px;
  background: var(--tg-gold); color: var(--tg-charcoal);
  border-radius: 8px; border: 2px solid var(--tg-gold);
  font-family: var(--tg-font-main); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.tg-btn-cta:hover { background: var(--tg-gold-lt); border-color: var(--tg-gold-lt); color: var(--tg-charcoal); transform: translateY(-1px); }
.tg-btn-cta--outline {
  background: transparent; color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.45);
}
.tg-btn-cta--outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); color: #fff; transform: translateY(-1px); }
.tg-btn-cta--sm {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 11px 24px; border-radius: 100px;
  background: var(--tg-main); color: var(--tg-white);
  font-size: 13px; font-weight: 600; text-decoration: none; transition: all .2s;
}
.tg-btn-cta--sm:hover { background: #3f7a1e; transform: translateY(-1px); color: var(--tg-white); }


.tg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-chip {
  display: inline-flex; align-items: center;
  padding: 8px 20px; border-radius: 100px;
  border: 1px solid rgba(28,38,33,.12);
  background: rgba(255,255,255,.8);
  color: #3d524a; font-size: 13px;
  text-decoration: none; white-space: nowrap;
  transition: all .2s;
}
.tg-chip:hover { background: var(--tg-white); color: var(--tg-main); border-color: var(--tg-main); }
.tg-chip--active { background: var(--tg-main); color: var(--tg-white); border-color: var(--tg-main); }
.tg-chip--sm { padding: 5px 14px; font-size: 12px; }


.tg-sidebar-widget {
  background: var(--tg-white);
  border-radius: 8px; padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(13,74,59,.07);
  border: 1px solid rgba(28,38,33,.08);
}
.tg-sidebar-widget__title {
  font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--tg-gold); margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(28,38,33,.08);
}
.tg-sidebar-cta {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(90,170,42,.25), transparent 60%),
    linear-gradient(145deg, #1a7060, #0d4a3b);
  border: none; text-align: center; position: relative; overflow: hidden;
}
.tg-sidebar-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.tg-sidebar-cta__eyebrow { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #e2c47a; margin: 0 0 10px; display: block; }
.tg-sidebar-cta__title { font-size: 20px; font-weight: 700; color: var(--tg-white); line-height: 1.3; margin: 0 0 10px; }
.tg-sidebar-cta__desc { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.6; margin: 0 0 16px; }


.tg-post-excerpt {
  font-size: 17px; font-style: italic;
  color: #3d524a;
  border-left: 3px solid var(--tg-main);
  background: rgba(20,102,83,.07);
  padding: 16px 20px 16px 24px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 40px;
}
.tg-post-excerpt p { margin: 0; }

.tg-post-body {
  font-family: var(--tg-font-main); font-size: 16px; font-weight: 300;
  color: #2a2a2a; line-height: 1.85;
}
.tg-post-body p       { margin: 0 0 1.5em; }
.tg-post-body h2      { font-size: 26px; font-weight: 700; color: var(--tg-charcoal); margin: 2em 0 .6em; line-height: 1.25; border-top: 2px solid rgba(28,38,33,.08); padding-top: 8px; }
.tg-post-body h3      { font-size: 20px; font-weight: 600; color: var(--tg-charcoal); margin: 1.75em 0 .5em; line-height: 1.3; }
.tg-post-body img     { border-radius: 8px; max-width: 100%; height: auto; margin: 1.5em 0; display: block; }
.tg-post-body a       { color: var(--tg-main); text-decoration: underline; text-underline-offset: 3px; }
.tg-post-body a:hover { color: var(--tg-accent); }
.tg-post-body blockquote { font-size: 19px; font-style: italic; color: var(--tg-main); border-left: 3px solid var(--tg-main); padding: 4px 0 4px 28px; margin: 2em 0; }
.tg-post-body ul, .tg-post-body ol,
.tg-prose ul, .tg-prose ol,
.entry-content ul, .entry-content ol,
.page-content:not(.tg-shop) ul, .page-content:not(.tg-shop) ol {
  padding-left: 1.5em; margin: 0 0 1.5em;
}
.tg-post-body li, .tg-prose li, .entry-content li, .page-content li { margin-bottom: .5em; }

/* Phân cấp bullet/số thứ tự lồng nhau — mỗi tầng một kiểu marker để dễ phân biệt */
.tg-post-body ul, .tg-prose ul, .entry-content ul, .page-content ul { list-style: disc; }
.tg-post-body ul ul, .tg-prose ul ul, .entry-content ul ul, .page-content ul ul { list-style: circle; margin: .4em 0 0; }
.tg-post-body ul ul ul, .tg-prose ul ul ul, .entry-content ul ul ul, .page-content ul ul ul { list-style: square; }

.tg-post-body ol, .tg-prose ol, .entry-content ol, .page-content ol { list-style: decimal; }
.tg-post-body ol ol, .tg-prose ol ol, .entry-content ol ol, .page-content ol ol { list-style: lower-alpha; margin: .4em 0 0; }
.tg-post-body ol ol ol, .tg-prose ol ol ol, .entry-content ol ol ol, .page-content ol ol ol { list-style: lower-roman; }

/* ══════════════════════════════════════════════════════════
   TATA GARDEN — WYSIWYG content tables
   Áp dụng cho mọi bảng admin chèn qua trình soạn thảo (blog,
   trang, mô tả dịch vụ/dự án, mô tả sản phẩm) — không đụng tới
   bảng chức năng của giỏ hàng/checkout/tài khoản (đã có style riêng).

   Ghi chú: WordPress tự nạp wp-includes/blocks/table/style.css khi
   nội dung có block bảng (wp:table), và file này LOAD SAU css theme
   (chỉ enqueue khi bài viết thực sự dùng block đó) nên hay đè viền
   (border:1px solid) + border-collapse lên bảng. Dùng !important cho
   các thuộc tính khung/viền cốt lõi để đảm bảo luôn thắng bất kể thứ
   tự nạp, đồng thời liệt kê thêm .wp-block-table để tăng độ ưu tiên.
   ══════════════════════════════════════════════════════════ */
.entry-content table:not(.shop_table),
.entry-content .wp-block-table table,
.page-content table:not(.shop_table),
.page-content .wp-block-table table,
.tg-prose table:not(.shop_table),
.tg-prose .wp-block-table table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 32px 0;
  background: var(--white);
  border: 1px solid var(--stone) !important;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-family: var(--tg-font-main);
  font-size: 14.5px;
  line-height: 1.65;
}
.entry-content .wp-block-table,
.page-content .wp-block-table,
.tg-prose .wp-block-table {
  overflow: visible;
  margin: 32px 0;
}
.entry-content .wp-block-table table,
.page-content .wp-block-table table,
.tg-prose .wp-block-table table {
  margin: 0;
}
.entry-content table:not(.shop_table) caption,
.page-content table:not(.shop_table) caption,
.tg-prose table:not(.shop_table) caption {
  caption-side: bottom;
  padding: 12px 4px 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: left;
}
.entry-content table:not(.shop_table) thead th,
.page-content table:not(.shop_table) thead th,
.tg-prose table:not(.shop_table) thead th {
  background: var(--g-dark);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 20px;
  border: none !important;
  border-bottom: 2px solid var(--gold) !important;
}
.entry-content table:not(.shop_table) tbody td,
.entry-content table:not(.shop_table) tbody th,
.page-content table:not(.shop_table) tbody td,
.page-content table:not(.shop_table) tbody th,
.tg-prose table:not(.shop_table) tbody td,
.tg-prose table:not(.shop_table) tbody th {
  padding: 14px 20px;
  border: none !important;
  border-bottom: 1px solid var(--stone) !important;
  color: var(--ink);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.entry-content table:not(.shop_table) tbody th,
.page-content table:not(.shop_table) tbody th,
.tg-prose table:not(.shop_table) tbody th {
  background: var(--cream-2);
  color: var(--charcoal);
  font-weight: 600;
}
.entry-content table:not(.shop_table) tbody tr:nth-child(even) td,
.page-content table:not(.shop_table) tbody tr:nth-child(even) td,
.tg-prose table:not(.shop_table) tbody tr:nth-child(even) td {
  background: var(--cream);
}
.entry-content table:not(.shop_table) tbody tr:hover td,
.page-content table:not(.shop_table) tbody tr:hover td,
.tg-prose table:not(.shop_table) tbody tr:hover td {
  background: var(--g-pale);
}
.entry-content table:not(.shop_table) tbody tr:last-child td,
.entry-content table:not(.shop_table) tbody tr:last-child th,
.page-content table:not(.shop_table) tbody tr:last-child td,
.page-content table:not(.shop_table) tbody tr:last-child th,
.tg-prose table:not(.shop_table) tbody tr:last-child td,
.tg-prose table:not(.shop_table) tbody tr:last-child th {
  border-bottom: none !important;
}
.entry-content table:not(.shop_table) a,
.page-content table:not(.shop_table) a,
.tg-prose table:not(.shop_table) a {
  color: var(--g); text-decoration: underline; text-underline-offset: 2px;
}
.entry-content table:not(.shop_table) strong,
.page-content table:not(.shop_table) strong,
.tg-prose table:not(.shop_table) strong {
  color: var(--charcoal);
}
@media (max-width: 640px) {
  .entry-content table:not(.shop_table),
  .page-content table:not(.shop_table),
  .tg-prose table:not(.shop_table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r);
  }
  .entry-content table:not(.shop_table) thead th,
  .page-content table:not(.shop_table) thead th,
  .tg-prose table:not(.shop_table) thead th,
  .entry-content table:not(.shop_table) tbody td,
  .entry-content table:not(.shop_table) tbody th,
  .page-content table:not(.shop_table) tbody td,
  .page-content table:not(.shop_table) tbody th,
  .tg-prose table:not(.shop_table) tbody td,
  .tg-prose table:not(.shop_table) tbody th {
    padding: 12px 14px;
    white-space: nowrap;
  }
}


@media (max-width: 768px) {
  .tg-cta__box { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; text-align: center; }
  .tg-cta__action { align-items: center; }
  .tg-cta__btns { justify-content: center; flex-direction: column; width: 100%; }
  .tg-cta__btns .tg-btn-cta { justify-content: center; width: 100%; }
  .tg-container { padding-inline: 20px; }
}
@media (max-width: 480px) {
  .tg-container { padding-inline: 16px; }
  .tg-cta__box { padding: 28px 20px; border-radius: 8px; }
}
