/* =====================================================
   D-PRESS SERVICES – ARTICLE SIDEBAR PROFESSIONAL CSS
   SCOPUS READY | OJS COMPATIBLE
   ===================================================== */

/* ===== SIDEBAR BASE ===== */
.pkp_structure_sidebar {
  padding: 10px;
}

/* Sidebar block titles */
.pkp_block .title {
  font-size: 14px;
  font-weight: bold;
  color: #0b1a7a;
  border-bottom: 2px solid #0b1a7a;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

/* Sidebar block spacing */
.pkp_block {
  margin-bottom: 20px;
}

/* =====================================================
   ARTICLE METRICS
   ===================================================== */
.sidebar-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sidebar-metrics .metric {
  background: #f7f9ff;
  border: 1px solid #e0e6ff;
  padding: 10px 8px;
  text-align: center;
  border-radius: 5px;
}

.sidebar-metrics .metric strong {
  display: block;
  font-size: 18px;
  color: #0b1a7a;
}

.sidebar-metrics .metric span {
  font-size: 12px;
  color: #555;
}

/* =====================================================
   SIDEBAR CTA
   ===================================================== */
.sidebar-cta {
  text-align: center;
}

.sidebar-cta .cta-btn {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font-size: 14px;
}

/* =====================================================
   RELATED ARTICLES
   ===================================================== */
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li {
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid #e0e6ff;
}

.related-list a {
  color: #0b1a7a;
  font-size: 14px;
  line-height: 1.4;
}

.related-list a:hover {
  text-decoration: underline;
}

/* =====================================================
   STICKY SIDEBAR (DESKTOP)
   ===================================================== */
@media (min-width: 992px) {
  .pkp_structure_sidebar {
    position: sticky;
    top: 90px;
  }
}

/* =====================================================
   MOBILE OPTIMIZATION
   ===================================================== */
@media (max-width: 768px) {
  .sidebar-metrics {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   PKP / OJS FOOTER CREDIT – MINIMAL & DISCREET
   ===================================================== */

.pkp_footer .pkp_branding {
  font-size: 10px;
  opacity: 0.35;
  text-align: center;
  margin-top: 8px;
}

.pkp_footer .pkp_branding img {
  max-height: 14px;
  opacity: 0.35;
}

/* =====================================================
   REAL OJS USAGE STATS → SIDEBAR STYLE
   ===================================================== */

/* Usage stats blokini sidebar card ko‘rinishiga keltirish */
.item.usageStats {
  background: #f7f9ff;
  border: 1px solid #e0e6ff;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 20px;
}

/* Grid ko‘rinish */
.item.usageStats ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Har bir metric */
.item.usageStats li {
  text-align: center;
  padding: 8px;
  background: #ffffff;
  border-radius: 5px;
}

/* Raqam */
.item.usageStats .value {
  font-size: 18px;
  font-weight: bold;
  color: #0b1a7a;
}

/* Label */
.item.usageStats .label {
  font-size: 12px;
  color: #555;
}
