/* =============================================================================
   RemoteAIGig - Modern UI/UX Design System
   Dual-Theme: "TARS Snow × NearSkill Dark" (Default: Dark #090A0F)
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Snow Theme (Light Mode) */
  --bg-primary: #FAFAFB;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F4F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-pill: rgba(255, 255, 255, 0.88);
  
  --text-primary: #0A0A0C;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  --border-primary: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-focus: #0A0A0C;
  
  --accent-purple: #7C3AED;
  --accent-indigo: #4F46E5;
  --accent-blue: #0284C7;
  --accent-emerald: #059669;
  --accent-gradient: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
  
  --btn-primary-bg: #0A0A0C;
  --btn-primary-text: #FFFFFF;
  --btn-primary-hover: #1E293B;
  
  --badge-verified-bg: #ECFDF5;
  --badge-verified-text: #059669;
  --badge-verified-border: #A7F3D0;
  
  --badge-hot-bg: #FFF1F2;
  --badge-hot-text: #E11D48;
  --badge-hot-border: #FECDD3;

  --badge-rate-bg: #F0FDF4;
  --badge-rate-text: #15803D;

  --slider-track: #E2E8F0;
  --slider-fill: #7C3AED;

  --volume-bar-bg: rgba(10, 10, 12, 0.08);
  --volume-bar-fill: linear-gradient(90deg, #7C3AED 0%, #4F46E5 100%);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 35px -5px rgba(124, 58, 237, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  /* Obsidian Dark Theme - Default #090A0F */
  --bg-primary: #090A0F;
  --bg-secondary: #0D0F17;
  --bg-tertiary: #131722;
  --bg-card: #0F121C;
  --bg-card-hover: #151926;
  --bg-pill: rgba(13, 15, 23, 0.88);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #090A0F;
  
  --border-primary: #1C2233;
  --border-subtle: #141824;
  --border-focus: #FFFFFF;
  
  --btn-primary-bg: #FFFFFF;
  --btn-primary-text: #090A0F;
  --btn-primary-hover: #E2E8F0;
  
  --badge-verified-bg: rgba(5, 150, 105, 0.15);
  --badge-verified-text: #34D399;
  --badge-verified-border: rgba(5, 150, 105, 0.3);

  --badge-hot-bg: rgba(225, 29, 72, 0.15);
  --badge-hot-text: #FB7185;
  --badge-hot-border: rgba(225, 29, 72, 0.3);

  --badge-rate-bg: rgba(16, 185, 129, 0.15);
  --badge-rate-text: #34D399;

  --slider-track: #1C2233;
  --slider-fill: #8B5CF6;

  --volume-bar-bg: rgba(255, 255, 255, 0.12);
  --volume-bar-fill: linear-gradient(90deg, #8B5CF6 0%, #38BDF8 100%);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 10px 0 rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 30px 0 rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -5px rgba(139, 92, 246, 0.35);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

img, svg {
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* =============================================================================
   1. FLOATING PILL NAVBAR
   ============================================================================= */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}

.navbar-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-lg);
  padding: 8px 12px 8px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
  background: var(--bg-tertiary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.btn-nav-cta {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-nav-cta:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
}

/* =============================================================================
   2. HERO SECTION & TARS GRID ANIMATION
   ============================================================================= */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 70px;
  overflow: hidden;
  text-align: center;
}

.hero-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.hero-glow-aura {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 650px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.22) 0%, rgba(79, 70, 229, 0.12) 40%, rgba(124, 58, 237, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pill);
  border: 1px solid var(--border-primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-purple);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 36px;
}

/* Hero Interactive Search & Salary Slider Card */
.hero-filter-box {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: left;
  transition: all var(--transition-normal);
}

.hero-filter-box:focus-within {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow);
}

.filter-row-top {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-main {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.search-input-main:focus {
  background: var(--bg-secondary);
  border-color: var(--accent-purple);
}

.btn-hero-search {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  border-radius: var(--radius-md);
  padding: 0 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-hero-search:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
}

/* =============================================================================
   MINIMALIST SALARY SLIDER (3px track, 12px round thumb, step=1)
   ============================================================================= */
.slider-control-group {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.slider-val-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: #8B5CF6;
  background: rgba(139, 92, 246, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Minimalist 3px Track */
.salary-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--slider-track);
  outline: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

/* Delicate 12px Round Thumb */
.salary-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8B5CF6;
  border: 2px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.salary-slider::-webkit-slider-thumb:hover {
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.salary-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8B5CF6;
  border: 2px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Quick Search Tags */
.hero-quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-tag-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.quick-tag-chip {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.quick-tag-chip:hover {
  color: var(--text-primary);
  border-color: var(--accent-purple);
  background: var(--bg-card);
}

/* =============================================================================
   3. BOX 4 JOBS HIGHLIGHT (2x2 Grid) - Whole-card clickable & left aligned
   ============================================================================= */
.section-highlights {
  padding: 50px 0;
}

.section-header,
.section-header-center {
  margin-bottom: 36px;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  text-align: center;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-highlights .section-header,
.section-guides .section-header,
.cat-flat-header {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 680px;
}

.section-highlights .section-title,
.section-highlights .section-desc,
.section-guides .section-title,
.section-guides .section-desc,
.cat-flat-header .section-title,
.cat-flat-header .section-desc {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

/* =============================================================================
   Bento Spotlight Card (Mảnh mai, Cân đối & Hút Click CTA)
   ============================================================================= */
.job-card-spotlight {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

html:not([data-theme="dark"]) .job-card-spotlight {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.job-card-spotlight:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Subtle Top Glow: Amber/Orange for Highest Volume */
.spotlight-card-glow-volume {
  border-top: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 -2px 10px rgba(245, 158, 11, 0.12), var(--shadow-sm);
}

.spotlight-card-glow-volume:hover {
  border-color: rgba(245, 158, 11, 0.35);
  border-top-color: rgba(245, 158, 11, 0.85);
  box-shadow: 0 -4px 18px rgba(245, 158, 11, 0.22), 0 12px 30px -4px rgba(0, 0, 0, 0.45);
}

/* Subtle Top Glow: Purple/Cyan for Top Pay */
.spotlight-card-glow-pay {
  border-top: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 -2px 10px rgba(168, 85, 247, 0.12), var(--shadow-sm);
}

.spotlight-card-glow-pay:hover {
  border-color: rgba(168, 85, 247, 0.35);
  border-top-color: rgba(168, 85, 247, 0.85);
  box-shadow: 0 -4px 18px rgba(168, 85, 247, 0.22), 0 12px 30px -4px rgba(0, 0, 0, 0.45);
}

.spotlight-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
  text-align: left;
}

.spotlight-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-highest-volume {
  background: var(--badge-hot-bg);
  color: var(--badge-hot-text);
  border: 1px solid var(--badge-hot-border);
}

.badge-top-pay {
  background: rgba(124, 58, 237, 0.12);
  color: #A78BFA;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

/* Verified badge: ✓ Verified */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--badge-verified-bg);
  color: var(--badge-verified-text);
  border: 1px solid var(--badge-verified-border);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Clean text link for Details: no pill, no arrow */
.spotlight-details-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.spotlight-details-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

html:not([data-theme="dark"]) .spotlight-details-link:hover {
  color: #0A0A0C;
}

/* Middle Row: Title (line-clamp-1) */
.spotlight-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-title a:hover {
  color: var(--accent-purple);
}

.spotlight-meta-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-align: left;
}

.spotlight-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 18px;
}

.skill-tag {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
}

/* Clickable Tag with stopPropagation */
.job-tag-clickable {
  position: relative;
  z-index: 20;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.job-tag-clickable:hover {
  color: var(--text-primary);
  border-color: var(--accent-purple);
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* Bottom CTA Row: Left = Slender Pure-Text Salary, Right = Glowing Apply CTA */
.spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  position: relative;
  z-index: 5;
}

html:not([data-theme="dark"]) .spotlight-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.spotlight-pay-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-sans);
}

.spotlight-pay-text .pay-amount {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #34D399; /* Matches verified emerald green */
}

.spotlight-pay-text .pay-unit {
  font-size: 0.86rem;
  font-weight: 400;
  color: #94A3B8;
}

.btn-card-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  margin-right: 14px;
  text-decoration: none;
}

.btn-card-details:hover {
  background: var(--bg-card);
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

.btn-cta-apply {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 0.90rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  position: relative;
  z-index: 10;
  text-decoration: none;
}

.btn-cta-apply:hover {
  background: var(--btn-primary-hover);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}

/* Glowing Apply Now CTA */
.btn-cta-glow:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* =============================================================================
   4. POPULAR JOB CATEGORIES (Nearskill-style 3-Column Flat Grid)
   ============================================================================= */
.section-categories-flat {
  padding: 60px 0;
}

.cat-flat-header {
  margin: 0 auto 36px;
  text-align: center;
  max-width: 680px;
}

.cat-columns-grid-flat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 20px;
}

@media (max-width: 1024px) {
  .cat-columns-grid-flat {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 28px;
  }
}

@media (max-width: 640px) {
  .cat-columns-grid-flat {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
}

.category-flat-item {
  display: block;
  padding: 10px 0 8px;
  transition: transform var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.category-flat-item:hover {
  transform: translateY(-2px);
}

.cat-item-top-flat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cat-item-left-flat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-icon-container-flat {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.12);
  color: #8B5CF6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-name-flat {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-count-badge-flat {
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

/* Dòng kẻ phẳng mỏng 2px (volume bar) */
.cat-volume-bar-bg-flat {
  width: 100%;
  height: 2px;
  background: var(--volume-bar-bg);
  border-radius: 1px;
  overflow: hidden;
}

.cat-volume-bar-fill-flat {
  height: 100%;
  border-radius: 1px;
  background: var(--volume-bar-fill);
  transition: width 0.8s ease-out;
}

/* =============================================================================
   5. CAREER GUIDES (3 Cards) - Whole-card clickable
   ============================================================================= */
.section-guides {
  padding: 50px 0 80px;
}

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

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: left;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.guide-cover-banner {
  height: 140px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.guide-category-tag {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guide-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.guide-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  text-align: left;
}

.guide-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
  text-align: left;
}

.guide-link-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.guide-card:hover .guide-link-btn {
  gap: 10px;
  color: var(--accent-purple);
}

/* =============================================================================
   6. JOBS LISTING PAGE (/jobs) & FILTERS (Location, Contract Type)
   ============================================================================= */
.jobs-page-header {
  padding-top: 130px;
  padding-bottom: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.jobs-page-header .hero-badge {
  margin-left: auto;
  margin-right: auto;
}

.jobs-page-header .hero-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.jobs-page-header .hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  width: 100%;
}

/* Top Horizontal Banner Ad Slot */
.ad-banner-slot {
  width: 100%;
  max-width: 760px;
  min-height: 85px;
  border: 1px dashed var(--border-primary);
  border-radius: var(--radius-lg);
  background: rgba(124, 58, 237, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  margin: 16px auto 28px;
  position: relative;
  text-align: center;
}

.ad-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ad-placeholder-text {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Jobs Filter Form (Search, Category, Location, Contract Type, Slider) */
.jobs-filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  width: 100%;
}

.filter-grid-5 {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.1fr 1.1fr 1.6fr;
  gap: 14px;
  align-items: center;
}

/* =============================================================================
   CUSTOM SAAS DROPDOWN (Replacing native <select>)
   ============================================================================= */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
  user-select: none;
  text-align: left;
}

.custom-dropdown-trigger:hover {
  border-color: var(--accent-purple);
  background: var(--bg-card);
}

.custom-dropdown.is-open .custom-dropdown-trigger {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
  background: var(--bg-card);
}

.dropdown-trigger-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.dropdown-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  color: #A78BFA;
}

/* Custom Dropdown Popup Menu (#12141C in Dark, border-white/10, rounded-2xl, shadow-2xl, backdrop-blur-md) */
.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  max-width: 280px;
  max-height: 280px;
  overflow-y: auto;
  border-radius: 16px;
  padding: 6px;
  z-index: 200;
  
  background: #12141C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px -5px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1), visibility 180ms;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

html:not([data-theme="dark"]) .custom-dropdown-menu {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 45px -5px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.custom-dropdown.is-open .custom-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #94A3B8;
  cursor: pointer;
  transition: all 120ms ease;
  user-select: none;
  text-align: left;
}

html:not([data-theme="dark"]) .custom-dropdown-item {
  color: #475569;
}

.custom-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  transform: translateX(2px);
}

html:not([data-theme="dark"]) .custom-dropdown-item:hover {
  background: rgba(124, 58, 237, 0.06);
  color: #0A0A0C;
}

.custom-dropdown-item.is-selected {
  background: rgba(139, 92, 246, 0.15);
  color: #C4B5FD;
  font-weight: 600;
}

html:not([data-theme="dark"]) .custom-dropdown-item.is-selected {
  background: rgba(124, 58, 237, 0.08);
  color: #7C3AED;
}

.item-check-icon {
  flex-shrink: 0;
  color: #A78BFA;
}

html:not([data-theme="dark"]) .item-check-icon {
  color: #7C3AED;
}

.jobs-listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  text-align: left;
}

.results-count {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Two-column layout on /jobs: Job Cards Stack (Left) + Sidebar Ad (Right) */
.jobs-layout-columns {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

.jobs-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

/* Whole-card Clickable Job Row */
.job-card-row {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  text-align: left;
}

.job-card-row:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.job-card-main {
  flex: 1;
  text-align: left;
}

/* Left-aligned title, location, openings, and skills */
.job-row-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  text-align: left;
}

.job-row-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: left;
}

.job-row-title a:hover {
  color: var(--accent-purple);
}

.job-row-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  text-align: left;
}

.job-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.job-card-pay-badge {
  font-size: 1.45rem;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: -0.025em;
  color: #34D399; /* text-emerald-400 matching verified badge */
}

.job-card-buttons-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sidebar Ad Container */
.ad-sidebar-slot {
  width: 100%;
  min-height: 380px;
  border: 1px dashed var(--border-primary);
  border-radius: var(--radius-xl);
  background: rgba(124, 58, 237, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  position: sticky;
  top: 100px;
}

/* Pagination Controls */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.page-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
}

.page-btn.active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}

.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* =============================================================================
   7. JOB DETAIL PAGE (/jobs/{slug})
   ============================================================================= */
.detail-page-wrapper {
  padding-top: 130px;
  padding-bottom: 100px;
  text-align: left;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 36px;
  align-items: start;
}

.detail-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  text-align: left;
}

.detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 14px 0 18px;
  text-align: left;
}

.detail-meta-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.detail-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.detail-content-card h3 {
  font-size: 1.4rem;
  margin-top: 28px;
  margin-bottom: 14px;
}

.detail-content-card p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.detail-content-card ul, .detail-content-card ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Sidebar Insight Card */
.salary-insight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
  text-align: left;
}

.insight-header {
  margin-bottom: 20px;
}

.insight-rate-display {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #34D399;
  margin: 6px 0 4px;
}

.insight-breakdown-card {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.insight-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.insight-row:last-child {
  margin-bottom: 0;
}

.insight-row span:first-child {
  color: var(--text-secondary);
}

.insight-row span:last-child {
  font-weight: 700;
  color: var(--text-primary);
}

.btn-sidebar-apply {
  width: 100%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-sidebar-apply:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =============================================================================
   8. BLOG & ETHEREAL GRADIENT DONATE BOX (/blog & /blog/{slug})
   ============================================================================= */
.blog-page-header {
  padding-top: 130px;
  padding-bottom: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-page-header .hero-badge {
  margin-left: auto;
  margin-right: auto;
}

.blog-page-header .hero-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.blog-page-header .hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.article-page-wrapper {
  padding-top: 130px;
  padding-bottom: 80px;
  text-align: left;
}

.article-container {
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 36px;
  text-align: left;
}

.article-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 20px;
  text-align: left;
}

.article-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  text-align: left;
}

.article-body p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.article-body p.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 400;
}

.article-body h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 8px;
}

.code-callout {
  background: var(--bg-tertiary);
  border-left: 4px solid var(--accent-purple);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.98rem;
}

.benchmark-table th, .benchmark-table td {
  padding: 14px 16px;
  border: 1px solid var(--border-primary);
  text-align: left;
}

.benchmark-table th {
  background: var(--bg-tertiary);
  font-weight: 700;
}

/* =============================================================================
   RE-DESIGNED ETHEREAL GRADIENT DONATE / TIP CARD
   "Did this guide help you land an AI gig?"
   ☕ Fuel the Research (PayPal) | ⚡ Send a Tip (Wise)
   ============================================================================= */
.donate-ethereal-card {
  position: relative;
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.16), transparent 70%), linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  margin-top: 50px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.donate-glow-effect {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.45), transparent 75%);
  filter: blur(35px);
  pointer-events: none;
}

.donate-icon-pill {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

.donate-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.donate-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.donate-buttons-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Ethereal Luminous Gradient Buttons */
.btn-donate-paypal {
  background: linear-gradient(135deg, rgba(0, 112, 186, 0.9) 0%, rgba(2, 63, 115, 0.95) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(0, 112, 186, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.btn-donate-paypal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 112, 186, 0.55), 0 0 20px rgba(0, 112, 186, 0.4);
  background: linear-gradient(135deg, rgba(0, 126, 210, 0.95) 0%, rgba(2, 75, 138, 1) 100%);
}

.btn-donate-wise {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.95) 100%);
  color: #0A0A0C;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.btn-donate-wise:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55), 0 0 20px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(20, 209, 147, 0.95) 0%, rgba(5, 168, 118, 1) 100%);
}

/* =============================================================================
   9. FOOTER
   ============================================================================= */
.app-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-primary);
  background: var(--bg-card);
  padding: 48px 0 32px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

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

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* =============================================================================
   10. RESPONSIVE BREAKPOINTS
   ============================================================================= */
@media (max-width: 1024px) {
  .jobs-layout-columns {
    grid-template-columns: 1fr;
  }
  .ad-sidebar-slot {
    display: none;
  }
}

@media (max-width: 992px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .cat-columns-grid-flat {
    grid-template-columns: 1fr;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .detail-layout-grid {
    grid-template-columns: 1fr;
  }
  .filter-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .navbar-pill {
    gap: 14px;
    padding: 6px 10px 6px 14px;
  }
  .btn-nav-cta {
    display: none;
  }
  .filter-row-top {
    flex-direction: column;
  }
  .filter-grid-5 {
    grid-template-columns: 1fr;
  }
  .job-card-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-card-actions {
    align-items: flex-start;
    width: 100%;
  }
  .job-card-buttons-group {
    width: 100%;
    justify-content: space-between;
  }
  .btn-cta-apply {
    flex: 1;
    justify-content: center;
  }
}
