/*
Theme Name: VietnamTA Portal
Theme URI: https://dev.com.vn
Author: dev.com.vn
Author URI: https://dev.com.vn
Description: Portal thông tin toàn diện về Việt Nam - địa điểm, con người, văn hoá, ẩm thực, doanh nhân, nông sản. Hỗ trợ ACF Premium & Import Excel hàng loạt.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vietnamta
Tags: portal, directory, acf, responsive, vietnamese
*/

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
  --red: #DA251D;
  --red-light: #fff0f0;
  --gold: #F5A623;
  --yellow: #FFCD00;
  --yellow-light: #fffbe6;
  --green: #2d8a4e;
  --green-light: #edfaf3;
  --dark: #1a1a2e;
  --text: #222;
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #fafafa;
  --border: #f0f0f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,.13);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: var(--font);
  font-size: inherit;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.vta-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.vta-sec { padding: 52px 0; }

.vta-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 12px;
}

.vta-section-tag {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: .5px;
}

.vta-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.vta-section-title span { color: var(--red); }

.vta-see-all {
  color: var(--red);
  font-weight: 600;
  font-size: .84rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.vta-see-all:hover { text-decoration: underline; }

/* ============================================================
   HEADER
   ============================================================ */
#vta-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  gap: 20px;
}

.vta-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.vta-logo-flag {
  width: 34px; height: 23px;
  background: var(--red);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.vta-logo-flag span { color: var(--yellow); font-size: 14px; }
.vta-logo-text { font-weight: 800; font-size: 1.15rem; color: var(--dark); }
.vta-logo-text em { color: var(--red); font-style: normal; }

.vta-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.vta-nav a {
  color: var(--muted);
  font-size: .83rem;
  font-weight: 500;
  transition: color .2s;
}
.vta-nav a:hover, .vta-nav a.current { color: var(--red); }

.vta-header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  flex: 0 1 280px;
}
.vta-header-search input {
  flex: 1; border: none; outline: none;
  background: transparent;
  font-size: .85rem;
  color: var(--text);
}
.vta-header-search input::placeholder { color: #bbb; }
.vta-header-search button {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1rem; padding: 0;
}

.vta-header-cta {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.vta-header-cta:hover { background: #c0201a; }

.vta-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none; border: none;
}
.vta-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.vta-hero {
  margin-top: 57px;
  min-height: 55vh;
  background: linear-gradient(135deg, rgba(218,37,29,.82) 0%, rgba(26,26,46,.6) 100%),
              url('assets/images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.vta-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 50px;
  padding: 5px 16px;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.vta-dot {
  width: 7px; height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  animation: vtaBlink 1.4s infinite;
}
@keyframes vtaBlink { 0%,100%{opacity:1} 50%{opacity:.25} }

.vta-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.vta-hero h1 span { color: var(--yellow); }
.vta-hero p {
  color: rgba(255,255,255,.88);
  font-size: .97rem;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* Search bar in hero */
.vta-search-wrap {
  width: 100%; max-width: 620px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
  display: flex; align-items: center;
  padding: 5px 5px 5px 22px;
  gap: 6px;
  margin: 0 auto;
}
.vta-search-wrap select {
  border: none; outline: none;
  background: transparent;
  font-size: .85rem;
  color: var(--muted);
  padding-right: 6px;
  border-right: 1px solid var(--border);
  margin-right: 6px;
}
.vta-search-wrap input {
  flex: 1; border: none; outline: none;
  font-size: .95rem;
  background: transparent;
  color: var(--text);
}
.vta-search-wrap input::placeholder { color: #bbb; }
.vta-search-btn {
  background: var(--red);
  color: #fff; border: none;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700; font-size: .88rem;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.vta-search-btn:hover { background: #c0201a; }

.vta-search-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.vta-search-tags a {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .75rem;
  transition: background .2s;
}
.vta-search-tags a:hover { background: rgba(255,255,255,.28); }

/* ============================================================
   STATS BAR
   ============================================================ */
.vta-stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: linear-gradient(90deg, var(--red), #c0201a);
  padding: 18px 40px;
}
.vta-stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.vta-stat-item:last-child { border-right: none; }
.vta-stat-num { font-size: 1.5rem; font-weight: 800; color: #fff; }
.vta-stat-label { color: rgba(255,255,255,.75); font-size: .73rem; }

/* ============================================================
   TYPE GRID (Post Type Icons Row)
   ============================================================ */
.vta-type-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
}
.vta-type-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: all .2s;
  cursor: pointer;
}
.vta-type-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.vta-type-icon { font-size: 1.6rem; margin-bottom: 6px; }
.vta-type-name { font-size: .75rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.vta-type-sub { font-size: .64rem; color: var(--muted); margin-top: 3px; }

/* ============================================================
   CARD GRID - General 4 col
   ============================================================ */
.vta-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.vta-card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.vta-card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.vta-card-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ============================================================
   LISTING CARD
   ============================================================ */
.vta-listing-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  cursor: pointer;
}
.vta-listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.vta-listing-card .vta-card-img {
  position: relative;
  overflow: hidden;
}
.vta-listing-card .vta-card-img img {
  width: 100%; height: 185px;
  object-fit: cover;
  transition: transform .35s;
}
.vta-listing-card:hover .vta-card-img img { transform: scale(1.06); }

/* Avatar fallback (2 ký tự đầu tiêu đề) */
.vta-card-avatar-fallback {
  width: 100%; height: 185px;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: var(--red);
  letter-spacing: 2px;
}
.vta-listing-card .vta-card-avatar-fallback.small {
  width: 56px; height: 56px; min-height: unset;
  border-radius: 50%;
  font-size: 1rem;
}

.vta-card-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 5px; flex-wrap: wrap;
}
.vta-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: .65rem; font-weight: 700;
  background: var(--red); color: #fff;
}
.vta-badge.green { background: var(--green); }
.vta-badge.gold { background: var(--gold); color: #fff; }
.vta-badge.yellow { background: var(--yellow); color: var(--dark); }
.vta-badge.white { background: #fff; color: var(--text); }
.vta-badge.dark { background: var(--dark); color: #fff; }

.vta-card-body { padding: 14px; }
.vta-card-cat {
  display: inline-block;
  font-size: .68rem; font-weight: 700; color: var(--red);
  background: var(--red-light);
  padding: 2px 9px; border-radius: 50px;
  margin-bottom: 7px;
}
.vta-card-title {
  font-size: .95rem; font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vta-card-desc {
  font-size: .78rem; color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.vta-card-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
}
.vta-card-meta-item {
  display: flex; align-items: center; gap: 4px;
  font-size: .72rem; color: var(--muted);
}
.vta-card-price {
  font-size: .9rem; font-weight: 700; color: var(--red);
}
/* .vta-card-actions removed - card fully clickable */
.vta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .8rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all .2s;
}
.vta-btn-primary {
  background: var(--red); color: #fff; flex: 1;
  justify-content: center;
}
.vta-btn-primary:hover { background: #c0201a; }
.vta-btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted);
}
.vta-btn-outline:hover {
  border-color: var(--red); color: var(--red);
}

/* ============================================================
   CATEGORY CARD (image overlay)
   ============================================================ */
.vta-cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  transition: transform .25s, box-shadow .25s;
}
.vta-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.vta-cat-card img {
  width: 100%; height: 185px;
  object-fit: cover;
  transition: transform .35s;
}
.vta-cat-card:hover img { transform: scale(1.06); }
.vta-cat-card.tall img { height: 384px; }
.vta-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.68), transparent 55%);
}
.vta-cat-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px; color: #fff;
}
.vta-cat-icon { font-size: 1.3rem; margin-bottom: 4px; }
.vta-cat-name { font-size: 1rem; font-weight: 700; }
.vta-cat-count { font-size: .74rem; color: rgba(255,255,255,.72); }

/* ============================================================
   PEOPLE CARD
   ============================================================ */
.vta-people-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s;
}
.vta-people-card:hover { transform: translateY(-4px); }
.vta-people-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 9px;
  border: 3px solid var(--yellow);
}
.vta-people-name { font-size: .85rem; font-weight: 700; margin-bottom: 3px; }
.vta-people-role { font-size: .72rem; color: var(--muted); }
.vta-people-era {
  display: inline-block; margin-top: 7px;
  background: var(--red-light); color: var(--red);
  font-size: .66rem; font-weight: 600;
  padding: 2px 9px; border-radius: 50px;
}

/* ============================================================
   COMPANY CARD
   ============================================================ */
.vta-company-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.vta-company-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all .2s;
}
.vta-company-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.vta-company-logo {
  width: 52px; height: 52px;
  border-radius: 10px;
  object-fit: cover;
  margin: 0 auto 8px;
}
.vta-company-name { font-size: .82rem; font-weight: 700; margin-bottom: 2px; }
.vta-company-sector { font-size: .68rem; color: var(--muted); }

/* ============================================================
   SERVICE CARD
   ============================================================ */
.vta-svc-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all .2s;
}
.vta-svc-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.vta-svc-icon {
  width: 46px; height: 46px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 13px;
}
.vta-svc-name { font-size: .95rem; font-weight: 700; margin-bottom: 5px; }
.vta-svc-desc { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.vta-svc-count {
  display: inline-block; margin-top: 10px;
  background: var(--red-light); color: var(--red);
  font-size: .7rem; font-weight: 600;
  padding: 2px 10px; border-radius: 50px;
}

/* ============================================================
   BANNER STRIP
   ============================================================ */
.vta-banner-strip {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1b4e 100%);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.vta-banner-strip h2 { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.vta-banner-strip p { color: rgba(255,255,255,.72); font-size: .88rem; }
.vta-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.vta-btn-white {
  background: #fff; color: var(--dark);
  padding: 10px 24px; border-radius: 50px;
  font-weight: 700; font-size: .88rem;
  border: none; cursor: pointer;
}
.vta-btn-outline-w {
  background: transparent;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: .88rem;
  cursor: pointer;
}

/* ============================================================
   FOOTER
   ============================================================ */
#vta-footer {
  background: var(--dark);
  padding: 52px 0 0;
}
.vta-footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.vta-footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .83rem;
  line-height: 1.7;
  margin: 16px 0;
}
.vta-footer-social { display: flex; gap: 10px; }
.vta-social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .8rem; font-weight: 700;
  transition: background .2s;
}
.vta-social-btn:hover { background: var(--red); color: #fff; }

.vta-footer-col h4 {
  color: #fff; font-size: .88rem;
  font-weight: 700; margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,.1);
}
.vta-footer-col ul li { margin-bottom: 8px; }
.vta-footer-col ul li a {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  transition: color .2s;
}
.vta-footer-col ul li a:hover { color: #fff; }

.vta-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vta-footer-bottom p { color: rgba(255,255,255,.45); font-size: .78rem; }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.vta-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.vta-mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.vta-mobile-nav-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  font-size: .65rem; font-weight: 600;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 8px;
  transition: color .2s;
}
.vta-mobile-nav-item .icon { font-size: 1.2rem; }
.vta-mobile-nav-item.active,
.vta-mobile-nav-item:hover { color: var(--red); }

/* ============================================================
   SINGLE POST PAGE
   ============================================================ */
.vta-single-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.vta-single-main { min-width: 0; }
.vta-single-sidebar { position: sticky; top: 80px; }

/* Breadcrumb */
.vta-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.vta-breadcrumb a { color: var(--red); }
.vta-breadcrumb a:hover { text-decoration: underline; }
.vta-breadcrumb .sep { color: var(--border); }

/* Post header */
.vta-post-header { margin-bottom: 30px; }
.vta-post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.vta-post-title {
  font-size: 2rem; font-weight: 800;
  color: var(--dark); line-height: 1.25;
  margin-bottom: 16px;
}
.vta-post-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted);
}
.vta-post-meta span { display: flex; align-items: center; gap: 5px; }

/* Featured image */
.vta-post-featured-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}
.vta-post-featured-img img {
  width: 100%; height: 420px;
  object-fit: cover;
}

/* Sections in single */
.vta-post-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.vta-post-section-title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.vta-post-section-title .icon {
  width: 32px; height: 32px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

/* Info table */
.vta-info-table { width: 100%; border-collapse: collapse; }
.vta-info-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}
.vta-info-table td { padding: 10px 8px; font-size: .88rem; vertical-align: top; }
.vta-info-table td:first-child {
  color: var(--muted); font-weight: 600;
  width: 40%; white-space: nowrap;
}

/* Gallery */
.vta-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vta-gallery-grid img {
  border-radius: 8px;
  height: 140px; object-fit: cover; width: 100%;
  cursor: zoom-in;
  transition: transform .2s;
}
.vta-gallery-grid img:hover { transform: scale(1.03); }

/* Video */
.vta-video-wrap {
  position: relative; padding-bottom: 56.25%;
  border-radius: var(--radius); overflow: hidden;
}
.vta-video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* FAQ */
.vta-faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.vta-faq-question {
  padding: 14px 16px;
  font-weight: 600; font-size: .9rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--soft);
  transition: background .2s;
}
.vta-faq-question:hover { background: var(--red-light); }
.vta-faq-answer {
  padding: 0 16px;
  font-size: .88rem; color: var(--muted);
  max-height: 0; overflow: hidden;
  transition: max-height .3s, padding .3s;
}
.vta-faq-item.open .vta-faq-answer {
  padding: 14px 16px;
  max-height: 300px;
}
.vta-faq-item.open .vta-faq-question { background: var(--red-light); color: var(--red); }

/* Sidebar boxes */
.vta-sidebar-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.vta-sidebar-title {
  font-size: .9rem; font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red-light);
  display: flex; align-items: center; gap: 7px;
  color: var(--dark);
}

/* Price table in sidebar */
.vta-price-table { width: 100%; }
.vta-price-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .85rem;
}
.vta-price-row:last-child { border-bottom: none; }
.vta-price-value { font-weight: 700; color: var(--red); }

/* Contact sidebar */
.vta-contact-social { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.vta-contact-social a {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: .78rem; font-weight: 600;
  transition: all .2s;
}
.vta-contact-social .zalo { background: #0068ff; color: #fff; }
.vta-contact-social .facebook { background: #1877f2; color: #fff; }
.vta-contact-social .phone { background: var(--green); color: #fff; }

.vta-contact-info-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .83rem;
  margin-bottom: 10px;
  color: var(--muted);
}
.vta-contact-info-item .icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* Floating chat button */
.vta-chat-float {
  position: fixed;
  bottom: 90px; right: 24px;
  z-index: 900;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.vta-chat-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform .2s;
  border: none;
}
.vta-chat-btn:hover { transform: scale(1.1); }
.vta-chat-btn.zalo { background: #0068ff; }
.vta-chat-btn.phone { background: var(--green); }
.vta-chat-btn.msg { background: var(--red); color: #fff; }

/* ============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================ */
.vta-archive-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.vta-archive-sidebar { position: sticky; top: 80px; }
.vta-archive-main { min-width: 0; }

.vta-archive-search-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.vta-archive-search-input {
  display: flex; gap: 8px;
}
.vta-archive-search-input input {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px; outline: none;
  font-size: .88rem;
  transition: border-color .2s;
}
.vta-archive-search-input input:focus { border-color: var(--red); }
.vta-archive-search-input button {
  background: var(--red); color: #fff;
  border: none; padding: 10px 16px;
  border-radius: 8px; cursor: pointer;
  font-size: .88rem;
}

/* Filter sidebar */
.vta-filter-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.vta-filter-title {
  font-size: .88rem; font-weight: 700;
  color: var(--dark); margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.vta-filter-list { display: flex; flex-direction: column; gap: 6px; }
.vta-filter-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .83rem; cursor: pointer;
  padding: 4px 0;
}
.vta-filter-item input[type="checkbox"],
.vta-filter-item input[type="radio"] { accent-color: var(--red); }
.vta-filter-item-label {
  flex: 1; display: flex; justify-content: space-between;
}
.vta-filter-count {
  color: var(--muted); font-size: .75rem;
}

.vta-filter-range { width: 100%; }
.vta-filter-range input[type="range"] {
  width: 100%; accent-color: var(--red);
}

/* Archive header */
.vta-archive-header { margin-bottom: 24px; }
.vta-archive-title { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.vta-archive-meta { font-size: .83rem; color: var(--muted); margin-top: 4px; }

/* Sort bar */
.vta-sort-bar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--soft);
  border-radius: 8px;
  flex-wrap: wrap;
}
.vta-sort-bar label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.vta-sort-select {
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .83rem;
  outline: none;
  cursor: pointer;
}
.vta-view-toggle { margin-left: auto; display: flex; gap: 6px; }
.vta-view-btn {
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #fff; cursor: pointer;
  font-size: .9rem;
  transition: all .2s;
}
.vta-view-btn.active { border-color: var(--red); color: var(--red); }

/* Mobile filter toggle */
.vta-mobile-filter-btn {
  display: none;
  width: 100%;
  background: var(--red); color: #fff;
  border: none; border-radius: 8px;
  padding: 12px 16px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer;
  align-items: center; gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.vta-contact-form { display: flex; flex-direction: column; gap: 14px; }
.vta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vta-form-group { display: flex; flex-direction: column; gap: 5px; }
.vta-form-group label { font-size: .82rem; font-weight: 600; color: var(--dark); }
.vta-form-group input,
.vta-form-group select,
.vta-form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  font-size: .88rem;
  transition: border-color .2s;
  background: #fff;
}
.vta-form-group input:focus,
.vta-form-group select:focus,
.vta-form-group textarea:focus { border-color: var(--red); }
.vta-form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.vta-pagination {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 36px; flex-wrap: wrap;
}
.vta-page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  background: #fff; color: var(--text);
}
.vta-page-btn:hover, .vta-page-btn.active {
  background: var(--red); border-color: var(--red); color: #fff;
}

/* ============================================================
   RELATED CONTENT
   ============================================================ */
.vta-related { padding: 40px 0; }
.vta-related-title {
  font-size: 1.2rem; font-weight: 800; color: var(--dark);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}

/* ============================================================
   ADMIN - Import page, Settings
   ============================================================ */
.vta-admin-wrap { max-width: 900px; }
.vta-admin-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.vta-admin-header h1 { font-size: 1.5rem; margin: 0; }
.vta-admin-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.vta-admin-card h2 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #eee; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .vta-wrap { padding: 0 24px; }
  .vta-type-grid { grid-template-columns: repeat(5, 1fr); }
  .vta-company-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  #vta-header { padding: 12px 20px; }
  .vta-nav { display: none; }
  .vta-hamburger { display: flex; }
  .vta-header-search { display: none; }

  .vta-type-grid { grid-template-columns: repeat(5, 1fr); }
  .vta-card-grid { grid-template-columns: repeat(3, 1fr); }
  .vta-company-grid { grid-template-columns: repeat(3, 1fr); }
  .vta-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .vta-single-layout { grid-template-columns: 1fr; }
  .vta-single-sidebar { position: static; }
  .vta-archive-layout { grid-template-columns: 1fr; }
  .vta-archive-sidebar { display: none; position: static; }
  .vta-archive-sidebar.open { display: block; }
  .vta-mobile-filter-btn { display: flex; }

  .vta-mobile-nav { display: block; }
  body { padding-bottom: 70px; }
  .vta-chat-float { bottom: 140px; }

  .vta-banner-strip { flex-direction: column; text-align: center; }
  .vta-banner-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .vta-wrap { padding: 0 16px; }
  .vta-type-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .vta-card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vta-card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .vta-card-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .vta-card-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
  .vta-company-grid { grid-template-columns: repeat(2, 1fr); }

  .vta-post-title { font-size: 1.4rem; }
  .vta-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .vta-single-layout, .vta-archive-layout { padding: 20px 16px; }
  .vta-footer-grid { padding: 0 16px 32px; grid-template-columns: 1fr 1fr; }
  .vta-footer-bottom { padding: 16px; flex-direction: column; gap: 8px; text-align: center; }
  .vta-stats-bar { padding: 14px 16px; gap: 12px; }
  .vta-stat-item { padding: 0 12px; }
  .vta-form-row { grid-template-columns: 1fr; }
  .vta-hero { padding: 40px 16px; }
  .vta-search-wrap { border-radius: 12px; flex-wrap: wrap; padding: 12px; }
  .vta-search-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.vta-lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.vta-lightbox-overlay.open { opacity: 1; pointer-events: all; }
.vta-lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.vta-lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.15);
  border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   NOTICE / ALERT
   ============================================================ */
.vta-notice {
  padding: 12px 16px; border-radius: 8px;
  font-size: .88rem; margin-bottom: 14px;
  display: flex; gap: 8px; align-items: center;
}
.vta-notice.success { background: var(--green-light); color: var(--green); border: 1px solid #b7f0cd; }
.vta-notice.error { background: var(--red-light); color: var(--red); border: 1px solid #ffc0bc; }
.vta-notice.info { background: #e8f0fe; color: #1a56db; border: 1px solid #c3d5fd; }

/* ============================================================
   SKELETON LOADER
   ============================================================ */
.vta-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: vtaSkeleton 1.5s infinite;
  border-radius: 6px;
}
@keyframes vtaSkeleton { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
