/**
 * Thinh Long Group — Corporate Trust design system
 * Modern enterprise SaaS: trustworthy, vibrant, polished, dimensional
 */

/* Design tokens */
:root {
  /* Colors (Light) — logo palette: #0688D3 blue · #BC3601 red-orange · #F4D9C0 warm peach */
  --color-bg: #F8FAFC;
  --color-bg-alt: #FDF9F6; /* warm tint from peach */
  --color-surface: #FFFFFF;
  --color-primary: #0688D3;       /* logo blue — màu chủ đạo */
  --color-primary-dark: #0570AE;
  --color-primary-light: #1A9DE8;
  --color-secondary: #BC3601;     /* logo red-orange — màu nhấn */
  --color-secondary-dark: #9C2E01;
  --color-accent: var(--color-primary);
  --color-accent-muted: rgba(6, 136, 211, 0.85);
  --color-warm: #F4D9C0;          /* logo peach — warm tints */
  --color-warm-dark: #ECC9A8;
  --color-text: #0F172A;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-border-dark: rgba(226, 232, 240, 0.14);
  --color-link: var(--color-primary);
  --color-link-hover: var(--color-primary-light);
  --color-link-hover-bg: rgba(6, 136, 211, 0.08);

  /* Accent (sparingly) */
  --color-success: #10B981;
  --color-accent-orange: #BC3601; /* alias: logo red-orange */

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --text-h1: clamp(2.5rem, 5vw, 4rem); /* 40–64px */
  --text-h2: clamp(1.75rem, 3vw, 2.25rem);
  --text-h3: 1.5rem;
  --text-h4: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-label: 0.75rem;
  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-body: 1.65;

  /* Spacing: unified vertical rhythm */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --section-pad-y: 72px;
  --section-pad-y-lg: 96px;
  --section-pad-y-xl: 120px;
  --section-pad-lg: 6rem;
  --section-pad-md: 4rem;
  --container-max: 1600px;
  --container-pad: 1.5rem;
  --radius: 12px; /* cards */
  --radius-lg: 16px; /* hero mockup */
  --radius-input: 8px;

  /* Dark */
  --color-bg-dark: #0B1020;
  --color-surface-dark: rgba(255, 255, 255, 0.06);

  /* Effects: colored shadows + gradients — warm amber palette */
  --shadow-soft: 0 4px 20px -2px rgba(6, 136, 211, 0.10);
  --shadow-card: 0 10px 25px -5px rgba(6, 136, 211, 0.15), 0 8px 10px -6px rgba(6, 136, 211, 0.08);
  --shadow-btn: 0 4px 14px 0 rgba(217, 119, 6, 0.35);   /* amber shadow */
  --color-btn-primary: #F59E0B;         /* Amber 400 — button chủ đạo */
  --color-btn-primary-hover: #D97706;   /* Amber 500 hover */
  --color-btn-primary-text: #1C1917;    /* near-black for contrast on yellow */
  --gradient-primary: linear-gradient(90deg, #F59E0B 0%, #BC3601 100%); /* warm: amber → red-orange */
  --gradient-soft: radial-gradient(700px 420px at 15% 25%, rgba(245, 158, 11, 0.12), transparent 60%),
                   radial-gradient(600px 360px at 85% 30%, rgba(188, 54, 1, 0.10), transparent 55%);

  /* Layout constants */
  /* Debug 2026-05-18 (header-logo-bigger-dropdown-arrow): 80→104px để sync với
     desktop logo 80px + padding 8px (4px×2) → 88px (mobile/tablet vẫn dùng explicit 64px). */
  --header-h: 88px;
  /* Unified spacing: card grids + section title → lead → content */
  --layout-grid-gap: var(--space-6);
  --layout-stack-tight: var(--space-4);
  --layout-stack-loose: var(--space-8);
  --section-gap: var(--space-8);
  --title-gap: var(--space-4);
  --title-content-gap: var(--space-6);
  --block-gap: var(--space-4);

  /* Global transition duration */
  --transition-0_3: 0.3s;
}

@media (min-width: 768px) {
  :root {
    --section-pad-y: 88px;
    --section-pad-y-lg: 112px;
    --section-pad-y-xl: 136px;
    --container-pad: 2rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-pad-y: 104px;
    --section-pad-y-lg: 132px;
    --section-pad-y-xl: 156px;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* Removed scroll-behavior: smooth to prevent conflict with JS scroll logic */
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

/* Normalize transitions: hover/header/state changes should use 0.3s */
/* Removed global transition-duration !important as it interferes with JS-driven scroll animations */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: clip;
  overscroll-behavior-x: none;
}

/*
 * Large-screen scaling:
 * Previously used `body{ zoom: ... }` for 2k/4k/8k, which distorts layout and
 * hero sizing/breakpoints on very wide screens.
 * Now we rely only on `clamp()`/`vw`/standard breakpoints for stable responsive behavior.
 */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--color-link-hover); }

/* Typography: H1 > H2 > body, high readability */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800; /* Bolder for premium look */
  line-height: var(--lh-heading);
  margin-top: 0;
  margin-bottom: var(--title-gap);
  letter-spacing: -0.02em;
}
h1 { font-size: var(--text-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--text-h2); margin-bottom: var(--title-content-gap); }
h3 { font-size: var(--text-h3); margin-bottom: var(--title-gap); }
h4 { font-size: var(--text-h4); }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

/* Typography rhythm utilities */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: var(--section-gap);
}
.section-header--left {
  text-align: left;
  margin-inline: 0;
}
.section-header .section-title {
  margin-bottom: var(--title-gap);
  font-size: var(--text-h2);
}
.section-header .section-lead {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: var(--lh-body);
}
.mb-title { margin-bottom: var(--title-gap) !important; }
.mb-section { margin-bottom: var(--space-12) !important; }
.btn-group { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Layout: grid-based, max 1200px, large vertical rhythm */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}
.section--alt {
  background: var(--color-surface);
}
.section--dark {
  background: linear-gradient(180deg, #0B1020 0%, #070A14 100%);
  color: #EAF0FF;
  position: relative;
  overflow: hidden;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p,
.section--dark .text-muted { color: #FAFAFA; }
.section--dark .text-muted { opacity: 0.85; }
.section--dark a:not(.btn) { color: rgba(250,250,250,0.9); }
.section--dark a:not(.btn):hover { color: #FAFAFA; }
.section--lg {
  padding-top: var(--section-pad-lg);
  padding-bottom: var(--section-pad-lg);
}
.section--md {
  padding-top: var(--section-pad-md);
  padding-bottom: var(--section-pad-md);
}

/* Optional column templates (chained selectors beat @media .footer-grid defaults) */
.footer-grid.footer-grid--minmax-240 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.footer-grid.footer-grid--minmax-260 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.footer-grid.footer-grid--minmax-200 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-grid.footer-grid--minmax-280 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.u-measure-narrow {
  max-width: 45rem;
  margin-left: auto;
  margin-right: auto;
}
.u-mt-loose {
  margin-top: var(--layout-stack-loose);
}
.trust-chips--center {
  justify-content: center;
  margin-top: var(--layout-stack-loose);
}

.container.container--narrow {
  max-width: 35rem; /* 560px */
}
.btn--full {
  width: 100%;
}

/* Generic layout utilities — markup (page-du-hoc, taxonomy-product_cat) dùng
   các class này nhưng trước đó chưa có CSS → cột text/ảnh bị lệch về 1 bên. */
.grid {
  display: grid;
  gap: var(--space-8);
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.u-align-center {
  align-items: center;
}
@media (max-width: 767px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
}
.img-responsive {
  display: block;
  width: 100%;
  height: auto;
}
.rounded-lg {
  border-radius: var(--radius-lg);
}
.shadow-lg {
  box-shadow: var(--shadow-card);
}

/* Scroll reveal (sections + footer) — activated via html.js-reveal-on-scroll from main.js */
html.js-reveal-on-scroll .reveal-on-scroll:not(.is-revealed) {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
html.js-reveal-on-scroll .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ENH-033 — Enterprise hero motion preset for non-homepage pages */
html.js-reveal-on-scroll .enterprise-hero .enterprise-motion-item:not(.is-revealed) {
  opacity: 0;
  transform: translateY(0.75rem);
  transition-duration: 0.56s !important;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  transition-delay: var(--enterprise-delay, 0ms) !important;
}
html.js-reveal-on-scroll .enterprise-hero .enterprise-motion-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal-on-scroll .reveal-on-scroll:not(.is-revealed) {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
  html.js-reveal-on-scroll .enterprise-hero .enterprise-motion-item:not(.is-revealed) {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

/* Buttons: clean, no heavy borders, minimal */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  box-shadow: var(--shadow-soft);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--color-btn-primary);
  color: var(--color-btn-primary-text);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: var(--color-btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.40);
}
.btn--accent {
  background: var(--color-secondary);
  color: #fff;
}
.btn--accent:hover {
  background: var(--color-secondary-dark);
  box-shadow: 0 4px 14px rgba(188, 54, 1, 0.30);
}
.btn--secondary {
  background: var(--color-surface);
  color: #334155;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.btn--secondary:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}
.section--dark .btn--primary {
  background: #FAFAFA;
  color: #18181B;
  box-shadow: var(--shadow-soft);
}
.section--dark .btn--primary:hover {
  background: #E4E4E7;
  color: #18181B;
  box-shadow: var(--shadow-card);
}
.section--dark .btn--primary .btn__icon-wrap {
  background: rgba(0,0,0,0.08);
  color: #18181B;
}
.section--dark .btn--secondary {
  color: #FAFAFA;
  border-color: rgba(255,255,255,0.4);
}
.section--dark .btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* Button expand hover (Get Started style: text fades, icon strip expands from right) */
.btn--expand {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  /* Reserve space so the right strip never overlaps text */
  padding-right: calc(var(--space-6) + 3.75rem);
}
.btn--expand .btn__text {
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease;
  display: inline-block;
  margin-right: 3.75rem;
  white-space: nowrap; /* Prevent 2 lines */
}

@media (max-width: 768px) {
  .btn--expand {
    padding-right: calc(var(--space-4) + 3.75rem); /* Closer for mobile */
  }
}
/* ENH-061 Phase 93 Task 374 — Tablet 768–1023px: extra breathing room so the
   chevron icon-wrap never visually hugs long Vietnamese labels
   (e.g. "Xem đơn hàng mới nhất"), and a wider hero-CTA gap so the two CTAs
   don't crowd each other when side-by-side at tablet portrait. */
@media (min-width: 768px) and (max-width: 1023px) {
  .btn--expand {
    padding-right: calc(var(--space-6) + 4.25rem);
  }
  .btn--expand .btn__text {
    margin-right: 4.25rem;
  }
  .hero-ctas {
    gap: var(--space-4);
  }
  .hero-ctas .btn--expand {
    padding-right: calc(var(--space-6) + 4.25rem);
  }
}
.btn--expand:hover .btn__text {
  opacity: 0;
}
.btn--expand .btn__icon-wrap {
  position: absolute;
  right: 0.25rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: clamp(44px, 25%, 80px);
  border-radius: 6px;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: width 0.5s ease;
  pointer-events: none;
}
.btn--expand .btn__icon-wrap svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn--expand:hover .btn__icon-wrap {
  width: calc(100% - 0.5rem);
}
.btn--expand:active {
  transform: scale(0.95);
}

/* Header CTA: compact pill (short label like "Liên hệ") */
.btn--header-cta{
  padding: var(--space-2) var(--space-4);
  font-size: 0.95rem;
  min-height: 38px;
}
.btn--header-cta .btn__icon-wrap{
  display: none;
}
/* Strip background per variant (Sync icon color with text) */
.btn--primary .btn__icon-wrap {
  background: transparent;
  color: inherit;
}
.btn--accent .btn__icon-wrap {
  background: transparent;
  color: inherit;
}
.btn--secondary .btn__icon-wrap {
  background: transparent;
  color: inherit;
}
.section--dark .btn--secondary .btn__icon-wrap {
  background: transparent;
  color: inherit;
}

.section--dark .btn--primary .btn__icon-wrap {
  background: transparent;
}

/* Cards: soft shadow, rounded 12–16px */
.card {
  background: var(--color-surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(6, 136, 211, 0.28);
}
.card__image { aspect-ratio: 16/10; object-fit: cover; }
.card__body { padding: var(--space-6); }
.card__title { margin-bottom: var(--space-2); font-weight: 600; }
.card__meta { font-size: var(--text-small); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.card:hover .card__title { color: var(--color-text); }

/* (Moved) Promo cards are defined in css/pages/index.css */

/* (Moved) Floating social is defined in css/shared/floating-social.css */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Header giữ 88px: logo to 80px + padding dọc 4px (80 + 8 = 88) */
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
}
/* Debug 2026-05-18 (header-logo-bigger-dropdown-arrow): 48→72px desktop. Mobile/tablet
   override 42px ở L727 + max-height L1556 cũng nâng lên 72px để không cap. */
.site-logo { height: 80px; width: auto; }
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
  line-height: 1.2;
  text-decoration: none;
}
/* Debug 2026-05-18 (nav-remove-underline): bỏ underline ở nav items — dùng
   color + font-weight cho hover/active state thay vì pseudo-element underline. */
.nav-list a::after { display: none; }
.nav-list a {
  transition: color 0.15s ease, font-weight 0.15s ease;
}
.nav-list a:hover { color: var(--color-link-hover); }
.nav-list a.is-active {
  color: var(--color-primary);
  font-weight: 500;
}
.nav-list a.is-active::after {
  /* legacy rule giữ structure nhưng vô hiệu hóa */
  display: none;
}
.header-cta { display: flex; align-items: center; gap: var(--space-4); }
.header-hotline { font-weight: 600; color: var(--color-text); }
.social-links { display: flex; gap: var(--space-2); }
.social-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.social-btn:hover {
  transform: translateY(-1px);
  border-color: var(--color-text-muted);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  text-decoration: none;
}
.social-btn svg { width: 16px; height: 16px; display: block; }

/* Dropdown Menu Styles */
.nav-list li {
  position: relative;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-2) 0;
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}
.dropdown li {
  padding: 0;
}
.dropdown a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown a:hover {
  background: var(--color-link-hover-bg);
  color: var(--color-primary);
  text-decoration: none;
}
/* Menu con đang xem → nền nhạt + màu primary để thấy rõ trạng thái active */
.dropdown a.is-active {
  background: var(--color-link-hover-bg);
  color: var(--color-primary);
  font-weight: 600;
}
.dropdown a::after {
  display: none !important; /* Remove the underline effect from dropdown links */
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Debug 2026-05-18 (header-logo-bigger-dropdown-arrow): chevron submenu rõ ràng
   với rotate animation. Trước đây 0.8em opacity 0.5 → trông như dash nhỏ. Giờ
   bigger + đầy đủ + rotate 180° khi hover/focus để báo dropdown đang mở. */
.has-dropdown > a::after {
  /* Debug 2026-05-18 (dropdown-arrow-bigger): 0.85em → 1.1em + font-weight 700
     để chevron rõ + thấy được rõ rotate animation. */
  content: "▾";
  display: inline-block;
  margin-left: 0;
  font-size: 1.1em;
  font-weight: 700;
  opacity: 0.85;
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after {
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
}
/* Mobile/tablet menu-subtoggle (JS-injected `▾`): rotate khi expanded. */
.menu-subtoggle {
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.menu-subtoggle[aria-expanded="true"] {
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .has-dropdown > a::after,
  .menu-subtoggle { transition: none; }
}

.site-header--over-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}
.site-header--over-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Keep header transparent, but improve contrast over bright images */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.24) 55%, rgba(255, 255, 255, 0) 100%);
}
.site-header--over-hero .container { position: relative; z-index: 1; }
.site-header--over-hero .nav-list a,
.site-header--over-hero .header-hotline {
  color: var(--color-text);
  text-shadow: none;
}
.site-header--over-hero .nav-list a:hover {
  color: var(--color-primary-light);
}
.site-header--over-hero .social-btn {
  border-color: rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-text-muted);
  box-shadow: 0 8px 18px rgba(6, 136, 211, 0.14);
}
.site-header--over-hero .social-btn:hover {
  border-color: rgba(6, 136, 211, 0.35);
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-text);
}
.site-header--over-hero .menu-toggle {
  color: var(--color-text);
  text-shadow: none;
}
.site-header--over-hero .site-logo {
  filter: none;
}
.site-header--over-hero.site-header--scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--over-hero.site-header--scrolled::before { display: none; }
.site-header--over-hero.site-header--scrolled .nav-list a,
.site-header--over-hero.site-header--scrolled .header-hotline {
  color: var(--color-text);
}
.site-header--over-hero.site-header--scrolled .nav-list a:hover {
  color: var(--color-primary-light);
}
.site-header--over-hero.site-header--scrolled .social-btn {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
}
.site-header--over-hero.site-header--scrolled .social-btn:hover {
  border-color: rgba(6, 136, 211, 0.35);
  color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}
.site-header--over-hero.site-header--scrolled .menu-toggle {
  color: var(--color-text);
}
.site-header--over-hero.site-header--scrolled .site-logo {
  filter: none;
}

/* Mobile + tablet menu toggle (hidden on desktop ≥1024px) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  font-size: 1.25rem;
}
/* ENH-061 Phase 93 Task 372: extend hamburger pattern from ≤767px to ≤1023px
   to fix tablet portrait header wrapping (nav-list 6 items + hotline + 3 social
   no longer fit one row at 768–1023px). Desktop ≥1024px keeps base horizontal nav. */
@media (max-width: 1023px) {
  /* debug-20260605 (hero-mobile-covered-small): header thật ở ≤1023px chỉ cao 64px
     (.site-header .container height:64px) nhưng --header-h vẫn 104px (desktop) →
     mọi hero reserve dư ~40px ở đỉnh trên viewport mobile hẹp → hero bị đẩy xuống,
     trông nhỏ/cramped. Sync biến về 72px (64px header + 8px đệm) → clearance vẫn
     ≥ header (không bị che) đồng thời trả lại ~32px chiều cao cho hero (đủ to).
     Sửa một chỗ → đồng loạt áp cho du-hoc, tin-tuc, news-detail, index, quiz,
     gallery/jobs archive, anchor offset (about). */
  :root { --header-h: 72px; }
  .site-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    height: 64px;
    gap: var(--space-2);
    position: relative;
  }
  
  .menu-toggle { 
    display: block; 
    position: absolute;
    left: var(--container-pad);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.9rem;
    line-height: 1;
    padding: 0;
    margin: 0;
    z-index: 3;
  }
  
  .site-header__logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .logo-link { display: inline-flex; align-items: center; justify-content: center; }
  
  .site-logo {
    /* Logo ngang ở mobile/tablet: 54 → 44px cho cân (header .container height:64px cố định → không đổi chiều cao) */
    height: 44px;
    width: auto;
    object-fit: contain;
  }
  
  .header-cta { 
    position: absolute;
    right: var(--container-pad);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: flex-end;
    z-index: 3;
  }
  
  .header-cta .header-hotline,
  .header-cta .social-links { display: none; }
  
  /* Text-only contact button for mobile header */
  .header-cta .btn {
    padding: 6px 14px !important;
    font-size: 0.825rem;
    border-radius: 999px;
    min-width: unset;
    min-height: unset;
  }
  .header-cta .btn__text { display: block !important; opacity: 1 !important; margin: 0 !important; }
  .header-cta .btn__icon-wrap { display: none !important; }
  
  /* Phase 95 Tasks 382 + 385: panel full-screen overlay với fade-in animation.
     Chuyển từ `display: none ↔ block` sang `visibility + opacity` để animate.
     `inset: 0` + `height: 100dvh` cover full mobile/tablet viewport (kể cả khi
     iOS Safari toolbar collapse/expand). Background opaque thay backdrop dim. */
  .nav {
    /* Debug 2026-05-18 (hamburger-add-brand-logo): flex-column để `.menu-brand`
       dùng `margin-top: auto` đẩy logo xuống bottom panel. */
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--color-surface);
    padding: var(--space-6) var(--space-4) var(--space-8);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease, visibility 0s linear 0s;
  }
  .nav-list {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  .nav-list > li > a {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 0;
    font-size: 1.125rem;
  }
  .has-dropdown {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }
  .has-dropdown:last-child { border-bottom: 0; }
  .has-dropdown > a {
    padding-right: 44px;
    position: relative;
  }
  /* Mobile: chỉ giữ nút .menu-subtoggle, ẩn mũi tên ▾ pseudo (tránh 2 mũi tên) */
  .has-dropdown > a::after { display: none; }
  .menu-subtoggle {
    position: absolute;
    right: 0;
    top: 8px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
  }
  .menu-subtoggle[aria-expanded="true"] {
    color: var(--color-primary);
    border-color: rgba(6, 136, 211, 0.3);
    background: rgba(6, 136, 211, 0.08);
  }
  .dropdown {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0 0 var(--space-2);
    padding: 2px 0 8px 14px;
    border: 0;
    border-left: 2px solid rgba(6, 136, 211, 0.22);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .has-dropdown.is-open > .dropdown { display: block; }
  .dropdown li { margin: 0; }
  .dropdown a {
    display: block;
    min-height: 40px;
    font-size: 0.95rem;
    padding: 8px 0;
  }

  .site-header--over-hero .nav.is-open {
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header--over-hero .nav.is-open .nav-list a {
    color: var(--color-text);
  }
  .site-header--over-hero.site-header--scrolled .nav.is-open {
    background: var(--color-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Phase 95 Task 383: body scroll lock khi menu open — `position: fixed` chặn
   cả iOS Safari rubber-band scroll. `top: -[scrollY]px` set inline qua JS. */
body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* Phase 95 Task 384: close X button JS-injected vào panel khi mở */
.menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.menu-close:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* Debug 2026-05-18 (hamburger-add-brand-logo): brand logo ở bottom panel hamburger.
   `margin-top: auto` đẩy logo xuống đáy flex container, opacity nhẹ tránh quá nổi. */
.menu-brand {
  /* Debug 2026-05-18 (hamburger-brand-logo-too-small): 56px → 120px (~3× header
     logo) cho brand-statement footprint ở bottom panel full-screen. */
  margin-top: auto;
  align-self: center;
  height: 120px;
  width: auto;
  object-fit: contain;
  padding-top: var(--space-6);
  opacity: 0.85;
  pointer-events: none;
}

/* Phase 95 Task 385: respect prefers-reduced-motion — animation off */
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}

/* Hero: full-bleed under the header */
.hero {
  color: var(--color-text);
  text-align: left;
}
.hero.hero--fullbleed {
  /* ENH-063 hotfix 1.46.3: 100vh ép hero stretch full viewport trên desktop dù
     content ngắn → giảm xuống 75vh để vẫn có presence mà không đẩy section dưới
     khỏi fold. Tablet/mobile ≤1023 đã có override `min-height: auto` từ 1.45.4. */
  position: relative;
  min-height: 84vh;
  overflow: hidden;
}
.hero.hero--fullbleed::before,
.hero.hero--fullbleed::after {
  content: none;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 16%, rgba(255, 255, 255, 0.02) 30%, rgba(0, 0, 0, 0) 52%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + var(--space-10));
  padding-bottom: var(--section-pad-y);
}
.hero__title {
  color: inherit;
  margin-bottom: var(--space-4);
  font-size: var(--text-h1);
  /* 1.1 quá khít → dấu tiếng Việt (Ế/Ớ/Ắ/Ă) dòng dưới đụng dòng trên. */
  line-height: 1.2;
}
.text-gradient {
  background: linear-gradient(90deg, #D97706 0%, #BC3601 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-text-muted);
  max-width: 36rem;
  margin-bottom: var(--space-8);
}
.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 136, 211, 0.16);
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
  font-size: var(--text-small);
  font-weight: 500;
  margin-bottom: var(--space-4);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.35);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

.hero-inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-left {
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 2vw, 2rem);
  max-width: 42rem;
}
.hero-inner--image-first {
  position: relative;
  min-height: min(82vh, 760px);
  display: block;
}
.hero-right--image-first {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-static-media--desktop {
  width: 100%;
  height: 100%;
  margin: 0;
}
.hero-static-media--desktop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}
.hero-left--overlay-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: none;
  margin: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: none;
  box-shadow: 0 -14px 42px rgba(15, 23, 42, 0.12);
  padding: clamp(1rem, 2vw, 1.6rem) clamp(1rem, 2.4vw, 2rem);
}
.hero-left--overlay-bottom .hero__subtitle {
  font-size: var(--text-body);
  font-weight: 400;
  color: #445268;
  margin-bottom: var(--space-5);
}
.hero-left--overlay-bottom .hero__title {
  margin-bottom: var(--space-3);
}
.hero-left--overlay-bottom .hero-ctas {
  margin-bottom: 0;
}
.hero-static-media--mobile-image-first img {
  object-fit: contain;
  object-position: center top;
}
.hero-right { min-height: 1px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(6, 136, 211, 0.16);
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
  font-size: var(--text-small);
  font-weight: 500;
  margin-bottom: var(--space-4);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.35);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-8);
}
.hero-ctas .btn {
  padding: var(--space-3) var(--space-6);
  min-height: 44px;
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8); /* Added for breathing room */
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.85);
  font-size: var(--text-small);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-soft);
}
.chip strong { color: var(--color-text); font-weight: 600; }
.hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Footer: neutral, clear structure */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(250,250,250,0.8);
  /* Thoáng hơn nhưng vẫn gọn (top 48px / bottom 48px) */
  padding: var(--space-12) 0 var(--space-12);
  font-size: var(--text-small);
}
/* Link footer: click được, hover đổi màu (giống menu) — KHÔNG gạch chân */
.site-footer a { color: rgba(250,250,250,0.8); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--color-primary-light); text-decoration: none; }
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-10);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
.footer__list li { margin-bottom: var(--space-3); }
.footer__list a { line-height: 1.5; }
.footer__title { color: #FAFAFA; font-size: var(--text-h4); font-weight: 600; margin-bottom: var(--space-4); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: var(--space-2); }
/* Hàng cuối: copyright (trái) + chọn ngôn ngữ (phải) */
.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  color: rgba(250,250,250,0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }

/* Phase 96: Footer polish minimal — logo + social icons + hotline + license badge */
.footer__logo {
  display: block;
  height: 68px; /* logo NGANG ở footer — to hơn cho cân */
  width: auto;
  margin-top: 0;
  margin-bottom: var(--space-4);
  filter: brightness(1.05);
}
.footer__tagline {
  margin: 0;
  max-width: 24rem;
  line-height: 1.7;
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.72);
}
/* Dải thông tin pháp lý full-width dưới grid → lấp khoảng trống, cân bố cục */
.footer-company-bar {
  margin-top: var(--space-8);
  padding-top: var(--space-7);
  border-top: 1px solid var(--color-border-dark);
  line-height: 1.75;
  color: rgba(250, 250, 250, 0.7);
}
.footer-company-bar__name {
  margin: 0 0 var(--space-3);
  color: #FAFAFA;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.footer-company-bar__line { margin: 0 0 var(--space-2); }
.footer-company-bar__line strong { color: rgba(250, 250, 250, 0.92); font-weight: 600; }
.footer__social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__social-item a {
  color: rgba(250, 250, 250, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.footer__social-item a:hover {
  color: #fff;
  text-decoration: none;
}
.footer__social-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(250, 250, 250, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(250, 250, 250, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.footer__social-item a:hover .footer__social-icon {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.1);
  color: #fff;
  transform: translateY(-1px);
}
.footer__social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer__hotline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer__hotline:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: var(--color-primary);
  transform: translateY(-1px);
  text-decoration: none !important;
}
.footer__hotline svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.footer__license-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(250, 250, 250, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(250, 250, 250, 0.75);
  font-size: var(--text-small);
  margin-top: var(--space-2);
}
.footer__license-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(250, 250, 250, 0.85);
}

/* Form */
.form-group { margin-bottom: var(--space-4); }
.form-group label { display: block; font-weight: 500; margin-bottom: var(--space-2); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-surface);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(6, 136, 211, 0.18);
}
.form-row { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 200px; }

/* Stats block */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--layout-grid-gap);
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item { text-align: center; }
.stat-number { font-size: var(--text-h2); font-weight: 700; color: var(--color-text); line-height: 1.2; }
.stat-label { font-size: var(--text-small); color: var(--color-text-muted); }

/* Accordion (FAQ) */
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--color-text);
}
.accordion-trigger:hover { color: var(--color-link-hover); }
.accordion-panel { padding: 0 var(--space-4) var(--space-4); }
.accordion-panel p { margin-bottom: var(--space-2); }

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-small { font-size: var(--text-small); }
.mb-0 { margin-bottom: 0; }

/* Gallery asym layout (1 large + 2 small) */
.gallery-asym {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .gallery-asym { grid-template-columns: 2fr 1fr; align-items: stretch; }
}
.gallery-asym__big,
.gallery-asym__small {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.gallery-asym__big img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gallery-asym__stack {
  display: grid;
  gap: var(--space-4);
}
.gallery-asym__stack img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Jobs Grid & Cards */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.job-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-primary-light);
}

.job-card__tag {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-secondary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: var(--text-label);
  font-weight: 700;
  text-transform: uppercase;
}

.job-card__market {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.market-flag {
  font-size: 1.5rem;
}
.market-name {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.job-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-6);
  line-height: 1.25;
}

.job-card__info {
  margin-bottom: var(--space-8);
  flex-grow: 1;
}
.info-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px dashed var(--color-border);
}
.info-item:last-child {
  border-bottom: none;
}
.info-label {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
.info-val {
  font-weight: 700;
  color: var(--color-text);
}
.text-accent {
  color: var(--color-secondary);
}

.job-card__actions {
  margin-top: auto;
}

/* Jobs Filter */
.jobs-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: var(--text-small);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-link-hover-bg);
}
.filter-btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(6, 136, 211, 0.3);
}

/* Market Pages Styles */
.market-hero {
  color: #fff;
}
.market-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
}
.m-stat {
  display: flex;
  flex-direction: column;
}
.m-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
}
.m-stat-label {
  font-size: var(--text-small);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Mobile: stats được wrap + co lại + giảm gap → không đẩy rộng quá viewport
   (hero có overflow:hidden, nếu tràn sẽ bị cắt cụt cả tiêu đề). */
@media (max-width: 640px) {
  .market-stats { gap: var(--space-6); flex-wrap: wrap; }
  .m-stat { flex: 1 1 8rem; }
  .m-stat-val { font-size: 1.5rem; }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-6);
}
.feature-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-4);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
}
.process-step {
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.3s ease;
}
.process-step:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-5px);
}
.step-num {
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.1;
  position: absolute;
  top: 10px;
  right: 20px;
}

/* Bento Grid for Markets */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-primary-light);
}

.bento-item--japan { grid-column: span 8; grid-row: span 2; }
.bento-item--taiwan { grid-column: span 4; grid-row: span 2; }
.bento-item--europe { grid-column: span 6; grid-row: span 1; }
.bento-item--korea { grid-column: span 6; grid-row: span 1; }

@media (max-width: 768px) {
  .bento-item--japan, .bento-item--taiwan, .bento-item--europe, .bento-item--korea {
    grid-column: span 12;
    grid-row: span 1;
  }
}

.bento-content {
  position: absolute;
  inset: 0;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  color: #fff;
  z-index: 2;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-item:hover .bento-img { transform: scale(1.05); }

/* Advanced Filter Bar */
.filter-hub {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
  display: flex;
  gap: var(--space-2);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: -2.5rem auto 4rem;
  position: relative;
  z-index: 10;
}

.filter-group {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  border-right: 1px solid var(--color-border);
}
.filter-group:last-child { border-right: none; }

.filter-select {
  width: 100%;
  border: none;
  background: transparent;
  padding: var(--space-3) 0;
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--color-text);
  cursor: pointer;
}
.filter-select:focus { outline: none; }

.filter-btn--search {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0 var(--space-8);
  border-radius: var(--radius-lg);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.filter-btn--search:hover { background: var(--color-primary-dark); }

@media (max-width: 768px) {
  .filter-hub { flex-direction: column; padding: var(--space-4); }
  .filter-group { border-right: none; border-bottom: 1px solid var(--color-border); padding: var(--space-2) 0; }
  .filter-btn--search { padding: var(--space-4); margin-top: var(--space-2); }
}

/* Header Scroll State - Turn White on Scroll */
.site-header {
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.site-header--scrolled {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0 !important;
}

.site-header--scrolled .nav-list > li > a {
  color: #1a1a1a !important;
}

.site-header--scrolled .logo__text,
.site-header--scrolled .logo__subtext {
  color: #1a1a1a !important;
}

/* Ensure Logo Image is always visible. Debug 2026-05-18: max-height 40→72px
   để không cap declared height (48/72 desktop) hoặc 42 mobile/tablet — trước đây
   cap 40 làm logo bị shrink bất chấp height đã chỉnh. */
.site-logo {
  max-height: 84px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-header--scrolled .site-logo {
  transform: scale(0.9);
}

/* Responsive fix for scrolled header (ENH-061: aligned with hamburger breakpoint ≤1023px) */
@media (max-width: 1023px) {
  .site-header--scrolled .nav {
    background: #ffffff;
  }
}

/* Job Slider Styles */
.jobs-slider-wrapper {
  position: relative;
  margin: var(--space-8) 0;
}

.jobs-slider {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.jobs-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.jobs-slider .job-card {
  flex: 0 0 350px;
  scroll-snap-align: start;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  position: static;
  margin-top: 1rem;
}

/* Main Job Grid System */
.jobs-container {
  min-height: 400px;
}

.job-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card.is-hidden {
  display: none;
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Empty State */
.jobs-empty {
  text-align: center;
  padding: 4rem 0;
  display: none;
}

/* Search Results Modal / Popup */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.search-modal--visible {
  display: flex;
}

.search-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.search-modal__content {
  position: relative;
  background: #f8faff;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.search-modal__header {
  padding: 2rem;
  background: white;
  border-bottom: 1px solid #eef2f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-modal__body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.search-modal__close {
  background: #f1f3f7;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.2s;
}

.search-modal__close:hover {
  background: #e1e4e9;
  transform: rotate(90deg);
}

.modal-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Enhanced Job Card with Images */
.job-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid #edf2f7;
}

.job-card__image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.job-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.job-card:hover .job-card__image img {
  transform: scale(1.1);
}

.job-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Slider Overrides */
.jobs-slider {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 5px 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #f0f4f8;
}

/* Large-screen zoom scaling */
@media screen and (min-width: 2559px) {
  body {
    zoom: 1.4;
  }
}

@media screen and (min-width: 3839px) {
  body {
    zoom: 2;
  }
}

@media screen and (min-width: 7679px) {
  body {
    zoom: 4.2;
  }
}

.jobs-slider::-webkit-scrollbar {
  height: 6px;
  display: block; /* Show scrollbar on Chrome */
}

.jobs-slider::-webkit-scrollbar-track {
  background: #f0f4f8;
  border-radius: 10px;
}

.jobs-slider::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

.jobs-slider .job-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

/* Slider Controls */
.slider-nav-btns {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  position: static;
  margin-top: var(--space-6);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.slider-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Fix: Layout spacing for Quiz and Bento Hub */
.quiz-main {
  padding-bottom: 6rem; /* Spacing from footer */
  min-height: 70vh;
}

.bento-grid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  gap: var(--space-6);
}

.bento-item--japan { grid-column: span 8; height: 350px; }
.bento-item--taiwan { grid-column: span 4; height: 350px; }
.bento-item--europe { grid-column: span 4; height: 350px; }
.bento-item--korea { grid-column: span 8; height: 350px; }

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr !important;
  }
  .bento-item--japan, .bento-item--taiwan, .bento-item--europe, .bento-item--korea {
    grid-column: span 1 !important;
    height: 250px;
  }
}

/* Fix Spacing for Quiz Page */
.quiz-container {
  padding-bottom: 10rem !important;
  margin-bottom: 4rem;
}

/* Fix Bento Grid Layout for Market Hub */
@media (min-width: 992px) {
  .bento-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 300px) !important;
    gap: 1.5rem !important;
  }
}

.bento-item {
  display: block;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  height: 100%;
}

/* Modern Asymmetric Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: var(--space-6);
}

.bento-item {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255,255,255,0.1);
}

.bento-item--japan {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-item--taiwan {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-item--korea {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-item--europe {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-content {
  position: absolute;
  inset: 0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  color: white;
  z-index: 2;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.bento-item:hover .bento-img {
  transform: scale(1.08);
}

.bento-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bento-item p {
  opacity: 0.9;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 250px);
  }
  .bento-item--japan, .bento-item--europe {
    grid-column: span 1;
  }
}

/* -------------------------------------------------------------------------- */
/* Phase 35 - Shared card design system overrides                             */
/* -------------------------------------------------------------------------- */
:root {
  --card-radius-sm: 14px;
  --card-radius-md: 18px;
  --card-radius-lg: 24px;
  --card-border: rgba(148, 163, 184, 0.34);
  --card-border-strong: rgba(188, 54, 1, 0.36);
  --card-surface: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  --card-shadow-soft: 0 10px 24px -16px rgba(15, 23, 42, 0.32);
  --card-shadow-hover: 0 24px 46px -22px rgba(15, 23, 42, 0.34);
  --card-focus-ring: 0 0 0 3px rgba(6, 136, 211, 0.26);
  --card-lift-y: -8px;
  --card-media-scale: 1.08;
}

.card,
.job-card {
  border-radius: var(--card-radius-md);
  border-color: var(--card-border);
  background: var(--card-surface);
  box-shadow: var(--card-shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.job-card:hover {
  transform: translateY(var(--card-lift-y));
  border-color: var(--card-border-strong);
  box-shadow: var(--card-shadow-hover);
}

.card:focus-visible,
.job-card:focus-visible,
.job-card:focus-within {
  outline: none;
  box-shadow: var(--card-focus-ring), var(--card-shadow-hover);
}

.card__body,
.job-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.card__title {
  font-size: clamp(1.2rem, 1.3vw, 1.5rem);
  font-weight: 780;
  letter-spacing: -0.015em;
}

.job-card__image {
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

.job-card__image img {
  transition: transform 0.45s ease;
}

.job-card:hover .job-card__image img {
  transform: scale(var(--card-media-scale));
}

.job-card__tag {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 20px -12px rgba(188, 54, 1, 0.65);
}

.job-card__market {
  margin-bottom: var(--space-3);
  font-size: 0.96rem;
  font-weight: 650;
  color: #334155;
}

.job-card__title {
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  margin-bottom: var(--space-5);
}

.job-card__info {
  margin-bottom: var(--space-6);
}

.info-item {
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  margin-bottom: 0.5rem;
  background: rgba(226, 232, 240, 0.38);
}

.info-item:last-child {
  margin-bottom: 0;
}

.job-card__actions .btn,
.job-card .btn {
  border-radius: 999px;
  min-height: 44px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .card,
  .job-card {
    border-radius: var(--card-radius-sm);
  }

  .job-card__title {
    font-size: clamp(1.2rem, 5.2vw, 1.5rem);
  }
}

/* -------------------------------------------------------------------------- */
/* Phase 36 - Market page card uniformity overrides                           */
/* -------------------------------------------------------------------------- */
.jobs-grid .job-card > .job-card__body {
  padding: clamp(1.2rem, 2.4vw, 1.55rem);
  gap: 0.75rem;
}

.jobs-grid .job-card .job-card__title {
  margin-bottom: 0.35rem;
}

.jobs-grid .job-card .job-card__info {
  margin-bottom: var(--space-4);
}

.jobs-grid .job-card .job-card__actions {
  margin-top: auto;
}

.market-card--minimal {
  border-radius: var(--card-radius-md);
  border-color: var(--card-border);
  background: var(--card-surface);
  box-shadow: var(--card-shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.market-card--minimal:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-strong);
  box-shadow: var(--card-shadow-hover);
}

.market-card--minimal:focus-within {
  outline: none;
  box-shadow: var(--card-focus-ring), var(--card-shadow-soft);
}

.market-card--minimal h3 {
  margin-bottom: var(--space-2);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
}

.market-card--minimal p {
  color: #334155;
  line-height: 1.62;
}

/* -------------------------------------------------------------------------- */
/* Phase 36 - Market responsive and interaction hardening                     */
/* -------------------------------------------------------------------------- */
.jobs-grid .job-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.jobs-grid .job-card:focus-within {
  outline: none;
  border-color: var(--card-border-strong);
  box-shadow: var(--card-focus-ring), var(--card-shadow-hover);
}

.jobs-grid .job-card .job-card__actions .btn:focus-visible,
.jobs-grid .job-card .job-card__actions .btn-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 0 0 5px rgba(11, 75, 216, 0.42);
}

.jobs-grid .job-card .job-card__actions .btn:active,
.jobs-grid .job-card .job-card__actions .btn-link:active {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .jobs-grid .job-card > .job-card__body {
    padding: 1.1rem;
  }

  .jobs-grid .job-card .job-card__info {
    margin-bottom: 0.8rem;
  }

  .jobs-grid .job-card .job-card__actions .btn,
  .jobs-grid .job-card .job-card__actions .btn-link {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jobs-grid .job-card,
  .jobs-grid .job-card:hover,
  .jobs-grid .job-card .job-card__actions .btn,
  .jobs-grid .job-card .job-card__actions .btn-link {
    transition: none;
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Phase 37 - Market card hover underline fix                                 */
/* -------------------------------------------------------------------------- */
.jobs-grid .job-card a:hover,
.jobs-grid .job-card a:focus-visible,
.jobs-grid .job-card a:active,
.market-card--minimal a:hover,
.market-card--minimal a:focus-visible,
.market-card--minimal a:active {
  text-decoration: none;
}

.jobs-grid .job-card a:not(.btn):focus-visible,
.market-card--minimal a:focus-visible {
  outline: none;
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 0 0 5px rgba(11, 75, 216, 0.42);
}

/* ============================================================
   ENH-006 — TLJB Job Slider
   Generic slider component cho job-cards. Multi-instance safe
   (class-based, no IDs). Pattern: viewport overflow-x + track
   horizontal flex + prev/next buttons + progress bar.
   ============================================================ */
.tljb-job-slider {
  position: relative;
  margin-top: 24px;
}
.tljb-job-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 4px 0 16px;
}
.tljb-job-slider__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.tljb-job-slider__viewport::-webkit-scrollbar {
  display: none;
}
.tljb-job-slider__track {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
/* Generic: accept any direct child (job-card, offer-card, market card, etc.) */
.tljb-job-slider__track > * {
  flex: 0 0 calc((100% - 72px) / 4); /* 4 visible on desktop (gap 24 × 3 = 72) */
  scroll-snap-align: start;
  min-width: 0;
}
@media (max-width: 1200px) {
  .tljb-job-slider__track > * {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 visible on small desktop */
  }
}
@media (max-width: 1024px) {
  .tljb-job-slider__track > * {
    flex: 0 0 calc((100% - 16px) / 2); /* 2 visible on tablet */
  }
  .tljb-job-slider__track {
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .tljb-job-slider__track > * {
    flex: 0 0 88%; /* 1 card + peek next */
  }
}

/* ENH-007: tăng kích thước job-card image trong slider — match market `.card__image` (16/10). */
.tljb-job-slider .job-card__image {
  height: auto;
  aspect-ratio: 16 / 10;
}

/* ENH-007/008: card wrappers click toàn card → detail page.
   Hard override `a:hover { text-decoration: underline }` global rule (L149). */
.market-card--link,
.market-card--link:hover,
.market-card--link:focus,
.market-card--link:active,
.market-card--link:visited,
.job-card-link,
.job-card-link:hover,
.job-card-link:focus,
.job-card-link:active,
.job-card-link:visited,
.offer-card__link,
.offer-card__link:hover,
.offer-card__link:focus {
  text-decoration: none;
}
.market-card--link,
.job-card-link {
  display: block;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.market-card--link:hover,
.job-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.18);
}
.market-card--link:focus-visible,
.job-card-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 75, 216, 0.35);
}

/* ENH-008: job-card-link (wrapper <a>) inherit colors + ngăn underline lan vào inner spans. */
.job-card-link * {
  text-decoration: none !important;
}
.job-card-link h3,
.job-card-link span,
.job-card-link p {
  color: inherit;
}
/* Sync visual với .industry-slider-nav / .slider-btn (industry-slider section). */
.tljb-job-slider__nav {
  display: flex;
  gap: var(--space-3, 12px);
  justify-content: center;
  width: 100%;
  margin-top: var(--space-6, 24px);
}
.tljb-job-slider__btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--color-text, #0f172a);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft, 0 6px 20px rgba(15, 23, 42, 0.06));
}
.tljb-job-slider__btn:hover:not(:disabled) {
  background: var(--color-primary, #0b4bd8);
  color: #fff;
  border-color: var(--color-primary, #0b4bd8);
  transform: translateY(-2px);
}
.tljb-job-slider__btn:active:not(:disabled) {
  transform: scale(0.95);
}
.tljb-job-slider__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.tljb-job-slider__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 75, 216, 0.28);
}

/* Sync visual với .industry-slider-progress (industry-slider section). */
.tljb-job-slider__progress {
  width: min(400px, 100%);
  height: 4px;
  background: rgba(226, 232, 240, 0.6);
  margin: var(--space-8, 32px) auto 0;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.tljb-job-slider__progress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
  background: var(--color-primary, #0b4bd8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* FEAT-005 — Related/general WP post cards inside the shared slider shell. */
.tlg-post-slider {
  background: #f8fafc;
}
.tlg-post-slider--study {
  background: #ffffff;
}
.tlg-post-card,
.tlg-post-card:hover,
.tlg-post-card:focus,
.tlg-post-card:active,
.tlg-post-card:visited {
  color: inherit;
  text-decoration: none;
}
.tlg-post-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 42px -30px rgba(15, 23, 42, 0.35);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.tlg-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 75, 216, 0.24);
  box-shadow: 0 22px 54px -34px rgba(15, 23, 42, 0.5);
}
.tlg-post-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 75, 216, 0.28);
}
.tlg-post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  overflow: hidden;
}
.tlg-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.tlg-post-card:hover .tlg-post-card__media img {
  transform: scale(1.04);
}
.tlg-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.tlg-post-card__meta {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}
.tlg-post-card__title {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tlg-post-card__excerpt {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   ENH-009 — Job card redesign: image-fill với overlay
   - `.job-card` thành full-bleed card (aspect-ratio 3/4)
   - Image absolute fill toàn card
   - Gradient overlay top→bottom (dark bottom cho text legibility)
   - Content (title, meta, CTA) absolute bottom với padding
   - Badge top-right corner
   - Override các rules cũ (.job-card height 180, body padding, etc.)
   ============================================================ */
/* Revert BUG-013 — restore original overlay image-fill design (user pref).
   Cards across homepage + market pages + related jobs đồng bộ với layout này. */
.job-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.18);
  isolation: isolate;
}
.job-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.job-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
/* ENH-041 fix — job poster cards (đơn hàng) hiện FULL poster, không crop logo/tiêu đề.
   Loại trừ market cards (.market-card--imagefill — ảnh landmark giữ cover full-bleed). */
.job-card:not(.market-card--imagefill) .job-card__img {
  object-fit: contain;
  object-position: top center;
}
.job-card:hover .job-card__img {
  transform: scale(1.06);
}
.job-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.55) 38%,
    rgba(0, 0, 0, 0.15) 65%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}
/* ENH-010 — compact badge: max-content width, glass background, subtle dot accent.
   Override legacy `.job-card__tag { right: var(--space-4) }` (line 1369) gây stretch. */
.job-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;           /* CRITICAL — reset legacy stretch. */
  bottom: auto;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 24px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.job-card__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.28);
  flex-shrink: 0;
}

/* ENH-027 — Native 3-badge stack (replaces single legacy badge when admin uses checkboxes). */
.job-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;
  bottom: auto;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: calc(100% - 28px);
}
.job-card__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 7px 12px 7px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 12px 26px -12px rgba(0, 0, 0, 0.65);
  width: max-content;
  isolation: isolate;
  /* debug-20260608b — smooth state change */
  transition: color 0.3s ease, background 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.job-card__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent);
  flex-shrink: 0;
}
.job-card__badge--hot {
  color: #fff;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.98), rgba(239, 68, 68, 0.96) 55%, rgba(249, 115, 22, 0.96));
}
.job-card__badge--special {
  color: #f5f3ff;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.96), rgba(124, 58, 237, 0.94));
}
.job-card__badge--fast {
  color: #fff;
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.98), rgba(245, 158, 11, 0.98) 58%, rgba(251, 191, 36, 0.98));
}

/* FEAT-004 — Highlight urgent/hot orders without changing card dimensions. */
.job-card--hot,
.job-card--urgent {
  border-color: rgba(220, 38, 38, 0.72);
  box-shadow:
    0 0 0 2px rgba(220, 38, 38, 0.42),
    0 18px 46px -26px rgba(15, 23, 42, 0.32),
    0 20px 54px -28px rgba(220, 38, 38, 0.64),
    0 0 0 7px rgba(254, 226, 226, 0.88);
}

.job-card--hot:not(.job-card--closed)::before,
.job-card--urgent:not(.job-card--closed)::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 42%, #f97316 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: tljb-blink 1.1s steps(1, end) infinite;
}

.job-card--urgent {
  border-color: rgba(217, 119, 6, 0.78);
  box-shadow:
    0 0 0 2px rgba(217, 119, 6, 0.45),
    0 18px 46px -26px rgba(15, 23, 42, 0.32),
    0 20px 54px -28px rgba(180, 83, 9, 0.62),
    0 0 0 7px rgba(254, 243, 199, 0.92);
}

.job-card--urgent:not(.job-card--closed)::before {
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 55%, #fbbf24 100%);
}

.job-card--hot:not(.job-card--closed)::after,
.job-card--urgent:not(.job-card--closed)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 22%),
    linear-gradient(135deg, rgba(220,38,38,0.2), transparent 44%);
  animation: tljb-highlight-pulse 2.6s ease-in-out infinite;
}

.job-card--urgent:not(.job-card--closed)::after {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 22%),
    linear-gradient(135deg, rgba(245,158,11,0.22), transparent 44%);
}

.job-card--hot .job-card__badge--hot,
.job-card--urgent .job-card__badge--fast {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.34) inset,
    0 0 0 2px rgba(255, 255, 255, 0.32),
    0 14px 34px -10px rgba(0, 0, 0, 0.72);
  animation:
    tljb-badge-pop 2.4s ease-in-out infinite,
    tljb-badge-flash 3.5s ease-in-out infinite;
}

.job-card--hot:not(.job-card--closed):hover,
.job-card--urgent:not(.job-card--closed):hover {
  transform: translateY(-8px);
}

/* Card là thẻ <a> → global a:hover ám màu link (xanh) + underline lên badge.
   Giữ badge đúng màu brand khi hover card. */
.job-card:hover .job-card__badge,
.job-card:hover .job-card__tag {
  text-decoration: none;
}
.job-card:hover .job-card__badge--hot,
.job-card:hover .job-card__badge--fast { color: #fff; }
.job-card:hover .job-card__badge--special { color: #f5f3ff; }

@keyframes tljb-highlight-pulse {
  0%, 100% {
    opacity: 0.48;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(0.985);
  }
}

@keyframes tljb-badge-pop {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes tljb-blink {
  0%, 54% {
    opacity: 1;
  }
  55%, 100% {
    opacity: 0.25;
  }
}

@keyframes tljb-badge-flash {
  0%, 100% {
    filter: brightness(1);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.34) inset,
      0 0 0 2px rgba(255, 255, 255, 0.32),
      0 14px 34px -10px rgba(0, 0, 0, 0.72);
  }
  50% {
    filter: brightness(1.45) saturate(1.12);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.65) inset,
      0 0 0 2px rgba(255, 255, 255, 0.9),
      0 0 20px 3px rgba(255, 255, 255, 0.6),
      0 14px 34px -10px rgba(0, 0, 0, 0.72);
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-card--hot:not(.job-card--closed)::before,
  .job-card--urgent:not(.job-card--closed)::before,
  .job-card--hot:not(.job-card--closed)::after,
  .job-card--urgent:not(.job-card--closed)::after,
  .job-card--hot .job-card__badge--hot,
  .job-card--urgent .job-card__badge--fast {
    animation: none;
  }
}

/* ENH-027 — Industry chip variant in meta-top row. */
.job-card__meta-top .market-name--industry {
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ENH-028 — Recruitment closed state · ENH-042 — pending cũng xám
   · debug-20260608 — nhẹ tay filter để vẫn thấy tiêu đề + hình job */
.job-card--closed .job-card__img,
.job-card--pending .job-card__img {
  filter: grayscale(55%) brightness(0.9);
  transition: filter 0.3s ease;
}
.job-card__closed-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16px;
  background: transparent;
  pointer-events: none;
}
.job-card__closed-badge {
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 24px -4px rgba(220, 38, 38, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ENH-028 — Onbackorder pending chip */
.job-card__pending-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(245, 158, 11, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* ENH-028 — Disabled CTA when closed */
.job-card__cta--disabled {
  opacity: 0.75;
  cursor: not-allowed;
  background: rgba(100, 116, 139, 0.85) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  pointer-events: none;
}
.job-card__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}
.job-card__meta-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.92;
  font-weight: 500;
}
.job-card__meta-top .market-flag {
  font-size: 16px;
  line-height: 1;
}
.job-card__meta-top .market-name {
  color: #fff;
}
.job-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-card__salary {
  font-size: 15px;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 4px;
}
.job-card__quantity {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
  color: #fff;
}
.job-card__cta {
  width: 100%;
  margin-top: 6px;
  /* debug-20260608b — smooth state change (active ↔ disabled) */
  transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Mobile compactness */
@media (max-width: 640px) {
  .job-card__title { font-size: 16px; }
  .job-card__content { padding: 16px; gap: 6px; }
  .job-card__salary { font-size: 14px; }
}

/* Override slider context image rules (ENH-007 đã set aspect-ratio 16/10) — không cần nữa. */
.tljb-job-slider .job-card__image {
  aspect-ratio: auto;
  height: auto;
}

/* ============================================================
   ENH-009 — Paginated job grid (market pages)
   ============================================================ */
.tljb-job-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 1200px) {
  .tljb-job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .tljb-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 560px) {
  .tljb-job-grid { grid-template-columns: 1fr; }
}

.tljb-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.tljb-pagination__list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tljb-pagination__item {
  margin: 0;
}
.tljb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--color-text, #0f172a);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-soft, 0 6px 20px rgba(15, 23, 42, 0.06));
}
.tljb-pagination .page-numbers:hover {
  background: var(--color-primary, #0b4bd8);
  border-color: var(--color-primary, #0b4bd8);
  color: #fff;
  transform: translateY(-1px);
}
.tljb-pagination .page-numbers.current {
  background: var(--color-primary, #0b4bd8);
  border-color: var(--color-primary, #0b4bd8);
  color: #fff;
  cursor: default;
}
.tljb-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  color: #94a3b8;
}
.tljb-pagination .page-numbers.dots:hover {
  background: transparent;
  color: #94a3b8;
  transform: none;
}
.tljb-pagination .page-numbers svg {
  display: block;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

/* ============================================================
   FEAT-001 — TLJB Single Job detail page
   ============================================================ */
.tljb-job-detail__hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 80px 0 36px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.tljb-job-detail__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tljb-job-detail__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tljb-job-detail__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.85) 100%);
}
.tljb-job-detail__hero-content {
  position: relative;
  z-index: 2;
}
.tljb-job-detail__breadcrumb {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tljb-job-detail__breadcrumb a {
  color: #fff;
  text-decoration: none;
}
.tljb-job-detail__breadcrumb a:hover {
  text-decoration: underline;
}
.tljb-job-detail__badge {
  display: inline-flex;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(239, 68, 68, 0.92);
  border-radius: 99px;
  margin-bottom: 12px;
}
/* ENH-027 + ENH-028 — Native 3-badge stack on detail hero (no emoji). */
.tljb-job-detail__badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tljb-job-detail__badge--hot,
.tljb-job-detail__badge--special,
.tljb-job-detail__badge--fast {
  display: inline-flex;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tljb-job-detail__badge--hot     { background: rgba(220, 38, 38, 0.92); }
.tljb-job-detail__badge--special { background: rgba(124, 58, 237, 0.92); }
.tljb-job-detail__badge--fast    { background: rgba(245, 158, 11, 0.92); }

.tljb-single-job--hot .tljb-job-detail__badge--hot,
.tljb-single-job--urgent .tljb-job-detail__badge--fast {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 14px 34px -12px rgba(220, 38, 38, 0.72);
}

.tljb-single-job--urgent .tljb-job-detail__badge--fast {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 14px 34px -12px rgba(180, 83, 9, 0.72);
}

/* ENH-028 — Closed overlay over hero image · ENH-042 — pending (tạm dừng) cũng xám */
.tljb-job-detail--closed,
.tljb-single-job--closed .tljb-job-detail__hero-media img,
.tljb-single-job--pending .tljb-job-detail__hero-media img {
  filter: grayscale(70%) brightness(0.7);
}
.tljb-job-detail__closed-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.tljb-job-detail__closed-badge {
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 12px 32px -6px rgba(220, 38, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.tljb-job-detail__pending-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(245, 158, 11, 0.92);
  color: #fff;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.tljb-job-detail__cta--disabled {
  background: rgba(100, 116, 139, 0.85) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  cursor: not-allowed;
  opacity: 0.85;
}
.tljb-job-detail__cta--disabled:hover {
  transform: none !important;
}

/* ENH-028 — Recruitment status pill in sidebar dl */
.tljb-rec-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tljb-rec-pill--instock     { background: rgba(34, 197, 94, 0.15);  color: #15803d; }
.tljb-rec-pill--outofstock  { background: rgba(220, 38, 38, 0.15);  color: #b91c1c; }
.tljb-rec-pill--onbackorder { background: rgba(245, 158, 11, 0.15); color: #b45309; }

.tljb-job-detail__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px;
  color: #fff;
}
.tljb-job-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tljb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.tljb-chip--salary {
  background: rgba(251, 191, 36, 0.92);
  color: #1a1a1a;
  border-color: transparent;
}

.tljb-job-detail__body {
  padding: 60px 0;
}
.tljb-job-detail__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .tljb-job-detail__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.tljb-job-detail__article {
  font-size: 16px;
  line-height: 1.7;
  color: #1f2937;
}
.tljb-job-detail__summary {
  font-size: 18px;
  line-height: 1.6;
  color: #374151;
  padding-left: 16px;
  border-left: 3px solid var(--color-primary, #0b4bd8);
  margin: 0 0 28px;
}
.tljb-job-detail__h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 16px;
}
.tljb-job-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tljb-job-detail__list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid #f1f5f9;
}
.tljb-job-detail__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary, #0b4bd8);
}
.tljb-job-detail__list--benefits li::before {
  background: #10b981;
}

.tljb-job-detail__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .tljb-job-detail__gallery { grid-template-columns: repeat(2, 1fr); }
}
.tljb-job-detail__gallery-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f5f9;
  transition: transform 0.3s ease;
}
.tljb-job-detail__gallery-item:hover {
  transform: scale(1.02);
}
.tljb-job-detail__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tljb-job-detail__files {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tljb-job-detail__files a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: var(--color-primary, #0b4bd8);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.tljb-job-detail__files a:hover {
  background: #fff;
  border-color: var(--color-primary, #0b4bd8);
  text-decoration: none;
}

.tljb-job-detail__sidebar {
  position: sticky;
  top: 24px;
}
.tljb-job-detail__card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.12);
  border: 1px solid #f1f5f9;
}
.tljb-job-detail__salary-box {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 14px;
  margin-bottom: 20px;
}
.tljb-job-detail__salary-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.tljb-job-detail__salary-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #78350f;
}
.tljb-job-detail__specs {
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 16px;
  font-size: 14px;
}
.tljb-job-detail__specs dt {
  color: #64748b;
  font-weight: 500;
}
.tljb-job-detail__specs dd {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}
.tljb-job-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tljb-job-detail__tag {
  display: inline-flex;
  padding: 3px 8px;
  font-size: 11px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 99px;
  font-weight: 500;
}
.tljb-job-detail__cta {
  width: 100%;
}
.tljb-job-detail__hotline {
  text-align: center;
  margin: 16px 0 0;
  font-size: 13px;
  color: #64748b;
}
.tljb-job-detail__hotline a {
  color: var(--color-primary, #0b4bd8);
  font-weight: 700;
  text-decoration: none;
}

.tljb-job-detail__related {
  background: #f8fafc;
}

/* ENH-014 — Industry taxonomy archive */
.tljb-industry__hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 50px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.tljb-industry__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tljb-industry__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tljb-industry__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,42,0.5) 0%, rgba(15,23,42,0.85) 100%);
}
.tljb-industry__hero-content {
  position: relative;
  z-index: 2;
}
.tljb-industry__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #fff;
}
.tljb-industry__description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: #334155;
}
.tljb-industry__description p {
  margin: 0 0 16px;
}
.tljb-industry__description p:last-child {
  margin-bottom: 0;
}

/* ENH-015 — Offer detail page */
.tljb-offer-detail__hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 60px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.tljb-offer-detail__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tljb-offer-detail__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tljb-offer-detail__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    hsla(var(--theme-color, 222 84% 28%), 0.65) 0%,
    hsla(var(--theme-color, 222 84% 28%), 0.92) 100%);
}
.tljb-offer-detail__hero-content {
  position: relative;
  z-index: 2;
}
.tljb-offer-detail__flag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  margin-bottom: 16px;
}
.tljb-offer-detail__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
  max-width: 800px;
}
.tljb-offer-detail__lead {
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 700px;
}

.tljb-offer-detail__body {
  padding: 60px 0;
}
.tljb-offer-detail__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .tljb-offer-detail__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.tljb-offer-detail__article {
  font-size: 16px;
  line-height: 1.75;
  color: #1f2937;
}
.tljb-offer-detail__article h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 14px;
}
.tljb-offer-detail__article ul {
  padding-left: 20px;
  margin: 0 0 16px;
}
.tljb-offer-detail__article ul li {
  padding: 4px 0;
}
.tljb-offer-detail__article p {
  margin: 0 0 16px;
}

.tljb-offer-detail__sidebar {
  position: sticky;
  top: 24px;
}
.tljb-offer-detail__card {
  background: hsl(var(--theme-color, 222 84% 28%) / 0.04);
  border: 1px solid hsl(var(--theme-color, 222 84% 28%) / 0.16);
  border-radius: 20px;
  padding: 28px;
}
.tljb-offer-detail__card-title {
  font-size: 18px;
  font-weight: 700;
  color: hsl(var(--theme-color, 222 84% 28%));
  margin: 0 0 8px;
}
.tljb-offer-detail__card-text {
  font-size: 14px;
  color: #475569;
  margin: 0 0 18px;
  line-height: 1.5;
}
.tljb-offer-detail__cta {
  width: 100%;
}

/* ENH-017 — Shared page-hero pattern (news + gallery archives) */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Clear fixed header (--header-h) + đệm 40px → tiêu đề không sát/đè header. */
  padding: calc(var(--header-h, 104px) + 40px) 0 80px;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
/* ENH — hero Thư viện cao tương đương hero cung ứng/du học (.market-hero 480px) */
.gallery-hero {
  min-height: 480px;
}
.page-hero__content {
  position: relative;
  z-index: 1;
}
.page-hero .h1,
.market-hero .h1 { /* ENH: đồng bộ font title hero du-hoc/market = hero cung ứng (.page-hero) */
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin: 0 0 16px;
  color: #fff;
}

/* ENH-016 — News archive grid */
.news-archive-hero {
  background-color: #0f172a;
}
.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 1200px) {
  .news-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 1024px) {
  .news-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .news-archive__grid { grid-template-columns: 1fr; gap: 18px; }
}
.news-archive__card.blog-posts__card--compact {
  aspect-ratio: 4 / 3;
  width: auto;
  height: auto;
  min-height: 260px;
}
/* News card title — clamp 2 lines + smaller font + native tooltip via title attr */
.news-archive__card .blog-posts__heading {
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ENH-017 — Gallery archive with fade-in animation */
.gallery-grid--animated {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  animation: tlg-gallery-fade-in 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.gallery-grid--animated .gallery-item {
  opacity: 0;
  transform: translateY(12px);
  animation: tlg-gallery-item-in 0.55s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.gallery-grid--animated .gallery-item:nth-child(1)  { animation-delay: 0.04s; }
.gallery-grid--animated .gallery-item:nth-child(2)  { animation-delay: 0.08s; }
.gallery-grid--animated .gallery-item:nth-child(3)  { animation-delay: 0.12s; }
.gallery-grid--animated .gallery-item:nth-child(4)  { animation-delay: 0.16s; }
.gallery-grid--animated .gallery-item:nth-child(5)  { animation-delay: 0.20s; }
.gallery-grid--animated .gallery-item:nth-child(6)  { animation-delay: 0.24s; }
.gallery-grid--animated .gallery-item:nth-child(7)  { animation-delay: 0.28s; }
.gallery-grid--animated .gallery-item:nth-child(8)  { animation-delay: 0.32s; }
.gallery-grid--animated .gallery-item:nth-child(9)  { animation-delay: 0.36s; }
.gallery-grid--animated .gallery-item:nth-child(10) { animation-delay: 0.40s; }
.gallery-grid--animated .gallery-item:nth-child(11) { animation-delay: 0.44s; }
.gallery-grid--animated .gallery-item:nth-child(12) { animation-delay: 0.48s; }

@keyframes tlg-gallery-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes tlg-gallery-item-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1024px) {
  .gallery-grid--animated { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 768px) {
  .gallery-grid--animated { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 480px) {
  .gallery-grid--animated { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .gallery-grid--animated,
  .gallery-grid--animated .gallery-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ENH-018 — Client-side pagination hide/show + transition state */
.gallery-item[data-hidden="true"] {
  display: none;
}
.gallery-grid--transitioning {
  opacity: 0.25;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.gallery-grid {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

/* ENH-022 — Market cards (5 markets thay 9 industry, data từ Woo product_cat top-level) */
.market-cards-section { padding: 4rem 0; }
.market-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.market-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: hsl(var(--card-hue, 220), 70%, 30%);
  min-height: 280px;
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.market-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.5);
}
.market-card__media { position: absolute; inset: 0; }
.market-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.market-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    hsla(var(--card-hue, 220), 70%, 20%, 0.2) 0%,
    hsla(var(--card-hue, 220), 70%, 20%, 0.85) 100%);
}
.market-card__content {
  position: relative;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  z-index: 1;
}
.market-card__title { font-size: 1.4rem; font-weight: 800; margin: 0 0 0.5rem; color: #fff; }
.market-card__count { font-size: 0.9rem; opacity: 0.95; margin: 0 0 0.75rem; color: #fff; }
.market-card__cta {
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
}
.market-card__cta span { transition: transform 0.2s ease; }
.market-card:hover .market-card__cta span { transform: translateX(4px); }
@media (max-width: 640px) {
  .market-cards-grid { grid-template-columns: 1fr; }
  .market-card { min-height: 220px; }
}


/* BUG-010 — .job-card-grid responsive grid (used by taxonomy-product_cat.php,
   page-jobs-archive.php, single-product.php related jobs). Previously stacked
   1-col because no rule existed. */
.job-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 640px) {
  .job-card-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ENH-025 + BUG-016 — Homepage About section, style consistent với section-header pattern */
.about-tlg-home { padding: 4rem 0; }
.about-tlg-home__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.about-tlg-home__video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(15,23,42,.35);
}
.about-tlg-home__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.about-tlg-home__content p {
  line-height: 1.7;
  color: #334155;
  margin: 0 0 1rem;
  font-size: 1rem;
}
.about-tlg-home__cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .about-tlg-home__grid { grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
  .about-tlg-home__cta { justify-content: center; }
}

/* ===== Chọn ngôn ngữ (GTranslate): footer ở desktop, cuối hamburger ở mobile ===== */
.footer-lang {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-lang__label {
  font-size: var(--text-small);
  color: rgba(250, 250, 250, 0.7);
  font-weight: 600;
}
.footer-lang .gtranslate_wrapper,
.nav-lang .gtranslate_wrapper { display: inline-block; }
/* Desktop: switcher ở header (hamburger) ẩn — chỉ dùng ở footer */
.nav-lang { display: none; }

/* Ẩn widget engine Google Translate ("Powered by Google" / logo) — chỉ dùng cờ GTranslate.
   Element này phải tồn tại trong DOM (để dịch) nhưng KHÔNG được hiển thị. */
#google_translate_element2,
.goog-te-banner-frame,
.goog-te-gadget-icon { display: none !important; }
.goog-te-gadget { font-size: 0 !important; line-height: 0 !important; height: 0 !important; }
.goog-te-gadget > span,
.goog-logo-link { display: none !important; }
body { top: 0 !important; }

@media (max-width: 1023px) {
  /* Mobile/tablet: ẩn switcher footer, hiện ở cuối menu hamburger */
  .footer-lang { display: none; }
  .nav-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
  }
  .nav-lang__label {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    font-weight: 600;
  }
  /* Cờ to hơn + giãn cách để dễ chạm */
  .nav-lang { flex-wrap: wrap; gap: 12px 14px; }
  .nav-lang .gtranslate_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }
  .nav-lang .glink { display: inline-flex; padding: 4px; line-height: 0; }
  .nav-lang .glink img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(15, 23, 42, 0.18);
  }
  .nav-lang .glink.gt-current-lang img {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
  }
}
