/* ==========================================================================
   Everwin International Corporation – Style System v5.0
   Global Import-Export Service Portal
   Brand Colors: Navy #0B2A5B | Red #B71C1C | Gold #C9A24B | BG #F5F7FA
   Font: Be Vietnam Pro
   ========================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0B2A5B;
  --primary-dark: #071d40;
  --primary-light: #163a6e;
  --accent: #B71C1C;
  --accent-hover: #991414;
  --gold: #C9A24B;
  --gold-light: #e8c97a;
  --bg: #F5F7FA;
  --bg-card: #ffffff;
  --dark: #0f172a;
  --text: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.12);
  --transition: all 0.22s ease;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== CONTAINER & SPACING ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

.section-padding-sm {
  padding: 64px 0;
}

.text-center {
  text-align: center;
}

/* ===== SECTION HEADERS & BADGES ===== */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 162, 75, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.15);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(183, 28, 28, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.btn-glass-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-glass-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 50, 66, 0.08);
  box-shadow: 0 2px 16px rgba(7, 50, 66, 0.06);
  z-index: 900;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(7, 50, 66, 0.1);
  border-bottom-color: rgba(152, 0, 0, 0.16);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 66px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  background: transparent;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: #980000;
  letter-spacing: -0.4px;
}

.logo-text span {
  color: #980000;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  position: relative;
}

.nav-links a {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: #073242;
  padding: 8px 18px;
  border-radius: 50px;
  transition: color 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #980000;
  background: rgba(152, 0, 0, 0.08);
}

.nav-links.has-nav-pill a,
.nav-links.has-nav-pill a:hover,
.nav-links.has-nav-pill a.active {
  background: transparent;
}

.nav-links.has-nav-pill a.active,
.nav-links.has-nav-pill a.is-hovered {
  color: #980000;
}

.nav-sliding-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 50px;
  background: rgba(152, 0, 0, 0.09);
  border: 1px solid rgba(152, 0, 0, 0.18);
  box-shadow: 0 2px 10px rgba(152, 0, 0, 0.08);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
  will-change: transform, width;
}

.mobile-nav-links a.active {
  background: var(--bg);
  color: var(--primary);
  font-weight: 700;
}

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

.btn-header-pill {
  background: linear-gradient(135deg, #d0a02b 0%, #e5ba5d 50%, #c19639 100%);
  color: #073242;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(180, 134, 34, 0.28);
  transition: all 0.25s ease;
  border: 1px solid rgba(180, 134, 34, 0.35);
}

.btn-header-pill:hover {
  background: linear-gradient(135deg, #e5ba5d 0%, #f4c96e 50%, #d0a02b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 134, 34, 0.42);
  color: #073242;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #073242;
  border-radius: 8px;
  background: rgba(7, 50, 66, 0.06);
  border: 1px solid rgba(7, 50, 66, 0.14);
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  color: #980000;
  background: rgba(152, 0, 0, 0.08);
  border-color: rgba(152, 0, 0, 0.2);
}

/* ===== MOBILE NAV DRAWER ===== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 950;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -330px;
  width: 310px;
  height: 100%;
  background: #fff;
  z-index: 960;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
  font-size: 1.3rem;
  color: var(--text-muted);
  padding: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
  flex: 1;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.mobile-nav-links a:hover {
  background: var(--bg);
  color: var(--primary);
}

.mobile-nav-links a i {
  width: 20px;
  color: var(--primary);
  font-size: 0.95rem;
}

.mobile-nav-cta {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #050c1a;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 48px;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-image,
.hero-slide {
  position: absolute;
  inset: -15px;
  background-size: cover;
  background-position: center 36%;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.00);
  pointer-events: none;
}

.hero-bg-image.active,
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 26%, rgba(255, 126, 95, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 75%, rgba(37, 99, 235, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 14, 30, 0.72) 0%, rgba(6, 14, 30, 0.38) 35%, rgba(5, 12, 26, 0.86) 80%, #050c1a 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(255, 126, 95, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 162, 75, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: #f4c96e;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 600;
  margin-bottom: 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.2px;
}

.hero-badge i {
  font-size: 1.1rem;
}

.hero-title {
  font-size: clamp(3.2rem, 5.8vw, 5.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.16;
  margin-bottom: 24px;
  letter-spacing: -0.8px;
  max-width: 1160px;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.hero-gradient-text {
  background: linear-gradient(90deg, #f3ba1a 0%, #f4c96e 35%, #57caef 75%, #0a8cad 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(1.15rem, 1.45vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 960px;
  margin: 0 auto 42px auto;
  line-height: 1.72;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-hero-pill-primary {
  background: linear-gradient(135deg, #d0a02b 0%, #e5ba5d 50%, #c19639 100%);
  color: #072237;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 50px;
  padding: 16px 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(201, 162, 75, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-pill-primary:hover {
  background: linear-gradient(135deg, #e5ba5d 0%, #f4c96e 50%, #d0a02b 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 162, 75, 0.65);
  color: #072237;
}

.btn-hero-pill-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 50px;
  padding: 16px 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-pill-glass:hover {
  background: rgba(201, 162, 75, 0.15);
  border-color: rgba(201, 162, 75, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

/* 4 Floating Glass Stats Cards */
.hero-stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 34px auto;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transition: all 0.3s ease;
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38), 0 0 20px rgba(201, 162, 75, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.stat-card-icon {
  color: #e5ba5d;
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.stat-card-num {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 800;
  color: #f4c96e;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.stat-card-num span {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fcd34d;
}

.stat-card-label {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  line-height: 1.4;
}

/* Trust Features Row below cards */
.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.trust-item i {
  color: #e5ba5d;
  font-size: 1rem;
}

.trust-item img {
  border-radius: 2px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  margin-top: 6px;
}

.hero-scroll-indicator:hover {
  color: #f4c96e;
}

.scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
  margin-top: 8px;
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0.4);
    opacity: 0.3;
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
    transform-origin: top;
  }

  100% {
    transform: scaleY(0.4);
    opacity: 0.3;
    transform-origin: bottom;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 580px;
  }
}

@media (max-width: 580px) {
  .hero-stats-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-row {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== ABOUT SECTION (CLEAN EDITORIAL TEXT) ===== */
.about-section {
  background: #ffffff;
}

.about-text-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-main-title {
  position: relative;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  font-size: 2.1rem;
  font-weight: 800;
  color: #073242;
  margin: 12px 0 24px;
  letter-spacing: -0.5px;
  line-height: 1.25;
  cursor: pointer;
  outline: none;
}

.about-main-title:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: var(--radius-sm);
}

.about-title-logo {
  height: 76px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: none;
  background: transparent;
}

.about-main-title .brand-red {
  color: #980000;
}

.about-title-brand {
  display: inline-block;
  white-space: nowrap;
}

.about-title-tagline {
  display: inline-block;
  color: #073242;
}

/* Desktop hover reveal matching header brand logo animation */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .about-main-title {
    transition: transform 0.6s var(--logo-slide-easing, cubic-bezier(0.33, 1, 0.68, 1)) 0.15s;
  }

  /* Stationary hit-area prevents hover jitter when sliding left */
  .about-main-title::before {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    right: -10px;
    z-index: 2;
    pointer-events: auto;
  }

  .about-main-title:hover::before,
  .about-main-title:focus-visible::before {
    right: -52px;
  }

  .about-main-title .about-title-tagline {
    position: absolute;
    left: 100%;
    top: 50%;
    margin-left: 12px;
    width: max-content;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(-18px);
    transition:
      opacity 0.45s var(--tagline-easing, cubic-bezier(0.33, 1, 0.68, 1)),
      transform 0.45s var(--tagline-easing, cubic-bezier(0.33, 1, 0.68, 1)),
      visibility 0.45s;
    transition-delay: 0s;
  }

  .about-main-title:hover,
  .about-main-title:focus-visible {
    will-change: transform;
    transform: translateX(-28px);
    transition: transform var(--logo-slide-duration, 0.9s) var(--logo-slide-easing, cubic-bezier(0.33, 1, 0.68, 1)) 0s;
  }

  .about-main-title:hover .about-title-tagline,
  .about-main-title:focus-visible .about-title-tagline {
    will-change: transform, opacity;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    transition:
      opacity var(--tagline-duration, 1s) var(--tagline-easing, cubic-bezier(0.33, 1, 0.68, 1)),
      transform var(--tagline-duration, 1s) var(--tagline-easing, cubic-bezier(0.33, 1, 0.68, 1)),
      visibility 0s;
    transition-delay: var(--tagline-delay, 0.35s);
  }
}

@media (prefers-reduced-motion: reduce) {

  .about-main-title,
  .about-main-title .about-title-tagline {
    transform: none !important;
    transition: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: 0 !important;
  }
}

.about-article-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 18px;
}

.about-sub-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin: 34px 0 16px;
  text-transform: uppercase;
}

.about-commitment-item {
  margin-bottom: 18px;
}

.about-item-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.about-commitment-item p {
  margin-bottom: 0;
  color: var(--text);
  line-height: 1.8;
}

.about-contact-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.about-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 0;
  text-decoration: none;
}

.about-contact-item>i {
  width: 36px;
  height: 36px;
  background: rgba(11, 42, 91, 0.08);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-contact-item div strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.about-contact-item div span,
.about-contact-item div a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .about-main-title {
    width: 100%;
    flex-wrap: wrap;
    font-size: 1.6rem;
    gap: 12px;
  }

  .about-title-logo {
    height: 54px;
    width: auto;
  }

  .about-sub-title {
    font-size: 1.15rem;
    margin-top: 28px;
  }
}

/* About Image Frame (Leadership factory visit) */
.about-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.about-image-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(11, 42, 91, 0.16);
  border: 1px solid rgba(11, 42, 91, 0.1);
  background: #071d40;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(11, 42, 91, 0.22);
}

.about-image-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0B2A5B;
}

.about-leadership-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.about-image-frame:hover .about-leadership-img {
  transform: scale(1.02);
}

.about-image-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 34, 55, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f4c96e;
  border: 1px solid rgba(201, 162, 75, 0.45);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.about-image-caption {
  position: relative;
  padding: 16px 22px 18px;
  background: #071d40;
  border-top: 1px solid rgba(201, 162, 75, 0.22);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-image-caption strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: #f4c96e;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -0.2px;
}

.about-image-caption span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
}

/* About Stats Grid */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-box {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-box:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-box:hover .stat-icon,
.stat-box:hover .stat-num,
.stat-box:hover .stat-label {
  color: #fff;
}

.stat-icon {
  font-size: 1.6rem;
  color: var(--gold);
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== SERVICES SECTION (6 CỐT LÕI) - COMPACT & NEAT ===== */
.services-section {
  background: var(--bg);
  padding: 48px 0;
}

.services-section .section-header {
  margin-bottom: 24px;
}

.services-section .section-tag {
  font-size: 0.72rem;
  padding: 4px 12px;
  margin-bottom: 10px;
}

.services-section .section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin-bottom: 8px;
}

.services-section .section-subtitle {
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 620px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px 14px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 42, 91, 0.08);
  border-color: var(--primary);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(11, 42, 91, 0.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}

.service-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 10px;
}

.service-footer {
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.btn-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.service-card:hover .btn-more {
  color: var(--accent);
  gap: 7px;
}

/* ===== PROCESS SECTION (5 BƯỚC) ===== */
.process-section {
  background: #fff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 170px;
  max-width: 210px;
  padding: 24px 14px;
}

.process-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 12px;
}

.process-icon {
  width: 62px;
  height: 62px;
  background: rgba(11, 42, 91, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 14px;
  border: 2px solid rgba(11, 42, 91, 0.1);
  transition: var(--transition);
}

.process-step:hover .process-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.process-step p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 52px;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== COMMODITIES SECTION (NHÓM HÀNG) ===== */
.commodities-section {
  background: #fff;
  border-top: 1px solid var(--border-color);
}

.commodities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.commodity-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.commodity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.commodity-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #e2e8f0;
  overflow: hidden;
}

.commodity-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.commodity-card:hover .commodity-card-img-wrap img {
  transform: scale(1.06);
}

.commodity-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 42, 91, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.commodity-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.commodity-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
}

.commodity-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.commodity-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}

.comm-market-tag {
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(201, 162, 75, 0.12);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 12px;
}

.commodity-card-footer {
  padding: 0 24px 24px;
  display: flex;
  gap: 10px;
}

/* Open Box: Any commodity on demand */
.commodity-custom-box {
  background: linear-gradient(135deg, #071d40 0%, #0B2A5B 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-md);
}

.custom-box-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(201, 162, 75, 0.2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.custom-box-content {
  flex: 1;
}

.custom-box-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.custom-box-content p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

/* ===== PROJECTS SECTION (DỰ ÁN) ===== */
.projects-section {
  background: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.project-card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(11, 42, 91, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
}

.project-info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  padding: 10px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
}

.project-info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text);
}

.project-info-item i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 0.85rem;
}

.project-scope,
.project-result {
  font-size: 0.88rem;
  line-height: 1.6;
}

.project-scope strong,
.project-result strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 2px;
}

/* ===== NEWS SECTION ===== */
.news {
  background: var(--bg);
}

.news-top-bar {
  margin-bottom: 32px;
}

.posts-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.pill:hover,
.pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 50px;
  padding: 8px 18px;
  flex-shrink: 0;
}

.search-box i {
  color: var(--text-muted);
}

.search-box input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  width: 180px;
  background: transparent;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.post-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.post-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.post-img-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, var(--bg), #dde4ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(11, 42, 91, 0.2);
}

.post-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(11, 42, 91, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.post-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-card-footer {
  padding: 0 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-read-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.btn-read-more:hover {
  gap: 10px;
  color: var(--accent);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--primary);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-info strong {
  color: rgba(255, 255, 255, 0.95);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.c-item>i {
  width: 40px;
  height: 40px;
  background: rgba(201, 162, 75, 0.15);
  border: 1px solid rgba(201, 162, 75, 0.25);
  color: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.c-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.c-item p,
.c-item a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.c-item a:hover {
  color: var(--gold-light);
}

.map-embed {
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Contact Form Wrap */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrap h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 42, 91, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 85px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Contact section brand unification */
.contact-info .section-tag {
  color: #f4c96e;
  background: rgba(201, 162, 75, 0.14);
  border: 1px solid rgba(201, 162, 75, 0.32);
}

.contact-form-wrap .required {
  color: #d0a02b;
}

.contact-form-wrap .form-group input:focus,
.contact-form-wrap .form-group select:focus,
.contact-form-wrap .form-group textarea:focus {
  border-color: #d0a02b;
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.16);
}

#quoteSubmitBtn,
.contact-form-wrap .btn-accent {
  background: linear-gradient(135deg, #d0a02b 0%, #e5ba5d 50%, #c19639 100%);
  color: #072237;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  box-shadow: 0 6px 22px rgba(201, 162, 75, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#quoteSubmitBtn:hover,
.contact-form-wrap .btn-accent:hover {
  background: linear-gradient(135deg, #e5ba5d 0%, #f4c96e 50%, #d0a02b 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 75, 0.6);
  color: #072237;
  border-color: rgba(201, 162, 75, 0.6);
}

.contact-form-wrap .form-note i {
  color: #d0a02b;
}

/* ===== FOOTER ===== */
.footer {
  background: #ffffff;
  color: #334155;
  padding-top: 70px;
  border-top: 1px solid rgba(7, 50, 66, 0.1);
  box-shadow: 0 -4px 24px rgba(7, 50, 66, 0.04);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(7, 50, 66, 0.1);
}

.footer-logo {
  gap: 16px;
}

.footer-logo .brand-logo-img {
  height: 72px;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #073242;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.footer-brand-title .brand-red {
  color: #980000;
}

.footer-col p.footer-desc {
  display: block;
  margin: 16px 0 20px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #475569;
}

.footer-desc strong {
  color: #073242;
}

.footer-desc em {
  color: #980000;
  font-style: italic;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(7, 50, 66, 0.06);
  border: 1px solid rgba(7, 50, 66, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #073242;
  font-size: 0.92rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: #980000;
  border-color: #980000;
  color: #ffffff;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #073242;
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: #475569;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: #980000;
  padding-left: 4px;
}

.footer-col p {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.footer-col p i {
  color: #980000;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-col p a {
  color: #475569;
  transition: var(--transition);
}

.footer-col p a:hover {
  color: #980000;
}

.footer-bottom {
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  font-size: 0.85rem;
  color: #64748b;
}

.admin-portal-link {
  display: none !important;
}

.admin-portal-link:hover {
  color: #980000;
  background: rgba(152, 0, 0, 0.05);
  border-color: rgba(152, 0, 0, 0.28);
}

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 800;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn--call {
  background: var(--accent);
  color: #fff;
}

.float-btn--zalo {
  background: #0068ff;
  color: #fff;
}

.zalo-icon {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -1px;
}

/* ===== MODAL BASE ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 21, 38, 0.72);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  background-color: #fff;
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-dialog-lg {
  max-width: 820px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title-wrap h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover {
  color: var(--dark);
}

.modal-body {
  padding: 26px;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 26px;
  border-top: 1px solid var(--border-color);
  background-color: #f8fafc;
}

/* Service Detail Modal Content */
.svc-detail-hero {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  max-height: 280px;
}

.svc-detail-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.svc-detail-content h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin: 18px 0 8px;
}

.svc-detail-content p {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 12px;
}

.svc-detail-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}

.svc-detail-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}

.svc-detail-checklist li i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 0.85rem;
}

/* Commodity Items Modal - Expanded / Near Full Screen */
#commodityItemsModal.modal {
  padding: 1.5vh 1.5vw;
}

#commodityItemsModal .modal-dialog,
.modal-dialog-commodity {
  width: 95vw !important;
  max-width: 1520px !important;
  height: 92vh !important;
  max-height: 92vh !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 70px -15px rgba(5, 15, 30, 0.45) !important;
  border: 1px solid rgba(226, 232, 240, 0.85);
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  animation: modalCommodityIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalCommodityIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

#commodityItemsModal .modal-header {
  padding: 20px 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

#commodityItemsModal .modal-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}

#commodityItemsModal .modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

#commodityItemsModal .modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

#commodityItemsModal .modal-body {
  flex: 1 !important;
  padding: 28px 36px !important;
  overflow-y: auto !important;
  max-height: none !important;
  background: #f8fafc;
}

#commodityItemsModal .modal-footer {
  padding: 16px 36px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

/* Commodity Items Modal Grid */
.comm-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.comm-item-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  position: relative;
}

.comm-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
  border-color: rgba(184, 134, 11, 0.4);
}

.comm-item-img {
  width: 100%;
  height: 190px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  padding: 8px;
}

.comm-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.comm-item-card:hover .comm-item-img img {
  transform: scale(1.06);
}

.comm-item-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.comm-item-origin {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.comm-item-price {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
}

@media (max-width: 992px) {

  #commodityItemsModal .modal-dialog,
  .modal-dialog-commodity {
    width: 96vw !important;
    height: 94vh !important;
    max-height: 94vh !important;
  }

  #commodityItemsModal .modal-header,
  #commodityItemsModal .modal-footer {
    padding: 16px 20px;
  }

  #commodityItemsModal .modal-body {
    padding: 20px !important;
  }

  .comm-items-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }

  .comm-item-img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  #commodityItemsModal.modal {
    padding: 1vh 1vw;
  }

  #commodityItemsModal .modal-dialog,
  .modal-dialog-commodity {
    width: 98vw !important;
    height: 96vh !important;
    max-height: 96vh !important;
    border-radius: 12px !important;
  }

  #commodityItemsModal .modal-header h3 {
    font-size: 1.15rem;
  }

  .comm-items-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
  }

  .comm-item-card {
    padding: 10px;
  }

  .comm-item-img {
    height: 125px;
    padding: 4px;
  }

  .comm-item-name {
    font-size: 0.85rem;
  }
}

/* ===== FULL-PAGE ARTICLE VIEW – PREMIUM CORPORATE EDITORIAL ===== */
.article-page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #f8fafc;
  flex-direction: column;
  overflow: hidden;
}

.article-page.active {
  display: flex;
}

/* Top Editorial Navigation Bar */
.article-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  height: 64px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.article-topbar-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 18px;
}

.article-back-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.25s ease;
  font-family: inherit;
  white-space: nowrap;
}

.article-back-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateX(-2px);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
}

.article-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.article-breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.bc-sep {
  color: #cbd5e1;
  font-size: 0.7rem;
}

.bc-current {
  color: var(--primary);
  font-weight: 700;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.article-badge {
  display: inline-block;
  background: rgba(201, 162, 75, 0.12);
  color: #b88628;
  border: 1px solid rgba(201, 162, 75, 0.32);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.article-topbar-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

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

.article-reading-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #c19639, #f4c96e 50%, #38bdf8 100%);
  width: 0%;
  z-index: 25;
  transition: width 0.05s linear;
}

/* Scroll Container */
.article-scroll-wrap {
  flex: 1;
  overflow-y: auto;
  background: #f8fafc;
  scroll-behavior: smooth;
}

.article-editorial-shell {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 44px 24px 70px;
}

/* Article Header */
.editorial-header {
  margin-bottom: 34px;
}

.editorial-kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.editorial-category {
  display: inline-block;
  background: rgba(11, 42, 91, 0.08);
  color: #0B2A5B;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(11, 42, 91, 0.15);
}

.editorial-read-time {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.editorial-title {
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  font-weight: 800;
  color: #0B2A5B;
  line-height: 1.28;
  letter-spacing: -0.6px;
  margin-bottom: 24px;
  max-width: 980px;
}

.editorial-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e2e8f0;
}

.editorial-author-chip {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(11, 42, 91, 0.07);
  color: #0B2A5B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(11, 42, 91, 0.12);
}

.author-info-box .author-name {
  display: block;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.3;
}

.author-info-box .author-title {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.editorial-date-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #64748b;
}

.editorial-date-group .meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.editorial-date-group .meta-sep {
  color: #cbd5e1;
}

.verified-badge {
  color: #059669;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Hero Image (16:9 full article width) */
.editorial-hero-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #071d40;
  box-shadow: 0 16px 40px rgba(11, 42, 91, 0.08);
  margin-bottom: 44px;
  border: 1px solid #e2e8f0;
}

.editorial-hero-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.editorial-hero-aspect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editorial-hero-caption {
  padding: 12px 20px;
  font-size: 0.82rem;
  color: #64748b;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
}

/* 2-Column Editorial Grid */
.editorial-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 48px;
  align-items: start;
  margin-bottom: 50px;
}

/* Main Content Column (760–820px) */
.editorial-content-column {
  max-width: 800px;
  width: 100%;
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.82;
  color: #334155;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2,
.article-body h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: #0B2A5B;
  margin: 38px 0 16px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  scroll-margin-top: 80px;
}

.article-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin: 26px 0 12px;
}

.article-body ul,
.article-body ol {
  margin: 18px 0 24px 24px;
  color: #334155;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Article Content Footer (Topics & Inline Share) */
.editorial-content-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px 0;
  margin-top: 36px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.editorial-topic-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tags-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topic-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.editorial-inline-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.editorial-inline-share .share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}

.btn-share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.btn-share-icon:hover {
  background: #0B2A5B;
  color: #ffffff;
  border-color: #0B2A5B;
  transform: translateY(-2px);
}

/* Consultation CTA Block */
.article-cta-block {
  margin: 44px 0 0;
  background: linear-gradient(135deg, #071d40 0%, #0B2A5B 100%);
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 12px 36px rgba(11, 42, 91, 0.16);
  border: 1px solid rgba(201, 162, 75, 0.25);
}

.article-cta-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 260px;
}

.article-cta-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 162, 75, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(201, 162, 75, 0.35);
}

.article-cta-left h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.article-cta-left p {
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.6;
}

.article-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cta-gold {
  background: linear-gradient(135deg, #d0a02b 0%, #e5ba5d 50%, #c19639 100%);
  color: #072237;
  font-weight: 700;
  border-radius: 50px;
  padding: 13px 26px;
  box-shadow: 0 4px 16px rgba(201, 162, 75, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-gold:hover {
  background: linear-gradient(135deg, #e5ba5d 0%, #f4c96e 50%, #d0a02b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 162, 75, 0.55);
  color: #072237;
}

.btn-cta-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 50px;
  padding: 13px 24px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  transition: all 0.25s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Sidebar Components */
.editorial-sidebar {
  width: 310px;
}

.sidebar-sticky-inner {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(11, 42, 91, 0.04);
}

.sidebar-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-card-header h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0B2A5B;
  letter-spacing: -0.2px;
}

.sidebar-card-header i {
  color: var(--gold);
  font-size: 0.95rem;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
}

.toc-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: #475569;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.45;
  transition: all 0.2s;
}

.toc-link i {
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.toc-link:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 14px;
}

.sidebar-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-side-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-side-share.copy-link:hover {
  background: #0B2A5B;
  color: #ffffff;
  border-color: #0B2A5B;
}

.btn-side-share.linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

.btn-side-share.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.btn-side-share.twitter:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.authority-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.authority-logo {
  height: 54px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  background: transparent;
}

.authority-brand h5 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0B2A5B;
  margin-bottom: 2px;
}

.authority-brand span {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.authority-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 14px;
}

.authority-cta-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b88628;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.2s;
}

.authority-cta-link:hover {
  color: #0B2A5B;
  gap: 9px;
}

/* Related Articles Section */
.editorial-related-section {
  margin-top: 50px;
  padding-top: 44px;
  border-top: 1.5px solid #e2e8f0;
}

.related-section-header {
  margin-bottom: 28px;
}

.related-section-title {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 800;
  color: #0B2A5B;
  margin: 8px 0 6px;
  line-height: 1.3;
}

.related-section-subtitle {
  font-size: 0.94rem;
  color: #64748b;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-article-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(11, 42, 91, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.related-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 42, 91, 0.1);
  border-color: rgba(201, 162, 75, 0.4);
}

.related-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.related-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-article-card:hover .related-card-img-wrap img {
  transform: scale(1.05);
}

.related-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 34, 55, 0.88);
  color: #f4c96e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(201, 162, 75, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.related-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 500;
}

.related-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0B2A5B;
  line-height: 1.42;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-read-more {
  color: #b88628;
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}

.related-article-card:hover .related-card-read-more {
  gap: 9px;
  color: #0B2A5B;
}

/* Clear Back to All Articles Navigation */
.editorial-bottom-nav {
  text-align: center;
  margin-top: 48px;
  padding-bottom: 24px;
}

.btn-editorial-back {
  background: #ffffff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(11, 42, 91, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.btn-editorial-back:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 42, 91, 0.2);
}

/* ===== TOAST NOTIFICATION ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: slideUpToast 0.3s ease;
  min-width: 260px;
  max-width: 440px;
}

.toast-success {
  background: #16a34a;
  color: #fff;
}

.toast-error {
  background: var(--accent);
  color: #fff;
}

.toast-info {
  background: var(--primary);
  color: #fff;
}

@keyframes slideUpToast {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE BREAKPOINTS (375px, 768px, 1280px) ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .commodity-custom-box {
    flex-direction: column;
    text-align: center;
  }

  .commodity-custom-box .custom-box-icon {
    margin: 0 auto;
  }

  /* Editorial Layout 1024px Adjustments */
  .editorial-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .editorial-sidebar {
    width: 100%;
  }

  .sidebar-sticky-inner {
    position: static;
  }

  .related-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header-cta,
  .btn-header-pill {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .about-leadership-img {
    height: auto;
  }

  .about-image-frame {
    max-width: 100%;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding: 0 0 10px 0;
  }

  .commodities-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .posts-filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box input {
    width: 160px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 26px 20px;
  }

  /* Editorial Layout 768px Adjustments */
  .article-breadcrumb {
    display: none;
  }

  .editorial-title {
    font-size: 1.65rem;
  }

  .editorial-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .article-editorial-shell {
    padding: 24px 16px 50px;
  }

  .article-cta-block {
    padding: 26px 20px;
  }

  .article-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-cta-gold,
  .btn-cta-outline {
    width: 100%;
    justify-content: center;
  }

  .related-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-heading-row {
    gap: 12px;
  }

  .about-heading-logo {
    width: 44px;
    height: 44px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-leadership-img {
    height: auto;
  }

  .about-image-badge {
    top: 12px;
    left: 12px;
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .about-image-caption {
    padding: 24px 16px 16px;
  }

  .about-image-caption strong {
    font-size: 0.9rem;
  }

  .about-image-caption span {
    font-size: 0.78rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-brand-title {
    font-size: 1.1rem;
  }

  /* Editorial Layout 480px Adjustments */
  .editorial-title {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .editorial-author-chip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sidebar-share-grid {
    grid-template-columns: 1fr;
  }

  .editorial-content-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   Article Inline Figures & Formatting (Nhiều ảnh xen kẽ trong bài viết)
   ========================================================================== */
.article-inline-figure {
  margin: 32px 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(11, 42, 91, 0.08);
  border: 1px solid var(--border-color);
  background: #f8fafc;
}

.article-inline-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.article-inline-figure figcaption {
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  line-height: 1.5;
}

.article-inline-figure figcaption i {
  color: var(--gold);
  margin-right: 6px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin: 32px 0 14px;
  line-height: 1.4;
}

.article-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 10px;
}

.article-callout {
  background: #f0f7ff;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.96rem;
  color: #1e293b;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.65;
}

.article-callout i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   NEWS PAGINATION
   Client-side pagination controls for News & Insights section (#news)
   ========================================================================== */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding: 10px 0;
}

.news-pagination .pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  box-shadow: var(--shadow-sm);
  outline: none;
}

.news-pagination .pagination-btn i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.news-pagination .pagination-prev i {
  margin-right: 4px;
}

.news-pagination .pagination-next i {
  margin-left: 4px;
}

.news-pagination .pagination-num {
  min-width: 42px;
  padding: 8px 12px;
}

/* Hover State */
.news-pagination .pagination-btn:not(:disabled):not(.disabled):not(.active):hover {
  background: #ffffff;
  border-color: var(--gold);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201, 162, 75, 0.22);
}

.news-pagination .pagination-prev:not(:disabled):not(.disabled):hover i {
  transform: translateX(-2px);
}

.news-pagination .pagination-next:not(:disabled):not(.disabled):hover i {
  transform: translateX(2px);
}

/* Active Page Pill */
.news-pagination .pagination-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(11, 42, 91, 0.28);
  cursor: default;
  pointer-events: none;
}

/* Disabled State (First/Last Page) */
.news-pagination .pagination-btn:disabled,
.news-pagination .pagination-btn.disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
  background: #f8fafc;
  border-color: var(--border-color);
  color: var(--text-muted);
  box-shadow: none;
  transform: none;
}

/* Ellipsis */
.news-pagination .pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 42px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  user-select: none;
  letter-spacing: 2px;
}

/* Visible Focus State (Accessibility) */
.news-pagination .pagination-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}

/* Responsive Breakpoints: 1440px, 1024px, 768px, 390px */
@media (max-width: 1440px) {
  .news-pagination {
    margin-top: 40px;
  }
}

@media (max-width: 1024px) {
  .news-pagination {
    margin-top: 36px;
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .news-pagination {
    margin-top: 32px;
    gap: 6px;
  }

  .news-pagination .pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 6px 12px;
    font-size: 0.86rem;
  }

  .news-pagination .pagination-num {
    min-width: 40px;
    padding: 6px 10px;
  }
}

@media (max-width: 390px) {
  .news-pagination {
    margin-top: 26px;
    gap: 4px;
  }

  .news-pagination .pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 6px 8px;
    font-size: 0.82rem;
  }

  .news-pagination .pagination-prev i {
    margin-right: 0;
  }

  .news-pagination .pagination-next i {
    margin-left: 0;
  }

  .news-pagination .pagination-btn-text {
    display: none;
    /* Hide 'Trước'/'Sau' text on tiny screens to avoid wrapping; keep 40px touch chevrons */
  }

  .news-pagination .pagination-ellipsis {
    min-width: 24px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   NEWS LIST v3
   Editorial / Corporate Magazine Redesign for #news (Presentation Only)
   Overrides legacy rules in lines 1275-1445 and 2878-2879
   ========================================================================== */

/* 1. Section Surface & Widened Container (1380px max-width on desktop) */
#news.news {
  background: linear-gradient(180deg, #f1f5f9 0%, var(--bg) 100%);
  position: relative;
}

#news>.container,
#news .news-container {
  max-width: 1380px;
  width: 100%;
  padding-left: clamp(16px, 3.5vw, 44px);
  padding-right: clamp(16px, 3.5vw, 44px);
}

/* 2. Editorial Header Area — Strict Left Alignment & Larger Clamp Title */
#news .news-top-bar {
  margin-bottom: 28px;
  text-align: left;
}

#news .news-header-content,
#news .news-top-bar>div {
  max-width: 860px;
  margin: 0;
  text-align: left;
}

#news .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  /* 13px */
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #78550a;
  /* WCAG AA 6.4:1 on warm gold tint */
  background: linear-gradient(135deg, rgba(201, 162, 75, 0.22) 0%, rgba(232, 201, 122, 0.14) 100%);
  border: 1px solid rgba(201, 162, 75, 0.48);
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 16px 0;
}

#news .section-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

#news .section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 14px 0;
  text-align: left;
}

#news .section-subtitle {
  margin: 0;
  /* Fixes legacy margin: 0 auto indentation bug */
  max-width: 780px;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.68;
  color: #475569;
  /* WCAG AA 7.1:1 */
  text-align: left;
}

/* 3. Filter Bar — >= 44px Touch Targets, Clear Active Pill & Search Focus */
#news .posts-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 38px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid rgba(11, 42, 91, 0.1);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(11, 42, 91, 0.04);
}

#news .category-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#news .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  /* >= 44px touch height */
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9375rem;
  /* 15px */
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

#news .pill:hover:not(.active) {
  background: #ffffff;
  border-color: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.18);
}

#news .pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(11, 42, 91, 0.26);
}

#news .pill.active::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

#news .pill:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

#news .search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  /* >= 44px touch height */
  min-width: 300px;
  padding: 0 18px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

#news .search-box:focus-within {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.24);
}

#news .search-box i {
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

#news .search-box input {
  width: 100%;
  min-width: 0;
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
}

#news .search-box input::placeholder {
  color: #64748b;
}

/* 4. Vertical List of Article Blocks (1 Article Banner + Up to 4 Product Boxes per Block) */
#news .posts-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 30px);
}

#news .post-card.article-block {
  width: 100%;
  min-width: 0;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(11, 42, 91, 0.11);
  box-shadow: 0 6px 20px rgba(11, 42, 91, 0.05), 0 14px 36px rgba(11, 42, 91, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: default;
  transition: box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease;
  animation: newsCardFadeUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--card-index, 0) * 70ms);
}

#news .post-card.article-block:hover {
  transform: none;
  border-color: rgba(201, 162, 75, 0.55);
  box-shadow: 0 12px 28px rgba(11, 42, 91, 0.08), 0 22px 48px rgba(11, 42, 91, 0.1);
}

@keyframes newsCardFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 5. Article Banner — Full Inner Width, Compact Height Fitting 100% Zoom */
#news .article-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 28 / 9;
  min-height: 220px;
  max-height: 270px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: radial-gradient(circle at 30% 25%, var(--primary-light) 0%, var(--primary) 55%, var(--primary-dark) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

#news .article-banner:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

#news .post-card-media.article-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  border-bottom: none;
  z-index: 0;
}

#news .post-card-media.article-banner-media::after {
  display: none;
}

#news .article-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(4, 15, 36, 0.0) 0%,
      rgba(4, 15, 36, 0.10) 32%,
      rgba(4, 15, 36, 0.58) 100%),
    linear-gradient(90deg,
      rgba(4, 15, 36, 0.52) 0%,
      rgba(4, 15, 36, 0.18) 45%,
      rgba(4, 15, 36, 0.0) 75%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.35s ease;
}

#news .article-banner:hover .article-banner-overlay {
  opacity: 0.85;
}

#news .post-img.article-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.06) contrast(1.04);
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

#news .article-banner:hover .article-banner-img {
  transform: scale(1.04);
  filter: brightness(1.09) contrast(1.06);
}

#news .post-img-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 35%, #163a6e 0%, #0B2A5B 60%, #071d40 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

#news .post-fallback-logo {
  height: 96px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

#news .post-fallback-brand {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 201, 122, 0.92);
}

/* 6. Banner Overlaid Content — Category Badge, Full Title (No Ellipsis), 2-Line Excerpt & Footer */
#news .post-card-main.article-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

#news .post-card-body.article-banner-body {
  padding: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

#news .post-card-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

#news .post-category-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 4px 12px;
  border-radius: 999px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

#news .post-category-badge.badge--company-news {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

#news .post-category-badge.badge--market-regulations {
  background: linear-gradient(135deg, #f3dc99 0%, #e6be61 100%);
  color: #071d40;
  border: 1px solid var(--gold);
}

#news .post-category-badge.badge--operations {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

#news .post-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff6d6;
  background: rgba(201, 162, 75, 0.28);
  border: 1px solid rgba(232, 201, 122, 0.65);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
}

#news .post-featured-tag i {
  color: var(--gold-light);
  font-size: 0.72rem;
}

/* Banner Title: Fluid Size, Up to 3 Lines, NEVER Cut With an Ellipsis */
#news .post-title.article-banner-title {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(1.15rem, 1.65vw, 1.48rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95);
  max-width: 980px;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow: visible;
  text-overflow: clip;
  min-height: 0;
  max-height: none;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: color 0.22s ease;
}

#news .article-banner:hover .article-banner-title {
  color: #fdf6e2;
}

#news .post-title-text {
  display: block;
}

/* Pure CSS Sentence Case for ALL-CAPS Stored Titles (Does NOT alter stored text) */
#news .post-title.post-title--allcaps .post-title-text {
  text-transform: lowercase;
}

#news .post-title.post-title--allcaps .post-title-text::first-letter {
  text-transform: uppercase;
}

/* Animated Gold Accent Line under Title */
#news .post-title-accent {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  flex-shrink: 0;
  transition: width 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

#news .article-banner:hover .post-title-accent,
#news .article-banner:focus-within .post-title-accent {
  width: 104px;
}

/* Banner Excerpt: Clamped to 2 Lines */
#news .post-excerpt.article-banner-excerpt {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(0.82rem, 0.92vw, 0.88rem);
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.96);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9);
  max-width: 880px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

/* Banner Footer: Meta (Author & Date) + Read Full Article CTA */
#news .post-card-footer.article-banner-footer {
  padding: 8px 0 0 0;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

#news .post-meta.article-banner-meta {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.96);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  min-width: 0;
}

#news .post-meta.article-banner-meta i {
  color: var(--gold-light);
  font-size: 0.82rem;
  flex-shrink: 0;
}

#news .post-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

#news .post-meta .post-author-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#news .post-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

#news .btn-read-more.article-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 201, 122, 0.6);
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

#news .btn-read-more.article-banner-btn i {
  font-size: 0.8rem;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#news .article-banner:hover .btn-read-more.article-banner-btn,
#news .btn-read-more.article-banner-btn:focus-visible {
  background: linear-gradient(135deg, #f3dc99 0%, #e6be61 100%);
  color: #071d40;
  border-color: var(--gold-light);
}

#news .article-banner:hover .btn-read-more.article-banner-btn i,
#news .btn-read-more.article-banner-btn:focus-visible i {
  transform: translateX(4px);
}

/* 7. Product Boxes Row — Up to 4 Equal Columns Beneath the Article Banner */
#news .article-products-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

#news .article-product-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #f8fafc;
  border: 1px solid rgba(11, 42, 91, 0.1);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

#news .article-product-box:hover,
#news .article-product-box:focus-visible {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: rgba(201, 162, 75, 0.65);
  box-shadow: 0 10px 24px rgba(11, 42, 91, 0.09);
  outline: none;
}

#news .article-product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 120px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, var(--primary-light) 0%, var(--primary) 60%, var(--primary-dark) 100%);
  border-bottom: 1px solid rgba(11, 42, 91, 0.08);
  flex-shrink: 0;
}

#news .article-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

#news .article-product-box:hover .article-product-img {
  transform: scale(1.06);
}

#news .article-product-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 35%, #163a6e 0%, #0B2A5B 65%, #071d40 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

#news .article-product-fallback-logo {
  height: 52px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

#news .article-product-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
  min-width: 0;
}

#news .article-product-name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

#news .article-product-box:hover .article-product-name {
  color: var(--primary);
}

#news .article-product-desc {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.42;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

#news .article-product-spec {
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed rgba(11, 42, 91, 0.14);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

#news .article-product-spec i {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

#news .article-product-spec span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Empty Filter/Search State */
#news .posts-empty-state {
  text-align: center;
  padding: 64px 24px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px dashed #cbd5e1;
  color: #475569;
}

#news .posts-empty-state i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

#news .posts-empty-state p {
  font-size: 1rem;
  font-weight: 500;
}

/* Harmonize Pagination Touch Height with v3 Filter Bar */
#news .news-pagination .pagination-btn {
  min-width: 44px;
  height: 44px;
}

/* 8. Responsive Breakpoints: 1024px (Tablet 18:9 & 2-col products), 768px (Mobile 16:10), 520px (1-col products) */
@media (max-width: 1024px) {
  #news .article-banner {
    aspect-ratio: 18 / 9;
    min-height: 220px;
    max-height: 290px;
  }

  #news .article-products-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #news .search-box {
    min-width: 250px;
    flex: 1 1 260px;
  }
}

@media (max-width: 768px) {
  #news .posts-filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 14px;
    margin-bottom: 28px;
  }

  #news .category-pills {
    width: 100%;
    gap: 8px;
  }

  #news .pill {
    min-height: 44px;
    padding: 9px 16px;
    font-size: 0.875rem;
  }

  #news .search-box {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    min-height: 46px;
  }

  #news .search-box input {
    width: 100%;
    font-size: 1rem;
  }

  #news .post-card.article-block {
    border-radius: 16px;
    padding: 12px;
  }

  #news .article-banner {
    aspect-ratio: 16 / 10;
    min-height: 210px;
    max-height: none;
    border-radius: 12px;
  }

  #news .post-card-main.article-banner-content {
    padding: 14px 14px 12px;
    gap: 8px;
  }

  #news .post-title.article-banner-title {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  #news .post-excerpt.article-banner-excerpt {
    font-size: 0.82rem;
  }

  #news .article-products-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 540px) {
  #news .article-products-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

/* Small Mobile (390px) */
@media (max-width: 390px) {

  #news>.container,
  #news .news-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #news .section-title {
    font-size: 1.65rem;
  }

  #news .posts-filter-bar {
    padding: 12px;
    border-radius: 14px;
  }

  #news .category-pills {
    gap: 6px;
  }

  #news .pill {
    flex: 1 1 calc(50% - 6px);
    padding: 8px 12px;
    font-size: 0.84rem;
    text-align: center;
  }

  #news .news-pagination .pagination-btn {
    min-width: 40px;
    height: 40px;
  }
}

/* 9. Accessibility — Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {

  #news .post-card.article-block,
  #news .article-product-box {
    animation: none !important;
    transition: none !important;
  }

  #news .article-product-box:hover {
    transform: none !important;
  }

  #news .post-img,
  #news .article-product-img,
  #news .post-title-accent,
  #news .btn-read-more i,
  #news .pill {
    transition: none !important;
  }

  #news .article-banner:hover .article-banner-img,
  #news .article-product-box:hover .article-product-img {
    transform: none !important;
  }
}

/* ==========================================================================
   DESKTOP SCALE 70%
   Scales the entire desktop/laptop layout down to 70% of its current size
   so that default 100% zoom looks exactly as it does when manually zoomed to 70%
   in the browser.
   --------------------------------------------------------------------------
   HOW TO CHANGE SCALE LATER:
   Edit the single variable `--desktop-scale` below:
   - For 70%: --desktop-scale: 0.7; (Default target)
   - For 80%: --desktop-scale: 0.8;
   - For 90%: --desktop-scale: 0.9;
   - For 100%: --desktop-scale: 1;
   ========================================================================== */
:root {
  --desktop-scale: 0.7;
  /* <-- CHỈNH DUY NHẤT GIÁ TRỊ NÀY ĐỂ ĐỔI TỶ LỆ TOÀN TRANG (VD: 0.8 cho 80%, 0.9 cho 90%) */
}

@media (min-width: 992px) {
  html {
    zoom: var(--desktop-scale);
    scroll-padding-top: calc(var(--header-h) * var(--desktop-scale));
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    /* Ensure body text stays sharp and >= 12px after 0.7x scaling (17.3px * 0.7 = 12.1px) */
    font-size: 1.08rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* 1. Viewport height compensations: keep 100vh / vh sections from shrinking vertically */
  .hero {
    min-height: calc(100vh / var(--desktop-scale));
  }

  .modal-dialog {
    max-height: calc(90vh / var(--desktop-scale));
  }

  #commodityItemsModal .modal-dialog,
  .modal-dialog-commodity {
    height: calc(92vh / var(--desktop-scale)) !important;
    max-height: calc(92vh / var(--desktop-scale)) !important;
  }

  /* 2. Text sharpness: ensure small badges & meta elements never shrink below 12px after 0.7 scaling */
  .section-tag,
  .post-category-badge,
  .post-pinned-tag,
  .post-featured-tag,
  .post-meta,
  .article-banner-meta,
  .breadcrumb,
  .footer-bottom-inner {
    font-size: max(0.92rem, 15px);
    /* Sau khi nhân 0.7 vẫn >= 12px */
  }

  /* 3. Fallback for legacy browsers that do not support CSS zoom */
  @supports not (zoom: 0.7) {
    html {
      font-size: calc(100% * var(--desktop-scale));
    }

    .container {
      max-width: calc(1200px * var(--desktop-scale));
    }
  }
}

/* ==========================================================================
   SPACING POLISH v1 — News & Insights Section Spacing & Calmer Visual Hierarchy
   Everwin International Corporation
   ========================================================================== */

/* 1. Section Spacing & Soft Blue-Gray Background */
#news.news {
  background: var(--bg);
  padding: clamp(60px, 7vw, 100px) 0;
}

/* 2. Fluid Vertical Gap Between Article Blocks */
#news .posts-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 72px);
}

/* 3. Article Block Card — Crisp White Card, Layered Shadow & Divider */
#news .post-card.article-block {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid #e2e8f0;
  box-shadow:
    0 4px 16px rgba(11, 42, 91, 0.04),
    0 12px 32px rgba(11, 42, 91, 0.05);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

#news .post-card.article-block:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 75, 0.5);
  box-shadow:
    0 8px 24px rgba(11, 42, 91, 0.06),
    0 20px 48px rgba(11, 42, 91, 0.08);
}

/* Gold Divider Line Between Consecutive Blocks (Not after the last one) */
#news .post-card.article-block:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * clamp(18px, 2.5vw, 36px) - 1px);
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.75;
  pointer-events: none;
}

/* 4. Calmer, Uniform Article Banners */
#news .article-banner {
  aspect-ratio: 28 / 9;
  min-height: 230px;
  max-height: 275px;
  border-radius: 14px;
}

#news .article-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(4, 15, 36, 0.0) 0%,
      rgba(4, 15, 36, 0.12) 36%,
      rgba(4, 15, 36, 0.70) 100%),
    linear-gradient(90deg,
      rgba(4, 15, 36, 0.58) 0%,
      rgba(4, 15, 36, 0.20) 48%,
      rgba(4, 15, 36, 0.0) 75%);
  pointer-events: none;
  z-index: 1;
}

/* 5. Product Boxes Row & Equal-Height Alignment */
#news .article-products-row {
  margin-top: clamp(16px, 1.8vw, 22px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

#news .article-product-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

#news .article-product-box:hover,
#news .article-product-box:focus-visible {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(201, 162, 75, 0.6);
  box-shadow: 0 8px 22px rgba(11, 42, 91, 0.08);
  outline: none;
}

#news .article-product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 140px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, var(--primary-light) 0%, var(--primary) 60%, var(--primary-dark) 100%);
  border-bottom: 1px solid rgba(11, 42, 91, 0.08);
  flex-shrink: 0;
}

#news .article-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#news .article-product-box:hover .article-product-img {
  transform: scale(1.05);
}

#news .article-product-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
}

#news .article-product-name {
  margin: 0;
  font-size: 0.86rem;
  /* 13.7px */
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

#news .article-product-box:hover .article-product-name {
  color: #980000;
}

#news .article-product-desc {
  margin: 0;
  font-size: 0.80rem;
  /* 12.8px */
  line-height: 1.5;
  color: #475569;
  /* Darker, high-contrast readable gray */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

#news .article-product-spec {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(11, 42, 91, 0.12);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

/* 6. Spacing Above Pagination Bar */
#news .news-pagination-wrap {
  margin-top: clamp(40px, 5vw, 64px);
}

/* 7. Responsive Breakpoints for Product Boxes */
@media (max-width: 1024px) {
  #news .posts-grid {
    gap: clamp(28px, 4vw, 42px);
  }

  #news .article-products-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #news .post-card.article-block:not(:last-child)::after {
    bottom: calc(-1 * clamp(14px, 2vw, 21px) - 1px);
  }
}

@media (max-width: 640px) {
  #news .posts-grid {
    gap: clamp(24px, 3.5vw, 32px);
  }

  #news .article-products-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #news .post-card.article-block:not(:last-child)::after {
    bottom: calc(-1 * clamp(12px, 1.75vw, 16px) - 1px);
    width: 54px;
  }
}

/* ==========================================================================
   LOGO SLIDE + TAGLINE FADE (HEADER ONLY)
   Replaces earlier logo hover effects.
   On hover (>=1280px with clearance): group slides left so it ends ~32px
   before the Home pill. Tagline slides out & fades in smoothly from behind Everwin.
   No clip-path cut, pure transform + opacity.
   Stationary pseudo-element hit-area prevents hover jitter.
   Graceful fallback to subtle 3px lift on narrower screens or touch devices.
   ========================================================================== */

:root {
  --logo-slide-duration: 0.9s;
  --logo-slide-easing: cubic-bezier(0.33, 1, 0.68, 1);
  --tagline-delay: 0.35s;
  --tagline-duration: 1s;
  --tagline-easing: cubic-bezier(0.33, 1, 0.68, 1);
  --logo-nav-gap: 32px;
}

/* 1. Base setup for header brand logo */
.header .brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

.header .brand-logo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.header .brand-logo .brand-logo-img {
  flex-shrink: 0;
  display: block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.header .brand-logo .logo-text {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Decorative tagline: DEFAULT IS 100% HIDDEN & OUT OF FLOW */
.header .brand-logo .logo-tagline {
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  white-space: nowrap;
  pointer-events: none;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #073242;
  /* Starts invisible and shifted slightly left behind Everwin */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-18px);
  /* On mouse leave: fades out & slides back first (faster than intro) */
  transition:
    opacity 0.45s var(--tagline-easing),
    transform 0.45s var(--tagline-easing),
    visibility 0.45s;
  transition-delay: 0s;
}

/* 3. Desktop Slide + Reveal (Active when .can-slide-logo is set on header) */
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .header.can-slide-logo .brand-logo {
    /* On mouse leave: logo slides back after tagline has begun retreating */
    transition: transform 0.6s var(--logo-slide-easing) 0.15s;
  }

  .header.can-slide-logo .brand-logo:hover,
  .header.can-slide-logo .brand-logo:focus-visible {
    will-change: transform;
  }

  /* Stationary hit-area prevents hover jitter when logo slides left */
  .header.can-slide-logo .brand-logo::before {
    content: "";
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -12px;
    right: -12px;
    z-index: 2;
    pointer-events: auto;
  }

  /* Expand hit-area backwards as logo moves left so cursor remains inside hit area */
  .header.can-slide-logo .brand-logo:hover::before,
  .header.can-slide-logo .brand-logo:focus-visible::before {
    right: calc(-1 * var(--logo-slide-dist, 0px) - 20px);
  }

  /* Slide logo left on hover / focus-visible */
  .header.can-slide-logo .brand-logo:hover,
  .header.can-slide-logo .brand-logo:focus-visible {
    transform: translateX(calc(-1 * var(--logo-slide-dist, 0px)));
    transition: transform var(--logo-slide-duration) var(--logo-slide-easing) 0s;
  }

  /* Reveal tagline: slides out smoothly & fades in at the same time */
  .header.can-slide-logo .brand-logo:hover .logo-tagline,
  .header.can-slide-logo .brand-logo:focus-visible .logo-tagline {
    will-change: transform, opacity;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    transition:
      opacity var(--tagline-duration) var(--tagline-easing),
      transform var(--tagline-duration) var(--tagline-easing),
      visibility 0s;
    transition-delay: var(--tagline-delay);
  }
}

/* 4. Fallback for screens < 1280px, narrow spaces, or touch devices:
      Tagline is NEVER visible; logo + text do a subtle 3px lift on hover */
.header:not(.can-slide-logo) .brand-logo:hover .brand-logo-img,
.header:not(.can-slide-logo) .brand-logo:focus-visible .brand-logo-img {
  transform: translateY(-3px) scale(1.03);
}

.header:not(.can-slide-logo) .brand-logo:hover .logo-text,
.header:not(.can-slide-logo) .brand-logo:focus-visible .logo-text {
  transform: translateY(-3px);
}

.header:not(.can-slide-logo) .brand-logo .logo-tagline {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 5. Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

  .header .brand-logo,
  .header .brand-logo .brand-logo-img,
  .header .brand-logo .logo-text,
  .header .brand-logo .logo-tagline {
    transform: none !important;
    transition: none !important;
  }

  .header .brand-logo .logo-tagline {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* ==========================================================================
   HERO BACKGROUND SLIDESHOW & KEN BURNS CONTROLS
   Smooth crossfade (900ms opacity), slow Ken Burns zoom (3900ms scale 1.0 -> 1.06),
   slim bottom indicators with 3s hold progress timer, round hover arrows, and safe single-slide fallback.
   ========================================================================== */

:root {
  --hero-hold-ms: 3000ms;
  --hero-transition-ms: 900ms;
  --hero-kenburns-duration: 3900ms;
  --hero-indicator-delay: 0ms;
}

/* Slide active transition with Ken Burns zoom */
.hero-slide.active,
.hero-bg-image.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transform: scale(1.06);
  will-change: transform, opacity;
  transition:
    opacity var(--hero-transition-ms) cubic-bezier(0.4, 0, 0.2, 1),
    transform var(--hero-kenburns-duration) cubic-bezier(0.25, 1, 0.5, 1);
}

/* Exiting slide during crossfade */
.hero-slide.exiting {
  opacity: 0;
  visibility: visible;
  z-index: 0;
  transform: scale(1.06);
  will-change: opacity;
  transition: opacity var(--hero-transition-ms) cubic-bezier(0.4, 0, 0.2, 1), visibility var(--hero-transition-ms);
}

/* Hero Content z-index protection */
.hero-content {
  position: relative;
  z-index: 3;
}

/* Slideshow Bottom Navigation Bar */
.hero-controls-bottom {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: rgba(6, 14, 30, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

/* Optional Caption Chip */
.hero-slide-caption {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

.hero-slide-caption.has-caption {
  display: inline-block;
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Indicators */
.hero-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-indicator-btn {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-indicator-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-indicator-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Active indicator expands and shows animated 4-second progress fill */
.hero-indicator-btn.active {
  width: 38px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-indicator-btn.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold, #c9a24b);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(201, 162, 75, 0.6);
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroIndicatorProgress var(--hero-hold-ms, 3000ms) linear var(--hero-indicator-delay, 0ms) forwards;
}

@keyframes heroIndicatorProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* Paused state freezes the progress fill bar animation */
.hero.is-paused .hero-indicator-btn.active::after {
  animation-play-state: paused;
}

/* Play / Pause button */
.hero-play-pause {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-play-pause:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #071d40;
}

.hero-play-pause:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Desktop Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 14, 30, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:focus-visible {
  opacity: 1;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero-arrow-prev {
  left: clamp(16px, 3vw, 40px);
}

.hero-arrow-next {
  right: clamp(16px, 3vw, 40px);
}

.hero-arrow:hover {
  background: var(--gold);
  color: #071d40;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

/* Single Slide State: Behaves exactly as original static hero banner */
.hero.single-slide .hero-slide.active,
.hero.single-slide .hero-bg-image.active {
  transform: none !important;
  transition: none !important;
}

.hero.single-slide .hero-arrow,
.hero.single-slide .hero-controls-bottom {
  display: none !important;
}

/* Responsive: Mobile & Touch viewports */
@media (max-width: 991px),
(hover: none) {
  .hero-arrow {
    display: none !important;
  }

  .hero-controls-bottom {
    bottom: 12px;
    padding: 4px 10px;
    gap: 8px;
  }

  .hero-indicator-btn {
    width: 18px;
    height: 3px;
  }

  .hero-indicator-btn.active {
    width: 26px;
  }
}

/* Accessibility: Reduced Motion (instant switch, autoplay & progress timer remain active) */
@media (prefers-reduced-motion: reduce) {
  .hero {
    --hero-indicator-delay: 0ms !important;
  }

  .hero-slide {
    transition: none !important;
    transform: none !important;
  }

  .hero-slide.active,
  .hero-bg-image.active {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-slide.exiting {
    opacity: 0 !important;
    transform: none !important;
  }
}