
/* HERO SECTION - RemoteOK Style */
.hero {
  background: white;
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.hero_heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #000;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero_description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #666;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero_action {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #333;
  margin-top: 0.5rem;
}

.hero_post_job_btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: #0891b2;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-left: 0.5rem;
  font-size: 1.05rem;
}

.hero_post_job_btn:hover {
  background: #0e7490;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero {
    padding: 3rem 1.5rem 3rem;
  }
  
  .hero_action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero_post_job_btn {
    margin-left: 0;
  }
}

/* JOB LISTINGS SECTION */
.job-listings {
  max-width: 1100px;
  margin: 0 auto;
  background: #fafafa; /* Lighter gray */
  padding: 3rem 1rem;
}

/* SEARCH FORM - RemoteOK Style */
.search-form {
  display: flex;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto 2rem; /* top: 0, left/right: auto, bottom: 2rem */
  padding: 1.5rem;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

.search-form input[type="text"],
.search-form input[type="number"],
.search-form .sort-select {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color 0.2s ease;
}

.search-form input[type="text"]:focus,
.search-form input[type="number"]:focus,
.search-form .sort-select:focus {
  outline: none;
  border-color: #0891b2;
}

.search-form input::placeholder {
  color: #999;
}

.sort-select {
  background: white;
  cursor: pointer;
}

/* JOB LIST */
.job-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

/* JOB CARD - RemoteOK Style */
.job-card {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); 
}

.job-card:hover {
  border-color: #0891b2;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.15);
  transform: translateY(-1px);
}

/* Logo */
.job-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.job-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* Job Info */
.job-info {
  min-width: 0; /* Allows text truncation */
}

.job-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.job-title a {
  color: #000;
  transition: color 0.2s ease;
}

.job-title a:hover {
  color: #0891b2;
  text-decoration: none;
}

.job-company {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.15rem 0;
}

.job-location {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

/* Time */
.job-time {
  font-size: 0.85rem;
  color: #999;
  white-space: nowrap;
  text-align: right;
  min-width: 50px;
}

/* Apply Button */
.job-action {
  flex-shrink: 0;
}

.apply-btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: white;
  color: #0891b2;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1.5px solid #0891b2;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.apply-btn:hover {
  background: #0891b2;
  color: white;
  border: 1.5px solid #0891b2;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(8,145,178,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
    padding: 1rem;
  }
  
  .search-form input[type="text"],
  .search-form input[type="number"],
  .search-form .sort-select {
    min-width: 100%;
  }
  
  .job-card {
    grid-template-columns: 50px 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .job-logo {
    width: 50px;
    height: 50px;
  }
  
  .job-time {
    grid-column: 2;
    text-align: left;
    font-size: 0.8rem;
  }
  
  .job-action {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
  }
  
  .apply-btn {
    width: 100%;
    text-align: center;
  }
}