/* =====================================================================
 * 1.0.83 — Ortak liste kartı (Firma · Seri İlan · Etkinlik)
 * Firma Rehberi, Seri İlanlar, Etkinlikler, kategori sayfaları, arama sonuçları ve
 * ana sayfa kaydırıcıları aynı kartı kullanır (SP_Explore_UI::card → .sp-lc).
 *  - Görsel üstte (4:3); sol üstte kategori, sol altta durum (Şu an açık / Yaklaşan / Süresi doldu)
 *  - "Öne Çıkan" rozeti görselin altında, başlığın üstünde
 *  - Kalın başlık + sahiplenilmiş işletme işareti, gri konum satırı
 *  - Açık kırmızı özellik çipleri (ikonlu), en altta yuvarlak eylem simgeleri
 * Seçiciler typography-1082.css'ten (8 kimlik) bir kimlik daha güçlüdür.
 * ===================================================================== */
:root{
  --lc-red:var(--sp-primary,#A51D31);--lc-red-soft:rgba(165,29,49,.08);--lc-red-line:rgba(165,29,49,.14);
  --lc-green:#1f9d55;--lc-blue:#1d64d8;--lc-gray:#6b7280;--lc-ink:#111827;--lc-line:#e7e9ee;--lc-surface:#fff;--lc-soft:#f3f4f6;
  --lc-radius:14px;--lc-pad:14px;
}
html.sp-dark-mode,body.sp-dark,[data-theme="dark"],html[data-sp-theme="dark"]{--lc-ink:#f3f4f6;--lc-gray:#9ca3af;--lc-line:rgba(255,255,255,.1);--lc-surface:var(--sp-surface,#1b2230);--lc-soft:rgba(255,255,255,.06);--lc-red-soft:rgba(239,68,68,.14)}
@media (max-width:767px){:root{--lc-pad:10px;--lc-radius:12px}}

/* Ana sayfadaki sabit (kaydırıcısız) ilan/etkinlik ızgarası da ortak sütun sayısını kullanır */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .spmc-static-grid>:is(.spmc-classified-track,.spmc-event-track){display:grid!important;grid-template-columns:repeat(var(--u77-cols,5),minmax(0,1fr))!important;gap:var(--u77-gap,12px)!important}

/* ---------- Kart kabuğu ---------- */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc{
  display:flex!important;flex-direction:column!important;position:relative!important;min-width:0!important;height:100%!important;
  background:var(--lc-surface)!important;border:1px solid var(--lc-line)!important;border-radius:var(--lc-radius)!important;
  box-shadow:0 1px 2px rgba(17,24,39,.04)!important;overflow:hidden!important;padding:0!important;
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc:hover{box-shadow:0 10px 26px rgba(17,24,39,.10)!important;transform:translateY(-2px);border-color:var(--lc-red-line)!important}
@media (prefers-reduced-motion:reduce){html body .sp-cx-card.sp-lc:hover{transform:none}}

/* ---------- Görsel ---------- */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc>.sp-cx-card-media{
  order:1!important;position:relative!important;display:block!important;aspect-ratio:4/3!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;border-radius:0!important;overflow:hidden!important;background:linear-gradient(135deg,var(--lc-soft),var(--lc-red-soft))!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc>.sp-cx-card-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;transition:transform .35s ease!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc:hover>.sp-cx-card-media img{transform:scale(1.04)}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-card-placeholder{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;background:none!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-card-placeholder .dashicons{font-size:38px!important;width:38px!important;height:38px!important;color:var(--lc-red)!important;opacity:.35!important}

/* Kategori rozeti: sol üst, kırmızı dolu hap */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-badge{
  position:absolute!important;top:10px!important;z-index:2!important;max-width:calc(100% - 20px)!important;padding:4px 10px!important;border-radius:999px!important;
  font-size:11px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-shadow:0 2px 6px rgba(0,0,0,.12)!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-badge.is-left{left:10px!important;right:auto!important;background:var(--lc-red)!important;color:#fff!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-badge.is-right{right:10px!important;left:auto!important;background:rgba(17,24,39,.72)!important;color:#fff!important;max-width:45%!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-badge.is-left~.sp-cx-badge.is-right{max-width:38%!important}
/* Tarih kutusu (kategori yoksa) */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-datebox{position:absolute!important;top:10px!important;left:10px!important;z-index:2!important}

/* Durum rozeti: sol alt (yeşil = açık / yaklaşan, gri = kapalı / geçti / süresi doldu) */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-status{
  position:absolute!important;left:10px!important;bottom:10px!important;z-index:2!important;padding:4px 10px!important;border-radius:999px!important;
  font-size:11px!important;font-weight:600!important;line-height:1.35!important;color:#fff!important;background:var(--lc-green)!important;box-shadow:0 2px 6px rgba(0,0,0,.15)!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-status.is-off{background:rgba(55,65,81,.85)!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-status.is-info{background:var(--lc-blue)!important}

/* "Öne Çıkan": görselin altında, başlığın üstünde sarı hap */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc>.sp-featured-badge{
  order:2!important;position:static!important;align-self:flex-start!important;margin:12px var(--lc-pad) -4px!important;padding:3px 10px!important;border-radius:999px!important;
  background:#fef3c7!important;color:#b45309!important;font-size:11px!important;font-weight:600!important;line-height:1.4!important;box-shadow:none!important;transform:none!important;inset:auto!important}

/* ---------- Gövde ---------- */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc>.sp-cx-card-body{
  order:3!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;gap:6px!important;padding:12px var(--lc-pad) var(--lc-pad)!important;min-width:0!important;background:transparent!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-card-body>h3{
  display:flex!important;align-items:flex-start!important;gap:6px!important;margin:0!important;min-height:0!important;
  font-size:var(--spt-card,14px)!important;font-weight:var(--spt-w-card,700)!important;line-height:1.3!important;letter-spacing:-.005em!important;color:var(--lc-ink)!important;-webkit-line-clamp:unset!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-card-body>h3>a{
  color:inherit!important;text-decoration:none!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-width:0!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-card-body>h3>a:hover{color:var(--lc-red)!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-verified{flex:0 0 18px!important;width:18px!important;height:18px!important;margin-top:1px!important;border-radius:50%!important;background:var(--lc-green)!important;display:inline-grid!important;place-items:center!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-verified svg{width:14px!important;height:14px!important;fill:#fff!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-price{font-size:var(--spt-card,14px)!important;font-weight:700!important;color:var(--lc-red)!important;line-height:1.2!important}

/* Konum satırı: gri, iğne simgeli */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-lines{display:flex!important;flex-direction:column!important;gap:2px!important;margin:0!important;padding:0!important;list-style:none!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-lines li{display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;font-size:13px!important;font-weight:400!important;color:var(--lc-gray)!important;line-height:1.35!important;min-width:0!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-lines li>span:last-child{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-lines .dashicons{flex:0 0 15px!important;font-size:15px!important;width:15px!important;height:15px!important;color:#9ca3af!important}

/* Özellik çipleri: açık kırmızı zemin, kırmızı yazı, ikonlu */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-chips{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:4px 0 0!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-chip{
  display:inline-flex!important;align-items:center!important;gap:4px!important;max-width:100%!important;padding:4px 10px!important;border-radius:999px!important;border:0!important;
  background:var(--lc-red-soft)!important;color:var(--lc-red)!important;font-size:12px!important;font-weight:500!important;line-height:1.35!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc :is(.sp-cx-chip,.sp-cx-lines li,.sp-cx-badge,.sp-cx-status)>span:not(.dashicons){font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;color:inherit!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-chip>span:last-child{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-chip .dashicons{flex:0 0 13px!important;font-size:13px!important;width:13px!important;height:13px!important;color:inherit!important}

/* Açıklama bu kartta gösterilmez (görünüm sade kalır; detay sayfasında tam metin var) */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-desc{display:none!important}

/* ---------- Alt satır: yuvarlak eylem simgeleri ---------- */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-card-foot{margin-top:auto!important;padding-top:10px!important;border-top:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-actions>:is(a,button){
  width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;margin:0!important;border-radius:50%!important;border:0!important;
  background:var(--lc-soft)!important;color:var(--lc-gray)!important;display:inline-grid!important;place-items:center!important;box-shadow:none!important;font-size:0!important;transition:background .15s,color .15s!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-actions>:is(a,button):hover{background:var(--lc-red-soft)!important;color:var(--lc-red)!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-actions .dashicons{font-size:16px!important;width:16px!important;height:16px!important;color:inherit!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-actions :is(.is-active,[aria-pressed="true"]){background:var(--lc-red-soft)!important;color:var(--lc-red)!important}
/* "İncele" bağlantısı: başlık ve görsel zaten bağlantı; sağda küçük ok olarak kalır */
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-more{
  flex:0 0 auto!important;width:32px!important;height:32px!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;line-height:1!important;
  font-size:0!important;color:var(--lc-red)!important;background:transparent!important;border:1px solid var(--lc-red-line)!important;text-decoration:none!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-more>span{display:block!important;font-size:15px!important;line-height:1!important;margin:0!important}
html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-more:hover{background:var(--lc-red)!important;color:#fff!important}

/* ---------- Tablet / telefon ---------- */
@media (max-width:767px){
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-lines li{font-size:12px!important}
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc :is(.sp-cx-badge,.sp-cx-status){top:8px;font-size:10px!important;padding:3px 8px!important}
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-status{top:auto!important;bottom:8px!important;left:8px!important}
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-badge.is-left{left:8px!important;max-width:calc(100% - 16px)!important}
  /* Dar kartta kategori ile puan üst üste binmesin: puan görselin sağ altına iner */
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-badge.is-left~.sp-cx-badge.is-right{top:auto!important;bottom:8px!important;right:8px!important;max-width:45%!important}
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-chip{font-size:11px!important;padding:3px 8px!important}
  /* Telefonda en fazla iki çip, ikinci satır taşmasın */
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-chip:nth-child(n+3){display:none!important}
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-actions>:is(a,button),html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-more{width:28px!important;height:28px!important;min-width:28px!important}
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-actions .dashicons{font-size:14px!important;width:14px!important;height:14px!important}
}
@media (max-width:479px){
  /* 2 sütunda yer dar: telefon çipi gizlenir (alttaki Ara simgesi zaten var), saat çipi kalır */
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc.is-directory .sp-cx-chip:first-child:not(:only-child){display:none!important}
  html body:not(.wp-admin):not(#l83a):not(#l83b):not(#l83c):not(#l83d):not(#l83e):not(#l83f):not(#l83g):not(#l83h):not(#l83i) .sp-cx-card.sp-lc .sp-cx-actions>:nth-child(n+4){display:none!important}
}
