/* ==========================================================================
   MEDIUM-INSPIRED DESIGN SYSTEM (SERKAN İSEL)
   Clean, Content-First, Editorial & Elegant
   ========================================================================== */

:root {
  --bg-main: #ffffff;
  --text-primary: #242424;
  --text-secondary: #6b6b6b;
  --border-light: #f2f2f2;
  --border-subtle: #e6e6e6;
  --accent-green: #1a8917;
  --avatar-yellow: #FFD500;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-charter: 'Charter', Georgia, serif;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

@media (min-width: 992px) {
  html {
    font-size: 16px;
  }
}

body.medium-body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ==========================================================================
   HEADER (TAM BOY / FULL WIDTH)
   ========================================================================== */
.medium-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  z-index: 1030;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
}

.header-inner-full {
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-svg {
  height: 25px;
  width: auto;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.brand-author-name {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.6px;
  color: var(--text-primary);
}

/* Serkan İşel Yanındaki Linkler */
.header-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 2rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border-light);
}

.header-nav-item {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.header-nav-item:hover {
  color: var(--text-primary);
}

/* Header Sağ: Arama Kutusu En Sağda */
.header-right {
  display: flex;
  align-items: center;
}

.search-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.search-input {
  background-color: #fafafa;
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 0.5rem 1rem 0.5rem 2.4rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  width: 240px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background-color: #ffffff;
  border-color: var(--border-subtle);
  box-shadow: 0 0 0 1px var(--border-subtle);
  width: 280px;
}

.admin-badge-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}

.admin-badge-link:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* ==========================================================================
   PAGE LAYOUT (2-COLUMN MEDIUM GRID)
   ========================================================================== */
.medium-page-container {
  max-width: 1336px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.medium-content-grid {
  display: flex;
  justify-content: space-between;
  gap: 3.5rem;
}

/* Ortalı Yazı Kolonu */
.medium-centered-column {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 5rem;
  width: 100%;
}

.profile-tagline {
  font-size: 1.05rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.medium-main-column {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .medium-main-column {
    margin: 0;
  }
}

/* ==========================================================================
   PROFILE HEADER
   ========================================================================== */
.profile-header-area {
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.profile-display-name {
  font-size: clamp(2.2rem, 4vw, 2.85rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin: 0;
}

/* ==========================================================================
   STORY CARDS (BLOG FEED)
   ========================================================================== */
.stories-stream {
  display: flex;
  flex-direction: column;
}

.story-card-item {
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.story-card-item:first-child {
  padding-top: 1rem;
}

/* Private Kart Stili (Pill yerine sol border + hafif zemin) */
.story-card-item.is-private {
  border-left: 4px solid #d97706;
  padding-left: 1.25rem;
  padding-right: 0.75rem;
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 4px;
}

.story-visibility-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.story-visibility-label.private-label {
  color: #b45309;
}

.story-visibility-label.public-label {
  color: #15803d;
}

/* Admin Tablo Göstergeleri (Pill yerine şık nokta ve metin) */
.table-row-private {
  background-color: rgba(217, 119, 6, 0.04) !important;
}

.admin-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-public {
  background-color: #16a34a;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.4);
}

.dot-private {
  background-color: #d97706;
  box-shadow: 0 0 6px rgba(217, 119, 6, 0.4);
}

.status-public {
  color: #15803d;
}

.status-private {
  color: #b45309;
}

/* Yazar Meta Çubuğu */
.story-author-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.story-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #242424;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-publication strong {
  color: var(--text-primary);
}

.story-dot {
  color: var(--text-secondary);
}

.story-date {
  color: var(--text-secondary);
}

/* Metin ve Thumbnail Split */
.story-content-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1rem;
}

.story-text-area {
  flex: 1;
}

.story-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem 0;
}

.story-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.story-title a:hover {
  color: #555555;
}

.story-preview-text {
  font-family: var(--font-charter);
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Thumbnail Kutusu (Sağ Taraf) */
.story-thumbnail-wrapper {
  flex-shrink: 0;
}

.story-thumbnail-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 104px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.story-thumbnail-box:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.story-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Alt Bar (Etkileşimler) */
.story-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-top: 0.25rem;
}

.story-footer-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.story-claps,
.story-comments {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.story-action-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.story-action-btn:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   SAĞ SIDEBAR (STICKY PROFILE)
   ========================================================================== */
.medium-sidebar-column {
  width: 350px;
  border-left: 1px solid var(--border-light);
  padding-left: 2.5rem;
  padding-top: 3.5rem;
  min-height: calc(100vh - 60px);
}

.sticky-sidebar-inner {
  position: sticky;
  top: 85px;
}

.sidebar-avatar-wrapper {
  margin-bottom: 1.2rem;
}

.sidebar-avatar-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--avatar-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 213, 0, 0.35);
}

.avatar-initials {
  font-size: 2rem;
  font-weight: 800;
  color: #242424;
}

.sidebar-profile-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.sidebar-meta-line {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.sidebar-badge-row {
  font-size: 0.82rem;
  color: #b45309;
  display: flex;
  align-items: center;
  margin-bottom: 0.85rem;
}

.sidebar-bio-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.sidebar-follow-btn {
  background-color: #242424;
  color: #ffffff;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1.4rem;
  border: none;
  transition: background-color 0.2s ease;
}

.sidebar-follow-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

.sidebar-mini-footer {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.sidebar-mini-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.sidebar-mini-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ARTICLE DETAIL STYLES
   ========================================================================== */
.medium-article-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.medium-article-lead {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.medium-detail-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #242424;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.medium-article-content {
  font-family: var(--font-charter);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #242424;
}

.medium-article-content p {
  margin-bottom: 1.8rem;
}

.medium-article-content h2 {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #242424;
}

.medium-article-content h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #242424;
}

.medium-article-content blockquote {
  border-left: 3px solid #242424;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555555;
}

.medium-article-content pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.95rem;
  margin: 1.8rem 0;
}

.medium-article-content code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.medium-article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.medium-article-content ul,
.medium-article-content ol {
  padding-left: 1.75rem;
  margin-bottom: 1.8rem;
}

.medium-article-content li {
  margin-bottom: 0.6rem;
}

.medium-article-content a {
  color: #242424;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Quill Zengin Metin Formatları (Blog Detayı Uyumluluğu) */
.medium-article-content .ql-align-center { text-align: center; }
.medium-article-content .ql-align-right { text-align: right; }
.medium-article-content .ql-align-justify { text-align: justify; }

.medium-article-content .ql-font-serif { font-family: var(--font-charter), Georgia, serif; }
.medium-article-content .ql-font-monospace { font-family: Consolas, Monaco, 'Courier New', monospace; }

.medium-article-content .ql-size-small { font-size: 0.85em; }
.medium-article-content .ql-size-large { font-size: 1.35em; line-height: 1.4; }
.medium-article-content .ql-size-huge { font-size: 1.8em; line-height: 1.25; font-weight: 700; }

.medium-article-content .ql-direction-rtl { direction: rtl; text-align: inherit; }

/* Video Embed (YouTube, Vimeo vs.) */
.medium-article-content iframe.ql-video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 10px;
  margin: 2rem auto;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Checklist / Yapılacaklar Listesi */
.medium-article-content li[data-list="checked"],
.medium-article-content li[data-list="unchecked"] {
  list-style-type: none;
  position: relative;
  padding-left: 1.8rem;
  margin-left: -1.75rem;
}

.medium-article-content li[data-list="checked"] > .ql-ui:before {
  content: "☑";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-size: 1.2em;
  line-height: 1;
}

.medium-article-content li[data-list="unchecked"] > .ql-ui:before {
  content: "☐";
  position: absolute;
  left: 0;
  top: 0;
  color: #94a3b8;
  font-size: 1.2em;
  line-height: 1;
}

.medium-article-content li[data-list="checked"] {
  text-decoration: line-through;
  color: #64748b;
}

/* Makale İçi Resimler (Dışarı Taşmayı Önleme ve Lightbox Zoom) */
.medium-article-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  cursor: zoom-in;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.medium-article-content img:hover {
  opacity: 0.95;
}

/* Lightbox Modal (Tıklayınca Tam Ekran Büyük Açma) */
.image-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.image-lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.image-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.image-lightbox-overlay.active .image-lightbox-img {
  transform: scale(1);
}

.image-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #ffffff;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.image-lightbox-close:hover {
  opacity: 1;
}

/* ==========================================================================
   NOTION / MEDIUM / WHATSAPP STYLE LINK PREVIEW CARDS
   ========================================================================== */
.link-preview-card {
  display: flex !important;
  justify-content: space-between;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #ffffff;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  margin: 1.8rem 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.link-preview-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: inherit !important;
}

.link-preview-content {
  flex: 1;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.link-preview-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-preview-description {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-preview-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
}

.link-preview-favicon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: contain;
}

.link-preview-domain {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-preview-image-wrapper {
  width: 180px;
  min-height: 110px;
  flex-shrink: 0;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-left: 1px solid #f1f5f9;
}

.link-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.link-preview-card:hover .link-preview-image {
  transform: scale(1.04);
}

.link-preview-placeholder-icon {
  font-size: 2.2rem;
  color: #94a3b8;
}

/* Editör İçindeki Kart Seçim Durumu */
.ql-editor .link-preview-card {
  cursor: pointer;
  margin: 1.5rem 0;
}

/* Yükleniyor Toast */
.link-card-loading-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   BLOG CALLOUT CARDS (GREEN, YELLOW, BLUE, RED, PURPLE)
   Zengin Metin Editörü ve Blog Detayı İçin Etkileşimli Kart Tasarımları
   ========================================================================== */
.blog-callout-card {
  position: relative;
  display: block;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid transparent;
  border-left-width: 5px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
}

/* Genel blog görünümünde (canlıda) admin yönetim çubuğunu gizle */
.blog-callout-card .callout-admin-bar {
  display: none !important;
}

.blog-callout-card .callout-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.blog-callout-card .callout-icon-box {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.blog-callout-card .callout-text-container {
  flex: 1;
  min-width: 0;
}

.blog-callout-card .callout-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.blog-callout-card .callout-body {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
  font-family: var(--font-charter), Georgia, serif;
}

.blog-callout-card .callout-body p:last-child {
  margin-bottom: 0;
}

/* --- YEŞİL (GREEN) --- */
.blog-callout-card.callout-green {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #16a34a;
}
.blog-callout-card.callout-green .callout-icon-box {
  color: #16a34a;
}
.blog-callout-card.callout-green .callout-title {
  color: #14532d;
}

/* --- SARI (YELLOW / AMBER) --- */
.blog-callout-card.callout-yellow {
  background-color: #fffbeb;
  border-color: #fde68a;
  border-left-color: #d97706;
}
.blog-callout-card.callout-yellow .callout-icon-box {
  color: #d97706;
}
.blog-callout-card.callout-yellow .callout-title {
  color: #78350f;
}

/* --- MAVİ (BLUE) --- */
.blog-callout-card.callout-blue {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  border-left-color: #2563eb;
}
.blog-callout-card.callout-blue .callout-icon-box {
  color: #2563eb;
}
.blog-callout-card.callout-blue .callout-title {
  color: #1e3a8a;
}

/* --- KIRMIZI (RED) --- */
.blog-callout-card.callout-red {
  background-color: #fef2f2;
  border-color: #fecaca;
  border-left-color: #dc2626;
}
.blog-callout-card.callout-red .callout-icon-box {
  color: #dc2626;
}
.blog-callout-card.callout-red .callout-title {
  color: #7f1d1d;
}

/* --- MOR (PURPLE) --- */
.blog-callout-card.callout-purple {
  background-color: #faf5ff;
  border-color: #e9d5ff;
  border-left-color: #9333ea;
}
.blog-callout-card.callout-purple .callout-icon-box {
  color: #9333ea;
}
.blog-callout-card.callout-purple .callout-title {
  color: #581c87;
}

/* Quill Toolbar HTML Kaynak Butonu */
.ql-snow .ql-html {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 24px !important;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.ql-snow .ql-html:hover {
  background-color: #e2e8f0;
}

.ql-snow .ql-html.ql-active {
  background-color: #0f172a !important;
}

.ql-snow .ql-html.ql-active svg .ql-stroke {
  stroke: #ffffff !important;
}

/* ==========================================================================
   EDİTÖR İÇİ KART YÖNETİMİ & KONTROL ARAÇLARI (.ql-editor)
   ========================================================================== */
.ql-editor .blog-callout-card {
  margin: 1.6rem 0;
  user-select: text;
}

.ql-editor .blog-callout-card .callout-admin-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  margin: -0.85rem -0.95rem 0.85rem -0.95rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  font-size: 0.8rem;
  user-select: none;
  -webkit-user-select: none;
}

/* Sürükleme Tutamağı (Drag Handle) */
.callout-drag-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  transition: all 0.15s ease;
}

.callout-drag-handle:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.callout-drag-handle:active,
.blog-callout-card.is-dragging .callout-drag-handle {
  cursor: grabbing;
}

/* Sürükleme Esnasında Kartın Durumu */
.blog-callout-card.is-dragging {
  opacity: 0.45;
  border-style: dashed !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  transform: scale(0.99);
}

/* Bırakma Yeri Göstergesi (Drop Indicator) */
.callout-drop-indicator {
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
  margin: 0.75rem 0;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.7);
  animation: pulseIndicator 0.9s infinite alternate;
  pointer-events: none;
}

@keyframes pulseIndicator {
  from { opacity: 0.5; transform: scaleY(0.9); }
  to { opacity: 1; transform: scaleY(1.3); }
}

/* Renk Seçici Butonlar */
.callout-color-picker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.callout-color-picker .color-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-right: 0.2rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-dot:hover {
  transform: scale(1.25);
}

.color-dot.active {
  box-shadow: 0 0 0 2px #0f172a;
  transform: scale(1.15);
}

.color-dot.btn-color-green { background-color: #22c55e; }
.color-dot.btn-color-yellow { background-color: #f59e0b; }
.color-dot.btn-color-blue { background-color: #3b82f6; }
.color-dot.btn-color-red { background-color: #ef4444; }
.color-dot.btn-color-purple { background-color: #a855f7; }

/* Taşıma & Silme Aksiyon Butonları */
.callout-move-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.btn-card-action:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.btn-card-action.btn-delete-card:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* Editör İçi Başlık ve Metin Yazım Alanı */
.ql-editor .callout-title[contenteditable="true"],
.ql-editor .callout-body[contenteditable="true"] {
  outline: none;
  border-radius: 6px;
  padding: 3px 6px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  min-height: 1.5em;
}

.ql-editor .callout-title[contenteditable="true"]:hover,
.ql-editor .callout-body[contenteditable="true"]:hover {
  background: rgba(255, 255, 255, 0.6);
}

.ql-editor .callout-title[contenteditable="true"]:focus,
.ql-editor .callout-body[contenteditable="true"]:focus {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.ql-editor .callout-title:empty::before,
.ql-editor .callout-body:empty::before {
  content: attr(placeholder);
  color: #94a3b8;
  font-style: italic;
  pointer-events: none;
}

/* Kart Ekleme Üst Barı (Create & Edit) */
.card-toolbar-wrapper {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.btn-insert-callout {
  font-size: 0.82rem !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}

.btn-insert-callout:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.text-purple {
  color: #9333ea !important;
}

/* Cyberpunk Teması İçin Kart Uyarlamaları */
[data-theme="cyberpunk"] .blog-callout-card.callout-green {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  border-left-color: #22c55e;
}
[data-theme="cyberpunk"] .blog-callout-card.callout-green .callout-title { color: #4ade80; }
[data-theme="cyberpunk"] .blog-callout-card.callout-green .callout-body { color: #e2e8f0; }

[data-theme="cyberpunk"] .blog-callout-card.callout-yellow {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  border-left-color: #f59e0b;
}
[data-theme="cyberpunk"] .blog-callout-card.callout-yellow .callout-title { color: #fbbf24; }
[data-theme="cyberpunk"] .blog-callout-card.callout-yellow .callout-body { color: #e2e8f0; }

[data-theme="cyberpunk"] .blog-callout-card.callout-blue {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  border-left-color: #3b82f6;
}
[data-theme="cyberpunk"] .blog-callout-card.callout-blue .callout-title { color: #60a5fa; }
[data-theme="cyberpunk"] .blog-callout-card.callout-blue .callout-body { color: #e2e8f0; }

[data-theme="cyberpunk"] .blog-callout-card.callout-red {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  border-left-color: #ef4444;
}
[data-theme="cyberpunk"] .blog-callout-card.callout-red .callout-title { color: #f87171; }
[data-theme="cyberpunk"] .blog-callout-card.callout-red .callout-body { color: #e2e8f0; }

[data-theme="cyberpunk"] .blog-callout-card.callout-purple {
  background-color: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  border-left-color: #a855f7;
}
[data-theme="cyberpunk"] .blog-callout-card.callout-purple .callout-title { color: #c084fc; }
[data-theme="cyberpunk"] .blog-callout-card.callout-purple .callout-body { color: #e2e8f0; }

/* ==========================================================================
   HAKKIMDA (ABOUT) SAYFASI STİLLERİ (SMART HERO SPLIT LAYOUT)
   ========================================================================== */
.medium-about-container {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

.about-hero-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.75rem 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.about-hero-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.about-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
}

.about-hero-left {
  flex: 1;
  min-width: 0;
}

/* Solda Logo, Sağında İsim/Ünvan/Pill Bloğu */
.about-identity-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about-identity-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* İsim, Ünvan ve Pill'i Kaplayacak Büyüklükte Logo */
.about-identity-logo {
  height: 125px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.about-identity-logo:hover {
  transform: scale(1.03);
}

.about-identity-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-profile-name {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.2rem;
  line-height: 1.15;
}

.about-profile-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #64748b;
}

.about-badge-sparkle {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #b45309;
  background: #fffbeb;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  border: 1px solid #fef3c7;
}

.about-summary-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
}

.about-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-social-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Sağ Kolon: Sanatsal Portre Çerçevesi */
.about-hero-right {
  flex-shrink: 0;
}

.about-portrait-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-portrait-frame {
  width: 250px;
  height: 333px; /* 3:4 portre formatına tam uyumlu */
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
  border: 4px solid #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.about-portrait-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px -10px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-portrait-caption {
  position: absolute;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portrait-name-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.portrait-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

@media (max-width: 820px) {
  .about-hero-card {
    padding: 2rem 1.5rem;
  }
  .about-hero-grid {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }
  .about-identity-block {
    justify-content: center;
  }
  .about-hero-actions {
    justify-content: center;
  }
  .about-portrait-frame {
    width: 220px;
    height: 293px;
  }
}

@media (max-width: 540px) {
  .about-identity-block {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .about-identity-logo {
    height: 90px;
  }
}

.about-contact-btn {
  background-color: #242424;
  color: #ffffff;
  border-radius: 99px;
  padding: 0.6rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease;
}

.about-contact-btn:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

.about-quick-links {
  font-size: 0.88rem;
  color: #6b6b6b;
}

.about-quick-links a {
  color: #6b6b6b;
  text-decoration: none;
  transition: color 0.2s;
}

.about-quick-links a:hover {
  color: #242424;
  text-decoration: underline;
}

.about-divider {
  border-color: #f2f2f2;
  opacity: 1;
}

.about-paragraph {
  font-family: var(--font-charter);
  font-size: 1.2rem;
  line-height: 1.8;
  color: #292929;
  margin-bottom: 1.8rem;
}

.about-paragraph strong {
  color: #111111;
}

/* Dil Seçici Butonları */
.lang-switch-group {
  background: #f1f5f9;
  border-radius: 99px;
  padding: 3px;
  display: inline-flex;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ==========================================================================
   BLOG PAGE ENHANCEMENTS: FILTERS, MONTH INDICATOR, SINGLE & 3-CARD VIEWS, PAGINATION
   ========================================================================== */

.medium-centered-column.blog-wide-column {
  max-width: 860px;
  transition: max-width 0.3s ease;
}

.medium-centered-column.blog-wide-column.view-mode-grid {
  max-width: 1140px;
}

.medium-centered-column.blog-wide-column.view-mode-list {
  max-width: 860px;
}

.blog-top-bar {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-light);
}

.blog-header-content {
  flex: 1;
  min-width: 0;
  padding-right: 1.25rem;
}

.blog-feed-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem 0;
  line-height: 1.25;
}

.blog-feed-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.4;
}

/* Minimalist İkon Buton Grubu */
.header-action-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  flex-shrink: 0;
}

/* Sadece İkon İçeren Yuvarlak Butonlar */
.btn-icon-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-icon-action:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.btn-icon-action.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Aktif Filtre İndikatör Noktası */
.btn-icon-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2563eb;
  border: 2px solid #ffffff;
}

.btn-icon-action.active .btn-icon-dot {
  border-color: #0f172a;
  background-color: #38bdf8;
}

/* Ayrı Açılan Şık ve Sade Paneller (Default Kapalı) */
.floating-panel {
  display: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  animation: panelSlideDown 0.2s ease-out forwards;
}

@keyframes panelSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.floating-panel-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-panel-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.btn-panel-close:hover {
  color: #0f172a;
}

/* Filtre Paneli Izgarası */
.filter-panel-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
}

.filter-panel-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f8fafc;
}

/* Görünüm Paneli Seçenekleri */
.view-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.view-option-tile {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
}

.view-option-tile:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.view-option-tile.active {
  background: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.view-option-icon {
  font-size: 1.4rem;
  color: #64748b;
  line-height: 1;
}

.view-option-tile.active .view-option-icon {
  color: #0f172a;
}

.view-option-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.view-option-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

/* Tekli Görünüm - Orijinal Medium Kartı ile Sol Tarih Bloğu */
.story-card-with-date {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.story-card-with-date:first-child {
  padding-top: 1rem;
}

.story-card-with-date.is-private {
  border-left: 4px solid #d97706;
  padding-left: 1.25rem;
  padding-right: 0.75rem;
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 6px;
}

.story-date-gutter {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 120px;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

.story-card-main-content {
  flex: 1;
  min-width: 0;
}

.blog-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-filters-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.filter-search-box {
  position: relative;
  min-width: 240px;
  flex: 1;
  max-width: 340px;
}

.filter-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  pointer-events: none;
}

.filter-search-input {
  width: 100%;
  padding: 0.45rem 0.85rem 0.45rem 2.3rem;
  font-size: 0.88rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #f8fafc;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.filter-search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.filter-select {
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  font-size: 0.88rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #f8fafc;
  color: var(--text-primary);
  cursor: pointer;
  min-width: 130px;
  transition: all 0.2s ease;
}

.filter-select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #0f172a;
}

.btn-filter-apply {
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-filter-apply:hover {
  background: #334155;
  color: #ffffff;
}

.btn-filter-reset {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-filter-reset:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.blog-view-switcher {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}

.btn-view-toggle {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.btn-view-toggle:hover {
  color: #0f172a;
}

.btn-view-toggle.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   TEKLİ (LİSTE) GÖSTERİM & AY ROZETİ (Örnek Görsele Birebir Uygun)
   ========================================================================== */

.blog-single-list-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.blog-row-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  gap: 1.25rem;
  transition: background-color 0.15s ease;
}

.blog-row-item:last-child {
  border-bottom: none;
}

.blog-row-item:hover {
  background-color: #f8fafc;
}

/* Sol Tarih Bloğu (Ay Takvim Kartı + Gün Numarası) */
.blog-date-col {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 125px;
  flex-shrink: 0;
}

/* Takvim Yaprağı Rozeti */
.calendar-card-badge {
  width: 44px;
  height: 48px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.calendar-card-badge::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 8px;
  width: 4px;
  height: 5px;
  background: #64748b;
  border-radius: 2px;
}

.calendar-card-badge::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 8px;
  width: 4px;
  height: 5px;
  background: #64748b;
  border-radius: 2px;
}

.cal-month {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-top: 2px;
}

.cal-year {
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1;
  margin-top: 3px;
}

/* Aynı aydaki devam eden yazılar için hizalamayı koruyan görünmez yer tutucu */
.calendar-card-spacer {
  width: 44px;
  height: 48px;
  visibility: hidden;
}

/* Büyük Gün Rakamı (Örn: 27, 22, 28) */
.calendar-day-text {
  font-size: 1.55rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: -0.04em;
  min-width: 32px;
  text-align: center;
}

/* Thumbnail / Poster */
.blog-row-poster {
  width: 46px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-row-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-row-poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
}

/* Başlık ve Detaylar Kolonu */
.blog-row-main {
  flex: 1;
  min-width: 0;
}

.blog-row-title-area {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.blog-row-icon {
  color: #2563eb;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.blog-row-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
  transition: color 0.15s ease;
}

.blog-row-title:hover {
  color: #2563eb;
}

.blog-row-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.blog-row-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #64748b;
  font-size: 0.75rem;
}

/* Yıl Bilgisi Kolonu */
.blog-row-year {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  min-width: 50px;
  text-align: center;
  flex-shrink: 0;
}

/* Rating / Puan Kolonu */
.blog-row-rating {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: #16a34a;
  font-size: 0.85rem;
  min-width: 85px;
  justify-content: center;
  flex-shrink: 0;
}

/* Kalp / Favori Kolonu */
.blog-row-heart {
  color: #ea580c;
  font-size: 1rem;
  min-width: 30px;
  text-align: center;
  flex-shrink: 0;
}

/* Aksiyon Butonları */
.blog-row-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.btn-row-action {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.05rem;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-row-action:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

/* ==========================================================================
   3'LÜ KART GÖSTERİMİ (GRID VIEW)
   ========================================================================== */

.blog-month-group {
  margin-bottom: 2.5rem;
}

.month-group-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid #e2e8f0;
}

.month-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.month-group-count {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-grid-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.blog-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.grid-card-thumbnail-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #0f172a;
}

.grid-card-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-grid-card:hover .grid-card-thumbnail-img {
  transform: scale(1.05);
}

.grid-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.2rem;
}

/* Kartın Üzerindeki Ay & Gün Rozeti */
.grid-card-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.grid-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.grid-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.grid-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.grid-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.grid-card-title a:hover {
  color: #2563eb;
}

.grid-card-summary {
  font-family: var(--font-charter);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.grid-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.grid-card-footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   SAYFALAMA (PAGINATION)
   ========================================================================== */

.blog-pagination-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.page-btn:hover:not(.disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.page-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  cursor: default;
}

.page-btn.disabled {
  color: #cbd5e1;
  border-color: #f1f5f9;
  background: #f8fafc;
  pointer-events: none;
  cursor: not-allowed;
}

.pagination-info-text {
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-panel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
  .story-card-with-date {
    flex-direction: column;
    gap: 0.85rem;
  }
  .story-date-gutter {
    min-width: auto;
  }
  .medium-centered-column.blog-wide-column {
    max-width: 100% !important;
  }
}

/* ==========================================================================
   PROJELER (PROJECTS) SAYFASI STİLLERİ
   ========================================================================== */
.projects-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem 1.5rem;
}

.projects-header-area {
  margin-bottom: 2.75rem;
}

.projects-page-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.projects-page-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

/* Ortalanmış Büyük Logo ve Başlık Alanı */
.project-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.25rem;
}

.project-logo-showcase {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.project-hero-logo {
  max-height: 85px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
}

.project-card:hover .project-hero-logo {
  transform: scale(1.06);
}

.project-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.project-domain-url {
  font-size: 0.88rem;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  transition: color 0.15s ease;
}

.project-domain-url:hover {
  color: #0f172a;
}

/* Footer'da Yer Alan Minimal & Sade Kategori Pilleri */
.project-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  flex-shrink: 0;
}

.project-hero-pill i {
  font-size: 0.85rem;
  color: #64748b;
}

.project-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.project-feature-pill {
  font-size: 0.76rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-weight: 500;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.btn-visit-project {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem;
  background: #0f172a;
  color: #ffffff;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-visit-project:hover {
  background: #334155;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

@media (max-width: 820px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BLOG KATEGORİ SİSTEMİ & HİYERARŞİK GÖSTERİM STİLLERİ
   ========================================================================== */

/* Kategori Navigasyon Barı (Haplar / Chips) */
.category-nav-wrapper {
  position: relative;
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.category-nav-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.category-nav-scroll::-webkit-scrollbar {
  height: 4px;
}

.category-nav-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.category-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.category-nav-pill:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.category-nav-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.category-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 99px;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.2s ease;
}

.category-nav-pill.active .category-count-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Kategori Açılır Menüsü (Dropdown) */
.category-dropdown-group {
  position: relative;
  display: inline-block;
}

.category-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 200px;
  padding: 0.5rem;
  margin-top: 0.35rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  animation: fadeInMenu 0.15s ease-out forwards;
}

.category-dropdown-group:hover .category-dropdown-menu,
.category-dropdown-group:focus-within .category-dropdown-menu {
  display: block;
}

@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s ease;
}

.dropdown-item-cat:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dropdown-item-cat.active {
  background: #f8fafc;
  color: #0284c7;
  font-weight: 600;
}

.dropdown-item-cat .sub-count {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  background: #e2e8f0;
  color: #475569;
}

/* Kartlarda Kategori Rozeti */
.story-category-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.story-category-pill:hover {
  background: rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
  transform: translateY(-1px);
}

.grid-card-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.grid-card-category-badge:hover {
  background: rgba(15, 23, 42, 0.95);
  color: #38bdf8;
}

/* Kategori Kategori Gösterim Modu */
.blog-category-view {
  animation: fadeInView 0.2s ease-in-out;
}

.category-section-block {
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}

.category-section-block:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.03) !important;
}

.category-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   MODERN BLOG TOPIC & CATEGORY NAVIGATION SYSTEM (MEDIUM & SUBSTACK STYLE)
   ========================================================================== */

/* 1) Konular & Kategoriler Yatay Şeridi (Topic Navigation Bar) */
.blog-topics-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.75rem;
  position: relative;
}

/* Yatay Kaydırılabilir Pill Listesi */
.topics-pills-scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  flex: 1;
  min-width: 0;
  padding: 0.25rem 0;
}

.topics-pills-scroll::-webkit-scrollbar {
  display: none;
}

/* Tekil Konu Pill'i */
.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.topic-pill:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.topic-pill:hover .topic-pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.topic-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.topic-pill.active .topic-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.topic-pill-count {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  transition: all 0.2s ease;
}

/* Tüm Konuları Keşfet Butonu */
.btn-topics-explorer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-topics-explorer:hover {
  background: #f1f5f9;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-topics-explorer i {
  font-size: 0.95rem;
  color: #0284c7;
}

/* 2) Bağlamsal Alt Konular Şeridi (Contextual Sub-topics Bar) */
.blog-subtopics-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.15rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-top: -0.85rem;
  margin-bottom: 2rem;
  animation: subtopicsFadeIn 0.22s ease-out;
}

@keyframes subtopicsFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subtopics-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.subtopics-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.subtopics-scroll::-webkit-scrollbar {
  display: none;
}

.subtopic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.subtopic-chip:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.subtopic-chip.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.subtopic-chip.active .subtopic-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.subtopic-count {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
}

/* 3) Tüm Konular & Kategori Keşif Modalı (Topic Explorer Modal) */
.topics-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalBackdropFadeIn 0.2s ease-out;
}

@keyframes modalBackdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.topics-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 86vh;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalDialogPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalDialogPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.topics-modal-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topics-modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.topics-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.topics-modal-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.15rem 0 0 0;
}

.btn-close-topics-modal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-close-topics-modal:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.topics-modal-search-wrapper {
  padding: 1rem 1.75rem;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  display: flex;
  align-items: center;
  background: #fafafa;
}

.topics-modal-search-wrapper .search-icon {
  position: absolute;
  left: 2.75rem;
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.topics-modal-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.topics-modal-search-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.topics-modal-grid {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.15rem;
  scrollbar-width: thin;
}

.topic-grid-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.topic-grid-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.topic-grid-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.topic-grid-title-link {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s ease;
}

.topic-grid-title-link:hover {
  color: #0284c7;
}

.topic-grid-count-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.topic-grid-card-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.25rem 0 0.75rem 0;
  line-height: 1.45;
}

.topic-grid-subtopics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed #f1f5f9;
}

.topic-grid-sub-chip {
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.topic-grid-sub-chip:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.topic-grid-sub-chip:hover .sub-chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.sub-chip-count {
  font-size: 0.68rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #64748b;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.no-topics-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.topics-modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-topics-modal-view {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-topics-modal-view:hover {
  background: #0284c7;
  color: #ffffff;
}

@media (max-width: 640px) {
  .topics-modal-dialog {
    max-height: 94vh;
    border-radius: 16px;
  }
  .topics-modal-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .topics-modal-header,
  .topics-modal-search-wrapper,
  .topics-modal-footer {
    padding: 1rem;
  }
  .btn-topics-modal-view {
    font-size: 0.78rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Kategori Paneli (Yüzen Panel - Floating Panel) */
#categoryPanel {
  animation: panelSlideDown 0.2s ease-out forwards;
}

.category-floating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.category-tree-root-card {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}

.category-tree-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: all 0.2s ease;
}

.category-tree-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-tree-card.has-active {
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.03);
}

.category-card-parent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.25rem 0;
  transition: color 0.15s ease;
}

.category-card-parent-link:hover {
  color: #0284c7;
}

.category-card-parent-link.active {
  color: #0284c7;
  font-weight: 700;
}

.category-card-sublist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  padding-left: 0.5rem;
  border-top: 1px dashed #e2e8f0;
  border-left: 2px solid #e2e8f0;
  margin-left: 0.4rem;
}

.category-card-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 0.82rem;
  color: #475569;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.category-card-sublink:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateX(3px);
}

.category-card-sublink.active {
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 600;
}

.category-card-sublink.active .badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   AKORDEON KATEGORİ GÖSTERİMİ (SINIRLARI BELLİ PANEL OLMADAN, SADE VE ŞIK)
   ========================================================================== */

.category-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.category-accordion-section {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2.25rem;
  transition: opacity 0.2s ease;
}

.category-accordion-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Kategori Akordeon Başlığı (Tıklanabilir) */
.category-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  margin-bottom: 1.25rem;
  cursor: pointer;
  user-select: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.category-accordion-header:hover {
  background: rgba(0, 0, 0, 0.025);
}

.category-accordion-header:hover .category-accordion-title {
  color: #0284c7;
}

.category-accordion-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.category-accordion-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.95rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.category-accordion-header:hover .category-accordion-chevron {
  background: #e2e8f0;
  color: #0f172a;
}

/* Akordeon Kapatıldığında Chevron Dönsün */
.category-accordion-section.is-collapsed .category-accordion-chevron {
  transform: rotate(-90deg);
}

.category-accordion-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}

.category-accordion-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 0.2rem 0 0 0;
}

.category-accordion-badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  white-space: nowrap;
}

/* Akordeon Gövdesi */
.category-accordion-body {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.category-accordion-section.is-collapsed .category-accordion-body {
  display: none;
}

/* Alt Kategori Akordeon Satırı */
.subcategory-accordion-group {
  margin-top: 1.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid #e2e8f0;
}

.subcategory-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  user-select: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.subcategory-accordion-header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.subcategory-accordion-header:hover .subcategory-accordion-title {
  color: #0284c7;
}

.subcategory-accordion-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subcategory-accordion-chevron {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.subcategory-accordion-group.is-collapsed .subcategory-accordion-chevron {
  transform: rotate(-90deg);
}

.subcategory-accordion-group.is-collapsed .subcategory-accordion-body {
  display: none;
}

/* ==========================================================================
   JIRA-STYLE INLINE / IN-PLACE EDITING (ARTICLE DETAIL PAGE)
   ========================================================================== */

.jira-editable-field-wrapper {
  position: relative;
  transition: all 0.2s ease;
}

/* 1. Başlık Inline Düzenleme */
.jira-editable-title {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 8px;
  margin: -4px -8px;
  transition: all 0.15s ease;
}

.jira-editable-title:hover {
  background: rgba(2, 132, 199, 0.04);
  outline: 1.5px dashed rgba(2, 132, 199, 0.45);
}

.jira-edit-hint-icon {
  opacity: 0;
  font-size: 1.1rem;
  color: #0284c7;
  margin-left: 0.65rem;
  vertical-align: middle;
  transition: opacity 0.15s ease;
}

.jira-editable-title:hover .jira-edit-hint-icon,
.jira-editable-summary:hover .jira-edit-hint-icon {
  opacity: 1;
}

.jira-inline-title-input {
  font-family: inherit;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  border: 2px solid #0284c7;
  border-radius: 10px;
  padding: 6px 12px;
  width: 100%;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
  background: #ffffff;
  outline: none;
}

/* 2. Özet Inline Düzenleme */
.jira-editable-summary {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 10px;
  margin: -6px -10px;
  transition: all 0.15s ease;
}

.jira-editable-summary:hover {
  background: rgba(2, 132, 199, 0.04);
  outline: 1.5px dashed rgba(2, 132, 199, 0.45);
}

.jira-inline-summary-input {
  font-size: 1.15rem;
  line-height: 1.6;
  border: 2px solid #0284c7;
  border-radius: 10px;
  padding: 8px 12px;
  width: 100%;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
  background: #ffffff;
  outline: none;
  font-family: inherit;
}

/* 3. İçerik (Quill) Inline Düzenleme */
.jira-editable-content {
  position: relative;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px;
  margin: -12px;
  transition: all 0.2s ease;
}

.jira-editable-content:hover {
  background: rgba(2, 132, 199, 0.02);
  outline: 1.5px dashed rgba(2, 132, 199, 0.35);
}

.jira-content-edit-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.jira-editable-content:hover .jira-content-edit-overlay {
  opacity: 1;
}

#contentEditContainer {
  border: 2px solid #0284c7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.12);
  background: #ffffff;
}

#contentEditContainer .ql-toolbar.ql-snow {
  border: none;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  position: sticky;
  top: 70px;
  z-index: 100;
  padding: 0.65rem 0.85rem;
}

#contentEditContainer .ql-container.ql-snow {
  border: none;
  min-height: 400px;
  font-family: var(--font-charter), Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.8;
}

#contentEditContainer .ql-editor {
  min-height: 400px;
  padding: 1.5rem;
}

/* 4. Butonlar & Aksiyonlar */
.jira-edit-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* 5. Kategori Seçim Dropdown */
.jira-category-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1050;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
  padding: 0.85rem;
  min-width: 280px;
  animation: fadeInDown 0.15s ease-out;
}

/* 6. Sabit Yüzen Canlı Kayıt Durumu (Floating Save Indicator) */
.jira-floating-save-status {
  position: fixed;
  top: 85px;
  right: 24px;
  z-index: 1060;
  animation: fadeInDown 0.25s ease-out;
}

.jira-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  font-size: 0.84rem;
  font-weight: 600;
  color: #0f172a;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ARTICLE DETAIL PAGE: ADAPTIVE WIDTH & TOGGLE (860px vs 1140px)
   ========================================================================== */
.btn-detail-width-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-detail-width-toggle:hover {
  color: #0f172a;
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-detail-width-toggle i {
  font-size: 0.85rem;
  color: #64748b;
  transition: transform 0.2s ease;
}

.btn-detail-width-toggle:hover i {
  color: #2563eb;
  transform: scale(1.1);
}

#articleDetailContainer {
  transition: max-width 0.3s ease;
}



