/* ilan26 tema – Bootstrap 5.3 CSS'inden SONRA yüklenmeli */
/* ============ ilan26 tema ============ */
:root {
  --paper: #F4F6F5;
  --surface: #FFFFFF;
  --surface-2: #ECF1F1;
  --ink: #15222A;
  --muted: #55656E;
  --line: #D9E0E3;
  --porsuk: #1D5C82;
  --porsuk-deep: #12405E;
  --on-porsuk: #FFFFFF;
  --porsuk-tint: #E2EDF4;
  --ochre: #E3A72F;
  --ochre-ink: #6A4905;
  --ochre-tint: #FBF0D6;
  --board: #12405E;
  --roof: #7A4A33;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted);
  --bs-emphasis-color: var(--ink);
  --bs-heading-color: var(--ink);
  --bs-body-font-family: var(--font-body);
  --bs-secondary-bg: var(--surface-2);
  --bs-tertiary-bg: var(--surface-2);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F171C;
    --surface: #16222A;
    --surface-2: #1C2A33;
    --ink: #E5EBED;
    --muted: #99A9B2;
    --line: #2A3A44;
    --porsuk: #74B2DD;
    --porsuk-deep: #A6D0EC;
    --on-porsuk: #0B1D29;
    --porsuk-tint: #19303F;
    --ochre: #EDB94F;
    --ochre-ink: #F4D38E;
    --ochre-tint: #352A14;
    --board: #0B2B3F;
    --roof: #5E3A29;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c9d4d9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0F171C;
  --surface: #16222A;
  --surface-2: #1C2A33;
  --ink: #E5EBED;
  --muted: #99A9B2;
  --line: #2A3A44;
  --porsuk: #74B2DD;
  --porsuk-deep: #A6D0EC;
  --on-porsuk: #0B1D29;
  --porsuk-tint: #19303F;
  --ochre: #EDB94F;
  --ochre-ink: #F4D38E;
  --ochre-tint: #352A14;
  --board: #0B2B3F;
  --roof: #5E3A29;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c9d4d9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  color-scheme: dark;
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px)
}

body {
  background: #fffdfb;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  letter-spacing: -.015em
}

a {
  color: var(--porsuk);
  text-underline-offset: 3px
}

a:hover {
  color: var(--porsuk-deep)
}

img,
svg {
  max-width: 100%
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--porsuk) 55%, transparent);
  outline-offset: 2px;
  border-radius: 6px
}

.ic {
  width: 1.05em;
  height: 1.05em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.16em;
  flex: none
}

.text-muted-2 {
  color: var(--muted) !important
}

/* ---- önizleme şeridi ---- */
.preview-strip {
  background: var(--ink);
  color: var(--paper);
  font-size: .85rem
}

.preview-strip .container {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px
}

.preview-strip span {
  opacity: .7;
  margin-right: 6px
}

.preview-strip a {
  color: var(--paper);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 999px
}

.preview-strip a.active {
  background: var(--ochre);
  color: #2B1E02;
  font-weight: 600
}

/* ---- butonlar ---- */
.btn-brand {
  --bs-btn-color: var(--on-porsuk);
  --bs-btn-bg: #f05b3c;
  --bs-btn-border-color: #f05b3c;
  --bs-btn-hover-color: var(--on-porsuk);
  --bs-btn-hover-bg: #db4e32;
  --bs-btn-hover-border-color: #db4e32;
  --bs-btn-active-bg: #f05b3c;
  --bs-btn-active-color: var(--on-porsuk);
  font-weight: 600;
  border-radius: 10px;
  padding: .62rem 1.15rem
}

.btn-ochre {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #f05b3c;
  --bs-btn-border-color: #f05b3c;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #db4e32;
  --bs-btn-hover-border-color: #db4e32;
  --bs-btn-active-bg: #f05b3c;
  --bs-btn-active-color: var(--on-porsuk);
  --bs-btn-hover-box-shadow: 0 9px 20px rgba(240, 91, 60, .25);
  font-weight: 600;
  border-radius: 10px;
  padding: .62rem 1.15rem
}

.btn-quiet {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--surface);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--surface-2);
  --bs-btn-hover-border-color: var(--line);
  --bs-btn-active-bg: var(--surface-2);
  --bs-btn-active-color: var(--ink);
  font-weight: 600;
  border-radius: 10px;
  padding: .55rem 1rem
}

.btn-whatsapp {
  --bs-btn-color: #fff;
  --bs-btn-bg: #1E8B4D;
  --bs-btn-border-color: #1E8B4D;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #17733F;
  --bs-btn-hover-border-color: #17733F;
  font-weight: 600;
  border-radius: 10px;
  padding: .62rem 1rem
}

/* ---- form kontrolleri ---- */
.form-control,
.form-select {
  background-color: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  border-radius: 10px
}

.form-control::placeholder {
  color: var(--muted);
  opacity: 1
}

.form-control:focus,
.form-select:focus {
  background-color: var(--surface);
  color: var(--ink);
  border-color: var(--porsuk);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--porsuk) 22%, transparent)
}

.form-check-input {
  background-color: var(--surface);
  border-color: color-mix(in srgb, var(--ink) 30%, transparent)
}

.form-check-input:checked {
  background-color: var(--porsuk);
  border-color: var(--porsuk)
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--porsuk) 22%, transparent);
  border-color: var(--porsuk)
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 1020;
  background: color-mix(in srgb, #fbf9f5eb 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line)
}

.site-header .navbar {
  padding: .7rem 0
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink)
}

.brand:hover {
  color: var(--ink)
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.55rem;
  letter-spacing: -.03em;
  line-height: 1
}

.plate {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid #15222A;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  line-height: 1
}

.plate-tr {
  background: #1F4FA8;
  color: #fff;
  font-size: .5rem;
  font-weight: 700;
  padding: 0 3px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3px
}

.plate-no {
  font-family: var(--font-display);
  font-weight: 750;
  color: #15222A;
  font-size: 1.05rem;
  padding: 3px 6px 2px;
  letter-spacing: .02em
}

.site-nav .nav-link {
  color: var(--ink);
  font-weight: 500;
  padding: .45rem .8rem !important;
  border-radius: 8px
}

.site-nav .nav-link:hover {
  background: var(--surface-2);
  color: #15222A
}

.site-nav .nav-link.active {
  color: #15222A;
  font-weight: 600
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  padding: .45rem .6rem
}

.navbar-toggler:focus {
  box-shadow: none
}

/* ---- ana sayfa: hero ---- */
.hero {
  position: relative;
  padding: 56px 0 0;
  overflow: hidden
}

.hero-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  color: #f05b3c;
  margin-bottom: 14px;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f05b3c;
  box-shadow: 0 0 0 0 rgba(46, 158, 91, .5);
  animation: pulse 2.4s infinite
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 158, 91, .45)
  }

  70% {
    box-shadow: 0 0 0 8px rgba(46, 158, 91, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 158, 91, 0)
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  font-weight: 750;
  line-height: 1.03;
  letter-spacing: -.035em;
  margin-bottom: 16px;
  max-width: 15ch
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 26px
}

/* Mobil: ana sayfa giriş metinleri (canlı ilan sayısı, başlık, açıklama) ortalı. */
@media (max-width:767.98px) {
  .hero-count {
    display: flex;
    justify-content: center
  }

  .hero-title,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center
  }

  /* "Sık arananlar" etiketleri de ortalı. */
  .quick {
    justify-content: center
  }

  /* Mobil: arama kutusunda ilçe seçimi gösterilmez (ilçe, ilan listesinin filtresinden seçilir). */
  .search-bar .sb-loc {
    display: none
  }

  .search-bar .sb-q {
    border-bottom: 0
  }
}

.search-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 18px 40px -26px rgba(18, 64, 94, .45)
}

.sb-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--muted)
}

.sb-field .form-control,
.sb-field .form-select {
  border: 0;
  box-shadow: none;
  padding-left: 0;
  background-color: transparent;
  height: 48px
}

.sb-q {
  flex: 1.4;
  border-right: 1px solid var(--line)
}

.sb-loc {
  flex: 1
}

.search-bar .btn {
  padding-left: 1.4rem;
}

.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  font-size: .92rem;
  color: var(--muted)
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.3
}

.chip:hover {
  border-color: var(--porsuk);
  color: var(--porsuk)
}

.chip.is-on {
  background: var(--porsuk);
  border-color: var(--porsuk);
  color: var(--on-porsuk)
}

.board {
  background: var(--board);
  color: #fff;
  border-radius: 16px;
  padding: 20px 22px 16px
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px
}

.board-head h2 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0;
  color: #fff
}

.board-date {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65)
}

.board-list {
  list-style: none;
  margin: 0;
  padding: 0
}

.board-list a {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none
}

.board-list li:first-child a {
  border-top: 0
}

.board-list a:hover .b-title {
  text-decoration: underline;
  text-underline-offset: 3px
}

.board-list time {
  grid-row: span 2;
  font-variant-numeric: tabular-nums;
  color: #F3C35B;
  font-weight: 600;
  padding-top: 1px
}

.b-title {
  font-weight: 600
}

.b-meta {
  font-size: .87rem;
  color: rgba(255, 255, 255, .68)
}

.board-all {
  display: inline-block;
  margin-top: 10px;
  color: #F3C35B;
  font-weight: 600;
  font-size: .92rem
}

.board-all:hover {
  color: #fff
}

.skyline {
  display: block;
  width: 100%;
  height: 96px;
  margin-top: 48px
}

.skyline .roof {
  fill: var(--roof)
}

.skyline .win {
  fill: rgba(255, 255, 255, .78);
  stroke: rgba(0, 0, 0, .18);
  stroke-width: 1
}

.skyline-ground {
  height: 6px;
  background: var(--ink);
  opacity: .9
}

/* ---- bölümler ---- */
.section {
  padding: 56px 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  margin: 0
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted)
}

.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: 12px;
  flex-wrap: wrap
}

.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  padding: 6px 12px;
  border-radius: 9px
}

.seg button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08)
}

.district-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.district-list a {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600
}

.district-list a:hover {
  border-color: var(--porsuk);
  color: var(--porsuk)
}

.district-list small {
  color: var(--muted);
  font-weight: 500
}

/* Ana sayfa: footer'ın hemen üstünde ekran genişliğinde işveren bandı (home/index.php).
   Alttaki negatif boşluk footer'ın üst boşluğunu sıfırlar, bant footer'a yapışır. */
.employer-band {
  position: relative;
  overflow: hidden;
  margin-bottom: -56px;
  /* Site paleti: porsuk mavisi (--porsuk-deep -> --porsuk); sağda illüstrasyon (assets/img/employer-band.svg). */
  background:
    url("/assets/img/employer-band.svg") right center / auto 100% no-repeat,
    linear-gradient(90deg, #12405E 0%, #12405E 40%, #1D5C82 100%);
  color: #fff
}

/* Soldaki koyu dikey şerit (görseldeki gibi). */
.employer-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 14%;
  background: rgba(11, 36, 54, .45)
}

.employer-band-inner {
  position: relative;
  padding-top: 64px;
  padding-bottom: 64px
}

.employer-band h2 {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600
}

.employer-band p {
  max-width: 56ch;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .92);
  line-height: 1.75
}

.employer-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px
}

.employer-band-btn {
  padding: 9px 16px;
  border: 0;
  border-radius: 6px;
  background: #F05B3C;
  color: #fff;
  font-weight: 700
}

.employer-band-btn:hover,
.employer-band-btn:focus-visible {
  background: #D94A2C;
  color: #fff
}

.employer-band-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none
}

.employer-band-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px
}

@media (max-width:767.98px) {
  /* Mobil: illüstrasyon yazının arkasında kalmasın, alttaki boş alana yerleşir. */
  .employer-band {
    background:
      url("/assets/img/employer-band.svg") right bottom / auto 170px no-repeat,
      linear-gradient(180deg, #12405E 0%, #1D5C82 100%)
  }

  .employer-band::before {
    display: none
  }

  .employer-band-inner {
    padding-top: 44px;
    padding-bottom: 170px
  }
}

/* ---- ilan satırı (ortak bileşen) ---- */
.job-list {
  display: grid;
  gap: 10px
}

.job-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 4px 16px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px
}

.job-row:hover {
  border-color: color-mix(in srgb, var(--porsuk) 45%, var(--line))
}

.job-row.is-featured {
  border-color: color-mix(in srgb, var(--ochre) 65%, var(--line));
  box-shadow: inset 4px 0 0 var(--ochre)
}

/* "Acil İlan": öne çıkan ile aynı vurgu, kırmızı. İlan hem acil hem öne çıkansa
   (kuralın sonra gelmesi sayesinde) kırmızı vurgu baskın olur. */
.job-row.is-urgent {
  --urgent-accent: #C0362C;
  border-color: color-mix(in srgb, var(--urgent-accent) 65%, var(--line));
  box-shadow: inset 4px 0 0 var(--urgent-accent)
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .job-row.is-urgent {
    --urgent-accent: #E5675C
  }
}

:root[data-theme="dark"] .job-row.is-urgent {
  --urgent-accent: #E5675C
}

.job-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.05rem;
  color: #fff;
  background: var(--c);
  letter-spacing: .02em
}

.job-title {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0 0 1px;
  line-height: 1.3
}

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

.job-title a:hover {
  color: var(--porsuk)
}

.job-company {
  color: var(--muted);
  margin: 0 0 8px;
  font-size: .93rem
}

.job-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: .88rem;
  color: var(--muted)
}

.job-meta li {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.job-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px
}

.perk {
  font-size: .79rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--porsuk-tint);
  color: var(--porsuk-deep)
}

.job-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px
}

.job-side time {
  font-size: .85rem;
  color: var(--muted);
  white-space: nowrap
}

.tag-featured {
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ochre-tint);
  color: var(--ochre-ink)
}

/* "Acil İlan" tanıtımı (promotion type: urgent) */
.tag-urgent {
  --urgent: #C0362C;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #FCE8E6;
  color: var(--urgent);
  white-space: nowrap
}

.tag-urgent::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.detail-badges .tag-urgent {
  font-size: .88rem;
  padding: 5px 11px;
  border-radius: 8px
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tag-urgent {
    background: #3A1A17;
    color: #F4978E
  }
}

:root[data-theme="dark"] .tag-urgent {
  background: #3A1A17;
  color: #F4978E
}

.fav-btn {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  display: grid;
  place-items: center
}

.fav-btn:hover {
  color: #C8414B;
  border-color: #E3A6AB
}

.fav-btn[aria-pressed="true"] {
  color: #C8414B;
  border-color: #E3A6AB
}

.fav-btn[aria-pressed="true"] .ic,
.fav-toggle[aria-pressed="true"] .ic {
  fill: #C8414B;
  color: #C8414B
}

@media (max-width:575.98px) {
  .job-row {
    grid-template-columns: 44px 1fr;
    padding: 16px
  }

  .job-logo {
    width: 44px;
    height: 44px;
    font-size: .95rem
  }

  .job-side {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--line)
  }
}

/* ---- ilanlar sayfası ---- */
.page-top {
  padding: 28px 12px 8px
}

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--muted);
  --bs-breadcrumb-item-active-color: var(--muted);
  font-size: .9rem;
  margin-bottom: 12px
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none
}

.breadcrumb a:hover {
  color: var(--porsuk);
  text-decoration: underline
}

.page-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  margin: 0
}

.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 18px 18px
}

.filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line)
}

.filter-group:last-of-type {
  border-bottom: 0
}

/* "Sonuçları göster": filtre paneli boyunca ekranın altına yapışık (panel bitince yerinde kalır).
   Negatif kenar boşluğu .filters'ın yatay padding'ini kapatır, kayan içerik arkada görünmez. */
.filter-submit {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0 -18px;
  padding: 12px 18px;
  background: var(--surface);
  border-top: 1px solid var(--line)
}

.filter-group h3 {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px
}

.filter-group .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding-left: 0
}

.filter-group .form-check-input {
  margin: 0;
  flex: none
}

.filter-group .form-check-label {
  flex: 1;
  font-size: .94rem
}

.filter-group .count {
  color: var(--muted);
  font-size: .84rem;
  font-variant-numeric: tabular-nums
}

/* Filtre panelindeki Sektör / Pozisyon bağlantı listeleri */
.filter-nav {
  list-style: none;
  padding: 0;
  margin: 0
}

/* 6'dan fazla öğesi olan filtre listeleri: yükseklik ilk 6 öğeye göre app.js
   (initFilterScrollAreas) tarafından ayarlanır; JS yüklenmeden önce de sayfa
   uzamasın diye kaba bir üst sınır verilir. */
.filter-scroll {
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent
}

.filter-scroll.is-scrollable {
  padding-right: 6px;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 18px), transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 18px), transparent)
}

.filter-scroll.is-scrollable.is-at-end {
  mask-image: none;
  -webkit-mask-image: none
}

.filter-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .94rem;
  text-decoration: none
}

.filter-nav-link:hover {
  background: var(--surface-2);
  color: var(--porsuk)
}

.filter-nav-link.is-on {
  background: var(--porsuk-tint);
  color: var(--porsuk-deep);
  font-weight: 600
}

.filter-nav-link.is-on .count {
  color: inherit
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center
}

.active-filters .chip {
  background: var(--porsuk-tint);
  border-color: transparent;
  color: var(--porsuk-deep);
  font-weight: 600
}

.active-filters .chip .ic {
  width: .9em;
  height: .9em
}

.sort-select {
  width: auto;
  min-width: 190px
}

.pagination {
  --bs-pagination-color: var(--ink);
  --bs-pagination-bg: var(--surface);
  --bs-pagination-border-color: var(--line);
  --bs-pagination-hover-color: var(--porsuk);
  --bs-pagination-hover-bg: var(--surface-2);
  --bs-pagination-hover-border-color: var(--line);
  --bs-pagination-focus-color: var(--porsuk);
  --bs-pagination-focus-bg: var(--surface-2);
  --bs-pagination-focus-box-shadow: 0 0 0 3px color-mix(in srgb, var(--porsuk) 22%, transparent);
  --bs-pagination-active-color: var(--on-porsuk);
  --bs-pagination-active-bg: var(--porsuk);
  --bs-pagination-active-border-color: var(--porsuk);
  --bs-pagination-disabled-color: var(--muted);
  --bs-pagination-disabled-bg: var(--surface);
  --bs-pagination-disabled-border-color: var(--line);
  --bs-pagination-border-radius: 10px;
  gap: 6px
}

.pagination .page-link {
  border-radius: 10px !important;
  min-width: 40px;
  text-align: center
}

.offcanvas-lg {
  --bs-offcanvas-bg: var(--paper);
  --bs-offcanvas-color: var(--ink)
}

@media (max-width:991.98px) {
  .offcanvas-lg .offcanvas-body {
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px))
  }

  .offcanvas-lg .filters {
    border: 0;
    padding: 0;
    background: transparent
  }

  /* bottom: offcanvas-body'nin alt padding'i kadar aşağı: aksi halde butonun altında
     kayan içerik görünen bir boşluk kalır. */
  .offcanvas-lg .filter-submit {
    bottom: calc(-16px - env(safe-area-inset-bottom, 0px));
    margin: 0 calc(-1 * var(--bs-offcanvas-padding-x));
    padding: 12px var(--bs-offcanvas-padding-x) calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--paper)
  }
}

/* ---- ilan detay ---- */
.detail-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start
}

.detail-head .job-logo {
  width: 128px;
  height: 128px;
  font-size: 2.25rem;
  padding: 5px;
  border: 1px solid #d9e0e373;
  border-radius: 14px
}

.detail-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 900px;
  margin: 0 0 6px
}

.detail-company {
  font-weight: 600;
  text-decoration: none
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 28px)
}

.panel+.panel {
  margin-top: 16px
}

.panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px
}

.prose p {
  max-width: 68ch
}

.prose ul {
  padding-left: 1.1rem;
  margin-bottom: 0
}

.prose li {
  margin-bottom: 6px;
  max-width: 66ch
}

.prose li::marker {
  color: var(--porsuk)
}

.gallery-main {
  aspect-ratio: 16/8;
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, color-mix(in srgb, var(--surface-2) 70%, var(--surface)) 14px 28px);
  border: 1px solid var(--line)
}

.gallery-main .ic {
  width: 34px;
  height: 34px;
  display: block;
  margin: 0 auto 6px
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px
}

.thumbs button {
  aspect-ratio: 4/3;
  border-radius: 8px;
  border: 2px solid transparent;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 8px, color-mix(in srgb, var(--surface-2) 70%, var(--surface)) 8px 16px);
  color: var(--muted);
  font-size: .8rem
}

.thumbs button[aria-current="true"] {
  border-color: var(--porsuk);
  color: var(--porsuk)
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line)
}

.facts div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line)
}

.facts div:nth-child(odd) {
  padding-right: 16px
}

.facts dt {
  font-weight: 500;
  color: var(--muted);
  font-size: .87rem
}

.facts dd {
  margin: 0;
  font-weight: 600
}

@media (max-width:575.98px) {
  .facts {
    grid-template-columns: 1fr
  }

  .facts div:nth-child(odd) {
    padding-right: 0
  }
}

.map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line)
}

.map .m-bg {
  fill: var(--surface-2)
}

.map .m-road {
  stroke: var(--surface);
  stroke-width: 7;
  fill: none
}

.map .m-road-s {
  stroke: var(--surface);
  stroke-width: 3.5;
  fill: none
}

.map .m-river {
  stroke: #7FB1D3;
  stroke-width: 9;
  fill: none;
  stroke-linecap: round
}

.map .m-block {
  fill: color-mix(in srgb, var(--line) 70%, var(--surface-2))
}

.map .m-label {
  fill: var(--muted);
  font: 600 12px var(--font-body)
}

.map .m-pin {
  fill: #C8414B
}

.contact-card {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 86px)
}

.contact-card .company-line {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px
}

.contact-card .job-logo {
  width: 64px;
  height: 64px
}

.phone-btn .num {
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em
}

.safety {
  display: flex;
  gap: 10px;
  font-size: .87rem;
  color: var(--muted);
  background: var(--ochre-tint);
  border-radius: 10px;
  padding: 12px;
  margin-top: 16px;
  align-items: center
}

.safety .ic {
  color: var(--ochre-ink);
  width: 1.25em;
  height: 1.25em
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .92rem
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line)
}

.meta-list li:last-child {
  border-bottom: 0
}

.meta-list span {
  color: var(--muted)
}

.meta-list strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums
}

.link-quiet {
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  margin: auto;
  justify-content: center;
  margin-top: 16px
}

.link-quiet:hover {
  color: #C8414B
}

.mobile-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .35)
}

.mobile-contact .btn {
  flex: 1
}


/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 28px;
  margin-top: 56px;
  background: var(--surface)
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 12px
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.site-footer li {
  margin-bottom: 8px
}

.site-footer ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem
}

.site-footer ul a:hover {
  color: var(--porsuk);
  text-decoration: underline
}

/* Footer "Hakkında" sütunu ve menü sütunları (partials/footer.php) */
.footer-about p {
  max-width: 34ch
}

.footer-col-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default
}

.footer-col-toggle .bi {
  display: none;
  font-size: .85rem;
  transition: transform .2s ease
}

/* md+: menü listeleri her zaman açık, başlık tıklanamaz. */
@media (min-width:768px) {
  .site-footer .footer-col-links.collapse:not(.show) {
    display: block
  }

  .footer-col-toggle {
    pointer-events: none
  }
}

/* Mobil: Hakkında ortalı, menü sütunları akordiyon. */
@media (max-width:767.98px) {
  .footer-about {
    text-align: center;
    margin-bottom: 20px
  }

  .footer-about p {
    margin-left: auto;
    margin-right: auto
  }

  .site-footer .footer-social {
    justify-content: center
  }

  .footer-col {
    border-top: 1px solid var(--line)
  }

  .footer-col:last-child {
    border-bottom: 1px solid var(--line)
  }

  .site-footer .footer-col h3 {
    margin: 0
  }

  .footer-col-toggle {
    padding: 14px 0;
    cursor: pointer
  }

  .footer-col-toggle .bi {
    display: inline-block
  }

  .footer-col-toggle:not(.collapsed) .bi {
    transform: rotate(180deg)
  }

  .site-footer .footer-col-links {
    padding-bottom: 12px
  }
}

.site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px
}

.footer-social li {
  margin: 0
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
  transition: color .15s, border-color .15s, background-color .15s
}

.site-footer .footer-social a:hover {
  color: var(--on-porsuk);
  background: var(--porsuk);
  border-color: var(--porsuk);
  text-decoration: none
}

.footer-description {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  font-size: .7rem;
  line-height: 1.6;
  color: var(--muted)
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  font-size: .87rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px
}

@media (max-width:767.98px) {
  .footer-bottom {
    justify-content: center;
    text-align: center
  }
}

@media (max-width:767.98px) {
  .hero {
    padding-top: 32px
  }

  .search-bar {
    flex-direction: column;
    padding: 8px;
    gap: 6px
  }

  .sb-q {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .search-bar .btn {
    width: 100%
  }

  .section {
    padding: 40px 0
  }

  .skyline {
    margin-top: 32px;
    height: 72px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}

/* ============================================================
   Rehber (blog) — /eskisehir/rehber
   ============================================================ */
.blog-intro {
  max-width: 70ch
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px
}

.blog-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.blog-grid.is-narrow {
  grid-template-columns: minmax(0, 1fr)
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, transform .2s
}

.blog-card:hover {
  border-color: var(--porsuk);
  transform: translateY(-2px)
}

.blog-card-media {
  display: block;
  aspect-ratio: 16/9;
  background: var(--surface-2)
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.blog-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--porsuk);
  background: linear-gradient(135deg, var(--porsuk-tint), var(--surface-2))
}

.blog-card-placeholder .ic {
  width: 2.4rem;
  height: 2.4rem;
  opacity: .7
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  flex: 1
}

.blog-card-cat {
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ochre-ink);
  background: var(--ochre-tint);
  padding: 3px 9px;
  border-radius: 6px
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0
}

.blog-card-title a {
  color: var(--ink);
  text-decoration: none
}

.blog-card-title a:hover {
  color: var(--porsuk)
}

.blog-card-excerpt {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .85rem;
  margin: auto 0 0
}

.blog-card-meta .ic {
  margin-right: 4px;
  vertical-align: -2px
}

/* Vitrin: ilk öne çıkan yazı büyük, diğerleri yanında üst üste */
.blog-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-auto-rows: auto;
  gap: 20px
}

.blog-featured .blog-card.is-large {
  grid-row: span 2
}

.blog-featured .blog-card.is-large .blog-card-title {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem)
}

.blog-featured .blog-card:not(.is-large) {
  flex-direction: row
}

.blog-featured .blog-card:not(.is-large) .blog-card-media {
  flex: 0 0 38%;
  aspect-ratio: auto
}

.blog-featured .blog-card:not(.is-large) .blog-card-excerpt {
  display: none
}

/* 1 veya 2 öne çıkan yazı varsa büyük kart iki satıra yayılmaz */
.blog-featured.count-1 {
  grid-template-columns: minmax(0, 1fr)
}

.blog-featured.count-1 .blog-card.is-large {
  flex-direction: row
}

.blog-featured.count-1 .blog-card.is-large .blog-card-media {
  flex: 0 0 55%
}

.blog-featured.count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.blog-featured.count-2 .blog-card {
  grid-row: auto;
  flex-direction: column
}

.blog-featured.count-2 .blog-card .blog-card-media {
  flex: none;
  aspect-ratio: 16/9
}

.blog-featured.count-2 .blog-card-excerpt {
  display: -webkit-box
}

/* Kenar çubuğu */
.blog-widget h2 {
  font-size: 1rem;
  margin-bottom: 10px
}

.blog-search {
  display: flex;
  gap: 8px
}

.blog-widget-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.blog-widget-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line)
}

.blog-widget-list li:last-child {
  border-bottom: 0
}

.blog-widget-list a {
  color: var(--ink);
  text-decoration: none
}

.blog-widget-list a:hover,
.blog-widget-list a[aria-current] {
  color: var(--porsuk);
  font-weight: 600
}

.blog-popular {
  padding-left: 1.2rem;
  margin: 0
}

.blog-popular li {
  padding: 5px 0
}

.blog-popular li::marker {
  color: var(--ochre);
  font-weight: 700
}

.blog-popular a {
  color: var(--ink);
  text-decoration: none
}

.blog-popular a:hover {
  color: var(--porsuk)
}

.blog-sticky {
  position: sticky;
  top: 90px
}

/* Yazı detayı */
.blog-article-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px
}

.blog-article-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 750;
  line-height: 1.15;
  margin: 0
}

.blog-article-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0;
  max-width: 65ch
}

.blog-article-cover {
  margin: 0 0 20px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2)
}

.blog-article-cover img {
  width: 100%;
  height: auto;
  display: block
}

.blog-toc {
  margin-bottom: 20px
}

.blog-toc summary {
  cursor: pointer
}

.blog-toc ol {
  margin: 10px 0 0;
  padding-left: 1.2rem
}

.blog-toc li {
  padding: 3px 0
}

.blog-toc li.is-sub {
  margin-left: 1rem;
  list-style-type: circle;
  font-size: .95rem
}

.blog-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 40px);
  font-size: 1.06rem;
  line-height: 1.75
}

.blog-content> :last-child {
  margin-bottom: 0
}

.blog-content h2,
.blog-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 1.8em 0 .6em;
  scroll-margin-top: 90px
}

.blog-content h2 {
  font-size: 1.55rem
}

.blog-content h3 {
  font-size: 1.25rem
}

.blog-content>h2:first-child,
.blog-content>h3:first-child {
  margin-top: 0
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px
}

.blog-content blockquote {
  border-left: 4px solid var(--ochre);
  background: var(--ochre-tint);
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  margin: 1.4em 0
}

.blog-content li::marker {
  color: var(--porsuk)
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  display: block;
  overflow-x: auto
}

.blog-content th,
.blog-content td {
  border: 1px solid var(--line);
  padding: 8px 10px
}

.blog-article-foot {
  margin-top: 20px
}

.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px
}

.blog-share .btn {
  min-width: 38px;
  font-weight: 700
}

.blog-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.blog-adjacent a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
  text-decoration: none;
  margin: 0
}

.blog-adjacent a:hover {
  border-color: var(--porsuk)
}

@media (max-width:991.98px) {
  .blog-grid.is-three {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .blog-featured {
    grid-template-columns: minmax(0, 1fr)
  }

  .blog-featured .blog-card.is-large {
    grid-row: auto
  }

  .blog-sticky {
    position: static
  }
}

@media (max-width:575.98px) {

  .blog-grid,
  .blog-grid.is-three,
  .blog-adjacent {
    grid-template-columns: minmax(0, 1fr)
  }

  .blog-featured .blog-card:not(.is-large) {
    flex-direction: column
  }

  .blog-featured .blog-card:not(.is-large) .blog-card-media {
    aspect-ratio: 16/9
  }

  .blog-featured.count-2 {
    grid-template-columns: minmax(0, 1fr)
  }

  .blog-featured.count-1 .blog-card.is-large {
    flex-direction: column
  }
}

/* ============================================================
   İlan verme sihirbazı 4. adım: reklam (öne çıkarma) kartları
   (bkz. listing-wizard.js renderPromotionCard)
   ============================================================ */
.promo-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #f05b3c;
  margin: 0 0 4px
}

.promo-hero-sub {
  color: var(--ink);
  margin: 0
}

.promo-hero-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem
}

.promo-hero-divider::before,
.promo-hero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line)
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px
}

.promo-card {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 18px 18px 20px;
  background: #ff390003;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s
}

.promo-card:hover {
  border-color: color-mix(in srgb, var(--porsuk) 40%, var(--line))
}

.promo-card.is-selected {
  border-color: var(--promo-selected, #1A7FE8);
  box-shadow: 0 0 0 2px var(--promo-selected, #1A7FE8)
}

/* Açık liste komşu kartın üstüne taşar; kart onların üstünde kalmalı. */
.promo-card.has-open-dropdown {
  z-index: 5
}

.promo-card-media {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  margin-top: 18px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--surface), var(--surface-2));
  box-shadow: 0 6px 10px -6px rgba(0, 0, 0, .35);
  color: var(--porsuk);
  font-size: 2rem
}

.promo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.promo-card-body {
  flex: 1;
  min-width: 0;
  padding-top: 14px
}

.promo-howto {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: .78rem;
  color: var(--porsuk);
  text-decoration: underline;
  text-underline-offset: 2px
}

.promo-card-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  margin-bottom: 6px
}

.promo-card-check .form-check-input {
  margin: 0;
  flex: none;
  width: 1.15em;
  height: 1.15em
}

.promo-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer
}

.promo-card-desc {
  font-size: .86rem;
  color: var(--muted);
  margin: 0 0 14px
}

/* --- Fiyat: sabit ("1 Hafta : 85 TL") --- */
.promo-price-fixed {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
  padding: 9px 0;
  font-size: .9rem
}

.promo-price-label {
  font-weight: 600
}

.promo-price-fixed .promo-offer-prices,
.promo-price-fixed .promo-offer-price {
  margin-left: auto
}

/* --- Fiyat tutarı: kırmızı, kuruş üst simge (663,¹⁰ TL) --- */
.promo-offer-price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--promo-price, #f05b3c);
  white-space: nowrap;
  letter-spacing: -.01em
}

.promo-offer-price sup {
  font-size: .62em;
  top: -.6em;
  margin-left: 1px
}

/* --- Fiyat: çoklu (özel açılır liste) --- */
.promo-offer-dropdown {
  position: relative;
  max-width: 340px
}

.promo-offer-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--muted) 45%, var(--line));
  border-radius: 3px;
  color: var(--ink);
  text-align: left;
  font-size: .9rem
}

.promo-offer-toggle:focus-visible,
.promo-offer-dropdown.is-open .promo-offer-toggle {
  outline: none;
  border-color: var(--porsuk);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--porsuk) 20%, transparent)
}

.promo-offer-current {
  flex: 1;
  min-width: 0
}

.promo-offer-caret {
  color: var(--muted);
  font-size: .75rem
}

.promo-offer-dropdown.is-open .promo-offer-caret {
  transform: rotate(180deg)
}

/* Satır düzeni (hem kapalı kutu hem liste): süre | indirim | fiyatlar */
.promo-offer-current,
.promo-offer-option {
  display: grid;
  grid-template-columns: minmax(64px, auto) 1fr auto;
  align-items: center;
  column-gap: 12px
}

.promo-offer-label {
  font-weight: 700
}

.promo-offer-discount {
  color: var(--muted);
  font-size: .88rem;
  white-space: nowrap
}

.promo-offer-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15
}

.promo-offer-list {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap
}

.promo-offer-list.is-placeholder {
  visibility: hidden
}

/* Çizili fiyatı olmayan seçenekte fiyat, ayrılan boş satırın yarısı kadar aşağı
   kayarak dikeyde ortalanır (yükseklik değişmez). */
.promo-offer-prices:has(.is-placeholder) .promo-offer-price {
  transform: translateY(calc(.8rem * 1.15 / 2))
}

.promo-offer-list-box {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 28px -8px rgba(21, 34, 42, .35);
  max-height: 320px;
  overflow-y: auto
}

.promo-offer-list-box:focus {
  outline: none
}

.promo-offer-option {
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer
}

.promo-offer-option:last-child {
  border-bottom: 0
}

.promo-offer-option.is-active {
  background: var(--surface-2)
}

.promo-offer-option[aria-selected="true"] {
  box-shadow: inset 3px 0 0 var(--promo-selected, #1A7FE8)
}

.promo-info-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .promo-hero-title {
    color: #F4978E
  }

  :root:not([data-theme="light"]) {
    --promo-price: #F4978E;
    --promo-selected: #5AA9F5
  }
}

:root[data-theme="dark"] .promo-hero-title {
  color: #F4978E
}

:root[data-theme="dark"] {
  --promo-price: #F4978E;
  --promo-selected: #5AA9F5
}

/* Dar ekranda (mobil) 3 sütun sığmıyor: indirim sürenin altına iner, fiyat sağda tam görünür. */
@media (max-width:575.98px) {
  .promo-card {
    gap: 12px;
    padding: 16px 12px 18px
  }

  .promo-card-media {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    margin-top: 26px;
    font-size: 1.3rem
  }

  .promo-offer-current,
  .promo-offer-option {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px
  }

  .promo-offer-discount {
    grid-column: 1;
    grid-row: 2;
    font-size: .8rem
  }

  .promo-offer-prices {
    grid-column: 2;
    grid-row: 1 / span 2
  }

  .promo-offer-option {
    padding: 10px 12px
  }
}

@media (max-width:767.98px) {
  .promo-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .promo-card-media {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    font-size: 1.5rem
  }
}

/* İlan sihirbazı 2. adım: "İlan verme kurallarını okudum, kabul ediyorum" onayı
   (bkz. listings/create.php #rulesAcceptance) */
.wizard-rules-accept {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .9rem
}

.wizard-rules-accept .form-check-input {
  margin: 0;
  flex: none;
  width: 1.1em;
  height: 1.1em
}

.wizard-rules-accept .form-check-label {
  cursor: pointer
}

.wizard-rules-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--porsuk);
  font: inherit;
  margin-right: 4px
}

.wizard-rules-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px
}

@media (max-width:575.98px) {
  .wizard-rules-accept {
    width: 100%
  }

  /* Kurallar kutusu Geri/İleri butonlarının üstüne alınır. */
  .wizard-actions .wizard-rules-accept {
    order: -1
  }
}

/* ============ Ödeme sayfası (/odeme/{transactionId}) ============ */
.checkout-card {
  background: var(--surface);
  border-color: var(--line);
}

.checkout-items thead th {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
}

.checkout-address {
  background: var(--surface);
}

.checkout-address-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--porsuk-tint);
  color: var(--porsuk);
  font-size: 1.15rem;
}

.checkout-address-option label {
  cursor: pointer;
}

.checkout-address-option-title {
  min-width: 140px;
}

.checkout-legal {
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--surface);
  padding: .75rem 1rem;
}

.checkout-legal-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--muted);
  margin-bottom: .5rem;
}

.checkout-legal-body {
  max-height: 150px;
  overflow-y: auto;
  font-size: .8rem;
  color: var(--muted);
  padding-right: .5rem;
}

.checkout-legal-body p:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .checkout-summary {
    position: sticky;
    top: 1rem;
  }
}

.checkout-item-duration {
  min-width: 110px;
  max-width: 150px;
}

.checkout-items .checkout-item-action {
  width: 44px;
}

/* İlan verme sihirbazı 2. adım: çoklu seçim filtrelerinin seçenek kartı */
.wizard-multiselect-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: .75rem 1rem .25rem;
}

.wizard-multiselect-card .form-check-inline {
  margin-bottom: .5rem;
}

/* İletişim Tercihleri: her kanal (Telefon / Mail / WhatsApp) kendi kartında; masaüstünde
   eşit genişlikte yan yana, mobilde alt alta (yerleşim: app.css #contactPreferences). */
#contactPreferences {
  gap: .75rem;
}

#contactPreferences>.contact-channel {
  flex: 1 1 0;
  padding-bottom: .75rem;
}

/* Kanal başlığının (Telefon / Mail / WhatsApp ile Başvuru Al) altında ayırıcı çizgi. */
#contactPreferences>.contact-channel>.form-check:first-child {
  border-bottom: 1px solid #f4f6f5;
  padding-bottom: .5rem;
}

/* ============ Panelim: sol menü + sipariş geçmişi ============ */
.panel-nav-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .5rem;
  margin-bottom: .75rem;
  overflow: hidden;
}

.panel-nav-title {
  font-weight: 700;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.panel-nav-group ul {
  padding: .4rem;
}

.panel-nav-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  border-radius: .4rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
}

.panel-nav-group>.panel-nav-link {
  margin: .4rem;
}

.panel-nav-link:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.panel-nav-link.active {
  background: var(--porsuk-tint);
  color: var(--porsuk);
  font-weight: 600;
}

.panel-nav-link .bi {
  color: var(--porsuk);
  font-size: 1rem;
}

.panel-nav-link.text-danger .bi {
  color: inherit;
}

.panel-nav-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
}

.panel-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.panel-empty>.bi {
  font-size: 2.25rem;
}

.panel-empty p {
  margin: .5rem 0 0;
}

.order-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.order-card-head {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding: .8rem 1.25rem;
  font-size: .9rem;
}

.order-card-head-simple {
  display: flex;
  justify-content: space-between;
}

.order-card-label {
  font-weight: 600;
  font-size: .85rem;
}

.order-card-total {
  color: #e8590c;
  font-weight: 600;
}

.order-card-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
}

.order-card-status {
  min-width: 180px;
  flex: 0 1 240px;
}

.order-card-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  flex: 1 1 260px;
}

.order-card-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: .35rem;
  border: 1px solid var(--line);
}

.order-card-chip {
  background: var(--porsuk-tint);
  color: var(--porsuk);
  border-radius: 999px;
  padding: .2rem .65rem;
  font-size: .8rem;
}

@media (max-width: 767.98px) {
  .order-card-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-card-detail-btn {
    grid-column: 1 / -1;
  }
}

.order-item {
  display: flex;
  gap: .75rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: .85rem;
  height: 100%;
}

.order-item-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: .4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--porsuk-tint);
  color: var(--porsuk);
  font-size: 1.2rem;
}

.order-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .5rem;
}

.order-box-title {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  padding: .85rem 1.25rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.order-box-body {
  padding: 1rem 1.25rem;
}

.order-terms-toggle {
  cursor: pointer;
  border-bottom: 0;
  border-radius: .5rem;
}

details[open]>.order-terms-toggle {
  border-bottom: 1px solid var(--line);
  border-radius: .5rem .5rem 0 0;
}

/* ============ İlan detayı: görselli iş tanımı kartı, rozet bağlantıları, iş adresi ============ */
.panel-with-cover {
  overflow: hidden;
}

/* Görsel kartın kenarlarına kadar uzanır (panel dolgusu negatif marjla dengelenir). */
.detail-cover {
  position: relative;
  margin: calc(-1 * clamp(18px, 3vw, 28px)) calc(-1 * clamp(18px, 3vw, 28px)) clamp(18px, 3vw, 28px);
  aspect-ratio: 2 / 1;
  background: var(--surface-2);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-soft .badge-link {
  color: inherit;
  text-decoration: none;
}

.badge-soft .badge-link:hover {
  color: var(--porsuk);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company-name-link:hover {
  color: var(--porsuk) !important;
  text-decoration: underline !important;
}

.detail-address {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.detail-address h2 {
  margin: 0;
  flex: 0 0 auto;
}

.detail-address-text {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  flex: 1 1 260px;
}

.detail-address-text .ic {
  flex: 0 0 auto;
}

.detail-address-link {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--porsuk);
  text-decoration: none;
}

.detail-address-link:hover {
  text-decoration: underline;
}

.badge-soft .badge-links {
  display: inline;
}

/* İlan detayı mobil (<992px): logo gizli, başlık/firma/rozetler ortalı; İş Adresi alt alta. */
@media (max-width: 991.98px) {
  .detail-head {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    width: 100%;
  }

  .detail-head .job-logo {
    display: none;
  }

  .detail-badges {
    justify-content: center;
  }

  .detail-address {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }

  .detail-address h2 {
    margin-bottom: .25rem;
  }

  .detail-address-text {
    flex: 0 0 auto;
    font-size: .9rem;
    align-items: flex-start;
  }

  .detail-address-text .ic {
    margin-top: 3px;
  }

  .detail-address-link {
    align-self: flex-end;
    margin-left: 0;
    font-size: .9rem;
  }
}

/* ============ Reklam alanları (partials/ad-slot, Genel Ayarlar > Reklam Alanları) ============ */
.ad-slot {
  position: relative;
  margin-top: 16px;
  text-align: center;
}

.ad-slot-label {
  display: block;
  margin-bottom: 4px;
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.ad-slot img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.ad-slot-code {
  min-height: 50px;
  overflow: hidden;
}

.ad-slot-wide {
  margin-top: 32px;
}

/* Ana sayfa: Yeni / Acil İş İlanları altı, tam genişlik (home/index.php). */
.home-ad {
  margin-bottom: 56px;
}

.ad-slot-home {
  margin-top: 0;
}

/* ============ İlan liste sayfası mobil ============ */
/* Kart alt satırı (etiketler + tarih) liste sayfasında mobilde yan yana. */
@media (max-width: 575.98px) {
  #listingResults .job-side>.d-flex {
    flex-direction: row !important;
  }
}

/* "Filtreler" butonu mobilde ekranın altında ortalı ve sabit. */
@media (max-width: 991.98px) {
  .filter-fab {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 1030;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: 0 6px 20px rgba(21, 34, 42, .18);
    font-weight: 600;
  }
}

/* Altbilgi görününce gizlenir (bkz. app.js initHideOnFooter): alt menü, Filtreler butonu ve ilan detayı alt çubuğu. */
.filter-fab,
.mobile-contact {
  transition: opacity .2s ease, visibility .2s ease;
}

.filter-fab.is-hidden,
.mobile-contact.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Alt menü gizlenirken aşağı kayar. */
.mobile-tabbar {
  transition: transform .25s ease, visibility .25s ease;
}

.mobile-tabbar.is-hidden {
  transform: translateY(100%);
  visibility: hidden;
}

/* Panel "Öne Çıkar": süresi devam eden tanıtım kartı pasif (listing-wizard.js applyRunningPromotions). */
.promo-card.is-disabled {
  opacity: .6;
  cursor: not-allowed;
}

.promo-card.is-disabled .promo-offer-toggle {
  cursor: not-allowed;
}

.promo-card-running {
  margin: .5rem 0 0;
  font-size: .85rem;
  font-weight: 600;
  color: #198754;
}

/* ============ Panel > Tüm İlanlarım (order-card düzeni) ============ */
.my-listing-main {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex: 1 1 320px;
  min-width: 0;
}

.my-listing-info {
  min-width: 0;
}

.my-listing-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--porsuk-tint);
  color: var(--porsuk);
  font-size: 1.25rem;
}

.my-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
  margin-left: auto;
}

@media (max-width: 767.98px) {
  .my-listing-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

/* Tüm İlanlarım şeridi 5 sütun: İlan No, İlan Tarihi, Bitiş Tarihi, Durum, Görüntülenme. */
.my-listing .order-card-head {
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
}

@media (max-width: 767.98px) {
  .my-listing .order-card-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tüm İlanlarım mobil: şerit esnek satır, görsel gizli, butonlar ortalı. */
@media (max-width: 767.98px) {
  .my-listing .order-card-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .my-listing-main .order-card-thumb {
    display: none;
  }

  .my-listing-actions {
    justify-content: center;
  }
}

/* Sipariş Geçmişi şeridi 3 bilgi + Detaylar: Sipariş Tarihi, Alıcı, Toplam. */
.order-card-head-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

@media (max-width: 767.98px) {
  .order-card-head-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Sipariş Geçmişi mobil: Alıcı gizli, Toplam sağa yaslı (Sipariş Tarihi | Toplam). */
@media (max-width: 767.98px) {
  .order-head-buyer {
    display: none;
  }

  .order-head-total {
    text-align: right;
  }
}

/* Sipariş detayı mobil: açılır/kapanır "Sipariş Özeti" (panel/order.php). */
.order-summary-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .85rem 1rem;
  background: none;
  border: 0;
  text-align: left;
  color: inherit;
}

.order-summary-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  transition: transform .2s ease;
}

.order-summary-toggle:not(.collapsed) .order-summary-chevron {
  transform: rotate(180deg);
}

.order-summary-list {
  margin: 0;
  padding: .25rem 1rem 1rem;
  border-top: 1px solid var(--line);
}

.order-summary-list>div {
  display: flex;
  gap: .4rem;
  padding-top: .6rem;
}

.order-summary-list dt {
  font-weight: 600;
  margin: 0;
}

.order-summary-list dd {
  margin: 0;
}

/* Panel > Kullanıcı Bilgilerim: e-posta onay uyarısı (partials/email-verify-banner). */
.email-verify-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: .5rem;
  background: #ecf9f1;
  color: var(--ink);
}

.email-verify-icon {
  color: #18864b;
  font-size: 1.5rem;
  line-height: 1;
}

.email-verify-btn {
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  padding: .35rem 1rem;
}

.email-verify-btn:hover {
  background: var(--surface-2);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .email-verify-banner {
    background: #15301f;
  }

  :root:not([data-theme="light"]) .email-verify-btn {
    background: var(--surface);
    color: var(--ink);
  }
}

/* Kurumsal profil > Firma Logosu: solda önizleme, sağda sürükle-bırak alanı. */
.logo-upload {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.logo-upload-preview {
  flex: 0 0 auto;
  width: 152px;
  height: 152px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
}

.logo-dropzone {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px dashed #adb5bd;
  border-radius: .5rem;
  background: var(--surface);
  transition: background-color .15s ease, border-color .15s ease;
}

.logo-dropzone:hover,
.logo-dropzone:focus-visible,
.logo-dropzone.is-dragover {
  background: var(--surface-2);
  border-color: var(--porsuk);
  outline: none;
}

@media (max-width: 575.98px) {
  .logo-upload {
    flex-direction: column;
    align-items: center;
  }

  .logo-dropzone {
    width: 100%;
  }
}

/* ============ Panel > Fatura Bilgileriniz: adres kartları ============ */
.billing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .5rem;
  overflow: hidden;
}

.billing-card.is-default {
  border-color: var(--porsuk);
}

.billing-card-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.billing-card-title {
  font-weight: 700;
  min-width: 0;
}

.billing-card-badge {
  flex: 0 0 auto;
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: .35rem;
  background: #0d6efd;
  color: #ffffff;
  font-weight: 600;
}

.billing-card-edit {
  margin-left: auto;
  flex: 0 0 auto;
  border: 0;
  background: none;
  padding: 0;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.billing-card-edit .bi {
  color: var(--muted);
}

.billing-card-edit:hover {
  color: var(--porsuk);
}

.billing-card-body {
  padding: .9rem 1rem 0;
  flex: 1 1 auto;
}

.billing-card-body p {
  margin: 0 0 .35rem;
  font-size: .92rem;
}

.billing-card-foot {
  display: flex;
  align-items: center;
  padding: .25rem 1rem .9rem;
}

.billing-card-delete {
  margin-left: auto;
  border: 0;
  background: none;
  padding: .25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.billing-card-delete:hover {
  color: #dc3545;
}

/* ============ Panel > Bildirimler: ilan red sebebi ============ */
.notification-reason {
  margin: .5rem 0;
  padding: .6rem .8rem;
  border-left: 3px solid #dc3545;
  border-radius: .35rem;
  background: rgba(220, 53, 69, .06);
  font-size: .9rem;
  color: var(--ink);
}

.notification-reason-label {
  display: block;
  margin-bottom: .15rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b02a37;
}

/* ============ Panel > Sipariş Detayı: "Fatura Görüntüle" (yüklü e-arşiv faturası) ============ */
.btn-invoice {
  --bs-btn-color: #f05b3c;
  --bs-btn-border-color: #f5a08c;
  --bs-btn-bg: #FFFFFF;
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: #f05b3c;
  --bs-btn-hover-border-color: #f05b3c;
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: #d94a2c;
  --bs-btn-active-border-color: #d94a2c;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  border-radius: .45rem;
  white-space: nowrap;
}

/* ============ Fatura adresi formu: Bireysel / Kurumsal fatura türü (bireysel üyeler) ============ */
.billing-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F3F3F3;
  border: 1px solid #DDDDDD;
  border-radius: .55rem;
}

.billing-type-toggle label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  margin: -1px;
  border: 1px solid transparent;
  border-radius: .55rem;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.billing-type-toggle .btn-check:checked+label {
  background: var(--surface);
  border-color: #f08a3c;
  color: #f08a3c;
  font-weight: 700;
}

.billing-type-toggle .btn-check:focus-visible+label {
  outline: 2px solid #f08a3c;
  outline-offset: 2px;
}

/* Kurumsal alanlar yalnızca "Kurumsal" seçiliyken görünür. */
.billing-type-form .billing-corporate-fields {
  display: none;
}

.billing-type-form:has(input[name="type"][value="business"]:checked) .billing-corporate-fields {
  display: block;
}

/* ============ "İlan yayında değil" sayfası (silinmiş / süresi dolmuş / yayında olmayan ilan) ============ */
.listing-unavailable-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  font-size: 2rem;
  background: var(--surface-2);
  color: var(--muted);
}

.listing-unavailable-icon.listing-unavailable-expired {
  background: var(--ochre-tint);
  color: var(--ochre-ink);
}

.listing-unavailable-icon.listing-unavailable-deleted {
  background: #FDECEA;
  color: #c0392b;
}

.listing-unavailable-summary {
  max-width: 460px;
  margin: 0 auto;
  padding: .85rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

/* Sahip/yönetici önizlemesi: yayında olmayan ilanın detay sayfasının en üstündeki büyük uyarı */
.listing-preview-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  margin: .25rem 0 1.25rem;
  border: 1px solid #F3D9A4;
  border-left: 6px solid var(--ochre);
  border-radius: 12px;
  background: var(--ochre-tint);
  color: var(--ochre-ink);
}

.listing-preview-icon {
  flex: 0 0 auto;
  font-size: 2rem;
  line-height: 1;
}

.listing-preview-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.listing-preview-text {
  margin-top: .2rem;
  font-size: .92rem;
}

.listing-preview-rejected {
  border-color: #F1C4BE;
  border-left-color: #c0392b;
  background: #FDECEA;
  color: #8a2a1f;
}

@media (max-width: 575.98px) {
  .listing-preview-notice {
    align-items: flex-start;
    padding: .9rem 1rem;
  }

  .listing-preview-icon {
    font-size: 1.5rem;
  }
}

/* ============ 404 sayfası ============ */
.not-found-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: #f05b3c;
  margin-bottom: .75rem;
}

.not-found-search {
  max-width: 460px;
  margin-inline: auto;
}

/* ============ Header: bildirim zili (arkaplansız, hover'da yuvarlak zemin) ============ */
.nav-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .15s;
}

.nav-bell .ic {
  width: 1.35rem;
  height: 1.35rem;
}

.nav-bell:hover,
.nav-bell:focus-visible {
  background: #EFEBE3;
  color: var(--ink);
}

.nav-bell:focus-visible {
  outline: 2px solid var(--porsuk);
  outline-offset: 2px;
}

/* Okunmamış bildirim sayısı: zilin sağ üstünde küçük kırmızı rozet */
.nav-bell-count {
  position: absolute;
  top: .2rem;
  right: .1rem;
  min-width: .95rem;
  height: .95rem;
  padding: 0 .22rem;
  border-radius: 999px;
  background: #e5484d;
  box-shadow: 0 0 0 2px var(--paper);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  line-height: .95rem;
  text-align: center;
}

/* ============ Mobil alt menü (<992px): header menüsü yerine sabit alt menü ============ */
:root {
  --tabbar-h: 64px;
}

.mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 6px env(safe-area-inset-bottom, 0px);
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 24px -16px rgba(21, 34, 42, .35);
}

.mobile-tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  height: var(--tabbar-h);
  padding-bottom: 11px;
  color: var(--muted);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-tabbar-item:hover {
  color: var(--ink);
}

.mobile-tabbar-item.is-active {
  color: var(--porsuk);
}

.mobile-tabbar-icon {
  position: relative;
  display: inline-flex;
}

.mobile-tabbar-icon .ic {
  width: 24px;
  height: 24px;
}

.mobile-tabbar-item.is-active .mobile-tabbar-icon .ic {
  stroke-width: 2.2;
}

.mobile-tabbar-label {
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.mobile-tabbar .mobile-tabbar-count {
  top: -6px;
  right: -9px;
  box-shadow: 0 0 0 2px var(--surface);
}

/* Ortadaki "İlan Ver": menünün üstüne taşan turuncu yuvarlak buton */
.mobile-tabbar-post {
  color: var(--ink);
}

.mobile-tabbar-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-top: -34px;
  border-radius: 50%;
  background: #f05b3c;
  color: #fff;
  border: 5px solid var(--surface);
  box-shadow: 0 8px 18px -6px rgba(240, 91, 60, .65);
  transition: transform .15s ease, background-color .15s ease;
}

.mobile-tabbar-fab .ic {
  width: 26px;
  height: 26px;
  stroke-width: 2.4;
}

.mobile-tabbar-post:active .mobile-tabbar-fab {
  transform: scale(.94);
}

.mobile-tabbar-post.is-active .mobile-tabbar-fab {
  background: #d94a2c;
}

@media (max-width: 991.98px) {

  /* Header'da yalnızca logo + bildirim zili kalır; menü alttaki "Menü" ile soldan açılır. */
  .site-header .navbar-toggler,
  .site-header .navbar-collapse {
    display: none !important;
  }

  /* Sayfa sonu (footer) alt menünün arkasında kalmasın. Alt menü ilan listesi ve ilan sayfasında yok
     (oralarda kendi sabit öğeleri var: "Filtreler" butonu, iletişim çubuğu). */
  body.has-tabbar {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  }

  /* Footer görününce alt menü gizlenir (app.js initHideOnFooter); ayrılan boşluk da kalkar. */
  body.has-tabbar.tabbar-hidden {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* Mobil: alttaki "Menü" ile soldan açılan site menüsü */
.mobile-site-menu {
  --bs-offcanvas-width: min(84vw, 320px);
  --bs-offcanvas-bg: var(--paper);
  border-radius: 0 18px 18px 0;
}

.mobile-site-menu .offcanvas-header {
  border-bottom: 1px solid var(--line);
}

.mobile-site-menu-list,
.mobile-site-menu-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-site-menu-list>li>a,
.mobile-site-menu-account a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem .85rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.mobile-site-menu-sub a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem .5rem 1.6rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: .92rem;
  text-decoration: none;
}

.mobile-site-menu a:hover,
.mobile-site-menu a.is-active {
  background: var(--surface-2);
  color: var(--porsuk);
}

.mobile-site-menu-account {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

.mobile-site-menu-account .ic {
  width: 1.15rem;
  height: 1.15rem;
}

/* Alt menüdeki "Menü" bir <button>: bağlantı görünümüyle aynı */
button.mobile-tabbar-item {
  border: 0;
  background: none;
  font: inherit;
}

/* Mobil header'daki bildirim zili: varsayılan olarak da yuvarlak açık zemin (hover rengiyle aynı) */
@media (max-width: 991.98px) {
  .site-header .nav-bell {
    background: #EFEBE3;
  }

  .site-header .nav-bell:hover,
  .site-header .nav-bell:focus-visible {
    background: #E6E0D5;
  }
}

/* ---- firma dizini (/eskisehir/firmalar) ---- */
.company-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px
}

.company-filter-search {
  position: relative;
  flex: 1 1 260px
}

.company-filter-search .ic {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none
}

.company-filter-search .form-control {
  padding-left: 38px
}

.company-filter-district {
  flex: 0 1 220px
}

@media (max-width: 575.98px) {

  .company-filter-district,
  .company-filter .btn {
    flex: 1 1 100%
  }
}

.company-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  transition: border-color .2s, transform .2s, box-shadow .2s
}

.company-card:hover,
.company-card:focus-within {
  border-color: var(--porsuk);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 34, 42, .07)
}

.company-card-head {
  display: flex;
  align-items: center;
  gap: 14px
}

.company-card-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: .02em;
  color: #fff;
  background: var(--c)
}

.company-card-logo.has-image {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px
}

.company-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.company-card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere
}

.company-card-title a {
  color: var(--ink);
  text-decoration: none
}

.company-card:hover .company-card-title a {
  color: var(--porsuk)
}

.company-card-sector {
  color: var(--muted);
  font-size: .9rem;
  margin: 2px 0 0
}

.company-card-desc {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.company-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted)
}

.company-card-loc,
.company-card-count {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.company-card-count {
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  font-weight: 500;
  white-space: nowrap
}

.company-card-count.is-active {
  background: var(--porsuk-tint);
  color: var(--porsuk)
}

/* ---- firma detay (/eskisehir/firmalar/{slug}) ---- */
.company-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 24px
}

.company-hero-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px)
}

.company-hero-logo {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.6rem;
  color: #fff;
  background: var(--c)
}

.company-hero-logo.has-image {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px
}

.company-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.company-hero-info {
  flex: 1 1 280px;
  min-width: 0
}

.company-hero-title {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
  overflow-wrap: anywhere
}

.company-hero-meta,
.company-job-meta,
.company-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  color: var(--muted);
  font-size: .92rem
}

.company-hero-meta li,
.company-job-meta li,
.company-contact li {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.company-hero-meta a,
.company-hero-meta a[href^=tel] {
  color: inherit;
  text-decoration: none
}

.company-hero-contact {
  margin-top: 4px
}

.company-hero-meta a:hover {
  color: var(--porsuk)
}

.company-hero-follow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto
}

.company-followers {
  color: var(--muted);
  white-space: nowrap
}

.company-followers strong {
  color: var(--ink);
  font-weight: 700
}

.company-follow-btn {
  min-width: 132px
}

.company-tabs {
  display: flex;
  gap: 8px;
  padding: 14px clamp(18px, 3vw, 26px);
  border-top: 1px solid var(--line);
  overflow-x: auto
}

.company-tab {
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap
}

.company-tab:hover {
  background: var(--surface-2);
  color: var(--ink)
}

.company-tab.active {
  border-color: var(--porsuk);
  color: var(--porsuk);
  background: var(--porsuk-tint)
}

.company-tab-count {
  font-size: .8rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted)
}

.company-tab.active .company-tab-count {
  background: var(--surface);
  color: var(--porsuk)
}

.company-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px
}

.company-section-head .company-section-title {
  margin: 0
}

.company-page .panel h2.company-section-title,
.company-section-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px
}

.company-subtitle {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  margin: 22px 0 10px
}

.company-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.company-alert-art {
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--porsuk-tint), var(--surface-2));
  font-size: 2.8rem;
  color: var(--porsuk);
  transform: rotate(-12deg)
}

@media (max-width: 575.98px) {
  .company-alert-art {
    display: none
  }

  /* Mobilde firma adı logonun sağında; sektör/konum/adres satırları ve takip alanı altta tam genişlikte. */
  .company-hero-main {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px 24px
  }

  .company-hero-info {
    display: contents
  }

  .company-hero-logo {
    width: 80px;
    height: 80px;
    font-size: 1.2rem
  }

  .company-hero-logo.has-image {
    padding: 6px
  }

  .company-hero-title {
    align-self: center;
    margin: 0
  }

  .company-hero-meta,
  .company-hero-follow {
    grid-column: 1 / -1
  }

  .company-hero-meta {
    flex-direction: column;
    gap: 6px
  }

  .company-hero-meta li {
    align-items: flex-start
  }

  .company-hero-meta .ic {
    flex-shrink: 0;
    margin-top: .2em
  }

  .company-hero-contact {
    margin-top: -6px
  }

  .company-hero-follow {
    margin-left: 0;
    width: 100%;
    justify-content: space-between
  }

  .company-tabs {
    justify-content: space-between;
    gap: 4px;
    padding-left: 12px;
    padding-right: 12px
  }

  .company-tab {
    padding: 8px 10px;
    font-size: .9rem
  }
}

.company-jobs {
  display: grid;
  gap: 12px
}

.company-job {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s
}

.company-job:hover,
.company-job:focus-within {
  border-color: var(--porsuk);
  box-shadow: 0 8px 20px rgba(21, 34, 42, .06)
}

.company-job-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0 0 6px
}

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

.company-job-meta {
  font-size: .87rem
}

.company-job-excerpt {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.company-about-text {
  line-height: 1.7;
  max-height: 10.2em;
  overflow: hidden
}

.company-about-text.is-expanded {
  max-height: none
}

.company-read-more {
  border: 0;
  background: none;
  padding: 0;
  margin-top: 8px;
  color: var(--porsuk);
  font-weight: 600;
  font-size: .92rem
}

.company-read-more:hover {
  text-decoration: underline
}

.company-contact {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 8px
}

.company-socials {
  gap: 8px !important
}

.company-socials a {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink)
}

.company-socials a:hover {
  border-color: var(--porsuk);
  color: var(--porsuk)
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px
}

.company-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2)
}

.company-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2
}

.company-stat-label {
  color: var(--muted);
  font-size: .85rem
}

.company-bars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px
}

.company-bars li {
  display: grid;
  grid-template-columns: minmax(90px, 180px) 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: .9rem
}

.company-bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.company-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden
}

.company-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--porsuk)
}

.company-bar-value {
  font-weight: 600;
  min-width: 2ch;
  text-align: right
}

.company-guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px
}

.company-guide-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s
}

.company-guide-item:hover {
  border-color: var(--porsuk);
  color: var(--ink)
}

.company-guide-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--muted)
}

.company-guide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.company-guide-title {
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

/* Rehber yazısı yoksa reklam sütunun en üstünde boşluksuz başlar. */
.company-aside>.ad-slot:first-child {
  margin-top: 0
}

.panel-company-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden
}

.panel-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px
}

.min-w-0 {
  min-width: 0
}

/* ---- ilan ver 1. adım: kelime ile pozisyon arama (listing-wizard.js initCategorySearch) ---- */
.category-search-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem
}

.category-search-divider::before,
.category-search-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line)
}

.category-search-input {
  max-width: 100%
}

.category-search-results:not(:empty) {
  margin-top: 12px
}

.category-search-root {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px
}

.category-search-sector {
  padding-left: 20px;
  margin-top: 8px
}

.category-search-positions {
  list-style: none;
  margin: 2px 0 0;
  padding-left: 40px
}

.category-search-option {
  border: 0;
  background: none;
  padding: 3px 0;
  color: var(--porsuk);
  font-weight: 600;
  text-align: left
}

.category-search-option:hover,
.category-search-option:focus-visible {
  text-decoration: underline
}

/* ============ Sıkça Sorulan Sorular (/sikca-sorulan-sorular, pages/faq.php) ============ */
.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.faq-nav-link {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .9rem;
  text-decoration: none
}

.faq-nav-link:hover {
  border-color: var(--porsuk);
  color: var(--porsuk)
}

.faq-section {
  margin-bottom: 32px;
  scroll-margin-top: 90px
}

.faq-section-title {
  font-size: 1.25rem;
  margin-bottom: 12px
}

.faq-accordion {
  --bs-accordion-bg: var(--surface);
  --bs-accordion-border-color: var(--line);
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-active-color: var(--porsuk);
  --bs-accordion-active-bg: var(--porsuk-tint);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem var(--porsuk-tint)
}

.faq-accordion .accordion-header {
  margin: 0
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 1rem
}

.faq-answer> :last-child {
  margin-bottom: 0
}

.faq-answer img {
  max-width: 100%;
  height: auto
}
/* ============ Ana sayfa "Öne çıkan ilanlar" vitrini (home/index.php, homepage tanıtımı) ============ */
.showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(21, 34, 42, .08);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease
}

.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -12px rgba(21, 34, 42, .35);
  color: var(--ink)
}

.showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--c, var(--porsuk));
  overflow: hidden
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.showcase-media-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 16px;
  color: #fff;
  text-align: center
}

.showcase-media-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2
}

.showcase-media-text span {
  font-size: .85rem;
  opacity: .85
}

.showcase-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 12px
}

.showcase-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px
}

.showcase-logo img {
  max-width: 140px;
  max-height: 52px;
  object-fit: contain
}

.showcase-name {
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.showcase-text {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  text-align: center
}

@media (max-width:575.98px) {
  .showcase-body {
    gap: 8px;
    padding: 14px 8px
  }

  .showcase-logo {
    height: 40px
  }

  .showcase-logo img {
    max-width: 100px;
    max-height: 40px
  }

  .showcase-text {
    font-size: .8rem
  }
}

/* ============ Ana sayfa hızlı erişim kutuları (home/index.php, HomeController::quickLinks) ============ */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 92px;
  padding: 14px 8px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(21, 34, 42, .06);
  color: var(--ink);
  font: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease
}

.quick-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -12px rgba(21, 34, 42, .35);
  color: var(--porsuk)
}

.quick-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--porsuk-tint);
  color: var(--porsuk);
  font-size: 1.15rem
}

.quick-link-label {
  font-size: .85rem;
  line-height: 1.25
}

.quick-link.is-loading .quick-link-icon {
  animation: quick-link-pulse 1s ease-in-out infinite
}

@keyframes quick-link-pulse {
  50% {
    opacity: .4
  }
}

/* Mobil: kutular yatay kaydırılır. */
@media (max-width:767.98px) {
  .quick-links {
    display: flex;
    gap: 10px;
    /* Konteyner kenar boşluğu kadar taşar: kutular ekran kenarına kadar kayar. */
    margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5);
    padding: 2px calc(var(--bs-gutter-x, 1.5rem) * .5) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* Kutular hizalanırken kenar payı korunsun (aksi halde ilk kutu ekranın soluna yapışır). */
    scroll-padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5);
    scrollbar-width: none
  }

  .quick-links::-webkit-scrollbar {
    display: none
  }

  .quick-link {
    flex: 0 0 104px;
    min-height: 88px;
    scroll-snap-align: start
  }
}

.nearby-districts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

/* İlan listesi: ana sayfa hızlı erişim kutusundan gelinen aktif filtre (categories/show.php). */
.chip.chip-active {
  background: var(--porsuk-tint);
  border-color: var(--porsuk);
  color: var(--porsuk)
}

/* ============ Ana sayfa "İş Rehberi" (home/index.php): rehbere son eklenen yazılar ============ */
/* Kart: "Yeni / Acil İş İlanları" listesiyle aynı beyaz zemin, köşe ve gölge. */
.guide-card {
  display: flex;
  position: relative;
  gap: 24px;
  align-items: flex-start;
  height: 100%;
  padding: 16px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(21, 34, 42, .06)
}

.guide-card:hover {
  box-shadow: 0 8px 20px -12px rgba(21, 34, 42, .35)
}

.guide-card-media {
  position: relative;
  flex: 0 0 160px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface-2)
}

.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease
}

.guide-card:hover .guide-card-media img {
  transform: scale(1.04)
}

.guide-card-body {
  min-width: 0
}

.guide-card-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px
}

.guide-card-title a {
  color: var(--ink);
  text-decoration: none
}

/* Kartın tamamı tıklanabilir: başlık bağlantısı kartı kaplar (.guide-card position: relative). */
.guide-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit
}

.guide-card:hover .guide-card-title a {
  color: var(--porsuk)
}

.guide-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

@media (max-width:575.98px) {
  .guide-card {
    gap: 14px
  }

  .guide-card-media {
    flex-basis: 104px
  }

  .guide-card-title {
    font-size: .95rem;
    margin-bottom: 6px
  }

  .guide-card-excerpt {
    font-size: .87rem;
    line-height: 1.55;
    -webkit-line-clamp: 3
  }
}

/* ============ Ana sayfa "Yeni / Acil İş İlanları" kısa listesi (partials/compact-job-list.php) ============ */
.compact-jobs {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(21, 34, 42, .06)
}

.compact-job {
  position: relative;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  transition: background-color .15s ease
}

.compact-job:last-child {
  border-bottom: 0
}

.compact-job:hover {
  background: var(--surface-2)
}

.compact-job-title {
  color: var(--porsuk);
  font-weight: 700;
  text-decoration: none
}

/* Satırın tamamı tıklanabilir. */
.compact-job-title::after {
  content: "";
  position: absolute;
  inset: 0
}

.compact-job:hover .compact-job-title {
  text-decoration: underline;
  text-underline-offset: 2px
}

.compact-job-badge {
  margin-left: 4px;
  font-size: .78rem;
  font-weight: 600
}

.compact-job-badge.is-new {
  color: var(--ochre)
}

.compact-job-badge.is-urgent {
  color: #D63A2F
}

.compact-job-meta {
  margin: 2px 0 0;
  font-size: .9rem
}

.compact-job-owner {
  color: var(--ink)
}

.compact-job-location {
  margin-left: 6px;
  color: var(--muted)
}

.compact-job-excerpt {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .85rem;
  white-space: nowrap;
  text-overflow: ellipsis
}

@media (max-width:575.98px) {
  .compact-job {
    padding: 14px 16px
  }
}

/* ============ Ana sayfa "Sektöre göre ilanlar" (hızlı erişim kutularıyla aynı görünüm) ============ */
.quick-link-count {
  margin-top: -4px;
  color: var(--muted);
  font-size: .78rem
}

.quick-link:hover .quick-link-count {
  color: var(--porsuk)
}

@media (min-width:768px) {
  .sector-links {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media (min-width:992px) {
  .sector-links {
    grid-template-columns: repeat(5, 1fr)
  }
}

/* Mobil: 20 sektör tek sırada çok uzun kalmasın diye iki satır halinde yana kayar. */
@media (max-width:767.98px) {
  .quick-links.sector-links {
    display: grid;
    grid-auto-flow: column;
    /* Masaüstündeki auto-fit sütunları sıfırlanır; aksi halde ilk sütunlar 1fr ile genişleyip
       diğerlerinden büyük kalıyordu. Tüm kartlar aynı genişlikte. */
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: 112px
  }
}

/* ============ Çerez onay bandı (partials/cookie-consent.php, assets/js/cookie-consent.js) ============ */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1050;
  display: flex;
  justify-content: center;
  pointer-events: none
}

.cookie-consent[hidden] {
  display: none
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  width: 100%;
  max-width: 960px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 32px -12px rgba(21, 34, 42, .35);
  pointer-events: auto
}

.cookie-consent-text {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.55
}

.cookie-consent-text .bi {
  color: var(--porsuk)
}

.cookie-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px
}

.cookie-consent-actions .btn {
  min-width: 96px
}

/* Footer: "Çerez Tercihleri" (bandı yeniden açar) */
.footer-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px
}

.footer-link-btn:hover {
  color: var(--porsuk)
}

/* Alt menü (992px altında görünür) olan sayfalarda bant menünün üstünde durur, menü kullanılabilir kalır. */
@media (max-width:991.98px) {
  body.has-tabbar:not(.tabbar-hidden) .cookie-consent {
    bottom: calc(var(--tabbar-h) + 8px + env(safe-area-inset-bottom, 0px))
  }
}

@media (max-width:767.98px) {
  .cookie-consent {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px))
  }

  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px
  }

  .cookie-consent-text {
    font-size: .85rem
  }

  .cookie-consent-actions .btn {
    flex: 1
  }
}

/* ============ /eskisehir/is-ilanlari alt kısmı: ilçe / sektör / pozisyon bağlantıları (categories/show.php) ============ */
.explore-section {
  padding-bottom: 40px
}

.explore-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px
}

.explore-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 12px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--porsuk-tint);
  color: var(--ink);
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease
}

.explore-tab:hover {
  border-color: var(--porsuk)
}

.explore-tab.active {
  border-color: var(--porsuk);
  box-shadow: 0 1px 4px rgba(21, 34, 42, .08)
}

.explore-tab-icon {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--porsuk)
}

.explore-tab-label {
  font-size: 1.05rem;
  font-weight: 700
}

/* Liste üstü giriş başlığı (yalnızca /eskisehir/is-ilanlari). */
.listings-intro {
  margin-bottom: 18px
}

.listings-intro h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 6px
}

.listings-intro p {
  margin: 0;
  color: var(--muted)
}

.explore-tab-hint {
  font-size: .85rem;
  color: var(--muted)
}

.explore-title {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 8px
}

.explore-text {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--muted)
}

.explore-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0
}

.explore-links a {
  color: var(--ink);
  text-decoration: none
}

.explore-links a:hover {
  color: var(--porsuk);
  text-decoration: underline
}

.explore-count {
  color: var(--muted);
  font-size: .85rem
}

@media (max-width: 575.98px) {
  .explore-tabs {
    gap: 8px
  }

  .explore-tab {
    padding: 12px 8px
  }

  .explore-links {
    grid-template-columns: 1fr
  }
}

/* /eskisehir/is-ilanlari en altındaki SSS: başlık sayfadaki diğer bölüm başlıklarıyla aynı boyutta. */
.jobs-faq .faq-section-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  margin-bottom: 18px
}
