/* Hadi Sende Kariyer - kamu ilan detay sayfası (paket 2d)
   Amaç: sade, standart ve tutarlı bir görünüm.
   - Kurum adı ve logo üstte, okunur boyutta; ilan başlığı dengeli (artık dev boyutta değil).
   - Bütün etiket / değer satırları aynı iki sütunlu düzende ve SOLA hizalı (değerler sağa yaslanmaz).
   - Bölüm başlıkları tek biçimde (cümle düzeni, aynı boyut). Kartlar aynı çerçeve, aynı köşe, aynı iç boşluk.
   Yalnızca herkese açık ilan sayfasını etkiler (.ad-detail.ap-detail); yönetici sayfası değişmez.
   Bu dosya hs-news / hs-gazete / hs-type dosyalarından SONRA yüklenir. */

html body .ad-detail.ap-detail {
  --il-lab: 120px;                 /* etiket sütunu genişliği: bilgi satırları ve şart tablosunda aynı */
  --il-r: 12px;
  --il-pad: 14px;
  font-size: 14px;
}

/* ---------- Üst satır: geri + "İlan detayı" ---------- */
html body .ad-detail.ap-detail .am-title { margin: 0 0 16px; gap: 10px; }
html body .ad-detail.ap-detail .am-title__t h2 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--hs-tx3); }

/* ---------- Başlık bloğu: [logo] Kurum adı  /  İlan başlığı  /  konum · no  /  etiketler ---------- */
html body .ad-detail.ap-detail .ad-hero {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 0;
  padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--hs-line); border-radius: 0; background: none; box-shadow: none; margin-bottom: 0; }
html body .ad-detail.ap-detail .ad-hero__main { display: contents; }
html body .ad-detail.ap-detail .ad-hero .am-thumb { grid-column: 1; grid-row: 1; width: 52px; height: 52px; border-radius: 12px; font-size: 16px; }
html body .ad-detail.ap-detail .ad-hero__k {
  grid-column: 2; grid-row: 1; margin: 0; min-width: 0; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--hs-tx); }
html body .ad-detail.ap-detail .ad-hero__k a { font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; color: var(--hs-tx); text-decoration: none; overflow-wrap: anywhere; }
html body .ad-detail.ap-detail .ad-hero__k a:hover { color: var(--hs-pri-tx); text-decoration: underline; text-underline-offset: 3px; }
html body .ad-detail.ap-detail .ad-hero h1 {
  grid-column: 1 / -1; grid-row: 2; margin: 18px 0 8px; font-size: clamp(22px, 2.3vw, 27px); font-weight: 700; line-height: 1.3; letter-spacing: -.012em; color: var(--hs-tx); overflow-wrap: anywhere; }
html body .ad-detail.ap-detail .ad-hero__loc { grid-column: 1 / -1; grid-row: 3; margin: 0; font-size: 14px; line-height: 1.5; color: var(--hs-tx3); }
html body .ad-detail.ap-detail .ad-hero .ns-kunye { grid-column: 1 / -1; grid-row: 4; margin: 14px 0 0; gap: 6px; }
html body .ad-detail.ap-detail .ns-tag { height: 26px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ---------- Tarihler + paylaş: iki satır, ikisi de solda ---------- */
html body .ad-detail.ap-detail .ns-hero-foot { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; margin: 16px 0 4px; }
html body .ad-detail.ap-detail .ns-date { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hs-tx3); }
html body .ad-detail.ap-detail .ns-date b { font-weight: 600; color: var(--hs-tx2); }
html body .ad-detail.ap-detail .ns-share { gap: 8px; }
html body .ad-detail.ap-detail .ns-share__l { margin-right: 4px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--hs-tx3); }
html body .ad-detail.ap-detail .ns-share__b, html body .ad-detail.ap-detail .ns-share__b:hover { height: 34px; padding: 0 13px; font-size: 13px; font-weight: 600; }

/* ---------- Sayaçlar: 4 eşit kutu, içerik solda ---------- */
html body .ad-detail.ap-detail .ad-cols .ad-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 4px; padding: 0; border: 0; background: none; border-radius: 0; overflow: visible; }
html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; min-width: 0; min-height: 0; padding: 12px 14px;
  text-align: left; background: #fff; border: 1px solid var(--hs-line); border-radius: var(--il-r); box-shadow: none; }
html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat + .ad-stat { border-left: 1px solid var(--hs-line); }
html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat b { margin: 0; font-size: 20px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--hs-tx); }
html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat.is-end b { color: var(--hs-pri-tx); }
html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat span { margin: 0; font-size: 12.5px; line-height: 1.3; font-weight: 500; letter-spacing: 0; white-space: normal; color: var(--hs-tx3); }

/* ---------- Bölüm başlıkları: hepsi aynı ---------- */
html body .ad-detail.ap-detail .ad-sec { margin-top: 26px; }
html body .ad-detail.ap-detail .ad-sec > h2, html body .ad-detail.ap-detail .section-title {
  display: block; margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--hs-tx); }
html body .ad-detail.ap-detail .ad-sec > h2::before, html body .ad-detail.ap-detail .section-title::before { content: none; display: none; }

/* ---------- Açıklama ---------- */
html body .ad-detail.ap-detail .ad-sec--desc .ad-box { padding: 0; border: 0; background: none; border-radius: 0; }
html body .ad-detail.ap-detail .ad-text { padding: 0; font-size: 15.5px; line-height: 1.7; color: var(--hs-tx2); }
html body .ad-detail.ap-detail .ad-text a { color: var(--hs-pri-tx); }

/* ---------- Kartlar (ilan bilgileri, belgeler): aynı çerçeve ---------- */
html body .ad-detail.ap-detail .ad-sec--info .ad-box, html body .ad-detail.ap-detail .ad-sec--need .ad-box, html body .ad-detail.ap-detail .ad-sec--docs .ad-box {
  background: #fff; border: 1px solid var(--hs-line); border-radius: var(--il-r); box-shadow: none; overflow: hidden; }

/* ---------- Etiket / değer satırları: iki sütun, ikisi de SOLA hizalı ---------- */
html body .ad-detail.ap-detail .ad-kv {
  display: grid; grid-template-columns: var(--il-lab) minmax(0, 1fr); align-items: start; justify-content: start; gap: 4px 14px;
  padding: 11px var(--il-pad); font-size: 14px; line-height: 1.5; border-bottom: 1px solid var(--hs-line); }
html body .ad-detail.ap-detail .ad-kv:last-child { border-bottom: 0; }
html body .ad-detail.ap-detail .ad-kv span { color: var(--hs-tx3); font-size: 13.5px; font-weight: 500; }
html body .ad-detail.ap-detail .ad-kv b { text-align: left; font-weight: 600; font-size: 14px; color: var(--hs-tx); min-width: 0; overflow-wrap: anywhere; }
html body .ad-detail.ap-detail .ad-kv b a { color: var(--hs-pri-tx); text-decoration: none; }
html body .ad-detail.ap-detail .ad-kv b a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- "Aranan şartlar" ve "ÖSYM nitelik kodları": aynı sütun genişliği, aynı yazı ---------- */
html body .ad-detail.ap-detail .ad-req { border-top: 1px solid var(--hs-line); }
html body .ad-detail.ap-detail .ad-kv + .ad-req { border-top: 0; }
html body .ad-detail.ap-detail .ad-req__head { gap: 8px; padding: 12px var(--il-pad); background: var(--hs-s2); border-bottom: 1px solid var(--hs-line); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--hs-tx); }
html body .ad-detail.ap-detail .ad-req__head::before { content: none; display: none; }
html body .ad-detail.ap-detail .ad-req__head em { margin-left: 0; height: 20px; min-width: 22px; padding: 0 7px; font-size: 12px; font-weight: 700; }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl { font-size: 14px; line-height: 1.5; }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl th, html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl td { padding: 11px var(--il-pad); text-align: left; }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl thead th { padding: 9px var(--il-pad) 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--hs-tx3); }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl tbody th[scope="row"], html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl thead th:first-child { width: calc(var(--il-lab) + 14px); }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl tbody th[scope="row"] { font-size: 13.5px; font-weight: 500; color: var(--hs-tx3); }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl td { font-weight: 600; color: var(--hs-tx); }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit thead th:first-child, html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code { width: 88px; }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td { font-weight: 500; color: var(--hs-tx2); }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code b { font-size: 15px; font-weight: 700; letter-spacing: 0; }
html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code small { font-size: 12px; font-weight: 500; }
html body .ad-detail.ap-detail .ad-req__foot, html body .ad-detail.ap-detail .ad-req__none { padding: 11px var(--il-pad) 13px; font-size: 13px; line-height: 1.55; color: var(--hs-tx3); }
html body .ad-detail.ap-detail .ad-pill, html body .ad-detail.ap-detail .ad-tag { height: 24px; font-size: 12.5px; }
html body .ad-detail.ap-detail .ad-more > summary { font-size: 13px; }

/* ---------- Belgeler ---------- */
html body .ad-detail.ap-detail .ad-docs a { padding: 11px var(--il-pad); font-size: 14px; }

/* ---------- Alt bilgi (benzer ilanlar, bağlantılar) ---------- */
html body .ad-detail.ap-detail .ad-foot { margin-top: 26px; }
html body .ad-detail.ap-detail .ad-foot .section-title, html body .ad-detail.ap-detail .ad-foot h2 { font-size: 16px; }

/* ---------- Masaüstü: sağ sütunda Başvur kutusu ile bilgi kartı arasında düzenli boşluk ---------- */
@media (min-width: 900px) {
  html body .ad-detail.ap-detail .ad-actionslot { margin-bottom: 18px; }
  html body .ad-cols .ad-col--right .ad-sec--info { margin-top: 0; }
  html body .ad-detail.ap-detail .ad-cols .ad-col--left .ad-sec:first-of-type { margin-top: 26px; }
}

/* ---------- Telefon ---------- */
@media (max-width: 899.98px) {
  html body .ad-detail.ap-detail { --il-lab: 104px; --il-pad: 12px; }
}
@media (max-width: 560px) {
  html body .ad-detail.ap-detail .am-title { margin: 0 0 12px; }
  html body .ad-detail.ap-detail .ad-hero { padding-bottom: 16px; column-gap: 12px; }
  html body .ad-detail.ap-detail .ad-hero .am-thumb { width: 44px; height: 44px; font-size: 14px; border-radius: 11px; }
  html body .ad-detail.ap-detail .ad-hero__k { font-size: 15.5px; }
  html body .ad-detail.ap-detail .ad-hero h1 { margin: 14px 0 6px; font-size: 21px; line-height: 1.3; }
  html body .ad-detail.ap-detail .ad-hero__loc { font-size: 13.5px; }
  html body .ad-detail.ap-detail .ad-hero .ns-kunye { margin-top: 12px; }
  html body .ad-detail.ap-detail .ns-hero-foot { margin-top: 14px; gap: 10px; }
  html body .ad-detail.ap-detail .ns-date { font-size: 13.5px; }
  html body .ad-detail.ap-detail .ns-share { flex-wrap: wrap; }
  html body .ad-detail.ap-detail .ns-share__l { flex-basis: 100%; margin: 0 0 -2px; }
  html body .ad-detail.ap-detail .ad-cols .ad-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat { padding: 11px 12px; }
  html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat + .ad-stat { border-left: 1px solid var(--hs-line); }
  html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat b { font-size: 19px; }
  html body .ad-detail.ap-detail .ad-cols .ad-stats .ad-stat span { font-size: 12px; white-space: normal; }
  html body .ad-detail.ap-detail .ad-sec { margin-top: 22px; }
  html body .ad-detail.ap-detail .ad-sec > h2, html body .ad-detail.ap-detail .section-title { font-size: 15.5px; margin-bottom: 8px; }
  html body .ad-detail.ap-detail .ad-text { font-size: 15px; line-height: 1.65; }
  html body .ad-detail.ap-detail .ad-kv { font-size: 13.5px; padding: 10px var(--il-pad); }
  html body .ad-detail.ap-detail .ad-kv span { font-size: 13px; }
  html body .ad-detail.ap-detail .ad-kv b { font-size: 13.5px; }
  html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl { font-size: 13.5px; }
  html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl th, html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl td { padding: 10px var(--il-pad); }
  html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl thead th { padding: 8px var(--il-pad) 7px; }
  html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl tbody th[scope="row"], html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl.ad-tbl thead th:first-child { width: calc(var(--il-lab) + 14px); }
  html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit thead th:first-child, html body .ad-detail.ap-detail .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code { width: 76px; }
  html body .ad-detail.ap-detail .ad-req__head { padding: 11px var(--il-pad); }
}

/* ilan-detay-paketi:basla */
/* ---------- İlan detay: Paylaş satırı = WhatsApp + Paylaş + Bağlantıyı kopyala (X yok), üçü yan yana (mobil: satırı doldurur, masaüstü: solda) ---------- */
html body .ad-detail.ap-detail .ns-share.ns-share--3 { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; width: 100%; max-width: 100%; margin: 0; }
html body .ad-detail.ap-detail .ns-share.ns-share--3 .ns-share__l { display: none; }
html body .ad-detail.ap-detail .ns-share.ns-share--3 .ns-share__b,
html body .ad-detail.ap-detail .ns-share.ns-share--3 .ns-share__b:hover { flex: 0 0 auto; justify-content: center; height: 36px; padding: 0 15px; gap: 7px; font-size: 13px; line-height: 1; white-space: nowrap; }
html body .ad-detail.ap-detail .ns-share.ns-share--3 .ns-share__b svg { width: 16px; height: 16px; }
@media (max-width: 599px) {
  html body .ad-detail.ap-detail .ns-share.ns-share--3 { gap: 6px; }
  html body .ad-detail.ap-detail .ns-share.ns-share--3 .ns-share__b,
  html body .ad-detail.ap-detail .ns-share.ns-share--3 .ns-share__b:hover { flex: 1 1 auto; min-width: 0; height: 38px; padding: 0 .7em; gap: .4em; font-size: clamp(11px, 3.3vw, 13px); }
  html body .ad-detail.ap-detail .ns-share.ns-share--3 .ns-share__b svg { width: 1.2em; height: 1.2em; }
}
/* Belgeler satırı: "Tıkla İncele" bağlantısı Kurum / Başvuru bağlantısı ile aynı kırmızı (.ad-kv b a) */
html body .ad-detail.ap-detail .ad-kv b a[data-kamu-docs] { cursor: pointer; }
/* ilan-detay-paketi:bitis */
