.article-nav-section {
  max-width: 100%;
  margin: 0;
  padding: 0 20px 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  direction: rtl;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.nav-item {
  flex: 1;
  display: flex;
}

.nav-link {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 30px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.03), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.nav-link:hover::before {
  transform: translateX(100%);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.9);
}

.nav-container.has-two .nav-item.prev .nav-link {
  border-left: 1px solid #e2e8f0;
}

.nav-container.has-one .nav-link {
  justify-content: center;
  padding: 50px 30px;
}

.nav-container.has-one .nav-text {
  flex: 0 1 auto;
  max-width: 600px;
  text-align: center;
}

.nav-icon {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066cc;
  font-size: 0.9rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.nav-link:hover .nav-icon {
  background: #0066cc;
  color: #ffffff;
  border-color: #0066cc;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.nav-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px;
  flex: 1;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.nav-link:hover .nav-title {
  color: #0066cc;
}

.nav-divider {
  width: 1px;
  background: #e2e8f0;
  align-self: center;
  height: 60px;
  display: none; /* We use border on item instead */
}

@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 20px;
  }
  
  .nav-link {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px;
    padding: 30px 20px;
  }
  
  .nav-container.has-two .nav-item.prev .nav-link {
    border-left: none;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .nav-title {
    font-size: 1rem;
  }
}
