/* Job Posting Blog - Premium Styles & Design System */

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

/* 2. Color Palettes & System Variables */
:root {
  /* Font Families */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors (Light Theme Defaults) */
  --primary-hsl: 239, 84%, 67%;
  --primary: hsl(var(--primary-hsl));
  --primary-hover: hsl(239, 84%, 60%);
  --primary-light: hsl(239, 84%, 95%);
  --accent: hsl(142, 71%, 45%);
  --accent-light: hsl(142, 71%, 95%);
  
  --bg-main: hsl(220, 20%, 97%);
  --bg-card: hsl(0, 0%, 100%);
  --bg-nav: rgba(255, 255, 255, 0.75);
  --border-color: hsl(214, 32%, 91%);
  
  --text-main: hsl(222, 47%, 11%);
  --text-muted: hsl(215, 16%, 47%);
  --text-white: hsl(0, 0%, 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 20px 25px -5px rgba(99, 102, 241, 0.06), 0 10px 10px -5px rgba(99, 102, 241, 0.04);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-border: rgba(255, 255, 255, 0.5);
}

/* Dark Theme Overrides */
.dark-mode {
  --bg-main: hsl(222, 47%, 6%);
  --bg-card: hsl(223, 47%, 11%);
  --bg-nav: rgba(15, 23, 42, 0.8);
  --border-color: hsl(217, 33%, 18%);
  
  --text-main: hsl(210, 40%, 98%);
  --text-muted: hsl(215, 20%, 65%);
  --primary-light: hsl(239, 84%, 15%);
  --accent-light: hsl(142, 71%, 12%);
  --glass-border: rgba(255, 255, 255, 0.05);

  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

/* 3. Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* 4. Layout Wrapper */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 5. Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: var(--transition);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), hsl(315, 85%, 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
}

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

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

/* Theme Toggle Button */
.btn-toggle {
  background: none;
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  color: var(--text-main);
}

.btn-toggle:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background-color: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-full-width {
  width: 100%;
}

/* 6. Front Page - Hero Section */
.hero-section {
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 48px;
  max-width: 800px;
  margin: 0 auto 24px auto;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), hsl(315, 85%, 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* Search Container Styling */
.search-container {
  max-width: 840px;
  margin: 0 auto;
  background-color: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: center;
  transition: var(--transition);
}

.search-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.12), 0 10px 10px -5px rgba(99, 102, 241, 0.08);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 8px 12px;
  border-right: 1px solid var(--border-color);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field-icon {
  font-size: 18px;
}

.search-input {
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.select-filter {
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

.remote-checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.remote-checkbox-container input {
  cursor: pointer;
}

/* Category Filters Section */
.category-filters-row {
  margin: 24px 0 40px 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-chip {
  padding: 8px 18px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.category-chip:hover {
  background-color: var(--border-color);
  color: var(--text-main);
}

.category-chip.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

/* Result Tracker */
.result-tracker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.result-count {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-main);
}

/* 7. Front Page - Job Board Card Feed */
.job-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.job-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: transparent;
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}

.job-card:hover::before {
  background-color: var(--primary);
}

.job-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 16px;
}

.company-logo {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 800;
  font-size: 20px;
  font-family: var(--font-heading);
}

.job-card-meta {
  flex: 1;
}

.job-title-link {
  display: inline-block;
}

.job-card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
  transition: var(--transition);
}

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

.company-name {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
}

/* Badge System */
.job-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.type-badge {
  background-color: var(--primary-light);
  color: var(--primary);
}

.job-card-summary {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.job-meta-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-chip {
  font-size: 13px;
  color: var(--text-muted);
  background-color: var(--bg-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.remote-chip {
  background-color: var(--accent-light);
  color: var(--accent);
}

.job-card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-date {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-card-details {
  background-color: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

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

/* No Results Block */
.no-results {
  text-align: center;
  padding: 60px 24px;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
}

.no-results-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.no-results h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* 8. Front Page - Newsletter Signup Widget */
.newsletter-card {
  background: linear-gradient(135deg, hsl(239, 84%, 67%), hsl(265, 84%, 55%));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  margin-bottom: 80px;
}

.newsletter-card::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.newsletter-card h2 {
  font-size: 32px;
  color: var(--text-white);
  margin-bottom: 12px;
}

.newsletter-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 32px auto;
}

.newsletter-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.newsletter-input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  color: var(--text-white);
  font-family: var(--font-body);
  outline: none;
  font-size: 15px;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn-primary {
  background-color: var(--text-white);
  color: var(--primary);
  font-weight: 700;
}

.newsletter-form .btn-primary:hover {
  background-color: hsl(220, 20%, 97%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 9. Single Blog Page (Job details view) */
.job-details-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 0;
  margin-bottom: 40px;
}

.job-header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.company-large-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 32px;
  font-family: var(--font-heading);
}

.header-title-block {
  flex: 1;
}

.badge-light-indigo {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.job-title-h1 {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.job-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.meta-item strong {
  color: var(--text-main);
}

/* Layout for Details columns */
.job-details-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

/* Main Post Column */
.job-main-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.job-desc-section {
  margin-bottom: 36px;
}

.job-desc-section:last-of-type {
  margin-bottom: 0;
}

.section-title {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}

.job-main-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.job-detail-list {
  list-style: none;
}

.job-detail-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.job-detail-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Apply Inline Box */
.job-apply-inline {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 40px;
  text-align: center;
}

.job-apply-inline h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.job-apply-inline p {
  font-size: 15px;
  margin-bottom: 24px;
}

.apply-action-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.apply-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Sidebar Widgets */
.job-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.company-widget p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.sidebar-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.sidebar-link:hover {
  text-decoration: underline;
}

.summary-list {
  list-style: none;
  margin-bottom: 20px;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.summary-list li:last-child {
  border-bottom: none;
}

.sum-label {
  color: var(--text-muted);
}

.sum-value {
  font-weight: 500;
  color: var(--text-main);
}

/* Share icons */
.social-share-buttons {
  display: flex;
  gap: 12px;
}

.btn-icon {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.btn-icon:hover {
  transform: translateY(-2px);
}

.btn-twitter:hover {
  background-color: #1da1f2;
  border-color: #1da1f2;
  color: white;
}

.btn-linkedin:hover {
  background-color: #0077b5;
  border-color: #0077b5;
  color: white;
}

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

/* Related Jobs Carousel */
.related-jobs-section {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  margin-bottom: 60px;
}

.related-title {
  font-size: 24px;
  margin-bottom: 24px;
}

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

.related-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.related-card-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.company-logo-small {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.related-card-header h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.related-card-header h4 a:hover {
  color: var(--primary);
}

.related-company {
  font-size: 13px;
  color: var(--text-muted);
}

.related-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.related-type {
  font-weight: 500;
  color: var(--primary);
}

/* Micro-animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  }
}

.pulse-animation {
  animation: pulse 2s infinite ease-in-out;
}

/* 10. Footer Section */
.footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  transition: var(--transition);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 18px;
}

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

/* 11. Error/Fallback Container */
.error-container {
  text-align: center;
  padding: 100px 24px;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 40px auto;
}

.error-container h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.error-container p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* 12. Media Queries & Responsiveness */
@media (max-width: 1024px) {
  .job-details-layout {
    grid-template-columns: 1fr;
  }
  
  .job-sidebar {
    grid-row: 1; /* Move sidebar to top on medium screen sizes */
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .search-container {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    width: 100%;
  }

  .search-field:last-of-type {
    border-bottom: none;
  }

  .remote-checkbox-container {
    width: 100%;
    padding: 8px 0;
    justify-content: flex-start;
  }

  .search-container .btn-primary {
    width: 100%;
  }

  .job-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .job-badge {
    align-self: flex-start;
  }

  .job-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-card-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
  }

  .newsletter-card {
    padding: 40px 20px;
  }

  .newsletter-form {
    flex-direction: column;
    background: none;
    border: none;
    padding: 0;
  }

  .newsletter-input {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--glass-border);
  }

  .header-logo-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .job-header-meta {
    justify-content: center;
    gap: 12px 24px;
  }

  .job-main-content {
    padding: 24px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
