/* sp-pwa-device-stabilization */
/* Uygulama Arayüzü Faz 6.2
 * Yalnız mobil/PWA cihaz uyumu: safe-area, klavye, yön ve tam ekran.
 */
:root{
  --sp-vh:1vh;
  --sp-vvh:1vh;
  --sp-vvw:1vw;
  --sp-visual-height:100vh;
  --sp-visual-width:100vw;
  --sp-keyboard-height:0px;
  --sp-device-bottom-inset:0px;
}

html.sp-pwa-standalone,
html.sp-pwa-fullscreen{min-height:100%;background:var(--sp-bg,#f7f8fb)}
html.sp-pwa-standalone body,
html.sp-pwa-fullscreen body{min-height:calc(var(--sp-vvh) * 100)}

.sp-touch-device button,
.sp-touch-device a,
.sp-touch-device input,
.sp-touch-device select,
.sp-touch-device textarea{-webkit-tap-highlight-color:transparent}

@media(max-width:767px){
  body{overflow-x:hidden}
  img,video,iframe{max-width:100%;height:auto}
  input,select,textarea{font-size:16px!important}

  /* Mevcut 58×58 merkez Ekle düğmesine ve menü sırasına dokunmadan yalnız cihaz güvenli alanı eklenir. */
  .sp-mobile-bottom-nav,
  .sp-bottom-nav{
    padding-left:max(6px,env(safe-area-inset-left))!important;
    padding-right:max(6px,env(safe-area-inset-right))!important;
    padding-bottom:max(6px,env(safe-area-inset-bottom),var(--sp-device-bottom-inset))!important;
  }

  html.sp-pwa-standalone body,
  html.sp-pwa-fullscreen body{
    padding-left:env(safe-area-inset-left);
    padding-right:env(safe-area-inset-right);
  }

  html.sp-device-ios.sp-pwa-standalone .sp-header,
  html.sp-device-ios.sp-pwa-fullscreen .sp-header{
    padding-top:max(env(safe-area-inset-top),0px)!important;
  }

  /* Sanal klavye açıkken sabit alt menü form alanının/klavyenin üstüne binmez. */
  html.sp-keyboard-open .sp-mobile-bottom-nav.sp-global-mobile-nav,
  html.sp-keyboard-open .sp-mobile-bottom-nav,
  html.sp-keyboard-open .sp-bottom-nav{
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  .sp-account-main,
  .sp-mobile-shell,
  .sp-mobile-home-ui{min-width:0!important;max-width:100%!important}
}

/* iPhone landscape çentiklerinde sağ/sol içerik kesilmesini engeller. */
@media(max-width:1024px) and (orientation:landscape){
  html.sp-pwa-standalone .sp-site-main,
  html.sp-pwa-fullscreen .sp-site-main{
    padding-left:max(10px,env(safe-area-inset-left))!important;
    padding-right:max(10px,env(safe-area-inset-right))!important;
  }
}

/* Kısa yatay ekranlarda uygulama katmanları gerçek görsel viewport'u aşmasın. */
@media(orientation:landscape) and (max-height:520px){
  .sp-app-search-dialog,
  .sp-app-quick-dialog,
  .sp-app-center-dialog{
    max-height:calc(var(--sp-visual-height) - 20px)!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html.sp-keyboard-open .sp-mobile-bottom-nav,
  html.sp-keyboard-open .sp-bottom-nav{transition:none!important;animation:none!important}
}

/* sp-page-app-ui */

/* Faz 21.2 — Eski sayfa görünümünü yeni Şehir Portalı tasarım diline taşı.
   Yalnız görsel katman: form, modül, veri, URL ve iş mantığı değiştirmez. */

body:not(.home):not(.wp-admin){
 --sp-page-bg:#f5f7fb;
 --sp-page-card:#fff;
 --sp-page-line:#e4e9f0;
 --sp-page-text:#172033;
 --sp-page-muted:#667085;
 --sp-page-red:var(--sp-brand-red,#a51d31);
 background:var(--sp-page-bg);
 color:var(--sp-page-text);
}

body:not(.home):not(.wp-admin) #page,
body:not(.home):not(.wp-admin) .site,
body:not(.home):not(.wp-admin) .site-content{
 background:var(--sp-page-bg);
}

/* Eski düz içerik alanlarını yeni kart kabuğuna al */
body:not(.home):not(.wp-admin) main.site-main,
body:not(.home):not(.wp-admin) #primary,
body:not(.home):not(.wp-admin) .content-area{
 color:var(--sp-page-text);
}

body:not(.home):not(.wp-admin) .entry-header,
body:not(.home):not(.wp-admin) .page-header{
 width:min(var(--sp-layout-inner-max,1600px),calc(100% - (var(--sp-layout-edge,10px) * 2)));
 margin:22px auto 0;
 padding:20px 22px;
 border:1px solid var(--sp-page-line);
 border-radius:16px 16px 0 0;
 background:linear-gradient(135deg,#86172a,var(--sp-brand-red,#a51d31));
 color:#fff;
 box-shadow:0 5px 20px rgba(15,23,42,.04);
}
body:not(.home):not(.wp-admin) .entry-header h1,
body:not(.home):not(.wp-admin) .page-header h1,
body:not(.home):not(.wp-admin) .entry-header .entry-title,
body:not(.home):not(.wp-admin) .page-title{
 margin:0;
 color:#fff!important;
 font-size:clamp(24px,3vw,34px);
 line-height:1.2;
 letter-spacing:-.025em;
}
body:not(.home):not(.wp-admin) .entry-header a{color:#fff}

body:not(.home):not(.wp-admin) .entry-content,
body:not(.home):not(.wp-admin) .page-content,
body:not(.home):not(.wp-admin) article.page>.entry-content{
 width:min(var(--sp-layout-inner-max,1600px),calc(100% - (var(--sp-layout-edge,10px) * 2)));
 margin:0 auto 28px;
 padding:22px;
 border:1px solid var(--sp-page-line);
 border-top:0;
 border-radius:0 0 16px 16px;
 background:var(--sp-page-card);
 box-shadow:0 5px 20px rgba(15,23,42,.04);
 color:var(--sp-page-text);
 font-size:15px;
 line-height:1.65;
}

/* Başlıksız / modül şablonlarında da modern zemin */

body:not(.home):not(.wp-admin) .sp-directory-form-wrap,
body:not(.home):not(.wp-admin) .sp-classified-form-wrap,
body:not(.home):not(.wp-admin) .sp-event-form-wrap,
body:not(.home):not(.wp-admin) .sp-gallery-form-wrap{
 border-radius:16px;
}

/* Genel eski kart/kutu görünümünü yeni tasarımla uyumlu hale getir */
body:not(.home):not(.wp-admin) .widget,
body:not(.home):not(.wp-admin) .sp-card,
body:not(.home):not(.wp-admin) .sp-panel,
body:not(.home):not(.wp-admin) .sp-form-section{
 border-color:var(--sp-page-line)!important;
 border-radius:14px!important;
 background:var(--sp-page-card);
 color:var(--sp-page-text);
 box-shadow:0 4px 16px rgba(15,23,42,.035);
}

/* Eski form elemanları */
body:not(.home):not(.wp-admin) input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body:not(.home):not(.wp-admin) select,
body:not(.home):not(.wp-admin) textarea{
 border:1px solid #d7dee8;
 border-radius:10px;
 background:#fff;
 color:#172033;
}
body:not(.home):not(.wp-admin) input:focus,
body:not(.home):not(.wp-admin) select:focus,
body:not(.home):not(.wp-admin) textarea:focus{
 border-color:var(--sp-brand-red,#a51d31);
 box-shadow:0 0 0 3px rgba(165,29,49,.09);
 outline:0;
}

/* Eski WordPress tablo/listeleri */
body:not(.home):not(.wp-admin) table{
 max-width:100%;
 border-collapse:separate;
 border-spacing:0;
 border:1px solid var(--sp-page-line);
 border-radius:12px;
 overflow:hidden;
 background:var(--sp-page-card);
}
body:not(.home):not(.wp-admin) th{
 background:#f7f9fc;
 color:#344054;
 font-weight:800;
}
body:not(.home):not(.wp-admin) th,
body:not(.home):not(.wp-admin) td{
 padding:11px 12px;
 border-bottom:1px solid #edf0f4;
}

/* Bağlantı / düğme uyumu */
body:not(.home):not(.wp-admin) .entry-content a:not(.button):not(.sp-account-btn),
body:not(.home):not(.wp-admin) .page-content a:not(.button):not(.sp-account-btn){
 color:#0866d9;
}
body:not(.home):not(.wp-admin) .button,
body:not(.home):not(.wp-admin) button:not(.sp-directory-preview-close),
body:not(.home):not(.wp-admin) input[type=submit]{
 border-radius:10px;
}

/* Breadcrumb benzeri eski satırlar */
body:not(.home):not(.wp-admin) .breadcrumbs,
body:not(.home):not(.wp-admin) .breadcrumb,
body:not(.home):not(.wp-admin) .rank-math-breadcrumb{
 width:min(var(--sp-layout-inner-max,1600px),calc(100% - (var(--sp-layout-edge,10px) * 2)));
 margin:14px auto 0;
 color:var(--sp-page-muted);
 font-size:12px;
}

/* Mobil */
@media(max-width:767px){
 body:not(.home):not(.wp-admin) .entry-header,
 body:not(.home):not(.wp-admin) .page-header{
  width:calc(100% - (var(--sp-layout-edge,10px) * 2));
  margin-top:0;
  padding:16px;
  border-radius:13px 13px 0 0;
 }
 body:not(.home):not(.wp-admin) .entry-header h1,
 body:not(.home):not(.wp-admin) .page-header h1,
 body:not(.home):not(.wp-admin) .entry-header .entry-title,
 body:not(.home):not(.wp-admin) .page-title{
  font-size:23px;
 }
 body:not(.home):not(.wp-admin) .entry-content,
 body:not(.home):not(.wp-admin) .page-content,
 body:not(.home):not(.wp-admin) article.page>.entry-content{
  width:calc(100% - (var(--sp-layout-edge,10px) * 2));
  padding:14px;
  margin-bottom:18px;
  border-radius:0 0 13px 13px;
  font-size:14px;
  line-height:1.65;
 }
 body:not(.home):not(.wp-admin) .breadcrumbs,
 body:not(.home):not(.wp-admin) .breadcrumb,
 body:not(.home):not(.wp-admin) .rank-math-breadcrumb{
  width:calc(100% - (var(--sp-layout-edge,10px) * 2));
  font-size:11px;
 }
 body:not(.home):not(.wp-admin) th,
 body:not(.home):not(.wp-admin) td{
  padding:9px 8px;
  font-size:12px;
 }
}

/* Koyu tema */
html[data-theme="dark"] body:not(.home):not(.wp-admin),
body[data-theme="dark"]:not(.home):not(.wp-admin),
.sp-dark body:not(.home):not(.wp-admin){
 --sp-page-bg:#0f1722;
 --sp-page-card:#16202d;
 --sp-page-line:#2b394a;
 --sp-page-text:#f8fafc;
 --sp-page-muted:#c3ccd7;
}
html[data-theme="dark"] body:not(.home):not(.wp-admin) .entry-content,
html[data-theme="dark"] body:not(.home):not(.wp-admin) .page-content,
body[data-theme="dark"]:not(.home):not(.wp-admin) .entry-content,
body[data-theme="dark"]:not(.home):not(.wp-admin) .page-content{
 background:#16202d;
 color:#f8fafc;
 border-color:#2b394a;
}
html[data-theme="dark"] body:not(.home):not(.wp-admin) input:not([type=checkbox]):not([type=radio]),
html[data-theme="dark"] body:not(.home):not(.wp-admin) select,
html[data-theme="dark"] body:not(.home):not(.wp-admin) textarea,
body[data-theme="dark"]:not(.home):not(.wp-admin) input:not([type=checkbox]):not([type=radio]),
body[data-theme="dark"]:not(.home):not(.wp-admin) select,
body[data-theme="dark"]:not(.home):not(.wp-admin) textarea{
 background:#101925;
 border-color:#344356;
 color:#fff;
}

/* İçerik Ekle / Detay sayfaları ortak görsel bütünlük katmanı. */
body:not(.home):not(.wp-admin) :is(.sp-unified-editor,.sp-unified-detail){
 --sp-content-ui-card:var(--sp-surface,#fff);
 --sp-content-ui-line:var(--sp-border,#e2e7ee);
 --sp-content-ui-text:var(--sp-text,#172033);
 --sp-content-ui-muted:var(--sp-muted,#667085);
 --sp-content-ui-primary:var(--sp-primary,#a51d31);
 --sp-content-ui-soft:color-mix(in srgb,var(--sp-content-ui-primary) 7%,var(--sp-content-ui-card));
 --sp-content-ui-radius:16px;
 color:var(--sp-content-ui-text);
 box-sizing:border-box;
}
body:not(.home):not(.wp-admin) :is(.sp-unified-editor,.sp-unified-detail) *{box-sizing:border-box}

/* Ekle / düzenle ekranları: Haber, Yazı, Firma, Seri İlan ve Etkinlik aynı ölçü ve kart dilini kullanır. */
body:not(.home):not(.wp-admin) .sp-account-main .sp-unified-editor{width:100%;max-width:var(--sp-layout-inner-max,1600px);margin:0 auto}
body:not(.home):not(.wp-admin) .sp-unified-editor>.sp-list-head,
body:not(.home):not(.wp-admin) .sp-unified-editor>.sp-news-editor-hero,
body:not(.home):not(.wp-admin) .sp-unified-editor-directory>h1{
 margin:0 0 14px!important;
 padding:18px 20px!important;
 border:1px solid var(--sp-content-ui-line)!important;
 border-radius:var(--sp-content-ui-radius)!important;
 background:var(--sp-content-ui-card)!important;
 color:var(--sp-content-ui-text)!important;
 box-shadow:0 4px 16px rgba(15,23,42,.04)!important;
}
body:not(.home):not(.wp-admin) .sp-unified-editor-directory>h1{font-size:22px!important;line-height:1.25!important}
body:not(.home):not(.wp-admin) .sp-unified-editor>.sp-list-head h1,
body:not(.home):not(.wp-admin) .sp-unified-editor>.sp-news-editor-hero h1{font-size:22px!important;color:var(--sp-content-ui-text)!important}
body:not(.home):not(.wp-admin) .sp-unified-editor>.sp-list-head p,
body:not(.home):not(.wp-admin) .sp-unified-editor>.sp-news-editor-hero p{color:var(--sp-content-ui-muted)!important;font-size:12px!important}
body:not(.home):not(.wp-admin) .sp-unified-editor :is(.sp-form-section,.sp-news-panel){
 margin:0 0 14px!important;
 padding:18px!important;
 border:1px solid var(--sp-content-ui-line)!important;
 border-radius:var(--sp-content-ui-radius)!important;
 background:var(--sp-content-ui-card)!important;
 box-shadow:0 4px 16px rgba(15,23,42,.035)!important;
}
body:not(.home):not(.wp-admin) .sp-unified-editor :is(.sp-form-section,.sp-news-panel) h2{font-size:15px!important;color:var(--sp-content-ui-text)!important}
body:not(.home):not(.wp-admin) .sp-unified-editor :is(.sp-form-note){color:var(--sp-content-ui-muted)!important;font-size:11px!important;line-height:1.55}
body:not(.home):not(.wp-admin) .sp-unified-editor .sp-account-btn,
body:not(.home):not(.wp-admin) .sp-unified-editor .sp-news-publish-open,
body:not(.home):not(.wp-admin) .sp-unified-editor .sp-news-final-form button{
 min-height:42px;border:0!important;border-radius:10px!important;background:var(--sp-content-ui-primary)!important;color:#fff!important;font-weight:800!important;
}
body:not(.home):not(.wp-admin) .sp-unified-editor .sp-secondary-btn,
body:not(.home):not(.wp-admin) .sp-unified-editor .sp-news-preview-btn{
 min-height:42px;border:1px solid color-mix(in srgb,var(--sp-content-ui-primary) 24%,var(--sp-content-ui-line))!important;border-radius:10px!important;background:var(--sp-content-ui-soft)!important;color:var(--sp-content-ui-primary)!important;font-weight:800!important;
}

/* Tekil içerik dış kabuğu: Ekle ekranlarındaki 1120px genişliği ve beyaz kart yapısı. */
body:is(.single-post,.single-sp_directory,.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-article-container{
 width:min(var(--sp-layout-inner-max,1600px),calc(100% - (var(--sp-layout-edge,10px) * 2)))!important;max-width:var(--sp-layout-inner-max,1600px)!important;margin:22px auto 36px!important;padding:0!important;
}
body.single-post:not(.home):not(.wp-admin) .sp-article-container>.sp-entry-header{
 width:100%!important;margin:0 0 14px!important;padding:18px 20px!important;border:1px solid var(--sp-content-ui-line,#e2e7ee)!important;border-radius:16px!important;background:var(--sp-content-ui-card,#fff)!important;color:var(--sp-content-ui-text,#172033)!important;box-shadow:0 4px 16px rgba(15,23,42,.04)!important;
}
body.single-post:not(.home):not(.wp-admin) .sp-entry-header h1{margin:3px 0 5px!important;color:var(--sp-content-ui-text,#172033)!important;font-size:clamp(24px,3vw,34px)!important;line-height:1.18!important;letter-spacing:-.025em}
body.single-post:not(.home):not(.wp-admin) .sp-entry-meta{color:var(--sp-content-ui-muted,#667085)!important;font-size:11px!important}

body.single-post:not(.home):not(.wp-admin) .sp-featured-image{overflow:hidden;margin:0 0 14px;border:1px solid var(--sp-content-ui-line,#e2e7ee);border-radius:16px;background:#eef2f6;box-shadow:0 4px 16px rgba(15,23,42,.035)}
body.single-post:not(.home):not(.wp-admin) .sp-featured-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}
body.single-post:not(.home):not(.wp-admin) .sp-entry-content{
 width:100%!important;margin:0!important;padding:20px!important;border:1px solid var(--sp-content-ui-line,#e2e7ee)!important;border-radius:16px!important;background:var(--sp-content-ui-card,#fff)!important;box-shadow:0 4px 16px rgba(15,23,42,.035)!important;color:var(--sp-content-ui-text,#172033)!important;
}

/* Firma / İlan / Etkinlik kendi detay başlıklarını kullandığı için WordPress'in ikinci başlığını gizle. */
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-article-container>.sp-entry-header{display:none!important}
body:is(.single-sp_directory,.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-entry-content{
 width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body.single-sp_directory:not(.home):not(.wp-admin) .sp-dir-webpage,
body.single-sp_classified:not(.home):not(.wp-admin) .sp-classified-single,
body.single-sp_event:not(.home):not(.wp-admin) .sp-event-single{width:100%!important;max-width:none!important;margin:0!important}

/* Detay başlıkları, ekle ekranının üst kartıyla aynı görünümde. */

/* Galeri, işlem çubuğu ve bilgi kutuları aynı radius / border / gölge sistemine alınır. */
body:is(.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-detail-gallery,
body.single-sp_directory:not(.home):not(.wp-admin) .sp-dir-web-hero{
 margin-bottom:14px!important;border:1px solid var(--sp-content-ui-line,#e2e7ee)!important;border-radius:16px!important;box-shadow:0 4px 16px rgba(15,23,42,.04)!important;
}

body:is(.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-dir-layout{gap:14px!important}
body:is(.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-dir-layout section{
 margin:0 0 14px!important;padding:18px!important;border:1px solid var(--sp-content-ui-line,#e2e7ee)!important;border-radius:16px!important;background:var(--sp-content-ui-card,#fff)!important;box-shadow:0 4px 16px rgba(15,23,42,.035)!important;
}
body:is(.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-dir-layout section h2{margin:0 0 12px!important;color:var(--sp-content-ui-text,#172033)!important;font-size:17px!important}
body:is(.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-dir-layout section p{color:var(--sp-content-ui-muted,#667085);line-height:1.65}

/* Haber / Yazı alt blokları da form panelleriyle aynı yüzey sistemini kullanır. */
body.single-post:not(.home):not(.wp-admin) :is(.sp-news-location,.sp-news-stats){
 border-color:var(--sp-content-ui-line,#e2e7ee)!important;border-radius:16px!important;background:var(--sp-content-ui-card,#fff)!important;box-shadow:0 4px 16px rgba(15,23,42,.035)!important;
}

@media(max-width:767px){
 body:not(.home):not(.wp-admin) .sp-unified-editor>.sp-list-head,
 body:not(.home):not(.wp-admin) .sp-unified-editor>.sp-news-editor-hero,
 body:not(.home):not(.wp-admin) .sp-unified-editor-directory>h1,
 body.single-post:not(.home):not(.wp-admin) .sp-article-container>.sp-entry-header{padding:14px!important;border-radius:13px!important}
 body:not(.home):not(.wp-admin) .sp-unified-editor :is(.sp-form-section,.sp-news-panel),
 body:is(.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-dir-layout section{padding:14px!important;border-radius:13px!important}
 body:is(.single-post,.single-sp_directory,.single-sp_classified,.single-sp_event):not(.home):not(.wp-admin) .sp-article-container{width:calc(100% - (var(--sp-layout-edge,10px) * 2))!important;margin:12px auto 24px!important}
 body.single-post:not(.home):not(.wp-admin) .sp-entry-content{padding:14px!important;border-radius:13px!important}
 
 
}

/* Koyu temada ortak kart yüzeyleri. */
html[data-theme="dark"] body:not(.home):not(.wp-admin) :is(.sp-unified-editor,.sp-unified-detail),
body[data-theme="dark"]:not(.home):not(.wp-admin) :is(.sp-unified-editor,.sp-unified-detail),
.sp-dark body:not(.home):not(.wp-admin) :is(.sp-unified-editor,.sp-unified-detail){
 --sp-content-ui-card:#16202d;--sp-content-ui-line:#2b394a;--sp-content-ui-text:#f8fafc;--sp-content-ui-muted:#c3ccd7;
}

/* Public sayfalarda ikinci başlık / modül açıklaması temizliği.
   Ana başlık korunur; ikincil açıklama, kicker ve tekrar eden başlık alanları sadeleştirilir. */
body:not(.home):not(.wp-admin) :is(.sp-page-title,.sp-module-title,.sp-list-head,.sp-detail-head,.sp-cpt-archive-head) > p,
body:not(.home):not(.wp-admin) :is(.sp-page-title,.sp-module-title,.sp-list-head,.sp-detail-head,.sp-cpt-archive-head) > div > p,
body:not(.home):not(.wp-admin) :is(.sp-page-title,.sp-module-title,.sp-list-head,.sp-detail-head,.sp-cpt-archive-head) .sp-subtitle,
body:not(.home):not(.wp-admin) :is(.sp-page-title,.sp-module-title,.sp-list-head,.sp-detail-head,.sp-cpt-archive-head) .sp-description,
body:not(.home):not(.wp-admin) .sp-account-content-kicker{
 display:none!important;
}
body:not(.home):not(.wp-admin) .sp-ui-duplicate-heading{display:none!important}

body:not(.home):not(.wp-admin) .sp-ui-action-only-secondary-head{justify-content:flex-end!important}

/* Tüm public sayfalarda ortak üst alan: breadcrumb + tek H1.
   Referans: Ana Sayfa › Firma Rehberi / Firma Rehberi. */
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap,.sp-article-container) > .sp-breadcrumbs:first-child{
  width:100%!important;
  margin:28px 0 18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#475467!important;
  font-size:13px!important;
  line-height:1.45!important;
}
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap,.sp-article-container) > .sp-breadcrumbs:first-child ol{
  gap:7px!important;
}
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap,.sp-article-container) > .sp-breadcrumbs:first-child a{
  color:#475467!important;
  font-weight:500!important;
}
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap,.sp-article-container) > .sp-breadcrumbs:first-child [aria-current="page"]{
  color:#101828!important;
  font-weight:800!important;
}

/* Birincil sayfa başlığı kart/gradient değil, referanstaki sade güçlü başlık olur. */
body:not(.home):not(.wp-admin) .sp-primary-page-title,
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > h1:first-of-type,
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > :is(.sp-archive-header,.sp-cpt-archive-head,.sp-list-head,.sp-page-title,.sp-module-title):first-of-type,
body:not(.home):not(.wp-admin) .sp-primary-page-head{
  margin-top:0!important;
}
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > h1:first-of-type,
body:not(.home):not(.wp-admin) .sp-primary-page-title{
  margin:0 0 28px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#101828!important;
  font-size:clamp(30px,3.1vw,40px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  font-weight:850!important;
}
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > :is(.sp-archive-header,.sp-cpt-archive-head,.sp-list-head,.sp-page-title,.sp-module-title):first-of-type,
body:not(.home):not(.wp-admin) .sp-primary-page-head{
  margin:0 0 28px!important;
  padding:0!important;
  min-height:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > :is(.sp-archive-header,.sp-cpt-archive-head,.sp-list-head,.sp-page-title,.sp-module-title):first-of-type h1,
body:not(.home):not(.wp-admin) .sp-primary-page-head h1{
  margin:0!important;
  padding:0!important;
  color:#101828!important;
  font-size:clamp(30px,3.1vw,40px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  font-weight:850!important;
}
/* 2.7.6.100 kuralıyla birlikte ana başlık altındaki açıklamalar gizli kalır. */
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > :is(.sp-archive-header,.sp-cpt-archive-head,.sp-list-head,.sp-page-title,.sp-module-title):first-of-type :is(p,.sp-subtitle,.sp-description){display:none!important}

/* Eski WordPress entry/page header kırmızı bloklarını da aynı sade üst yapıya getir. */
body:not(.home):not(.wp-admin) :is(.entry-header,.page-header):not(.sp-entry-header){
  width:min(var(--sp-layout-inner-max,1600px),calc(100% - (var(--sp-layout-edge,10px) * 2)))!important;
  margin:0 auto 28px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#101828!important;
}
body:not(.home):not(.wp-admin) :is(.entry-header,.page-header):not(.sp-entry-header) :is(h1,.entry-title,.page-title){
  color:#101828!important;
  font-size:clamp(30px,3.1vw,40px)!important;
  line-height:1.12!important;
  font-weight:850!important;
}

/* Başlıktan gerçek içerik başlangıcına dengeli boşluk. */
body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > .sp-breadcrumbs:first-child + :is(h1,.sp-archive-header,.sp-cpt-archive-head,.sp-list-head,.sp-page-title,.sp-module-title){
  margin-top:0!important;
}

@media(max-width:767px){
  body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap,.sp-article-container) > .sp-breadcrumbs:first-child{
    margin:18px 0 12px!important;
    font-size:11px!important;
  }
  body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > h1:first-of-type,
  body:not(.home):not(.wp-admin) .sp-primary-page-title,
  body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > :is(.sp-archive-header,.sp-cpt-archive-head,.sp-list-head,.sp-page-title,.sp-module-title):first-of-type h1,
  body:not(.home):not(.wp-admin) .sp-primary-page-head h1{
    font-size:28px!important;
    line-height:1.15!important;
  }
  body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > h1:first-of-type,
  body:not(.home):not(.wp-admin) .sp-primary-page-title,
  body:not(.home):not(.wp-admin) :is(.sp-page-inner,.sp-content-wrap) > :is(.sp-archive-header,.sp-cpt-archive-head,.sp-list-head,.sp-page-title,.sp-module-title):first-of-type,
  body:not(.home):not(.wp-admin) .sp-primary-page-head{
    margin-bottom:20px!important;
  }
}

