.batman-sehir-sayfasi-editor {
  --bss-accent: #c40000;
  --bss-text-color: #222222;
  --bss-panel-bg: #ffffff;
  --bss-menu-bg: #ffffff;
  --bss-menu-text: #222222;
  --bss-menu-item-bg: #f3f3f3;
  --bss-active-text: #ffffff;
  --bss-heading-bg: #fff1f1;
  --bss-heading-text: #222222;
  --bss-menu-justify: center;
  --bss-font-family: Arial, Helvetica, sans-serif;
  --bss-top-offset: 0px;
  color: var(--bss-text-color);
  font-family: var(--bss-font-family) !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.batman-sehir-sayfasi-editor *,
.batman-sehir-sayfasi-editor *::before,
.batman-sehir-sayfasi-editor *::after {
  box-sizing: border-box;
}

.batman-sehir-sayfasi-editor .batman-tabs-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: var(--bss-menu-justify);
  gap: 7px;
  align-items: center;
  margin: 0 0 16px;
  padding: 9px;
  background: var(--bss-menu-bg);
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.batman-sehir-sayfasi-editor.bss-sticky .batman-tabs-menu {
  position: sticky;
  top: var(--bss-top-offset);
  z-index: 50;
}

body.admin-bar .batman-sehir-sayfasi-editor.bss-sticky .batman-tabs-menu {
  top: calc(32px + var(--bss-top-offset));
}

.batman-sehir-sayfasi-editor .batman-tabs-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bss-menu-item-bg);
  color: var(--bss-menu-text);
  text-decoration: none !important;
  line-height: 1.2;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: .18s ease;
}

.batman-sehir-sayfasi-editor .batman-tabs-menu a:hover,
.batman-sehir-sayfasi-editor .batman-tabs-menu a.active {
  background: var(--bss-accent);
  color: var(--bss-active-text);
  border-color: var(--bss-accent);
}

.batman-sehir-sayfasi-editor .batman-tabs-content {
  width: 100%;
}

.batman-sehir-sayfasi-editor .batman-tab-panel {
  scroll-margin-top: calc(86px + var(--bss-top-offset));
  background: var(--bss-panel-bg);
  border: 1px solid #eeeeee;
  border-radius: 14px;
  padding: 16px;
  margin: 0 0 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.batman-sehir-sayfasi-editor.bss-mode-tabs .batman-tab-panel {
  display: none;
}

.batman-sehir-sayfasi-editor.bss-mode-tabs .batman-tab-panel.active {
  display: block;
}

.batman-sehir-sayfasi-editor.bss-mode-index .batman-tab-panel {
  display: block;
}

.batman-sehir-sayfasi-editor img,
.batman-sehir-sayfasi-editor .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.batman-sehir-sayfasi-editor .batman-icerik-baslik {
  display: block;
  margin: 16px 0 10px;
  padding: 9px 12px;
  background: var(--bss-heading-bg);
  border-left: 4px solid var(--bss-accent);
  border-radius: 9px;
  color: var(--bss-heading-text);
  font-weight: 800;
  line-height: 1.35;
}

.batman-sehir-sayfasi-editor table.countryInfo {
  width: 100% !important;
  height: auto !important;
  border-collapse: collapse;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 12px;
}

.batman-sehir-sayfasi-editor table.countryInfo td {
  border: 1px solid #e8e8e8;
  padding: 8px 10px;
  height: auto !important;
}

.batman-sehir-sayfasi-editor table.countryInfo tr:nth-child(odd) td {
  background: #fafafa;
}

.batman-sehir-sayfasi-editor table.countryInfo td:first-child {
  font-weight: 700;
  color: var(--bss-text-color);
  width: 32% !important;
}

.batman-sehir-empty {
  padding: 14px;
  border: 1px solid #ffd7a1;
  background: #fff8ed;
  border-radius: 10px;
}

@media (max-width: 782px) {
  body.admin-bar .batman-sehir-sayfasi-editor.bss-sticky .batman-tabs-menu {
    top: calc(46px + var(--bss-top-offset));
  }

  .batman-sehir-sayfasi-editor .batman-tabs-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px;
    gap: 6px;
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .batman-sehir-sayfasi-editor .batman-tabs-menu a {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 7px 10px;
  }

  .batman-sehir-sayfasi-editor .batman-tab-panel {
    padding: 12px;
    border-radius: 12px;
  }


}

.batman-sehir-sayfasi-editor .batman-tab-panel,
.batman-sehir-sayfasi-editor .batman-tab-panel p,
.batman-sehir-sayfasi-editor .batman-tab-panel div,
.batman-sehir-sayfasi-editor .batman-tab-panel strong,
.batman-sehir-sayfasi-editor .batman-tab-panel td {
  color: var(--bss-text-color);
}

.batman-sehir-sayfasi-editor .batman-tab-panel a:not(.batman-tabs-menu a) {
  color: var(--bss-accent);
}

.batman-sehir-sayfasi-editor .batman-tabs-menu a,
.batman-sehir-sayfasi-editor .batman-tabs-menu a:visited {
  color: var(--bss-menu-text);
}

.batman-sehir-sayfasi-editor .batman-tabs-menu a:hover,
.batman-sehir-sayfasi-editor .batman-tabs-menu a.active,
.batman-sehir-sayfasi-editor .batman-tabs-menu a.active:visited {
  color: var(--bss-active-text);
}


.batman-sehir-sayfasi-editor * {
  font-family: var(--bss-font-family) !important;
}


/* AddToAny veya benzeri paylaşım eklentileri bölüm içeriklerine tekrar eklenirse içeride gizle.
   Tema/sayfa sonunda gelen normal paylaşım butonuna dokunmaz. */
.batman-sehir-sayfasi-editor .addtoany_content,
.batman-sehir-sayfasi-editor .addtoany_share_save_container {
  display: none !important;
}

/* 1.3.3 Mobil düzeltmeler */
.batman-sehir-sayfasi-editor .batman-tabs-menu {
  max-width: 100%;
}

@media (max-width: 782px) {
  .batman-sehir-sayfasi-editor .batman-tabs-menu {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;
    width: 100% !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
  }

  .batman-sehir-sayfasi-editor .batman-tabs-menu::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .batman-sehir-sayfasi-editor .batman-tabs-menu a {
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .batman-sehir-sayfasi-editor table.countryInfo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
  }

  .batman-sehir-sayfasi-editor table.countryInfo tbody {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .batman-sehir-sayfasi-editor table.countryInfo tr {
    display: grid !important;
    grid-template-columns: 38% 62%;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border-bottom: 1px solid #e5e5e5;
    align-items: stretch;
  }

  .batman-sehir-sayfasi-editor table.countryInfo tr:last-child {
    border-bottom: 0;
  }

  .batman-sehir-sayfasi-editor table.countryInfo td {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 9px !important;
    line-height: 1.35 !important;
    font-size: 15px !important;
    vertical-align: top !important;
    border: 0 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  .batman-sehir-sayfasi-editor table.countryInfo td:first-child {
    width: auto !important;
    background: #f3f3f3 !important;
    font-weight: 800 !important;
  }

  .batman-sehir-sayfasi-editor table.countryInfo td:nth-child(2) {
    background: #fff !important;
  }

  .batman-sehir-sayfasi-editor table.countryInfo a {
    display: inline !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .batman-sehir-sayfasi-editor table.countryInfo a img {
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    margin: 0 0 0 4px !important;
    vertical-align: -1px !important;
  }
}

@media (max-width: 420px) {
  .batman-sehir-sayfasi-editor .batman-tab-panel {
    padding: 10px !important;
  }

  .batman-sehir-sayfasi-editor table.countryInfo tr {
    grid-template-columns: 40% 60%;
  }

  .batman-sehir-sayfasi-editor table.countryInfo td {
    font-size: 14px !important;
    padding: 7px 8px !important;
  }
}


/* Son güncelleme bilgisi */
.batman-sehir-sayfasi-editor .bss-last-updated {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px dashed #dddddd;
  color: #777777 !important;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.batman-sehir-sayfasi-editor .bss-last-updated span,
.batman-sehir-sayfasi-editor .bss-last-updated time {
  color: #777777 !important;
}

.batman-sehir-sayfasi-editor .bss-last-updated span {
  font-weight: 700;
}

@media (max-width: 782px) {
  .batman-sehir-sayfasi-editor .bss-last-updated {
    text-align: left;
    font-size: 12px;
  }
}
