/* Firma / Seri İlan / Etkinlik detay sayfaları için kompakt ve modern ortak düzen.
   Amaç: masaüstü + mobil galeri hizası, tekli/çoklu görsel boşluklarının temizlenmesi,
   kart ve bölüm aralıklarının sadeleştirilmesi, içerik alanının daha dengeli görünmesi. */

body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(article.sp-single,article.sp-single>.sp-container.sp-article-container,.sp-directory-single.sp-dir-webpage,.sp-classified-single.sp-dir-webpage,.sp-event-single.sp-dir-webpage){
  width:min(100%,var(--sp-layout-inner-max,1600px))!important;
  max-width:var(--sp-layout-inner-max,1600px)!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) article.sp-single>.sp-container.sp-article-container{
  padding:0!important;
}

/* Ortak bölüm kartları */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-web-section,.sp-dir-info-card,.sp-owner-contact-card){
  border-radius:18px!important;
  border:1px solid #e4e8ef!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-web-section,.sp-dir-info-card,.sp-owner-contact-card){
  padding:18px!important;
}

body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-section-title{
  margin:0 0 14px!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-section-title h2,
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-info-card,.sp-owner-contact-card)>h2{
  margin:0!important;
  color:#183153!important;
  font-size:clamp(18px,1.55vw,24px)!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
}

/* Ortak galeri alanı */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-web-hero{
  width:100%!important;
  margin:0 auto 16px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:22px!important;
  border:1px solid #e4e8ef!important;
  background:#eef2f7!important;
  box-shadow:0 14px 34px rgba(15,23,42,.08)!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-web-hero .sp-dir-hero{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#eef2f7!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-web-hero>.sp-dir-hero>img,
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-web-hero>.sp-dir-hero>picture,
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-web-hero>.sp-dir-hero>picture>img{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-web-placeholder{
  min-height:clamp(260px,38vw,520px)!important;
  height:auto!important;
}

body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic{
  display:grid!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  gap:8px!important;
  overflow:hidden!important;
  background:#eef2f7!important;
  grid-auto-flow:dense!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic>a:not([hidden]){
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
  border-radius:16px!important;
  background:#eef2f7!important;
  text-decoration:none!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic>a:not([hidden]) img,
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic>a:not([hidden]) picture,
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic>a:not([hidden]) picture>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic>a.sp-dir-gallery-hidden[hidden],
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic>a[hidden][aria-hidden="true"]{
  display:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

/* Tek görsel: galeri alanına orantılı ve merkezde oturur */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="1"]{
  grid-template-columns:minmax(0,1fr)!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="1"]>a.sp-dir-gallery-main{
  min-height:clamp(280px,44vw,560px)!important;
  border-radius:0!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="1"]>a.sp-dir-gallery-main img{
  object-fit:contain!important;
  object-position:center center!important;
}

/* 2 görsel */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="2"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="2"]>a:not([hidden]){
  min-height:clamp(220px,28vw,400px)!important;
  border-radius:0!important;
}

/* 3 görsel */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="3"]{
  grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  min-height:clamp(300px,42vw,520px)!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="3"]>a.sp-dir-gallery-main{
  grid-column:1!important;
  grid-row:1 / span 2!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="3"]>a.sp-dir-gallery-thumb:not([hidden]){
  min-height:0!important;
}

/* 4 görsel */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="4"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  min-height:clamp(300px,42vw,520px)!important;
}

/* 5+ görsel */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic:not([data-gallery-count="1"]):not([data-gallery-count="2"]):not([data-gallery-count="3"]):not([data-gallery-count="4"]){
  grid-template-columns:minmax(0,1.55fr) repeat(2,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  min-height:clamp(320px,44vw,540px)!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic:not([data-gallery-count="1"]):not([data-gallery-count="2"]):not([data-gallery-count="3"]):not([data-gallery-count="4"])>a.sp-dir-gallery-main{
  grid-column:1!important;
  grid-row:1 / span 2!important;
}

/* Firma detay iki sütun dengesi */
body.single-sp_directory:not(.wp-admin) .sp-dir-detail-shell-1020{
  display:grid!important;
  grid-template-columns:minmax(0,1.8fr) minmax(300px,.8fr)!important;
  gap:18px!important;
  width:100%!important;
  max-width:var(--sp-layout-inner-max,1600px)!important;
  margin:0 auto!important;
  align-items:start!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-detail-main-1020,
body.single-sp_directory:not(.wp-admin) .sp-dir-detail-sidebar-1020{min-width:0!important;width:100%!important}
body.single-sp_directory:not(.wp-admin) .sp-dir-detail-main-1020>*+*,
body.single-sp_directory:not(.wp-admin) .sp-dir-detail-sidebar-1020>*+*{margin-top:18px!important}

/* İlan ve etkinlik detay kompakt akış */
body.single-sp_classified:not(.wp-admin) .sp-classified-info-combined-1025{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:0 0 16px!important;
}
body.single-sp_classified:not(.wp-admin) .sp-classified-main-only-1025,
body.single-sp_event:not(.wp-admin) .sp-dir-layout.sp-dir-web-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.7fr) minmax(280px,.85fr)!important;
  gap:18px!important;
  align-items:start!important;
}


/* Eylem butonları */




/* Mobil */
@media(max-width:960px){
  body.single-sp_directory:not(.wp-admin) .sp-dir-detail-shell-1020,
  body.single-sp_classified:not(.wp-admin) .sp-classified-main-only-1025,
  body.single-sp_event:not(.wp-admin) .sp-dir-layout.sp-dir-web-layout{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.single-sp_classified:not(.wp-admin) .sp-classified-info-combined-1025{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:700px){
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-web-section,.sp-dir-info-card,.sp-owner-contact-card){
    padding:14px!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-web-hero{
    border-radius:18px!important;
    margin-bottom:12px!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic{
    gap:6px!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="2"]{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="2"]>a:not([hidden]){
    min-height:220px!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="3"],
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="4"],
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic:not([data-gallery-count="1"]):not([data-gallery-count="2"]):not([data-gallery-count="3"]):not([data-gallery-count="4"]){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:none!important;
    min-height:0!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic[data-gallery-count="3"]>a.sp-dir-gallery-main,
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic:not([data-gallery-count="1"]):not([data-gallery-count="2"]):not([data-gallery-count="3"]):not([data-gallery-count="4"])>a.sp-dir-gallery-main{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    min-height:240px!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-gallery.sp-dir-gallery-mosaic>a.sp-dir-gallery-thumb:not([hidden]){
    min-height:120px!important;
  }
  
  
}


html[data-theme="dark"] body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-web-section,.sp-dir-info-card,.sp-owner-contact-card),
body[data-theme="dark"]:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-web-section,.sp-dir-info-card,.sp-owner-contact-card),
.sp-dark body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-web-section,.sp-dir-info-card,.sp-owner-contact-card){
  background:#16202d!important;
  border-color:#2b394a!important;
}
html[data-theme="dark"] body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-section-title h2,.sp-dir-info-card h2,.sp-owner-contact-card h2),
body[data-theme="dark"]:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-section-title h2,.sp-dir-info-card h2,.sp-owner-contact-card h2),
.sp-dark body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-section-title h2,.sp-dir-info-card h2,.sp-owner-contact-card h2){
  color:#edf4ff!important;
}


/* Kullanıcı onayıyla: sayfa başlığı hariç bölüm başlıkları ve menü kartları küçültüldü. */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-web-section,.sp-dir-info-card,.sp-owner-contact-card){
  padding:14px!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-section-title,
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-info-card,.sp-owner-contact-card)>h2{
  min-height:46px!important;
  margin:0 0 10px!important;
  padding:8px 12px!important;
  gap:8px!important;
  border-left-width:4px!important;
  border-radius:10px!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-section-title h2,
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-info-card,.sp-owner-contact-card)>h2{
  font-size:clamp(15px,1.25vw,18px)!important;
  line-height:1.15!important;
  letter-spacing:-.015em!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-section-title>div>span{
  margin-bottom:1px!important;
  font-size:9px!important;
  letter-spacing:.06em!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-map-strong{
  min-height:38px!important;
  padding:0 12px!important;
  font-size:11px!important;
  border-radius:10px!important;
}

/* Üst sekmeler daha dar ve kompakt */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-global-inner-title-nav{
  gap:6px!important;
  margin-top:10px!important;
}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-global-inner-title-nav a{
  min-height:34px!important;
  padding:6px 11px!important;
  border-radius:9px!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:750!important;
}

/* Menü kartları daha dar ve alçak */
body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-grid-1021{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,190px))!important;
  justify-content:flex-start!important;
  gap:6px!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-row-1021{
  min-height:44px!important;
  border-radius:8px!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-row-1021:not(:has(.sp-dir-menu-media-1021)){
  grid-template-columns:minmax(0,1fr)!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-media-1021{
  width:40px!important;
  min-width:40px!important;
  min-height:44px!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-image-1021{
  min-height:44px!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-copy-1021{
  padding:5px 7px!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-copy-1021 h3{
  font-size:10px!important;
  line-height:1.2!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-price-1021{
  margin-top:2px!important;
  font-size:9px!important;
}

/* Firma detayı: dört bölüm başlığı aynı 44px; harita eylemi başlığın sağ yarısında. */
body.single-sp_directory:not(.wp-admin) :is(.sp-dir-about-wide,.sp-dir-catalog-view,.sp-dir-amenities-view,.sp-dir-location-section)>.sp-dir-section-title{
  display:flex!important;
  align-items:center!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0 0 10px!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
}
body.single-sp_directory:not(.wp-admin) :is(.sp-dir-about-wide,.sp-dir-catalog-view,.sp-dir-amenities-view,.sp-dir-location-section)>.sp-dir-section-title>div{
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-location-section>.sp-dir-location-heading.has-map-action{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-location-heading.has-map-action>div{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-location-heading.has-map-action>.sp-dir-map-strong{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0 8px!important;
  box-sizing:border-box!important;
  border-radius:0 8px 8px 0!important;
  font-size:11px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}

/* Tek dış kart: içerik sahibi ile firma bilgileri iç içe kart oluşturmadan gruplandırılır. */
body.single-sp_directory:not(.wp-admin) .sp-dir-unified-contact-card{
  display:grid!important;
  gap:0!important;
  min-width:0!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-unified-contact-card>.sp-dir-section-title{
  margin-bottom:4px!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-unified-contact-group{
  min-width:0!important;
  padding:11px 0!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-unified-contact-group+.sp-dir-unified-contact-group{
  border-top:1px solid var(--sp-border,#e5e7eb)!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-unified-contact-label{
  margin:0 0 9px!important;
  padding:0!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:800!important;
  color:var(--sp-text,#172033)!important;
}
body.single-sp_directory:not(.wp-admin) .sp-owner-contact-inline{
  display:grid!important;
  gap:9px!important;
  min-width:0!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-unified-contact-card .sp-dir-contact-list>div{
  padding:7px 0!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-unified-contact-card .sp-dir-social-inline{
  margin-top:9px!important;
  padding-top:9px!important;
}

@media(max-width:700px){
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-web-section,.sp-dir-info-card,.sp-owner-contact-card){
    padding:12px!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-section-title,
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-info-card,.sp-owner-contact-card)>h2{
    min-height:42px!important;
    padding:7px 11px!important;
    margin-bottom:8px!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-dir-section-title h2,
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) :is(.sp-dir-info-card,.sp-owner-contact-card)>h2{
    font-size:clamp(14px,4vw,17px)!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-global-inner-title-nav{
    gap:5px!important;
  }
  body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.wp-admin) .sp-global-inner-title-nav a{
    min-height:31px!important;
    padding:5px 9px!important;
    font-size:10px!important;
  }
  body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-grid-1021{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-row-1021{
    min-height:42px!important;
  }
  body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-media-1021{
    width:36px!important;min-width:36px!important;min-height:42px!important;
  }
  body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-image-1021{min-height:42px!important}
  body.single-sp_directory:not(.wp-admin) .sp-dir-catalog-view .sp-dir-menu-copy-1021 h3{font-size:9.5px!important}
  body.single-sp_directory:not(.wp-admin) .sp-dir-location-heading.has-map-action>div{padding:0 9px!important}
  body.single-sp_directory:not(.wp-admin) .sp-dir-location-heading.has-map-action>.sp-dir-map-strong{font-size:10px!important;padding:0 5px!important}
}
