/**
 * N3tech Theme - Main Stylesheet
 * Responsive, Lightweight & Modern
 */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;
  --heading-color: #132849;
  --accent: #f59e0b;
  --bg-light: #f5f5f5;
  --text-main: #334155;
  --text-dark: #0f172a;
  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: #f5f5f5;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
}

#page,
.site,
.site-main {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.arova-homepage-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}

input, button, select, textarea {
  font-family: var(--font-family);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--heading-color);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1410px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.container.px-4,
.container.px-5,
.container.px-6,
.container.px-8 {
  padding-left: 15px;
  padding-right: 15px;
}

/* Utility Flex & Grid */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:p-10 { padding: 2.5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-8\/12 { width: 66.666667%; }
  .lg\:w-4\/12 { width: 33.333333%; }
}

.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-12 { padding-top: 3rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Colors & Backgrounds */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f8fafc; }
.bg-gray-100 { background-color: #f1f5f9; }
.bg-gray-800 { background-color: #1e293b; }
.bg-gray-900 { background-color: #0f172a; }
.bg-primary { background-color: var(--primary); }
.text-white { color: #ffffff; }
.text-primary { color: var(--primary); }
.hover\:text-primary:hover,
a.hover\:text-primary:hover {
  color: var(--primary);
}
.hover\:text-primary:hover i,
a.hover\:text-primary:hover i {
  color: var(--primary);
}
.text-gray-300 { color: #cbd5e1; }
.text-gray-400 { color: #94a3b8; }
.text-gray-500 { color: #64748b; }
.text-gray-600 { color: #475569; }
.text-gray-700 { color: #334155; }
.text-gray-800 { color: #1e293b; }
.text-gray-900 { color: #0f172a; }

/* Borders & Shadows */
.border { border: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }
.border-t { border-top: 1px solid var(--border-color); }
.border-gray-100 { border-color: #f1f5f9; }
.border-gray-200 { border-color: #e2e8f0; }
.border-gray-800 { border-color: #1e293b; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-md); }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-7xl { font-size: 4.5rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-center { text-align: center; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Header & Nav */
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

.n3tech-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.n3tech-nav-list > li {
  position: relative;
}

.n3tech-nav-list a {
  display: block;
  padding: 0.5rem 0.25rem;
  color: var(--text-dark);
}

.n3tech-nav-list a:hover {
  color: var(--primary);
}

/* Submenu dropdown */
.n3tech-nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  list-style: none;
  display: none;
  z-index: 40;
}

.n3tech-nav-list li:hover > .sub-menu {
  display: block;
}

.n3tech-nav-list .sub-menu a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.n3tech-nav-list .sub-menu a:hover {
  background-color: var(--bg-light);
}

/* Button Component */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

/* Search Form */
.search-form {
  display: flex;
  align-items: stretch;
  max-width: 100%;
}

.search-form input[type="search"] {
  flex-grow: 1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  font-size: 0.875rem;
}

.search-form input[type="search"]:focus {
  border-color: var(--primary);
}

.search-form button,
.search-form input[type="submit"] {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 0.875rem;
}

/* Pagination */
.pagination, .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.page-numbers.current {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.page-numbers:hover:not(.current) {
  border-color: var(--primary);
  color: var(--primary);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Content prose typography */
.prose p {
  margin-bottom: 1.25rem;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  font-style: italic;
  color: var(--text-dark);
  margin: 1.5rem 0;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ========================================================
   KNOWLEDGE PORTAL / ARCHIVE STYLES
   ======================================================== */
.archive-hero {
  position: relative;
  background-color: #172d4e;
  background-image: linear-gradient(180deg, rgba(19, 40, 73, 0.82) 0%, rgba(25, 48, 85, 0.88) 100%), url('../images/archive-hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 1rem;
}

.archive-subnav {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
  position: relative;
  z-index: 10;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.archive-subnav::-webkit-scrollbar {
  display: none;
}

.archive-subnav-list {
  display: flex;
  align-items: center;
  justify-content: safe center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  min-width: 100%;
}

.archive-subnav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  border-right: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.archive-subnav-list li:first-child {
  border-left: 1px solid #e2e8f0;
}

.archive-subnav-list a {
  font-size: 22px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 10px 24px;
  display: inline-block;
  white-space: nowrap;
}

.archive-subnav-list a:hover,
.archive-subnav-list a.active {
  color: var(--secondary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .archive-subnav .container {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
    width: 100%;
  }

  .archive-subnav-list {
    justify-content: flex-start;
    padding: 0;
  }

  .archive-subnav-list li:first-child {
    border-left: none;
  }

  .archive-subnav-list a {
    padding: 10px 18px;
    font-size: 22px;
  }
}


.btn-all-posts {
  background-color: #172a45;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.btn-all-posts:hover {
  background-color: #0f172a;
}

/* Section 1: Latest News Grid (1 big + 3 small) */
.latest-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .latest-news-grid {
    grid-template-columns: 1fr;
  }
}

.featured-big-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.featured-big-card .card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.featured-big-card .card-body {
  padding: 1rem;
}

.latest-list-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.latest-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.latest-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-list-thumb {
  width: 120px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}

/* Section 2: Video Tutorials (2x2 Grid) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  display: block;
  text-decoration: none;
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumb-wrap img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background-color: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background-color: #b91c1c;
}

/* Section 3: Experience 6-card Grid (3x2) */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

.experience-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.experience-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.experience-card .exp-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.experience-card .exp-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Sidebar Custom Styling */
.widget-consultation {
  background-color: #b91c1c;
  color: #ffffff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.2);
}

.widget-consultation h3 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 1rem 0;
  letter-spacing: 0.5px;
}

.widget-consultation input,
.widget-consultation textarea {
  width: 100%;
  background-color: #ffffff;
  color: #1e293b;
  border: 1px solid #ef4444;
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 12px;
  box-sizing: border-box;
}

.widget-consultation input:focus,
.widget-consultation textarea:focus {
  outline: 2px solid #ffffff;
}

.widget-consultation .btn-consult-submit {
  width: 100%;
  background-color: #991b1b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.widget-consultation .btn-consult-submit:hover {
  background-color: #7f1d1d;
}

.widget-categories,
.widget-tags {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.widget-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-categories li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 12px;
}

.widget-categories li:last-child {
  border-bottom: none;
}

.widget-categories li a {
  color: #334155;
  text-decoration: none;
}

.widget-categories li a:hover {
  color: #dc2626;
}

.tag-badge {
  background-color: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  margin: 0 4px 6px 0;
  transition: background-color 0.2s ease;
}

.tag-badge:hover {
  background-color: #dc2626;
}

/* Utilities */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-16-10 { aspect-ratio: 16 / 10; }
.object-cover { object-fit: cover; }

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================================
   PORTAL KIẾN THỨC & HOẠT ĐỘNG (PIXEL-PERFECT PURE CSS)
   ======================================================== */

/* Global container helper */
.portal-main-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}
@media (min-width: 1024px) {
  .portal-main-row {
    flex-direction: row;
    gap: 2rem;
  }
}

.portal-main-col {
  width: 100%;
  flex: 1 1 0%;
  min-width: 0;
}
@media (min-width: 1024px) {
  .portal-main-col {
    flex: 1 1 0%;
    min-width: 0;
    width: calc(100% - 310px - 2rem);
  }
}

.portal-sidebar-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .portal-sidebar-col {
    width: 310px;
    min-width: 310px;
    max-width: 310px;
    flex: 0 0 310px;
    position: -webkit-sticky;
    position: sticky;
    top: 95px;
    align-self: flex-start;
    max-height: none !important;
    overflow: visible !important;
    scrollbar-width: none !important;
  }
  .portal-sidebar-col::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .portal-sidebar-col > * {
    max-width: 310px;
  }
  body.admin-bar .portal-sidebar-col {
    top: 130px;
  }
}

.portal-sidebar-col > * {
  width: 100%;
  box-sizing: border-box;
}

/* Portal Sections Spacing */
.portal-section {
  margin-top: 0;
  margin-bottom: 60px;
}

.portal-section:last-child {
  margin-bottom: 0;
}

/* Section Header & Red Underline */
.portal-section-header {
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.portal-section-header .btn-all-posts {
  margin-bottom: 20px;
}

.section-heading-red {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--heading-color);
  padding-bottom: 20px;
  margin: 0;
  margin-bottom: -1px;
  display: inline-block;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.section-heading-red::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2.5px;
  background-color: #b91c1c;
  border-radius: 2px;
  z-index: 2;
}

.btn-all-posts {
  display: inline-block;
  background-color: #132849;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  line-height: 1.5;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-all-posts:hover {
  background-color: #b91c1c;
  color: #ffffff;
}

/* Responsive Section Headings & Card Titles for Mobile */
@media (max-width: 768px) {
  .portal-section {
    margin-bottom: 40px;
  }

  .portal-section-header {
    margin-bottom: 1rem;
    gap: 10px;
  }

  .portal-section-header .btn-all-posts {
    margin-bottom: 12px;
    font-size: 11px;
    padding: 4px 10px;
  }

  .section-heading-red {
    font-size: 17px;
    padding-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.2px;
  }

  .section-heading-red::after {
    width: 36px;
    height: 2px;
  }

  .exp-card-title {
    font-size: 15px;
    min-height: auto;
    margin-bottom: 6px;
  }

  .promo-big-card .card-title {
    font-size: 16px;
  }

  .promo-list-title {
    font-size: 14.5px;
  }

  .featured-big-card .card-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .section-heading-red {
    font-size: 15px;
    padding-bottom: 10px;
  }

  .portal-section-header .btn-all-posts {
    margin-bottom: 10px;
    font-size: 10px;
    padding: 3px 8px;
  }

  .exp-card-title {
    font-size: 14px;
  }

  .promo-list-title {
    font-size: 13.5px;
  }
}

/* Common Meta Icon fix - FontAwesome & SVG support */
.meta-icon,
i.meta-icon,
svg.meta-icon {
  font-size: 12px;
  width: 14px;
  height: 14px;
  line-height: 1;
  min-width: 14px;
  min-height: 14px;
  max-width: 14px;
  max-height: 14px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: #94a3b8;
}

/* Section 1: Latest News 2-Column Grid */
.portal-latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .portal-latest-grid {
    grid-template-columns: 1fr;
  }
}

.featured-big-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.card-thumb-link {
  display: block;
  overflow: hidden;
}

.featured-big-card .card-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.featured-big-card:hover .card-thumb {
  transform: scale(1.04);
}

.featured-big-card .card-body {
  padding: 16px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-big-card .card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.featured-big-card .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.featured-big-card .card-title a:hover {
  color: #b91c1c;
}

.featured-big-card .card-excerpt {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #8c9ab0;
  padding: 0;
  border: none;
  margin-top: auto;
}

.card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #94a3b8;
  font-weight: 400;
}

/* Latest 3 Stacked List Items */
.latest-list-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: space-between;
}

.latest-list-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  padding: 10px 12px;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  flex: 1;
}

.latest-list-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.latest-list-thumb-wrap {
  width: 140px;
  height: 95px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.latest-list-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.latest-list-item:hover .latest-list-thumb {
  transform: scale(1.05);
}

.latest-list-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 95px;
  padding: 2px 0;
}

.latest-list-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-list-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.latest-list-title a:hover {
  color: #b91c1c;
}

.latest-list-bottom {
  margin-top: auto;
  width: 100%;
}

.red-separator-dash {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #e2e8f0;
  margin: 8px 0 6px 0;
  border-radius: 1px;
}

.red-separator-dash::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 32px;
  height: 2.5px;
  background-color: #b91c1c;
  border-radius: 2px;
}

.latest-list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.latest-list-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Sidebar Search */
.portal-search-wrap {
  background: transparent;
  width: 100%;
}

.portal-search-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.portal-search-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 13.5px;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: #ffffff;
  color: #334155;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.portal-search-input::-webkit-search-cancel-button,
.portal-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  display: none;
}

.portal-search-input::placeholder {
  color: #94a3b8;
}

.portal-search-input:focus {
  border-color: #c3252b;
}

.portal-search-btn {
  background: #132849;
  color: #ffffff;
  border: none;
  padding: 0 18px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.portal-search-btn:hover {
  background: #c3252b;
}

/* Search Results & Empty State UI */
.search-results-info {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.search-empty-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 48px 32px 36px 32px;
  text-align: center;
  position: relative;
}

.search-empty-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #fef2f2;
  color: #c3252b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 0 0 8px #fff5f5;
  transition: transform 0.25s ease;
}

.search-empty-container:hover .search-empty-icon-circle {
  transform: scale(1.08);
}

.search-empty-title {
  font-size: 22px;
  font-weight: 800;
  color: #132849;
  margin-bottom: 12px;
  line-height: 1.35;
}

.search-highlight-keyword {
  color: #c3252b;
}

.search-empty-desc {
  font-size: 14.5px;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.search-empty-form-box {
  max-width: 520px;
  margin: 0 auto 26px auto;
}

.search-empty-input-group {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  padding: 5px 6px 5px 18px;
  transition: all 0.2s ease;
}

.search-empty-input-group:focus-within {
  background: #ffffff;
  border-color: #c3252b;
  box-shadow: 0 0 0 4px rgba(195, 37, 43, 0.08);
}

.search-empty-input-icon {
  color: #94a3b8;
  font-size: 14px;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-empty-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #1e293b;
  padding: 6px 0;
}

.search-empty-input::-webkit-search-cancel-button,
.search-empty-input::-webkit-search-decoration {
  -webkit-appearance: none;
  display: none;
}

.search-empty-btn {
  background: #c3252b;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 9px 24px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.search-empty-btn:hover {
  background: #ab1d23;
  transform: translateY(-1px);
}

.search-popular-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px dashed #e2e8f0;
}

.search-popular-tags .tags-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin-right: 4px;
  display: flex;
  align-items: center;
}

.search-popular-tags .tags-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-popular-tags .tag-chip {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: #132849;
  background: #f1f5f9;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid #e2e8f0;
}

.search-popular-tags .tag-chip:hover {
  background: #c3252b;
  color: #ffffff;
  border-color: #c3252b;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .search-empty-container {
    padding: 32px 18px 26px 18px;
  }
  .search-empty-title {
    font-size: 18px;
  }
  .search-empty-desc {
    font-size: 13.5px;
  }
  .search-empty-input-group {
    padding: 4px 5px 4px 14px;
  }
  .search-empty-btn {
    padding: 8px 16px;
    font-size: 12.5px;
  }
}

/* Red Consultation Card */
.consultation-card-red {
  background-color: #b91c1c;
  border-radius: 8px;
  padding: 18px 14px 14px 14px;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.2);
  color: #ffffff;
  box-sizing: border-box;
}

.consultation-card-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 14px 0;
  line-height: 1.3;
}

.consultation-card-red .wpcf7 {
  margin: 0;
  padding: 0;
}

.consultation-card-red .wpcf7-form {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.consultation-form,
.consultation-form-cf7 {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
}

.consultation-card-red .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.consultation-input,
.consultation-textarea,
.consultation-card-red input[type="text"],
.consultation-card-red input[type="tel"],
.consultation-card-red textarea {
  width: 100%;
  background-color: #ffffff;
  color: #1e293b;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.consultation-input::placeholder,
.consultation-textarea::placeholder,
.consultation-card-red input::placeholder,
.consultation-card-red textarea::placeholder {
  color: #6b7280;
  font-size: 15px;
  opacity: 1;
}

.consultation-input:focus,
.consultation-textarea:focus,
.consultation-card-red input:focus,
.consultation-card-red textarea:focus {
  border-color: #b91c1c;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.15);
}

.consultation-textarea,
.consultation-card-red textarea {
  height: 92px;
  resize: none;
  line-height: 1.45;
}

.consultation-btn-submit,
.consultation-card-red input[type="submit"] {
  width: 100%;
  background-color: #b91c1c;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 4px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.consultation-btn-submit:hover,
.consultation-card-red input[type="submit"]:hover {
  background-color: #991b1b;
}

.consultation-card-red .wpcf7-spinner {
  display: none !important;
}

.consultation-card-red .wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.consultation-card-red .wpcf7-response-output {
  margin: 10px 0 0 0;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.45;
  border-radius: 6px;
  text-align: center;
  color: #dc2626;
  border: 1px solid #fecaca;
  background: #fef2f2;
}

.consultation-card-red form[data-status="sent"] .wpcf7-response-output,
.consultation-card-red .wpcf7-mail-sent-ok {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.consultation-card-red form[data-status="invalid"] .wpcf7-response-output,
.consultation-card-red form[data-status="failed"] .wpcf7-response-output,
.consultation-card-red .wpcf7-validation-errors {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

/* Portal Sidebar Widget Box (Categories & Tags) */
.portal-widget-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px 16px 18px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.portal-widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
  padding-bottom: 8px;
  position: relative;
  border-bottom: 1px solid #e5e7eb;
}

.portal-widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 50px;
  height: 2.5px;
  background-color: #b91c1c;
}

.portal-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.portal-category-item {
  display: block;
  font-size: 15px;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.4;
}

.portal-category-item a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.portal-category-item a:hover {
  color: #b91c1c;
}

.portal-category-item .cat-count {
  color: #1e293b;
  font-weight: 500;
}

/* Portal Sidebar Widget Box - Hot Keywords Widget (White Container, Navy Buttons, White Text) */
.portal-widget-box.portal-widget-hot-tags,
.portal-widget-hot-tags {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px;
  padding: 22px 16px 24px 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.portal-widget-hot-tags .portal-widget-title,
.portal-widget-hot-tags .subcat-widget-title {
  color: #132849;
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

.portal-widget-hot-tags .portal-widget-title::after,
.portal-widget-hot-tags .subcat-widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2.5px;
  background-color: var(--secondary, #c3252b);
}

.portal-hot-tags-flex,
.portal-tags-flex {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 6px !important;
  align-items: center;
}

.portal-hot-tag-pill,
.portal-tag-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background-color: #132849 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 6px 11px !important;
  border-radius: 6px !important;
  border: 1px solid #132849 !important;
  box-shadow: 0 1px 3px rgba(19, 40, 73, 0.12);
  text-decoration: none;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-hot-tag-pill:hover,
.portal-tag-badge:hover {
  background-color: var(--secondary, #c3252b) !important;
  color: #ffffff !important;
  border-color: var(--secondary, #c3252b) !important;
  box-shadow: 0 4px 10px rgba(195, 37, 43, 0.3);
  transform: translateY(-1.5px);
}

/* Sub-category Archive Page Layout & Sidebar Widgets */
.subcat-breadcrumb-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.subcat-breadcrumb ol,
.n3tech-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subcat-breadcrumb li,
.n3tech-breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
}

.subcat-breadcrumb a,
.n3tech-breadcrumb a,
.breadcrumb-link {
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease-in-out;
}

.subcat-breadcrumb a:hover,
.n3tech-breadcrumb a:hover,
.breadcrumb-link:hover {
  color: var(--primary-hover, #1d4ed8);
}

.subcat-breadcrumb a:hover .breadcrumb-home-icon,
.subcat-breadcrumb a:hover i,
.n3tech-breadcrumb a:hover .breadcrumb-home-icon,
.n3tech-breadcrumb a:hover i,
.breadcrumb-link:hover .breadcrumb-home-icon,
.breadcrumb-link:hover i {
  color: var(--primary-hover, #1d4ed8);
  background-color: var(--primary-hover, #1d4ed8);
}

/* Breadcrumb Light House Icon */
.breadcrumb-home-icon,
.fa-light.fa-house,
.fa-regular.fa-house {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: -1px;
  transition: background-color 0.15s ease-in-out;
}

/* Breadcrumb Separator */
.breadcrumb-separator {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.breadcrumb-separator i {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1;
}

.breadcrumb-current {
  color: #334155;
  font-weight: 500;
}

.subcat-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .subcat-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .subcat-posts-grid {
    grid-template-columns: 1fr;
  }
}

.portal-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-recent-item {
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.portal-recent-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.portal-recent-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.4;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-recent-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.portal-recent-title a:hover {
  color: #b91c1c;
}

.portal-recent-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.3;
}

.portal-recent-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9ca3af;
  font-weight: 400;
}

.portal-recent-meta .meta-icon,
.portal-recent-meta i.meta-icon {
  font-size: 11px;
  width: 12px;
  height: 12px;
  color: #a0aec0;
  opacity: 0.9;
}

.subcat-pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

.subcat-pagination-wrap .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.subcat-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.subcat-pagination-wrap .page-numbers:hover:not(.current):not(.dots) {
  border-color: var(--primary);
  color: var(--primary);
  background-color: #f8fafc;
}

.subcat-pagination-wrap .page-numbers.current {
  background-color: #132849;
  border-color: #132849;
  color: #ffffff;
  cursor: default;
}

.subcat-pagination-wrap .page-numbers.dots {
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: default;
}

.subcat-pagination-wrap .page-numbers.prev,
.subcat-pagination-wrap .page-numbers.next {
  font-weight: 500;
  gap: 5px;
}

/* Section 2: Video Grid (2x2) */
.portal-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .portal-video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.video-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0f172a;
  overflow: hidden;
}

.video-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.video-card-item:hover .video-card-thumb-wrap img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: #b91c1c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease, background-color 0.2s ease;
  pointer-events: none;
}

.video-play-btn i,
.video-play-btn svg {
  font-size: 15px;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  fill: #ffffff;
  color: #ffffff;
  margin-left: 2px;
}

.video-card-item:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background-color: #991b1b;
}

.video-card-body {
  padding: 14px 16px 16px 16px;
}

.video-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.video-card-title a:hover {
  color: #b91c1c;
}

/* Section 3: Experience Grid (2-Column Grid) */
.portal-exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .portal-exp-grid {
    grid-template-columns: 1fr;
  }
}

.exp-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exp-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.exp-card-item .card-thumb-link {
  display: block;
  overflow: hidden;
}

.exp-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.exp-card-item:hover .exp-card-thumb {
  transform: scale(1.04);
}

.exp-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.exp-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.4;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}

.exp-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.exp-card-title a:hover {
  color: #b91c1c;
}

.exp-card-excerpt {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.exp-card-body .red-separator-dash {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #e2e8f0;
  margin: 0 0 10px 0;
  border-radius: 1px;
}

.exp-card-body .red-separator-dash::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 32px;
  height: 2.5px;
  background-color: #b91c1c;
  border-radius: 2px;
}

.exp-card-body .card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
  padding: 0;
  border: none;
  background: transparent;
  margin-top: auto;
}

.exp-card-body .card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-weight: 400;
}

.exp-card-body .card-meta .meta-icon {
  font-size: 12px;
  color: #8c9ab0;
}

/* Middle Advertising Banner */
.portal-banner-wrap {
  width: 100%;
  margin: 48px 0;
}

.portal-banner-wrap a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-banner-wrap a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.portal-banner-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Hero Title */
.archive-hero-title,
.archive-hero h1 {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}
@media (min-width: 768px) {
  .archive-hero-title {
    font-size: 36px;
  }
}

/* Hoạt Động Portal Specific Layouts */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
}

.promo-big-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.promo-big-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.promo-big-thumb-wrap {
  width: 100%;
  height: 330px;
  overflow: hidden;
  display: block;
}

.promo-big-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.promo-big-card:hover .promo-big-thumb {
  transform: scale(1.03);
}

.promo-big-card .card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.promo-big-card .card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.promo-big-card .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.promo-big-card .card-title a:hover {
  color: #b91c1c;
}

.promo-big-card .card-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-list-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: space-between;
}

.promo-list-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  flex: 1;
}

.promo-list-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.promo-list-thumb-wrap {
  width: 180px;
  min-width: 180px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
}

.promo-list-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.promo-list-item:hover .promo-list-thumb {
  transform: scale(1.05);
}

.promo-list-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 18px 14px 18px;
}

.promo-list-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.35;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-list-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.promo-list-title a:hover {
  color: #b91c1c;
}

.promo-list-excerpt {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .promo-list-thumb-wrap {
    width: 120px;
    min-width: 120px;
  }
  .promo-list-content {
    padding: 10px 12px;
  }
  .promo-list-title {
    font-size: 13px;
  }
  .promo-list-excerpt {
    display: none;
  }
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}

.internal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 1200px) {
  .internal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .internal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Single Post Layout & Components (Mockup Image 1 & 2)
   ========================================================================== */

.single-main-wrap {
  background-color: #f8fafc;
}

.single-layout-row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1220px) {
  .single-layout-row {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .single-layout-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.single-toc-col {
  display: none !important;
}

/* 1. Left Table of Contents (TOC) Column */
.single-toc-col {
  position: -webkit-sticky;
  position: sticky;
  top: 95px;
  z-index: 10;
  align-self: flex-start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.single-toc-col::-webkit-scrollbar {
  width: 4px;
}
.single-toc-col::-webkit-scrollbar-track {
  background: transparent;
}
.single-toc-col::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}
body.admin-bar .single-toc-col {
  top: 130px;
  max-height: calc(100vh - 145px);
}

.single-toc-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.single-toc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

.box-red-line {
  width: 38px;
  height: 3px;
  background-color: #b91c1c;
  margin-top: 6px;
  margin-bottom: 16px;
  border-radius: 2px;
}

.single-toc-nav .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-toc-nav .toc-item {
  margin: 0;
  padding: 0;
}

.single-toc-nav .toc-level-3 {
  padding-left: 12px;
}

.single-toc-nav .toc-link {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 15px;
  line-height: 1.5;
  color: #64748b;
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.15s ease-in-out;
}

.single-toc-nav .toc-link:hover {
  color: var(--primary-hover, #1d4ed8);
}

.single-toc-nav .toc-link.active {
  color: var(--primary, #2563eb);
  font-weight: 700;
}

.single-toc-nav .toc-num {
  flex-shrink: 0;
  font-weight: 600;
}

.single-toc-nav .toc-text {
  flex-grow: 1;
  word-break: break-word;
}

/* 2. Center Column: Main Article Card */
.single-content-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.single-post-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

@media (max-width: 640px) {
  .single-post-card {
    padding: 20px 16px;
  }
}

.single-post-title {
  font-size: 32px;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--heading-color);
  line-height: 1.35;
  margin: 0 0 12px 0;
  letter-spacing: -0.2px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 16px;
  color: #9ca3af;
  font-weight: 400;
}

.single-red-dash {
  width: 45px;
  height: 3px;
  background-color: #b91c1c;
  margin: 16px 0 22px 0;
  border-radius: 2px;
}

/* Single Post Content Typography */
.single-post-content {
  font-size: 18px;
  line-height: 1.75;
  color: #334155;
}

.single-post-content p {
  margin-bottom: 16px;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 18px 0;
  display: block;
}

.single-post-content figure {
  margin: 18px 0;
  text-align: center;
}

.single-post-content figure img {
  margin-left: auto;
  margin-right: auto;
}

.single-post-content figcaption {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
  font-style: italic;
}

.single-post-content h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.4;
  scroll-margin-top: 90px;
}

.single-post-content h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--heading-color);
  margin-top: 22px;
  margin-bottom: 10px;
  line-height: 1.4;
  scroll-margin-top: 90px;
}

.single-post-content ul {
  list-style: disc outside;
  padding-left: 20px;
  margin: 12px 0 18px 0;
}

.single-post-content ul li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.single-post-content ol {
  list-style: decimal outside;
  padding-left: 20px;
  margin: 12px 0 18px 0;
}

.single-post-content ol li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.single-post-content strong {
  font-weight: 700;
  color: #1e293b;
}

.single-post-content blockquote {
  border-left: 4px solid #b91c1c;
  padding-left: 16px;
  margin: 18px 0;
  color: #475569;
  font-style: italic;
}

.single-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13.5px;
}

.single-post-content table th,
.single-post-content table td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
}

.single-post-content table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #1e293b;
}

/* Post Tags (Image 2) */
.single-post-tags {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.tags-label {
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1.4;
  padding: 4px 0;
  font-weight: 700;
  color: #1e293b;
  margin-right: 4px;
}

.tags-list {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.single-tag-badge {
  background-color: #132849;
  color: #ffffff;
  font-size: 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  display: inline-block;
  line-height: 1.4;
}

.single-tag-badge:hover {
  background-color: var(--primary-hover, #1d4ed8);
  color: #ffffff;
}

/* Box 1: CHIA SẺ BÀI VIẾT (Image 2) */
.single-share-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 22px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.single-box-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

.share-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-share-btn {
  width: 36px;
  height: 36px;
  background-color: #132849;
  color: #ffffff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.single-share-btn:hover {
  background-color: var(--primary-hover, #1d4ed8);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Box 2: THAM GIA THẢO LUẬN */
.single-comment-box .single-box-title {
  font-size: 18px;
}

.single-comment-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

@media (max-width: 640px) {
  .single-comment-box,
  .single-share-box {
    padding: 20px 16px;
  }
}

/* Comments List Area */
.comments-list-wrap {
  margin-bottom: 28px;
}

.comments-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.comments-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.comments-count-badge i {
  color: #b91c1c;
  font-size: 16px;
}

/* Reset default list styles - eliminate numbered markers completely */
.comment-list,
ol.comment-list,
ul.comment-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-list > li,
.comment-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Comment Item Card */
.comment-item {
  position: relative;
}

.comment-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 16px 18px;
  transition: all 0.2s ease;
}

.comment-body:hover {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.comment-avatar {
  flex-shrink: 0;
}

.comment-avatar-img,
.comment-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: block;
}

.comment-main {
  flex-grow: 1;
  min-width: 0;
}

.comment-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.comment-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.comment-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  line-height: 1.3;
}

.comment-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.comment-author-badge i {
  font-size: 10px;
}

.comment-date {
  font-size: 14px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.comment-awaiting-moderation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fefce8;
  border: 1px solid #fef08a;
  color: #a16207;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  margin: 6px 0;
}

.comment-text-content {
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
  margin-top: 4px;
  word-break: break-word;
}

.comment-text-content p {
  margin: 0 0 6px 0;
}
.comment-text-content p:last-child {
  margin-bottom: 0;
}

.comment-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-reply-link,
a.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.comment-reply-link:hover,
a.comment-reply-link:hover {
  color: #ffffff;
  background-color: var(--primary-hover, #1d4ed8);
  border-color: var(--primary-hover, #1d4ed8);
}

/* Nested replies */
.comment-list .children {
  list-style: none !important;
  padding-left: 28px !important;
  margin: 14px 0 0 0 !important;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 640px) {
  .comment-body {
    padding: 12px 14px;
    gap: 12px;
  }
  .comment-avatar-img,
  .comment-avatar img {
    width: 36px;
    height: 36px;
  }
  .comment-list .children {
    padding-left: 14px !important;
  }
}

/* Comment Form Wrap */
.comment-form-wrap {
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
}

.comment-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cancel-comment-reply a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
  background-color: #fee2e2;
  padding: 3px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cancel-comment-reply a:hover {
  background-color: #fecaca;
  color: #b91c1c;
}

.comment-form-title i {
  color: #b91c1c;
  font-size: 15px;
}

.comment-notes {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.5;
}

.comment-logged-in-as {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
  background-color: #f8fafc;
  border: 1px solid #edf2f7;
  padding: 8px 12px;
  border-radius: 6px;
}

.comment-logged-in-as i {
  color: #94a3b8;
}

.comment-logged-in-as a {
  color: #b91c1c;
  text-decoration: underline;
  font-weight: 600;
}

.single-comment-form .form-group {
  margin-bottom: 12px;
}

.comment-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .comment-inputs-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.comment-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 16px;
  color: #1e293b;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  font-family: inherit;
  resize: vertical;
  min-height: 90px;
}

.comment-input {
  width: 100%;
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 16px;
  color: #1e293b;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  font-family: inherit;
}

.comment-textarea:focus,
.comment-input:focus {
  border-color: #132849;
  box-shadow: 0 0 0 3px rgba(19, 40, 73, 0.08);
}

.comment-submit-btn {
  background-color: var(--primary, #132849);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.comment-submit-btn:hover {
  background-color: var(--primary-hover, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

/* 3. Right Sidebar Column */
.single-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: -webkit-sticky;
  position: sticky;
  top: 95px;
  z-index: 10;
  align-self: flex-start;
  max-height: none !important;
  overflow: visible !important;
  scrollbar-width: none !important;
}
.single-sidebar-col::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
body.admin-bar .single-sidebar-col {
  top: 130px;
}

/* 4. Section: BÀI VIẾT TƯƠNG TỰ (Image 2) */
.related-posts-section {
  background-color: #edf0f4;
  padding: 50px 0 65px 0;
  border-top: 1px solid #e2e8f0;
}

.related-title {
  text-align: center;
  font-size: 21px;
  font-weight: 800;
  color: var(--heading-color);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.2px;
}

.related-red-line {
  width: 48px;
  height: 3px;
  background-color: #b91c1c;
  margin: 10px auto 35px auto;
  border-radius: 2px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Header Navigation & Language Switcher (Mockup Alignment)
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.site-header.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
body.admin-bar .site-header.sticky {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-header.sticky {
    top: 46px;
  }
}

/* Floating Header for Homepage */
.site-header.header-floating {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: none !important;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-floating .header-main-bar {
  background-color: transparent !important;
}

.site-header.header-floating.is-scrolled {
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.site-header.header-floating.is-scrolled .header-main-bar {
  background-color: transparent !important;
}

.header-main-bar {
  background-color: #ffffff;
  width: 100%;
}

.header-container {
  width: 100%;
  max-width: 1410px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.header-logo-col {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header-logo-img {
  display: block;
  max-height: 50px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.header-nav-col {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 auto;
  padding: 0 16px;
  height: 100%;
  align-self: stretch;
}

@media (max-width: 1023px) {
  .header-nav-col {
    display: none !important;
  }
}

.header-actions-col {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header-container {
    height: 64px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .site-header-logo-img {
    max-height: 36px;
  }
  .header-actions-col {
    gap: 10px;
  }
}

/* Mobile Menu Toggle Button: Hidden on Desktop (>= 1024px), Visible on Mobile (< 1024px) */
#mobile-menu-toggle {
  display: none !important;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #132849;
  padding: 7px 10px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

#mobile-menu-toggle:hover {
  background-color: #f1f5f9;
  color: var(--primary, #009fe3);
}

@media (max-width: 1023px) {
  #mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile Drawer Overlay Backdrop */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Off-Canvas Drawer (Trượt từ trái sang phải ~3/4 màn hình, max 330px) */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 78vw;
  max-width: 330px;
  height: 100vh;
  height: 100dvh;
  background-color: #ffffff;
  z-index: 99999;
  box-shadow: 6px 0 28px rgba(0, 0, 0, 0.18);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-menu-drawer.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  #mobile-menu-toggle,
  .mobile-menu-overlay,
  .mobile-menu-drawer,
  .mobile-menu-drawer.open {
    display: none !important;
  }
}

.header-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  height: 100%;
}

.header-nav-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.header-nav-menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 100%;
  color: var(--heading-color, #132849);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

/* Hover & Active state: Brand Navy Background + White Text */
.header-nav-menu > li:hover > a,
.header-nav-menu > li.current-menu-item > a,
.header-nav-menu > li.current-menu-ancestor > a {
  background-color: var(--primary, #132849);
  color: #ffffff !important;
}

/* Red Accent underline bar on hover & active (matches Image 1) */
.header-nav-menu > li > a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background-color: var(--secondary, #c3252b);
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 10;
}

.header-nav-menu > li:hover > a::before,
.header-nav-menu > li.current-menu-item > a::before,
.header-nav-menu > li.current-menu-ancestor > a::before {
  opacity: 1;
  transform: scaleX(1);
}

/* Arrow indicator for parent items */
.header-nav-menu > li.menu-item-has-children > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  margin-left: 7px;
  font-size: 10.5px;
  line-height: 1;
  color: currentColor;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

.header-nav-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Dropdown Submenu - Attached seamlessly to header with subtle divider lines */
.header-nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: #ffffff;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 28px rgba(19, 40, 73, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: none;
  padding: 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
}

.header-nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-nav-menu .sub-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f1f5f9;
}

.header-nav-menu .sub-menu li:last-child {
  border-bottom: none;
}

.header-nav-menu .sub-menu a {
  display: block;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  background-color: #ffffff;
}

.header-nav-menu .sub-menu a:hover,
.header-nav-menu .sub-menu .current-menu-item > a {
  background-color: var(--primary, #132849) !important;
  color: #ffffff !important;
}

/* Nested submenus */
.header-nav-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-radius: 0 6px 6px 6px;
  border: none;
  box-shadow: 0 12px 28px rgba(19, 40, 73, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Language Switcher EN | VI */
.header-lang-switcher {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  padding: 4px 0;
}

.lang-switch-btn {
  background: transparent;
  border: none;
  padding: 4px 3px;
  cursor: pointer;
  color: #8c96a3;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
  transition: color 0.18s ease;
  outline: none;
}

.lang-switch-btn:hover {
  color: #132849;
}

.lang-switch-btn.active {
  color: #132849 !important;
  font-weight: 700;
}

.lang-switch-sep {
  display: inline-block;
  margin: 0 5px;
  color: #132849;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  user-select: none;
}

/* Hide default GTranslate elements if inserted */
.gtranslate-hidden-bridge,
.gtranslate-hidden-bridge .gtranslate_wrapper,
.gtranslate-hidden-bridge select,
.gtranslate-hidden-bridge a.gflag {
  display: none !important;
}

/* Mobile Drawer Header & Navigation */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  background-color: #ffffff;
  flex-shrink: 0;
}

.mobile-drawer-logo {
  display: flex;
  align-items: center;
}

.mobile-drawer-logo img {
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.mobile-drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-lang-switcher {
  background: #f8fafc;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.mobile-drawer-close {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.mobile-drawer-close:hover {
  background-color: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 30px;
}

/* Mobile Nav Menu List */
.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu > li {
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-menu > li > a {
  display: block;
  padding: 13px 48px 13px 18px;
  color: #132849;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-nav-menu > li > a:hover {
  color: var(--primary, #009fe3);
}

/* Arrow Toggle Button for Parent items */
.mobile-sub-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 12px;
  transition: color 0.2s ease;
  z-index: 2;
  padding: 0;
}

.mobile-sub-toggle:hover {
  color: var(--primary, #009fe3);
}

.mobile-sub-toggle i {
  transition: transform 0.25s ease;
}

.mobile-nav-menu li.submenu-open > .mobile-sub-toggle i {
  transform: rotate(180deg);
  color: var(--primary, #009fe3);
}

.mobile-nav-menu li.submenu-open > a {
  color: var(--primary, #009fe3);
}

/* Sub-menu (Collapsed by default, expands on click) */
.mobile-nav-menu .sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.mobile-nav-menu li.submenu-open > .sub-menu {
  display: block;
}

.mobile-nav-menu .sub-menu li {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-menu .sub-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu .sub-menu a {
  display: block;
  padding: 11px 18px 11px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.mobile-nav-menu .sub-menu a:hover {
  color: var(--primary, #009fe3);
  padding-left: 32px;
}

/* ==========================================================================
   Footer Component (Dark Navy Luxury Style)
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #132849 0%, #0c1c36 100%);
  color: #cbd5e1;
  border-top: 4px solid var(--secondary, #c3252b);
  padding-top: 55px;
  padding-bottom: 0;
  margin-top: auto;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.55fr 0.8fr;
  gap: 36px;
  margin-bottom: 40px;
  align-items: flex-start;
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.footer-logo-img {
  display: block;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-slogan {
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 10px;
}

.footer-desc {
  color: #94a3b8;
  font-size: 17px;
  line-height: 1.65;
  max-width: 360px;
  margin-top: 0;
  margin-bottom: 0;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin: 0 0 12px 0;
}

.footer-red-line {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

.footer-red-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 100%;
  background-color: var(--secondary, #c3252b);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  color: #e2e8f0;
  line-height: 1.55;
}

.footer-contact-item > .footer-icon-box {
  margin-top: 0;
}

.footer-contact-text {
  flex: 1;
  color: #e2e8f0;
  transition: color 0.18s ease;
}

.footer-contact-link {
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  transition: color 0.18s ease;
}

.footer-contact-link:hover,
.footer-contact-link:hover .footer-contact-text,
.footer-contact-phone,
.footer-contact-phone .footer-contact-text,
.footer-contact-phone:hover,
.footer-contact-phone:hover .footer-contact-text {
  color: #ffffff !important;
}

.footer-contact-phone {
  font-weight: 700;
  font-size: 16.5px;
}

.footer-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--secondary, #c3252b);
  font-size: 14.5px;
  margin-top: 0;
  transition: all 0.25s ease;
}

.footer-contact-link:hover .footer-icon-box,
.footer-contact-phone:hover .footer-icon-box {
  background-color: var(--secondary, #c3252b) !important;
  color: #ffffff !important;
  border-color: var(--secondary, #c3252b) !important;
  transform: scale(1.08);
}

.footer-contact-link:hover .footer-icon-box i,
.footer-contact-phone:hover .footer-icon-box i {
  color: #ffffff !important;
}

.footer-social-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-btn i {
  color: #ffffff !important;
}

.footer-social-btn:hover {
  background-color: var(--secondary, #c3252b) !important;
  border-color: var(--secondary, #c3252b) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(195, 37, 43, 0.45);
  transform: translateY(-3px);
}

.footer-social-btn:hover i {
  color: #ffffff !important;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.15);
}

.footer-copyright {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==========================================================================
   Contact Page Component (Matching Demo Image)
   ========================================================================= */
.contact-hero-banner {
  position: relative;
  background-color: #172d4e;
  background-image: linear-gradient(180deg, rgba(19, 40, 73, 0.82) 0%, rgba(25, 48, 85, 0.88) 100%), url('../images/archive-hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 1rem;
  text-align: center;
}

.contact-hero-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

@media (min-width: 768px) {
  .contact-hero-title {
    font-size: 36px;
  }
}

.contact-body-section {
  background-color: #f4f6f8;
  padding: 48px 0 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 1023px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.contact-form-column {
  display: flex;
  flex-direction: column;
}

.contact-form-column .contact-card {
  height: 100%;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 32px;
}

.contact-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #132849;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 6px 0;
}

.contact-red-line {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #e2e8f0;
  margin-bottom: 16px;
}

.contact-red-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 100%;
  background-color: #c3252b;
}

.contact-form-intro {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.contact-custom-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-input-field {
  width: 100%;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  color: #1e293b;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-input-field:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-select-wrap {
  position: relative;
}

select.contact-select,
select.contact-input-field,
.contact-custom-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 42px !important;
  background-color: #ffffff;
}

.contact-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 11px;
  pointer-events: none;
}

.contact-textarea,
textarea.contact-input-field,
.contact-cf7-wrapper textarea {
  height: 80px;
  min-height: 70px;
  resize: vertical;
}

/* Contact Form 7 Form Elements */
.contact-cf7-wrapper .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-cf7-wrapper .wpcf7-form > p,
.contact-cf7-form p {
  margin: 0;
  padding: 0;
}

.contact-cf7-form .form-group {
  margin-bottom: 0;
}

.contact-policy-label,
.contact-cf7-wrapper .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #475569;
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
  margin: 0;
}

.contact-policy-checkbox,
.contact-cf7-wrapper .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #2563eb;
  cursor: pointer;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.contact-cf7-wrapper .wpcf7-list-item {
  margin: 0;
  display: block;
}

.contact-cf7-wrapper .wpcf7-spinner {
  margin-left: 10px;
  vertical-align: middle;
}

.contact-cf7-wrapper .wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 12px;
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

.contact-cf7-wrapper .wpcf7-response-output {
  margin: 16px 0 0 0;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  border-width: 1px;
}

.contact-cf7-wrapper .wpcf7 form.sent .wpcf7-response-output {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.contact-cf7-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.contact-cf7-wrapper .wpcf7 form.unaccepted .wpcf7-response-output {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.contact-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  background-color: #c3252b;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(195, 37, 43, 0.2);
  transition: all 0.2s ease;
}

.contact-btn-submit:hover {
  background-color: #a81c22;
  box-shadow: 0 4px 8px rgba(195, 37, 43, 0.3);
  transform: translateY(-1px);
}

.contact-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #334155;
  line-height: 1.5;
}

.contact-info-text {
  flex: 1;
  color: #334155;
}

.contact-info-link {
  color: #334155;
  text-decoration: none;
  transition: color 0.18s ease;
}

.contact-info-link:hover {
  color: var(--primary, #009fe3);
}

.contact-info-phone {
  font-weight: 600;
  color: #1e293b;
}

.contact-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #64748b;
  font-size: 12px;
  margin-top: 2px;
}

.contact-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.contact-social-label {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
}

.contact-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #132849;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.contact-social-btn:hover {
  color: #009fe3;
  border-color: #009fe3;
  transform: translateY(-1.5px);
}

.contact-map-card {
  padding: 0;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-map-responsive {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 240px;
  overflow: hidden;
  border-radius: 12px;
}

.contact-map-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-top: 16px;
}

.contact-alert.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.contact-alert.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}



/* ==========================================================================
   Single Product Detail Page Component (Matching Image 1 & Image 2 Mockup)
   ========================================================================== */

.product-detail-page {
  background-color: #ffffff;
  padding: 32px 0 0 0;
  color: #334155;
}

/* Breadcrumb */
.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.product-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.product-breadcrumb a i {
  color: inherit;
  transition: color 0.15s ease;
}

.product-breadcrumb a:hover,
.product-breadcrumb a:hover i {
  color: var(--primary-hover, #1d4ed8);
}

.product-breadcrumb .sep {
  color: #94a3b8;
  font-size: 11px;
}

.product-breadcrumb .current {
  color: #1e293b;
  font-weight: 500;
}

/* 1. Hero Card: Gallery & Product Overview */
.product-hero-card {
  background-color: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .product-hero-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Gallery Section */
.product-gallery-wrap {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .product-gallery-wrap {
    justify-content: center;
  }
}

.product-thumbs-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  flex-shrink: 0;
  position: relative;
}

.product-thumbs-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80px;
  max-height: 476px; /* 4 thumbs x 110px + 3 gaps x 12px = 476px */
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-thumbs-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.product-thumb-item {
  width: 80px;
  height: 110px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-thumb-item.active,
.product-thumb-item:hover {
  border: 1.5px solid #c3252b;
  box-shadow: none;
}

.product-thumb-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.product-thumb-arrow-up {
  top: 8px;
}

.product-thumb-arrow-down {
  bottom: 8px;
}

.product-thumb-arrow:hover {
  background-color: #ffffff;
  color: #c3252b;
  border-color: rgba(195, 37, 43, 0.3);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.product-main-image-box {
  width: 500px;
  height: 650px;
  max-width: 100%;
  background-color: #F5F5F5;
  border-radius: 8px;
  border: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.product-main-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

@media (max-width: 991px) {
  .product-main-image-box {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 500 / 650;
  }
}

@media (max-width: 768px) {
  .product-gallery-wrap {
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
  }
  .product-thumbs-strip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .product-thumbs-track {
    flex-direction: row !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 10px;
    padding: 4px 2px 8px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    justify-content: flex-start !important;
  }
  .product-thumbs-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .product-thumb-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 65px;
    height: 85px;
  }
  .product-thumb-arrow,
  .product-thumb-arrow-up,
  .product-thumb-arrow-down {
    display: none !important;
  }
}

/* Product Info Section (Overview Card) */
.product-info-wrap {
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 36px 36px 40px 36px;
  min-width: 0;
}

@media (max-width: 640px) {
  .product-title {
    font-size: 20px;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .product-info-wrap {
    padding: 22px 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .product-cta-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: #132849;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.product-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #132849;
  margin: 0 0 14px 0;
}

.product-info-divider,
.product-red-line {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #e5e7eb;
  margin: 0 0 30px 0;
}

.product-info-divider::before,
.product-red-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 55px;
  height: 3px;
  background-color: #c3252b;
  border-radius: 1px;
}

.product-app-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-app-row .app-label {
  flex-shrink: 0;
  font-weight: 500;
  color: #1e293b;
  min-width: 75px;
}

.product-app-row .app-desc {
  color: #475569;
  flex: 1;
}

.product-section-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #132849;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 12px 0;
}

.product-specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 22px;
}

.product-spec-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.product-spec-row .spec-name {
  width: 85px;
  flex-shrink: 0;
  color: #64748b;
  font-size: 13px;
}

.product-spec-row .spec-val {
  color: #1e293b;
  font-weight: 600;
  flex: 1;
}

/* Color Swatches */
.product-colors-wrap {
  margin-bottom: 0;
}

.product-colors-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.product-color-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.product-color-outer {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.product-color-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: inline-block;
  flex-shrink: 0;
}

.product-color-item:hover .product-color-outer,
.product-color-item.active .product-color-outer {
  border-color: #64748b;
  border-width: 1.5px;
}

.product-color-name {
  font-size: 14px;
  color: #334155;
  font-weight: 500;
}

.product-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: #c3252b;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 50px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.product-cta-btn:hover {
  background-color: #ab1d23;
  color: #ffffff;
}

/* 2. Four Feature Highlights Badges */
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .product-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 576px) {
  .product-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.product-feature-item {
  position: relative;
  display: flex;
}

.product-feature-card {
  width: 100%;
  background-color: #F5F5F5;
  border-radius: 6px;
  border: none;
  box-shadow: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-feature-item:hover .product-feature-card {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Red triangle accent directly at the bottom-right corner */
.product-feature-card::after,
.product-feature-item .feature-badge-corner {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 16px 16px;
  border-color: transparent transparent #c3252b transparent;
  pointer-events: none;
  z-index: 2;
}

.product-feature-card .feature-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  background-color: #132849;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.product-feature-card .feature-custom-icon {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-feature-card .feature-text-box {
  flex: 1;
  min-width: 0;
}

.product-feature-card .feature-title {
  font-size: 18px;
  font-weight: 500;
  color: #132849;
  text-transform: uppercase;
  margin: 0 0 4px 0;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.product-feature-card .feature-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.product-feature-card .feature-red-line {
  width: 34px;
  height: 2.5px;
  background-color: #c3252b;
  margin: 0;
  border-radius: 1px;
}

/* 3. Vertical Tabs Section (Left Tabs, Right Content) */
.product-tabs-section {
  background-color: #f5f5f5;
  padding: 40px 0;
  margin: 0 0 80px 0;
}

.product-tabs-wrapper {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 0;
  align-items: flex-start;
  margin-bottom: 0;
}

.product-tabs-nav {
  display: flex;
  flex-direction: column;
  background-color: #132849;
  border-radius: 4px 0 0 4px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.product-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
  background-color: #132849;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.product-tab-btn:last-child {
  border-bottom: none;
}

.product-tab-btn i {
  font-size: 14px;
  width: 18px;
  text-align: center;
  color: inherit;
  flex-shrink: 0;
}

.product-tab-btn.active {
  background-color: #ffffff;
  color: #132849;
  font-weight: 700;
  box-shadow: none;
}

.product-tab-btn.active i {
  color: #64748b;
}

.product-tab-btn:hover:not(.active) {
  background-color: #19335c;
  color: #ffffff;
}

.product-tab-content-card {
  background-color: #ffffff;
  border-radius: 0 4px 4px 4px;
  border: none;
  box-shadow: none;
  padding: 32px 36px 40px 36px;
  min-height: 380px;
  position: relative;
  z-index: 1;
}

.product-tab-pane {
  display: none;
}

.product-tab-pane.active {
  display: block;
}

.product-tab-pane-title {
  font-size: 22px;
  font-weight: 800;
  color: #132849;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.product-tab-pane-line {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #e5e7eb;
  margin-bottom: 22px;
}

.product-tab-pane-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 48px;
  height: 3px;
  background-color: #c3252b;
  border-radius: 1px;
}

.product-tab-body {
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

.product-tab-body p {
  margin-bottom: 16px;
  line-height: 1.65;
  color: #334155;
}

.product-tab-body h3,
.product-tab-body h4 {
  color: #132849;
  font-weight: 700;
  margin: 24px 0 10px 0;
  font-size: 17px;
}

.product-tab-body ul {
  list-style-type: disc;
  padding-left: 22px;
  margin: 12px 0 18px 0;
}

.product-tab-body ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.product-tab-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 20px 0;
  display: block;
}

@media (max-width: 900px) {
  .product-tabs-section {
    padding: 30px 0;
    margin: 0;
  }
  .product-tabs-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-tabs-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: transparent;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 0;
  }
  .product-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1px solid transparent;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    transition: all 0.2s ease;
    background-color: #132849;
    color: #ffffff;
    white-space: normal;
    border-radius: 0;
    width: 100%;
  }
  .product-tab-btn:first-child {
    border-radius: 6px 6px 0 0;
  }
  .product-tab-btn:last-child {
    border-radius: 0 0 6px 6px;
    border-bottom: none;
  }
  .product-tab-btn i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: inherit;
    flex-shrink: 0;
  }
  .product-tab-btn.active {
    background-color: #ffffff;
    color: #132849;
    font-weight: 800;
    border: 1px solid #eaedf1;
    margin-right: 0;
  }
  .product-tab-btn.active i {
    color: #132849;
  }
  .product-tab-btn:hover:not(.active) {
    background-color: #1b3866;
    color: #ffffff;
  }
  .product-tab-content-card {
    border-radius: 8px;
    border: 1px solid #eaedf1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 24px 18px 28px 18px;
  }
  .product-tab-pane-title {
    font-size: 19px;
  }
  .product-tags-row {
    gap: 8px;
    padding-top: 16px;
  }
  .product-tags-label {
    font-size: 13px;
    margin-right: 2px;
  }
  .product-tag-pill {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
  }
}

@media (max-width: 480px) {
  .product-tags-row {
    gap: 6px;
    padding-top: 14px;
  }
  .product-tags-label {
    font-size: 12px;
  }
  .product-tag-pill {
    padding: 4px 10px;
    font-size: 11.5px;
  }
}

.product-dotted-box {
  border: 2px dashed #60a5fa;
  background-color: #f0f7ff;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #334155;
}

/* Enhanced Product Tab Content Components */
.product-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.product-app-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.product-app-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(19, 40, 73, 0.06);
}
.product-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #132849;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.product-app-title {
  font-weight: 700;
  font-size: 14.5px;
  color: #132849;
  margin-bottom: 4px;
}
.product-app-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.product-step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}
.product-step-item {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #c3252b;
  border-radius: 6px;
  padding: 16px 20px;
  align-items: flex-start;
}
.product-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #c3252b;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-step-content {
  flex: 1;
}
.product-step-title {
  font-weight: 700;
  font-size: 15px;
  color: #132849;
  margin-bottom: 4px;
}
.product-step-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  font-size: 13.5px;
}
.product-spec-table tr:nth-child(even) {
  background: #f8fafc;
}
.product-spec-table th {
  background: #132849;
  color: #ffffff;
  padding: 12px 18px;
  text-align: left;
  font-weight: 700;
}
.product-spec-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.product-spec-table td:first-child {
  font-weight: 600;
  width: 35%;
  color: #132849;
}

.product-dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}
@media (max-width: 640px) {
  .product-dos-donts {
    grid-template-columns: 1fr;
  }
}
.product-do-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 18px 20px;
}
.product-do-title {
  font-weight: 700;
  font-size: 15px;
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.product-dont-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 18px 20px;
}
.product-dont-title {
  font-weight: 700;
  font-size: 15px;
  color: #b91c1c;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.product-do-box ul,
.product-dont-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.65;
}
.product-do-box li { color: #166534; margin-bottom: 6px; }
.product-dont-box li { color: #991b1b; margin-bottom: 6px; }

/* Tags row (Outside content card, on #f5f5f5 background) */
.product-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  margin-top: 0;
  border-top: none;
}

.product-tags-label {
  font-size: 14px;
  font-weight: 700;
  color: #132849;
  margin-right: 4px;
}

.product-tag-pill {
  display: inline-block;
  padding: 8px 18px;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #132849;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.18s ease;
}

.product-tag-pill:hover {
  background-color: #ffffff;
  color: #c3252b;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* 4. Q&A Section (Hỏi & Đáp) */
.product-qa-section {
  margin-top: 80px;
  margin-bottom: 0;
}

.product-section-heading {
  font-size: 22px;
  font-weight: 800;
  color: #132849;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.product-qa-box {
  background-color: transparent;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 36px;
}

@media (max-width: 991px) {
  .product-qa-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.product-qa-form-wrap {
  background-color: #F2F2F2;
  border-radius: 8px;
  padding: 36px 36px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 600px) {
  .product-qa-form-wrap {
    padding: 24px 18px 28px 18px;
  }
}

.product-qa-form-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.product-qa-form-desc {
  font-size: 13.5px;
  color: #475569;
  margin: 0 0 22px 0;
  line-height: 1.55;
}

.product-qa-form-desc .highlight-hotline {
  color: #c3252b;
  font-weight: 600;
  text-decoration: none;
}

.product-qa-form-desc .highlight-hotline:hover {
  text-decoration: underline;
}

.product-qa-input,
.product-qa-textarea {
  width: 100%;
  padding: 13px 18px;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 6px;
  font-size: 13.5px;
  color: #1e293b;
  margin-bottom: 14px;
  box-sizing: border-box;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-qa-textarea {
  padding: 14px 18px;
  min-height: 90px;
  margin-bottom: 22px;
  resize: vertical;
}

.product-qa-input::placeholder,
.product-qa-textarea::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
}

.product-qa-input:focus,
.product-qa-textarea:focus {
  border-color: #c3252b;
  box-shadow: 0 0 0 2px rgba(195, 37, 43, 0.12);
}

.product-qa-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  background-color: #c3252b;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.product-qa-btn-submit:hover {
  background-color: #ab1d23;
}

.product-qa-visual {
  width: 420px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: stretch;
}

@media (max-width: 991px) {
  .product-qa-visual {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

.product-qa-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Q&A Comments Thread */
.product-qa-thread {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 10px;
}
.qa-item-wrap {
  display: flex;
  flex-direction: column;
  position: relative;
}

.qa-parent-container {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.qa-avatar-col {
  width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.qa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #132849;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  z-index: 2;
  position: relative;
}

.qa-avatar i {
  font-size: 13px;
  color: #ffffff;
}

.qa-avatar.admin-avatar {
  background-color: #c3252b;
}

.qa-avatar.admin-avatar .admin-letter-a {
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  font-family: inherit;
  color: #ffffff;
  line-height: 1;
}

/* Vertical line extending downward from parent avatar */
.qa-parent-vertical-line {
  width: 1px;
  flex: 1;
  background-color: #e2e8f0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.qa-body {
  flex: 1;
  padding-bottom: 6px;
}

.qa-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.qa-author-name {
  font-size: 16px;
  font-weight: 700;
  color: #132849;
}

.qa-time {
  font-size: 11.5px;
  color: #94a3b8;
}

.qa-content {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 6px;
}

.qa-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-reply-btn {
  font-size: 12px;
  font-weight: 500;
  color: #0284c7;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.qa-reply-btn:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* Tree Branch Block connecting parent to replies */
.qa-replies-block {
  display: flex;
  position: relative;
  margin-top: 0;
}

/* Curved corner line that continues parent line and turns right into toggle */
.qa-branch-curve-line {
  width: 32px;
  flex-shrink: 0;
  position: relative;
}

.qa-branch-curve-line::before {
  content: '';
  position: absolute;
  left: 15px; /* exactly at the center of 32px avatar */
  top: 0;
  width: 18px;
  height: 16px;
  border-left: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  border-bottom-left-radius: 8px;
}

.qa-replies-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.qa-toggle-replies-btn {
  background: transparent;
  border: none;
  padding: 4px 0 14px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
  align-self: flex-start;
}

.qa-toggle-replies-btn:hover {
  color: #0f172a;
}

.qa-replies-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.qa-reply-item {
  display: flex;
  gap: 14px;
  align-items: stretch;
  position: relative;
}

.qa-reply-avatar-col {
  width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

/* Vertical line connecting reply avatars in the chain */
.qa-reply-connecting-line {
  width: 1px;
  flex: 1;
  background-color: #e2e8f0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.qa-reply-item .qa-body {
  padding-bottom: 18px;
}

.qa-reply-item.is-last-reply .qa-body {
  padding-bottom: 0;
}

/* 5. Related Products (Xem thêm sản phẩm) */
.product-related-section {
  margin-top: 80px;
  margin-bottom: 80px;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

/* 4 Columns Product Archive Grid (No Sidebar) */
.product-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .product-tabs-section {
    margin: 0;
  }
  .product-qa-section {
    margin-top: 80px;
    margin-bottom: 0;
  }
  .product-related-section {
    margin-top: 80px;
    margin-bottom: 80px;
  }
  .product-related-grid,
  .product-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .product-qa-section {
    margin-top: 80px;
    margin-bottom: 0;
  }
  .product-related-section {
    margin-top: 80px;
    margin-bottom: 80px;
  }
}

@media (max-width: 576px) {
  .product-related-grid,
  .product-archive-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.product-related-card {
  background-color: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 24px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.product-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.product-related-img-box {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-related-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-related-card:hover .product-related-img-box img {
  transform: scale(1.04);
}

.product-related-bottom-bar {
  width: 100%;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.product-related-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #132849;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.02em;
}

.product-related-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.15s ease;
}

.product-related-card:hover .product-related-arrow {
  background-color: #c3252b;
  color: #ffffff;
}

/* ==========================================================================
   FAQ Page Component (Câu Hỏi Thường Gặp - Matching Demo Mockup)
   ========================================================================== */

.faq-hero-banner {
  position: relative;
  background-color: #172d4e;
  background-image: linear-gradient(180deg, rgba(19, 40, 73, 0.82) 0%, rgba(25, 48, 85, 0.88) 100%), url('../images/archive-hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 1rem;
  text-align: center;
}

.faq-hero-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

@media (min-width: 768px) {
  .faq-hero-title {
    font-size: 36px;
  }
}

.faq-body-section {
  background-color: #f2f4f7;
  padding: 50px 0 80px 0;
  min-height: 55vh;
}

.faq-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  align-items: flex-start;
}

.faq-tabs-nav {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  width: 240px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.faq-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  border-right: 1px solid #eaedf1;
  text-align: left;
  transition: all 0.2s ease;
  background-color: #132849;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-tab-btn:first-child {
  border-top-left-radius: 6px;
}

.faq-tab-btn:last-child {
  border-bottom-left-radius: 6px;
  border-bottom: 1px solid #132849;
}

.faq-tab-btn i {
  font-size: 14px;
  width: 18px;
  text-align: center;
  color: inherit;
  flex-shrink: 0;
}

.faq-tab-btn.active {
  background-color: #ffffff;
  color: #132849;
  font-weight: 800;
  border: 1px solid #eaedf1;
  border-right: 1px solid #ffffff;
  margin-right: -1px;
  position: relative;
  z-index: 3;
}

.faq-tab-btn:hover:not(.active) {
  background-color: #1b3866;
  color: #ffffff;
}

.faq-card {
  background-color: #ffffff;
  border: 1px solid #eaedf1;
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 36px 36px 40px 36px;
  position: relative;
  z-index: 1;
}

.faq-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #132849;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.faq-red-line {
  position: relative;
  width: 52px;
  height: 3px;
  background-color: #c3252b;
  margin-bottom: 24px;
  border-radius: 2px;
  border: none;
}

.faq-red-line::before {
  display: none;
}

.faq-accordion-group {
  display: none;
}

.faq-accordion-group.active {
  display: block;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-accordion-item {
  background-color: #f8fafc;
  border: 1px solid #eaedf1;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: #cbd5e1;
}

.faq-accordion-item.active {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: none;
}

.faq-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  background-color: transparent;
  transition: background-color 0.15s ease;
}

.faq-accordion-item.active .faq-accordion-header {
  background-color: transparent;
  border-bottom: none;
  padding-bottom: 12px;
}

.faq-accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.faq-number-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  min-width: 24px;
}

.faq-number {
  font-size: 16px;
  font-weight: 800;
  color: #c3252b;
  line-height: 1;
  flex-shrink: 0;
}

.faq-number-bar {
  display: none;
  width: 18px;
  height: 2.5px;
  background-color: #c3252b;
  margin-top: 5px;
  border-radius: 2px;
}

.faq-accordion-item.active .faq-number-bar {
  display: block;
}

.faq-question {
  font-size: 15px;
  font-weight: 700;
  color: #132849;
  margin: 0;
  line-height: 1.45;
}

.faq-chevron {
  font-size: 14px;
  color: #132849;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-accordion-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #132849;
}

.faq-accordion-body {
  display: none;
  padding: 0 20px 20px 20px;
  background-color: transparent;
}

.faq-accordion-item.active .faq-accordion-body {
  display: block;
}

.faq-accordion-item.active .faq-accordion-body::before {
  display: none;
}

.faq-answer-content {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

.faq-answer-content p {
  margin-bottom: 12px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-tabs-nav {
    width: 100%;
  }
  .faq-tab-btn {
    border-right: 1px solid transparent;
  }
  .faq-tab-btn:first-child {
    border-radius: 6px 6px 0 0;
  }
  .faq-tab-btn:last-child {
    border-radius: 0 0 6px 6px;
    border-bottom: none;
  }
  .faq-tab-btn.active {
    border: 1px solid #eaedf1;
    margin-right: 0;
  }
  .faq-card {
    border-radius: 8px;
    padding: 24px 20px;
  }
  .faq-accordion-header {
    padding: 14px 16px;
  }
  .faq-accordion-item.active .faq-accordion-header {
    padding-bottom: 10px;
  }
  .faq-accordion-body {
    padding: 0 16px 16px 16px;
  }
  .faq-question {
    font-size: 14.5px;
  }
}

/* ==========================================================================
   Trang Giá Trị Cốt Lõi (Core Values Page)
   ========================================================================== */
.core-values-page {
  background-color: #ffffff;
  color: #1e293b;
}

/* 1. Header Banner */
.core-values-banner {
  position: relative;
  background-color: #172d4e;
  background-image: linear-gradient(180deg, rgba(19, 40, 73, 0.82) 0%, rgba(25, 48, 85, 0.88) 100%), url('../images/archive-hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 1rem;
  overflow: hidden;
}

.core-values-banner-title {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.3;
  word-wrap: break-word;
}

@media (min-width: 480px) {
  .core-values-banner-title {
    font-size: 26px;
    letter-spacing: 1.5px;
  }
}

@media (min-width: 768px) {
  .core-values-banner-title {
    font-size: 36px;
    letter-spacing: 2px;
  }
}

/* 2. Core Values Alternating Rows */
.core-values-section {
  width: 100%;
}

.core-value-row {
  width: 100%;
  transition: background-color 0.2s ease;
}

.core-values-page .container {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.core-value-row.row-odd {
  background-color: #ffffff;
}

.core-value-row.row-even {
  background-color: #f5f5f5;
}

.core-value-grid {
  display: flex;
  align-items: stretch;
  min-height: 462px;
}

.core-value-content-wrap {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 48px 32px;
  gap: 28px;
  min-width: 0;
}

.core-value-num-col {
  flex: 0 0 27.7%;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
}

.core-value-num {
  font-family: var(--font-family);
  font-size: 130px;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -3px;
  background: linear-gradient(180deg, #D5D5D5 0%, rgba(208, 216, 229, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin-bottom: 6px;
  display: inline-block;
}

.core-value-name {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c3252b;
  line-height: 1.5;
  letter-spacing: 0.5px;
  max-width: 220px;
}

.core-value-name::before {
  content: none;
}

.core-value-info-col {
  flex: 1;
  min-width: 0;
  max-width: 650px;
}

.core-value-title {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: #132849;
  line-height: 1.35;
  margin: 0 0 16px 0;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.core-value-title .text-red,
.core-value-title span {
  color: inherit;
}

.core-value-title-phrase {
  white-space: nowrap;
}

.core-value-red-line {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #e5e7eb;
  margin-top: 14px;
  margin-bottom: 20px;
}

.core-value-red-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1.25px;
  width: 72px;
  height: 3.5px;
  background-color: #c3252b;
  border-radius: 2px;
}

.core-value-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.core-value-quotes-list {
  border-left: 3.5px solid #c3252b;
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.core-value-quote-item .quote-text {
  font-size: 16px;
  font-weight: 700;
  color: #132849;
  line-height: 1.55;
}

.core-value-image-wrap {
  flex: 0 0 35%;
  width: 35%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.core-value-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3. Bottom CTA Section */
.core-values-page .core-values-cta-section,
.core-values-page .kdn-sec3-cta-wrap,
.core-values-cta-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.core-values-cta-card {
  position: relative;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  overflow: hidden;
  background-color: #162d4e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 12px 35px rgba(19, 40, 73, 0.2);
}

.core-values-cta-overlay {
  display: none;
}

.core-values-cta-body {
  position: relative;
  z-index: 2;
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  border-radius: 8px;
}

.core-values-cta-title {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}

.core-values-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #c3252b;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 34px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(195, 37, 43, 0.35);
  transition: all 0.25s ease;
}

.core-values-cta-btn:hover {
  background-color: #a81c22;
  box-shadow: 0 8px 22px rgba(195, 37, 43, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

/* 4. Responsive Rules */
@media (min-width: 992px) {
  .core-value-num-col {
    min-width: 200px;
  }
}

@media (max-width: 1280px) {
  .core-value-content-wrap {
    padding: 40px 24px;
    gap: 24px;
  }
  .core-value-num-col {
    flex: 0 0 27.7%;
    width: auto;
  }
  .core-value-name {
    font-size: 28px;
  }
  .core-value-num {
    font-size: 110px;
  }
  .core-value-image-wrap {
    flex: 0 0 35%;
    width: 35%;
  }
  .core-value-title {
    font-size: 30px;
  }
}

@media (max-width: 991px) {
  .core-value-grid,
  .core-value-grid.is-reverse {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .core-value-content-wrap {
    order: 1;
    padding: 32px 24px;
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .core-value-image-wrap {
    order: 2;
    flex: none;
    width: 100%;
    height: 280px;
  }
  .core-value-num-col {
    flex: none;
    width: auto;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
  .core-value-num {
    font-size: 56px;
    margin-bottom: 0;
  }
  .core-value-name {
    font-size: 28px;
  }
  .core-value-title {
    font-size: 22px;
  }
  .core-value-desc {
    font-size: 15px;
  }
  .core-value-quote-item .quote-text {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .core-value-content-wrap {
    padding: 24px 16px;
  }
  .core-value-title {
    font-size: 20px;
  }
  .core-value-desc {
    font-size: 14px;
  }
  .core-value-quote-item .quote-text {
    font-size: 14px;
  }
  .core-values-page .core-values-cta-section,
  .core-values-page .kdn-sec3-cta-wrap,
  .core-values-cta-section {
    padding: 40px 0;
  }
  .core-values-cta-card,
  .kdn-cta-card {
    background-attachment: scroll;
  }
  .core-values-cta-body,
  .kdn-cta-body {
    padding: 32px 20px;
  }
  .core-values-cta-title,
  .kdn-cta-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   5. BRAND STORY PAGE (CÂU CHUYỆN THƯƠNG HIỆU AROVA)
   ========================================================================== */

.brand-story-page {
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

/* Synchronized with global container (max-width: 1410px; padding: 0 15px) */
.brand-story-page .container {
  width: 100%;
  max-width: 1410px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.brand-story-page h1,
.brand-story-page h2,
.brand-story-page h3,
.brand-story-page h4,
.brand-story-page h5,
.brand-story-page h6 {
  font-weight: 700 !important;
}

/* 1. Header Banner */
.brand-story-banner {
  position: relative;
  background-color: #172d4e;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  padding: 5.5rem 1rem;
}

.brand-story-banner-title {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

@media (min-width: 768px) {
  .brand-story-banner-title {
    font-size: 32px;
    letter-spacing: 2px;
  }
}
@media (min-width: 1024px) {
  .brand-story-banner-title {
    font-size: 36px;
  }
}

/* 2. Combined Hero Wrap (Section 1 + Callout + Section 2 with single unified background) */
.bs-combined-hero-wrap {
  position: relative;
  background-color: #f8fafc;
  background-image: url('../images/Rectangle-131.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 80px 0 150px 0;
}

.bs-sec1-subblock,
.bs-sec1-wrap {
  padding: 0 0 50px 0;
  position: relative;
}

.bs-sec1-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.bs-sec1-left {
  position: relative;
  z-index: 5;
}

.bs-sec1-right {
  position: relative;
  z-index: 1;
}

.bs-sec1-heading-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 36px;
}

.bs-quote-icon {
  flex-shrink: 0;
  margin-top: 4px;
  width: 36px;
}

.bs-quote-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.bs-sec1-quote {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
  color: #132849;
  margin: 0;
}

.bs-sec1-quote .text-red {
  color: #c3252b;
}

.bs-quote-break-mobile {
  display: none;
}

/* 4 Cards Row */
.bs-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 10;
  width: 100%;
}

@media (min-width: 1201px) {
  .bs-cards-row {
    width: calc(100% + 110px);
  }
}

.bs-app-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bs-app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.bs-app-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f1f5f9;
}

.bs-app-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bs-app-card-caption {
  background-color: #132849;
  color: #ffffff;
  padding: 12px 8px;
  text-align: center;
}

.bs-app-card-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.bs-app-card-sub {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 500;
}

.bs-app-card.is-overlap-card {
  border: 5px solid #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.25);
}

/* Building Photo */
.bs-building-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.bs-building-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 3. Floating Callout Divider */
.bs-callout-wrap {
  position: relative;
  z-index: 10;
}

.bs-callout-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  padding: 40px 60px;
  text-align: center;
  max-width: 920px;
  margin: 30px auto 60px auto;
  position: relative;
  z-index: 2;
}

.bs-callout-text {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #132849;
  margin: 0;
}

.bs-callout-text .text-red {
  color: #c3252b;
}

/* 4. Section 2: Từ Niềm Tin Đó Arova Ra Đời */
.bs-sec2-subblock,
.bs-sec2-wrap {
  padding: 0 0 30px 0;
  position: relative;
}

.bs-sec2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bs-sec2-left {
  max-width: 480px;
}

.bs-sec2-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  color: #132849;
  margin: 0 0 24px 0;
}

.bs-sec2-desc-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
}

.bs-sec2-desc-box p {
  margin: 0;
}

.bs-sec2-right {
  position: relative;
}

.bs-bottles-frame {
  position: relative;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.bs-bottles-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

.bs-sec2-floating-badge {
  position: absolute;
  left: -125px;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  background-color: #132849;
  color: #ffffff;
  padding: 48px 24px;
  border-radius: 24px;
  width: 275px;
  box-shadow: 0 16px 40px rgba(19, 40, 73, 0.28);
  z-index: 5;
  text-align: center;
  box-sizing: border-box;
}

.bs-sec2-floating-badge p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* 5. Section 3: Chúng Tôi Hiểu Người Thợ Cần Nhiều Hơn */
.bs-sec3-wrap {
  padding: 0 0 60px 0;
  margin-top: -100px;
  position: relative;
  z-index: 15;
}

.bs-sec3-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
  padding: 48px 56px 52px 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  position: relative;
  z-index: 15;
}

.bs-sec3-left-col {
  display: flex;
  flex-direction: column;
}

.bs-sec3-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #132849;
  margin: 0;
  padding-bottom: 24px;
}

.bs-sec3-title .text-red {
  color: #c3252b;
}

.bs-sec3-tree-container {
  position: relative;
}

.bs-tree-branch {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 28px;
}

.bs-tree-branch::before {
  content: "";
  position: absolute;
  left: 0;
  top: -24px;
  bottom: 22px;
  width: 1.5px;
  background-color: #cbd5e1;
}

.bs-tree-row {
  position: relative;
  display: flex;
  align-items: center;
}

.bs-tree-row::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 1.5px;
  background-color: #cbd5e1;
}

.bs-pill-navy {
  background-color: #132849;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  width: 301px;
  height: 44px;
  border-radius: 8px;
  white-space: nowrap;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.bs-tree-line {
  flex-shrink: 0;
  width: 42px;
  height: 1.5px;
  background-color: #cbd5e1;
}

.bs-pill-white {
  background-color: #ffffff;
  border: 1px solid #d9e2ec;
  color: #132849;
  font-size: 15px;
  padding: 0 24px;
  width: 419px;
  height: 44px;
  border-radius: 8px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  flex-shrink: 0;
}

.bs-pill-white span {
  font-weight: 400;
  color: #334155;
}

.bs-pill-white strong {
  font-weight: 700;
  color: #132849;
  letter-spacing: 0.02em;
}

.bs-sec3-right-col {
  display: flex;
  align-items: center;
  align-self: flex-end;
  margin-bottom: 12px;
}

.bs-sec3-desc-text {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.55;
  color: #132849;
  margin: 0;
  max-width: 300px;
}

/* 6. Section 4: Chúng Tôi Tin Rằng */
.bs-sec4-wrap {
  padding: 60px 0 70px 0;
}

.bs-sec4-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}

.bs-sec4-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: #132849;
  margin: 0;
  white-space: nowrap;
}

.bs-sec4-cards-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.bs-belief-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.bs-belief-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.bs-belief-text {
  font-size: 28px;
  line-height: 1.4;
  color: #132849;
  margin: 0;
  font-weight: 600;
}

.bs-belief-text .text-red {
  color: #c3252b;
}

/* 7. Section 5: Wide Hero Vision Banner */
.bs-sec5-hero {
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 90px 0;
  color: #ffffff;
  overflow: hidden;
}

.bs-sec5-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 37, 68, 0.95) 0%, rgba(16, 37, 68, 0.75) 45%, rgba(16, 37, 68, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.bs-sec5-container {
  position: relative;
  z-index: 2;
}

.bs-sec5-content {
  max-width: 800px;
}

.bs-sec5-sub {
  font-size: 24px;
  color: #e2e8f0 !important;
  margin: 0 0 24px 0;
  line-height: 1.45;
  max-width: 700px;
}

.bs-sec5-heading-box {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 36px;
}

.bs-white-bar {
  width: 4px;
  background-color: #ffffff;
  border-radius: 2px;
  flex-shrink: 0;
}

.bs-sec5-heading {
  color: #ffffff !important;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bs-sec5-badges-row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.bs-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.bs-badge-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.25);
}

.bs-badge-icon {
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
}

.bs-badge-icon img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.bs-badge-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* 8. Section 6: AROVA Luôn Đồng Hành */
.bs-sec6-wrap {
  padding: 80px 0 100px 0;
  background-color: #ffffff;
}

.bs-sec6-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.bs-sec6-photos {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.bs-sec6-photo-col1 {
  width: calc(50% - 9px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bs-sec6-photo-col1 .bs-sec6-img-frame {
  height: 290px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f1f5f9;
  box-shadow: none;
}

.bs-sec6-photo-col1 .bs-sec6-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bs-sec6-photo-col2 {
  width: calc(50% - 9px);
  display: flex;
  flex-direction: column;
}

.bs-sec6-photo-col2 .bs-sec6-img-frame.is-tall {
  flex: 1;
  height: 100%;
  min-height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f1f5f9;
  box-shadow: none;
}

.bs-sec6-photo-col2 .bs-sec6-img-frame.is-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bs-sec6-quote-box {
  position: relative;
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 30px 24px 26px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin-top: 18px;
  border: none;
}

.bs-quote-icon-sm {
  position: absolute;
  top: -14px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin-bottom: 0;
}

.bs-quote-icon-sm img {
  width: auto;
  height: auto;
  display: block;
}

.bs-sec6-quote-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #132849;
  text-align: center;
  margin: 0;
}

.bs-sec6-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  color: #132849;
  text-transform: uppercase;
  margin: 0 0 28px 0;
}

.bs-sec6-bars-tree {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 28px;
  width: 100%;
}

.bs-sec6-bars-tree::before {
  content: "";
  position: absolute;
  left: 0;
  top: -28px;
  bottom: 26px;
  width: 1.5px;
  background-color: #cbd5e1;
}

.bs-sec6-bar-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.bs-sec6-bar-line {
  position: absolute;
  left: -28px;
  width: 28px;
  height: 1.5px;
  background-color: #cbd5e1;
}

.bs-sec6-bar-box {
  width: 100%;
  background-color: #132849;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(19, 40, 73, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.bs-sec6-bar-box:hover {
  transform: translateX(4px);
  background-color: #1c3860;
}

/* 9. Responsive Rules for Brand Story */
@media (max-width: 1200px) {
  .bs-sec1-grid {
    grid-template-columns: 1fr;
  }
  .bs-cards-row {
    width: 100%;
  }
  .bs-sec2-floating-badge {
    left: -40px;
    width: 250px;
    padding: 38px 22px;
  }
  .bs-sec3-wrap {
    margin-top: -70px;
  }
  .bs-sec3-card {
    padding: 38px 36px;
  }
}

@media (max-width: 991px) {
  .bs-sec3-wrap {
    margin-top: 30px;
    padding: 0 0 50px 0;
  }
  .bs-sec3-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 24px;
  }
  .bs-sec3-right-col {
    align-self: flex-start;
    margin-bottom: 0;
  }
  .bs-sec3-desc-text {
    max-width: 100%;
  }
  .bs-sec2-floating-badge {
    position: static;
    transform: none;
    max-width: 100%;
    margin: 20px auto 0 auto;
    left: auto;
    width: 100%;
    padding: 24px 20px;
    box-sizing: border-box;
    text-align: center;
  }
  .bs-sec2-floating-badge p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
  }
  .bs-sec2-floating-badge p br {
    display: none;
  }
  .bs-sec2-grid,
  .bs-sec4-grid,
  .bs-sec6-grid {
    grid-template-columns: 1fr;
  }
  .bs-sec4-cards-col {
    grid-template-columns: 1fr;
  }
  .bs-belief-text {
    font-size: 22px;
  }
  .bs-cards-row {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .bs-app-card.is-overlap-card {
    border: none;
  }
  .bs-sec5-badges-row {
    gap: 20px;
  }
  .bs-badge-item:not(:last-child)::after {
    display: none;
  }
  .bs-tree-branch {
    padding-left: 0;
  }
  .bs-tree-branch::before {
    display: none;
  }
  .bs-tree-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 10px;
  }
  .bs-tree-row:last-child {
    margin-bottom: 0;
  }
  .bs-tree-row::before {
    display: none;
  }
  .bs-tree-line {
    display: block;
    width: 12px;
    height: 1.5px;
    background-color: #cbd5e1;
    flex-shrink: 0;
  }
  .bs-pill-navy {
    flex: 0 0 110px;
    width: 110px;
    height: 40px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 0 6px;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
  }
  .bs-pill-white {
    flex: 1 1 0%;
    width: auto;
    min-width: 0;
    height: 40px;
    font-size: 12px;
    padding: 0 10px;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .bs-pill-white span {
    font-size: 11px;
    flex-shrink: 0;
  }
  .bs-pill-white strong {
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .bs-combined-hero-wrap {
    padding: 36px 0 36px 0;
  }
  .bs-sec1-subblock {
    padding: 0 0 20px 0;
  }
  .bs-callout-card {
    margin: 16px auto 24px auto;
    padding: 20px 16px;
  }
  .bs-sec2-floating-badge {
    margin: 16px auto 0 auto;
    padding: 22px 18px;
    border-radius: 16px;
  }
  .bs-sec3-wrap {
    padding: 24px 0 30px 0;
  }
  .bs-sec3-card {
    padding: 24px 18px;
    border-radius: 16px;
    gap: 24px;
  }
  .bs-sec4-wrap {
    padding: 24px 0 32px 0;
  }
  .bs-sec4-grid {
    gap: 20px;
  }
  .bs-belief-card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .bs-sec5-hero {
    padding: 46px 0;
  }
  .bs-sec6-wrap {
    padding: 32px 0 40px 0;
  }
  .bs-sec6-grid {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .brand-story-banner {
    padding: 44px 0;
  }
  .brand-story-banner-title {
    font-size: 22px;
  }
  .bs-combined-hero-wrap {
    padding: 28px 0 28px 0;
  }
  .bs-sec1-subblock {
    padding: 0 0 16px 0;
  }
  .bs-sec1-heading-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }
  .bs-quote-icon {
    width: 24px;
    margin-top: 3px;
  }
  .bs-cards-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .bs-app-card-title {
    font-size: 10px;
  }
  .bs-app-card-sub {
    font-size: 9px;
  }
  .bs-sec1-quote {
    font-size: 24px;
    line-height: 1.4;
  }
  .bs-quote-break-mobile {
    display: initial;
  }
  .bs-quote-break-desktop {
    display: none;
  }
  .bs-callout-text {
    font-size: 16px;
    line-height: 1.45;
  }
  .bs-callout-card {
    margin: 14px auto 20px auto;
    padding: 18px 14px;
    border-radius: 12px;
  }
  .bs-sec2-title,
  .bs-sec3-title,
  .bs-sec4-title,
  .bs-sec6-title {
    font-size: 22px;
    line-height: 1.35;
  }
  .bs-sec2-title br,
  .bs-sec4-title br,
  .bs-sec6-title br {
    display: none;
  }
  .bs-sec2-floating-badge {
    margin: 16px auto 0 auto;
    padding: 20px 16px;
    border-radius: 16px;
    width: 100%;
  }
  .bs-sec2-floating-badge p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
  }
  .bs-sec2-floating-badge p br {
    display: none;
  }
  .bs-sec3-wrap {
    padding: 20px 0 24px 0;
  }
  .bs-sec3-card {
    padding: 20px 14px;
    border-radius: 14px;
    gap: 20px;
  }
  .bs-tree-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    width: 100%;
  }
  .bs-tree-line {
    display: block;
    width: 8px;
    height: 1.5px;
    background-color: #cbd5e1;
    flex-shrink: 0;
  }
  .bs-pill-navy {
    flex: 0 0 92px;
    width: 92px;
    height: 36px;
    font-size: 11px;
    padding: 0 4px;
    border-radius: 6px;
    letter-spacing: 0;
  }
  .bs-pill-white {
    flex: 1 1 0%;
    width: auto;
    min-width: 0;
    height: 36px;
    font-size: 10.5px;
    padding: 0 6px;
    border-radius: 6px;
    gap: 3px;
  }
  .bs-pill-white span {
    font-size: 10px;
  }
  .bs-pill-white strong {
    font-size: 10.5px;
  }
  .bs-sec4-wrap {
    padding: 20px 0 28px 0;
  }
  .bs-belief-card {
    padding: 18px 14px;
  }
  .bs-belief-text {
    font-size: 16px;
  }
  .bs-sec5-hero {
    padding: 40px 0;
  }
  .bs-sec5-heading {
    font-size: 20px;
    line-height: 1.35;
  }
  .bs-sec5-sub {
    font-size: 14px;
  }
  .bs-sec5-badges-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
  }
  .bs-badge-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex: 1 1 0%;
    min-width: 0;
  }
  .bs-badge-item:not(:last-child)::after {
    display: none;
  }
  .bs-badge-icon {
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bs-badge-icon img {
    width: 100%;
    height: 100%;
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
    display: block;
  }
  .bs-badge-text {
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    word-break: normal;
  }
  .bs-sec6-wrap {
    padding: 28px 0 36px 0;
  }
  .bs-sec6-title {
    margin: 0 0 18px 0;
  }
  .bs-sec6-photos {
    flex-direction: column;
    gap: 14px;
  }
  .bs-sec6-photo-col1,
  .bs-sec6-photo-col2 {
    width: 100%;
  }
  .bs-sec6-photo-col1 .bs-sec6-img-frame {
    height: 220px;
  }
  .bs-sec6-photo-col2 .bs-sec6-img-frame.is-tall {
    height: 240px;
    min-height: auto;
  }
  .bs-sec6-bars-tree::before {
    display: none;
  }
  .bs-sec6-bar-line {
    display: none;
  }
  .bs-sec6-bars-tree {
    padding-left: 0;
    gap: 10px;
  }
  .bs-sec6-bar-box {
    padding: 12px 14px;
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 400px) {
  .bs-sec5-badges-row {
    gap: 4px;
  }
  .bs-badge-item {
    gap: 4px;
  }
  .bs-badge-icon {
    width: 24px;
    height: 24px;
  }
  .bs-badge-icon img {
    max-width: 24px;
    max-height: 24px;
  }
  .bs-badge-text {
    font-size: 9px;
    line-height: 1.2;
  }
}

/* ==========================================================================
   6. KEO DÁN ĐA NĂNG CATEGORY & PAGE
   ========================================================================== */

.keo-da-nang-page {
  background-color: #ffffff;
  color: #1e293b;
  overflow-x: hidden;
}

/* 1. Hero Header Banner */
.kdn-hero-banner {
  position: relative;
  background-color: #172d4e;
  background-image: linear-gradient(180deg, rgba(19, 40, 73, 0.88) 0%, rgba(25, 48, 85, 0.92) 100%), url('../images/archive-hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  padding: 80px 1rem;
}

.kdn-hero-title {
  color: #ffffff !important;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* Common Section Headers */
.kdn-sec-header {
  margin-bottom: 45px;
}

.kdn-sec-header.text-center {
  text-align: center;
}

.kdn-sec-header.text-left {
  text-align: left;
}

.kdn-sec-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.kdn-red-bar {
  width: 55px;
  height: 3px;
  background-color: var(--secondary, #c3252b);
  border-radius: 2px;
  margin-bottom: 20px;
}

.kdn-red-bar.center {
  margin-left: auto;
  margin-right: auto;
}

/* Common Buttons */
.kdn-btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary, #132849);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 13px 28px;
  border-radius: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(19, 40, 73, 0.18);
  text-decoration: none;
}

.kdn-btn-navy:hover {
  background-color: var(--primary-hover, #0b1a32);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(19, 40, 73, 0.28);
}

.kdn-btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary, #c3252b);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 30px;
  border-radius: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(195, 37, 43, 0.35);
  text-decoration: none;
}

.kdn-btn-red:hover {
  background-color: var(--secondary, #c3252b);
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(195, 37, 43, 0.35);
}

/* 2. SECTION 1: KEO DÁN ĐA NĂNG HERO SHOWCASE */
.kdn-hero-showcase {
  position: relative;
  width: 100%;
  min-height: 540px;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.kdn-hero-showcase-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 480px;
}

.kdn-hero-showcase-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: #ffffff;
}

.kdn-hero-showcase-bottle {
  position: absolute;
  right: 140px;
  bottom: -60px;
  top: -20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
}

.kdn-hero-bottle-img {
  height: 520px;
  max-height: 94%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
  transition: transform 0.35s ease;
}

.kdn-hero-showcase-bottle:hover .kdn-hero-bottle-img {
  transform: translateY(-8px) scale(1.02);
}

.kdn-hero-showcase-title {
  font-size: 32px;
  font-weight: 800;
  color: #ff9a00;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 14px 0;
  line-height: 1.25;
}

.kdn-hero-showcase-line {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
}

.kdn-hero-showcase-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 60px;
  height: 3px;
  background-color: #ff9a00;
  border-radius: 2px;
}

.kdn-hero-showcase-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #ffffff;
  margin: 0 0 28px 0;
  max-width: 580px;
}

.kdn-hero-showcase-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.kdn-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kdn-badge-hex {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kdn-badge-hex img {
  display: block;
}

.kdn-badge-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.kdn-badge-sep {
  width: 1px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.kdn-hero-showcase-btn-wrap {
  margin-top: 6px;
}

.kdn-hero-showcase-btn-wrap .kdn-btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #c3252b;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(195, 37, 43, 0.4);
  transition: all 0.25s ease;
  text-decoration: none;
}

.kdn-hero-showcase-btn-wrap .kdn-btn-red:hover {
  background-color: #a81c22;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(195, 37, 43, 0.5);
}

@media (max-width: 1200px) {
  .kdn-hero-showcase-bottle {
    right: 60px;
  }
  .kdn-hero-bottle-img {
    max-height: 440px;
  }
}

@media (max-width: 900px) {
  .kdn-hero-showcase {
    padding: 40px 0;
    min-height: auto;
    background-position: 70% center;
  }
  .kdn-hero-showcase-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    min-height: auto;
  }
  .kdn-hero-showcase-content {
    max-width: 100%;
    background: rgba(19, 40, 73, 0.92);
    padding: 26px 18px;
    border-radius: 14px;
    backdrop-filter: blur(6px);
  }
  .kdn-hero-showcase-bottle {
    position: static;
    margin-top: 10px;
  }
  .kdn-hero-bottle-img {
    max-height: 340px;
  }
  .kdn-hero-showcase-title {
    font-size: 22px;
  }
  .kdn-hero-showcase-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .kdn-badge-sep {
    display: none;
  }
}

/* 2. SECTION 1: GIẢI PHÁP KEO SILLICONE & VẬT LIỆU XÂY DỰNG */
.kdn-sec1-wrap {
  padding: 60px 0 50px 0;
  background-color: #f8fafc;
}

.kdn-sec1-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background-color: #f1f5f9;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
  min-height: 480px;
  display: flex;
  align-items: center;
}

.kdn-sec1-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 48px;
}

.kdn-sec1-heading {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  color: #132849;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.kdn-sec1-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 32px 0;
}

.kdn-sec1-features {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.kdn-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kdn-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.kdn-feature-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.kdn-feature-name {
  font-size: 13px;
  font-weight: 700;
  color: #132849;
  letter-spacing: 0.02em;
}

.kdn-feature-sep {
  width: 1px;
  height: 32px;
  background-color: #cbd5e1;
}

/* 3. SECTION 2: SẢN PHẨM KEO DÁN ĐA NĂNG CỦA CHÚNG TÔI */
.kdn-sec2-wrap {
  padding: 70px 0 60px 0;
  background-color: #ffffff;
}

.kdn-showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.kdn-product-photo-card {
  position: relative;
  background-color: #f1f5f9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.kdn-product-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.kdn-product-photo-card:hover .kdn-product-photo-img {
  transform: scale(1.02);
}

/* Floating bottom pill inside photo card */
.kdn-photo-floating-tag {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.kdn-photo-tag-title {
  font-size: 15px;
  font-weight: 800;
  color: #132849;
  margin: 0;
  letter-spacing: 0.02em;
}

.kdn-photo-tag-sub {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0 0;
  font-weight: 500;
}

.kdn-photo-tag-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #132849;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.kdn-photo-tag-btn:hover {
  background-color: #c3252b;
  color: #ffffff;
}

.kdn-product-main-name {
  font-size: 26px;
  font-weight: 800;
  color: #132849;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.kdn-product-main-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 30px 0;
}

.kdn-sec2-features {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.kdn-sec2-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kdn-sec2-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.kdn-sec2-feat-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.kdn-sec2-feat-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #132849;
  line-height: 1.35;
}

.kdn-sec2-feat-sep {
  width: 1px;
  height: 32px;
  background-color: #cbd5e1;
}

/* 4. SECTION 3: CTA CONSULTATION BANNER */
.kdn-sec3-cta-wrap {
  padding: 0 0 40px 0;
  background-color: #f2f4f7;
}

.kdn-cta-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #162d4e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 12px 35px rgba(19, 40, 73, 0.2);
}

.kdn-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 40, 73, 0.72);
  pointer-events: none;
  z-index: 1;
}

.kdn-cta-body {
  position: relative;
  z-index: 2;
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  border-radius: 8px;
}

.kdn-cta-title {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}

/* 5. SECTION 4: CÂU HỎI THƯỜNG GẶP */
.kdn-sec4-faq-wrap {
  padding: 50px 0 40px 0;
  background-color: #f2f4f7;
}

.kdn-faq-box {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

@media (max-width: 768px) {
  .kdn-sec4-faq-wrap {
    padding: 30px 0 30px 0;
  }
  .kdn-faq-box {
    padding: 0;
  }
}

/* 6. SECTION 5: XEM THÊM SẢN PHẨM KHÁC */
.kdn-sec5-related-wrap {
  padding: 40px 0 80px 0;
  background-color: #ffffff;
}

.kdn-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kdn-product-photo-card.is-small {
  border-radius: 16px;
  aspect-ratio: 4 / 5;
}

.kdn-product-photo-card.is-small .kdn-product-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kdn-product-photo-card.is-small .kdn-photo-floating-tag {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
}

.kdn-product-photo-card.is-small .kdn-photo-tag-title {
  font-size: 14px;
}

.kdn-product-photo-card.is-small .kdn-photo-tag-sub {
  font-size: 11px;
}

/* ==========================================================================
   KEO DÁN ĐA NĂNG RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .kdn-sec1-card {
    min-height: auto;
    background-position: center;
  }
  .kdn-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .kdn-showcase-photo-col {
    max-width: 540px;
    margin: 0 auto;
  }
  .kdn-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .kdn-hero-banner {
    padding: 50px 1rem;
  }
  .kdn-sec1-wrap {
    padding: 30px 0 24px 0;
  }
  .kdn-sec2-wrap {
    padding: 30px 0 28px 0;
  }
  .kdn-sec3-cta-wrap {
    padding: 0 0 40px 0;
  }
  .kdn-sec4-faq-wrap {
    padding: 35px 0 35px 0;
  }
  .kdn-sec5-related-wrap {
    padding: 30px 0 44px 0;
  }
  .kdn-hero-title {
    font-size: 24px;
  }
  .kdn-sec-title {
    font-size: 22px;
  }
  .kdn-sec1-card {
    border-radius: 14px;
  }
  .kdn-sec1-content {
    padding: 32px 20px;
  }
  .kdn-sec1-heading {
    font-size: 20px;
  }
  .kdn-product-main-name {
    font-size: 22px;
  }
  .kdn-sec1-features,
  .kdn-sec2-features {
    gap: 12px;
  }
  .kdn-feature-sep,
  .kdn-sec2-feat-sep {
    display: none;
  }
  .kdn-cta-body {
    padding: 32px 20px;
  }
  .kdn-cta-title {
    font-size: 18px;
  }
  .kdn-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   KEO SILICONE SEALANT PAGE STYLES (KSS)
   ========================================================================== */

/* Section 2: 3-Product Grid */
.kss-sec2-wrap {
  padding: 50px 0 20px 0;
  background-color: #ffffff;
}

.kss-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px;
}

@media (max-width: 1024px) {
  .kss-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  .kss-sec2-wrap {
    padding: 35px 0 15px 0;
  }
  .kss-products-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Section 3: 4 Feature Badges 2x2 Grid + Right Info */
.kss-sec3-wrap {
  padding: 25px 0 35px 0;
  background-color: #ffffff;
}

.kss-sec3-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kss-sec3-features-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.kss-feature-badge-card {
  background-color: #F5F5F5;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kss-feature-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.kss-hex-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kss-feature-icon-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.kss-badge-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kss-badge-title {
  font-size: 20px;
  font-weight: 700;
  color: #132849;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.kss-badge-sub {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  font-weight: 500;
}

.kss-sec3-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kss-sec3-heading {
  font-size: 26px;
  font-weight: 800;
  color: #132849;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 16px 0;
  letter-spacing: 0.01em;
}

.kss-sec3-info-col .kdn-red-bar {
  width: 50px;
  height: 3px;
  background-color: #c3252b;
  border-radius: 2px;
  margin: 0 0 18px 0;
  border: none;
}

.kss-sec3-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
  max-width: 490px;
}

/* Section 4: Horizontal Product Comparison Rows */
.kss-sec4-wrap {
  padding: 35px 0 60px 0;
  background-color: #f2f4f7;
}

.kss-comparison-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kss-compare-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: 190px 1fr 260px;
  gap: 32px;
  align-items: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.kss-compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.kss-compare-img-box {
  width: 190px;
  height: 220px;
  background-color: #f8fafc;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
}

.kss-compare-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.35s ease;
}

.kss-compare-card:hover .kss-compare-img-box img {
  transform: scale(1.04);
}

.kss-compare-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kss-compare-name {
  font-size: 28px;
  font-weight: 700;
  color: #132849;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  letter-spacing: 0.02em;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.kss-compare-card:hover .kss-compare-name {
  color: #c3252b;
}

.kss-compare-sub {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.kss-compare-line {
  width: 44px;
  height: 2.5px;
  background-color: #c3252b;
  margin: 0 0 14px 0;
  border-radius: 2px;
}

.kss-compare-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.kss-compare-specs-box {
  border-left: 1px solid #e5e7eb;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kss-spec-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kss-spec-icon-box {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kss-spec-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kss-spec-label {
  font-size: 14px;
  font-weight: 800;
  color: #132849;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Section 7: Xem thêm sản phẩm khác */
.kss-sec7-related-wrap {
  padding: 50px 0 80px 0;
  background-color: #ffffff;
}

.kss-sec7-related-wrap.product-related-section {
  margin-top: 0;
  margin-bottom: 0;
}

/* Responsive for Keo Silicone */
@media (max-width: 1024px) {
  .kss-sec3-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .kss-compare-card {
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 10px;
  }
  .kss-compare-img-box {
    width: 150px;
    height: 200px;
  }
  .kss-compare-specs-box {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .kss-sec2-wrap {
    padding: 30px 0 28px 0;
  }
  .kss-sec3-wrap {
    padding: 28px 0 30px 0;
  }
  .kss-sec4-wrap {
    padding: 30px 0 35px 0;
  }
  .kss-sec7-related-wrap {
    padding: 30px 0 44px 0;
  }
  .kss-sec3-features-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .kss-sec3-heading {
    font-size: 26px;
  }
  .kss-compare-card {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 16px;
  }
  .kss-compare-img-box {
    width: 100%;
    height: 220px;
  }
  .kss-compare-name {
    font-size: 20px;
  }
  .kss-compare-specs-box {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
  }
  .kss-related-grid {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .kss-sec3-features-col {
    gap: 8px;
  }
  .kss-feature-badge-card {
    padding: 12px 10px;
    gap: 8px;
  }
  .kss-badge-title {
    font-size: 14px;
  }
  .kss-badge-sub {
    font-size: 12px;
  }
  .kss-compare-specs-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .kss-spec-label {
    font-size: 12.5px;
  }
}

/* ==========================================================================
   HOMEPAGE (TRANG CHỦ) STYLES
   ========================================================================== */

body.home {
  background-color: #ffffff;
}

body.home #page {
  background-color: #ffffff;
}

.arova-homepage-wrap {
  background-color: #F5F5F5;
  color: #1e293b;
  overflow-x: clip;
}

/* 1. SECTION 1: HERO SLIDER BANNER */
.home-hero-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2816 / 1350;
  min-height: 540px;
  padding: 0;
  display: flex;
  align-items: center;
}

.home-hero-wrap .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.home-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 2816 / 1350;
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  pointer-events: none;
  z-index: 0;
}

.home-hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: none;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.home-hero-sub-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 14px;
}

.home-hero-sub {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--heading-color, #132849);
}

.home-hero-red-line {
  width: 42px;
  height: 3px;
  background-color: var(--secondary, #c3252b);
  border-radius: 2px;
  margin-top: 6px;
}

.home-hero-heading {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading-color, #132849);
  text-transform: uppercase;
  margin: 0 0 18px 0;
  letter-spacing: 0.01em;
}

.home-hero-heading .text-red {
  color: var(--secondary, #c3252b);
}

.home-hero-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-main, #334155);
  font-weight: 600;
  margin: 0 0 34px 0;
}

.home-hero-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.home-hero-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.home-badge-img-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.home-hero-badge-item:hover .home-badge-img-wrap {
  transform: translateY(-2px);
}

.home-badge-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-badge-hex {
  position: relative;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-badge-hex-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--primary, #132849);
}

.home-badge-inner-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #132849);
}

.home-badge-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.home-badge-sep {
  width: 1px;
  height: 54px;
  background-color: var(--primary, #132849);
  opacity: 0.75;
  flex-shrink: 0;
}

.home-hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

.home-btn-red {
  background-color: var(--secondary, #c3252b);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(195, 37, 43, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.home-btn-red:hover {
  background-color: var(--secondary, #c3252b);
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(195, 37, 43, 0.35);
}

.home-btn-outline {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary, #132849) !important;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.home-btn-outline:hover {
  border-color: var(--primary, #132849);
  color: var(--secondary, #c3252b) !important;
  transform: translateY(-2px);
}

.home-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.home-slider-dot {
  width: 32px;
  height: 3.5px;
  border-radius: 2px;
  background-color: #475569;
  transition: all 0.3s ease;
  display: block;
}

.home-slider-dot.active {
  width: 44px;
  background-color: #c3252b;
}

/* 2. SECTION 2: GIẢI PHÁP VLXD (FULL-WIDTH) */
.home-sec2-wrap {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: #F5F5F5;
  min-height: 630px;
  padding: 85px 0 90px 0;
  display: flex;
  align-items: center;
}

.home-sec2-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.home-sec2-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff !important;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  max-width: 600px;
}

.home-sec2-content .kdn-red-bar {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border-radius: 0;
  margin: 18px 0 24px 0;
}

.home-sec2-content .kdn-red-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 95px;
  height: 3px;
  background-color: var(--secondary, #c3252b);
  border-radius: 2px;
}

.home-sec2-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #ffffff !important;
  margin: 0 0 34px 0;
  max-width: 620px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.home-sec2-features {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 38px;
  flex-wrap: nowrap;
}

.home-sec2-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.home-sec2-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-sec2-feature-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) !important;
}

.home-sec2-feature-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.home-sec2-feature-sep {
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.4) !important;
  flex-shrink: 0;
}

.home-sec2-btn-wrap {
  margin-top: 4px;
}

.home-sec2-btn-wrap .kdn-btn-navy {
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
}

/* 3. SECTION 3: LUÔN ĐỒNG HÀNH */
.home-sec3-wrap {
  padding: 80px 0 85px 0;
  background-color: #ffffff !important;
}

.home-sec3-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.home-sec3-photos {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.home-sec3-photo-item.photo-1 {
  width: calc(50% - 9px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-sec3-photo-item.photo-1 .home-photo-frame {
  height: 290px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.home-sec3-photo-item.photo-1 .home-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-sec3-photo-item.photo-2 {
  width: calc(50% - 9px);
  display: flex;
  flex-direction: column;
}

.home-sec3-photo-item.photo-2 .home-photo-frame {
  flex: 1;
  height: 100%;
  min-height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.home-sec3-photo-item.photo-2 .home-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-sec3-quote-card {
  position: relative;
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 30px 24px 26px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin-top: 18px;
}

.home-quote-icon {
  position: absolute;
  top: -14px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.home-quote-icon img {
  width: auto;
  height: auto;
  display: block;
}

.home-quote-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--heading-color, #132849);
  line-height: 1.45;
  text-align: center;
  margin: 0;
}

.home-sec3-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 580px;
}

.home-sec3-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  letter-spacing: 0.01em;
}

.home-sec3-right .kdn-red-bar {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 1px;
  background-color: #e2e8f0;
  border-radius: 0;
  margin: 18px 0 24px 0;
}

.home-sec3-right .kdn-red-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 75px;
  height: 3px;
  background-color: var(--secondary, #c3252b);
  border-radius: 2px;
}

.home-sec3-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-main, #334155);
  margin: 0 0 34px 0;
  max-width: 580px;
}

.home-sec3-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: nowrap;
}

.home-sec3-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.home-sec3-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-sec3-badge-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-sec3-badge-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.home-sec3-badge-sep {
  width: 1px;
  height: 36px;
  background-color: #cbd5e1;
  flex-shrink: 0;
  margin: 0 4px;
}

.home-sec3-btn-wrap {
  margin-top: 0;
}

.home-sec3-btn-wrap .kdn-btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  border-radius: 4px;
  background-color: var(--primary, #132849);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.home-sec3-btn-wrap .kdn-btn-navy:hover {
  background-color: var(--primary-hover, #0b1a32);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(19, 40, 73, 0.28);
}

/* 4. SECTION 4: SẢN PHẨM CỦA CHÚNG TÔI */
.home-sec4-wrap {
  padding: 80px 0 85px 0;
  position: relative;
  background-color: #0b1a30;
  background-image: 
    linear-gradient(180deg, rgba(11, 26, 48, 0.76) 0%, rgba(13, 31, 58, 0.82) 100%),
    url('../images/products-sec-bg-v3.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-sec4-wrap .kdn-sec-header {
  margin-bottom: 45px;
}

.home-sec4-wrap .kdn-sec-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.home-sec4-wrap .kdn-red-bar {
  width: 70px;
  height: 3.5px;
  background-color: var(--secondary, #c3252b);
  border-radius: 2px;
  margin: 0 auto;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-product-card {
  position: relative;
  background-color: transparent !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.home-product-card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4));
}

.home-product-thumb {
  width: 100%;
  aspect-ratio: 7 / 10;
  overflow: hidden;
  border-radius: 16px;
  background-color: transparent !important;
  display: block;
}

.home-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-product-card:hover .home-product-thumb img {
  transform: scale(1.05);
}

.home-product-card .kdn-photo-floating-tag {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  border: none;
  z-index: 5;
}

.home-product-card .kdn-photo-tag-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--heading-color, #132849);
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.home-product-card .kdn-photo-tag-title a {
  color: var(--heading-color, #132849);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-product-card .kdn-photo-tag-title a:hover {
  color: var(--secondary, #c3252b);
}

.home-product-card .kdn-photo-tag-sub {
  font-size: 12px;
  color: var(--text-main, #64748b);
  margin: 0;
  line-height: 1.35;
  font-weight: 500;
}

.home-product-card .kdn-photo-tag-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #edf2f7;
  color: var(--primary, #132849);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.home-product-card .kdn-photo-tag-btn:hover {
  background-color: var(--secondary, #c3252b);
  color: #ffffff !important;
}

.home-product-card .kdn-photo-tag-btn svg {
  width: 14px;
  height: 14px;
}

/* 5. CTA BANNER (DƯỚI SẢN PHẨM) */
.home-product-cta-wrap {
  padding: 55px 0 40px 0;
  background-color: #ffffff;
  position: relative;
  width: 100%;
}

.home-sec5-wrap {
  padding: 20px 0 80px 0;
  background-color: #F5F5F5;
}

/* ==========================================================================
   HOMEPAGE SECTION 5: GIẢI PHÁP CHO MỌI CÔNG TRÌNH
   ========================================================================== */
.home-projects-wrap {
  padding: 60px 0 50px 0;
  background-color: #F5F5F5;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.home-projects-header {
  margin-bottom: 28px;
  text-align: left;
}

.home-projects-desc {
  max-width: 620px;
  margin: 12px 0 0 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main, #64748b);
}

.home-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.home-project-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 220px;
  aspect-ratio: 480 / 215;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.home-project-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
}

.home-project-card:hover .home-project-card-bg {
  transform: scale(1.06);
}

.home-project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 49, 0.90) 0%, rgba(13, 27, 49, 0.65) 45%, rgba(13, 27, 49, 0.12) 85%);
  z-index: 2;
}

.home-project-card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
}

.home-project-icon-wrap {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.home-project-icon-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-project-svg {
  width: 36px;
  height: 36px;
  stroke: #ffffff;
}

.home-project-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.home-project-card-sub {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 10px 0;
}

.home-project-card-bar {
  width: 44px;
  height: 3px;
  background-color: var(--secondary, #c3252b);
  border-radius: 2px;
  margin: 0;
}

/* Horizontal Navy Banner with 4 Badges */
.home-projects-navy-bar {
  background-color: var(--primary, #132849);
  border-radius: 8px;
  padding: 26px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
  box-shadow: none !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.home-pbar-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
}

.home-pbar-icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-pbar-icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-pbar-text {
  flex: 1;
  min-width: 0;
}

.home-pbar-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 5px 0;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.home-pbar-desc {
  font-size: 12.5px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.home-pbar-sep {
  width: 1px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* ==========================================================================
   HOMEPAGE SECTION 6: KIẾN THỨC & HOẠT ĐỘNG
   ========================================================================== */
.home-news-wrap {
  padding: 40px 0 65px 0;
  background-color: #F5F5F5;
}

.home-news-header {
  margin-bottom: 24px;
}

.home-news-header .kdn-sec-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  margin-bottom: 8px;
  line-height: 1.25;
}

.home-news-header .kdn-red-bar {
  width: 48px;
  height: 3px;
  background-color: var(--secondary, #c3252b);
  border-radius: 2px;
  margin: 0;
}

.home-news-grid {
  display: grid;
  grid-template-columns: 1.18fr 1.88fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Big Featured Card */
.home-news-featured {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  box-shadow: none;
  border: none;
}

.home-news-feat-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background-color: #f1f5f9;
}

.home-news-feat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.home-news-featured:hover .home-news-feat-thumb img {
  transform: scale(1.05);
}

.home-news-feat-body {
  padding: 14px 4px 6px 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-news-feat-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.home-news-feat-title a {
  color: var(--heading-color, #132849);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-news-feat-title a:hover {
  color: var(--secondary, #c3252b);
}

.home-news-feat-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-main, #64748b);
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Shared Red Bar & Meta for News Cards */
.home-news-red-bar {
  position: relative;
  width: 100%;
  height: 1.5px;
  background-color: #e2e8f0;
  border-radius: 1px;
  margin-bottom: 10px;
}

.home-news-red-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 100%;
  background-color: var(--secondary, #c3252b);
  border-radius: 1px;
}

.home-news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: #94a3b8;
}

.home-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.home-meta-item i {
  color: #94a3b8;
  font-size: 11.5px;
}

/* Column 2: Stacked items */
.home-news-stacked {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  height: 100%;
}

.home-news-stacked-item {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border-radius: 5px;
  padding: 10px;
  height: 100%;
  align-items: center;
  border: none;
  box-shadow: none;
  flex: 1;
}

.home-news-stacked-thumb {
  width: 145px;
  height: 100%;
  align-self: stretch;
  min-height: 90px;
  flex-shrink: 0;
  border-radius: 5px;
  overflow: hidden;
  display: block;
  background-color: #f1f5f9;
}

.home-news-stacked-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.home-news-stacked-item:hover .home-news-stacked-thumb img {
  transform: scale(1.05);
}

.home-news-stacked-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-news-stacked-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-stacked-title a {
  color: var(--heading-color, #132849);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-news-stacked-title a:hover {
  color: var(--secondary, #c3252b);
}

.home-news-stacked-body .home-news-red-bar {
  margin-bottom: 8px;
}

.home-news-stacked-body .home-news-red-bar::before {
  width: 36px;
}

/* Column 3: Sidebar Box */
.home-news-sidebar {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px 22px;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-self: start;
}

.home-news-sidebar-header {
  margin-bottom: 16px;
}

.home-news-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color, #132849);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 10px 0;
}

.home-news-sidebar-line {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #e2e8f0;
  border-radius: 1px;
}

.home-news-sidebar-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 100%;
  background-color: var(--secondary, #c3252b);
  border-radius: 1px;
}

.home-news-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.home-news-cat-list li {
  border: none;
  padding: 0;
  margin: 0;
}

.home-news-cat-list li a {
  display: block;
  padding: 0;
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.home-news-cat-list li a:hover {
  color: var(--secondary, #c3252b);
}

.home-news-cat-num {
  font-weight: 500;
  color: #475569;
  margin-left: 2px;
}

/* ==========================================================================
   HOMEPAGE FULL RESPONSIVE SYSTEM (1200px, 1024px, 768px, 480px)
   ========================================================================== */
@media (max-width: 1199.98px) {
  .home-hero-wrap {
    min-height: 540px;
    padding: 60px 0 50px 0;
  }
  .home-hero-heading {
    font-size: 38px;
  }
  .home-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .home-news-grid {
    grid-template-columns: 1fr 1fr 280px;
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  /* Section 1: Hero Banner */
  .home-hero-wrap {
    aspect-ratio: auto;
    min-height: 540px;
    padding: 60px 0 50px 0;
  }
  .home-hero-bg {
    background-position: 80% center;
  }
  .home-hero-wrap::before {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(19, 40, 73, 0.85) 0%, rgba(13, 27, 49, 0.92) 100%) !important;
    pointer-events: none;
    z-index: 1;
  }
  .home-hero-sub {
    color: #ffffff !important;
  }
  .home-hero-heading {
    font-size: 32px;
    color: #ffffff !important;
  }
  .home-hero-heading .text-red {
    color: #ff4d4f !important;
  }
  .home-hero-desc {
    color: rgba(255, 255, 255, 0.9) !important;
  }
  .home-hero-badges {
    flex-wrap: wrap;
    gap: 14px;
  }
  .home-badge-label {
    color: #ffffff !important;
  }
  .home-badge-img-wrap img {
    filter: brightness(0) invert(1) !important;
  }
  .home-badge-sep {
    display: none;
  }
  .home-btn-outline {
    background-color: #ffffff !important;
    color: var(--primary, #132849) !important;
    border-color: #ffffff !important;
  }

  /* Section 2: Keo Silicone & VLXD */
  .home-sec2-wrap {
    min-height: 480px;
    padding: 50px 0;
    background-position: 70% center;
  }
  .home-sec2-heading {
    font-size: 26px;
  }
  .home-sec2-features {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .home-sec2-feature-sep {
    display: none;
  }

  /* Section 3: Luôn đồng hành */
  .home-sec3-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .home-sec3-photos {
    max-width: 640px;
    margin: 0 auto;
  }
  .home-sec3-badge-sep {
    display: none;
  }

  /* Section 4: Sản phẩm */
  .home-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Section 5: Giải pháp công trình */
  .home-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .home-project-card {
    aspect-ratio: auto;
    min-height: 200px;
    padding: 22px 20px;
  }
  .home-projects-navy-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 24px 22px;
  }
  .home-pbar-sep {
    display: none;
  }
  .home-pbar-badge {
    padding: 0;
  }
  .home-pbar-title {
    white-space: normal;
  }

  /* Section 6: Kiến thức & Hoạt động */
  .home-news-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .home-news-sidebar {
    grid-column: span 2;
  }
  .home-news-cat-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 767px) {
  /* Section 1: Hero Banner (Dưới 768px: Mobile mode) */
  .home-hero-wrap {
    min-height: auto;
    padding: 110px 0 80px 0;
  }
  .home-hero-bg {
    background-position: 85% center;
  }
  .home-hero-wrap::before {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(19, 40, 73, 0.85) 0%, rgba(13, 27, 49, 0.92) 100%) !important;
    pointer-events: none;
    z-index: 1;
  }
  .home-hero-sub {
    font-size: 15px;
    letter-spacing: 0.05em;
  }
  .home-hero-heading {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  .home-hero-desc {
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
  }
  .home-hero-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
    margin-bottom: 28px;
  }
  .home-hero-badge-item {
    width: 100%;
    gap: 10px;
  }
  .home-badge-img-wrap {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  .home-badge-label {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
  }
  .home-hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .home-btn-red,
  .home-btn-outline {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px;
  }

  /* Section 2: Keo Silicone & VLXD */
  .home-sec2-wrap {
    min-height: auto;
    padding: 50px 0 46px 0;
    background-image: none !important;
    background-color: #F5F5F5 !important;
  }
  .home-sec2-content {
    max-width: 100%;
  }
  .home-sec2-heading {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
    color: var(--heading-color, #132849) !important;
    text-shadow: none !important;
  }
  .home-sec2-content .kdn-red-bar {
    background-color: #e2e8f0 !important;
  }
  .home-sec2-desc {
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 28px;
    color: var(--text-main, #475569) !important;
    text-shadow: none !important;
  }
  .home-sec2-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    margin-bottom: 30px;
    padding: 0;
  }
  .home-sec2-feature-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    gap: 10px;
    min-width: 0;
  }
  .home-sec2-feature-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }
  .home-sec2-feature-icon img {
    filter: none !important;
  }
  .home-sec2-feature-name {
    font-size: 13px;
    font-weight: 700;
    white-space: normal;
    line-height: 1.25;
    word-break: break-word;
    color: var(--heading-color, #132849) !important;
    text-shadow: none !important;
  }
  .home-sec2-btn-wrap .kdn-btn-navy {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px;
  }

  /* Section 3: Luôn đồng hành */
  .home-sec3-wrap {
    padding: 50px 0;
  }
  .home-sec3-photos {
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
  }
  .home-sec3-photo-item.photo-1,
  .home-sec3-photo-item.photo-2 {
    width: 100%;
    flex: none;
  }
  .home-sec3-photo-item.photo-1 .home-photo-frame {
    height: 260px;
  }
  .home-sec3-photo-item.photo-2 .home-photo-frame {
    height: 270px;
    min-height: auto;
  }
  .home-sec3-quote-card {
    position: relative;
    left: 0;
    bottom: 0;
    width: auto;
    margin: -35px 12px 0 12px;
    padding: 20px 22px;
    z-index: 2;
  }
  .home-quote-text {
    font-size: 15px;
    line-height: 1.6;
  }
  .home-sec3-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
  }
  .home-sec3-desc {
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 26px;
  }
  .home-sec3-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    margin-bottom: 24px;
  }
  .home-sec3-badge-item {
    width: 100%;
    min-width: 0;
    gap: 10px;
    align-items: center;
  }
  .home-sec3-badge-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
  .home-sec3-badge-text {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
  }
  .home-sec3-badge-sep {
    display: none !important;
  }
  .home-sec3-btn-wrap .kdn-btn-navy {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px;
  }

  /* Section 4: Sản phẩm */
  .home-sec4-wrap {
    padding: 50px 0 36px 0;
  }
  .home-sec4-wrap .kdn-sec-title {
    font-size: 28px;
    font-weight: 800;
  }
  .home-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-product-card {
    border-radius: 16px;
  }
  .home-product-thumb img {
    aspect-ratio: 320 / 350;
  }
  .kdn-photo-floating-tag {
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 14px 16px;
  }
  .kdn-photo-tag-title {
    font-size: 17px;
    font-weight: 700;
  }
  .kdn-photo-tag-sub {
    font-size: 13px;
  }
  .home-product-cta-wrap {
    margin-top: 32px;
  }
  .kdn-cta-card {
    padding: 36px 24px;
    background-attachment: scroll !important;
  }
  .kdn-cta-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .kdn-cta-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
  }
  .kdn-cta-btn-wrap {
    width: 100%;
  }
  .kdn-cta-btn-wrap .kdn-btn-red,
  .core-values-cta-btn {
    width: auto;
    max-width: 100%;
    display: inline-flex;
    justify-content: center;
    padding: 12px 24px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
    border-radius: 6px;
  }

  /* Section 5: Giải pháp công trình */
  .home-projects-wrap {
    padding: 35px 0 45px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .home-projects-wrap .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  .home-projects-header {
    margin-bottom: 24px;
  }
  .home-projects-header .kdn-sec-title {
    font-size: 26px;
    font-weight: 800;
  }
  .home-projects-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 10px;
    max-width: 100%;
    word-break: break-word;
  }
  .home-projects-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
    margin-bottom: 22px !important;
    box-sizing: border-box !important;
  }
  .home-project-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    aspect-ratio: auto;
    min-height: 220px;
    padding: 22px 18px;
    border-radius: 10px;
    overflow: hidden;
  }
  .home-project-card-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .home-project-card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .home-project-card-sub {
    font-size: 13.5px;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .home-projects-navy-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 22px 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px;
  }
  .home-pbar-badge {
    padding: 0;
    gap: 14px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .home-pbar-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  .home-pbar-text {
    flex: 1;
    min-width: 0;
  }
  .home-pbar-title {
    font-size: 14.5px;
    font-weight: 700;
    white-space: normal !important;
    word-break: break-word;
  }
  .home-pbar-desc {
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
  }
  .home-pbar-sep {
    display: none !important;
  }

  /* Section 6: Kiến thức & Hoạt động */
  .home-news-wrap {
    padding: 22px 0 50px 0;
  }
  .home-news-wrap .kdn-sec-title {
    font-size: 28px;
    font-weight: 800;
  }
  .home-news-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home-news-sidebar {
    grid-column: span 1;
    padding: 24px 20px;
    border-radius: 12px;
  }
  .home-news-sidebar-title {
    font-size: 18px;
    font-weight: 800;
  }
  .home-news-cat-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .home-news-cat-item {
    font-size: 14.5px;
    padding: 12px 14px;
  }
  .home-news-feat-thumb {
    height: 240px;
  }
  .home-news-feat-body {
    padding: 20px 18px 22px;
  }
  .home-news-feat-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
  }
  .home-news-feat-desc {
    font-size: 14.5px;
    line-height: 1.6;
  }
  .home-news-stacked-item {
    padding: 14px 12px;
    gap: 14px;
  }
  .home-news-stacked-thumb {
    width: 110px;
    height: 100%;
    align-self: stretch;
    min-height: 85px;
    flex: 0 0 110px;
  }
  .home-news-stacked-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  /* Minimal adjustments for narrow phones (no drastic font shrinking) */
  .home-hero-heading {
    font-size: 26px;
  }
  .home-sec2-heading,
  .home-sec3-title,
  .home-sec4-wrap .kdn-sec-title,
  .home-projects-header .kdn-sec-title,
  .home-news-wrap .kdn-sec-title {
    font-size: 24px;
  }
  .home-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kdn-photo-floating-tag {
    padding: 12px 14px;
  }
  .kdn-photo-tag-title {
    font-size: 16px;
  }
  .kdn-photo-tag-sub {
    font-size: 12.5px;
  }
  .home-project-card {
    min-height: 200px;
    padding: 20px 16px;
  }
  .home-project-card-title {
    font-size: 18px;
  }
  .home-projects-navy-bar {
    padding: 20px 16px !important;
  }
}

/* ==========================================================================
   Project Detail (single-cong_trinh.php) & Parallax Banner Styles
   ========================================================================== */
.project-hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-color: #132849;
}

.project-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 40, 73, 0.72) 0%, rgba(19, 40, 73, 0.90) 100%);
  pointer-events: none;
}

.project-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.project-hero-content {
  padding: 55px 0 65px 0;
  max-width: 900px;
  color: #ffffff;
}

.project-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.project-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-hero-breadcrumb a:hover {
  color: #ffffff;
}

.project-hero-breadcrumb .sep {
  opacity: 0.5;
  font-size: 10px;
}

.project-hero-breadcrumb .current {
  color: #ffffff;
  font-weight: 600;
}

.project-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(195, 37, 43, 0.25);
  border: 1px solid rgba(195, 37, 43, 0.45);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: #ff8a8f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.project-hero-title {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 14px 0;
  letter-spacing: 0.01em;
}

.project-hero-red-bar {
  width: 56px;
  height: 4px;
  background: #c3252b;
  border-radius: 2px;
  margin-bottom: 16px;
}

.project-hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

/* Project Single Body Container */
.project-single-body {
  background-color: #f5f5f5;
  padding: 40px 0 60px 0;
}

/* Quick Info Box & Separated White Section Cards (30px gap) */
.project-section-card {
  margin-bottom: 30px !important;
  transition: all 0.2s ease;
}

.project-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px !important;
}

.project-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px !important;
}

.project-cta-wrap {
  margin-bottom: 35px !important;
}

.project-related-wrap {
  margin-top: 35px !important;
  padding-bottom: 20px;
}

.project-related-head {
  margin-bottom: 24px;
}

.project-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-quick-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #132849;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  text-transform: uppercase;
}

.project-header-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.project-quick-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  align-items: start;
}

.project-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.project-info-icon {
  flex-shrink: 0;
}

.project-info-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.project-info-val {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #132849;
  line-height: 1.45;
}

.project-info-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.project-product-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #132849;
  text-decoration: none;
  transition: all 0.2s ease;
}

.project-product-pill img {
  width: 14px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.project-product-pill:hover {
  border-color: #c3252b;
  color: #c3252b;
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(195, 37, 43, 0.1);
}

/* Consultation Banner CTA */
.project-cta-banner {
  background: linear-gradient(135deg, #132849 0%, #1e3a64 100%);
  border-radius: 16px;
  padding: 32px 36px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.project-cta-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #ffffff;
}

.project-cta-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
  max-width: 620px;
}

.project-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.project-cta-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.project-cta-btn-phone:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.project-cta-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #c3252b;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(195, 37, 43, 0.35);
}

.project-cta-btn-main:hover {
  background: #ab1f24;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(195, 37, 43, 0.45);
}

/* Related Projects (Matches Home Project Cards) */
.project-related-home-card {
  min-height: 220px;
  aspect-ratio: auto;
  padding: 22px 20px;
}

@media (max-width: 991px) {
  .project-related-home-card {
    min-height: 200px;
    padding: 20px 18px;
  }
  .project-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .project-single-body {
    padding: 24px 0 40px 0;
  }
  .project-info-card {
    padding: 20px 18px;
    margin-bottom: 24px !important;
  }
  .project-content-card {
    padding: 24px 20px;
    margin-bottom: 24px !important;
  }
  .project-cta-wrap {
    margin-bottom: 24px !important;
  }
  .project-related-wrap {
    margin-top: 24px !important;
  }
  .project-related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-hero-banner {
    min-height: 320px;
  }
  .project-hero-title {
    font-size: 24px;
  }
  .project-hero-content {
    padding: 35px 0 45px 0;
  }
  .project-cta-banner {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .project-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .project-cta-btn-phone,
  .project-cta-btn-main {
    width: 100%;
    justify-content: center;
  }
}

/* Applied Product Card inside Single Project */
.project-applied-product-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 36px;
  transition: all 0.25s ease;
}

.project-applied-product-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(19, 40, 73, 0.05);
}

.project-applied-product-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.project-applied-product-thumb {
  width: 90px;
  height: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 8px;
}

.project-applied-product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.project-applied-product-content {
  flex: 1;
  min-width: 0;
}

.project-applied-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #c3252b;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.project-applied-title {
  font-size: 20px;
  font-weight: 800;
  color: #132849;
  text-transform: uppercase;
  margin: 0 0 2px 0;
}

.project-applied-sub {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.project-applied-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 16px 0;
}

.project-applied-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--primary, #132849);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.project-applied-btn:hover {
  background: #c3252b;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .project-applied-product-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================================================
   HOMEPAGE HERO BANNER ULTRA-WIDE RESPONSIVE SYSTEM (Screens > 1800px)
   - .home-hero-content có margin-bottom: 110px theo yêu cầu người dùng.
   - Cỡ chữ ở 1800px tăng vừa vặn, không bị bé (Ảnh 1).
   - Tự động co giãn tỷ lệ thuận (fluid typography theo vw) trên các màn hình siêu lớn 2K, 4K, Ultrawide (Ảnh 2) giúp khối nội dung luôn đầy đặn và cân đối.
   ========================================================================== */
@media (min-width: 1800px) {
  .home-hero-wrap {
    aspect-ratio: 2816 / 1350 !important;
    min-height: 560px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .home-hero-bg {
    background-position: right top !important;
    aspect-ratio: 2816 / 1350 !important;
  }

  .home-hero-wrap .container {
    max-width: clamp(1480px, 82vw, 1880px) !important;
    padding-left: clamp(40px, 2.5vw, 80px) !important;
    padding-right: clamp(40px, 2.5vw, 80px) !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
  }

  .home-hero-content {
    max-width: clamp(740px, 42vw, 980px) !important;
    margin: 0 !important;
    margin-bottom: 110px !important; /* EXACT USER REQUEST */
  }

  /* Subtitle: AROVA SILICONE SEALANT */
  .home-hero-sub-wrap {
    margin-bottom: clamp(12px, 0.8vw, 18px) !important;
  }

  .home-hero-sub {
    font-size: clamp(17px, 1.0vw, 21px) !important;
    letter-spacing: 0.06em !important;
    font-weight: 700 !important;
  }

  .home-hero-red-line {
    width: clamp(44px, 2.4vw, 54px) !important;
    height: 3px !important;
    margin-top: 6px !important;
    border-radius: 2px !important;
  }

  /* Heading: GIẢI PHÁP KẾT DÍNH CHO CÔNG TRÌNH HIỆN ĐẠI */
  .home-hero-heading {
    font-size: clamp(48px, 2.7vw, 62px) !important;
    line-height: 1.22 !important;
    letter-spacing: 0.01em !important;
    margin-bottom: clamp(16px, 1.0vw, 22px) !important;
    font-weight: 700 !important;
  }

  /* Description text */
  .home-hero-desc {
    font-size: clamp(16.5px, 0.92vw, 20px) !important;
    line-height: 1.62 !important;
    margin-bottom: clamp(28px, 1.6vw, 38px) !important;
    font-weight: 500 !important;
    max-width: clamp(600px, 34vw, 780px) !important;
  }

  /* 4 Badges Row */
  .home-hero-badges {
    gap: clamp(18px, 1.1vw, 26px) !important;
    margin-bottom: clamp(28px, 1.6vw, 40px) !important;
  }

  .home-hero-badge-item {
    gap: clamp(8px, 0.5vw, 12px) !important;
  }

  .home-badge-img-wrap {
    width: clamp(44px, 2.4vw, 56px) !important;
    height: clamp(44px, 2.4vw, 56px) !important;
    flex: 0 0 clamp(44px, 2.4vw, 56px) !important;
  }

  .home-badge-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .home-badge-label {
    font-size: clamp(12.5px, 0.7vw, 14.5px) !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }

  .home-badge-sep {
    height: clamp(48px, 2.7vw, 62px) !important;
    opacity: 0.55 !important;
  }

  /* CTA Buttons */
  .home-hero-btns {
    gap: clamp(16px, 1.0vw, 22px) !important;
    margin-bottom: 0 !important;
  }

  .home-btn-red {
    font-size: clamp(14px, 0.8vw, 16.5px) !important;
    padding: clamp(13px, 0.75vw, 17px) clamp(28px, 1.6vw, 38px) !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 20px rgba(195, 37, 43, 0.35) !important;
  }

  .home-btn-outline {
    font-size: clamp(14px, 0.8vw, 16.5px) !important;
    padding: clamp(12.5px, 0.7vw, 16.5px) clamp(26px, 1.5vw, 36px) !important;
    border-radius: 6px !important;
    border-width: 1.5px !important;
  }

  .home-btn-outline i {
    font-size: 13px !important;
    margin-left: 6px !important;
  }
}


/* ==========================================================================
   HOMEPAGE HERO BANNER FLUID SCALING SYSTEM FOR SCREENS >= 2000px (2K, 4K, Ultrawide)
   Tự động co giãn kích thước chữ, badge, nút bấm và khoảng cách theo tỷ lệ thuận (vw)
   với ảnh nền banner khi cuộn xem trên các màn hình lớn 2000px+
   ========================================================================== */
@media (min-width: 2000px) {
  .home-hero-wrap .container {
    max-width: 90vw !important;
    padding-left: clamp(40px, 4.5vw, 120px) !important;
    padding-right: 2vw !important;
  }

  .home-hero-content {
    max-width: 48vw !important;
    margin: 0 !important;
    margin-bottom: 5.5vw !important;
  }

  /* Subtitle */
  .home-hero-sub-wrap {
    margin-bottom: 0.8vw !important;
  }
  .home-hero-sub {
    font-size: 1.05vw !important;
    letter-spacing: 0.06em !important;
    font-weight: 700 !important;
  }
  .home-hero-red-line {
    width: 2.6vw !important;
    height: 0.18vw !important;
    margin-top: 0.3vw !important;
    border-radius: 2px !important;
  }

  /* Heading */
  .home-hero-heading {
    font-size: 2.65vw !important;
    line-height: 1.22 !important;
    margin-bottom: 1.0vw !important;
    letter-spacing: 0.01em !important;
    font-weight: 700 !important;
  }

  /* Description */
  .home-hero-desc {
    font-size: 0.95vw !important;
    line-height: 1.6 !important;
    margin-bottom: 1.6vw !important;
    max-width: 38vw !important;
    font-weight: 500 !important;
  }

  /* 4 Badges */
  .home-hero-badges {
    gap: 1.3vw !important;
    margin-bottom: 1.8vw !important;
  }
  .home-hero-badge-item {
    gap: 0.5vw !important;
  }
  .home-badge-img-wrap {
    width: 2.6vw !important;
    height: 2.6vw !important;
    flex: 0 0 2.6vw !important;
  }
  .home-badge-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .home-badge-label {
    font-size: 0.72vw !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
  }
  .home-badge-sep {
    height: 2.8vw !important;
    opacity: 0.55 !important;
  }

  /* CTA Buttons */
  .home-hero-btns {
    gap: 1.1vw !important;
    margin-bottom: 0 !important;
  }
  .home-btn-red {
    font-size: 0.85vw !important;
    padding: 0.7vw 1.6vw !important;
    border-radius: 0.35vw !important;
    box-shadow: 0 6px 20px rgba(195, 37, 43, 0.35) !important;
  }
  .home-btn-outline {
    font-size: 0.85vw !important;
    padding: 0.65vw 1.5vw !important;
    border-radius: 0.35vw !important;
    border-width: 0.1vw !important;
  }
  .home-btn-outline i {
    font-size: 0.8vw !important;
    margin-left: 0.35vw !important;
  }
}


.footer-contact-text strong {
  color: #ffffff;
  font-weight: 700;
}
.contact-info-text strong {
  color: #1e293b;
  font-weight: 700;
}

@media (max-width: 360px) {
  .brand-story-page .bs-sec1-quote {
    font-size: 22px;
  }
}


/* ==========================================================================
   AROVA Inline Table of Contents (TOC) - Matching Image 2
   ========================================================================== */

.arova-inline-toc {
  margin: 24px 0 32px 0;
  width: 100%;
  clear: both;
}

.arova-toc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #f0f9ff 0%, #ddf3fe 100%);
  border: 1px solid #cbe9fd;
  border-radius: 9px;
  padding: 16px 24px;
  cursor: pointer;
  outline: none;
  text-align: left;
  transition: all 0.25s ease;
  user-select: none;
  box-sizing: border-box;
}

.arova-toc-header:hover {
  background: linear-gradient(90deg, #e5f5ff 0%, #d2edfd 100%);
  border-color: #bae6fd;
}

.arova-inline-toc.is-open .arova-toc-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: #e0f2fe;
}

.arova-toc-title {
  font-size: 20px;
  font-weight: 700;
  color: #001f70;
  letter-spacing: -0.2px;
  line-height: 1.35;
}

.arova-toc-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #001f70;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.arova-toc-toggle-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.8px;
}

.arova-inline-toc.is-open .arova-toc-toggle-icon {
  transform: rotate(180deg);
}

.arova-toc-body {
  display: none;
  background: #ffffff;
  border: 1px solid #cbe9fd;
  border-top: none;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
  padding: 20px 26px 22px;
  box-shadow: 0 4px 15px rgba(0, 31, 112, 0.04);
  box-sizing: border-box;
}

.arova-inline-toc.is-open .arova-toc-body {
  display: block;
}

.single-post-content .arova-toc-list,
.arova-toc-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-post-content .arova-toc-list li,
.single-post-content li.arova-toc-item,
.arova-toc-item {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

.single-post-content .arova-toc-list li::before,
.single-post-content .arova-toc-list li::marker,
.arova-toc-item::marker,
.arova-toc-item::before {
  content: none !important;
  display: none !important;
}

.arova-toc-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 16.5px;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.arova-toc-link:hover {
  color: #001f70;
  text-decoration: underline;
}

.arova-toc-num {
  font-size: 17px;
  font-weight: 700;
  color: #001f70;
  flex-shrink: 0;
}

.arova-toc-text {
  font-weight: 500;
}

.arova-toc-level-3 {
  padding-left: 24px;
}
.arova-toc-level-3 .arova-toc-link {
  font-size: 15px;
  color: #475569;
}

@media (max-width: 640px) {
  .arova-toc-header {
    padding: 14px 18px;
  }
  .arova-toc-title {
    font-size: 17.5px;
  }
  .arova-toc-toggle-icon svg {
    width: 20px;
    height: 20px;
  }
  .arova-toc-link {
    font-size: 15px;
  }
}

/* Scroll margin so sticky header doesn't cover headings */
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  scroll-margin-top: 100px;
}


/* Core values: short labels and vertically centered, mirrored content columns. */
.core-values-page .core-value-content-wrap {
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  gap:28px;
  align-items:center;
  padding:40px 32px;
}
.core-values-page .core-value-num-col {
  grid-column:1;
  grid-row:1;
  min-width:0;
  width:100%;
  align-self:center;
}
.core-values-page .core-value-info-col {
  grid-column:2;
  grid-row:1;
  width:100%;
  min-width:0;
  max-width:none;
  align-self:center;
}
.core-values-page .core-value-grid.is-reverse .core-value-content-wrap {
  grid-template-columns:minmax(0,1fr) 200px;
}
.core-values-page .core-value-grid.is-reverse .core-value-info-col { grid-column:1; }
.core-values-page .core-value-grid.is-reverse .core-value-num-col { grid-column:2; }
.core-values-page .core-value-name { max-width:none; white-space:nowrap; }
@media(max-width:1280px) and (min-width:992px) {
  .core-values-page .core-value-content-wrap { grid-template-columns:170px minmax(0,1fr); gap:24px; padding:36px 24px; }
  .core-values-page .core-value-grid.is-reverse .core-value-content-wrap { grid-template-columns:minmax(0,1fr) 170px; }
  .core-values-page .core-value-name { font-size:24px; }
  .core-values-page .core-value-title-phrase { white-space:normal; }
}
@media(max-width:991px) {
  .core-values-page .core-value-content-wrap,
  .core-values-page .core-value-grid.is-reverse .core-value-content-wrap {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:20px;
    padding:32px 24px;
  }
  .core-values-page .core-value-num-col { order:0; align-self:stretch; }
  .core-values-page .core-value-info-col { order:1; align-self:stretch; }
  .core-values-page .core-value-title-phrase { white-space:normal; }
}
@media(max-width:640px) {
  .core-values-page .core-value-content-wrap { padding:28px 16px; }
}


/* Core values body copy stays at 16px at every breakpoint. */
.core-values-page .core-value-desc,
.core-values-page .core-value-quote-item .quote-text {
  font-size:16px;
  line-height:1.7;
}

/* Align the outer text edges with adjacent rows' image edges. */
@media(min-width:992px) {
  .core-values-page .core-value-content-wrap { padding-left:0; padding-right:24px; }
  .core-values-page .core-value-grid.is-reverse .core-value-content-wrap { padding-left:24px; padding-right:0; }
  .core-values-page .core-value-grid.is-reverse .core-value-name { text-align:right; }
}

/* ==========================================================================
   AROVA PROMOTIONAL GIFT SECTION (QUA TANG) - REDESIGNED TO BRAND MOCKUP
   ========================================================================== */
.site-content-fullwidth {
    background: #f8fafc !important;
    padding: 36px 0 60px !important;
}

.agift {
    max-width: 1410px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

.agift-grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

/* 1. Card Container: Crisp White, Rounded, Soft Shadow */
.agift-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(15, 34, 61, 0.04) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    aspect-ratio: auto !important;
    min-height: 410px !important;
    padding: 16px 0 16px 0 !important;
    position: relative !important;
    transition: all 0.25s ease !important;
    grid-column: span 4 !important;
}

/* Row 2: 4 cards (items 4, 5, 6, 7) */
.agift-card:nth-child(4),
.agift-card:nth-child(5),
.agift-card:nth-child(6),
.agift-card:nth-child(7) {
    grid-column: span 3 !important;
    padding: 14px 0 14px 0 !important;
    overflow: hidden !important;
}

.agift-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(15, 34, 61, 0.09) !important;
    border-color: #cbd5e1 !important;
}

.agift-card.full {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f7f8fa !important;
}

.agift-card.full img {
    border-radius: 12px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.agift-card:nth-child(5).full img,
.agift-card:nth-child(6).full img {
    object-fit: contain !important;
}

/* 2. Signature Navy Title Badge with Slanted Cut & Red Accent Bar */
.agift-t {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    line-height: 1.2 !important;
    padding: 7px 22px 7px 14px !important;
    margin: -16px 0 10px 0 !important;
    align-self: flex-start !important;
    background: transparent !important;
    z-index: 2 !important;
}

.agift-card:nth-child(4) .agift-t,
.agift-card:nth-child(5) .agift-t,
.agift-card:nth-child(6) .agift-t,
.agift-card:nth-child(7) .agift-t {
    font-size: 12px !important;
    padding: 6px 18px 6px 10px !important;
    margin: -14px 0 10px 0 !important;
}

/* Slanted Navy ribbon background */
.agift-t::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: #0d2240 !important; /* Arova Deep Navy */
    border-top-left-radius: 12px !important;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 0 100%) !important;
    z-index: -1 !important;
}

/* Red accent bar under ribbon */
.agift-t::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -4px !important;
    width: 34px !important;
    height: 3px !important;
    background: #c3252b !important; /* Arova Signature Red */
    border-radius: 2px !important;
    z-index: 1 !important;
}

/* 3. Product Image Container - Full frame edge-to-edge */
.agift-img {
    flex: 1 1 auto !important;
    min-height: 270px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    background: transparent !important;
}

.agift-card:nth-child(4) .agift-img,
.agift-card:nth-child(7) .agift-img {
    min-height: 220px !important;
}

.agift-img img {
    width: 100% !important;
    height: 100% !important;
    max-height: 280px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.3s ease !important;
}

.agift-card:nth-child(4) .agift-img img,
.agift-card:nth-child(7) .agift-img img {
    max-height: 230px !important;
}

.agift-card:hover .agift-img img {
    transform: scale(1.04) !important;
}

/* 4. Bottom Features/Icons Row */
.agift-f {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 12px 18px 0 18px !important;
    border-top: 1px solid #f1f5f9 !important;
    list-style: none !important;
    width: 100% !important;
}

.agift-card:nth-child(4) .agift-f,
.agift-card:nth-child(5) .agift-f,
.agift-card:nth-child(6) .agift-f,
.agift-card:nth-child(7) .agift-f {
    padding: 10px 10px 0 10px !important;
}

.agift-f li {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #1e293b !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
}

.agift-f svg {
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    padding: 2.5px !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 50% !important;
    color: #0d2240 !important;
    background: #ffffff !important;
}

/* Card with 3 features: 3 columns */
.agift-card:has(.agift-f li:nth-child(3):last-child) .agift-f,
.agift-card:nth-child(7) .agift-f,
.agift-card:nth-child(8) .agift-f,
.agift-card:nth-child(9) .agift-f,
.agift-card:nth-child(10) .agift-f {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
}

@media (max-width: 1100px) {
    .agift-f li {
        font-size: 9px !important;
        gap: 3px !important;
    }
    .agift-f svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 991px) {
    .agift-card,
    .agift-card:nth-child(4),
    .agift-card:nth-child(5),
    .agift-card:nth-child(6),
    .agift-card:nth-child(7) {
        grid-column: span 6 !important;
    }
}

@media (max-width: 575px) {
    .agift-grid {
        gap: 14px !important;
    }
    .agift-card,
    .agift-card:nth-child(4),
    .agift-card:nth-child(5),
    .agift-card:nth-child(6),
    .agift-card:nth-child(7) {
        grid-column: span 12 !important;
        padding: 14px 0 !important;
    }
    .agift-t {
        margin: -14px 0 10px 0 !important;
        font-size: 12.5px !important;
    }
    .agift-f {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 10px 14px 0 14px !important;
    }
}