.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 99999;
}
.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f59e0b, #b45309);
    transition: width 0.1s ease;
}
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    
    padding-bottom: 100px;
}
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-sidebar {
        display: none !important;
    }
}
.detail-main {
    min-width: 0;
}
.detail-main-card {
    margin-top: 1.25rem;
    padding: 0;
}
.detail-gallery {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .detail-gallery {
        height: 220px;
        border-radius: 16px;
    }
}
.gallery-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 20;
}
.btn-gallery-action {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.btn-gallery-action:hover {
    transform: scale(1.1);
    background: #fff;
    color: #0f172a;
}
.detail-badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    z-index: 20;
}
.detail-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #475569;
}
.detail-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .detail-title {
        font-size: 1.35rem;
    }
}
.detail-desc {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.detail-meta-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}
.detail-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.detail-meta-bar i {
    color: #f59e0b;
}
.detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}
.detail-body p {
    margin-bottom: 1.5rem;
}
.detail-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-body h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: #f59e0b;
    border-radius: 4px;
}
.detail-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.detail-body blockquote {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #78350f;
    margin: 1.5rem 0;
}
.detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.detail-body ul, .detail-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.detail-body li {
    margin-bottom: 0.5rem;
}
.detail-body pre {
    background: #0f172a;
    color: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
    margin: 1.5rem 0;
}
.detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
.detail-body th, .detail-body td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}
.detail-body th {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
}
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}
.blog-tag {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}
.blog-tag:hover {
    background: #fef3c7;
    color: #b45309;
}
.share-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 15px;
}
.share-section span {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
}
.share-buttons {
    display: flex;
    gap: 8px;
}
.btn-share {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-share:hover {
    transform: translateY(-2px);
}
.btn-share.x { background: #000; }
.btn-share.whatsapp { background: #25d366; }
.btn-share.copy { background: #f59e0b; }

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.author-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #fef3c7;
}
.author-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.author-role {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.author-bio {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}
.similar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
@media (max-width: 480px) {
    .similar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-detail-back-banner {
        display: none !important;
    }
}

/* 🌟 MASAÜSTÜ PAYLAŞIM BUTONLARI */
.desktop-share-buttons {
  display: flex !important;
  gap: 6px !important;
  z-index: 25 !important;
  align-items: center !important;
}
.desktop-share-buttons button {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.2s ease !important;
}
.desktop-share-buttons button:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.desktop-share-buttons button.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35) !important;
}
.desktop-share-buttons button.instagram:hover {
  transform: translateY(-2px) scale(1.08) !important;
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.5) !important;
}
.desktop-share-buttons button.facebook:hover { color: #1877f2 !important; }
.desktop-share-buttons button.x:hover { color: #000000 !important; }
.desktop-share-buttons button.whatsapp:hover { color: #25d366 !important; }
.desktop-share-buttons button.copy:hover { color: #d97706 !important; }

@media (max-width: 900px) {
  .desktop-share-buttons {
    display: none !important;
  }
}


