/* blog_detail.css
 * server/templates/blog_detail.html icindeki iki statik inline <style> blogundan
 * (hic Jinja degiskenine bagli degildi) tasindi. Her blog yazisi sayfasinda
 * birebir ayni ~61KB CSS tekrar tekrar gomuluyor ve hic cache'lenmiyordu;
 * artik diger /static varliklari gibi 1 yillik immutable cache aliyor.
 */

/* CSS Variables */
:root {
  /* --blog- prefix: page-scoped names so they never override the site-wide
     --blue/--text-main/--background/etc. vars used by the header/menu bar. */
  --blog-blue: #007bff;
  --blog-blue-light: #e3f2fd;
  --blog-text-main: #333333;
  --blog-text-secondary: #666666;
  --blog-background: #ffffff;
  --blog-border: #dddddd;
}

/* 🚀 RADIKAL PARAGRAF SINIRI KALDIRMA - EN ÜST PRİORİTE */
.blog-article,
/* Paragraf limitleri için spesifik override */
.breed-detailed-content,
.rendered-content,
.article-content {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    text-overflow: unset !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Paragraflar için özel override */
.breed-detailed-content p,
.rendered-content p,
.article-content p {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    text-overflow: unset !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    display: block !important;
    white-space: normal !important;
}

/* Cleaned text reset - avoid conflicts */
.blog-article,
.article-content,
.rendered-content,
.breed-detailed-content {
  font-style: normal;
  font-weight: normal;
  background: transparent;
  text-decoration: none;
}

/* Strong and em elements preserve their styles */
.blog-article strong,
.article-content strong,
.rendered-content strong,
.breed-detailed-content strong,
strong {
  font-weight: bold !important;
}

.blog-article em,
.article-content em,
.rendered-content em,
.breed-detailed-content em,
em {
  font-style: italic !important;
}

/* İRK DETAY CSS SİSTEMİ - BİREBİR KOPYALA */
.article-content,
.rendered-content,
.breed-detailed-content {
    line-height: 1.6;
    font-size: 1.0rem;
    color: #333;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.article-content p,
.rendered-content p,
.breed-detailed-content p {
    margin: 0 0 10px 0 !important;
    line-height: 1.6 !important;
    font-size: 1.0rem !important;
    color: #333 !important;
    font-weight: normal !important;
    font-style: normal !important;
    background: transparent !important;
    text-decoration: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Başlıklar için özel stiller - DÜZELTME */
.article-content h1,
.rendered-content h1,
.breed-detailed-content h1 {
    color: #007bff !important;
    margin: 24px 0 12px 0 !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    display: block !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    font-style: normal !important;
}

.article-content h2,
.rendered-content h2,
.breed-detailed-content h2 {
    color: #007bff !important;
    margin: 20px 0 10px 0 !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    display: block !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    font-style: normal !important;
}

.article-content h3,
.rendered-content h3,
.breed-detailed-content h3 {
    color: #007bff !important;
    margin: 18px 0 8px 0 !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    display: block !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    font-style: normal !important;
}

.article-content h4,
.rendered-content h4,
.breed-detailed-content h4 {
    color: #333 !important;
    margin: 16px 0 8px 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    display: block !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    font-style: normal !important;
}

.article-content h5,
.rendered-content h5,
.breed-detailed-content h5 {
    color: #333 !important;
    margin: 14px 0 6px 0 !important;
    font-size: 1.0rem !important;
    font-weight: 600 !important;
    display: block !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    font-style: normal !important;
}

/* Başlık sonrası ilk paragraf için özel boşluk */
.article-content h1 + p,
.article-content h2 + p,
.article-content h3 + p,
.article-content h4 + p,
.rendered-content h1 + p,
.rendered-content h2 + p,
.rendered-content h3 + p,
.rendered-content h4 + p,
.breed-detailed-content h1 + p,
.breed-detailed-content h2 + p,
.breed-detailed-content h3 + p,
.breed-detailed-content h4 + p {
    margin-top: 0 !important;
}

/* İlk başlık için üst boşluk kaldır */
.article-content h1:first-child,
.article-content h2:first-child,
.article-content h3:first-child,
.rendered-content h1:first-child,
.rendered-content h2:first-child,
.rendered-content h3:first-child,
.breed-detailed-content h1:first-child,
.breed-detailed-content h2:first-child,
.breed-detailed-content h3:first-child {
    margin-top: 0 !important;
}

/* Resimler için stiller - İRK DETAY SİSTEMİ - OPTIMIZE EDİLDİ */
.article-content img,
.rendered-content img,
.breed-detailed-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 16px auto !important;
    display: block !important;
    clear: both !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.article-content p:empty,
.rendered-content p:empty,
.breed-detailed-content p:empty {
    display: none !important;
}

.article-content br + br,
.rendered-content br + br,
.breed-detailed-content br + br {
    display: none !important;
}

.article-content h1,
.article-content h2,
.article-content h3,
.rendered-content h1,
.rendered-content h2,
.rendered-content h3,
.breed-detailed-content h1,
.breed-detailed-content h2,
.breed-detailed-content h3 {
    margin: 1rem 0 0.6rem 0 !important;
    line-height: 1.3 !important;
}

/* Liste stilleri - DÜZELTME */
.article-content ul,
.article-content ol,
.rendered-content ul,
.rendered-content ol,
.breed-detailed-content ul,
.breed-detailed-content ol {
    margin: 16px 0 !important;
    padding-left: 24px !important;
    line-height: 1.6 !important;
}

.article-content ul,
.rendered-content ul,
.breed-detailed-content ul {
    list-style-type: disc !important;
}

.article-content ol,
.rendered-content ol,
.breed-detailed-content ol {
    list-style-type: decimal !important;
}

.article-content li,
.rendered-content li,
.breed-detailed-content li {
    margin: 6px 0 !important;
    line-height: 1.6 !important;
    font-size: 1.0rem !important;
    color: #333 !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-decoration: none !important;
}

.article-content li:first-child,
.rendered-content li:first-child,
.breed-detailed-content li:first-child {
    margin-top: 0 !important;
}

.article-content li:last-child,
.rendered-content li:last-child,
.breed-detailed-content li:last-child {
    margin-bottom: 0 !important;
}

/* Content Section */
.blog-content-section {
  background: var(--bg-light, #f8f9fa);
  padding: 20px 0;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  word-wrap: break-word;
}

/* Article - OPTIMIZE EDİLDİ */
.blog-article {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 28px;
  overflow: visible;
  width: 100%;
  margin-bottom: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.breed-detailed-content {
  padding: 10px;
  font-size: 1.0rem !important;
  line-height: 1.6em;
  color: var(--text-main, #333333);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
  text-overflow: unset !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  max-height: none !important;
  height: auto !important;
}

.breed-detailed-content p {
  font-size: 1.0rem !important;
  margin-bottom: 18px;
  line-height: 1.7;
  color: var(--text-main, #333333);
}

.breed-detailed-content h1 {
  color: var(--blue, #007bff);
  margin: 36px 0 8px 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.breed-detailed-content h2 {
  color: var(--blue, #007bff);
  margin: 32px 0 8px 0;
  font-size: 1.2em;
  font-weight: 600;
}

.breed-detailed-content h3 {
  color: var(--blue, #007bff);
  margin: 28px 0 6px 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.breed-detailed-content h4 {
  color: var(--text-main, #333333);
  margin: 24px 0 6px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.breed-detailed-content h1:first-child,
.breed-detailed-content h2:first-child,
.breed-detailed-content h3:first-child,
.breed-detailed-content h4:first-child,
.breed-detailed-content p:first-child {
  margin-top: 0;
}

.breed-detailed-content h1 + p,
.breed-detailed-content h2 + p,
.breed-detailed-content h3 + p {
  margin-top: 0.8rem;
}




/* Category Badge Styling */
.category-badge-container {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333 !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-badge i {
    color: var(--category-color, #007bff);
    font-size: 1rem;
}

.category-badge .subcategory {
    margin-left: 0.3rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    font-weight: 400;
    color: #666;
}



/* Author bilgilerini gizle */
.hero-author-info,
.author-card,
.author-info {
    display: none !important;
}

/* Link stillerini temizle - altı çizili sorununu çöz */
.article-content a,
.rendered-content a,
.breed-detailed-content a {
    color: #333 !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    font-style: normal !important;
}

/* Text elementleri için temizlik - çakışmaları önle */
.article-content p,
.rendered-content p,
.breed-detailed-content p {
    font-style: normal;
    color: #333;
}

/* Bold ve italic stillerin korunması */
.article-content b,
.article-content strong,
.rendered-content b,
.rendered-content strong,
.breed-detailed-content b,
.breed-detailed-content strong {
    font-weight: bold !important;
}

.article-content i,
.article-content em,
.rendered-content i,
.rendered-content em,
.breed-detailed-content i,
.breed-detailed-content em {
    font-style: italic !important;
}

/* Boş resimler için gizle */
.article-content img[src=""],
.rendered-content img[src=""],
.breed-detailed-content img[src=""] {
    display: none !important;
}

/* ================================================
   BLOG İÇERİK RENDER ALANI - SİTE FONTU UYUMU
   Siteyle uyumlu font: 'Segoe UI', Arial, sans-serif
   ================================================ */
#blogContentRendered {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

#blogContentRendered p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin: 0 0 0.65rem 0 !important;
    font-weight: 400 !important;
}

#blogContentRendered h1,
#blogContentRendered h2,
#blogContentRendered h3,
#blogContentRendered h4,
#blogContentRendered h5,
#blogContentRendered h6 {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #222 !important;
    margin: 1.1rem 0 0.4rem 0 !important;
}

/* Makale doğrudan başlıkla başlıyorsa üstte kart iç boşluğuna ek bir boşluk kalmasın */
#blogContentRendered > :first-child {
    margin-top: 0 !important;
}

/* Alt kenarda da aynı: son eleman (veya ondan sonra gizli boş <p> varsa son görünen eleman)
   kart iç boşluğuna ek boşluk bırakmasın */
#blogContentRendered > :last-child,
#blogContentRendered > :has(+ p:empty:last-child) {
    margin-bottom: 0 !important;
}

#blogContentRendered h1 { font-size: 1.55rem !important; }
#blogContentRendered h2 { font-size: 1.35rem !important; color: #2e7d6a !important; }
#blogContentRendered h3 { font-size: 1.15rem !important; color: #2e7d6a !important; }
#blogContentRendered h4 { font-size: 1.05rem !important; }
#blogContentRendered h5 { font-size: 1rem !important; }
#blogContentRendered h6 { font-size: 0.95rem !important; color: #555 !important; }

#blogContentRendered ul,
#blogContentRendered ol {
    margin: 0.4rem 0 0.65rem 0 !important;
    padding-left: 1.4rem !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

#blogContentRendered li {
    margin-bottom: 0.25rem !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

#blogContentRendered blockquote {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 1rem !important;
    font-style: italic !important;
    color: #555 !important;
    border-left: 4px solid #6fdbb5 !important;
    margin: 0.8rem 0 !important;
    padding: 0.5rem 1rem !important;
    background: #f4fdf9 !important;
    border-radius: 0 6px 6px 0 !important;
}

#blogContentRendered code {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 0.92rem !important;
    background: #f5f5f5 !important;
    color: #c0392b !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
}

#blogContentRendered pre {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 0.92rem !important;
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 0.8rem 1rem !important;
    overflow-x: auto !important;
    margin: 0.8rem 0 !important;
    line-height: 1.55 !important;
}

#blogContentRendered pre code {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #333 !important;
}

#blogContentRendered table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.95rem !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    margin: 1.2rem 0 !important;
    color: #333 !important;
}


#blogContentRendered th {
    background: #6fdbb5 !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.6rem 0.9rem !important;
    text-align: left !important;
    border: 1px solid #60bd9c !important;
}

#blogContentRendered td {
    padding: 0.55rem 0.9rem !important;
    border: 1px solid #e0e0e0 !important;
    vertical-align: top !important;
}

#blogContentRendered tr:nth-child(even) td {
    background: #f8fdf9 !important;
}

#blogContentRendered a {
    color: #2e7d6a !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

#blogContentRendered a:hover {
    color: #1a5c4e !important;
}

#blogContentRendered hr {
    border: none !important;
    border-top: 2px solid #e8f5e9 !important;
    margin: 1.5rem 0 !important;
}

/* 🌟 Hero Section */
.blog-detail-hero {
  position: relative;
  min-height: 40vh;
  padding: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 168, 207, 0.8) 0%, rgba(255, 146, 3, 0.8) 100%);
  z-index: 2;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--header);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
  padding: 0px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

/* 🧭 Breadcrumb
   NOT: Bu sayfada ayrı bir breadcrumb markup'ı yok; gezinme site-geneli
   .breadcrumb-outer/.breadcrumb-wrapper/.breadcrumb-nav bileşeniyle
   base.html'den geliyor (bkz. style.min.css). Eskiden burada tanımlı olan
   .breadcrumb-nav/.breadcrumb/.breadcrumb-item/... kuralları artık hiçbir
   öğeyle eşleşmiyordu; sadece .breadcrumb-nav adı çakıştığı için site-geneli
   gezinme çubuğuna istenmeyen margin-bottom/font-size/padding-left ekleyip
   (fixed konumlandığı mobilde) çubuğun olduğundan daha büyük/taşmış
   görünmesine yol açıyordu. Kaldırıldı. */

/* 📝 Hero Title */
.hero-title {
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


/* 📄 Hero Summary */
.hero-summary {
  margin-top: 12px;
}

.hero-summary p {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0;
}

/* Çakışan CSS silindi */

/* 📃 Article */
.blog-article {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  overflow: visible;
  width: 100%;
  margin-bottom: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.article-content {
  padding: 0;
  font-size: 1.1rem !important;
  line-height: 1.7em;
  color: var(--blog-text-main);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
  text-overflow: unset !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  max-height: none !important;
  height: auto !important;
  clear: both;
  position: relative;
}

.article-content p {
  font-size: 1.0rem !important;
}

.rendered-content {
  font-size: 1.1rem !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
  text-overflow: unset !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  max-height: none !important;
  height: auto !important;
  clear: both;
  position: relative;
}

.article-content h1:first-child,
.article-content h2:first-child,
.article-content h3:first-child,
.article-content h4:first-child,
.article-content p:first-child {
  margin-top: 0;
}

/* Başlık sonrası ilk paragraf için spacing normal */
.article-content h1 + p,
.article-content h2 + p,
.article-content h3 + p,



.rendered-content blockquote {
  border-left: 4px solid var(--primary);
  margin: 28px 0;
  padding: 20px 24px;
  background: #f8fafc;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.rendered-content ul, .rendered-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.rendered-content li {
  margin-bottom: 10px;
  line-height: 1.0;
}

.rendered-content li:last-child {
  margin-bottom: 0;
}

.rendered-content code {
  background: #f1f3f4;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.9em;
  color: #d73a49;
}

.rendered-content pre {
  background: #f8f8f8;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-family: 'Monaco', 'Consolas', monospace;
}

.rendered-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.rendered-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rendered-content th, .rendered-content td {
  border: 1px solid #e1e5e9;
  padding: 12px 16px;
  text-align: left;
}

.rendered-content th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.rendered-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.rendered-content a:hover {
  border-bottom-color: var(--primary);
  text-decoration: none;
}

.rendered-content hr {
  border: none;
  border-top: 2px solid #e1e5e9;
  margin: 40px 0;
}

.no-content {
  text-align: center;
  padding: 80px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 40px 0;
}

.empty-content-message {
  max-width: 400px;
  margin: 0 auto;
}

.empty-content-message i {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 20px;
}

.empty-content-message h3 {
  color: #333333;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.empty-content-message p {
  color: #666666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.empty-content-message .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: var(0.3s ease);
  font-weight: 500;
}

.empty-content-message .btn:hover {
  background: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* 📖 Enhanced Content Styling */
.rendered-content {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rendered-content .blog-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: var(0.3s ease);
}

.rendered-content .blog-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.rendered-content blockquote {
  border-left: 4px solid var(--blog-blue);
  margin: 24px 0;
  padding: 20px 24px;
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  position: relative;
}

.rendered-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--blog-blue);
  position: absolute;
  top: -10px;
  left: 24px;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.rendered-content blockquote p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--blog-text-main);
}

/* � Text Highlighting */


/* �🏷️ Article Footer */
.article-footer {
  padding: 30px 40px;
  border-top: 1px solid #eee;
  background: var(--blog-blue-light);
}

.article-tags {
  margin-bottom: 24px;
}

.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blog-text-main);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.tag-label i {
  color: var(--primary);
  font-size: 1.1rem;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.article-tag {
  padding: 8px 14px;
  background: #e8f4ff;
  color: #007bff;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 123, 255, 0.2);
}

.article-tag:hover {
  background: #007bff;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* 📊 Engagement */
.article-engagement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.engagement-stats {
  display: flex;
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blog-text-secondary);
  font-size: 0.9rem;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-label {
  font-weight: 600;
  color: var(--blog-text-main);
  margin-right: 8px;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.share-btn i {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.share-text {
  display: none;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
}

.share-btn:hover .share-text {
  opacity: 1;
  bottom: -22px;
}

.share-btn:hover i {
  transform: scale(1.1);
}

.share-btn.facebook { 
  background: linear-gradient(45deg, #1877f2, #42a5f5); 
}

.share-btn.facebook:hover { 
  background: linear-gradient(45deg, #166fe5, #2196f3); 
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.share-btn.instagram { 
  background: linear-gradient(45deg, #e4405f, #833ab4, #fccc63); 
}

.share-btn.instagram:hover { 
  background: linear-gradient(45deg, #d73447, #7209b7, #f9c23c); 
  box-shadow: 0 4px 15px rgba(228, 64, 95, 0.4);
}

.share-btn.whatsapp { 
  background: linear-gradient(45deg, #25d366, #128c7e); 
}

.share-btn.whatsapp:hover { 
  background: linear-gradient(45deg, #20c05c, #075e54); 
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.share-btn.link { 
  background: linear-gradient(45deg, #6c757d, #495057); 
  color: white;
}

.share-btn.link:hover { 
  background: linear-gradient(45deg, #5a6268, #343a40); 
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

.share-btn:hover {
  transform: scale(1.1);
  color: white !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 📱 Sidebar */
.blog-sidebar {
  width: 100%;
  margin-top: 60px;
}

.sidebar-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header {
  padding: 20px 24px;
  background: var(--header);
  color: white;
}

.card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-content {
  padding: 20px;
  background: #f8f9fa;
}

/*  Related Posts */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(8px);
  transition: var(0.3s ease);
  text-decoration: none;
  color: inherit;
}

.related-item:hover {
  background: var(--blog-background);
  transform: translateX(4px);
  color: inherit;
  text-decoration: none;
}

.related-image {
  width: 60px;
  height: 60px;
  border-radius: var(8px);
  overflow: hidden;
  flex-shrink: 0;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-content h4 {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  color: var(--blog-text-main);
  line-height: 1.3;
}

.related-date {
  font-size: 0.8rem;
  color: var(--blog-text-secondary);
}

/* Related Articles Grid - Horizontal Layout */
.related-articles-container {
  width: 100%;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

.related-article-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.related-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
  text-decoration: none;
  color: inherit;
}

.article-image {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
}

/* Loading States */
.loading-articles {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #666;
  font-size: 1rem;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error States */
.error-message {
  text-align: center;
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  font-size: 0.9rem;
}

.fallback-message {
  text-align: center;
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  font-size: 0.9rem;
}

.article-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Desktop related-article-card spacing: less top gap, slightly wider side margins */
.related-article-card .article-content {
  padding: 10px 22px 18px;
}

.article-content h4 {
  margin: 0 0 8px 0;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blog-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-content p {
  margin: 0 0 10px 0;
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
  margin-top: auto;
  padding-top: 2px;
}

.article-date i {
  font-size: 0.75rem;
}

/* Mobile responsive for blog article content */










/* 🎯 Actions Section */
.blog-actions-section {
  background: var(#ffffff);
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.actions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 🧭 Navigation */
.blog-navigation {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.nav-posts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-post-btn {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(#ffffff);
  border: 2px solid #e1e5e9;
  border-radius: var(8px);
  text-decoration: none;
  color: var(--blog-text-main);
  transition: var(0.3s ease);
  min-height: 80px;
  justify-content: center;
}

.nav-post-btn.prev-post {
  text-align: left;
}

.nav-post-btn.next-post {
  text-align: right;
}

.nav-post-btn:hover {
  border-color: var(--primary);
  background: var(--blog-background);
  transform: translateY(-2px);
  box-shadow: var(0 4px 16px rgba(0, 0, 0, 0.15));
  text-decoration: none;
  color: var(--blog-text-main);
}

.nav-direction {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--blog-text-secondary);
  font-weight: 600;
}

.nav-post-btn.next-post .nav-direction {
  justify-content: flex-end;
}

.nav-post-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.admin-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(8px);
  text-decoration: none;
  font-weight: 600;
  transition: var(0.3s ease);
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.back-btn {
  background: var(--blog-background);
  color: var(--blog-text-main);
  border-color: #e1e5e9;
  width: auto;
  min-width: fit-content;
  white-space: nowrap;
}

.back-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  text-decoration: none;
}

.admin-actions {
  display: flex;
  gap: 12px;
}

.edit-btn {
  height: 40px;
  cursor: pointer;
  background: var(--primary-dark);
  color: white;
}

.edit-btn:hover {
  background: #45a049;
  color: white;
  text-decoration: none;
}

.delete-btn {
  height: 40px;
  background: var(--danger);
  color: white;
  border: none;
  cursor: pointer;
}

.delete-btn:hover {
  background: #d32f2f;
}

.delete-form {
  display: inline;
}

/* 🎯 CTA Section - footera yapışık, arkaplanı yanlara tam genişlikte,
   içerik (.cta-content) max-width ile ortalı kalıyor */
.blog-cta {
  background: var(--header);
  border-radius: 0;
  padding: 0;
  text-align: center;
  color: white;
  width: 100%;
  margin: 0;
}

.cta-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
  box-sizing: border-box;
}

.cta-content h3 {
  font-size: 2rem;
  margin: 0 0 16px 0;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.1rem;
  margin: 0 0 32px 0;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(8px);
  text-decoration: none;
  font-weight: 600;
  transition: var(0.3s ease);
  font-size: 1rem;
}

.cta-btn.primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-btn.primary:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* � Blog Yorum Sistemi */
.blog-comments-section {
  background: white;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
}

.comments-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f3f4;
}

.comments-header h2 {
  color: var(--blog-text-main);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comments-header i {
  color: var(--primary);
}

#comments-count {
  color: #6c757d;
  font-weight: 500;
  font-size: 1.2rem;
}

/* Yorum Formu */
.comment-form-section {
  margin-bottom: 32px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.comment-form-header h3 {
  color: var(--blog-text-main);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-form-header i {
  color: var(--primary);
}

.comment-form textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.5;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.3s ease;
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(75, 192, 192, 0.1);
}

.comment-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.comment-info {
  color: #6c757d;
  font-size: 12px;
}

.comment-submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.comment-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.comment-submit-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.comment-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

.comment-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.comment-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Yorumlar Listesi */
.comments-list {
  margin-top: 32px;
}

.comment-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.comment-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.comment-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.comment-user-details {
  flex: 1;
}

.comment-username {
  font-weight: 600;
  color: var(--blog-text-main);
  font-size: 14px;
  margin-bottom: 2px;
}

.comment-date {
  font-size: 12px;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 4px;
}

.comment-content {
  color: var(--blog-text-main);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.comment-actions {
  display: flex !important;
  align-items: center;
  gap: 16px;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.comment-action-btn {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #6c757d;
  font-size: 13px;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
  visibility: visible !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.comment-action-btn.like-btn {
  background: #e74c3c;
  color: white;
  border-color: #e74c3c;
}

.comment-action-btn.like-btn:hover {
  background: #c0392b;
  border-color: #c0392b;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

.comment-action-btn.reply-btn {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.comment-action-btn.reply-btn:hover {
  background: #2980b9;
  border-color: #2980b9;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.comment-action-btn.replies-btn {
  background: #17a2b8;
  color: white;
  border-color: #17a2b8;
}

.comment-action-btn.replies-btn:hover {
  background: #138496;
  border-color: #138496;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.4);
}

.comment-action-btn.liked {
  color: #e74c3c;
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.comment-action-btn.replied {
  color: var(--primary);
}

/* Reply Form Styling */
.reply-form {
  margin-top: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reply-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.reply-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.reply-form-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.reply-submit-btn, .reply-cancel-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reply-submit-btn {
  background: var(--primary);
  color: white;
}

.reply-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.reply-cancel-btn {
  background: #6c757d;
  color: white;
}

.reply-cancel-btn:hover {
  background: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

/* Alt Yorumlar */
.replies-section {
  margin-top: 16px;
  padding-left: 52px;
  border-left: 2px solid #e9ecef;
}

.reply-item {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.reply-form {
  margin-top: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  display: none;
}

.reply-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 13px;
  min-height: 80px;
  resize: vertical;
}

.reply-form-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.reply-submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.reply-cancel-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* Daha Fazla Yorum Butonu */
.load-more-comments {
  text-align: center;
  margin-top: 24px;
}

.load-more-btn {
  background: #f8f9fa;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--primary);
  color: white;
}



.blog-article, .sidebar-card {
  animation: fadeInUp 0.6s ease-out;
}

.blog-article {
  animation-delay: 0.1s;
}

.sidebar-card:nth-child(1) {
  animation-delay: 0.2s;
}

.sidebar-card:nth-child(2) {
  animation-delay: 0.3s;
}

.sidebar-card:nth-child(3) {
  animation-delay: 0.4s;
}
/* Sikca Sorulan Sorular bolumu - FAQPage JSON-LD semasiyla eslesen gorunur icerik */
.blog-faq-section {
  margin: 28px 0;
  padding: 18px 20px;
  background: #f8f9fb;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
}
.blog-faq-section h2 {
  font-size: 1.2rem;
  margin: 0 0 12px 0;
  color: #222;
}
.blog-faq-section .faq-item {
  border-bottom: 1px solid #e3e6ea;
  padding: 10px 0;
}
.blog-faq-section .faq-item:last-child {
  border-bottom: none;
}
.blog-faq-section summary {
  cursor: pointer;
  font-weight: 600;
  color: #2e7d6a;
  list-style: none;
}
.blog-faq-section summary::-webkit-details-marker { display: none; }
.blog-faq-section summary::before {
  content: '+';
  display: inline-block;
  width: 1.1em;
  font-weight: 700;
}
.blog-faq-section details[open] summary::before { content: '-'; }
.blog-faq-section p {
  margin: 8px 0 0 1.1em;
  color: #444;
  line-height: 1.55;
}
/* 🔧 Print Styles */
@media print {
  .blog-sidebar,
  .blog-navigation,
  .blog-cta,
  .share-buttons {
    display: none;
  }
  
  .content-container {
    grid-template-columns: 1fr;
  }
  
  .blog-article {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

.cta-btn {
  padding: 16px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: var(0.3s ease);
}

.cta-btn.primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.cta-btn.secondary {
  background: var(#ffffff);
  color: var(--primary);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(0 4px 16px rgba(0, 0, 0, 0.15));
  color: white;
  text-decoration: none;
}

.cta-btn.secondary:hover {
  color: var(--primary);
}

/* ===========================
   🎯 MODERN RESPONSIVE DESIGN
   =========================== */

/* 💻 Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .hero-container, .actions-container {
    max-width: 1400px;
  }
  
  .article-content, .rendered-content {
    padding: 10px;
    font-size: 1.2rem;
    line-height: 1.8;
  }
  
  .hero-title {
    font-size: 2.0rem;
  }
  
  .hero-summary p {
    font-size: 1.1rem;
  }
}

/* 🖥️ Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .article-content, .rendered-content {
    padding: 10px;
    font-size: 1.15rem;
    line-height: 1.7;
  }
  
  .hero-title {
    font-size: 2.55rem;
  }
  
  .hero-summary p {
    font-size: 1.05rem;
  }
}
/* �📱 Responsive Design */
@media (max-width: 1024px) {
  .blog-sidebar {
    margin-top: 40px;
  }
}

/* Mobile optimizations */

/* 💻 Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .content-container {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 30px;
  }
  
  .blog-sidebar {
    order: -1;
  }
  
  .article-content, .rendered-content {
    padding: 10px;
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-summary p {
    font-size: 1.0rem;
  }
  
  .related-article-card {
    flex: 0 0 calc(50% - 15px);
    min-width: 280px;
  }
}


/* 📱 Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .content-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 25px;
  }
  
  .blog-sidebar {
    order: -1;
  }
  
  /* Hero Section */
  .blog-detail-hero {
    min-height: 35vh;
  }
  
  .hero-content {
    padding: 25px 0;
  }
  
  .hero-container {
    padding: 0 25px;
  }
  
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
  }
  
  .hero-summary p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .hero-author-info {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .publish-info {
    justify-content: center;
  }
  
  /* Article Content */
  .article-content, .rendered-content {
    padding: 10px;
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .article-content h1, .rendered-content h1 {
    font-size: 2.2rem;
    margin: 40px 0 12px 0;
  }
  
  .article-content h2, .rendered-content h2 {
    font-size: 1.8rem;
    margin: 35px 0 10px 0;
  }
  
  .article-content h3, .rendered-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 8px 0;
  }
  
  /* Article Footer */
  .article-footer {
    padding: 25px 40px;
  }
  
  .engagement-stats {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .share-buttons {
    justify-content: center;
  }
  
  /* Navigation */
  .nav-posts {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  
  .nav-post-btn {
    text-align: center;
    padding: 25px 20px;
  }
  
  .nav-direction {
    justify-content: center;
  }
  
  /* Related Articles */
  .related-article-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 250px;
  }
  
  .article-image {
    height: 190px;
  }
  
  .article-content {
    padding: 16px 18px 18px;
  }
  
  .article-content h4 {
    font-size: 0.97rem;
  }
  
  .article-content p {
    font-size: 0.84rem;
  }
  
  /* CTA Section */
  .cta-content h3 {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    gap: 15px;
  }
}


/* 📱 Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .content-container {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    padding: 0 !important;
  }
  
  .blog-sidebar {
    order: -1 !important;
  }
  
  /* Hero Section */
  .blog-detail-hero {
    min-height: 30vh !important;
  }
  
  .hero-content {
    padding: 20px 0 !important;
  }
  
  .hero-container {
    padding: 0 !important;
  }
  
  .hero-title {
    font-size: 1.9rem !important;
    line-height: 1.2 !important;
  }
  
  .hero-summary p {
    font-size: 1.0rem !important;
    line-height: 1.5 !important;
  }
  
  .hero-author-info {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .publish-info {
    justify-content: center;
  }
  
  .meta-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Article Content */
  .article-content, .rendered-content {
    padding: 10px;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
  }
  
  .article-content h1, .rendered-content h1 {
    font-size: 1.9rem !important;
    margin: 35px 0 10px 0;
  }
  
  .article-content h2, .rendered-content h2 {
    font-size: 1.6rem !important;
    margin: 30px 0 8px 0;
  }
  
  .article-content h3, .rendered-content h3 {
    font-size: 1.4rem !important;
    margin: 25px 0 8px 0;
  }
  
  /* Article Footer */
  .article-footer {
    padding: 20px 25px !important;
  }
  
  .engagement-stats {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .share-buttons {
    justify-content: center;
    gap: 10px;
  }
  
  /* Navigation */
  .nav-posts {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-post-btn {
    text-align: center;
    padding: 20px 15px;
    min-height: 70px;
  }
  
  .nav-direction {
    justify-content: center;
  }
  
  /* Related Articles */
  .related-articles-grid {
    gap: 16px;
  }
  
  .related-article-card {
    flex: 0 0 100%;
    min-width: unset;
  }
  
  .article-image {
    height: 200px;
  }
  
  .article-content {
    padding: 15px 16px 16px;
  }
  
  .article-content h4 {
    font-size: 0.97rem;
  }
  
  .article-content p {
    font-size: 0.84rem;
  }
  
  /* CTA Section */
  .cta-content {
    padding: 30px 25px;
  }
  
  .cta-content h3 {
    font-size: 1.6rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* 📱 Mobile (375px - 575px) */
@media (min-width: 375px) and (max-width: 575px) {
  .content-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }
  
  .blog-sidebar {
    order: -1;
  }
  
  /* Hero Section */
  .blog-detail-hero {
    min-height: 25vh;
  }
  
  .hero-content {
    padding: 15px 10px;
  }
  
  .hero-container {
    padding: 0;
  }
  
  .hero-title {
    margin-top: 6px;    
    font-size: 1.6rem;
    line-height: 1.2;
  }
  
  .hero-summary p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .hero-author-info {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .publish-info {
    justify-content: center;
  }
  
  .meta-badges {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  /* Article Content - FIXED MOBILE LAYOUT */
  .blog-article {
    padding: 15px !important;
    margin: 0 !important;
    overflow: visible !important;
    position: relative !important;
    box-sizing: border-box !important;
    /* İçerik sınırlarını kaldır */
    max-height: none !important;
    height: auto !important;
  }
  
  .article-content, .rendered-content {
    padding: 10px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: auto !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
    position: relative !important;
    float: none !important;
    /* Paragraf sınırını tamamen kaldır */
    max-height: none !important;
    height: auto !important;
    text-overflow: unset !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
  }
  
  .article-content *, .rendered-content * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
  }
  
  .article-content p, .rendered-content p {
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    clear: both !important;
    float: none !important;
    /* Paragraf sınırlarını kaldır */
    max-height: none !important;
    height: auto !important;
    display: block !important;
  }
  
  .article-content img, .rendered-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 15px 0 !important;
    padding: 0 !important;
    display: block !important;
    clear: both !important;
    float: none !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  
  .article-content h1, .rendered-content h1 {
    font-size: 1.4rem !important;
    margin: 20px 0 10px 0 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    clear: both !important;
    width: 100% !important;
  }
  
  .article-content h2, .rendered-content h2 {
    font-size: 1.2rem !important;
    margin: 18px 0 8px 0 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    clear: both !important;
    width: 100% !important;
  }
  
  .article-content h3, .rendered-content h3 {
    font-size: 1.1rem !important;
    margin: 15px 0 6px 0 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    clear: both !important;
    width: 100% !important;
  }
  
  .article-content h4, .rendered-content h4 {
    font-size: 1rem !important;
    margin: 12px 0 6px 0 !important;
    clear: both !important;
    width: 100% !important;
  }
  
  /* Lists */
  .article-content ul, .article-content ol,
  .rendered-content ul, .rendered-content ol {
    margin: 15px 0 !important;
    padding-left: 20px !important;
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .article-content li, .rendered-content li {
    margin: 8px 0 !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
  }
  
  /* Article Footer */
  .article-footer {
    padding: 20px;
  }
  
  .engagement-stats {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .share-buttons {
    justify-content: center;
    gap: 8px;
  }
  
  /* Navigation */
  .nav-posts {
    flex-direction: column;
    gap: 12px;
  }
  
  .nav-post-btn {
    text-align: center;
    padding: 18px 12px;
    min-height: 60px;
  }
  
  .nav-direction {
    justify-content: center;
    font-size: 0.85rem;
  }
  
  .nav-post-title {
    font-size: 0.9rem;
  }
  
  /* Related Articles */
  .related-articles-grid {
    gap: 14px;
  }
  
  .related-article-card {
    flex: 0 0 100%;
  }
  
  .article-image {
    height: 190px;
  }
  
  .related-article-card .article-content {
    padding: 14px 15px 15px !important;
  }
  
  .article-content h4 {
    font-size: 0.95rem;
  }
  
  .article-content p {
    font-size: 0.82rem;
  }
  
  /* CTA Section */
  .cta-content {
    padding: 25px 20px;
  }
  
  .cta-content h3 {
    font-size: 1.4rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* 📱 Mobile Small (320px - 374px) */
@media (max-width: 374px) {
  .content-container {
    padding: 0;
    gap: 15px;
  }
  
  /* Hero Section */
  .blog-detail-hero {
    min-height: 22vh;
  }
  
  .hero-content {
    margin-top: 10px;
    padding: 12px 0;
  }
  
  .hero-container {
    padding: 0;
  }
  
  .hero-title {
    margin-top: 6px;
    font-size: 1.45rem;
    line-height: 1.15;
  }
  
  .hero-summary p {
    font-size: 0.85rem;
  }
  
.blog-article {
    padding: 15px !important;
    margin: 0 !important;
    overflow: visible !important;
    position: relative !important;
    box-sizing: border-box !important;
    /* İçerik sınırlarını kaldır */
    max-height: none !important;
    height: auto !important;
  }
  
  .article-content, .rendered-content {
    padding: 0 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: auto !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
    position: relative !important;
    float: none !important;
    /* Paragraf sınırını tamamen kaldır */
    max-height: none !important;
    height: auto !important;
    text-overflow: unset !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
  }
  
  .article-content *, .rendered-content * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
  }
  
  .article-content p, .rendered-content p {
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    clear: both !important;
    float: none !important;
    /* Paragraf sınırlarını kaldır */
    max-height: none !important;
    height: auto !important;
    display: block !important;
  }
  
  .article-content img, .rendered-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 15px 0 !important;
    padding: 0 !important;
    display: block !important;
    clear: both !important;
    float: none !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  
  .article-content h1, .rendered-content h1 {
    font-size: 1.4rem !important;
    margin: 20px 0 10px 0 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    clear: both !important;
    width: 100% !important;
  }
  
  .article-content h2, .rendered-content h2 {
    font-size: 1.2rem !important;
    margin: 18px 0 8px 0 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    clear: both !important;
    width: 100% !important;
  }
  
  .article-content h3, .rendered-content h3 {
    font-size: 1.1rem !important;
    margin: 15px 0 6px 0 !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    clear: both !important;
    width: 100% !important;
  }
  
  .article-content h4, .rendered-content h4 {
    font-size: 1rem !important;
    margin: 12px 0 6px 0 !important;
    clear: both !important;
    width: 100% !important;
  }
  
  /* Lists */
  .article-content ul, .article-content ol,
  .rendered-content ul, .rendered-content ol {
    margin: 15px 0 !important;
    padding-left: 20px !important;
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .article-content li, .rendered-content li {
    margin: 8px 0 !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
  }
  /* Article Footer */
  .article-footer {
    padding: 15px;
  }
  
  /* Navigation */
  .nav-post-btn {
    padding: 15px 10px;
    min-height: 55px;
  }
  
  .nav-direction {
    font-size: 0.8rem;
  }
  
  .nav-post-title {
    font-size: 0.85rem;
  }
  
  /* Related Articles */
  .related-article-card .article-content {
    padding: 10px !important;
  }
  
  /* CTA Section */
  .cta-content {
    padding: 20px 15px;
  }
  
  .cta-content h3 {
    font-size: 1.2rem;
  }
}


