:root {
  --ruya-primary: #6366f1;
  --ruya-primary-dark: #4338ca;
  --ruya-accent: #f59e0b;
}

.ruya-detay-main {
  background: #f8fafc !important;
  padding-top: var(--global-header-offset) !important;
  padding-bottom: 5rem !important;
  min-height: 100vh;
}

/* Layout */
.news-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 1rem;
}

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

.news-sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

@media (max-width: 1024px) {
  .news-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .news-main-content {
    width: 100%;
  }
  .news-sidebar {
    display: none !important;
  }
}

/* 🌟 PAZAR & KURAN DETAY TOP BAR NAV STYLES */
.ruya-topbar {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin-bottom: 1.25rem !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%) !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 16px !important;
  min-height: 48px !important;
  box-shadow: 0 4px 15px rgba(49, 46, 129, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.ruya-topbar-row1 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ruya-topbar-back {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.pazar-nav-menu {
  margin-left: auto !important;
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.pazar-nav-link {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.pazar-nav-link:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
}

.pazar-nav-link.active {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Article Detail Container */
.article-detail {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
}

.article-body p {
  margin-bottom: 1.25rem;
}

/* 🌟 BAĞLANTILI TABİRLER (RELATED DREAMS GRID SYSTEM) */
.related-section {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 2px dashed #e2e8f0;
}

.related-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  text-decoration: none !important;
  color: #334155 !important;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.related-card:hover {
  background: #ffffff;
  border-color: #6366f1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
  color: #4338ca !important;
}

.related-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
  transition: all 0.25s ease;
}

.related-card:hover .related-card-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.related-card-text {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Desktop Share Buttons */
.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 {
  transform: translateY(-2px) !important;
  color: #0f172a !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: #6366f1 !important; }

@media (max-width: 900px) {
  .desktop-share-buttons {
    display: none !important;
  }
}




@media (max-width: 768px) {
  .ruya-topbar {
    display: none !important;
  }
}

/* Mobile Responsiveness */
@media (max-width: 680px) {
  .container {
    padding: 0 10px !important;
  }

  .ruya-topbar-row1 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .ruya-topbar-back {
    font-size: 0.76rem !important;
  }

  .pazar-nav-menu {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 3px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }

  .pazar-nav-link {
    font-size: 0.66rem !important;
    padding: 3px 6px !important;
    gap: 3px !important;
    white-space: nowrap !important;
  }

  .pazar-nav-link span {
    font-size: 0.9rem !important;
  }

  .article-detail {
    padding: 1.25rem 1rem !important;
    border-radius: 20px !important;
  }


}

@media (max-width: 400px) {
  .ruya-topbar {
    padding: 0.5rem 0.6rem !important;
  }
  .ruya-topbar-back {
    font-size: 0.72rem !important;
  }
  .pazar-nav-link {
    font-size: 0.62rem !important;
    padding: 2px 4px !important;
    gap: 2px !important;
  }
}