:root {
  --job-primary: #1e88e5;
  --job-primary-light: #e3f2fd;
  --job-text-main: #222;
  --job-text-muted: #666;
  --job-bg: #f5f5f7;
  --job-border-radius: 16px;
  --job-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.joboffers-page-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px;
}

.joboffers-list-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  background: #fff;
  border-radius: var(--job-border-radius);
  box-shadow: var(--job-shadow);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.job-main-info {
  flex: 1;
  min-width: 0;
}

.job-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.job-title a {
  text-decoration: none;
  color: var(--job-text-main);
}

.job-title a:hover {
  text-decoration: underline;
}

.job-meta {
  font-size: 0.95rem;
  color: var(--job-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-meta span::before {
  content: "• ";
}

.job-meta span:first-child::before {
  content: "";
}

.company-logo-wrapper {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 18px;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--job-text-muted);
  text-align: center;
  padding: 8px;
  background: #fafafa;
}

.company-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--job-primary-light);
  color: var(--job-primary);
  border: 1px solid rgba(30, 136, 229, 0.3);
}

.tag-muted {
  background: #f1f1f1;
  color: var(--job-text-muted);
  border-color: transparent;
}

.job-body {
  display: grid;
  grid-template-columns: minmax(0, 3fr);
  gap: 20px;
}

.job-section {
  margin-bottom: 8px;
}

.job-section h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--job-text-main);
}

.job-section p,
.job-section ul {
  font-size: 0.95rem;
  color: var(--job-text-muted);
  line-height: 1.5;
}

.job-section ul {
  padding-left: 20px;
  list-style: disc;
}

.job-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  margin-top: 4px;
}

.apply-box {
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 12px 14px;
  background: #fafafa;
}

.job-footer {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--job-text-muted);
  border-top: 1px solid #eee;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .job-card {
    padding: 18px 16px;
  }

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

  .company-logo-wrapper {
    align-self: flex-start;
  }

  .job-grid-2 {
    grid-template-columns: 1fr;
  }
}
