/* Site custom - Post detay ve layout iyileştirmeleri */

/* Kategori Tabs - Ana sayfa (Alle, Technologie, Sport ...) */
.category-tabs {
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.category-tabs ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}
.category-tabs li {
  float: none;
  border-left: 1px solid #e0e0e0;
  margin: 0;
}
.category-tabs li:first-child {
  border-left: none;
}
.category-tabs li a {
  display: block;
  padding: 10px 18px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.03em;
  background: #fff;
  color: #222;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.category-tabs li a:hover {
  background: #f5f5f5;
  color: #222;
}
.category-tabs li a.current_page {
  background: #e93314;
  color: #fff !important;
}
.category-tabs li a.current_page:hover {
  background: #d42d10;
  color: #fff !important;
}

/* Sidebar Kategorien - tüm kategoriler görünsün, overflow yok */
.sidebar-content .box-widget .box-widget-content .tags-widget {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  min-height: auto;
}
.sidebar-content .box-widget .box-widget-content .tags-widget a {
  float: none;
  margin: 0;
}
.sidebar-content .box-widget-content {
  overflow: visible;
}
.sidebar-content.fix-bar,
.sidebar-content .box-widget {
  overflow: visible;
}

/* Weitere Nachrichten - float clearfix */
.list-post-wrap .list-post {
  overflow: hidden;
}
.list-post-wrap .list-post::after {
  content: '';
  display: table;
  clear: both;
}

/* Post widget item clearfix */
.post-widget-item.fl-wrap {
  overflow: hidden;
}
.post-widget-item.fl-wrap::after {
  content: '';
  display: table;
  clear: both;
}

/* Schlagworte - modern flex layout */
.post-single-tags .tags-widget {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.post-single-tags .tags-widget a {
  padding: 6px 14px;
  font-size: 11px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* Pagination wrap - clear floats, tema uyumlu */
.pagination-wrap {
  overflow: hidden;
  clear: both;
  margin-top: 24px;
  width: 100%;
}
.pagination-wrap .pagination {
  float: left;
}

/* Pagination - prev/next span when disabled */
.pagination .prevposts-link,
.pagination .nextposts-link {
  float: left;
  width: 50px;
  height: 50px;
  line-height: 50px;
  box-sizing: border-box;
  position: relative;
  font-size: 12px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  text-decoration: none;
  display: block;
}
.pagination .prevposts-link:last-child,
.pagination .nextposts-link:last-child {
  border-right: none;
}

/* Footer - İstanbul Yazılım credit (en alt, yeni sekmede açılır) */
.footer-credit {
  float: right;
  font-size: 12px;
  line-height: 36px;
  margin-right: 15px;
}
.footer-credit a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit a:hover {
  color: #e93314;
}

/* Single post - daha modern spacing */
.single-post-content_text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.single-post-content_text p {
  margin-bottom: 1rem;
}
.single-post-media img {
  border-radius: 6px;
  width: 100%;
  height: auto;
}
/* Reklam alanı placeholder (ad yoksa) */
.ad-placeholder {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-placeholder-inner {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border: 2px dashed #9ca3af;
  border-radius: 8px;
  padding: 2rem 3rem;
  text-align: center;
}
.ad-placeholder-text {
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
}
.ad-slot img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header search dropdown - container needs position relative */
.header-inner .container {
  position: relative;
}

/* Post detail - featured image (background fallback when img fails) */
.single-post-media .post-featured-img {
  width: 100%;
  display: block;
  position: relative;
}
.single-post-media .hov_zoom {
  position: relative;
  overflow: hidden;
}
.single-post-header h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
