/* İş İlanları — kariyer panosu */

.jobs-page {
  padding-bottom: 3rem;
  background: linear-gradient(180deg, #ebe7df 0%, #f5f3ef 240px, #f5f3ef 100%);
}

.jobs-hero-inner { max-width: 1180px; }

.jobs-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.jobs-stat-pill {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  min-width: 5.5rem;
}

.jobs-stat-pill strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.jobs-stat-pill span {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.jobs-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--gold-bar);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.jobs-tabs-scroll {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.jobs-tabs-scroll::-webkit-scrollbar { display: none; }

.jobs-tabs .tab-btn {
  flex: 0 0 auto;
  padding: 0.85rem 1.15rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.jobs-tabs .tab-btn.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  border-bottom-color: #fff;
}

.jobs-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 0;
  display: grid;
  grid-template-columns: minmax(250px, 290px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.jobs-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 48px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jobs-sidebar-card,
.jobs-sidebar-cta {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  padding: 1.1rem 1.15rem;
}

.jobs-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.jobs-sidebar-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.jobs-reset {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  cursor: pointer;
  padding: 0;
}

.jobs-field { display: block; margin-bottom: 0.75rem; }

.jobs-field-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.jobs-field select {
  width: 100%;
  padding: 0.52rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.86rem;
  background: #faf9f6;
}

.jobs-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #faf9f6;
}

.jobs-search input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
}

.jobs-result { margin: 0.65rem 0 0; font-size: 1rem; font-weight: 700; }
.jobs-hint { margin: 0.12rem 0 0; font-size: 0.78rem; color: var(--text-muted); }

.jobs-sidebar-cta h3 { margin: 0 0 0.35rem; font-size: 0.92rem; }
.jobs-sidebar-cta p { margin: 0 0 0.7rem; font-size: 0.84rem; line-height: 1.5; color: var(--text-muted); }

.jobs-main { min-width: 0; }
.jobs-loading { text-align: center; padding: 2rem 0; }

.jobs-content { display: flex; flex-direction: column; gap: 1rem; }

/* Öne çıkan */
.jobs-featured-title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.jobs-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0.75rem;
}

.jobs-featured-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #3a3022 0%, #5c4a30 100%);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.jobs-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}

.jobs-featured-body h3 {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  color: #fff;
}

.jobs-featured-company,
.jobs-featured-meta,
.jobs-featured-deadline {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.jobs-featured-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.jobs-featured-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* Avatar */
.job-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #8b6914, #6b5435);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.job-avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 1.25rem;
}

.job-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* Liste */
.jobs-list { display: flex; flex-direction: column; gap: 0.7rem; }

.job-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.job-row:hover,
.job-row:focus-visible {
  border-color: rgba(139, 105, 20, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.job-row--urgent { border-left: 4px solid #c27803; }
.job-row--featured { background: linear-gradient(90deg, #fffdf8 0%, #fff 40%); }

.job-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.job-tag {
  display: inline-block;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(139, 105, 20, 0.12);
  color: var(--gold-dark);
}

.job-tag--muted { background: #eee; color: var(--text-muted); }
.job-tag--featured { background: #3a3022; color: #fff; }

.job-row-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
}

.job-row-company {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.job-row-facts {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.job-row-salary {
  color: var(--gold-dark);
  font-weight: 600;
}

.job-row-excerpt {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.job-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.55rem;
  min-width: 8.5rem;
}

.job-row-deadline {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

.job-row-deadline.is-urgent { color: #b45309; }

.job-row-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.job-row-actions .btn-sm { text-align: center; justify-content: center; }

.job-row-no-link {
  font-size: 0.7rem;
  color: var(--text-light);
  text-align: center;
}

/* Modal */
.modal-job {
  max-width: 760px;
  width: calc(100% - 2rem);
}

.job-modal-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.job-modal-title {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.job-modal-company {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

.job-modal-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.job-modal-facts div {
  padding: 0.5rem 0.6rem;
  background: #f8f6f1;
  border-radius: 8px;
}

.job-modal-facts dt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.job-modal-facts dd {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

.job-modal-excerpt {
  margin: 0 0 0.85rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.job-modal-block {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.job-modal-block h4 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.job-modal-block ul {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.6;
  font-size: 0.92rem;
}

.job-modal-block p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.92rem;
}

.job-modal-desc {
  font-size: 0.92rem;
  line-height: 1.65;
}

.job-modal-desc a { color: var(--gold-dark); }

.job-modal-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-modal-warn {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  background: #fff4e5;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #92400e;
}

.job-modal-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

.job-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .jobs-shell { grid-template-columns: 1fr; }
  .jobs-sidebar { position: static; }
  .job-row { grid-template-columns: auto 1fr; }
  .job-row-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
  }
  .job-row-actions { flex-direction: row; width: auto; }
  .jobs-featured-card { grid-template-columns: 1fr; }
  .jobs-featured-actions { flex-direction: row; }
}

@media (max-width: 768px) {
  .jobs-sticky { position: static; }
}
