/**
 * Vmax Homepage — styles for Flatsome UX Builder sections
 * Targets .section.vmax-* and Flatsome element classes
 */

:root {
  --vmax-red: #C8102E;
  --vmax-red-dark: #8B0000;
  --vmax-red-hover: #E01840;
  --vmax-red-glow: rgba(200, 16, 46, 0.45);
  --vmax-navy: #0B1D3A;
  --vmax-navy-light: #1A3A5C;
  --vmax-navy-deep: #060F1E;
  --vmax-green: #00B050;
  --vmax-green-glow: rgba(0, 176, 80, 0.35);
  --vmax-orange: #E87722;
  --vmax-dark: #0A0A0A;
  --vmax-gray: #F5F5F5;
  --vmax-gray-dark: #E8E8E8;
  --vmax-white: #FFFFFF;
  --vmax-text: #333333;
  --vmax-text-light: #666666;
  --vmax-text-muted: #999999;
  --font-primary: "Be Vietnam Pro", system-ui, sans-serif;
  --container-max: 1200px;
  --section-padding: 100px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.2);
  --shadow-glow-red: 0 0 40px var(--vmax-red-glow);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-red: linear-gradient(135deg, #C8102E 0%, #8B0000 100%);
  --gradient-mesh: radial-gradient(ellipse at 15% 50%, rgba(200, 16, 46, 0.18) 0%, transparent 55%),
                   radial-gradient(ellipse at 85% 15%, rgba(0, 176, 80, 0.1) 0%, transparent 45%),
                   radial-gradient(ellipse at 50% 100%, rgba(26, 58, 92, 0.5) 0%, transparent 60%);
  --header-height: 72px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-primary);
  font-size: 16px !important;
  line-height: 1.6;
}

/* Body copy tối thiểu 16px (giữ label/eyebrow nhỏ hơn) */
.section-content > .row > .col > p:not(.vmax-label):not(.vmax-stat-label):not(.vmax-tabs-intro),
.section .icon-box-text p,
.section .box-text p,
.section .vmax-section-subtitle,
.section .vmax-product-lead,
.section .vmax-tabs-intro,
.section .box-text ul li,
.section .vmax-feature-body ul li,
.section .vmax-contact-item__value,
.section .wpcf7 label,
.section .wpcf7 input[type="text"],
.section .wpcf7 input[type="tel"],
.section .wpcf7 input[type="email"],
.section .wpcf7 textarea,
.section .wpcf7 input[type="submit"],
#footer .vmax-footer-brand p,
#footer .ux-menu-link__link,
#footer a {
  font-size: 16px !important;
}

/* Labels & section headers */
.vmax-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vmax-red);
  margin-bottom: 12px;
}

.vmax-label--green { color: var(--vmax-green); }

.section.vmax-superpowers .vmax-label,
.section.vmax-stats .vmax-label,
.section.vmax-testimonials .vmax-label {
  color: var(--vmax-red);
}

.section.vmax-partner .vmax-label {
  color: rgba(255, 255, 255, 0.9);
}

.vmax-section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--vmax-navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.vmax-section-subtitle {
  font-size: 1.05rem;
  color: var(--vmax-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section.dark .vmax-section-title,
.section.vmax-superpowers .vmax-section-title,
.section.vmax-stats .vmax-section-title,
.section.vmax-testimonials .vmax-section-title,
.section.vmax-partner .vmax-section-title {
  color: var(--vmax-white);
}

.section.dark .vmax-section-subtitle,
.section.vmax-superpowers .vmax-section-subtitle,
.section.vmax-stats .vmax-section-subtitle,
.section.vmax-testimonials .vmax-section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.section.vmax-partner .vmax-section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Primary button glow */
.button.vmax-btn-glow,
.button.primary.vmax-btn-glow {
  border-radius: 50px !important;
  background: var(--gradient-red) !important;
  border-color: transparent !important;
  transition: transform var(--transition), box-shadow var(--transition);
}

.button.vmax-btn-glow:hover,
.button.primary.vmax-btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
}

.section.vmax-partner .button.white,
.section.vmax-partner .button.vmax-btn-partner {
  border-radius: 50px !important;
  background: var(--vmax-white) !important;
  color: var(--vmax-red) !important;
  border-color: var(--vmax-white) !important;
}

.section.vmax-partner .button.white:hover,
.section.vmax-partner .button.vmax-btn-partner:hover {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.section.vmax-hero,
.banner.vmax-hero {
  padding: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--vmax-dark);
}

.section.vmax-hero .section-content,
.banner.vmax-hero .banner-layers {
  min-height: 100vh;
  min-height: 100dvh;
}

.section.vmax-hero .bg.video,
.banner.vmax-hero video,
.section.vmax-hero video {
  object-fit: cover;
}

/* ---------- Inner page hero ---------- */
.section.vmax-page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section.vmax-page-hero .vmax-section-title,
.section.vmax-page-hero h1.vmax-section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.section.vmax-page-hero .vmax-section-subtitle {
  margin: 0 auto;
  max-width: 640px;
}

.section.vmax-page-hero:not(.vmax-partner) {
  background: var(--vmax-navy-deep) !important;
}

.section.vmax-page-hero:not(.vmax-partner)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

.section.vmax-page-hero .section-content {
  position: relative;
  z-index: 1;
}

/* ---------- Superpowers ---------- */
.section.vmax-superpowers {
  position: relative;
  background: var(--vmax-navy-deep) !important;
}

.section.vmax-superpowers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

.section.vmax-superpowers .section-content {
  position: relative;
  z-index: 1;
}

.section.vmax-superpowers .featured-box,
.section.vmax-superpowers .icon-box {
  position: relative;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  overflow: hidden;
  height: 100%;
}

.section.vmax-superpowers .featured-box::before,
.section.vmax-superpowers .icon-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.section.vmax-superpowers .featured-box:hover,
.section.vmax-superpowers .icon-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(200, 16, 46, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.section.vmax-superpowers .featured-box:hover::before,
.section.vmax-superpowers .icon-box:hover::before {
  transform: scaleX(1);
}

.vmax-superpower__num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.section.vmax-superpowers .icon-box-img {
  width: 56px !important;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 16, 46, 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  padding: 12px;
  box-sizing: border-box;
}

.section.vmax-superpowers .icon-box-img img {
  width: 100%;
  height: auto;
  max-width: 32px;
  display: block;
}

.section.vmax-superpowers h3,
.section.vmax-superpowers .icon-box-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vmax-white);
  margin-bottom: 12px;
}

.section.vmax-superpowers .icon-box-text p,
.section.vmax-superpowers p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ---------- Stats ---------- */
.section.vmax-stats {
  position: relative;
  background: linear-gradient(180deg, var(--vmax-navy) 0%, var(--vmax-navy-deep) 100%) !important;
  overflow: hidden;
  text-align: center;
}

.section.vmax-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

.section.vmax-stats .section-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.section.vmax-stats .section-content > .row {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.section.vmax-stats .vmax-label,
.section.vmax-stats .vmax-section-title,
.section.vmax-stats .col {
  text-align: center !important;
}

.section.vmax-stats .row.vmax-stats-grid {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 auto;
  text-align: center;
}

.section.vmax-stats .row.vmax-stats-grid > .col {
  padding: 40px 24px !important;
  text-align: center !important;
  background: rgba(6, 15, 30, 0.6);
  transition: background var(--transition);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.section.vmax-stats .row.vmax-stats-grid > .col:last-child {
  border-right: none;
}

.section.vmax-stats .row.vmax-stats-grid > .col:hover {
  background: rgba(200, 16, 46, 0.08);
}

.section.vmax-stats .count-up,
.section.vmax-stats .vmax-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--vmax-white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  display: block;
}

.section.vmax-stats .vmax-stat-number .count-up {
  display: inline;
}

.section.vmax-stats .vmax-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  text-align: center;
}

/* ---------- Products ---------- */
.section.vmax-products {
  background: var(--vmax-gray) !important;
}

.section.vmax-products .tabbed-content {
  max-width: 100%;
}

.section.vmax-products .nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 6px;
  background: var(--vmax-white);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--vmax-gray-dark);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section.vmax-products .nav-pills > li > a {
  border-radius: 50px !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 22px !important;
  color: var(--vmax-text-light);
  text-transform: none !important;
  letter-spacing: 0;
}

.section.vmax-products .nav-pills > li.active > a,
.section.vmax-products .nav-pills > li > a.active {
  background: var(--gradient-red) !important;
  color: var(--vmax-white) !important;
  box-shadow: 0 4px 16px var(--vmax-red-glow);
}

.vmax-tabs-intro {
  text-align: center;
  color: var(--vmax-text-light);
  margin: 0 0 36px;
  font-size: 16px !important;
  line-height: 1.6;
}

/* Product cards — không đụng .box-image / image-cover (để Flatsome lo ảnh + zoom) */
.section.vmax-products .tab-panels {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.section.vmax-products .tab-panels .row {
  align-items: stretch;
}

.section.vmax-products .tab-panels .row:not(.vmax-product-feature) > .col {
  display: flex;
  margin-bottom: 28px;
}

.section.vmax-products .tab-panels .row:not(.vmax-product-feature) > .col > .col-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.section.vmax-products .box.vmax-product-card,
.section.vmax-products .box.has-hover.vmax-product-card,
.section.vmax-products .col > .col-inner > .box.has-hover {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--vmax-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.section.vmax-products .box.has-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11, 29, 58, 0.14);
  border-color: rgba(200, 16, 46, 0.28);
}

.vmax-product-card > .box-text {
  /* static để CTA absolute neo theo card, không theo chiều cao chữ */
  position: static !important;
  padding: 22px 24px 70px !important;
  text-align: left !important;
}

.vmax-product-card .box-text-inner {
  position: static !important;
}

.vmax-product-card__tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vmax-red);
  background: rgba(200, 16, 46, 0.08);
  padding: 5px 12px;
  border-radius: 50px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.section.vmax-products .box-text h3 {
  font-size: 1.25rem !important;
  font-weight: 800;
  color: var(--vmax-navy);
  margin: 0 0 8px !important;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section.vmax-products .box-text .vmax-product-lead,
.section.vmax-products .box-text p.vmax-product-lead {
  font-size: 16px !important;
  color: var(--vmax-text-light) !important;
  line-height: 1.65;
  margin: 0 0 14px !important;
}

.section.vmax-products .box-text ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.section.vmax-products .box-text ul li {
  position: relative;
  padding-left: 18px;
  font-size: 16px !important;
  color: var(--vmax-text) !important;
  margin: 0 0 8px !important;
  line-height: 1.5;
}

.section.vmax-products .box-text ul li:last-child {
  margin-bottom: 0 !important;
}

.section.vmax-products .box-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--vmax-green);
  border-radius: 50%;
}

/* CTA Tư vấn — absolute theo card (bottom:0), full-bleed */
.vmax-product-card > .box-text .button,
.vmax-product-card > .box-text a.button,
.vmax-product-card .button.vmax-product-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 16px 20px !important;
  min-height: 52px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  text-transform: none !important;
  color: #fff !important;
  background: var(--vmax-red) !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  transition: background-color var(--transition);
}

.vmax-product-card > .box-text .button:hover,
.vmax-product-card > .box-text a.button:hover,
.vmax-product-card > .box-text .button:focus,
.vmax-product-card > .box-text a.button:focus,
.vmax-product-card .button.vmax-product-cta:hover,
.vmax-product-card .button.vmax-product-cta:focus {
  color: #fff !important;
  background: var(--vmax-red-dark) !important;
  background-image: none !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Feature product (software / plotter) — trong container, nền trắng */
.section.vmax-products .tab-panels .row.vmax-product-feature,
.section.vmax-products .row.vmax-product-feature {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 20px !important;
  gap: 8px;
  background: var(--vmax-white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(11, 29, 58, 0.08);
}

.section.vmax-products .tab-panels .row.vmax-product-feature > .col,
.section.vmax-products .vmax-product-feature > .col {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  float: none !important;
  display: block;
}

.section.vmax-products .vmax-product-feature > .col.large-5 {
  flex: 1 1 40%;
  max-width: 42%;
  width: auto !important;
}

.section.vmax-products .vmax-product-feature > .col.large-6 {
  flex: 1 1 0;
  max-width: none;
  width: auto !important;
  min-width: 0;
}

.section.vmax-products .vmax-product-feature > .col.large-7 {
  flex: 1 1 55%;
  max-width: 58%;
  width: auto !important;
  min-width: 0;
}

@media (max-width: 849px) {
  .section.vmax-products .vmax-product-feature > .col.large-5,
  .section.vmax-products .vmax-product-feature > .col.large-6,
  .section.vmax-products .vmax-product-feature > .col.large-7,
  .section.vmax-products .vmax-product-feature > .col.small-12,
  .section.vmax-products .vmax-product-feature > .col.medium-6 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100% !important;
  }
}

.section.vmax-products .vmax-product-feature > .col > .col-inner {
  height: 100%;
  padding: 0 !important;
}

.section.vmax-products .vmax-product-feature .img,
.section.vmax-products .vmax-product-feature .img-inner {
  height: 100%;
  min-height: 420px;
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
}

.section.vmax-products .vmax-product-feature .img-inner {
  background: var(--vmax-gray);
}

.section.vmax-products .vmax-product-feature .img img,
.section.vmax-products .vmax-product-feature .img-inner img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section.vmax-products .vmax-feature-body {
  height: 100%;
  background: var(--vmax-white);
}

.section.vmax-products .vmax-feature-body > .col-inner {
  padding: 28px 40px 36px 32px !important;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.section.vmax-products .vmax-feature-body .vmax-product-card__tag,
.section.vmax-products .vmax-feature-body .vmax-feature-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 8px 20px 8px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(90deg, var(--vmax-orange) 0%, #ff9a3c 100%);
  border-radius: 0 999px 999px 0;
  box-shadow: 0 4px 16px rgba(232, 119, 34, 0.28);
}

.section.vmax-products .vmax-feature-body h3 {
  margin: 0 0 14px !important;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important;
  font-weight: 800;
  color: var(--vmax-navy) !important;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section.vmax-products .vmax-feature-body .vmax-product-lead,
.section.vmax-products .vmax-feature-body p.vmax-product-lead {
  margin: 0 0 22px !important;
  font-size: 16px !important;
  line-height: 1.7;
  color: var(--vmax-text-light) !important;
}

.section.vmax-products .vmax-feature-body ul {
  list-style: none;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

.section.vmax-products .vmax-feature-body ul li {
  position: relative;
  margin: 0 0 12px !important;
  padding: 0 0 0 36px !important;
  font-size: 16px !important;
  font-weight: 600;
  color: var(--vmax-text) !important;
  line-height: 1.45;
}

.section.vmax-products .vmax-feature-body ul li:last-child {
  margin-bottom: 0 !important;
}

.section.vmax-products .vmax-feature-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vmax-orange);
  box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.section.vmax-products .vmax-feature-body .vmax-spec-block {
  margin: 0 0 28px;
  padding: 18px 20px;
  background: var(--vmax-gray);
  border: 1px solid var(--vmax-gray-dark);
  border-radius: 14px;
}

.section.vmax-products .vmax-product-feature .vmax-spec-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid var(--vmax-gray-dark);
  font-size: 0.9rem;
}

.section.vmax-products .vmax-product-feature .vmax-spec-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section.vmax-products .vmax-product-feature .vmax-spec-line:first-child {
  padding-top: 0;
}

.section.vmax-products .vmax-product-feature .vmax-spec-line .vmax-spec-label {
  color: var(--vmax-text-light);
}

.section.vmax-products .vmax-product-feature .vmax-spec-line .vmax-spec-value {
  font-weight: 700;
  color: var(--vmax-navy);
  text-align: right;
  flex-shrink: 0;
}

.section.vmax-products .vmax-feature-body .button,
.section.vmax-products .vmax-feature-body a.button {
  align-self: flex-start;
  margin-top: auto !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}

@media (max-width: 849px) {
  .section.vmax-products .tab-panels .row.vmax-product-feature,
  .section.vmax-products .row.vmax-product-feature {
    padding: 14px !important;
  }

  .section.vmax-products .vmax-product-feature .img,
  .section.vmax-products .vmax-product-feature .img-inner,
  .section.vmax-products .vmax-product-feature .img img,
  .section.vmax-products .vmax-product-feature .img-inner img {
    min-height: 240px;
  }

  .section.vmax-products .vmax-feature-body > .col-inner {
    padding: 24px 18px 28px !important;
  }
}

.vmax-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--vmax-gray-dark);
  font-size: 0.875rem;
}

.vmax-spec-row .vmax-spec-label {
  color: var(--vmax-text-light);
  margin: 0;
}

.vmax-spec-row .vmax-spec-value {
  font-weight: 700;
  color: var(--vmax-navy);
  margin: 0;
  text-align: right;
}

.section.vmax-products .vmax-spec-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid var(--vmax-gray-dark);
  font-size: 0.875rem;
}

.section.vmax-products .vmax-spec-line .vmax-spec-label {
  color: var(--vmax-text-light);
}

.section.vmax-products .vmax-spec-line .vmax-spec-value {
  font-weight: 700;
  color: var(--vmax-navy);
  text-align: right;
  flex-shrink: 0;
}

.section.vmax-products .row.vmax-spec-list {
  margin: 0;
  border-bottom: 1px solid var(--vmax-gray-dark);
  font-size: 0.875rem;
}

.section.vmax-products .row.vmax-spec-list > .col {
  padding-top: 10px;
  padding-bottom: 10px;
}

.section.vmax-products .row.vmax-spec-list .vmax-spec-label {
  color: var(--vmax-text-light);
  margin: 0;
}

.section.vmax-products .row.vmax-spec-list .vmax-spec-value {
  font-weight: 700;
  color: var(--vmax-navy);
  margin: 0;
  text-align: right;
}

.vmax-spec-list {
  margin-top: 20px;
}

/* ---------- Partner ---------- */
.section.vmax-partner {
  position: relative;
  background: linear-gradient(135deg, var(--vmax-red-dark) 0%, var(--vmax-red) 45%, #6B0018 100%) !important;
  overflow: hidden;
}

.section.vmax-partner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(0, 0, 0, 0.18) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.section.vmax-partner .section-content {
  position: relative;
  z-index: 1;
}

.section.vmax-partner .featured-box,
.section.vmax-partner .icon-box {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  height: 100%;
}

.section.vmax-partner .featured-box:hover,
.section.vmax-partner .icon-box:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
}

.section.vmax-partner .icon-box-img {
  width: 56px !important;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-sizing: border-box;
}

.section.vmax-partner .icon-box-img img {
  width: 100%;
  height: auto;
  max-width: 28px;
  display: block;
}

.section.vmax-contact .icon-box-img {
  width: 44px !important;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 16, 46, 0.08);
  border-radius: var(--radius-md);
  padding: 10px;
  box-sizing: border-box;
}

.section.vmax-contact .icon-box-img img {
  width: 100%;
  height: auto;
  max-width: 22px;
  display: block;
}

.section.vmax-partner h3,
.section.vmax-partner .icon-box-text h3 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--vmax-white);
}

.section.vmax-partner .icon-box-text p,
.section.vmax-partner p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Support ---------- */
.section.vmax-support .box.has-hover {
  background: var(--vmax-white);
  border: 1px solid var(--vmax-gray-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.section.vmax-support .box.has-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.section.vmax-support .box-text {
  padding: 24px !important;
  text-align: left !important;
}

.vmax-support-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vmax-red);
  margin-bottom: 8px;
}

.section.vmax-support .box-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vmax-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.section.vmax-support .box-text p {
  font-size: 0.9rem;
  color: var(--vmax-text-light);
  line-height: 1.65;
}

/* ---------- Testimonials ---------- */
.section.vmax-testimonials {
  position: relative;
  background: var(--vmax-navy-deep) !important;
}

.section.vmax-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

.section.vmax-testimonials .section-content {
  position: relative;
  z-index: 1;
}

.section.vmax-testimonials .testimonial-box,
.section.vmax-testimonials .testimonial-text {
  text-align: center;
}

.section.vmax-testimonials .testimonial-text,
.section.vmax-testimonials .testimonial-text p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section.vmax-testimonials .testimonial-name {
  color: var(--vmax-red);
}

.section.vmax-testimonials .testimonial-company {
  color: rgba(255, 255, 255, 0.5);
}

.section.vmax-testimonials .slider-nav {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--vmax-white);
}

.section.vmax-testimonials .slider-nav:hover {
  background: var(--vmax-red) !important;
  border-color: var(--vmax-red);
}

/* ---------- Contact ---------- */
.section.vmax-contact .section-content > .row {
  align-items: flex-start;
}

.section.vmax-contact .vmax-contact-info {
  text-align: left !important;
}

.section.vmax-contact .vmax-contact-info .vmax-label {
  display: block;
  margin-bottom: 12px;
}

.section.vmax-contact .vmax-contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--vmax-navy);
  margin: 0 0 28px;
  line-height: 1.25;
  text-align: left !important;
}

/* Icon rows — match HTML mẫu: ô hồng + icon đỏ + label/value */
.section.vmax-contact .icon-box.vmax-contact-item,
.section.vmax-contact .featured-box.vmax-contact-item {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 20px !important;
  text-align: left !important;
}

.section.vmax-contact .vmax-contact-item .icon-box-img {
  flex-shrink: 0;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 10px !important;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(200, 16, 46, 0.08) !important;
  border-radius: 8px !important;
  border: none !important;
}

.section.vmax-contact .vmax-contact-item .icon-box-img img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  object-fit: contain;
  display: block;
}

.section.vmax-contact .vmax-contact-item .icon-box-text {
  padding: 0 !important;
  width: auto !important;
  flex: 1;
  text-align: left !important;
}

.section.vmax-contact .vmax-contact-item .icon-box-text p {
  margin: 0 !important;
  line-height: 1.4;
}

.section.vmax-contact .vmax-contact-item__label {
  display: block;
  font-size: 0.75rem !important;
  font-weight: 500;
  color: var(--vmax-text-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px !important;
}

.section.vmax-contact .vmax-contact-item__value {
  display: block;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--vmax-navy) !important;
}

.section.vmax-contact .vmax-contact-item__value a {
  color: var(--vmax-navy);
  text-decoration: none;
}

.section.vmax-contact .vmax-contact-item__value a:hover {
  color: var(--vmax-red);
}

/* Map — khung bo góc như mẫu */
.section.vmax-contact .google-map,
.section.vmax-contact .ux-google-map {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  height: 200px !important;
  max-height: 200px;
}

.section.vmax-contact .google-map iframe,
.section.vmax-contact .ux-google-map iframe {
  height: 200px !important;
  border: 0;
}

.section.vmax-contact .map-inner,
.section.vmax-contact .map_inner,
.section.vmax-contact .google-map .button,
.section.vmax-contact .google-map .map-inner {
  display: none !important;
}

/* Form card — một khối như mẫu, không double padding */
.section.vmax-contact .col.vmax-form-wrap,
.section.vmax-contact .vmax-form-wrap {
  background: var(--vmax-white) !important;
  padding: 36px !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.14) !important;
  border: 1px solid var(--vmax-gray-dark) !important;
}

.section.vmax-contact .vmax-form-wrap > h3,
.section.vmax-contact .vmax-form-wrap h3:first-child {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vmax-navy);
  margin: 0 0 24px !important;
  text-align: left;
}

.section.vmax-contact .vmax-form-wrap .wpcf7,
.section.vmax-contact .vmax-form-wrap .wpcf7-form {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.section.vmax-contact .wpcf7-form p {
  margin: 0 0 16px;
}

.section.vmax-contact .wpcf7 input[type="text"],
.section.vmax-contact .wpcf7 input[type="tel"],
.section.vmax-contact .wpcf7 input[type="email"],
.section.vmax-contact .wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--vmax-gray-dark);
  border-radius: 8px;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  margin: 6px 0 0;
  box-sizing: border-box;
}

.section.vmax-contact .wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

.section.vmax-contact .wpcf7 input:focus,
.section.vmax-contact .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--vmax-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.section.vmax-contact .wpcf7 input[type="submit"],
.section.vmax-contact .wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px !important;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px !important;
  border: none !important;
  cursor: pointer;
  background: var(--gradient-red) !important;
  color: var(--vmax-white) !important;
  transition: all var(--transition);
  width: auto !important;
}

.section.vmax-contact .wpcf7 input[type="submit"]:hover,
.section.vmax-contact .wpcf7 .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
}

.section.vmax-contact .wpcf7 label,
.section.vmax-contact .vmax-form-wrap label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--vmax-navy);
  margin-bottom: 0;
  text-align: left;
}

/* ---------- Sticky bar (PHP footer) ---------- */
.vmax-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(6, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.vmax-sticky-bar__inner {
  display: flex;
  justify-content: space-around;
}

.vmax-sticky-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--vmax-white);
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.vmax-sticky-bar__btn:hover {
  color: var(--vmax-red);
}

.vmax-sticky-bar__btn-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* ---------- Header (Flatsome Header Builder → Vmax) ---------- */
/*
 * Flatsome tô nền qua .header-bg-color / .header-bottom (Theme Options),
 * không phải .header-wrapper — selector cũ nên header vẫn xám #f1f1f1.
 */
#header,
.header-wrapper {
  z-index: 1000;
}

#header .header-bg-color,
#header .header-wrapper,
#header .header-wrapper .header-bg-color,
.header-wrapper .header-bg-color,
.header-bg-color {
  background-color: rgba(6, 15, 30, 0.92) !important;
  background-image: none !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color var(--transition), box-shadow var(--transition);
}

#header .header-wrapper.stuck .header-bg-color,
#header .header-wrapper.stuck,
.header-wrapper.stuck .header-bg-color,
.stuck .header-bg-color {
  background-color: rgba(6, 15, 30, 0.97) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#header .header-main,
#header .header-top,
#header .header-bottom,
.header-main,
.header-top,
.header-bottom {
  background-color: transparent !important;
  background-image: none !important;
}

.header-main {
  min-height: var(--header-height);
}

.header-main .header-inner {
  min-height: var(--header-height);
}


/* Main nav links — pill style */
.header-main .header-nav-main.nav > li > a,
.header-wrapper .nav-dark > li > a,
.header-main .nav > li > a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 50px;
  text-transform: none;
  letter-spacing: 0;
  transition: color var(--transition), background var(--transition);
}

.header-main .header-nav-main.nav > li > a:hover,
.header-main .header-nav-main.nav > li.active > a,
.header-main .header-nav-main.nav > li.current-menu-item > a,
.header-main .header-nav-main.nav > li > a.active,
.header-main .header-nav-main.nav > li > a.current,
.header-main .nav > li > a:hover,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li.current_page_item > a {
  color: var(--vmax-white) !important;
  background: rgba(255, 255, 255, 0.08);
}

/* Dropdown */
.header-main .nav-dropdown,
.header-wrapper .nav-dropdown {
  background: var(--vmax-navy) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
}

.header-main .nav-dropdown > li > a,
.header-wrapper .nav-dropdown > li > a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  text-transform: none;
}

.header-main .nav-dropdown > li > a:hover,
.header-wrapper .nav-dropdown > li > a:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--vmax-white) !important;
}

/* CTA button in header */
.header-main .header-button .button,
.header-main .button.primary,
.header-main .nav-button-container .button,
.header-wrapper .header-button .button {
  background: var(--gradient-red) !important;
  border-color: transparent !important;
  border-radius: 50px !important;
  color: var(--vmax-white) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 22px !important;
  transition: transform var(--transition), box-shadow var(--transition);
}

.header-main .header-button .button:hover,
.header-main .button.primary:hover,
.header-wrapper .header-button .button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
  color: var(--vmax-white) !important;
}

/* Icons / cart / search — light on dark header */
.header-main .header-nav-tools a,
.header-main .header-button-right a,
.header-main i.icon-menu,
.header-main .icon-menu,
.header-main .nav-icon a,
.header-main .cart-item,
.header-main .header-cart-link,
.header-main .header-search-form-wrapper a {
  color: rgba(255, 255, 255, 0.85) !important;
}

.header-main .nav-icon a:hover,
.header-main .header-cart-link:hover {
  color: var(--vmax-white) !important;
}

/* Hamburger / mobile toggle */
.header-main .icon-menu:before,
.mobile-nav .nav-icon span,
#masthead .toggle {
  color: var(--vmax-white);
}

.header-main .nav-icon-text {
  color: rgba(255, 255, 255, 0.85);
}

/* Off-canvas / mobile menu drawer */
.mfp-content .mobile-sidebar,
.off-canvas .nav-sidebar,
.mobile-nav.nav-sidebar,
.nav-sidebar.mobile-nav {
  background: var(--vmax-navy-deep) !important;
}

.mobile-nav > li > a,
.off-canvas .nav > li > a,
.nav-sidebar > li > a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
}

.mobile-nav > li > a:hover,
.mobile-nav > li.current-menu-item > a,
.off-canvas .nav > li > a:hover {
  color: var(--vmax-white) !important;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav .sub-menu a,
.nav-sidebar .children a {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Transparent header over hero */
.transparent .header-bg-color,
.transparent .header-wrapper .header-bg-color,
.home.transparent .header-bg-color {
  background-color: rgba(6, 15, 30, 0.55) !important;
}

.transparent .header-wrapper.stuck .header-bg-color,
.stuck.transparent .header-bg-color {
  background-color: rgba(6, 15, 30, 0.97) !important;
}

/* Top bar (nếu dùng) */
.header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top .nav > li > a,
.header-top .html {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.8rem;
}

/* ---------- Footer (Flatsome Footer Builder → Vmax) ---------- */
#footer,
.footer-wrapper {
  background: var(--vmax-dark) !important;
  color: rgba(255, 255, 255, 0.6);
}

#footer .footer-widgets,
.footer-wrapper .footer-widgets {
  padding-top: 72px;
  padding-bottom: 40px;
}

#footer .vmax-footer-heading,
#footer .widget-title,
#footer .footer-title,
.footer-wrapper .widget-title,
.vmax-footer-heading {
  font-weight: 700;
  color: var(--vmax-white) !important;
  margin: 0 0 16px;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
}

#footer a,
.footer-wrapper a,
#footer .ux-menu-link__link {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.875rem;
  transition: color var(--transition);
}

#footer a:hover,
.footer-wrapper a:hover,
#footer .ux-menu-link__link:hover {
  color: var(--vmax-red) !important;
}

#footer .vmax-footer-brand p,
#footer .textwidget p,
#footer .widget p,
.footer-wrapper .textwidget p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
}

#footer .ux-menu {
  gap: 10px;
}

#footer .ux-menu-link {
  margin: 0;
}

#footer ul,
.footer-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer ul li,
.footer-wrapper ul li {
  margin-bottom: 10px;
}

/* Absolute / copyright — căn giữa như mẫu HTML */
.absolute-footer,
#footer .absolute-footer,
.footer-wrapper .absolute-footer {
  display: block !important;
  background: var(--vmax-dark) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center !important;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.absolute-footer .container,
.absolute-footer .flex-row,
.absolute-footer .flex-col,
#footer .absolute-footer .container,
#footer .absolute-footer .flex-row {
  display: block !important;
  width: 100%;
  text-align: center !important;
  justify-content: center !important;
}

.absolute-footer a,
.absolute-footer .copyright-footer {
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.absolute-footer .footer-secondary,
.absolute-footer .menu {
  display: none;
}

/* ---------- Blog / Cẩm nang ---------- */
body.archive.category,
body.blog,
body.single-post,
body.search {
  background: #f3f5f8;
}

.vmax-blog-hero {
  position: relative;
  overflow: hidden;
  background: var(--vmax-navy-deep);
  padding: 100px 24px 84px;
  text-align: center;
  margin: 0 0 8px;
}

.vmax-blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.vmax-blog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.vmax-blog-hero .vmax-label {
  color: rgba(255, 255, 255, 0.7);
}

.vmax-blog-hero .vmax-section-title {
  color: var(--vmax-white);
  margin-bottom: 14px;
}

.vmax-blog-hero .vmax-section-subtitle,
.vmax-blog-hero .taxonomy-description {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.vmax-blog-hero .taxonomy-description p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.vmax-blog-wrap {
  padding: 40px 0 96px;
}

.vmax-blog-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.vmax-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--vmax-white);
  border: 1px solid rgba(11, 29, 58, 0.07);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(11, 29, 58, 0.06);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.vmax-blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
}

.vmax-blog-card:hover {
  border-color: rgba(200, 16, 46, 0.22);
  box-shadow: 0 16px 40px rgba(11, 29, 58, 0.12);
  transform: translateY(-3px);
}

.vmax-blog-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--vmax-navy-deep);
  overflow: hidden;
}

.vmax-blog-card--featured .vmax-blog-card__media {
  aspect-ratio: auto;
  min-height: 100%;
}

.vmax-blog-card__img,
.vmax-blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.vmax-blog-card:hover .vmax-blog-card__img {
  transform: scale(1.05);
}

.vmax-blog-card__placeholder {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(200, 16, 46, 0.35) 0%, transparent 55%),
    var(--vmax-navy);
}

.vmax-blog-card__num {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(6, 15, 30, 0.72);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 999px;
}

.vmax-blog-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 24px 24px 28px;
  gap: 10px;
}

.vmax-blog-card--featured .vmax-blog-card__body {
  padding: 40px 40px 44px;
}

.vmax-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.vmax-blog-card__cat {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vmax-red);
  background: rgba(200, 16, 46, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.2;
}

.vmax-blog-card__date {
  font-size: 0.85rem;
  color: var(--vmax-text-muted);
  font-weight: 500;
}

.vmax-blog-card__title {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.vmax-blog-card--featured .vmax-blog-card__title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.vmax-blog-card__title a {
  color: var(--vmax-navy);
  text-decoration: none;
}

.vmax-blog-card__title a:hover {
  color: var(--vmax-red);
}

.vmax-blog-card__excerpt {
  margin: 0;
  color: var(--vmax-text-light);
  font-size: 16px !important;
  line-height: 1.65;
}

.vmax-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  align-self: flex-start;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--vmax-red);
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  transition: background-color var(--transition), transform var(--transition);
}

.vmax-blog-card__more:hover {
  color: #fff;
  background: var(--vmax-red-hover);
  transform: translateY(-1px);
}

.vmax-blog-pagination {
  margin-top: 48px;
  text-align: center;
}

.vmax-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 0 4px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--vmax-navy);
  background: #fff;
  border: 1px solid rgba(11, 29, 58, 0.08);
  text-decoration: none;
}

.vmax-blog-pagination .page-numbers.current,
.vmax-blog-pagination a.page-numbers:hover {
  background: var(--vmax-red);
  border-color: var(--vmax-red);
  color: var(--vmax-white);
}

/* Single post */
.vmax-blog-back {
  padding: 28px 0 0;
}

.vmax-blog-back .breadcrumbs-link a {
  font-weight: 600;
  color: var(--vmax-text-light);
  text-decoration: none;
}

.vmax-blog-back .breadcrumbs-link a:hover {
  color: var(--vmax-red);
}

.vmax-blog-single {
  padding: 12px 0 88px;
}

.vmax-blog-single .large-10.col {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 44px 48px;
  border: 1px solid rgba(11, 29, 58, 0.06);
  box-shadow: 0 10px 32px rgba(11, 29, 58, 0.05);
}

.vmax-blog-single .entry-header .entry-title,
.vmax-blog-single article .entry-title {
  font-family: var(--font-primary);
  font-weight: 800;
  color: var(--vmax-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.vmax-blog-single .entry-header .entry-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 20px;
}

.vmax-blog-single .entry-meta,
.vmax-blog-single .entry-category a {
  color: var(--vmax-text-muted);
}

.vmax-blog-content {
  font-size: 16px !important;
  line-height: 1.8;
  color: var(--vmax-text);
}

.vmax-blog-content h2,
.vmax-blog-content h3 {
  color: var(--vmax-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 1.75em;
}

.vmax-blog-content ul,
.vmax-blog-content ol {
  padding-left: 1.25em;
}

.vmax-blog-content li {
  margin-bottom: 0.45em;
}

.vmax-blog-meta {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 29, 58, 0.1);
}

.vmax-blog-meta .title {
  font-weight: 700;
  color: var(--vmax-navy);
  margin-right: 6px;
}

.vmax-blog-meta a {
  color: var(--vmax-red);
  text-decoration: none;
}

.vmax-related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(11, 29, 58, 0.1);
}

.vmax-related__title {
  margin: 0 0 28px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--vmax-navy);
}

.vmax-related__list,
ul.list-bai-viet.vmax-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.vmax-related__item {
  margin: 0;
}

.vmax-related__link {
  display: block;
  height: 100%;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(11, 29, 58, 0.08);
  background: var(--vmax-white);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.vmax-related__link:hover {
  border-color: rgba(200, 16, 46, 0.25);
  box-shadow: var(--shadow-sm);
}

.vmax-related__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--vmax-navy-deep);
}

.vmax-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vmax-related__name,
.vmax-related .tieu-de-bai-viet {
  display: block;
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--vmax-navy);
}

.vmax-related__link:hover .vmax-related__name {
  color: var(--vmax-red);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .header-main .header-button,
  .header-main .nav-button-container {
    display: none;
  }

  #header .header-bg-color,
  .header-bg-color,
  .header-wrapper .header-bg-color {
    background-color: rgba(6, 15, 30, 0.97) !important;
  }

  .section.vmax-stats .row.vmax-stats-grid > .col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .section.vmax-products .nav-pills {
    border-radius: var(--radius-lg);
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .section.vmax-superpowers,
  .section.vmax-stats,
  .section.vmax-products,
  .section.vmax-partner,
  .section.vmax-support,
  .section.vmax-testimonials,
  .section.vmax-contact {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .vmax-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }

  .section.vmax-products .nav-pills > li {
    flex: 1 1 calc(50% - 8px);
  }

  .section.vmax-products .nav-pills > li > a {
    text-align: center;
    padding: 10px 12px !important;
    font-size: 0.85rem;
    width: 100%;
  }

  .section.vmax-contact .col.vmax-form-wrap,
  .section.vmax-contact .vmax-form-wrap {
    padding: 24px !important;
  }

  .vmax-blog-hero {
    padding: 80px 20px 64px;
  }

  .vmax-blog-archive {
    grid-template-columns: 1fr;
  }

  .vmax-blog-card--featured {
    grid-template-columns: 1fr;
  }

  .vmax-blog-card--featured .vmax-blog-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .vmax-blog-card--featured .vmax-blog-card__body {
    padding: 24px 22px 28px;
  }

  .vmax-blog-single .large-10.col {
    padding: 28px 20px 36px;
    border-radius: var(--radius-lg);
  }

  .vmax-related__list,
  ul.list-bai-viet.vmax-related__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section.vmax-stats .row.vmax-stats-grid > .col {
    flex-basis: 100%;
    max-width: 100%;
  }
}
