/* ==========================================================================
   METALL AGENCY — LIGHT LUXE DIGITAL AGENCY DESIGN SYSTEM
   Standard: design-taste-frontend (figma.com & stripe.com level of polish)
   Brand Colors: Primary Cyan #35adc5 | Teal #007e98 | Canvas #ffffff | Ink #0f172a
   ========================================================================== */

:root {
  --primary: #35adc5;
  --primary-rgb: 53, 173, 197;
  --primary-light: #4cc7e0;
  --primary-dark: #007e98;
  --primary-glow: rgba(53, 173, 197, 0.25);
  
  --accent-cyan: #00bcd4;
  --accent-gradient: linear-gradient(135deg, #007e98 0%, #35adc5 50%, #00d2ff 100%);
  --accent-subtle: rgba(53, 173, 197, 0.08);

  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;

  --border-subtle: #e2e8f0;
  --border-card: #e5e9f0;
  --border-highlight: rgba(53, 173, 197, 0.4);
  --border-glow: rgba(53, 173, 197, 0.6);

  --text-main: #0f172a;       /* Slate 900 */
  --text-body: #334155;       /* Slate 700 */
  --text-muted: #64748b;      /* Slate 500 */
  --text-dim: #94a3b8;        /* Slate 400 */
  --text-inverse: #ffffff;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --gh-font-heading: var(--font-heading);
  --gh-font-body: var(--font-body);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-hover: 0 12px 30px -4px rgba(53, 173, 197, 0.15), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 35px -5px rgba(53, 173, 197, 0.3);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-body);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background-color: var(--bg-body);
  color: var(--text-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ambient Canvas Background - Light Luxury */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(53, 173, 197, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 88% 60%, rgba(0, 168, 204, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(53, 173, 197, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { color: var(--text-body); }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cyan-text {
  color: var(--primary);
}

/* Containers */
.metall-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.metall-container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(53, 173, 197, 0.1);
  border: 1px solid rgba(53, 173, 197, 0.3);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #35adc5 0%, #0093ae 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(53, 173, 197, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3ec1dc 0%, #00a4c2 100%);
  box-shadow: 0 6px 24px rgba(53, 173, 197, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   HEADER & NAVBAR (LIGHT LUXE)
   ========================================================================== */

.metall-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

.metall-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(53, 173, 197, 0.25);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  height: 48px;
}

.site-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.desktop-nav .nav-menu-vi { display: flex; }
.desktop-nav .nav-menu-en { display: none; }
.desktop-nav.lang-en .nav-menu-vi { display: none; }
.desktop-nav.lang-en .nav-menu-en { display: flex; }

.mobile-drawer .mobile-nav-vi { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-drawer .mobile-nav-en { display: none; }
.mobile-drawer.lang-en .mobile-nav-vi { display: none; }
.mobile-drawer.lang-en .mobile-nav-en { display: flex; flex-direction: column; gap: 1.25rem; }

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.nav-current {
  color: var(--primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.nav-current::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.lang-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.lang-btn.active, .lang-btn:hover {
  color: var(--primary-dark);
  font-weight: 800;
}

.lang-divider {
  color: var(--text-dim);
  opacity: 0.5;
}

.search-trigger-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-trigger-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: #ffffff;
  display: none;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
  z-index: 99;
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.active {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION WITH KINETIC MOTION GRAPHIC CANVAS
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Kinetic Motion Canvas */
#hero-kinetic-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge-wrap {
  margin-bottom: 2rem;
}

.hero-title {
  margin-bottom: 1.75rem;
  line-height: 1.15;
}

.hero-description {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  color: var(--text-body);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Hero Metrics Ticker */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.25rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

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

.metric-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   PARTNER / CLIENT LOGO MARQUEE
   ========================================================================== */

.marquee-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-weight: 700;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: var(--transition-fast);
}

.partner-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo-item img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   SERVICES MATRIX (CLEAN CARDS)
   ========================================================================== */

.section-padding {
  padding: 6.5rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-head .badge-pill {
  margin-bottom: 1rem;
}

.section-head h2 {
  margin-bottom: 1rem;
}

.section-head p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(53, 173, 197, 0.1);
  border: 1px solid rgba(53, 173, 197, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  margin-bottom: 1.75rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-wrap {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(53, 173, 197, 0.4);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.service-description {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: var(--text-body);
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.service-link svg {
  transition: var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   STRATEGIC 3-STEP METHODOLOGY
   ========================================================================== */

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(53, 173, 197, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   CORE VALUES
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.value-card h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.value-card p {
  color: var(--text-body);
  font-size: 0.95rem;
}

/* ==========================================================================
   ABOUT PAGE & MISSION / VISION CARDS
   ========================================================================== */

.about-page-wrap .post-header {
  padding: 4.5rem 1.5rem 2.5rem;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.about-page-wrap .post-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin: 1.25rem auto 0;
  max-width: 780px;
}

.about-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.about-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.about-card .badge-pill {
  align-self: flex-start;
  margin-bottom: 1.25rem;
}

.about-card-title,
.about-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  font-weight: 800;
}

.about-card-desc,
.about-card p {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-muted);
}

/* ==========================================================================
   POSTS GRID
   ========================================================================== */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.post-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-subtle);
}

.post-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card-image {
  transform: scale(1.04);
}

.post-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.post-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.post-card-title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.post-card:hover .post-card-title {
  color: var(--primary-dark);
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 700;
}

/* ==========================================================================
   HIGH-CONVERTING CTA BANNER
   ========================================================================== */

.cta-banner-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #07090e 0%, #0e1726 100%);
  border: 1px solid rgba(53, 173, 197, 0.3);
  padding: 4.5rem 3rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-banner-wrap h2, .cta-banner-wrap .cta-banner-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  max-width: 840px;
  margin: 0 auto 1.5rem auto;
  position: relative;
  z-index: 1;
}

.cta-banner-wrap p, .cta-banner-wrap .cta-banner-desc {
  color: #cbd5e1;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 2.25rem auto;
  position: relative;
  z-index: 1;
}

.cta-banner-wrap .btn,
.cta-banner-wrap > div {
  position: relative;
  z-index: 1;
}

.cta-banner-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(53, 173, 197, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   ARTICLE / POST PAGE
   ========================================================================== */

.post-header {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.post-category-badge {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.post-header {
  max-width: 1180px;
  margin: 0 auto;
  text-align: left;
  padding: 2.5rem 1.5rem 1.5rem;
}

.post-title {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-info-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.post-feature-image-wrap {
  max-width: 1180px;
  margin: 0 auto 3.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.post-feature-image {
  width: 100%;
  height: auto;
  display: block;
}

.gh-content {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--text-body);
  overflow-wrap: break-word;
  word-break: break-word;
}

.gh-content h1, .gh-content h2, .gh-content h3, .gh-content h4, .gh-content h5, .gh-content h6 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  scroll-margin-top: 100px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.gh-content h1 a, .gh-content h2 a, .gh-content h3 a, .gh-content h4 a, .gh-content h5 a, .gh-content h6 a {
  color: inherit !important;
  text-decoration: none !important;
}

.gh-content h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
  line-height: 1.3;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(53, 173, 197, 0.15);
  padding-bottom: 0.5rem;
}

.gh-content h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.gh-content p {
  margin-bottom: 1.75rem;
  color: #334155;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.gh-content a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gh-content a:hover {
  color: var(--primary);
}

.gh-content blockquote {
  border-left: 3.5px solid var(--primary);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-main);
  background: rgba(53, 173, 197, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 100%;
}

.gh-content figure,
.gh-content .wp-caption,
.gh-content .wp-caption.aligncenter,
.gh-content .wp-caption.alignnone,
.gh-content .wp-caption.alignleft,
.gh-content .wp-caption.alignright {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.gh-content figure img,
.gh-content .wp-caption img,
.gh-content img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  display: block !important;
  box-sizing: border-box !important;
  margin: 1.5rem auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.gh-content figcaption,
.gh-content .wp-caption-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: break-word;
}

.gh-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gh-content table th,
.gh-content table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.gh-content iframe,
.gh-content video,
.gh-content embed,
.gh-content object {
  max-width: 100% !important;
  border-radius: var(--radius-md);
}

.gh-content iframe[src*="youtube"],
.gh-content iframe[src*="vimeo"] {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
}

.gh-content pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.9rem;
  margin: 2rem 0;
}

.gh-content code {
  font-family: monospace;
  font-size: 0.9em;
  padding: 0.2em 0.4em;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 4px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.gh-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.gh-content ul, .gh-content ol {
  margin: 1.5rem 0 1.75rem 1.5rem;
  max-width: 100%;
}

.gh-content li {
  margin-bottom: 0.65rem;
  line-height: 1.75;
  color: #334155;
  overflow-wrap: break-word;
}

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient);
  width: 0%;
  z-index: 999;
  transition: width 0.1s;
}

/* ==========================================================================
   FOOTER (LIGHT LUXE)
   ========================================================================== */

.metall-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: #f8fafc;
  padding: 5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 340px;
  color: var(--text-body);
}

.footer-col-title {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.footer-contact-info a {
  color: var(--primary-dark);
  font-weight: 600;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(53, 173, 197, 0.4);
}

/* ==========================================================================
   GHOST KOENIG EDITOR & CARD SUPPORT
   ========================================================================== */

.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1200px;
  margin-left: calc(50% - 42.5vw);
  margin-right: calc(50% - 42.5vw);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0 !important;
}

.kg-card {
  margin: 2.5rem 0;
}

.kg-image-card img {
  display: block;
  margin: 0 auto;
}

.kg-embed-card {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0;
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kg-gallery-row {
  display: flex;
  gap: 1.5rem;
}

.kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.kg-bookmark-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.kg-bookmark-container {
  display: flex;
  text-decoration: none !important;
  color: var(--text-body) !important;
}

.kg-bookmark-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.kg-bookmark-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.kg-bookmark-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.kg-bookmark-thumbnail {
  position: relative;
  min-width: 33%;
  max-height: 100%;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
}

.kg-callout-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(53, 173, 197, 0.3);
  background: rgba(53, 173, 197, 0.06);
  margin: 2.5rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid, .methodology-grid, .posts-grid, .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .desktop-nav, .desktop-nav * {
    display: none !important;
  }
  .nav-actions #header-cta-btn {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
  .section-head {
    margin: 0 auto 2.5rem;
  }
  .post-header {
    padding: 3rem 1.25rem 2rem;
  }
  .marquee-section {
    padding: 2.5rem 0;
  }
  .marquee-section::before,
  .marquee-section::after {
    width: 48px;
  }
  .about-split-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .about-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
  }
  .about-card-title,
  .about-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
  }
  .about-card-desc,
  .about-card p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .cta-banner-wrap {
    padding: 3rem 1.5rem;
  }
  .cta-banner-wrap h2, .cta-banner-wrap .cta-banner-title {
    margin-bottom: 1rem;
  }
  .cta-banner-wrap p, .cta-banner-wrap .cta-banner-desc {
    margin-bottom: 1.75rem;
  }
  .services-grid, .methodology-grid, .posts-grid, .values-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-card {
    padding: 1.65rem 1.25rem;
  }
  .about-card-title,
  .about-card h3 {
    font-size: 1.25rem;
  }
  .about-card .badge-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }
  .marquee-section::before,
  .marquee-section::after {
    width: 32px;
  }
}

/* ==========================================================================
   FORM INPUTS & SELECTS (LIGHT LUXE DESIGN SYSTEM)
   ========================================================================== */
.form-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(53, 173, 197, 0.18), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
  cursor: pointer;
}

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

/* Marquee Edge Gradient Masks */
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* ==========================================================================
   INTERACTIVE BRIEF & CONSULTATION PORTAL STYLES
   ========================================================================== */
.consultation-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.consultation-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition-fast);
}

.consultation-pillar-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.brief-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-card);
}

.brief-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.brief-submit-btn {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
  width: 100%;
}

.consultation-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.brief-checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.brief-checkbox-card:hover {
  border-color: rgba(53, 173, 197, 0.5);
  background: rgba(53, 173, 197, 0.03);
  transform: translateY(-1px);
}

.brief-checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.brief-checkbox-card .checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.brief-checkbox-card .checkbox-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.15s ease-in-out;
}

.brief-checkbox-card input[type="checkbox"]:checked ~ .checkbox-box {
  background: var(--primary);
  border-color: var(--primary);
}

.brief-checkbox-card input[type="checkbox"]:checked ~ .checkbox-box::after {
  transform: rotate(45deg) scale(1);
}

.brief-checkbox-card:has(input[type="checkbox"]:checked) {
  border-color: var(--primary);
  background: rgba(53, 173, 197, 0.06);
  box-shadow: 0 0 0 1px var(--primary);
}

.brief-checkbox-card .checkbox-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

/* Budget Pill Labels */
.budget-pill-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.budget-pill-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.budget-pill-label span {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.budget-pill-label:hover span {
  border-color: rgba(53, 173, 197, 0.6);
  background: rgba(53, 173, 197, 0.04);
  color: var(--text-main);
}

.budget-pill-label input[type="radio"]:checked + span {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(53, 173, 197, 0.35);
}

/* Grids and Responsive Helpers */
.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .consultation-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
  .consultation-steps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .brief-form-card {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .brief-options-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
  .brief-checkbox-card {
    padding: 0.85rem 1rem;
  }
  .form-two-col {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .consultation-pillar-card {
    padding: 1.5rem 1.25rem;
  }
  .about-split-grid,
  .contact-split-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .consultation-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .consultation-steps-grid .step-card {
    padding: 1.75rem 1.25rem;
  }
  .brief-submit-btn {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .brief-form-card {
    padding: 1.5rem 1rem;
  }
  .budget-pill-label span {
    padding: 0.5rem 0.85rem;
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   BILINGUAL FOOTER VISIBILITY
   ========================================================================== */
.metall-footer .footer-en {
  display: none;
}
.metall-footer .footer-copy-en {
  display: none;
}

.metall-footer.lang-en .footer-vi {
  display: none !important;
}
.metall-footer.lang-en .footer-en {
  display: grid !important;
}
.metall-footer.lang-en .footer-copy-vi {
  display: none !important;
}
.metall-footer.lang-en .footer-copy-en {
  display: block !important;
}

/* ==========================================================================
   ARTICLE LAYOUT, TOC & SEO SIDEBAR STYLES
   ========================================================================== */
.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.article-main {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

@media (max-width: 1040px) {
  .article-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .article-sidebar {
    position: static;
    top: 0;
    max-width: 100%;
    width: 100%;
  }
}

/* Post Author Profile Card */
.post-author-card {
  margin-top: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.post-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.post-author-avatar-fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(53, 173, 197, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.post-author-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.post-author-name {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 700;
}

.post-author-bio {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .post-author-card {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.5rem 1.25rem !important;
    gap: 1rem !important;
  }
  .post-author-avatar,
  .post-author-avatar-fallback {
    margin: 0 auto;
  }
}

/* Breadcrumb Bar */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.article-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.breadcrumb-separator {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Social Share Buttons */
.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(53, 173, 197, 0.08);
  transform: translateY(-2px);
}

.share-btn.copy-link-btn {
  width: auto;
  padding: 0 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.35rem;
}

/* Inline Table of Contents (TOC) inside Article */
.article-inline-toc {
  background: #f8fafc;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0 3rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.inline-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.inline-toc-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.inline-toc-title svg {
  color: var(--primary);
}

.inline-toc-toggle,
.toc-toggle-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.inline-toc-toggle:hover,
.toc-toggle-btn:hover {
  background: rgba(53, 173, 197, 0.1);
}

.inline-toc-list,
.toc-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inline-toc-body.collapsed,
.toc-nav-list.collapsed {
  display: none;
}

.toc-item.toc-level-2 {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.96rem;
}

.toc-item.toc-level-3 {
  padding-left: 1.35rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.toc-link {
  color: inherit;
  text-decoration: none !important;
  transition: var(--transition-fast);
  display: inline-block;
  line-height: 1.5;
}

.toc-link:hover,
.toc-link.active {
  color: var(--primary) !important;
  transform: translateX(4px);
}

/* Sidebar & Sticky Widgets */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid rgba(53, 173, 197, 0.2);
}

.sidebar-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  position: relative;
}

.sidebar-widget-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

/* Sidebar Latest Posts (Internal SEO Link Juice) */
.sidebar-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar-post-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.sidebar-post-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(53, 173, 197, 0.25);
}

.date-badge-day {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.date-badge-month {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.sidebar-post-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.sidebar-post-title a {
  color: var(--text-main);
  text-decoration: none !important;
  transition: var(--transition-fast);
}

.sidebar-post-title a:hover {
  color: var(--primary);
}

.sidebar-widget.toc-widget .toc-nav-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.sidebar-widget.toc-widget .toc-nav-list::-webkit-scrollbar {
  width: 4px;
}

.sidebar-widget.toc-widget .toc-nav-list::-webkit-scrollbar-thumb {
  background: rgba(53, 173, 197, 0.3);
  border-radius: 4px;
}

/* Post Card Placeholder Graphic */
.post-card-image-placeholder {
  height: 220px;
  background: linear-gradient(135deg, rgba(53, 173, 197, 0.08) 0%, rgba(0, 126, 152, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   EDITORIAL MAGAZINE STYLES FOR NEWS ARCHIVE (/tin-tuc/ & /blog/)
   ========================================================================== */
.news-spotlight-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 4rem;
  align-items: center;
  transition: var(--transition-medium);
}

.news-spotlight-card:hover {
  border-color: rgba(53, 173, 197, 0.4);
  box-shadow: 0 12px 36px rgba(53, 173, 197, 0.12);
}

@media (max-width: 920px) {
  .news-spotlight-card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
  }
}

.news-spotlight-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: block;
}

.news-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-spotlight-card:hover .news-spotlight-img {
  transform: scale(1.04);
}

.news-spotlight-title {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 1rem 0;
}

.news-spotlight-title a {
  color: var(--text-main);
  text-decoration: none !important;
  transition: var(--transition-fast);
}

.news-spotlight-title a:hover {
  color: var(--primary);
}

.news-category-bar {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.category-filter-pill {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.category-filter-pill:hover,
.category-filter-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(53, 173, 197, 0.3);
}

@media (max-width: 640px) {
  .news-spotlight-card {
    padding: 1.25rem;
    gap: 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
  }
  .news-spotlight-title {
    font-size: clamp(1.25rem, 5vw, 1.65rem);
    margin: 0.75rem 0;
  }
  .news-category-bar {
    gap: 0.5rem;
    justify-content: center;
  }
  .category-filter-pill {
    padding: 0.45rem 0.9rem;
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   TAG & AUTHOR ARCHIVE HEADERS
   ========================================================================== */
.tag-header,
.author-header {
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

@media (max-width: 768px) {
  .tag-header,
  .author-header {
    padding: 2.75rem 1.25rem 2rem;
  }
  .article-share-links {
    margin-left: 0 !important;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-subtle);
    justify-content: flex-start;
  }
}




