    /* Mevcut stil bloğuna eklenir */
.keyword-image {
    margin: 20px 0;
    text-align: center;
}
/* Listeyi sıfırla */
ol {
  margin: 0;
  padding: 0;
}
/* Her maddeyi hizala, numarayı biz yerleştireceğiz */
ol > li {
  list-style: none;          /* tarayıcı numarasını kapat */
  position: relative;
  padding-left: 2rem;        /* metin için iç boşluk */
  counter-increment: item;   /* sayaç artır */
}
/* Özel numara (marker) */
ol > li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  width: 1.5rem;             /* numara kolon genişliği */
  text-align: right;
}
/* Sayaç başlangıcı */
ol {
  counter-reset: item;
}
.keyword-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
  :root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
  --sidebar-w: 280px;
}
hr {
  border: none;            /* varsayılan çizgiyi kaldırır */
  border-top: 1px solid #d4d4d4; /* kendi rengini belirler */
  margin: 10px 0;          /* üstte ve altta 10px boşluk bırakır */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: all 0.3s ease;
}
body.reading-mode {
  background: #fff;
}
body.reading-mode .header,
body.reading-mode .sidebar,
body.reading-mode #mobile-sidebar,
body.reading-mode #sidebar-overlay,
body.reading-mode .footer {
  display: none;
}
body.reading-mode .post-content {
  font-size: 1.2rem;
  line-height: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
}
body.reading-mode .post-title {
  font-size: 2.2rem;
}
/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--primary-light);
  z-index: 2000;
  transition: width 0.3s ease;
}
/* Header */
.header {
  background: var(--card);
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.logo img {
  height: 60px;
  width: auto;
}
nav.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
nav.desktop-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}
nav.desktop-nav a:hover,
nav.desktop-nav a.active {
  color: var(--primary-light);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.3s ease;
}
.menu-toggle.active {
  transform: rotate(90deg);
}
/* Breadcrumb */
.breadcrumb {
  padding: 0.8rem 2.5rem;
  background: var(--card);
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb span:not(a) {
  color: var(--text-muted);
}
/* Layout */
.container {
  display: flex;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
  gap: 2.5rem;
}
/* Main Content */
main {
  flex: 1;
  max-width: 820px;
}
.post-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.post-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #172f51;
text-transform: capitalize;
}
h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #172f51;
text-transform: capitalize;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}
.featured-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin: 10px 0;
  display: block;
}
.post-content {
  font-size: 1.08rem;
  color: var(--text);
}
.post-content p {
  margin-bottom: 1.6rem;
}
.post-content h2 {
  font-size: 1.2rem;
  margin: 1.6rem 0 1.2rem;
  color: var(--primary);
  scroll-margin-top: 80px;
}
.post-content ul {
  margin-left: 0;
  margin-bottom: 1.6rem;
  list-style: none;
  padding-left: 1.5rem;
}
.post-content li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}
.post-content li::before {
  content: '➔';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.7;
}
.post-content li:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}
.post-content a {
  color: var(--primary-light);
  text-decoration: none;
}
.post-content a:hover {
  text-decoration: underline;
}
.reading-mode-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}
.reading-mode-button:hover {
  background: var(--primary-light);
}
/* Table of Contents */
.toc {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: static; /* sayfa kayarken kendi konumunda hareket eder */
  z-index: 900;
}
.toc h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.toc ul {
  list-style: none;
  padding: 0;
}
.toc li {
  margin-bottom: 0.8rem;
}
.toc a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.toc a:hover {
  color: var(--primary-light);
}
/* Social Share */
.social-share {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  justify-content: flex-start;
  flex-wrap: wrap;
}
.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  transition: all 0.25s ease;
}
.social-share a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.social-share a.whatsapp {
  background: #25D366;
  color: white;
}
.social-share a.facebook {
  background: #1877F2;
  color: white;
}
.social-share a.twitter {
  background: #1DA1F2;
  color: white;
}
.social-share a.linkedin {
  background: #0A66C2;
  color: white;
}
/* Related Posts */
.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.related-posts h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.related-post-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.related-post-card:hover {
  transform: translateY(-5px);
}
.related-post-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.related-info {
  padding: 1rem;
  text-transform: capitalize;
}
.related-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.card ul {
  list-style: none;
  padding: 0;
}
.card li {
  margin-bottom: 1.1rem;
}
.card a {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}
.card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.card .info {
  flex: 1;
}
.card .info div:first-child {
  font-weight: 400;
  font-size: 12px;
text-transform: capitalize;
}
.card .info small {
  color: var(--text-muted);
  font-size: 0.9rem;
}
/* Mobile Sidebar */
#sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  transition: opacity 0.3s ease;
}
#mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--card);
  box-shadow: 2px 0 12px rgba(0,0,0,0.12);
  overflow-y: auto;
  z-index: 1000;
  transition: left 0.3s ease;
  padding: 1.8rem;
}
#mobile-sidebar.active {
  left: 0;
}
#sidebar-overlay.active {
  display: block;
  opacity: 1;
}
.close-sidebar {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text);
  cursor: pointer;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}
/* Footer */
.footer {
  background: #162d50;
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}
.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 0.8rem;
}
.footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: var(--primary-light);
}
.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-right: 0.5rem;
}
.footer .social-links a:hover {
  background: var(--primary-light);
}
.footer .copyright {
  text-align: center;
  grid-column: 1 / -1;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.95rem;
}
/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
  .container {
    padding: 0 1.5rem;
    margin-top: 1.5rem;
  }
  .post-card {
    padding: 2rem;
  }
  .post-title {
    font-size: 2.1rem;
  }
  .toc {
    position: static;
    padding: 1.2rem;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .post-title {
    font-size: 1.9rem;
  }
  .featured-image {
    max-height: 380px;
  }
  .post-content {
    font-size: 1.02rem;
  }
  .post-content li {
    padding-left: 1.5rem;
  }
  .social-share {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer .social-links {
    justify-content: center;
  }
  .toc {
    font-size: 0.95rem;
  }
  .toc h3 {
    font-size: 1.1rem;
  }
  .related-post-card img {
    height: 120px;
  }
  .related-info h4 {
    font-size: 1rem;
  }
  .reading-mode-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .post-card {
    padding: 1.5rem;
  }
  .post-title {
    font-size: 1.7rem;
  }
  .post-meta {
    gap: 1rem;
    font-size: 0.95rem;
  }
  .header {
    padding: 1rem 1.5rem;
  }
  .toc {
    padding: 1rem;
  }
}  
.table-responsive table {
    border: 1px solid #dee2e6;
    font-size: 0.95em;
}

.table-responsive table th,
.table-responsive table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

/* ====================================
   MOBİL TAŞMA ENGELLE (GÜVENLİ)
   ==================================== */

@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    padding: 0 1rem;
    gap: 1.5rem;
    margin: 1.5rem auto;
  }
  main { max-width: 100%; }
  .post-card { padding: 1.5rem; }
  .header { padding: 1rem 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.8rem; margin: 1rem auto; }
  .post-card { padding: 1.2rem; }
  .header { padding: 0.8rem 1rem; }
  .logo img { height: 50px; }
}

/* GÖRSELLER VE MEDYA %100 */
img, iframe, video, embed, object, pre, code {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* pre/code taşma */
pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 1.5rem 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* İçerik taşma */
.post-content > * {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Body taşma */
html, body {
  width: 100%;
  overflow-x: hidden;
}