/* tn-haber-front */
.tn-haber-grid{display:grid;grid-template-columns:repeat(var(--tn-cols,3),minmax(0,1fr));gap:20px}.tn-haber-grid[data-columns="1"]{grid-template-columns:1fr}.tn-haber-grid[data-columns="2"]{grid-template-columns:repeat(2,1fr)}.tn-haber-grid[data-columns="3"]{grid-template-columns:repeat(3,1fr)}.tn-haber-grid[data-columns="4"]{grid-template-columns:repeat(4,1fr)}.tn-haber-card{background:#fff;border:1px solid #e5e5e5;border-radius:10px;overflow:hidden}.tn-haber-thumb img{width:100%;height:210px;object-fit:cover;display:block}.tn-haber-card-body{padding:15px}.tn-haber-card h3{margin:8px 0;font-size:20px}.tn-haber-badge{font-size:12px;background:#eee;padding:4px 8px;border-radius:20px}.tn-haber-slider{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.tn-haber-slider .tn-haber-card{min-width:min(82vw,380px);scroll-snap-align:start}@media(max-width:768px){.tn-haber-grid{grid-template-columns:1fr!important}}

.tn-source-box{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:12px 14px;border:1px solid #e3e6e8;border-radius:8px;background:#f7f8f9;line-height:1.35}.tn-source-logo{width:42px;height:42px;object-fit:contain;border-radius:6px;background:#fff}.tn-source-text{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.tn-source-label{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#d00000;font-weight:700}.tn-source-text strong{font-size:15px;color:#d00000}.tn-source-date{width:100%;font-size:12px;color:#6b7280}

.tn-haber-short-description{font-size:1.05rem;line-height:1.75;margin:0 0 18px}
.tn-haber-detail-wrap{margin:18px 0}
.tn-haber-detail-link{display:inline-block;padding:11px 18px;border-radius:6px;background:#1f2937;color:#fff!important;text-decoration:none;font-weight:700}
.tn-haber-detail-link:hover{opacity:.9;color:#fff!important}

/* Turhal Net kenar haberleri */
.tn-haber-sidebar-box{width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 3px 14px rgba(0,0,0,.06)}
.tn-haber-sidebar-title{margin:0;padding:14px 16px;background:#202020;border-left:5px solid #e00000;color:#fff!important;font-size:19px;line-height:1.25}
.tn-haber-sidebar-list{padding:4px 14px}
.tn-haber-sidebar-item{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #ececec}
.tn-haber-sidebar-item:last-child{border-bottom:0}
.tn-haber-sidebar-thumb{flex:0 0 92px;width:92px;height:72px;border-radius:7px;overflow:hidden;background:#eee}
.tn-haber-sidebar-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.tn-haber-sidebar-item:hover .tn-haber-sidebar-thumb img{transform:scale(1.05)}
.tn-haber-sidebar-content{min-width:0;flex:1}
.tn-haber-sidebar-source{display:block;margin-bottom:3px;color:#d00000;font-size:11px;font-weight:800;text-transform:uppercase;line-height:1.2}
.tn-haber-sidebar-content h4{margin:0!important;font-size:14px!important;line-height:1.35!important;font-weight:750}
.tn-haber-sidebar-content h4 a{color:#171717;text-decoration:none}
.tn-haber-sidebar-content h4 a:hover{color:#d00000}
.tn-haber-sidebar-content p{margin:5px 0 0!important;color:#666;font-size:12px;line-height:1.4}
@media(max-width:480px){.tn-haber-sidebar-thumb{flex-basis:82px;width:82px;height:66px}.tn-haber-sidebar-content p{display:none}}

.tn-source-logo-link,.tn-source-name-link{display:inline-flex;align-items:center;text-decoration:none}.tn-source-name-link:hover{text-decoration:underline}.tn-source-link{font-weight:700}

/* sp-polls */

.spp-list{display:grid;grid-template-columns:repeat(var(--spp-dcols,3),minmax(0,1fr));gap:16px}
.spp-poll{
  --spp-red:#d7192d;--spp-text:#172033;--spp-muted:#667085;--spp-line:#e2e8f0;
  position:relative;overflow:hidden;padding:18px;border:1px solid var(--spp-line);border-radius:16px;background:#fff;color:var(--spp-text);box-shadow:0 5px 18px rgba(15,23,42,.04)
}
.spp-cover{margin:-18px -18px 15px;aspect-ratio:16/6;overflow:hidden;background:#eef2f6}
.spp-cover img{width:100%;height:100%;object-fit:cover}
.spp-sponsored{display:inline-flex;margin-bottom:8px;padding:4px 8px;border-radius:999px;background:#fff3e8;color:#9a4d05;font-size:10px;font-weight:800}
.spp-head h3{margin:0;color:var(--spp-text);font-size:20px;line-height:1.25}
.spp-head i{display:block;width:42px;height:3px;margin:9px 0;border-radius:4px;background:var(--spp-red)}
.spp-head p{margin:0 0 14px;color:var(--spp-muted);font-size:13px;line-height:1.55}
.spp-question-public{margin:15px 0;padding:0;border:0}
.spp-question-public legend{width:100%;margin-bottom:9px;font-size:14px;font-weight:800;line-height:1.4}
.spp-options-public{display:grid;gap:8px}
.spp-public-option{
  position:relative;display:grid;grid-template-columns:auto 20px minmax(0,1fr);align-items:center;gap:9px;min-height:48px;padding:9px 11px;border:1px solid #e0e6ed;border-radius:11px;background:#fff;cursor:pointer;transition:.15s ease
}
.spp-public-option:hover{border-color:#c9d3df;background:#fbfcfe}
.spp-public-option img{grid-column:1/-1;width:100%;max-height:210px;object-fit:cover;border-radius:9px}
.spp-public-option input{position:absolute;opacity:0;pointer-events:none}
.spp-option-mark{width:18px;height:18px;border:2px solid #cbd5df;border-radius:50%;box-sizing:border-box}
.spp-public-option input[type=checkbox]+.spp-option-mark{border-radius:5px}
.spp-public-option input:checked+.spp-option-mark{border-color:var(--spp-red);background:var(--spp-red);box-shadow:inset 0 0 0 4px #fff}
.spp-option-label{font-size:13px;line-height:1.35}
.spp-option-label b{font-size:18px}
.spp-question-public textarea{width:100%;min-height:100px;padding:10px 12px;border:1px solid #d7dfe8;border-radius:10px;font-size:14px;box-sizing:border-box}
.spp-actions{display:flex;align-items:center;gap:10px;margin-top:14px}
.spp-actions button{min-height:40px;padding:8px 16px;border:0;border-radius:10px;background:var(--spp-red);color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.spp-actions button:disabled{opacity:.55;cursor:wait}
.spp-message{color:var(--spp-muted);font-size:12px}
.spp-results{margin-top:14px}
.spp-total{margin-bottom:12px;padding:9px 11px;border-radius:10px;background:#f6f8fb;font-size:12px;color:#475467}
.spp-result-row{margin:10px 0}
.spp-result-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:5px;font-size:12px}
.spp-result-label b{white-space:nowrap}.spp-result-label small{font-weight:500;color:var(--spp-muted)}
.spp-bar{height:9px;overflow:hidden;border-radius:999px;background:#eef2f6}
.spp-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#d7192d,#ef4760);transition:width .45s ease}
.spp-share{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid #edf1f5}
.spp-share button{padding:6px 8px;border:1px solid #dde4ec;border-radius:8px;background:#fff;color:#475467;font-size:10px;cursor:pointer}
.spp-style-mini{padding:13px}.spp-style-mini .spp-head h3{font-size:15px}.spp-style-mini .spp-head p,.spp-style-mini .spp-share{display:none}.spp-style-mini .spp-public-option{min-height:38px;padding:6px 8px}.spp-style-mini .spp-option-label{font-size:11px}
.spp-style-hero{padding:26px;background:linear-gradient(135deg,#9f1730,#c43049);color:#fff;border:0}.spp-style-hero .spp-head h3,.spp-style-hero .spp-head p,.spp-style-hero legend{color:#fff}.spp-style-hero .spp-public-option{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.25);color:#fff}.spp-style-hero .spp-option-mark{border-color:rgba(255,255,255,.65)}.spp-style-hero .spp-share{border-top-color:rgba(255,255,255,.2)}.spp-style-hero .spp-share button{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff}
.spp-style-result .spp-vote-form{display:none}
.spp-ratio-1-1{aspect-ratio:1/1}.spp-ratio-16-9{aspect-ratio:16/9}.spp-ratio-4-3{aspect-ratio:4/3}.spp-ratio-3-2{aspect-ratio:3/2}.spp-ratio-9-16{aspect-ratio:9/16}
@media(max-width:782px){.spp-poll{padding:14px;border-radius:13px}.spp-cover{margin:-14px -14px 13px}.spp-head h3{font-size:18px}.spp-public-option{min-height:46px}.spp-actions{align-items:flex-start;flex-direction:column}.spp-share{gap:5px}}

.spp-result-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.spp-result-card{padding:11px;border:1px solid #e1e7ef;border-radius:10px;background:#f9fbfd}.spp-result-card span{display:block;font-size:11px;color:#475467}.spp-result-card strong{display:block;margin-top:5px;font-size:19px;color:#172033}.spp-result-card small{display:block;margin-top:2px;color:#667085;font-size:9px}
.spp-pie-wrap{display:grid;grid-template-columns:150px minmax(0,1fr);gap:15px;align-items:center}.spp-pie{width:145px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative}.spp-pie:after{content:"";position:absolute;width:72%;height:72%;border-radius:50%;background:#fff}.spp-pie>span{position:relative;z-index:1;font-size:18px;font-weight:850;text-align:center}.spp-pie>span small{display:block;font-size:9px;color:#667085}.spp-pie-legend{display:grid;gap:6px}.spp-pie-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:7px;align-items:center;font-size:10px}.spp-pie-legend i{width:9px;height:9px;border-radius:3px}.spp-pie-legend b{font-size:10px}
@media(max-width:1024px){.spp-list{grid-template-columns:repeat(var(--spp-tcols,2),minmax(0,1fr))}}@media(max-width:782px){.spp-list{grid-template-columns:repeat(var(--spp-mcols,1),minmax(0,1fr))}.spp-pie-wrap{grid-template-columns:1fr}.spp-pie{margin:auto}.spp-result-cards{grid-template-columns:1fr}}

/* sp-advertising */
/* Alan bazlı responsive reklamlar */
.sp-ad-banner{position:relative;width:100%;max-width:100%;min-width:0;margin:10px auto;overflow:hidden;border-radius:12px;background:#f4f6f9}
.sp-ad-banner[hidden]{display:none!important}
.sp-ad-banner>a,.sp-ad-banner picture{display:block;width:100%}
.sp-ad-banner img{display:block;width:100%;max-width:100%;height:auto;object-fit:cover}
.sp-ad-sponsored{position:absolute;z-index:1;top:5px;right:6px;padding:3px 6px;border-radius:4px;background:rgba(15,23,42,.75);font-size:10px;line-height:1.3;color:#fff;pointer-events:none}
.sp-ad-admin-list,.sp-ad-user-list{display:grid;gap:12px}
.sp-ad-admin-card,.sp-ad-user-card{padding:16px;border:1px solid #dfe5ee;border-radius:12px;background:#fff}
.sp-ad-admin-card h3{font-size:16px;margin:0 0 6px;color:#17253f}
.sp-ad-admin-card p{font-size:12px;color:#52617b;margin:0 0 12px}
.sp-ad-admin-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;align-items:end}
.sp-ad-admin-fields label{display:grid;gap:4px;font-size:12px;font-weight:650}
.sp-ad-admin-fields input[type=number]{min-height:36px;width:100%;max-width:100%;box-sizing:border-box}
.sp-ad-admin-fields label.sp-ad-active{display:flex;align-items:center;gap:6px;padding:10px 0}
.sp-ad-management button{margin-top:14px}
.sp-ad-user-card{display:grid;gap:6px}
.sp-ad-user-card strong{font-size:16px}.sp-ad-user-card span{font-weight:600}.sp-ad-user-card small{color:#52617b}.sp-ad-user-card a{font-weight:700}
.sp-ad-dimensions,.sp-ad-total{margin:12px 0;padding:11px;border-radius:9px;background:#f4f7fc;color:#20304a;font-size:13px;font-weight:650}
@media(max-width:767px){.sp-ad-admin-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-ad-banner{border-radius:8px}}

/* İlk giriş manşet reklamı, ziyaretçi tarafından hemen kapatılabilir. */
.sp-welcome-ad-backdrop{position:fixed;inset:0;z-index:2147483000;background:rgba(10,15,27,.78);display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}
.sp-welcome-ad-dialog{position:relative;width:min(96vw,var(--sp-welcome-dw,900px));max-width:100%;max-height:calc(100dvh - 36px);display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px;background:#fff;border-radius:16px;box-shadow:0 24px 65px rgba(0,0,0,.4)}
.sp-welcome-ad-dialog .sp-ad-banner{margin:0;flex:0 1 auto;background:transparent;border-radius:10px;overflow:hidden}
.sp-welcome-ad-dialog .sp-ad-banner>a,.sp-welcome-ad-dialog .sp-ad-banner picture{display:block}
.sp-welcome-ad-dialog .sp-ad-banner img{display:block;width:100%;height:auto;max-height:min(var(--sp-welcome-dh,600px),calc(100dvh - 126px));object-fit:cover}
.sp-welcome-ad-dialog .sp-welcome-ad-close{position:absolute;top:-11px;right:-11px;z-index:5;width:42px;height:42px;background:#fff;border:2px solid #172033;border-radius:50%;color:#172033;font-size:29px;line-height:32px;font-weight:700;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.25)}
.sp-welcome-ad-dialog .sp-welcome-ad-dismiss{min-height:38px;border:0;border-radius:9px;background:#172033;color:#fff;font-size:13px;font-weight:700;cursor:pointer}
body.sp-welcome-ad-open{overflow:hidden!important}
@media(max-width:1023px){.sp-welcome-ad-dialog{width:min(96vw,var(--sp-welcome-tw,650px))}.sp-welcome-ad-dialog .sp-ad-banner img{max-height:min(var(--sp-welcome-th,500px),calc(100dvh - 126px))}}
@media(max-width:767px){.sp-welcome-ad-backdrop{padding:12px}.sp-welcome-ad-dialog{width:min(96vw,var(--sp-welcome-mw,340px));max-height:calc(100dvh - 24px);padding:9px}.sp-welcome-ad-dialog .sp-ad-banner img{max-height:min(var(--sp-welcome-mh,440px),calc(100dvh - 118px))}}

/* Aynı alanda yalnız etkin reklam görünür; JS yoksa ilk reklam gösterilir. */
.sp-ad-rotation{width:100%;max-width:100%;min-width:0;margin:0 auto}
.sp-ad-rotation[hidden]{display:none!important}
.sp-ad-rotation>.sp-ad-banner{margin:0 auto}
.sp-ad-rotation>.sp-ad-banner:not(:first-child){display:none}
.sp-ad-rotation[data-sp-ad-ready="1"]>.sp-ad-banner{display:none!important}
.sp-ad-rotation[data-sp-ad-ready="1"]>.sp-ad-banner.is-active{display:block!important}
/* Kare site giriş manşeti: ekran yüksekliği sınırlıyken bile 1:1 oran korunur. */
.sp-welcome-ad-dialog{width:min(94vw,var(--sp-welcome-dw,1000px),calc(100dvh - 110px));max-width:100%;max-height:calc(100dvh - 24px)}
.sp-welcome-ad-dialog .sp-ad-rotation{width:100%;aspect-ratio:1/1;overflow:hidden}
.sp-welcome-ad-dialog .sp-ad-banner,.sp-welcome-ad-dialog .sp-ad-banner>a,.sp-welcome-ad-dialog .sp-ad-banner picture{width:100%;height:100%}
.sp-welcome-ad-dialog .sp-ad-banner img{display:block;width:100%;height:100%;max-height:none;object-fit:cover}
@media(max-width:1023px){.sp-welcome-ad-dialog{width:min(94vw,var(--sp-welcome-tw,750px),calc(100dvh - 110px))}.sp-welcome-ad-dialog .sp-ad-banner img{max-height:none}}
@media(max-width:767px){.sp-welcome-ad-dialog{width:min(94vw,var(--sp-welcome-mw,350px),calc(100dvh - 100px))}.sp-welcome-ad-dialog .sp-ad-banner img{max-height:none}}

/* Reklam Alanı Ölçülerindeki cihaz ayarlarını gerçek yayına uygula.
   Width daima içerik konteyneriyle sınırlıdır; banner kesilmez/esnetilmez. */
.sp-ad-rotation[data-sp-ad-slot]{
  width:min(100%,var(--sp-ad-dw,100%));
  aspect-ratio:var(--sp-ad-dr, 6 / 1);
  height:auto;
  max-width:100%;
  position:relative;
  overflow:hidden;
}
.sp-ad-rotation[data-sp-ad-slot] > .sp-ad-banner{
  height:100%;width:100%;min-height:0;box-sizing:border-box;
}
.sp-ad-rotation[data-sp-ad-slot] > .sp-ad-banner > a,
.sp-ad-rotation[data-sp-ad-slot] > .sp-ad-banner picture{
  display:block;width:100%;height:100%;
}
.sp-ad-rotation[data-sp-ad-slot] > .sp-ad-banner img{
  display:block;width:100%;height:100%;max-height:100%;object-fit:contain;
}
@media (max-width:1023px){
  .sp-ad-rotation[data-sp-ad-slot]{width:min(100%,var(--sp-ad-tw,100%));aspect-ratio:var(--sp-ad-tr, 5 / 1)}
}
@media (max-width:767px){
  .sp-ad-rotation[data-sp-ad-slot]{width:min(100%,var(--sp-ad-mw,100%));aspect-ratio:var(--sp-ad-mr, 2 / 1)}
}
/* Giriş ekranında da yönetici ölçüleri geçerli; 1:1 yalnız varsayılan ölçüdür. */
.sp-welcome-ad-dialog .sp-ad-rotation[data-sp-ad-slot]{
  width:100%;
  aspect-ratio:var(--sp-ad-dr, 1 / 1);
  flex:0 1 auto;
  min-height:0;
}
@media (max-width:1023px){
  .sp-welcome-ad-dialog .sp-ad-rotation[data-sp-ad-slot]{aspect-ratio:var(--sp-ad-tr, 1 / 1)}
}
@media (max-width:767px){
  .sp-welcome-ad-dialog .sp-ad-rotation[data-sp-ad-slot]{aspect-ratio:var(--sp-ad-mr, 1 / 1)}
}

/* Ölçüler paneli — Tema Genel Görünüm ile aynı, kompakt üç cihaz kartı. */
.sp-ad-center .sp-ad-admin-fields > .sp-ad-dimension-devices{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.sp-ad-center .sp-ad-dimension-device{
  min-width:0;
  background:#f8fafc;
  padding:12px;
  border:1px solid #e1e7ef;
  border-radius:12px;
}
.sp-ad-center .sp-ad-dimension-device > strong{
  display:block;font-size:13px;color:#172033;margin-bottom:9px;
}
.sp-ad-center .sp-ad-dimension-controls{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
.sp-ad-center .sp-ad-dimension-controls label{
  font-size:11px;color:#344054;font-weight:700;
}
.sp-ad-center .sp-ad-dimension-controls input[type=number]{
  margin:0;width:100%;min-width:0;min-height:36px;border-radius:8px;
  border:1px solid #cad3df;background:#fff;color:#172033;
}
.sp-ad-center .sp-ad-size-preview{
  display:flex;align-items:center;justify-content:center;
  margin:12px auto 6px;
  width:min(100%,260px);max-height:170px;
  background:linear-gradient(125deg,#1e3046,#36516f);
  color:#fff;border:1px solid #203851;border-radius:7px;
  overflow:hidden;text-align:center;
}
.sp-ad-center .sp-ad-size-preview > span{
  font-size:10px;font-weight:800;letter-spacing:.035em;padding:5px;
}
.sp-ad-center .sp-ad-dimension-device > small{display:block;text-align:center;color:#667085;font-size:11px}
@media(max-width:980px){.sp-ad-center .sp-ad-admin-fields > .sp-ad-dimension-devices{grid-template-columns:1fr}}

/* Reklamı alanı dolduracak biçimde ortadan kırp.
   Örneğin 1200x250 görsel 1600x200 alana konulursa üst/alt taşan kısım kesilir;
   boşluk bırakarak bütünü küçültülmez. Esnetme yapılmaz. */
.sp-ad-rotation[data-sp-ad-slot] > .sp-ad-banner img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
  object-position:center center;
}
.sp-ad-rotation[data-sp-ad-slot][data-sp-ad-fit="contain"] > .sp-ad-banner img{
  object-fit:contain!important;
}
.sp-welcome-ad-dialog .sp-ad-rotation[data-sp-ad-slot] > .sp-ad-banner img{
  object-position:center center;
}
/* Görsel yerleşimi seçeneğini ölçü kartlarının altına yerleştir. */
.sp-ad-center .sp-ad-admin-fields > .sp-ad-image-fit-setting{
  grid-column:1/-1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  font-size:12px;
  font-weight:700;
  color:#263850;
}
.sp-ad-center .sp-ad-image-fit-setting select{
  width:min(100%,380px);
  min-height:38px;
  padding:7px 10px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#fff;
}
.sp-ad-center .sp-ad-image-fit-setting small{
  font-size:11px;
  font-weight:400;
  line-height:1.45;
  color:#637083;
}

/* HTML hidden özniteliği author CSS display:flex ile geçersiz kılınmasın. */
.sp-welcome-ad-backdrop[hidden]{display:none!important}
.sp-ad-welcome-status{padding:12px 14px;margin:12px 0;border:1px solid #d5e1ea;border-radius:10px;background:#f8fafc;color:#243447;font-size:12px}
.sp-ad-welcome-status strong{display:block;font-size:14px;margin:0 0 6px}
.sp-ad-welcome-status p{margin:6px 0;line-height:1.5}
.sp-ad-welcome-warning{color:#9a3412}
.sp-ad-welcome-ok{color:#166534}

/* Giriş manşeti, kaydırmadan ve header konumundan bağımsız,
   cihaz ekranının YATAY + DİKEY TAM ORTASINDA görüntülenir.
   Kare yaratılan alan gerekirse yalnızca ekrana sığacak kadar küçülür. */
html body .sp-welcome-ad-backdrop:not([hidden]){
  position:fixed!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;
  place-items:center!important;
  align-content:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:14px!important;
  transform:none!important;
  overflow:auto;
  z-index:2147483000!important;
}
html body .sp-welcome-ad-backdrop > .sp-welcome-ad-dialog{
  position:relative!important;
  inset:auto!important;
  box-sizing:border-box!important;
  justify-self:center!important;
  align-self:center!important;
  margin:auto!important;
  padding:10px!important;
  flex:initial!important;
  width:min(var(--sp-welcome-dw,1000px),calc(100vw - 32px),calc(100dvh - 116px))!important;
  max-width:100%!important;
  min-width:0!important;
  max-height:calc(100dvh - 28px)!important;
  transform:none!important;
}
html body .sp-welcome-ad-dialog > .sp-ad-rotation[data-sp-ad-slot]{
  flex:0 0 auto!important;
  aspect-ratio:var(--sp-ad-dr,1 / 1)!important;
  width:100%!important;
  max-width:100%!important;
}
html body .sp-welcome-ad-dialog > .sp-welcome-ad-dismiss{flex:0 0 auto!important}
@media(max-width:1023px){
  html body .sp-welcome-ad-backdrop > .sp-welcome-ad-dialog{
    width:min(var(--sp-welcome-tw,750px),calc(100vw - 32px),calc(100dvh - 116px))!important;
  }
  html body .sp-welcome-ad-dialog > .sp-ad-rotation[data-sp-ad-slot]{aspect-ratio:var(--sp-ad-tr,1 / 1)!important}
}
@media(max-width:767px){
  html body .sp-welcome-ad-backdrop{padding:12px!important}
  html body .sp-welcome-ad-backdrop > .sp-welcome-ad-dialog{
    width:min(var(--sp-welcome-mw,350px),calc(100vw - 28px),calc(100dvh - 106px))!important;
  }
  html body .sp-welcome-ad-dialog > .sp-ad-rotation[data-sp-ad-slot]{aspect-ratio:var(--sp-ad-mr,1 / 1)!important}
}

/* sp-style */
/*
Theme Name: Şehir Portalı
Theme URI: https://www.turhalnet.com/
Author: Turhal Net
Description: Yerel yayınlar ve şehir portalları için modern, modüler ve yönetilebilir WordPress teması. Haber & RSS, firma rehberi, seri ilanlar, etkinlikler, kent bilgi ve mobil uyumu tek yapıda sunar.
Version: 1.0.28
Requires at least: 6.5
Requires PHP: 8.0
Tags: news, blog, custom-logo, custom-menu, featured-images, right-sidebar, theme-options
Text Domain: sehir-portali
*/

:root {
  --sp-primary: #d71920;
  --sp-secondary: #123a63;
  --sp-bg: #f6f7f9;
  --sp-surface: #ffffff;
  --sp-text: #1c2430;
  --sp-muted: #6b7280;
  --sp-border: #e5e7eb;
  --sp-radius: 16px;
  --sp-container: var(--sp-layout-inner-max, 1600px);
  --sp-header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sp-bg); color: var(--sp-text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
img, video, iframe { max-width: 100%; height: auto; }
.sp-container { width: min(calc(100% - 20px), var(--sp-container)); margin-inline: auto; }
.sp-site-main { min-height: 60vh; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.sp-featured-badge{position:absolute;top:12px;left:12px;z-index:2;background:var(--sp-primary);color:#fff;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.sp-card-media{position:relative}.sp-form-note{padding:12px 14px;border:1px solid var(--sp-border);border-radius:12px;background:var(--sp-surface)}

/* Faz 10A — Açık / Koyu Tema */
:root,
html[data-sp-theme="light"] {
  --sp-bg: #f6f7f9;
  --sp-surface: #ffffff;
  --sp-text: #1c2430;
  --sp-muted: #6b7280;
  --sp-border: #e5e7eb;
  --sp-elevated: #ffffff;
  --sp-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
html[data-sp-theme="dark"] {
  --sp-bg: #0f141b;
  --sp-surface: #171e27;
  --sp-text: #f3f6fa;
  --sp-muted: #a9b4c2;
  --sp-border: #2a3442;
  --sp-elevated: #1c2530;
  --sp-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}
html[data-sp-theme="dark"] body,
html[data-sp-theme="dark"] .sp-site-main { background: var(--sp-bg); color: var(--sp-text); }
html[data-sp-theme="dark"] .sp-header,
html[data-sp-theme="dark"] .sp-footer,
html[data-sp-theme="dark"] .sp-card,
html[data-sp-theme="dark"] .sp-form-note,
html[data-sp-theme="dark"] .sp-account-panel{ background-color: var(--sp-surface); color: var(--sp-text); border-color: var(--sp-border); }
html[data-sp-theme="dark"] input,
html[data-sp-theme="dark"] textarea,
html[data-sp-theme="dark"] select { background: var(--sp-elevated); color: var(--sp-text); border-color: var(--sp-border); }
html[data-sp-theme="dark"] a { color: inherit; }
.sp-theme-toggle { display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--sp-border);border-radius:12px;background:var(--sp-surface);color:var(--sp-text);cursor:pointer;font:inherit;line-height:1; }
.sp-theme-toggle:hover { transform:translateY(-1px); box-shadow:var(--sp-shadow); }
.sp-theme-toggle-icon { font-size:18px; }
@media (max-width: 767px) { .sp-theme-toggle { width:38px;height:38px;border-radius:11px; } }

/* Faz 10D.1 - PWA install UI */
.sp-pwa-install{
  position:fixed; right:16px; bottom:86px; z-index:99990;
  display:flex; align-items:center; gap:8px;
  border:0; border-radius:999px; padding:11px 16px;
  background:var(--sp-primary,#c1121f); color:#fff;
  font:inherit; font-weight:700; box-shadow:0 10px 28px rgba(0,0,0,.20);
  cursor:pointer;
}
.sp-pwa-install[hidden]{display:none!important}
.sp-pwa-ios-help{
  position:fixed; left:16px; right:16px; bottom:92px; z-index:99991;
  max-width:420px; margin:0 auto; padding:18px 44px 18px 18px;
  border-radius:18px; background:var(--sp-card,#fff); color:var(--sp-text,#111);
  box-shadow:0 18px 48px rgba(0,0,0,.25); border:1px solid rgba(127,127,127,.2);
}
.sp-pwa-ios-help[hidden]{display:none!important}
.sp-pwa-ios-help p{margin:6px 0 0}
.sp-pwa-ios-close{
  position:absolute; top:8px; right:10px; border:0; background:transparent;
  color:inherit; font-size:25px; cursor:pointer;
}
@media (min-width: 783px){
  .sp-pwa-install{bottom:24px}
}

/* Faz 11D.1 — PWA yükleme butonu / AI Asistan çakışma düzeltmesi */
.sp-ai-chat{
  right:20px;
  bottom:20px;
}
.sp-pwa-install{
  right:16px;
  bottom:86px;
}
.sp-pwa-ios-help{
  bottom:92px;
}
@media (max-width:767px){
  .sp-ai-chat{
    right:12px;
    bottom:calc(102px + env(safe-area-inset-bottom));
  }
  .sp-pwa-install{
    right:12px;
    bottom:calc(146px + env(safe-area-inset-bottom));
  }
  .sp-pwa-ios-help{
    bottom:calc(146px + env(safe-area-inset-bottom));
  }
  .sp-ai-panel{
    bottom:78px;
    max-height:calc(100vh - 210px);
  }
}

/* Tüm çoklu sayfalarda ortak sayfa sonu görünümü. */
.sp-portal-pagination-list ul,
.sp-news-pagination ul,
.sp-pl-pagination ul,
.navigation.pagination .nav-links{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  flex-wrap:wrap!important;
  list-style:none!important;
  margin:24px 0 4px!important;
  padding:0!important;
}
.sp-portal-pagination-list li,
.sp-news-pagination li,
.sp-pl-pagination li{margin:0!important;padding:0!important}
.sp-portal-pagination-list .page-numbers,
.sp-news-pagination .page-numbers,
.sp-pl-pagination .page-numbers,
.navigation.pagination .page-numbers{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:38px!important;
  height:38px!important;
  padding:0 9px!important;
  border:1px solid var(--sp-border,#e1e7ee)!important;
  border-radius:4px!important;
  background:var(--sp-surface,#fff)!important;
  color:var(--sp-text,#1c2430)!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:none!important;
}
.sp-portal-pagination-list a.page-numbers:hover,
.sp-news-pagination a.page-numbers:hover,
.sp-pl-pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:hover{
  border-color:var(--sp-primary,#d71920)!important;
  color:var(--sp-primary,#d71920)!important;
}
.sp-portal-pagination-list .page-numbers.current,
.sp-news-pagination .page-numbers.current,
.sp-pl-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current{
  background:var(--sp-primary,#d71920)!important;
  border-color:var(--sp-primary,#d71920)!important;
  color:#fff!important;
}
.sp-portal-pagination-list .page-numbers.dots,
.sp-news-pagination .page-numbers.dots,
.sp-pl-pagination .page-numbers.dots,
.navigation.pagination .page-numbers.dots{
  min-width:24px!important;
  padding:0 3px!important;
  border-color:transparent!important;
  background:transparent!important;
  color:var(--sp-muted,#6b7280)!important;
}
.sp-portal-pagination-list .prev,.sp-portal-pagination-list .next,
.sp-news-pagination .prev,.sp-news-pagination .next,
.sp-pl-pagination .prev,.sp-pl-pagination .next,
.navigation.pagination .prev,.navigation.pagination .next{
  font-size:20px!important;
  font-weight:500!important;
}
@media(max-width:700px){
  .sp-portal-pagination-list ul,.sp-news-pagination ul,.sp-pl-pagination ul,.navigation.pagination .nav-links{gap:4px!important;margin-top:18px!important}
  .sp-portal-pagination-list .page-numbers,.sp-news-pagination .page-numbers,.sp-pl-pagination .page-numbers,.navigation.pagination .page-numbers{min-width:34px!important;height:34px!important;padding:0 7px!important;font-size:12px!important}
}

/* Kesin ortak çoklu sayfa sayfalaması.
   Tüm public listelemelerde sayfa numaraları yatay, ortalı ve tek satır akışında.
   Tema/eklenti eski ul/li kuralları !important ile etkisizleştirilir. */
:where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .sp-historic-pagination,
  .sp-natural-pagination,
  .sp-death-pagination,
  .navigation.pagination,
  .pagination.navigation,
  .wp-block-query-pagination,
  .page-links
){
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  width:100%!important;
  margin:24px auto 6px!important;
  padding:0!important;
  clear:both!important;
  float:none!important;
  text-align:center!important;
}

:where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .navigation.pagination,
  .pagination.navigation
) > :where(ul.page-numbers,.nav-links){
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

:where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .navigation.pagination,
  .pagination.navigation
) :where(ul.page-numbers>li,.nav-links>li){
  display:block!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  list-style:none!important;
}

/* Tarihî/Doğal rehber sayfalamasında linkleri saran span'lar satır kırmaz. */
:where(.sp-portal-pagination,.sp-historic-pagination,.sp-natural-pagination) > span{
  display:contents!important;
}

:where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .sp-historic-pagination,
  .sp-natural-pagination,
  .navigation.pagination,
  .pagination.navigation,
  .page-links
) :where(a.page-numbers,span.page-numbers,a.post-page-numbers,span.post-page-numbers),
.page-links > a,
.page-links > span:not(:first-child){
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:40px!important;
  height:40px!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid var(--sp-border,#d9e1ea)!important;
  border-radius:9px!important;
  background:var(--sp-surface,#fff)!important;
  color:var(--sp-text,#344054)!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1!important;
  box-shadow:none!important;
}

:where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .sp-historic-pagination,
  .sp-natural-pagination,
  .navigation.pagination,
  .pagination.navigation,
  .page-links
) :where(a.page-numbers:hover,a.post-page-numbers:hover),
.page-links > a:hover{
  border-color:var(--sp-primary,#b51f35)!important;
  color:var(--sp-primary,#b51f35)!important;
}

:where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .sp-historic-pagination,
  .sp-natural-pagination,
  .navigation.pagination,
  .pagination.navigation,
  .page-links
) :where(.page-numbers.current,.post-page-numbers.current),
.page-links > .current{
  background:var(--sp-primary,#b51f35)!important;
  border-color:var(--sp-primary,#b51f35)!important;
  color:#fff!important;
}

:where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .sp-historic-pagination,
  .sp-natural-pagination,
  .navigation.pagination,
  .pagination.navigation
) .page-numbers.dots{
  min-width:20px!important;
  padding:0 2px!important;
  border-color:transparent!important;
  background:transparent!important;
  color:var(--sp-muted,#667085)!important;
}

:where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .sp-historic-pagination,
  .sp-natural-pagination,
  .navigation.pagination,
  .pagination.navigation
) :where(.page-numbers.prev,.page-numbers.next){
  min-width:auto!important;
  padding-inline:12px!important;
}

@media(max-width:700px){
  :where(
    .sp-news-pagination,
    .sp-pl-pagination,
    .sp-dir-pagination,
    .sp-portal-pagination,
    .sp-historic-pagination,
    .sp-natural-pagination,
    .sp-death-pagination,
    .navigation.pagination,
    .pagination.navigation,
    .wp-block-query-pagination,
    .page-links
  ){
    gap:7px!important;
    margin-top:18px!important;
  }
  :where(
    .sp-news-pagination,
    .sp-pl-pagination,
    .sp-dir-pagination,
    .sp-portal-pagination,
    .sp-historic-pagination,
    .sp-natural-pagination,
    .navigation.pagination,
    .pagination.navigation,
    .page-links
  ) :where(a.page-numbers,span.page-numbers,a.post-page-numbers,span.post-page-numbers),
  .page-links > a,
  .page-links > span:not(:first-child){
    min-width:38px!important;
    height:38px!important;
    padding:0 10px!important;
    font-size:13px!important;
  }
}

/* Şehir Portalı Yönetim Merkezi: Sayfa Düzenleme ayrı ana modül/kart. */

/* Sayfalama kesin yatay düzen.
   Tarihî/Doğal ve diğer tüm public sayfalama çıktılarında aracı span/ul/li
   elemanlarının tema tarafından 100% genişliğe zorlanmasını engeller. */
.sp-site-main :where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .sp-historic-pagination,
  .sp-natural-pagination,
  .sp-death-pagination,
  nav.navigation.pagination,
  .pagination.navigation,
  .wp-block-query-pagination,
  .page-links
){
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:24px auto 6px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.sp-site-main :where(.sp-news-pagination,.sp-pl-pagination,.sp-dir-pagination,.sp-portal-pagination,nav.navigation.pagination,.pagination.navigation) :where(ul,ol,.nav-links){
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  list-style:none!important;
}
.sp-site-main :where(.sp-news-pagination,.sp-pl-pagination,.sp-dir-pagination,.sp-portal-pagination,nav.navigation.pagination,.pagination.navigation) :where(li){
  display:block!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  float:none!important;
}
.sp-site-main :where(.sp-portal-pagination,.sp-historic-pagination,.sp-natural-pagination) > span:not(.page-numbers){
  display:contents!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.sp-site-main :where(
  .sp-news-pagination,
  .sp-pl-pagination,
  .sp-dir-pagination,
  .sp-portal-pagination,
  .sp-historic-pagination,
  .sp-natural-pagination,
  nav.navigation.pagination,
  .pagination.navigation,
  .page-links
) :where(a.page-numbers,span.page-numbers,a.post-page-numbers,span.post-page-numbers),
.sp-site-main .page-links > a,
.sp-site-main .page-links > span:not(:first-child){
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:40px!important;
  max-width:none!important;
  height:40px!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid var(--sp-border,#d9e1ea)!important;
  border-radius:9px!important;
  background:var(--sp-surface,#fff)!important;
  color:var(--sp-text,#344054)!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1!important;
  box-shadow:none!important;
}
.sp-site-main :where(.sp-news-pagination,.sp-pl-pagination,.sp-dir-pagination,.sp-portal-pagination,.sp-historic-pagination,.sp-natural-pagination,nav.navigation.pagination,.pagination.navigation,.page-links) :where(.page-numbers.current,.post-page-numbers.current),
.sp-site-main .page-links > .current{
  background:var(--sp-primary,#b51f35)!important;
  border-color:var(--sp-primary,#b51f35)!important;
  color:#fff!important;
}
@media(max-width:700px){
  .sp-site-main :where(.sp-news-pagination,.sp-pl-pagination,.sp-dir-pagination,.sp-portal-pagination,.sp-historic-pagination,.sp-natural-pagination,nav.navigation.pagination,.pagination.navigation,.page-links){gap:7px!important}
  .sp-site-main :where(.sp-news-pagination,.sp-pl-pagination,.sp-dir-pagination,.sp-portal-pagination,.sp-historic-pagination,.sp-natural-pagination,nav.navigation.pagination,.pagination.navigation,.page-links) :where(a.page-numbers,span.page-numbers,a.post-page-numbers,span.post-page-numbers),
  .sp-site-main .page-links > a,.sp-site-main .page-links > span:not(:first-child){min-width:38px!important;height:38px!important;padding:0 10px!important;font-size:13px!important}
}

/* TEMA GENELİ ZORUNLU 1600PX */
:root{--sp-site-max-width:var(--sp-layout-inner-max,1600px);--sp-site-edge:var(--sp-layout-edge,10px)}
body:not(.wp-admin) .container,
body:not(.wp-admin) .container-fluid,
body:not(.wp-admin) .site-container,
body:not(.wp-admin) .page-container,
body:not(.wp-admin) .site-content,
body:not(.wp-admin) .content-area,
body:not(.wp-admin) #content,
body:not(.wp-admin) #primary,
body:not(.wp-admin) main.site-main,
body:not(.wp-admin) .elementor-section.elementor-section-boxed>.elementor-container,
body:not(.wp-admin) .e-con.e-con-boxed>.e-con-inner,
body:not(.wp-admin) #sp-hb-modules,
body:not(.wp-admin) .sp-home-builder,
body:not(.wp-admin) .sp-inner-page-builder,
body:not(.wp-admin) .sp-inner-page-wrap,
body:not(.wp-admin) .sp-ipb-public,
body:not(.wp-admin) .sp-news-page-shell,
body:not(.wp-admin) .sp-writing-page-shell,
body:not(.wp-admin) .sp-portal-listing-shell{
 width:calc(100% - (var(--sp-layout-edge,10px) * 2))!important;
 max-width:var(--sp-layout-inner-max,1600px)!important;
 margin-left:auto!important;margin-right:auto!important;
 box-sizing:border-box!important
}
/* İç içe container ikinci kez daraltmasın */
body:not(.wp-admin) .container .container,
body:not(.wp-admin) .site-content .container,
body:not(.wp-admin) #primary .container,
body:not(.wp-admin) .sp-inner-page-builder .container,
body:not(.wp-admin) .sp-ipb-public .container,
body:not(.wp-admin) #sp-hb-modules .container{
 width:100%!important;max-width:100%!important;
 margin-left:0!important;margin-right:0!important
}
/* Full-width Elementor zemininde içerik yine 1600px */
body:not(.wp-admin) .elementor-section.elementor-section-full_width>.elementor-container{
 width:calc(100% - (var(--sp-layout-edge,10px) * 2))!important;max-width:var(--sp-layout-inner-max,1600px)!important;
 margin-left:auto!important;margin-right:auto!important
}
/* Portal içerikleri kenarlıkla aynı hizada */
body:not(.wp-admin) #sp-hb-modules,
body:not(.wp-admin) .sp-inner-page-builder,
body:not(.wp-admin) .sp-inner-page-wrap,
body:not(.wp-admin) .sp-ipb-public{
 padding-left:0!important;padding-right:0!important
}
@media(max-width:1620px){
 body:not(.wp-admin) .container,
 body:not(.wp-admin) .container-fluid,
 body:not(.wp-admin) .site-container,
 body:not(.wp-admin) .page-container,
 body:not(.wp-admin) .site-content,
 body:not(.wp-admin) .content-area,
 body:not(.wp-admin) #content,
 body:not(.wp-admin) #primary,
 body:not(.wp-admin) main.site-main,
 body:not(.wp-admin) #sp-hb-modules,
 body:not(.wp-admin) .sp-home-builder,
 body:not(.wp-admin) .sp-inner-page-builder,
 body:not(.wp-admin) .sp-inner-page-wrap,
 body:not(.wp-admin) .sp-ipb-public{
  width:calc(100% - (var(--sp-layout-edge,10px) * 2))!important;max-width:calc(100% - (var(--sp-layout-edge,10px) * 2))!important
 }
}

/* ============================================================
 * WEB ARAYÜZÜ GERÇEK / ZORUNLU 1600PX
 * Parent container genişliği ne olursa olsun ana içerik viewport
 * üzerinden 1600px'e kadar açılır. 10px dış kenar korunur.
 * ============================================================ */
:root{
  --sp-container:var(--sp-layout-inner-max,1600px)!important;
  --sp-site-max-width:var(--sp-layout-inner-max,1600px)!important;
}

/* Temanın asıl ana genişlik kaynağı */
body:not(.wp-admin) .sp-site-main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
  overflow:visible!important;
}

/* Tüm standart tema sayfa kabukları */
body:not(.wp-admin) .sp-site-main > .sp-container,
body:not(.wp-admin) .sp-site-main .sp-container,
body:not(.wp-admin) .sp-content-wrap,
body:not(.wp-admin) .sp-page-inner,
body:not(.wp-admin) .sp-article-container,
body:not(.wp-admin) .sp-writing-category-shell,
body:not(.wp-admin) .sp-module-page-canvas,
body:not(.wp-admin) .sp-theme-content-shell,
body:not(.wp-admin) .sp-historic-index > .sp-container,
body:not(.wp-admin) .sp-historic-single > .sp-container,
body:not(.wp-admin) .sp-natural-index > .sp-container,
body:not(.wp-admin) .sp-natural-single > .sp-container,
body:not(.wp-admin) #sp-hb-modules,
body:not(.wp-admin) .sp-home-builder,
body:not(.wp-admin) .sp-inner-page-builder,
body:not(.wp-admin) .sp-inner-page-wrap,
body:not(.wp-admin) .sp-ipb-public,
body:not(.wp-admin) .sp-news-page-shell,
body:not(.wp-admin) .sp-writing-page-shell,
body:not(.wp-admin) .sp-portal-listing-shell{
  width:min(var(--sp-layout-inner-max,1600px),calc(100vw - (var(--sp-layout-edge,10px) * 2)))!important;
  max-width:var(--sp-layout-inner-max,1600px)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* WordPress / Listeo tarafında dış wrapper daraltmasını etkisizleştir */
body:not(.wp-admin) #content,
body:not(.wp-admin) #primary,
body:not(.wp-admin) .content-area,
body:not(.wp-admin) .site-content{
  max-width:none!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Elementor kutulu içerik de 1600px standardına uysun */
body:not(.wp-admin) .elementor-section.elementor-section-boxed>.elementor-container,
body:not(.wp-admin) .elementor-section.elementor-section-full_width>.elementor-container,
body:not(.wp-admin) .e-con.e-con-boxed>.e-con-inner{
  width:min(var(--sp-layout-inner-max,1600px),calc(100vw - (var(--sp-layout-edge,10px) * 2)))!important;
  max-width:var(--sp-layout-inner-max,1600px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* İç içe sp-container tekrar viewport genişliğine çıkmasın */
body:not(.wp-admin) .sp-container .sp-container{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Mobil/tablet: ekran genişliği - 20px */
@media(max-width:1620px){
  body:not(.wp-admin) .sp-site-main > .sp-container,
  body:not(.wp-admin) .sp-content-wrap,
  body:not(.wp-admin) .sp-page-inner,
  body:not(.wp-admin) .sp-article-container,
  body:not(.wp-admin) .sp-writing-category-shell,
  body:not(.wp-admin) .sp-module-page-canvas,
  body:not(.wp-admin) #sp-hb-modules,
  body:not(.wp-admin) .sp-inner-page-builder,
  body:not(.wp-admin) .sp-ipb-public,
  body:not(.wp-admin) .sp-historic-index > .sp-container,
  body:not(.wp-admin) .sp-natural-index > .sp-container{
    width:calc(100vw - (var(--sp-layout-edge,10px) * 2))!important;
    max-width:calc(100vw - (var(--sp-layout-edge,10px) * 2))!important;
  }
}

/* ================================================================
 * MERKEZİ / ZORUNLU 1600PX SAYFA KABUĞU
 * Bütün frontend sayfa ve kategori türleri için TEK standart.
 * ================================================================ */
html body.sp-force-1600{
  --sp-page-max:var(--sp-layout-inner-max,1600px)!important;
  --sp-page-edge:var(--sp-layout-edge,10px)!important;
  overflow-x:hidden!important;
}

/* Dış temanın genişlik kısıtlarını tamamen kaldır */
html body.sp-force-1600 #page,
html body.sp-force-1600 .site,
html body.sp-force-1600 .site-wrapper,
html body.sp-force-1600 .main-wrapper,
html body.sp-force-1600 .wrapper,
html body.sp-force-1600 #content,
html body.sp-force-1600 .site-content,
html body.sp-force-1600 #primary,
html body.sp-force-1600 .content-area,
html body.sp-force-1600 main.site-main,
html body.sp-force-1600 .sp-site-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  flex:0 0 100%!important;
  box-sizing:border-box!important;
}

/* Merkezi kabuk: bütün işaretlenmiş frontend içerikleri */
html body.sp-force-1600 .sp-shell-1600,
html body.sp-force-1600.sp-page-shell-1600 > .sp-shell-1600{
  width:min(var(--sp-page-max),calc(100vw - (var(--sp-page-edge) * 2)))!important;
  max-width:var(--sp-page-max)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Sayfa türü fark etmeksizin bilinen ana kabuklar da doğrudan kilitli */
html body.sp-force-1600 .sp-container,
html body.sp-force-1600 .container,
html body.sp-force-1600 .page-container,
html body.sp-force-1600 .site-container,
html body.sp-force-1600 .sp-content-wrap,
html body.sp-force-1600 .sp-page-inner,
html body.sp-force-1600 .sp-article-container,
html body.sp-force-1600 .sp-theme-content-shell,
html body.sp-force-1600 .sp-writing-category-shell,
html body.sp-force-1600 .sp-module-page-canvas,
html body.sp-force-1600 .sp-news-page-shell,
html body.sp-force-1600 .sp-writing-page-shell,
html body.sp-force-1600 .sp-portal-listing-shell,
html body.sp-force-1600 .sp-inner-page-builder,
html body.sp-force-1600 .sp-inner-page-wrap,
html body.sp-force-1600 .sp-ipb-public,
html body.sp-force-1600 #sp-hb-modules,
html body.sp-force-1600 .sp-home-builder{
  width:min(var(--sp-layout-inner-max,1600px),calc(100vw - (var(--sp-layout-edge,10px) * 2)))!important;
  max-width:var(--sp-layout-inner-max,1600px)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* İç içe kabuk tekrar daraltamaz */
html body.sp-force-1600 .sp-shell-1600 .sp-shell-1600,
html body.sp-force-1600 .sp-container .sp-container,
html body.sp-force-1600 .container .container,
html body.sp-force-1600 .sp-shell-1600 .container{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Bootstrap/Listeo kolon sistemi ana kabuğu daraltamaz */
html body.sp-force-1600 #primary[class*="col-"],
html body.sp-force-1600 .content-area[class*="col-"],
html body.sp-force-1600 main.site-main[class*="col-"]{
  width:100%!important;
  max-width:100%!important;
  flex:0 0 100%!important;
}

/* Elementor */
html body.sp-force-1600 .elementor-section.elementor-section-boxed>.elementor-container,
html body.sp-force-1600 .elementor-section.elementor-section-full_width>.elementor-container,
html body.sp-force-1600 .e-con.e-con-boxed>.e-con-inner{
  width:min(var(--sp-layout-inner-max,1600px),calc(100vw - (var(--sp-layout-edge,10px) * 2)))!important;
  max-width:var(--sp-layout-inner-max,1600px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* 1620 altı ekranlarda doğal responsive davranış */
@media(max-width:1620px){
  html body.sp-force-1600 .sp-shell-1600,
  html body.sp-force-1600 .sp-container,
  html body.sp-force-1600 .container,
  html body.sp-force-1600 .sp-content-wrap,
  html body.sp-force-1600 .sp-page-inner,
  html body.sp-force-1600 .sp-article-container,
  html body.sp-force-1600 .sp-writing-category-shell,
  html body.sp-force-1600 .sp-module-page-canvas,
  html body.sp-force-1600 .sp-news-page-shell,
  html body.sp-force-1600 .sp-writing-page-shell,
  html body.sp-force-1600 .sp-portal-listing-shell,
  html body.sp-force-1600 .sp-inner-page-builder,
  html body.sp-force-1600 .sp-ipb-public,
  html body.sp-force-1600 #sp-hb-modules{
    width:calc(100vw - (var(--sp-layout-edge,10px) * 2))!important;
    max-width:calc(100vw - (var(--sp-layout-edge,10px) * 2))!important;
  }
}

/* ============================================================
 * TÜM SAYFA BAŞLIKLARI / HİZA / KATEGORİ BOŞLUK STANDARDI
 * ============================================================ */

/* 1) BÜTÜN SAYFA BAŞLIKLARI:
   görseldeki gibi mavi başlık + altında kırmızı çizgi */
body:not(.wp-admin) .sp-page-title,
body:not(.wp-admin) .sp-module-title,
body:not(.wp-admin) .sp-page-section-head,
body:not(.wp-admin) .sp-list-head,
body:not(.wp-admin) .archive-header,
body:not(.wp-admin) .page-header,
body:not(.wp-admin) .entry-header,
body:not(.wp-admin) .sp-module-owned-head{
  position:relative!important;
  margin-top:0!important;
  margin-bottom:10px!important;
  padding:0 0 9px!important;
  border:0!important;
  background:transparent!important;
  box-sizing:border-box!important;
}

body:not(.wp-admin) .sp-page-title::after,
body:not(.wp-admin) .sp-module-title::after,
body:not(.wp-admin) .sp-page-section-head::after,
body:not(.wp-admin) .sp-list-head::after,
body:not(.wp-admin) .archive-header::after,
body:not(.wp-admin) .page-header::after,
body:not(.wp-admin) .entry-header::after,
body:not(.wp-admin) .sp-module-owned-head::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:var(--sp-heading-rule-width,0px)!important;
  background:var(--sp-heading-rule,#e31b23)!important;
  border-radius:2px!important;
}

/* Başlık metni */
body:not(.wp-admin) .sp-page-title h1,
body:not(.wp-admin) .sp-page-title h2,
body:not(.wp-admin) .sp-module-title h1,
body:not(.wp-admin) .sp-module-title h2,
body:not(.wp-admin) .sp-page-section-head h1,
body:not(.wp-admin) .sp-page-section-head h2,
body:not(.wp-admin) .sp-list-head h1,
body:not(.wp-admin) .sp-list-head h2,
body:not(.wp-admin) .archive-header h1,
body:not(.wp-admin) .archive-header h2,
body:not(.wp-admin) .page-header h1,
body:not(.wp-admin) .page-header h2,
body:not(.wp-admin) .entry-header h1,
body:not(.wp-admin) .entry-header h2,
body:not(.wp-admin) .sp-module-owned-head h1,
body:not(.wp-admin) .sp-module-owned-head h2{
  margin:0!important;
  padding:0!important;
  color:#2f5f95!important;
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:800!important;
  letter-spacing:0!important;
}

/* Bazı başlık yapılarında metin doğrudan div içindeyse */
body:not(.wp-admin) .sp-page-section-head > strong,
body:not(.wp-admin) .sp-module-title > strong{
  color:#2f5f95!important;
  font-weight:800!important;
}

/* 2) İÇERİK / KATEGORİ SAYFALARINDA KENARLIK VE İÇERİK BAŞLANGICI AYNI HİZA */
body:not(.wp-admin) .sp-inner-page-builder,
body:not(.wp-admin) .sp-inner-page-wrap,
body:not(.wp-admin) .sp-ipb-public,
body:not(.wp-admin) .sp-news-page-shell,
body:not(.wp-admin) .sp-writing-page-shell,
body:not(.wp-admin) .sp-portal-listing-shell,
body:not(.wp-admin) .sp-writing-category-shell,
body:not(.wp-admin) .sp-module-page-canvas,
body:not(.wp-admin) .sp-content-sidebar-layout{
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Kenarlıklı sayfanın içeriği 10px içeriden başlasın ve her modül aynı çizgide olsun */
body:not(.wp-admin) .sp-inner-page-builder > *,
body:not(.wp-admin) .sp-inner-page-wrap > *,
body:not(.wp-admin) .sp-ipb-public > *,
body:not(.wp-admin) .sp-news-page-shell > *,
body:not(.wp-admin) .sp-writing-page-shell > *,
body:not(.wp-admin) .sp-portal-listing-shell > *,
body:not(.wp-admin) .sp-writing-category-shell > *,
body:not(.wp-admin) .sp-module-page-canvas > *{
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* Kenarlık varsa içerik başlangıcı tam aynı iç hizada */

body:not(.wp-admin) .sp-theme-content-shell,
body:not(.wp-admin) .sp-module-page-composition{
  padding-left:10px!important;
  padding-right:10px!important;
}

body:not(.wp-admin) .sp-theme-content-shell > *,
body:not(.wp-admin) .sp-module-page-composition > *{
  margin-left:0!important;
  margin-right:0!important;
  max-width:none!important;
}

/* 3) İlçemiz Turhal ve İlimiz Tokat kategori kartlarında
      üstteki gereksiz boşluk sadece 10px */
body.category-ilcemiz-turhal .sp-page-end-listing,
body.category-ilcemiz-turhal .sp-page-category-grid,
body.category-ilcemiz-turhal .sp-writing-grid,
body.category-ilcemiz-turhal .sp-page-all-section,
body.category-ilimiz-tokat .sp-page-end-listing,
body.category-ilimiz-tokat .sp-page-category-grid,
body.category-ilimiz-tokat .sp-writing-grid,
body.category-ilimiz-tokat .sp-page-all-section{
  margin-top:10px!important;
  padding-top:0!important;
}

/* Kartın kendi üst boşluğu da sıfırlansın */
body.category-ilcemiz-turhal .sp-page-end-card,
body.category-ilcemiz-turhal .sp-standard-content-card,
body.category-ilcemiz-turhal .sp-news-stream-card,
body.category-ilimiz-tokat .sp-page-end-card,
body.category-ilimiz-tokat .sp-standard-content-card,
body.category-ilimiz-tokat .sp-news-stream-card{
  margin-top:0!important;
}

/* İlk kart/satır başlığından önce yalnız 10px */
body.category-ilcemiz-turhal .sp-page-all-section > :first-child,
body.category-ilimiz-tokat .sp-page-all-section > :first-child{
  margin-top:0!important;
}

/* SOSYAL MEDYA PAYLAŞIM MODÜLÜ */
.sp-social-share{width:100%;margin:14px 0 10px;padding:10px;border:1px solid #dfe5ec;border-radius:10px;background:#fff;box-sizing:border-box}
.sp-social-share-head{position:relative;margin:0 0 10px;padding:0 0 8px}
.sp-social-share-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--sp-heading-rule-width,0px);background:var(--sp-heading-rule,#e31b23);border-radius:2px}
.sp-social-share-head strong{color:#2f5f95;font-size:14px;line-height:1.35;font-weight:800}
.sp-social-share-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.sp-share-btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid #d8dee8;border-radius:8px;background:#f8fafc;color:#344054;font:inherit;font-size:12px;font-weight:700;line-height:1;text-decoration:none!important;cursor:pointer;box-sizing:border-box;transition:transform .12s ease,border-color .12s ease,background .12s ease}
.sp-share-btn:hover{transform:translateY(-1px);border-color:#aebbd0;background:#fff}
.sp-share-icon{width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center}
.sp-share-icon svg{width:17px;height:17px;display:block;fill:currentColor}
.sp-share-whatsapp{color:#168a4a}.sp-share-facebook{color:#1877f2}.sp-share-x{color:#111}.sp-share-telegram{color:#229ed9}.sp-share-linkedin{color:#0a66c2}.sp-share-mail{color:#596579}.sp-share-copy{color:#2f5f95}.sp-share-native{color:#b4232c}
.sp-social-share-status{margin-top:6px;color:#168a4a;font-size:11px;font-weight:700}.sp-social-share-status:empty{display:none}
@media(max-width:700px){.sp-social-share{padding:8px;margin-top:10px}.sp-social-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sp-share-btn{width:100%;min-height:38px;padding:0 8px;font-size:11px}}

/* PAYLAŞIM BUTONLARI EŞİT ÖLÇÜ / TAM ORTALAMA */
.sp-social-share-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;gap:7px!important;align-items:stretch!important}
.sp-social-share-actions .sp-share-btn{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;line-height:1!important;text-align:center!important;box-sizing:border-box!important}
.sp-social-share-actions .sp-share-icon{flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.sp-social-share-actions .sp-share-icon svg{display:block!important;width:17px!important;height:17px!important;margin:0!important}
.sp-social-share-actions .sp-share-btn>span:not(.sp-share-icon){display:flex!important;align-items:center!important;justify-content:center!important;min-height:17px!important;margin:0!important;padding:0!important;line-height:17px!important;white-space:nowrap!important}
@media(max-width:700px){.sp-social-share-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.sp-social-share-actions .sp-share-btn{height:40px!important;min-height:40px!important;max-height:40px!important}}

/* ============================================================
 * İÇ SAYFALARDA ÜST ANA BAŞLIK ŞERİTLERİ KALDIRILDI
 * Çalışan modül/bölüm başlıklarına dokunulmaz.
 * ============================================================ */
body:not(.home):not(.front-page):not(.wp-admin) :is(
  .sp-primary-title-card,
  .sp-primary-page-head,
  .sp-cpt-archive-head,
  .sp-archive-header,
  .sp-page-header
){
  display:none!important;
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  height:0!important;
  border:0!important;
}

/* Gizlenen üst başlıktan sonra kalan ilk boşluğu da kaldır. */
body:not(.home):not(.front-page):not(.wp-admin) :is(
  .sp-inner-page-builder,
  .sp-inner-page-wrap,
  .sp-ipb-public,
  .sp-module-page-canvas,
  .sp-module-page-composition,
  .sp-news-page-shell,
  .sp-writing-page-shell
){
  padding-top:0!important;
  margin-top:0!important;
}

body:not(.home):not(.front-page):not(.wp-admin) :is(
  .sp-inner-page-builder,
  .sp-inner-page-wrap,
  .sp-ipb-public,
  .sp-module-page-canvas,
  .sp-module-page-composition,
  .sp-news-page-shell,
  .sp-writing-page-shell
) > :first-child{
  margin-top:0!important;
}

/*
 * BİLİNÇLİ OLARAK KORUNANLAR:
 * .sp-page-section-head / .sp21-section-head / .sp-section-head
 * .sp-selected-content-head / .sp-list-head
 * .sp-social-share-head
 * yorum, istatistik, Son Eklenenler, Kategoriler ve modül başlıkları
 */

/* TÜM SAYFA / KATEGORİ / YAZI KENARLIK HİZASI */
body:not(.wp-admin) :is(
  .sp-content-sidebar-main,
  .sp-content-wrap,
  .sp-page-inner,
  .sp-article-container,
  .sp-writing-category-shell,
  .sp-module-page-canvas,
  .sp-inner-page-builder,
  .sp-inner-page-wrap,
  .sp-ipb-public,
  .sp-module-page-composition
){
  padding-left:0!important;
  padding-right:0!important;
}
body:not(.wp-admin) :is(
  .sp-content-wrap,
  .sp-page-inner,
  .sp-article-container,
  .sp-writing-category-shell,
  .sp-module-page-canvas,
  .sp-inner-page-builder,
  .sp-inner-page-wrap,
  .sp-ipb-public,
  .sp-module-page-composition
) > :is(
  .sp-page-section,
  .sp21-section,
  .sp-ipb-portable-module,
  .sp-news-stream
){
  margin-left:0!important;
  margin-right:0!important;
  max-width:100%!important;
}

/* ================================================================
 * TÜM İÇERİK SAYFALARINDA ÜST HİZA
 * ================================================================ */
body:not(.wp-admin) :is(
  .sp-article-container,
  .sp-page-inner,
  .sp-content-wrap,
  .sp-content-sidebar-main,
  .sp-historic-single-container,
  .sp-natural-single-container
){
  margin-top:0!important;
  padding-top:0!important;
}

/* İlk gerçek içerik/görsel, dış kenarlığın başladığı hattan başlar. */
body:not(.wp-admin) .sp-article-container > .sp-featured-image:first-child,
body:not(.wp-admin) .sp-article-container > .sp-entry-content:first-child,
body:not(.wp-admin) .sp-page-inner > :first-child,
body:not(.wp-admin) .sp-content-wrap > :first-child{
  margin-top:0!important;
  padding-top:0!important;
}

body:not(.wp-admin) .sp-featured-image{
  margin-top:0!important;
}

/* Eski tarih/ID meta yüzeyi başka bir eklentiyle yeniden gelirse de görünmesin. */

/* Yayın Tarihi çıkarıldığı için 3 eşit istatistik kartı. */
body:not(.wp-admin) .sp-news-stats-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

/* İlçe tanıtımındaki gerçek rehber bağlantıları */
.sp-place-auto-link{
  color:var(--sp-primary,#a51d31)!important;
  font-weight:800!important;
  text-decoration:none!important;
  border-bottom:1px dotted currentColor;
}
.sp-place-auto-link:hover{
  border-bottom-style:solid;
}

@media(max-width:767px){
  body:not(.wp-admin) .sp-news-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
\n\n/* Tarihsel düzenleme — FIRMA / İLAN / ETKİNLİK / TARİHÎ / DOĞAL GERÇEK ÜST HİZA */\nbody:not(.wp-admin) :is(.sp-news-like-directory,.sp-news-like-classified,.sp-news-like-event,.sp-directory-category-page,.sp-pl-category-page,.sp-historic-index,.sp-natural-index){margin-top:0!important;padding-top:0!important}\nbody:not(.wp-admin) :is(.sp-news-like-directory,.sp-news-like-classified,.sp-news-like-event,.sp-directory-category-page,.sp-pl-category-page,.sp-historic-index,.sp-natural-index)>:first-child{margin-top:0!important}\n

/* Tarihsel düzenleme — İlçemiz Turhal / İlimiz Tokat dahil TÜM Yazı kategorileri gerçek hiza */
html body.category:not(.wp-admin) .sp-content-sidebar-layout > .sp-writing-category-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

html body.category:not(.wp-admin) .sp-writing-category-shell > .sp-module-page-composition{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

html body.category:not(.wp-admin) .sp-writing-category-shell > .sp-module-page-composition > .sp-page-section{
  margin-left:0!important;
  margin-right:0!important;
}

/* Tarihsel düzenleme — Site geneli paylaşım alanı */
.sp-template-share-fallback{
  width:100%;
  margin:10px 0 0;
  box-sizing:border-box;
}

/* Şablon fallback'i içeride ikinci paylaşım varsa JS tarafından kaldırılır. */

/* Dış konteyner ölçüsü artık Ekran ve Yerleşim Merkezi'nden gelir. */
@media (min-width: 768px) {
  .sp-container,
  .sp-account-shell,
  .sp-pharmacy-page,
  .sp-weather-page,
  .sp-camera-page,
  .sp-ad-request-public.sp-ad-theme-shell {
    width: min(calc(100% - (var(--sp-layout-edge, 10px) * 2)), var(--sp-layout-inner-max, 1600px));
    max-width: var(--sp-layout-inner-max, 1600px) !important;
    margin-inline: auto;
  }
}

/* Yalnız Firma Rehberi: referans kart görünümü + Sunulan İmkânlar düzeni. */
body:not(.wp-admin) .sp-news-like-directory .sp-page-end-listing-cards,
body:not(.wp-admin) .sp-directory-category-page .sp-page-end-listing-cards{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}

/* Firma Ekle/Düzenle > Sunulan İmkânlar: büyük global form checkbox kurallarını bu alanda sıfırla. */
body:not(.wp-admin) .sp-account-main .sp-dir-amenities-editor-body{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  gap:12px!important;
}

body:not(.wp-admin) .sp-account-main .sp-dir-amenity-checks{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
body:not(.wp-admin) .sp-account-main .sp-dir-amenity-checks label{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  min-height:40px!important;
  margin:0!important;
  padding:8px 9px!important;
  border:1px solid #e5eaf0!important;
  border-radius:9px!important;
  background:#fafbfc!important;
  color:var(--sp-text,#172033)!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1.25!important;
  cursor:pointer!important;
}
body:not(.wp-admin) .sp-account-main .sp-dir-amenity-checks label>input[type="checkbox"]{
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  box-sizing:border-box!important;
  display:block!important;
  flex:none!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  margin:0!important;
  padding:0!important;
  border-radius:4px!important;
  box-shadow:none!important;
  accent-color:#1677ff!important;
}
body:not(.wp-admin) .sp-account-main .sp-dir-amenity-checks label>span{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  white-space:normal!important;
}

/* Detay görünümündeki seçili imkânlar da aynı kompakt ritimde. */
body.single-sp_directory:not(.wp-admin) .sp-dir-amenity-groups{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-amenity-group{
  min-width:0!important;
  padding:12px!important;
  border:1px solid #e5eaf0!important;
  border-radius:12px!important;
  background:#fbfcfe!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-amenity-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
}
body.single-sp_directory:not(.wp-admin) .sp-dir-amenity-list>span{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  min-height:34px!important;
  margin:0!important;
  padding:7px 8px!important;
  border:1px solid #e4e9ef!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#475467!important;
  font-size:10.5px!important;
  font-weight:700!important;
  line-height:1.25!important;
}
@media(max-width:900px){
  body:not(.wp-admin) .sp-news-like-directory .sp-page-end-listing-cards,
  body:not(.wp-admin) .sp-directory-category-page .sp-page-end-listing-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body:not(.wp-admin) .sp-account-main .sp-dir-amenities-editor-body,
  body.single-sp_directory:not(.wp-admin) .sp-dir-amenity-groups{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:520px){
  
  
  body:not(.wp-admin) .sp-account-main .sp-dir-amenity-checks,
  body.single-sp_directory:not(.wp-admin) .sp-dir-amenity-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  body:not(.wp-admin) .sp-account-main .sp-dir-amenity-checks label{
    min-height:38px!important;
    padding:7px!important;
    font-size:10px!important;
  }
}
\n\n/* Yalnız Ana Sayfa Portal Widget Nöbetçi Eczane kartı: Eczane sayfasındaki gerçek ikon. */
body:not(.wp-admin) .sp-portal-widget .sp-hb-hero-module-card[data-module="pharmacy"] > .sp-pharmacy-symbol.is-portal-widget{
  display:block!important;
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
  object-fit:contain!important;
  margin:0 auto!important;
  padding:4px!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 7px 18px rgba(15,23,42,.07)!important;
}
body:not(.wp-admin) .sp-portal-upper-live-card .sp-pharmacy-symbol.is-portal-widget{
  display:block!important;
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  object-fit:contain!important;
  padding:3px!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 5px 14px rgba(15,23,42,.07)!important;
}
@media (max-width:700px){
  body:not(.wp-admin) .sp-portal-widget .sp-hb-hero-module-card[data-module="pharmacy"] > .sp-pharmacy-symbol.is-portal-widget{
    width:42px!important;height:42px!important;flex-basis:42px!important;padding:3px!important;
  }
}

/* Yalnız yorum gönder butonları: tüm yorum modüllerinde tek ve sağlam görünüm. */
body:not(.wp-admin) :is(.comment-respond,.comment-form) :is(.form-submit input[type="submit"],input[type="submit"].submit,input[type="submit"].sp-account-btn){
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:128px!important;
  min-height:42px!important;
  margin:0!important;
  padding:10px 16px!important;
  border:1px solid var(--sp-primary,#d71920)!important;
  border-radius:10px!important;
  background:var(--sp-primary,#d71920)!important;
  color:#fff!important;
  box-shadow:none!important;
  font:inherit!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-align:center!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
body:not(.wp-admin) :is(.comment-respond,.comment-form) :is(.form-submit input[type="submit"],input[type="submit"].submit,input[type="submit"].sp-account-btn):hover{
  filter:brightness(.94)!important;
}
body:not(.wp-admin) :is(.comment-respond,.comment-form) .form-submit{
  margin:14px 0 0!important;
}
@media(max-width:520px){
  body:not(.wp-admin) :is(.comment-respond,.comment-form) :is(.form-submit input[type="submit"],input[type="submit"].submit,input[type="submit"].sp-account-btn){
    min-height:44px!important;
    padding:11px 16px!important;
  }
}

/* Hesabım içerik liste başlıkları: genel başlık kurallarının kart/ekle butonu düzenini bozmasını engeller. */
body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head{
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  width:100%!important;
  min-width:0!important;
  margin:0 0 14px!important;
  padding:18px 20px!important;
  border:1px solid var(--sp-account-list-border,var(--sp-border,#e5e7eb))!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,var(--sp-account-list-surface,var(--sp-surface,#fff)) 0%,color-mix(in srgb,var(--sp-account-list-secondary,var(--sp-secondary,#123a63)) 5%,var(--sp-account-list-surface,var(--sp-surface,#fff))) 100%)!important;
  box-sizing:border-box!important;
}
body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head::after{
  content:none!important;
  display:none!important;
}
body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head>div{
  flex:1 1 auto!important;
  min-width:0!important;
}
body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head h1{
  margin:0!important;
  padding:0!important;
  font-size:25px!important;
  line-height:1.15!important;
}
body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head .sp-account-content-add{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:100%!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 13px!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
@media(max-width:767px){
  body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    padding:14px 15px!important;
    border-radius:15px!important;
  }
  body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head h1{
    font-size:21px!important;
  }
  body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head .sp-account-content-kicker,
  body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head p{
    display:none!important;
  }
  body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head .sp-account-content-add{
    width:auto!important;
    min-width:0!important;
    min-height:38px!important;
    margin:0!important;
    padding:0 11px!important;
  }
}
@media(max-width:420px){
  body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px!important;
    padding:12px!important;
  }
  body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head.sp-list-head h1{font-size:19px!important}
  body:not(.wp-admin) .sp-account-listing-shell .sp-account-content-head .sp-account-content-add{
    min-height:36px!important;
    padding:0 9px!important;
    font-size:10px!important;
  }
}

/* Clean Base Faz 3: Hesabım + Site Yönetimi CSS yama zincirleri konsolide edildi. */

/* Turhal'ı Keşfet kompakt liste sınırı */
.sp-tpg--compact .sp-tpg-more{display:flex;justify-content:center;margin-top:14px}.sp-tpg--compact .sp-tpg-more a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid var(--sp-border,#e5e7eb);border-radius:12px;background:var(--sp-surface,#fff);color:var(--sp-secondary,#123a63);font-weight:700;text-decoration:none}.sp-tpg--compact .sp-tpg-more a:hover{border-color:var(--sp-primary,#d71920);color:var(--sp-primary,#d71920)}

/* 2.6.2 SABİT KURAL — sürüm uyarısı viewport'un geometrik merkezinden taşınmaz. */
body:not(.wp-admin) #sp-theme-version-overlay{
 position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
 display:grid!important;place-items:center!important;padding:clamp(16px,4vw,48px)!important;
 margin:0!important;transform:none!important;z-index:2147483647!important;
 background:rgba(15,23,42,.48)!important;box-sizing:border-box!important;
}
body:not(.wp-admin) #sp-theme-version-notice.sp-theme-version-notice{
 position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
 transform:none!important;margin:0!important;width:min(520px,100%)!important;max-height:calc(100dvh - 32px)!important;
 overflow:auto!important;z-index:1!important;
}

/* Sayfa düzenleyicilerindeki yönetici reklam bloğu. Ayrı reklam modülü değildir. */
.sp-inline-admin-ad{position:relative;width:100%;max-width:100%;height:var(--sp-ad-hd,250px);overflow:hidden;box-sizing:border-box;line-height:0;background:transparent}
.sp-inline-admin-ad>a,.sp-inline-admin-ad picture{display:block;width:100%;height:100%;max-width:100%}
.sp-inline-admin-ad img{display:block;width:100%;height:100%;max-width:100%;object-fit:var(--sp-ad-fit,cover);object-position:center;margin:0;padding:0;border:0}
.sp-inline-admin-ad-label{position:absolute;z-index:2;top:6px;right:6px;padding:3px 6px;border-radius:4px;background:rgba(0,0,0,.58);color:#fff;font-size:9px;line-height:1.2;font-weight:700}
.sp-inline-ad-empty{width:100%;padding:12px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;color:#64748b;font-size:12px;line-height:1.4}
@media(max-width:1024px){.sp-inline-admin-ad{height:var(--sp-ad-ht,180px)}}
@media(max-width:767px){.sp-inline-admin-ad{height:var(--sp-ad-hm,100px)}}

/* ==== layout ==== */
.sp-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);border-bottom:1px solid var(--sp-border);backdrop-filter:blur(14px)}
.sp-header-inner{min-height:var(--sp-header-height);display:flex;align-items:center;gap:28px}.sp-brand{display:flex;align-items:center;min-width:0}.sp-primary-nav ul,.sp-footer ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:22px}.sp-primary-nav a,.sp-footer a{text-decoration:none;font-weight:600}.sp-menu-toggle{display:none;border:1px solid var(--sp-border);background:var(--sp-surface);border-radius:10px;padding:8px 12px;font-size:22px}.sp-content-wrap,.sp-page-inner,.sp-article-container,.sp-error-page{padding-top:0;padding-bottom:52px}.elementor-page .sp-page-inner{width:100%;max-width:none;padding:0;background:transparent;border-radius:0}.sp-card{background:var(--sp-surface);border:1px solid var(--sp-border);border-radius:var(--sp-radius);overflow:hidden;margin-bottom:24px}.sp-card-media{position:relative;display:block;aspect-ratio:16/9;overflow:hidden}.sp-card-media img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center center;display:block}.sp-entry-meta{color:var(--sp-muted);font-size:.92rem;margin-bottom:14px}.sp-featured-image{margin:24px 0;border-radius:var(--sp-radius);overflow:hidden}.sp-entry-content{font-size:1.05rem}.sp-footer{background:#101923;color:#fff;padding:42px 0}.sp-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:10px;background:var(--sp-primary);color:#fff;text-decoration:none;font-weight:700}
/* Faz 6 ortak modül görünümleri */
.sp-content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.sp-content-card,.sp-gallery-card{background:var(--sp-card,#fff);border:1px solid rgba(127,127,127,.18);border-radius:16px;overflow:hidden;text-decoration:none;color:inherit}.sp-content-card a{display:block;color:inherit;text-decoration:none}.sp-content-card img,.sp-gallery-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}.sp-content-card div{padding:14px}.sp-content-card h3{margin:5px 0 8px}.sp-gallery-card strong{display:block;padding:12px}.sp-noimg{display:grid;place-items:center;aspect-ratio:16/10;background:#f2f3f5}.sp-ad{position:relative;display:block;overflow:hidden;border-radius:14px}.sp-ad img{display:block;width:100%;height:auto}.sp-ad small{position:absolute;top:8px;right:8px;background:rgba(0,0,0,.68);color:#fff;padding:4px 8px;border-radius:20px}.sp-cols-1{grid-template-columns:1fr}.sp-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1024px){.sp-content-grid,.sp-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.sp-content-grid,.sp-cols-2,.sp-cols-3,.sp-cols-4{grid-template-columns:1fr}}
.sp-message-list{display:grid;gap:10px}.sp-message-row{display:grid;grid-template-columns:minmax(120px,1fr) 2fr auto;gap:12px;align-items:center;padding:14px;border:1px solid #e5e7eb;border-radius:12px;text-decoration:none;color:inherit}.sp-message-row.is-unread{border-width:2px}.sp-message-form,.sp-message-card,.sp-owner-contact{margin-top:18px;padding:18px;border:1px solid #e5e7eb;border-radius:14px}.sp-message-form label{display:block;margin-bottom:12px}.sp-message-form input,.sp-message-form textarea{width:100%;margin-top:5px}.sp-ai-panel{position:absolute;right:0;bottom:54px;width:min(360px,calc(100vw - 28px));height:480px;max-height:70vh;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 16px 50px rgba(0,0,0,.2);overflow:hidden}.sp-ai-head{display:flex;justify-content:space-between;padding:14px;border-bottom:1px solid #eee}.sp-ai-close{border:0;background:none;font-size:24px}.sp-ai-log{height:360px;overflow:auto;padding:14px}.sp-ai-bot,.sp-ai-user{padding:10px 12px;border-radius:12px;margin-bottom:8px;background:#f3f4f6}.sp-ai-user{margin-left:28px}.sp-ai-results a{display:block;padding:8px 0;text-decoration:none}.sp-ai-results small,.sp-ai-results strong{display:block}.sp-ai-form{display:flex;padding:10px;border-top:1px solid #eee}.sp-ai-form input{flex:1;min-width:0}.sp-ai-form button{margin-left:6px}@media(max-width:640px){.sp-message-row{grid-template-columns:1fr}.sp-ai-panel{height:62vh}.sp-ai-log{height:calc(62vh - 112px)}}

/* Faz 9A — sadece Header / Footer Builder */
.sp-header.is-sticky{position:sticky;top:0;z-index:999;background:var(--sp-surface);box-shadow:0 1px 0 var(--sp-border)}
.admin-bar .sp-header.is-sticky{top:32px}
.sp-icon-action,.sp-account-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:1px solid var(--sp-border);border-radius:999px;text-decoration:none;padding:0 14px;background:var(--sp-surface);color:inherit}
.sp-icon-action{width:40px;padding:0;font-size:20px}
.sp-header-centered .sp-header-inner{flex-wrap:wrap;justify-content:center}
.sp-header-centered .sp-brand{width:100%;text-align:center}
.sp-header-centered .sp-header-actions{margin-left:0}
.sp-header-compact .sp-header-inner{min-height:58px}
@media(max-width:782px){.admin-bar .sp-header.is-sticky{top:46px}}
@media(max-width:767px){.sp-header-centered .sp-brand{width:auto;text-align:left}.sp-header-centered .sp-header-inner{justify-content:initial}}

/* Faz 9D — yalnız mobil uygulama alt navigasyonu */
@media(max-width:767px){
                      .sp-mobile-app-mode .sp-site-main{min-height:calc(100vh - 130px)}
}

/* Faz 21.3.6 — GERÇEK mobil appbar Ekle düğmesi düzeltmesi
   Design Builder tarafından üretilen .sp-mobile-appbar içindeki .sp-real-add-link hedeflenir. */
@media(max-width:767px){

  /* Eğer mobil portal shell görünürse onun Ekle düğmesi de aynı geometriyi kullanır. */
  body.home .spm-bottom-nav{
    overflow:visible!important;
  }
  body.home .spm-bottom-nav .spm-nav-link{
    position:relative!important;
    transform:translateY(-29px)!important;
    z-index:25!important;
    overflow:visible!important;
  }
  body.home .spm-bottom-nav .spm-nav-link .dashicons{
    display:grid!important;
    place-items:center!important;
    width:58px!important;
    height:58px!important;
    border:5px solid var(--sp-surface,#fff)!important;
    border-radius:50%!important;
    background:var(--sp-primary,#c1121f)!important;
    color:#fff!important;
    box-sizing:border-box!important;
    box-shadow:0 8px 20px rgba(0,0,0,.22)!important;
    font-size:28px!important;
    line-height:48px!important;
  }
}

/* =========================================================
   Faz 26.1.9 — Global mobil uygulama kontrolleri
   Ana sayfada onaylanan Ekle / AI Asistan düzeni tüm sayfalara uygulanır.
   ========================================================= */
@media(max-width:767px){

  /* Üst bant: solda menü, ortada logo, sağda mevcut araçlar */

  .sp-header .sp-brand .custom-logo-link{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
  }

  .sp-header .sp-header-actions .sp-icon-action,
  .sp-header .sp-header-actions .sp-theme-toggle,
  .sp-header .sp-header-actions .sp-account-action{
    min-width:34px!important;
    width:34px!important;
    height:34px!important;
    min-height:34px!important;
    padding:0!important;
    border-radius:9px!important;
  }

  .sp-header .sp-header-actions .sp-account-action{
    overflow:hidden!important;
    font-size:0!important;
  }
  .sp-header .sp-header-actions .sp-account-action:before{
    content:"\f110"!important;
    font-family:dashicons!important;
    font-size:18px!important;
    line-height:1!important;
  }

  /* Açılan ana menü üst bandın altında tam genişlikte */

  /* Design Builder'ın tüm sayfalarda gösterdiği mobil appbar:
     merkez Ekle ana sayfadaki 58x58 davranışla aynı. */

  /* AI Asistan: ana sayfadaki güvenli alt menü mesafesi tüm sayfalarda */

  }

/* =========================================================
   Faz 26.1.10 — Mobil global son düzen
   ========================================================= */
@media(max-width:767px){

  /* Üst bant: menü solda, logo tam ortada, sağ aksiyonlar */

  body .sp-header .sp-brand .custom-logo-link{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
  }

  /* Hoş geldiniz ek yazısı mobil üst bantta hiçbir sayfada görünmesin */

  /* Alt menü Ekle: tüm mobil sayfalarda ana sayfadaki 58x58 merkez düzen */

  /* AI Asistan: tüm sayfalarda alt menünün üzerinde */

  }

/* =========================================================
   Faz 26.1.11 — TEK MOBİL SİSTEM
   ========================================================= */
@media(max-width:767px){

  /* Eski ikinci mobil appbar artık kullanılmaz. */

  /* Tek alt menü tüm sayfalarda */

  /* Header gerçek sırası: menü / logo / aksiyonlar */

  /* Header'da ek karşılama metni üretilmesin */
  body .sp-header:before,
  body .sp-header:after,
  body .sp-header-inner:before,
  body .sp-header-inner:after{
    content:none!important;
    display:none!important;
  }

  /* Ana sayfada onaylanan Ekle butonu artık global */

  /* AI Asistan tek menüye göre sabit */

  /* Alt menü tüm sayfalarda olduğundan içerik altta kapanmasın */

  }

.sp-default-logo{display:inline-flex;align-items:center;text-decoration:none;max-width:min(360px,38vw)}
.sp-default-logo img{display:block;width:auto;height:auto;max-height:52px;max-width:100%;object-fit:contain}
/* SAYFA/YAZI DIŞ KABUK HİZASI */

/* Header araması JS bağımsız native details/form */
.sp-header-native-search{position:relative;display:inline-flex;align-items:center}
.sp-header-native-search>summary{list-style:none;cursor:pointer;user-select:none}
.sp-header-native-search>summary::-webkit-details-marker{display:none}
.sp-header-native-search[open]>summary{outline:2px solid color-mix(in srgb,var(--sp-primary,#1e73be) 35%,transparent);outline-offset:2px}
.sp-header-native-search-form{position:absolute;right:0;top:calc(100% + 10px);z-index:10050;display:grid;grid-template-columns:minmax(180px,320px) auto;gap:8px;align-items:center;width:min(420px,calc(100vw - 24px));padding:12px;background:var(--sp-surface,#fff);border:1px solid var(--sp-border,#d9dee7);border-radius:14px;box-shadow:0 16px 40px rgba(15,23,42,.18)}
.sp-header-native-search-form input[type="search"]{min-width:0;width:100%;height:42px;border:1px solid var(--sp-border,#d9dee7);border-radius:10px;padding:0 12px;background:var(--sp-surface,#fff);color:inherit}
.sp-header-native-search-form button{height:42px;border:0;border-radius:10px;padding:0 16px;background:var(--sp-primary,#1e73be);color:#fff;font-weight:700;cursor:pointer}
@media(max-width:767px){.sp-header-native-search-form{position:fixed;left:12px;right:12px;top:88px;width:auto;grid-template-columns:minmax(0,1fr) auto}.sp-header-native-search-form button{padding:0 13px}}

/* Öne çıkan firma / seri ilan / etkinlik kartı (SP_Featured::mark): rozet ve ince vurgu çerçevesi. */
.sp-is-featured{position:relative;box-shadow:0 0 0 2px color-mix(in srgb,var(--sp-primary,#a51d31) 55%,transparent),0 8px 22px rgba(15,23,42,.06)}
.sp-is-featured>.sp-featured-badge-card{position:absolute;top:10px;left:10px;z-index:4;display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:999px;background:var(--sp-primary,#a51d31);color:#fff;font-size:11px;font-weight:800;line-height:1.2;letter-spacing:.01em;box-shadow:0 4px 12px rgba(0,0,0,.18);pointer-events:none}

/* ==== responsive ==== */
/* Ortak responsive çekirdek: tüm gelecek modüller bu breakpoint ve yardımcı sınıfları kullanır. */
@media (max-width:1024px){.sp-grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-header-inner{gap:18px}.sp-primary-nav ul{gap:14px}}
@media (max-width:767px){:root{--sp-header-height:62px}.sp-container{width:min(calc(100% - (var(--sp-layout-edge,10px) * 2)),var(--sp-container))}.sp-header-inner{position:relative}.sp-menu-toggle{display:inline-flex;margin-left:auto}.sp-primary-nav{display:none;position:absolute;top:calc(100% + 1px);left:-12px;right:-12px;background:var(--sp-surface);border-bottom:1px solid var(--sp-border);box-shadow:0 14px 28px rgba(0,0,0,.08);padding:12px}.sp-primary-nav.is-open{display:block}.sp-primary-nav ul{display:flex;flex-direction:column;align-items:stretch;gap:2px}.sp-primary-nav a{display:block;padding:10px 12px;border-radius:8px}.sp-grid-cards{grid-template-columns:1fr}.sp-content-wrap,.sp-page-inner,.sp-article-container,.sp-error-page{padding-top:0;padding-bottom:32px}.sp-footer ul{flex-direction:column;align-items:flex-start;gap:8px}.sp-card-body{padding:18px}.sp-entry-content{font-size:1rem}}

/* Haberler kategorileri — özel şablon ve [sp_news_stream] kısa kodunda aynı kart */
.sp-haberler-kategoriler{display:grid;gap:14px;background:var(--sp-surface,#fff);border:1px solid var(--sp-border,#e5e7eb);border-radius:14px;padding:20px 22px;margin-bottom:16px;box-shadow:0 2px 10px rgba(16,24,40,.04)}
html body .sp-haberler-kategoriler h2{font-size:17px!important;line-height:1.35!important;font-weight:700!important;margin:0!important;padding:0!important;border:0!important;color:var(--sp-heading,var(--sp-text,#181818))}
.sp-haberler-kategori-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0;padding:0 0 16px;border-bottom:1px solid var(--sp-border,#e8e8e8)}
html body a.sp-haberler-kategori-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 15px;border-radius:9px;font-size:13px;font-weight:700;line-height:1;text-decoration:none;color:var(--sp-text,#181818)!important;text-decoration:none!important;white-space:nowrap;transition:background .15s,color .15s}
html body a.sp-haberler-kategori-link.is-active{background:var(--sp-primary,#c8192e);color:#fff!important}
html body a.sp-haberler-kategori-link:not(.is-active):hover,html body a.sp-haberler-kategori-link:not(.is-active):focus-visible{background:#f6eef0;color:var(--sp-primary,#a71928)!important}
.sp-haberler-son{display:grid;gap:5px}
body:not(.wp-admin) .sp-page-inner > .sp-haberler-kategoriler:first-child{padding-top:20px!important}
html body .sp-haberler-son p{margin:0;font-size:14px;line-height:1.5;color:var(--sp-muted,#5b6472)}
html[data-sp-theme="dark"] body a.sp-haberler-kategori-link:not(.is-active):hover{background:rgba(255,255,255,.08)}
@media(max-width:767px){
.sp-haberler-kategoriler{gap:12px;padding:14px;border-radius:12px}
body:not(.wp-admin) .sp-page-inner > .sp-haberler-kategoriler:first-child{padding-top:14px!important}
html body .sp-haberler-kategoriler h2{font-size:16px!important}
.sp-haberler-kategori-links{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -14px;padding:0 14px 12px;scroll-padding-inline:14px}
.sp-haberler-kategori-links::-webkit-scrollbar{display:none}
html body a.sp-haberler-kategori-link{flex:0 0 auto;scroll-snap-align:start;min-height:36px;padding:0 13px;background:var(--sp-surface-alt,#f4f6f9)}
html body .sp-haberler-son p{font-size:13px}
}

/* sp-responsive */
:root{--sp-mobile-gap:var(--sp-layout-y-gap,20px);--sp-tablet-gap:var(--sp-layout-y-gap,20px);--sp-desktop-gap:var(--sp-layout-y-gap,20px);}@media(max-width:767px){.sp-hide-mobile{display:none!important;}}@media(min-width:768px) and (max-width:1024px){.sp-hide-tablet{display:none!important;}}@media(min-width:1025px){.sp-hide-desktop{display:none!important;}}
/* sp-mobile-bottom-nav */

.sp-mobile-bottom-nav{
  position:fixed;left:50%;bottom:10px;transform:translateX(-50%);
  width:min(94%,640px);z-index:9998;
  display:grid;grid-template-columns:repeat(var(--sp-bottom-nav-count,5),minmax(0,1fr));
  gap:5px;padding:7px;
  border:1px solid rgba(127,127,127,.18);
  border-radius:18px;
  background:rgba(255,255,255,.96);
  box-shadow:0 12px 35px rgba(0,0,0,.14);
  backdrop-filter:blur(14px);
}
.sp-mobile-nav-item{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;min-height:52px;border:0;background:transparent;color:#4b5563;border-radius:12px;cursor:pointer;
}
.sp-mobile-nav-item .dashicons{font-size:20px;width:20px;height:20px}
.sp-mobile-nav-label{font-size:10px;font-weight:700}
.sp-mobile-nav-item.is-active{background:rgba(193,18,31,.08);color:var(--sp-primary,#c1121f)}

/* Tarihsel düzenleme: Mobil navigasyon boşluğu masaüstünde body'ye uygulanmaz. */
body:has(.sp-mobile-bottom-nav){padding-bottom:0!important}
@media(max-width:767px){
  body:has(.sp-mobile-bottom-nav){padding-bottom:0!important}
  body.sp-mobile-app-mode:has(.sp-mobile-bottom-nav){padding-bottom:0!important}
}
@media(min-width:768px){
  .sp-mobile-bottom-nav{display:none!important}
}
@media(min-width:900px){
  .sp-mobile-bottom-nav{width:min(80%,720px)}
}
@media(max-width:480px){
  .sp-mobile-bottom-nav{bottom:7px;width:96%;border-radius:16px}
  .sp-mobile-nav-item{min-height:48px}.sp-mobile-nav-label{font-size:9px}
}

.spm-shell ~ .sp-mobile-bottom-nav, .spm-shell .sp-mobile-bottom-nav{display:none!important}

[data-key="add"],[data-spm-tab="add"],[data-target="account-submit"],.sp-content-add-link,a[href*="sp_tab=icerik-ekle"]{
  pointer-events:auto!important;
  cursor:pointer!important;
}

/* Faz 21.3.5 — Mobil ana sayfa merkez Ekle düğmesi
   Düğmenin yarısı alt menüde, yarısı sayfa üzerinde kalır. */
@media (max-width:767px){
  body.home .sp-mobile-bottom-nav{
    overflow:visible!important;
  }

  body.home .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"]{
    position:relative!important;
    top:-29px!important;
    align-self:unset!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    margin:0 auto!important;
    padding:0!important;
    border:5px solid #fff!important;
    border-radius:50%!important;
    background:var(--sp-primary,#c1121f)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(0,0,0,.22)!important;
    z-index:20!important;
    overflow:visible!important;
  }

  body.home .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"] .dashicons{
    display:block!important;
    width:24px!important;
    height:24px!important;
    margin:0!important;
    color:#fff!important;
    font-size:24px!important;
    line-height:24px!important;
  }

  body.home .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"] .sp-mobile-nav-label{
    position:absolute!important;
    left:50%!important;
    top:62px!important;
    transform:translateX(-50%)!important;
    display:block!important;
    margin:0!important;
    color:#4b5563!important;
    font-size:9px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

/* Koyu temada merkez düğmenin menüyle birleşen çerçevesi */
@media (max-width:767px){
  html[data-theme="dark"] body.home .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"],
  body[data-theme="dark"].home .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"],
  .sp-dark body.home .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"]{
    border-color:#101826!important;
  }
}

/* =========================================================
   Faz 26.1.9 — Ana sayfadaki merkez Ekle davranışı tüm sayfalarda
   ========================================================= */
@media (max-width:767px){
  body .sp-mobile-bottom-nav{
    overflow:visible!important;
  }

  body .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"]{
    position:relative!important;
    top:-29px!important;
    align-self:unset!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    margin:0 auto!important;
    padding:0!important;
    border:5px solid #fff!important;
    border-radius:50%!important;
    background:var(--sp-primary,#c1121f)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(0,0,0,.22)!important;
    z-index:20!important;
    overflow:visible!important;
  }

  body .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"] .dashicons{
    display:block!important;
    width:24px!important;
    height:24px!important;
    margin:0!important;
    color:#fff!important;
    font-size:24px!important;
    line-height:24px!important;
  }

  body .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"] .sp-mobile-nav-label{
    position:absolute!important;
    left:50%!important;
    top:62px!important;
    transform:translateX(-50%)!important;
    display:block!important;
    margin:0!important;
    color:#4b5563!important;
    font-size:9px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  html[data-theme="dark"] body .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"],
  html[data-sp-theme="dark"] body .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"],
  body[data-theme="dark"] .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"],
  .sp-dark body .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"]{
    border-color:#101826!important;
  }
}

/* Faz 26.1.11 — tek global mobil alt menü */
@media(max-width:767px){
  body:not(.wp-admin) .sp-mobile-bottom-nav{
    display:grid!important;
    overflow:visible!important;
  }

  body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"]{
    top:-29px!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    margin:0 auto!important;
    border-radius:50%!important;
  }
}

/* =========================================================
   Faz 26.1.12 — Sabit global mobil alt menü
   Ana Sayfa | Haber | İçerik Ekle | Rehber | Hesabım
   ========================================================= */
@media(max-width:767px){
  body:not(.wp-admin) .sp-mobile-bottom-nav{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    width:100%!important;
    height:68px!important;
    min-height:68px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    margin:0!important;
    padding:0 max(6px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(6px,env(safe-area-inset-left))!important;
    border-top:1px solid rgba(15,23,42,.10)!important;
    border-radius:0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -7px 24px rgba(15,23,42,.10)!important;
    overflow:visible!important;
    z-index:99990!important;
  }

  body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item{
    position:relative!important;
    top:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    width:100%!important;
    min-width:0!important;
    height:58px!important;
    margin:0!important;
    padding:5px 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#4b5563!important;
    text-align:center!important;
    text-decoration:none!important;
    overflow:visible!important;
  }

  body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item .dashicons{
    width:21px!important;
    height:21px!important;
    margin:0!important;
    font-size:21px!important;
    line-height:21px!important;
    color:inherit!important;
  }

  body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-label{
    position:static!important;
    display:block!important;
    transform:none!important;
    margin:0!important;
    color:inherit!important;
    font-size:9px!important;
    font-weight:700!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }

  /* İçerik Ekle: 58x58, tam merkez; 29px menüde + 29px sayfada */
  body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"]{
    position:relative!important;
    top:-29px!important;
    justify-self:center!important;
    align-self:center!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    margin:0 auto!important;
    padding:0!important;
    border:5px solid #fff!important;
    border-radius:50%!important;
    background:var(--sp-primary,#c1121f)!important;
    color:#fff!important;
    box-shadow:0 7px 18px rgba(0,0,0,.23)!important;
    z-index:30!important;
  }

  body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"] .dashicons{
    width:24px!important;
    height:24px!important;
    font-size:24px!important;
    line-height:24px!important;
    color:#fff!important;
  }

  body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"] .sp-mobile-nav-label{
    position:absolute!important;
    left:50%!important;
    top:64px!important;
    transform:translateX(-50%)!important;
    color:#4b5563!important;
    font-size:9px!important;
    font-weight:800!important;
  }

  /* Hesabım insan silüeti */
  body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="account"] .dashicons:before{
    content:"\f110"!important;
  }

  /* Sabit menü sayfa içeriğini kapatmasın */
  body:not(.wp-admin){
    padding-bottom:calc(82px + env(safe-area-inset-bottom))!important;
  }

  /* Asistan sabit menünün üzerinde */
  body:not(.wp-admin) .sp-ai-chat{
    bottom:calc(102px + env(safe-area-inset-bottom))!important;
  }

  html[data-theme="dark"] body:not(.wp-admin) .sp-mobile-bottom-nav,
  html[data-sp-theme="dark"] body:not(.wp-admin) .sp-mobile-bottom-nav{
    background:rgba(16,24,38,.98)!important;
    border-top-color:rgba(255,255,255,.12)!important;
  }

  html[data-theme="dark"] body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item,
  html[data-sp-theme="dark"] body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item{
    color:#e5e7eb!important;
  }

  html[data-theme="dark"] body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"],
  html[data-sp-theme="dark"] body:not(.wp-admin) .sp-mobile-bottom-nav .sp-mobile-nav-item[data-key="add"]{
    border-color:#101826!important;
  }
}

/* =========================================================
   Faz 26.1.13 — KESİN GLOBAL SABİT MOBİL ALT MENÜ
   ========================================================= */
@media (max-width:767px){

  /* Eski shell gizleme kurallarını geçersiz kıl */
  body .spm-shell ~ .sp-mobile-bottom-nav,
  body .spm-shell .sp-mobile-bottom-nav,
  body .sp-mobile-home ~ .sp-mobile-bottom-nav,
  body .sp-mobile-bottom-nav.sp-global-mobile-nav{
    display:grid!important;
  }

  body .sp-mobile-bottom-nav.sp-global-mobile-nav{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    transform:none!important;

    width:100%!important;
    max-width:none!important;
    height:68px!important;
    min-height:68px!important;

    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;
    gap:0!important;

    margin:0!important;
    padding:0 4px env(safe-area-inset-bottom)!important;

    border:0!important;
    border-top:1px solid rgba(15,23,42,.12)!important;
    border-radius:0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -7px 24px rgba(15,23,42,.12)!important;
    backdrop-filter:blur(14px)!important;

    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    z-index:99990!important;
  }

  body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item{
    position:relative!important;
    top:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;

    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:62px!important;
    min-height:62px!important;

    margin:0!important;
    padding:6px 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;

    color:#4b5563!important;
    text-decoration:none!important;
    text-align:center!important;
    overflow:visible!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item .dashicons{
    display:block!important;
    width:22px!important;
    height:22px!important;
    margin:0!important;
    font-size:22px!important;
    line-height:22px!important;
    color:inherit!important;
  }

  body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-label{
    position:static!important;
    display:block!important;
    margin:0!important;
    transform:none!important;
    color:inherit!important;
    font-size:9px!important;
    font-weight:700!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }

  /* ORTA İÇERİK EKLE:
     58px çap, merkezi sabit bandın üst sınırında.
     29px sayfada + 29px bant içinde. */
  body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item[data-key="add"]{
    position:relative!important;
    top:-29px!important;
    align-self:center!important;
    justify-self:center!important;

    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;

    margin:0 auto!important;
    padding:0!important;

    border:5px solid #fff!important;
    border-radius:50%!important;
    background:var(--sp-primary,#c1121f)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(0,0,0,.24)!important;

    z-index:50!important;
  }

  body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item[data-key="add"] .dashicons{
    width:25px!important;
    height:25px!important;
    font-size:25px!important;
    line-height:25px!important;
    color:#fff!important;
  }

  body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item[data-key="add"] .sp-mobile-nav-label{
    position:absolute!important;
    left:50%!important;
    top:63px!important;
    transform:translateX(-50%)!important;
    display:block!important;
    margin:0!important;
    color:#4b5563!important;
    font-size:8.5px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  /* Hesabım daima insan silüeti */
  body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item[data-key="account"] .dashicons:before{
    content:"\f110"!important;
  }

  /* İçerik alt menünün arkasında kalmasın */
  body:not(.wp-admin){
    padding-bottom:calc(84px + env(safe-area-inset-bottom))!important;
  }

  /* AI Asistan aynı sabit bara göre konumlanır */
  body .sp-ai-chat{
    right:12px!important;
    bottom:calc(102px + env(safe-area-inset-bottom))!important;
  }

  /* Dark */
  html[data-theme="dark"] body .sp-mobile-bottom-nav.sp-global-mobile-nav,
  html[data-sp-theme="dark"] body .sp-mobile-bottom-nav.sp-global-mobile-nav{
    background:rgba(16,24,38,.98)!important;
    border-top-color:rgba(255,255,255,.13)!important;
  }

  html[data-theme="dark"] body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item,
  html[data-sp-theme="dark"] body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item{
    color:#e5e7eb!important;
  }

  html[data-theme="dark"] body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item[data-key="add"],
  html[data-sp-theme="dark"] body .sp-mobile-bottom-nav.sp-global-mobile-nav .sp-mobile-nav-item[data-key="add"]{
    border-color:#101826!important;
  }
}

/* Masaüstünde mobil bar kesinlikle görünmez */
@media (min-width:768px){
  body .sp-mobile-bottom-nav.sp-global-mobile-nav{
    display:none!important;
  }
}

